Class ServicesResource.ConsumerQuotaMetricsResource
The "consumerQuotaMetrics" collection of methods.
Inherited Members
Namespace: Google.Apis.ServiceConsumerManagement.v1beta1
Assembly: Google.Apis.ServiceConsumerManagement.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 metric, returned by a ListConsumerQuotaMetrics call. An example name
would be:
|
Returns
Type | Description |
---|---|
ServicesResource.ConsumerQuotaMetricsResource.GetRequest |
ImportProducerOverrides(V1Beta1ImportProducerOverridesRequest, string)
Create or update multiple producer 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.ImportProducerOverridesRequest ImportProducerOverrides(V1Beta1ImportProducerOverridesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
V1Beta1ImportProducerOverridesRequest | body | The body of the request. |
string | parent | The resource name of the consumer. An example name would be:
|
Returns
Type | Description |
---|---|
ServicesResource.ConsumerQuotaMetricsResource.ImportProducerOverridesRequest |
ImportProducerQuotaPolicies(V1Beta1ImportProducerQuotaPoliciesRequest, string)
Create or update multiple producer quota policies atomically, all on the same ancestor, but on many different metrics or limits. The name field in the quota policy message should not be set.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.ImportProducerQuotaPoliciesRequest ImportProducerQuotaPolicies(V1Beta1ImportProducerQuotaPoliciesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
V1Beta1ImportProducerQuotaPoliciesRequest | body | The body of the request. |
string | parent | The resource name of the consumer. An example name would be:
|
Returns
Type | Description |
---|---|
ServicesResource.ConsumerQuotaMetricsResource.ImportProducerQuotaPoliciesRequest |
List(string)
Retrieves a summary of all quota information about this consumer that is visible to the service producer, for each quota metric defined by the service. 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. An example parent would be:
|
Returns
Type | Description |
---|---|
ServicesResource.ConsumerQuotaMetricsResource.ListRequest |