class Google::Apis::CloudmonitoringV2beta2::ListMetricDescriptorsResponse

The response of cloudmonitoring.metricDescriptors.list.

Attributes

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ cloudmonitoring#listMetricDescriptorsResponse”. Corresponds to the JSON property `kind` @return [String]

metrics[RW]

The returned metric descriptors. Corresponds to the JSON property `metrics` @return [Array<Google::Apis::CloudmonitoringV2beta2::MetricDescriptor>]

next_page_token[RW]

Pagination token. If present, indicates that additional results are available for retrieval. To access the results past the pagination limit, pass this value to the pageToken query parameter. Corresponds to the JSON property `nextPageToken` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/cloudmonitoring_v2beta2/classes.rb, line 92
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @metrics = args[:metrics] if args.key?(:metrics)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end