
target.apidocs.com.google.api.services.serviceusage.v1beta1.ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides.html Maven / Gradle / Ivy
ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides (Service Usage API v1beta1-rev20230412-2.0.0)
com.google.api.services.serviceusage.v1beta1
Class ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides
- java.lang.Object
-
- com.google.api.services.serviceusage.v1beta1.ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides
-
- Enclosing class:
- ServiceUsage.Services.ConsumerQuotaMetrics.Limits
public class ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides
extends Object
The "consumerOverrides" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides.Create
class
ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides.Delete
class
ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides.List
class
ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides.Patch
-
Constructor Summary
Constructors
Constructor and Description
ConsumerOverrides()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides.Create
create(String parent,
QuotaOverride content)
Creates a consumer override.
ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides.Delete
delete(String name)
Deletes a consumer override.
ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides.List
list(String parent)
Lists all consumer overrides on this limit.
ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides.Patch
patch(String name,
QuotaOverride content)
Updates a consumer override.
-
-
Method Detail
-
create
public ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides.Create create(String parent,
QuotaOverride content)
throws IOException
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.
Create a request for the method "consumerOverrides.create".
This request holds the parameters needed by the serviceusage server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or
GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.goog
leapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
content
- the QuotaOverride
- Returns:
- the request
- Throws:
IOException
-
delete
public ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides.Delete delete(String name)
throws IOException
Deletes a consumer override.
Create a request for the method "consumerOverrides.delete".
This request holds the parameters needed by the serviceusage server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- The resource name of the override to delete. An example name would be: `projects/123/services/comput
e.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fre
gion/consumerOverrides/4a3f2c1d`
- Returns:
- the request
- Throws:
IOException
-
list
public ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides.List list(String parent)
throws IOException
Lists all consumer overrides on this limit.
Create a request for the method "consumerOverrides.list".
This request holds the parameters needed by the serviceusage server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or
GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.goog
leapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
- Returns:
- the request
- Throws:
IOException
-
patch
public ServiceUsage.Services.ConsumerQuotaMetrics.Limits.ConsumerOverrides.Patch patch(String name,
QuotaOverride content)
throws IOException
Updates a consumer override.
Create a request for the method "consumerOverrides.patch".
This request holds the parameters needed by the serviceusage server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- The resource name of the override to update. An example name would be: `projects/123/services/comput
e.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fre
gion/consumerOverrides/4a3f2c1d`
content
- the QuotaOverride
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy