Class: Google::Apis::AnalyticshubV1::AnalyticsHubSubscriptionInfo
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticshubV1::AnalyticsHubSubscriptionInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticshub_v1/classes.rb,
lib/google/apis/analyticshub_v1/representations.rb,
lib/google/apis/analyticshub_v1/representations.rb
Overview
Information about an associated Analytics Hub subscription (https://cloud. google.com/bigquery/docs/analytics-hub-manage-subscriptions).
Instance Attribute Summary collapse
-
#listing ⇒ String
Optional.
-
#subscription ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnalyticsHubSubscriptionInfo
constructor
A new instance of AnalyticsHubSubscriptionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnalyticsHubSubscriptionInfo
Returns a new instance of AnalyticsHubSubscriptionInfo.
43 44 45 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 43 def initialize(**args) update!(**args) end |
Instance Attribute Details
#listing ⇒ String
Optional. The name of the associated Analytics Hub listing resource. Pattern: "
projects/project
/locations/location
/dataExchanges/data_exchange
/listings/
listing
"
Corresponds to the JSON property listing
35 36 37 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 35 def listing @listing end |
#subscription ⇒ String
Optional. The name of the associated Analytics Hub subscription resource.
Pattern: "projects/project
/locations/location
/subscriptions/subscription
"
Corresponds to the JSON property subscription
41 42 43 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 41 def subscription @subscription end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
48 49 50 51 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 48 def update!(**args) @listing = args[:listing] if args.key?(:listing) @subscription = args[:subscription] if args.key?(:subscription) end |