Class: Google::Apis::AnalyticshubV1::SubscribeDataExchangeRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#destinationString

Required. The parent resource path of the Subscription. e.g. projects/ subscriberproject/locations/US Corresponds to the JSON property destination

Returns:

  • (String)


2095
2096
2097
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2095

def destination
  @destination
end

#subscriber_contactString

Email of the subscriber. Corresponds to the JSON property subscriberContact

Returns:

  • (String)


2100
2101
2102
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2100

def subscriber_contact
  @subscriber_contact
end

#subscriptionString

Required. Name of the subscription to create. e.g. subscription1 Corresponds to the JSON property subscription

Returns:

  • (String)


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