Resource: TopicSubscription
Represents a subscription of a single app instance to a single FCM topic.
| JSON representation |
|---|
{ "name": string, "topic_name": string, "create_time": string } |
| Fields | |
|---|---|
name |
Identifier. The resource name of the subscription. Format: projects/{project}/registrations/{registration}/topicSubscriptions/{topicSubscription} The {registration} part contains the registration ID (e.g., FID). |
topic_name |
Output only. The ID of the TopicSubscription, which is the topic name. This corresponds to the {topicSubscription} segment in the resource name. Topic names match the pattern of "[a-zA-Z0-9-_.~%]{1,900}". |
create_time |
Output only. Time when the subscription was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Methods |
|
|---|---|
|
Creates a TopicSubscription. |
|
Deletes a TopicSubscription. |
|
Gets a TopicSubscription. |
|
Lists TopicSubscriptions for a given app instance. |
|
Updates a TopicSubscription. |