Package @google-cloud/service-control (2.0.3)

Stay organized with collections Save and categorize content based on your preferences.


Represents a CustomHttpPattern.

Represents a Distribution.

Represents a BucketOptions.

Represents an Explicit.

Represents an Exponential.

Represents a Linear.

Represents an Exemplar.

Represents a Range.

Represents a Http.

Represents a HttpRule.

Represents an AllocateQuotaRequest.

Represents an AllocateQuotaResponse.

Represents a CheckError.

Represents a CheckRequest.

Represents a CheckResponse.

Represents a CheckInfo.

Represents a ConsumerInfo.

Represents a Distribution.

Represents an ExplicitBuckets.

Represents an ExponentialBuckets.

Represents a LinearBuckets.

Represents a HttpRequest.

Represents a LogEntry.

Represents a LogEntryOperation.

Represents a LogEntrySourceLocation.

Represents a MetricValue.

Represents a MetricValueSet.

Represents an Operation.

Represents a QuotaController

Represents a QuotaError.

Represents a QuotaOperation.

Represents a ReportRequest.

Represents a ReportResponse.

Represents a ReportError.

Represents a ServiceController

Represents a CheckRequest.

Represents a CheckResponse.

Represents a ReportRequest.

Represents a ReportResponse.

Represents a ResourceInfo.

Represents a ServiceController

Represents an Any.

Represents a DescriptorProto.

Represents an ExtensionRange.

Represents a ReservedRange.

Represents a Duration.

Represents an EnumDescriptorProto.

Represents an EnumReservedRange.

Represents an EnumOptions.

Represents an EnumValueDescriptorProto.

Represents an EnumValueOptions.

Represents an ExtensionRangeOptions.

Represents a FieldDescriptorProto.

Represents a FieldOptions.

Represents a FileDescriptorProto.

Represents a FileDescriptorSet.

Represents a FileOptions.

Represents a GeneratedCodeInfo.

Represents an Annotation.

Represents a ListValue.

Represents a MessageOptions.

Represents a MethodDescriptorProto.

Represents a MethodOptions.

Represents an OneofDescriptorProto.

Represents an OneofOptions.

Represents a ServiceDescriptorProto.

Represents a ServiceOptions.

Represents a SourceCodeInfo.

Represents a Location.

Represents a Struct.

Represents a Timestamp.

Represents an UninterpretedOption.

Represents a NamePart.

Represents a Value.

Represents an AttributeContext.

Represents an Api.

Represents an Auth.

Represents a Peer.

Represents a Request.

Represents a Resource.

Represents a Response.

Represents a Status.


[Google Quota Control API](/service-control/overview)

Allows clients to allocate and release quota against a [managed service]( v1


[Google Service Control API](/service-control/overview)

Lets clients check and report operations against a [managed service]( v1


[Service Control API v2](

Private Preview. This feature is only available for approved services.

This API provides admission control and telemetry reporting for services that are integrated with [Service Infrastructure]( v2


Properties of an Explicit.

Properties of an Exponential.

Properties of a Linear.

Properties of a BucketOptions.

Properties of an Exemplar.

Properties of a Range.

Properties of a CustomHttpPattern.

Properties of a Distribution.

Properties of a Http.

Properties of a HttpRule.

Properties of a CheckInfo.

Properties of a ConsumerInfo.

Properties of an ExplicitBuckets.

Properties of an ExponentialBuckets.

Properties of a LinearBuckets.

Properties of an AllocateQuotaRequest.

Properties of an AllocateQuotaResponse.

Properties of a CheckError.

Properties of a CheckRequest.

Properties of a CheckResponse.

Properties of a Distribution.

Properties of a HttpRequest.

Properties of a LogEntry.

Properties of a LogEntryOperation.

Properties of a LogEntrySourceLocation.

Properties of a MetricValue.

Properties of a MetricValueSet.

Properties of an Operation.

Properties of a QuotaError.

Properties of a QuotaOperation.

Properties of a ReportRequest.

Properties of a ReportResponse.

Properties of a ReportError.

Properties of a CheckRequest.

Properties of a CheckResponse.

Properties of a ReportRequest.

Properties of a ReportResponse.

Properties of a ResourceInfo.

Properties of an ExtensionRange.

Properties of a ReservedRange.

Properties of an EnumReservedRange.

Properties of an Annotation.

Properties of an Any.

Properties of a DescriptorProto.

Properties of a Duration.

Properties of an EnumDescriptorProto.

Properties of an EnumOptions.

Properties of an EnumValueDescriptorProto.

Properties of an EnumValueOptions.

Properties of an ExtensionRangeOptions.

Properties of a FieldDescriptorProto.

Properties of a FieldOptions.

Properties of a FileDescriptorProto.

Properties of a FileDescriptorSet.

Properties of a FileOptions.

Properties of a GeneratedCodeInfo.

Properties of a ListValue.

Properties of a MessageOptions.

Properties of a MethodDescriptorProto.

Properties of a MethodOptions.

Properties of an OneofDescriptorProto.

Properties of an OneofOptions.

Properties of a ServiceDescriptorProto.

Properties of a ServiceOptions.

Properties of a SourceCodeInfo.

Properties of a Struct.

Properties of a Timestamp.

Properties of an UninterpretedOption.

Properties of a Value.

Properties of a Location.

Properties of a NamePart.

Properties of an Api.

Properties of an Auth.

Properties of a Peer.

Properties of a Request.

Properties of a Resource.

Properties of a Response.

Properties of an AttributeContext.

Properties of a Status.


Code enum.

ConsumerType enum.

Importance enum.

Code enum.

QuotaMode enum.

LogSeverity enum.

Label enum.

Type enum.

CType enum.

JSType enum.

OptimizeMode enum.

Semantic enum.

IdempotencyLevel enum.

NullValue enum.



_default: {
    v1: typeof v1;
    v2: typeof v2;
    QuotaControllerClient: typeof v1.QuotaControllerClient;
    ServiceControllerClient: typeof v1.ServiceControllerClient;


QuotaControllerClient: typeof v1.QuotaControllerClient


ServiceControllerClient: typeof v1.ServiceControllerClient

Type Aliases

type AllocateQuotaCallback = (error: (Error|null), response?: google.api.servicecontrol.v1.AllocateQuotaResponse) => void;

Callback as used by .

type CheckCallback = (error: (Error|null), response?: google.api.servicecontrol.v1.CheckResponse) => void;

Callback as used by .

type ReportCallback = (error: (Error|null), response?: google.api.servicecontrol.v1.ReportResponse) => void;

Callback as used by .

type CheckCallback = (error: (Error|null), response?: google.api.servicecontrol.v2.CheckResponse) => void;

Callback as used by .

type ReportCallback = (error: (Error|null), response?: google.api.servicecontrol.v2.ReportResponse) => void;

Callback as used by .


declare type QuotaControllerClient = v1.QuotaControllerClient;


declare type ServiceControllerClient = v1.ServiceControllerClient;