Class: Google::Apis::AnalyticshubV1::LinkedResource
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticshubV1::LinkedResource
- 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
-
#linked_dataset ⇒ String
Output only.
-
#linked_pubsub_subscription ⇒ String
Output only.
-
#listing ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinkedResource
constructor
A new instance of LinkedResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LinkedResource
Returns a new instance of LinkedResource.
1115 1116 1117 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1115 def initialize(**args) update!(**args) end |
Instance Attribute Details
#linked_dataset ⇒ String
Output only. Name of the linked dataset, e.g. projects/subscriberproject/
datasets/linked_dataset
Corresponds to the JSON property linkedDataset
1102 1103 1104 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1102 def linked_dataset @linked_dataset end |
#linked_pubsub_subscription ⇒ String
Output only. Name of the Pub/Sub subscription, e.g. projects/subscriberproject/
subscriptions/subscriptions/sub_id
Corresponds to the JSON property linkedPubsubSubscription
1108 1109 1110 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1108 def linked_pubsub_subscription @linked_pubsub_subscription end |
#listing ⇒ String
Output only. Listing for which linked resource is created.
Corresponds to the JSON property listing
1113 1114 1115 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1113 def listing @listing end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1120 1121 1122 1123 1124 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1120 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 |