Class: Google::Apis::AnalyticshubV1::SubscribeDataExchangeRequest
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticshubV1::SubscribeDataExchangeRequest
- 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
Message for subscribing to a Data Exchange.
Instance Attribute Summary collapse
-
#destination ⇒ String
Required.
-
#subscriber_contact ⇒ String
Email of the subscriber.
-
#subscription ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SubscribeDataExchangeRequest
constructor
A new instance of SubscribeDataExchangeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SubscribeDataExchangeRequest
Returns a new instance of SubscribeDataExchangeRequest.
2107 2108 2109 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2107 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination ⇒ String
Required. The parent resource path of the Subscription. e.g. projects/
subscriberproject/locations/US
Corresponds to the JSON property destination
2095 2096 2097 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2095 def destination @destination end |
#subscriber_contact ⇒ String
Email of the subscriber.
Corresponds to the JSON property subscriberContact
2100 2101 2102 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2100 def subscriber_contact @subscriber_contact end |
#subscription ⇒ String
Required. Name of the subscription to create. e.g. subscription1
Corresponds to the JSON property subscription
2105 2106 2107 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2105 def subscription @subscription end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2112 2113 2114 2115 2116 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2112 def update!(**args) @destination = args[:destination] if args.key?(:destination) @subscriber_contact = args[:subscriber_contact] if args.key?(:subscriber_contact) @subscription = args[:subscription] if args.key?(:subscription) end |