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

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

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.



511
512
513
# File 'lib/google/apis/monitoring_v3/classes.rb', line 511

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)


509
510
511
# File 'lib/google/apis/monitoring_v3/classes.rb', line 509

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



516
517
518
# File 'lib/google/apis/monitoring_v3/classes.rb', line 516

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