Class ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ConsumerOverridesResource
The "consumerOverrides" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.ServiceUsage.v1beta1
Assembly: Google.Apis.ServiceUsage.v1beta1.dll
Syntax
public class ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ConsumerOverridesResource
Constructors
ConsumerOverridesResource(IClientService)
Constructs a new resource.
Declaration
public ConsumerOverridesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(QuotaOverride, string)
Creates a consumer override. A consumer override is applied to the consumer on its own authority to limit its own quota usage. Consumer overrides cannot be used to grant more quota than would be allowed by admin overrides, producer overrides, or the default limit of the service.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ConsumerOverridesResource.CreateRequest Create(QuotaOverride body, string parent)
Parameters
Type | Name | Description |
---|---|---|
QuotaOverride | body | The body of the request. |
string | parent | The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or
GetConsumerQuotaMetric call. An example name would be:
|
Returns
Type | Description |
---|---|
ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ConsumerOverridesResource.CreateRequest |
Delete(string)
Deletes a consumer override.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ConsumerOverridesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The resource name of the override to delete. An example name would be:
|
Returns
Type | Description |
---|---|
ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ConsumerOverridesResource.DeleteRequest |
List(string)
Lists all consumer overrides on this limit.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ConsumerOverridesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or
GetConsumerQuotaMetric call. An example name would be:
|
Returns
Type | Description |
---|---|
ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ConsumerOverridesResource.ListRequest |
Patch(QuotaOverride, string)
Updates a consumer override.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ConsumerOverridesResource.PatchRequest Patch(QuotaOverride body, string name)
Parameters
Type | Name | Description |
---|---|---|
QuotaOverride | body | The body of the request. |
string | name | The resource name of the override to update. An example name would be:
|
Returns
Type | Description |
---|---|
ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ConsumerOverridesResource.PatchRequest |