Class ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerQuotaPoliciesResource
The "producerQuotaPolicies" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.ServiceConsumerManagement.v1beta1
Assembly: Google.Apis.ServiceConsumerManagement.v1beta1.dll
Syntax
public class ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerQuotaPoliciesResource
Constructors
ProducerQuotaPoliciesResource(IClientService)
Constructs a new resource.
Declaration
public ProducerQuotaPoliciesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(V1Beta1ProducerQuotaPolicy, string)
Creates a producer quota policy. A producer quota policy is applied by the owner or administrator of a service at an org or folder node to set the default quota limit for all consumers under the node where the policy is created. To create multiple policies at once, use ImportProducerQuotaPolicies instead. If a policy with the specified dimensions already exists, this call will fail. To overwrite an existing policy if one is already present ("upsert" semantics), use ImportProducerQuotaPolicies instead.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerQuotaPoliciesResource.CreateRequest Create(V1Beta1ProducerQuotaPolicy body, string parent)
Parameters
Type | Name | Description |
---|---|---|
V1Beta1ProducerQuotaPolicy | body | The body of the request. |
string | parent | Required. The resource name of the parent quota limit. An example name would be:
|
Returns
Type | Description |
---|---|
ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerQuotaPoliciesResource.CreateRequest |
Delete(string)
Deletes a producer quota policy.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerQuotaPoliciesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the policy to delete. An example name would be:
|
Returns
Type | Description |
---|---|
ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerQuotaPoliciesResource.DeleteRequest |
List(string)
Lists all producer policies created at current consumer node for a limit.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerQuotaPoliciesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent quota limit. An example name would be:
|
Returns
Type | Description |
---|---|
ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerQuotaPoliciesResource.ListRequest |
Patch(V1Beta1ProducerQuotaPolicy, string)
Updates a producer quota policy.
Declaration
public virtual ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerQuotaPoliciesResource.PatchRequest Patch(V1Beta1ProducerQuotaPolicy body, string name)
Parameters
Type | Name | Description |
---|---|---|
V1Beta1ProducerQuotaPolicy | body | The body of the request. |
string | name | The resource name of the producer policy. An example name would be:
|
Returns
Type | Description |
---|---|
ServicesResource.ConsumerQuotaMetricsResource.LimitsResource.ProducerQuotaPoliciesResource.PatchRequest |