Class ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerOverridesResource
The "producerOverrides" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.ServiceConsumerManagement.v1beta1
Assembly: Google.Apis.ServiceConsumerManagement.v1beta1.dll
Syntax
public class ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerOverridesResource
Constructors
ProducerOverridesResource(IClientService)
Constructs a new resource.
Declaration
public ProducerOverridesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(V1Beta1QuotaOverride, string)
Creates a producer override. A producer override is applied by the owner or administrator of a service to increase or decrease the amount of quota a consumer of the service is allowed to use. To create multiple overrides at once, use ImportProducerOverrides instead. If an override with the specified dimensions already exists, this call will fail. To overwrite an existing override if one is already present ("upsert" semantics), use ImportProducerOverrides instead.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerOverridesResource.CreateRequest Create(V1Beta1QuotaOverride body, string parent)
Parameters
Type | Name | Description |
---|---|---|
V1Beta1QuotaOverride | 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.ProducerOverridesResource.CreateRequest |
Delete(string)
Deletes a producer override.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerOverridesResource.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.ProducerOverridesResource.DeleteRequest |
List(string)
Lists all producer overrides on this limit.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerOverridesResource.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.ProducerOverridesResource.ListRequest |
Patch(V1Beta1QuotaOverride, string)
Updates a producer override.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerOverridesResource.PatchRequest Patch(V1Beta1QuotaOverride body, string name)
Parameters
Type | Name | Description |
---|---|---|
V1Beta1QuotaOverride | 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.ProducerOverridesResource.PatchRequest |