Interface ServiceUsageGrpc.AsyncService
-
- All Known Implementing Classes:
ServiceUsageGrpc.ServiceUsageImplBase
- Enclosing class:
- ServiceUsageGrpc
public static interface ServiceUsageGrpc.AsyncService
[Service Usage API](https://cloud.google.com/service-usage/docs/overview)
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
batchEnableServices(BatchEnableServicesRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deprecated.default void
createAdminOverride(CreateAdminOverrideRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates an admin override.default void
createConsumerOverride(CreateConsumerOverrideRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a consumer override.default void
deleteAdminOverride(DeleteAdminOverrideRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes an admin override.default void
deleteConsumerOverride(DeleteConsumerOverrideRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a consumer override.default void
disableService(DisableServiceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deprecated.default void
enableService(EnableServiceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deprecated.default void
generateServiceIdentity(GenerateServiceIdentityRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Generates service identity for service.default void
getConsumerQuotaLimit(GetConsumerQuotaLimitRequest request, io.grpc.stub.StreamObserver<ConsumerQuotaLimit> responseObserver)
Retrieves a summary of quota information for a specific quota limit.default void
getConsumerQuotaMetric(GetConsumerQuotaMetricRequest request, io.grpc.stub.StreamObserver<ConsumerQuotaMetric> responseObserver)
Retrieves a summary of quota information for a specific quota metricdefault void
getService(GetServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver)
Deprecated.default void
importAdminOverrides(ImportAdminOverridesRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates or updates multiple admin overrides atomically, all on the same consumer, but on many different metrics or limits.default void
importConsumerOverrides(ImportConsumerOverridesRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates or updates multiple consumer overrides atomically, all on the same consumer, but on many different metrics or limits.default void
listAdminOverrides(ListAdminOverridesRequest request, io.grpc.stub.StreamObserver<ListAdminOverridesResponse> responseObserver)
Lists all admin overrides on this limit.default void
listConsumerOverrides(ListConsumerOverridesRequest request, io.grpc.stub.StreamObserver<ListConsumerOverridesResponse> responseObserver)
Lists all consumer overrides on this limit.default void
listConsumerQuotaMetrics(ListConsumerQuotaMetricsRequest request, io.grpc.stub.StreamObserver<ListConsumerQuotaMetricsResponse> responseObserver)
Retrieves a summary of all quota information visible to the service consumer, organized by service metric.default void
listServices(ListServicesRequest request, io.grpc.stub.StreamObserver<ListServicesResponse> responseObserver)
Deprecated.default void
updateAdminOverride(UpdateAdminOverrideRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an admin override.default void
updateConsumerOverride(UpdateConsumerOverrideRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates a consumer override.
-
-
-
Method Detail
-
enableService
@Deprecated default void enableService(EnableServiceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deprecated.Enables a service so that it can be used with a project. Operation response type: `google.protobuf.Empty`
-
disableService
@Deprecated default void disableService(DisableServiceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deprecated.Disables a service so that it can no longer be used with a project. This prevents unintended usage that may cause unexpected billing charges or security leaks. It is not valid to call the disable method on a service that is not currently enabled. Callers will receive a `FAILED_PRECONDITION` status if the target service is not currently enabled. Operation response type: `google.protobuf.Empty`
-
getService
@Deprecated default void getService(GetServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver)
Deprecated.Returns the service configuration and enabled state for a given service.
-
listServices
@Deprecated default void listServices(ListServicesRequest request, io.grpc.stub.StreamObserver<ListServicesResponse> responseObserver)
Deprecated.Lists all services available to the specified project, and the current state of those services with respect to the project. The list includes all public services, all services for which the calling user has the `servicemanagement.services.bind` permission, and all services that have already been enabled on the project. The list can be filtered to only include services in a specific state, for example to only include services enabled on the project.
-
batchEnableServices
@Deprecated default void batchEnableServices(BatchEnableServicesRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deprecated.Enables multiple services on a project. The operation is atomic: if enabling any service fails, then the entire batch fails, and no state changes occur. Operation response type: `google.protobuf.Empty`
-
listConsumerQuotaMetrics
default void listConsumerQuotaMetrics(ListConsumerQuotaMetricsRequest request, io.grpc.stub.StreamObserver<ListConsumerQuotaMetricsResponse> responseObserver)
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.
-
getConsumerQuotaMetric
default void getConsumerQuotaMetric(GetConsumerQuotaMetricRequest request, io.grpc.stub.StreamObserver<ConsumerQuotaMetric> responseObserver)
Retrieves a summary of quota information for a specific quota metric
-
getConsumerQuotaLimit
default void getConsumerQuotaLimit(GetConsumerQuotaLimitRequest request, io.grpc.stub.StreamObserver<ConsumerQuotaLimit> responseObserver)
Retrieves a summary of quota information for a specific quota limit.
-
createAdminOverride
default void createAdminOverride(CreateAdminOverrideRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates an admin override. An admin override is applied by an administrator of a parent folder or parent organization of the consumer receiving the override. An admin override is intended to limit the amount of quota the consumer can use out of the total quota pool allocated to all children of the folder or organization.
-
updateAdminOverride
default void updateAdminOverride(UpdateAdminOverrideRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an admin override.
-
deleteAdminOverride
default void deleteAdminOverride(DeleteAdminOverrideRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes an admin override.
-
listAdminOverrides
default void listAdminOverrides(ListAdminOverridesRequest request, io.grpc.stub.StreamObserver<ListAdminOverridesResponse> responseObserver)
Lists all admin overrides on this limit.
-
importAdminOverrides
default void importAdminOverrides(ImportAdminOverridesRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
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.
-
createConsumerOverride
default void createConsumerOverride(CreateConsumerOverrideRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
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.
-
updateConsumerOverride
default void updateConsumerOverride(UpdateConsumerOverrideRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates a consumer override.
-
deleteConsumerOverride
default void deleteConsumerOverride(DeleteConsumerOverrideRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a consumer override.
-
listConsumerOverrides
default void listConsumerOverrides(ListConsumerOverridesRequest request, io.grpc.stub.StreamObserver<ListConsumerOverridesResponse> responseObserver)
Lists all consumer overrides on this limit.
-
importConsumerOverrides
default void importConsumerOverrides(ImportConsumerOverridesRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
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.
-
generateServiceIdentity
default void generateServiceIdentity(GenerateServiceIdentityRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Generates service identity for service.
-
-