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.



540
541
542
# File 'lib/google/apis/monitoring_v3/classes.rb', line 540

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)


538
539
540
# File 'lib/google/apis/monitoring_v3/classes.rb', line 538

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



545
546
547
# File 'lib/google/apis/monitoring_v3/classes.rb', line 545

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