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. 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 |
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. |