public final ListMonitoredResourceDescriptorsPagedResponse listMonitoredResourceDescriptors(
      String name) {
    ListMonitoredResourceDescriptorsRequest request =
        ListMonitoredResourceDescriptorsRequest.newBuilder().setName(name).build();
    return listMonitoredResourceDescriptors(request);
  }
public final ListMonitoredResourceDescriptorsPagedResponse listMonitoredResourceDescriptors ( String name ) { ListMonitoredResourceDescriptorsRequest request = ListMonitoredResourceDescriptorsRequest . newBuilder ( ) . setName ( name ) . build ( ) ; return listMonitoredResourceDescriptors ( request ) ; }
Lists monitored resource descriptors that match a filter. This method does not require a
Stackdriver account.

<p>Sample code:

<pre><code>
try (MetricServiceClient metricServiceClient = MetricServiceClient.create()) {
ProjectName name = ProjectName.of("[PROJECT]");
for (MonitoredResourceDescriptor element : metricServiceClient.listMonitoredResourceDescriptors(name.toString()).iterateAll()) {
// doThingsWith(element);
}
}
</code></pre>

@param name The project on which to execute the request. The format is
`"projects/{project_id_or_number}"`.
@throws com.google.api.gax.rpc.ApiException if the remote call fails