Resource: Subscription
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. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
lastModifyTime |
Output only. Timestamp when the subscription was last modified. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. 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. |
commercialInfo |
Output only. This is set if this is a commercial subscription i.e. if this subscription was created from subscribing to a commercial listing. |
destinationDataset |
Optional. BigQuery destination dataset to create for the subscriber. |
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 |
logLinkedDatasetQueryUserEmail |
Output only. By default, false. If true, the Subscriber agreed to the email sharing mandate that is enabled for DataExchange/Listing. |
Methods |
|
---|---|
|
Deletes a subscription. |
|
Gets the details of a Subscription. |
|
Gets the IAM policy. |
|
Lists all subscriptions in a given project and location. |
|
Refreshes a Subscription to a Data Exchange. |
|
Revokes a given subscription. |
|
Sets the IAM policy. |