Class: Google::Apis::MonitoringV3::Telemetry
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::Telemetry
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb
Overview
Configuration for how to query telemetry on a Service.
Instance Attribute Summary collapse
-
#resource_name ⇒ String
The full name of the resource that defines this service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Telemetry
constructor
A new instance of Telemetry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Telemetry
Returns a new instance of Telemetry.
4612 4613 4614 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4612 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_name ⇒ String
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
4610 4611 4612 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4610 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4617 4618 4619 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4617 def update!(**args) @resource_name = args[:resource_name] if args.key?(:resource_name) end |