Class: Google::Apis::AnalyticshubV1::SubscribeListingRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SubscribeListingRequest

Returns a new instance of SubscribeListingRequest.



2154
2155
2156
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2154

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#destination_datasetGoogle::Apis::AnalyticshubV1::DestinationDataset

Defines the destination bigquery dataset. Corresponds to the JSON property destinationDataset



2147
2148
2149
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2147

def destination_dataset
  @destination_dataset
end

#destination_pubsub_subscriptionGoogle::Apis::AnalyticshubV1::DestinationPubSubSubscription

Defines the destination Pub/Sub subscription. Corresponds to the JSON property destinationPubsubSubscription



2152
2153
2154
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2152

def destination_pubsub_subscription
  @destination_pubsub_subscription
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2159
2160
2161
2162
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2159

def update!(**args)
  @destination_dataset = args[:destination_dataset] if args.key?(:destination_dataset)
  @destination_pubsub_subscription = args[:destination_pubsub_subscription] if args.key?(:destination_pubsub_subscription)
end