
target.apidocs.com.google.api.services.serviceusage.v1beta1.ServiceUsage.Services.ConsumerQuotaMetrics.html Maven / Gradle / Ivy
ServiceUsage.Services.ConsumerQuotaMetrics (Service Usage API v1beta1-rev20230412-2.0.0)
com.google.api.services.serviceusage.v1beta1
Class ServiceUsage.Services.ConsumerQuotaMetrics
- java.lang.Object
-
- com.google.api.services.serviceusage.v1beta1.ServiceUsage.Services.ConsumerQuotaMetrics
-
- Enclosing class:
- ServiceUsage.Services
public class ServiceUsage.Services.ConsumerQuotaMetrics
extends Object
The "consumerQuotaMetrics" collection of methods.
-
-
Nested Class Summary
Nested Classes
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 Summary
Constructors
Constructor and Description
ConsumerQuotaMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
-
Method Detail
-
get
public ServiceUsage.Services.ConsumerQuotaMetrics.Get get(String name)
throws IOException
Retrieves a summary of quota information for a specific quota metric
Create a request for the method "consumerQuotaMetrics.get".
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 quota limit. An example name would be: `projects/123/services/serviceusage.
googleapis.com/quotas/metrics/serviceusage.googleapis.com%2Fmutate_requests`
- Returns:
- the request
- Throws:
IOException
-
importAdminOverrides
public ServiceUsage.Services.ConsumerQuotaMetrics.ImportAdminOverrides importAdminOverrides(String parent,
ImportAdminOverridesRequest content)
throws IOException
Creates or updates multiple admin overrides atomically, all on the same consumer, but on many
different metrics or limits. The name field in the quota override message should not be set.
Create a request for the method "consumerQuotaMetrics.importAdminOverrides".
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 consumer. An example name would be:
`projects/123/services/compute.googleapis.com`
content
- the ImportAdminOverridesRequest
- Returns:
- the request
- Throws:
IOException
-
importConsumerOverrides
public ServiceUsage.Services.ConsumerQuotaMetrics.ImportConsumerOverrides importConsumerOverrides(String parent,
ImportConsumerOverridesRequest content)
throws IOException
Creates or updates multiple consumer overrides atomically, all on the same consumer, but on many
different metrics or limits. The name field in the quota override message should not be set.
Create a request for the method "consumerQuotaMetrics.importConsumerOverrides".
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 consumer. An example name would be:
`projects/123/services/compute.googleapis.com`
content
- the ImportConsumerOverridesRequest
- Returns:
- the request
- Throws:
IOException
-
list
public ServiceUsage.Services.ConsumerQuotaMetrics.List list(String parent)
throws IOException
Retrieves a summary of all quota information visible to the service consumer, organized by
service metric. Each metric includes information about all of its defined limits. Each limit
includes the limit configuration (quota unit, preciseness, default value), the current effective
limit value, and all of the overrides applied to the limit.
Create a request for the method "consumerQuotaMetrics.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
- 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`
- Returns:
- the request
- Throws:
IOException
-
limits
public ServiceUsage.Services.ConsumerQuotaMetrics.Limits limits()
An accessor for creating requests from the Limits collection.
The typical use is:
ServiceUsage serviceusage = new ServiceUsage(...);
ServiceUsage.Limits.List request = serviceusage.limits().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy