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

Constructor Details

#initialize(**args) ⇒ CloudEndpoints

Returns a new instance of CloudEndpoints.



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

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)


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

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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