Class ProjectsResource.LocationsResource.QueryConfigurablePricingUsageStatsRequest
Queries configurable pricing usage stats for a project.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.QueryConfigurablePricingUsageStatsRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse>, IClientServiceRequest
Constructors
QueryConfigurablePricingUsageStatsRequest(IClientService, string, string)
Constructs a new QueryConfigurablePricingUsageStats request.
Declaration
public QueryConfigurablePricingUsageStatsRequest(IClientService service, string project, string location)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | project | |
| string | location |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Location
Required. The location to query usage stats for.
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
MetricTypes
Optional. The metric types to return usage for.
Declaration
[RequestParameter("metricTypes", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.QueryConfigurablePricingUsageStatsRequest.MetricTypesEnum? MetricTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.QueryConfigurablePricingUsageStatsRequest.MetricTypesEnum? |
Remarks
Use this property to set a single value for the parameter, or MetricTypesList to set multiple values. Do not set both properties.
MetricTypesList
Optional. The metric types to return usage for.
Declaration
[RequestParameter("metricTypes", RequestParameterType.Query)]
public virtual Repeatable<ProjectsResource.LocationsResource.QueryConfigurablePricingUsageStatsRequest.MetricTypesEnum> MetricTypesList { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<ProjectsResource.LocationsResource.QueryConfigurablePricingUsageStatsRequest.MetricTypesEnum> |
Remarks
Use this property to set one or more values for the parameter. Do not set both this property and MetricTypes.
Project
Required. The project to query usage stats for. Format: projects/{project}
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
TimeRangeEndDateDay
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
Declaration
[RequestParameter("timeRange.endDate.day", RequestParameterType.Query)]
public virtual int? TimeRangeEndDateDay { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
TimeRangeEndDateMonth
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
Declaration
[RequestParameter("timeRange.endDate.month", RequestParameterType.Query)]
public virtual int? TimeRangeEndDateMonth { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
TimeRangeEndDateYear
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
Declaration
[RequestParameter("timeRange.endDate.year", RequestParameterType.Query)]
public virtual int? TimeRangeEndDateYear { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
TimeRangeStartDateDay
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
Declaration
[RequestParameter("timeRange.startDate.day", RequestParameterType.Query)]
public virtual int? TimeRangeStartDateDay { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
TimeRangeStartDateMonth
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
Declaration
[RequestParameter("timeRange.startDate.month", RequestParameterType.Query)]
public virtual int? TimeRangeStartDateMonth { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
TimeRangeStartDateYear
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
Declaration
[RequestParameter("timeRange.startDate.year", RequestParameterType.Query)]
public virtual int? TimeRangeStartDateYear { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Methods
InitParameters()
Initializes QueryConfigurablePricingUsageStats parameter list.
Declaration
protected override void InitParameters()