class Google::Apis::MonitoringV3::CloudRun

Cloud Run service. Learn more at cloud.google.com/run.

Attributes

location[RW]

The location the service is run. Corresponds to the location resource label in the cloud_run_revision monitored resource (cloud.google.com/monitoring/ api/resources#tag_cloud_run_revision). Corresponds to the JSON property `location` @return [String]

service_name[RW]

The name of the Cloud Run service. Corresponds to the service_name resource label in the cloud_run_revision monitored resource (cloud.google.com/ monitoring/api/resources#tag_cloud_run_revision). Corresponds to the JSON property `serviceName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 514
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/monitoring_v3/classes.rb, line 519
def update!(**args)
  @location = args[:location] if args.key?(:location)
  @service_name = args[:service_name] if args.key?(:service_name)
end