Class: Google::Apis::ObservabilityV1::Link
- Inherits:
-
Object
- Object
- Google::Apis::ObservabilityV1::Link
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/observability_v1/classes.rb,
lib/google/apis/observability_v1/representations.rb,
lib/google/apis/observability_v1/representations.rb
Overview
A link lets a dataset be accessible to BigQuery via usage of linked datasets.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#name ⇒ String
Identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Link
constructor
A new instance of Link.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Link
Returns a new instance of Link.
232 233 234 |
# File 'lib/google/apis/observability_v1/classes.rb', line 232 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Create timestamp.
Corresponds to the JSON property createTime
214 215 216 |
# File 'lib/google/apis/observability_v1/classes.rb', line 214 def create_time @create_time end |
#description ⇒ String
Optional. Description of the link.
Corresponds to the JSON property description
219 220 221 |
# File 'lib/google/apis/observability_v1/classes.rb', line 219 def description @description end |
#display_name ⇒ String
Optional. A user friendly display name.
Corresponds to the JSON property displayName
224 225 226 |
# File 'lib/google/apis/observability_v1/classes.rb', line 224 def display_name @display_name end |
#name ⇒ String
Identifier. Name of the link. The format is: projects/[PROJECT_ID]/locations/[
LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]/links/[LINK_ID]
Corresponds to the JSON property name
230 231 232 |
# File 'lib/google/apis/observability_v1/classes.rb', line 230 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
237 238 239 240 241 242 |
# File 'lib/google/apis/observability_v1/classes.rb', line 237 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |