Class: Google::Apis::CloudmonitoringV2beta2::ListMetricDescriptorsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudmonitoringV2beta2::ListMetricDescriptorsResponse
- Defined in:
- generated/google/apis/cloudmonitoring_v2beta2/classes.rb,
generated/google/apis/cloudmonitoring_v2beta2/representations.rb,
generated/google/apis/cloudmonitoring_v2beta2/representations.rb
Overview
The response of cloudmonitoring.metricDescriptors.list.
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#metrics ⇒ Array<Google::Apis::CloudmonitoringV2beta2::MetricDescriptor>
The returned metric descriptors.
-
#next_page_token ⇒ String
Pagination token.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListMetricDescriptorsResponse
constructor
A new instance of ListMetricDescriptorsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListMetricDescriptorsResponse
Returns a new instance of ListMetricDescriptorsResponse.
87 88 89 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 87 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
cloudmonitoring#listMetricDescriptorsResponse".
Corresponds to the JSON property kind
73 74 75 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 73 def kind @kind end |
#metrics ⇒ Array<Google::Apis::CloudmonitoringV2beta2::MetricDescriptor>
The returned metric descriptors.
Corresponds to the JSON property metrics
78 79 80 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 78 def metrics @metrics end |
#next_page_token ⇒ String
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
85 86 87 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 85 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
92 93 94 95 96 |
# 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 |