Analytics Hub V1 API - Class Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription (v0.8.1)

Reference documentation and code samples for the Analytics Hub V1 API class Google::Cloud::Bigquery::AnalyticsHub::V1::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#creation_time

def creation_time() -> ::Google::Protobuf::Timestamp
Returns

#data_exchange

def data_exchange() -> ::String
Returns
  • (::String) — Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/US/dataExchanges/456

#last_modify_time

def last_modify_time() -> ::Google::Protobuf::Timestamp
Returns

#linked_dataset_map

def linked_dataset_map() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource}) — 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.

#listing

def listing() -> ::String
Returns
  • (::String) — Output only. Resource name of the source Listing. e.g. projects/123/locations/US/dataExchanges/456/listings/789

#name

def name() -> ::String
Returns
  • (::String) — Output only. The resource name of the subscription. e.g. projects/myproject/locations/US/subscriptions/123.

#organization_display_name

def organization_display_name() -> ::String
Returns
  • (::String) — Output only. Display name of the project of this subscription.

#organization_id

def organization_id() -> ::String
Returns
  • (::String) — Output only. Organization of the project this subscription belongs to.

#state

def state() -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::State
Returns

#subscriber_contact

def subscriber_contact() -> ::String
Returns
  • (::String) — Output only. Email of the subscriber.