All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.serviceusage.v1beta1.ServiceUsage.Services.ConsumerQuotaMetrics.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241219-2.0.0
Show newest version






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.
    • Constructor Detail

      • ConsumerQuotaMetrics

        public ConsumerQuotaMetrics()
    • 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