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.Limits.ConsumerOverrides.html Maven / Gradle / Ivy

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






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

      • ConsumerOverrides

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