A subscription represents a subscribers' access to a particular set of published data. It contains references to associated listings, data exchanges, and linked datasets.
JSON representation |
---|
{ "name": string, "creationTime": string, "lastModifyTime": string, "organizationId": string, "organizationDisplayName": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of the subscription. e.g. |
creationTime |
Output only. Timestamp when the subscription was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
lastModifyTime |
Output only. Timestamp when the subscription was last modified. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
organizationId |
Output only. Organization of the project this subscription belongs to. |
organizationDisplayName |
Output only. Display name of the project of this subscription. |
state |
Output only. Current state of the subscription. |
linkedDatasetMap |
Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/US/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE. An object containing a list of |
subscriberContact |
Output only. Email of the subscriber. |
linkedResources[] |
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE. |
resourceType |
Output only. Listing shared asset type. |
Union field
|
|
listing |
Output only. Resource name of the source Listing. e.g. projects/123/locations/US/dataExchanges/456/listings/789 |
dataExchange |
Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/US/dataExchanges/456 |
LinkedResource
Reference to a linked resource tracked by this Subscription.
JSON representation |
---|
{ "listing": string, // Union field |
Fields | |
---|---|
listing |
Output only. Listing for which linked resource is created. |
Union field
|
|
linkedDataset |
Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linkedDataset |
linkedPubsubSubscription |
Output only. Name of the Pub/Sub subscription, e.g. projects/subscriberproject/subscriptions/subscriptions/sub_id |