Class: Google::Apis::AnalyticshubV1::LinkedResource

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

Reference to a linked resource tracked by this Subscription.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LinkedResource

Returns a new instance of LinkedResource.



1201
1202
1203
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1201

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

Instance Attribute Details

#linked_datasetString

Output only. Name of the linked dataset, e.g. projects/subscriberproject/ datasets/linked_dataset Corresponds to the JSON property linkedDataset

Returns:

  • (String)


1188
1189
1190
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1188

def linked_dataset
  @linked_dataset
end

#linked_pubsub_subscriptionString

Output only. Name of the Pub/Sub subscription, e.g. projects/subscriberproject/ subscriptions/subscriptions/sub_id Corresponds to the JSON property linkedPubsubSubscription

Returns:

  • (String)


1194
1195
1196
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1194

def linked_pubsub_subscription
  @linked_pubsub_subscription
end

#listingString

Output only. Listing for which linked resource is created. Corresponds to the JSON property listing

Returns:

  • (String)


1199
1200
1201
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1199

def listing
  @listing
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1206
1207
1208
1209
1210
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1206

def update!(**args)
  @linked_dataset = args[:linked_dataset] if args.key?(:linked_dataset)
  @linked_pubsub_subscription = args[:linked_pubsub_subscription] if args.key?(:linked_pubsub_subscription)
  @listing = args[:listing] if args.key?(:listing)
end