Show / Hide Table of Contents

Class ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource

The "v1" collection of methods.

Inheritance
object
ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Monitoring.v1
Assembly: Google.Apis.Monitoring.v1.dll
Syntax
public class ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource

Constructors

V1Resource(IClientService)

Constructs a new resource.

Declaration
public V1Resource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Label

Gets the Label resource.

Declaration
public virtual ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.LabelResource Label { get; }
Property Value
Type Description
ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.LabelResource

Metadata

Gets the Metadata resource.

Declaration
public virtual ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.MetadataResource Metadata { get; }
Property Value
Type Description
ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.MetadataResource

Methods

Labels(QueryLabelsRequest, string, string)

Lists labels for metrics.

Declaration
public virtual ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.LabelsRequest Labels(QueryLabelsRequest body, string name, string location)
Parameters
Type Name Description
QueryLabelsRequest body

The body of the request.

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.

string location

Location of the resource information. Has to be "global" now.

Returns
Type Description
ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.LabelsRequest

Query(QueryInstantRequest, string, string)

Evaluate a PromQL query at a single point in time.

Declaration
public virtual ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.QueryRequest Query(QueryInstantRequest body, string name, string location)
Parameters
Type Name Description
QueryInstantRequest body

The body of the request.

string name

Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.

string location

Location of the resource information. Has to be "global" now.

Returns
Type Description
ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.QueryRequest

QueryExemplars(QueryExemplarsRequest, string, string)

Lists exemplars relevant to a given PromQL query,

Declaration
public virtual ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.QueryExemplarsRequest QueryExemplars(QueryExemplarsRequest body, string name, string location)
Parameters
Type Name Description
QueryExemplarsRequest body

The body of the request.

string name

Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.

string location

Location of the resource information. Has to be "global" now.

Returns
Type Description
ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.QueryExemplarsRequest

QueryRange(QueryRangeRequest, string, string)

Evaluate a PromQL query with start, end time range.

Declaration
public virtual ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.QueryRangeRequest QueryRange(QueryRangeRequest body, string name, string location)
Parameters
Type Name Description
QueryRangeRequest body

The body of the request.

string name

Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.

string location

Location of the resource information. Has to be "global" now.

Returns
Type Description
ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.QueryRangeRequest

Series(QuerySeriesRequest, string, string)

Lists metadata for metrics.

Declaration
public virtual ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.SeriesRequest Series(QuerySeriesRequest body, string name, string location)
Parameters
Type Name Description
QuerySeriesRequest body

The body of the request.

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.

string location

Location of the resource information. Has to be "global" for now.

Returns
Type Description
ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.SeriesRequest
In this article
Back to top Generated by DocFX