public class ServiceUsage.Services.ConsumerQuotaMetrics extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ServiceUsage.Services.ConsumerQuotaMetrics.Get |
class |
ServiceUsage.Services.ConsumerQuotaMetrics.ImportAdminOverrides |
class |
ServiceUsage.Services.ConsumerQuotaMetrics.ImportConsumerOverrides |
class |
ServiceUsage.Services.ConsumerQuotaMetrics.Limits
The "limits" collection of methods.
|
class |
ServiceUsage.Services.ConsumerQuotaMetrics.List |
| Constructor and Description |
|---|
ConsumerQuotaMetrics() |
| Modifier and Type | Method and Description |
|---|---|
ServiceUsage.Services.ConsumerQuotaMetrics.Get |
get(String name)
Retrieves a summary of quota information for a specific quota metric
Create a request for the method "consumerQuotaMetrics.get".
|
ServiceUsage.Services.ConsumerQuotaMetrics.ImportAdminOverrides |
importAdminOverrides(String parent,
ImportAdminOverridesRequest content)
Creates or updates multiple admin overrides atomically, all on the same consumer, but on many
different metrics or limits.
|
ServiceUsage.Services.ConsumerQuotaMetrics.ImportConsumerOverrides |
importConsumerOverrides(String parent,
ImportConsumerOverridesRequest content)
Creates or updates multiple consumer overrides atomically, all on the same consumer, but on many
different metrics or limits.
|
ServiceUsage.Services.ConsumerQuotaMetrics.Limits |
limits()
An accessor for creating requests from the Limits collection.
|
ServiceUsage.Services.ConsumerQuotaMetrics.List |
list(String parent)
Retrieves a summary of all quota information visible to the service consumer, organized by
service metric.
|
public ServiceUsage.Services.ConsumerQuotaMetrics.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The resource name of the quota limit. An example name would be: `projects/123/services/serviceusage.
googleapis.com/quotas/metrics/serviceusage.googleapis.com%2Fmutate_requests`IOExceptionpublic ServiceUsage.Services.ConsumerQuotaMetrics.ImportAdminOverrides importAdminOverrides(String parent, ImportAdminOverridesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.parent - The resource name of the consumer. An example name would be:
`projects/123/services/compute.googleapis.com`content - the ImportAdminOverridesRequestIOExceptionpublic ServiceUsage.Services.ConsumerQuotaMetrics.ImportConsumerOverrides importConsumerOverrides(String parent, ImportConsumerOverridesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.parent - The resource name of the consumer. An example name would be:
`projects/123/services/compute.googleapis.com`content - the ImportConsumerOverridesRequestIOExceptionpublic ServiceUsage.Services.ConsumerQuotaMetrics.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Parent of the quotas resource. Some example names would be:
`projects/123/services/serviceconsumermanagement.googleapis.com`
`folders/345/services/serviceconsumermanagement.googleapis.com`
`organizations/456/services/serviceconsumermanagement.googleapis.com`IOExceptionpublic ServiceUsage.Services.ConsumerQuotaMetrics.Limits limits()
The typical use is:
ServiceUsage serviceusage = new ServiceUsage(...);ServiceUsage.Limits.List request = serviceusage.limits().list(parameters ...)
Copyright © 2011–2021 Google. All rights reserved.