Class: Google::Apis::MonitoringV3::CloudEndpoints

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

Cloud Endpoints service. Learn more at https://cloud.google.com/endpoints.

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) ⇒ CloudEndpoints

Returns a new instance of CloudEndpoints.



417
418
419
# File 'generated/google/apis/monitoring_v3/classes.rb', line 417

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

Instance Attribute Details

#serviceString

The name of the Cloud Endpoints service underlying this service. Corresponds to the service resource label in the api monitored resource: https://cloud. google.com/monitoring/api/resources#tag_api Corresponds to the JSON property service

Returns:

  • (String)


415
416
417
# File 'generated/google/apis/monitoring_v3/classes.rb', line 415

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



422
423
424
# File 'generated/google/apis/monitoring_v3/classes.rb', line 422

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