Class: Google::Apis::MonitoringV3::Telemetry

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/monitoring_v3/classes.rb,
generated/google/apis/monitoring_v3/representations.rb,
generated/google/apis/monitoring_v3/representations.rb

Overview

Configuration for how to query telemetry on a Service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Telemetry

Returns a new instance of Telemetry.



3296
3297
3298
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3296

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

Instance Attribute Details

#resource_nameString

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names. Corresponds to the JSON property resourceName

Returns:

  • (String)


3294
3295
3296
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3294

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3301
3302
3303
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3301

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