Class ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.MetadataResource.ListRequest
Lists metadata for metrics.
Inheritance
ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.MetadataResource.ListRequest
Inherited Members
Namespace: Google.Apis.Monitoring.v1
Assembly: Google.Apis.Monitoring.v1.dll
Syntax
public class ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.MetadataResource.ListRequest : MonitoringBaseServiceRequest<HttpBody>, IClientServiceRequest<HttpBody>, IClientServiceRequest
Constructors
ListRequest(IClientService, string, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string name, string location)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name | |
string | location |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Limit
Maximum number of metrics to return.
Declaration
[RequestParameter("limit", RequestParameterType.Query)]
public virtual long? Limit { get; set; }
Property Value
Type | Description |
---|---|
long? |
Location
Location of the resource information. Has to be "global" for now.
Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Metric
The metric name for which to query metadata. If unset, all metric metadata is returned.
Declaration
[RequestParameter("metric", RequestParameterType.Query)]
public virtual string Metric { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()