Class ServicesResource.ConsumerQuotaMetricsResource
The "consumerQuotaMetrics" collection of methods.
Inherited Members
Namespace: Google.Apis.ServiceUsage.v1beta1
Assembly: Google.Apis.ServiceUsage.v1beta1.dll
Syntax
public class ServicesResource.ConsumerQuotaMetricsResource
Constructors
ConsumerQuotaMetricsResource(IClientService)
Constructs a new resource.
Declaration
public ConsumerQuotaMetricsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
Limits
Gets the Limits resource.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.LimitsResource Limits { get; }
Property Value
| Type | Description |
|---|---|
| ServicesResource.ConsumerQuotaMetricsResource.LimitsResource |
Methods
Get(string)
Retrieves a summary of quota information for a specific quota metric
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The resource name of the quota. An example name would be:
|
Returns
| Type | Description |
|---|---|
| ServicesResource.ConsumerQuotaMetricsResource.GetRequest |
ImportAdminOverrides(ImportAdminOverridesRequest, string)
Creates or updates multiple admin overrides atomically, all on the same consumer, but on many different metrics or limits. The name field in the quota override message should not be set.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.ImportAdminOverridesRequest ImportAdminOverrides(ImportAdminOverridesRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| ImportAdminOverridesRequest | body | The body of the request. |
| string | parent | The resource name of the consumer. An example name would be:
|
Returns
| Type | Description |
|---|---|
| ServicesResource.ConsumerQuotaMetricsResource.ImportAdminOverridesRequest |
ImportConsumerOverrides(ImportConsumerOverridesRequest, string)
Creates or updates multiple consumer overrides atomically, all on the same consumer, but on many different metrics or limits. The name field in the quota override message should not be set.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.ImportConsumerOverridesRequest ImportConsumerOverrides(ImportConsumerOverridesRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| ImportConsumerOverridesRequest | body | The body of the request. |
| string | parent | The resource name of the consumer. An example name would be:
|
Returns
| Type | Description |
|---|---|
| ServicesResource.ConsumerQuotaMetricsResource.ImportConsumerOverridesRequest |
List(string)
Retrieves a summary of all quota information visible to the service consumer, organized by service metric. Each metric includes information about all of its defined limits. Each limit includes the limit configuration (quota unit, preciseness, default value), the current effective limit value, and all of the overrides applied to the limit.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Parent of the quotas resource. Some example names would be:
|
Returns
| Type | Description |
|---|---|
| ServicesResource.ConsumerQuotaMetricsResource.ListRequest |