Class: Google::Apis::ObservabilityV1::Link

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

Instance Method Summary collapse

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_timeString

Output only. Create timestamp. Corresponds to the JSON property createTime

Returns:

  • (String)


214
215
216
# File 'lib/google/apis/observability_v1/classes.rb', line 214

def create_time
  @create_time
end

#descriptionString

Optional. Description of the link. Corresponds to the JSON property description

Returns:

  • (String)


219
220
221
# File 'lib/google/apis/observability_v1/classes.rb', line 219

def description
  @description
end

#display_nameString

Optional. A user friendly display name. Corresponds to the JSON property displayName

Returns:

  • (String)


224
225
226
# File 'lib/google/apis/observability_v1/classes.rb', line 224

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


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