Class: Google::Monitoring::V3::ListMonitoredResourceDescriptorsRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric_service.rb

Overview

The +ListMonitoredResourceDescriptors+ request.

Instance Attribute Summary collapse

Instance Attribute Details

#filterString

Returns An optional filter describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engine descriptors that have an +id+ label:

resource.type = starts_with("gce_") AND resource.label:id

Returns:

  • (String)

    An optional filter describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engine descriptors that have an +id+ label:

    resource.type = starts_with("gce_") AND resource.label:id
    


40
# File 'lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric_service.rb', line 40

class ListMonitoredResourceDescriptorsRequest; end

#nameString

Returns The project on which to execute the request. The format is +"projects/project_id_or_number"+.

Returns:

  • (String)

    The project on which to execute the request. The format is +"projects/project_id_or_number"+.



40
# File 'lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric_service.rb', line 40

class ListMonitoredResourceDescriptorsRequest; end

#page_sizeInteger

Returns A positive number that is the maximum number of results to return.

Returns:

  • (Integer)

    A positive number that is the maximum number of results to return.



40
# File 'lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric_service.rb', line 40

class ListMonitoredResourceDescriptorsRequest; end

#page_tokenString

If this field is not empty then it must contain the +nextPageToken+ value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

Returns:

  • (String)

    If this field is not empty then it must contain the +nextPageToken+ value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.



40
# File 'lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric_service.rb', line 40

class ListMonitoredResourceDescriptorsRequest; end