Class ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.LabelResource.ValuesRequest
Lists possible values for a given label name.
Inheritance
Inherited Members
Namespace: Google.Apis.Monitoring.v1
Assembly: Google.Apis.Monitoring.v1.dll
Syntax
public class ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.LabelResource.ValuesRequest : MonitoringBaseServiceRequest<HttpBody>, IClientServiceRequest<HttpBody>, IClientServiceRequest
Constructors
ValuesRequest(IClientService, string, string, string)
Constructs a new Values request.
Declaration
public ValuesRequest(IClientService service, string name, string location, string label)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name | |
string | location | |
string | label |
Properties
End
The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.
Declaration
[RequestParameter("end", RequestParameterType.Query)]
public virtual string End { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Label
The label name for which values are queried.
Declaration
[RequestParameter("label", RequestParameterType.Path)]
public virtual string Label { get; }
Property Value
Type | Description |
---|---|
string |
Location
Location of the resource information. Has to be "global" now.
Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { get; }
Property Value
Type | Description |
---|---|
string |
Match
A list of matchers encoded in the Prometheus label matcher format to constrain the values to series that satisfy them.
Declaration
[RequestParameter("match", RequestParameterType.Query)]
public virtual string Match { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
Start
The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.
Declaration
[RequestParameter("start", RequestParameterType.Query)]
public virtual string Start { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Values parameter list.
Declaration
protected override void InitParameters()