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

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

Classes

protos.google.api.CustomHttpPattern

Represents a CustomHttpPattern.

protos.google.api.Distribution

Represents a Distribution.

protos.google.api.Distribution.BucketOptions

Represents a BucketOptions.

protos.google.api.Distribution.BucketOptions.Explicit

Represents an Explicit.

protos.google.api.Distribution.BucketOptions.Exponential

Represents an Exponential.

protos.google.api.Distribution.BucketOptions.Linear

Represents a Linear.

protos.google.api.Distribution.Exemplar

Represents an Exemplar.

protos.google.api.Distribution.Range

Represents a Range.

protos.google.api.Http

Represents a Http.

protos.google.api.HttpRule

Represents a HttpRule.

protos.google.api.servicecontrol.v1.AllocateQuotaRequest

Represents an AllocateQuotaRequest.

protos.google.api.servicecontrol.v1.AllocateQuotaResponse

Represents an AllocateQuotaResponse.

protos.google.api.servicecontrol.v1.CheckError

Represents a CheckError.

protos.google.api.servicecontrol.v1.CheckRequest

Represents a CheckRequest.

protos.google.api.servicecontrol.v1.CheckResponse

Represents a CheckResponse.

protos.google.api.servicecontrol.v1.CheckResponse.CheckInfo

Represents a CheckInfo.

protos.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo

Represents a ConsumerInfo.

protos.google.api.servicecontrol.v1.Distribution

Represents a Distribution.

protos.google.api.servicecontrol.v1.Distribution.ExplicitBuckets

Represents an ExplicitBuckets.

protos.google.api.servicecontrol.v1.Distribution.ExponentialBuckets

Represents an ExponentialBuckets.

protos.google.api.servicecontrol.v1.Distribution.LinearBuckets

Represents a LinearBuckets.

protos.google.api.servicecontrol.v1.HttpRequest

Represents a HttpRequest.

protos.google.api.servicecontrol.v1.LogEntry

Represents a LogEntry.

protos.google.api.servicecontrol.v1.LogEntryOperation

Represents a LogEntryOperation.

protos.google.api.servicecontrol.v1.LogEntrySourceLocation

Represents a LogEntrySourceLocation.

protos.google.api.servicecontrol.v1.MetricValue

Represents a MetricValue.

protos.google.api.servicecontrol.v1.MetricValueSet

Represents a MetricValueSet.

protos.google.api.servicecontrol.v1.Operation

Represents an Operation.

protos.google.api.servicecontrol.v1.QuotaController

Represents a QuotaController

protos.google.api.servicecontrol.v1.QuotaError

Represents a QuotaError.

protos.google.api.servicecontrol.v1.QuotaOperation

Represents a QuotaOperation.

protos.google.api.servicecontrol.v1.ReportRequest

Represents a ReportRequest.

protos.google.api.servicecontrol.v1.ReportResponse

Represents a ReportResponse.

protos.google.api.servicecontrol.v1.ReportResponse.ReportError

Represents a ReportError.

protos.google.api.servicecontrol.v1.ServiceController

Represents a ServiceController

protos.google.api.servicecontrol.v2.CheckRequest

Represents a CheckRequest.

protos.google.api.servicecontrol.v2.CheckResponse

Represents a CheckResponse.

protos.google.api.servicecontrol.v2.ReportRequest

Represents a ReportRequest.

protos.google.api.servicecontrol.v2.ReportResponse

Represents a ReportResponse.

protos.google.api.servicecontrol.v2.ResourceInfo

Represents a ResourceInfo.

protos.google.api.servicecontrol.v2.ServiceController

Represents a ServiceController

protos.google.protobuf.Any

Represents an Any.

protos.google.protobuf.DescriptorProto

Represents a DescriptorProto.

protos.google.protobuf.DescriptorProto.ExtensionRange

Represents an ExtensionRange.

protos.google.protobuf.DescriptorProto.ReservedRange

Represents a ReservedRange.

protos.google.protobuf.Duration

Represents a Duration.

protos.google.protobuf.EnumDescriptorProto

Represents an EnumDescriptorProto.

protos.google.protobuf.EnumDescriptorProto.EnumReservedRange

Represents an EnumReservedRange.

protos.google.protobuf.EnumOptions

Represents an EnumOptions.

protos.google.protobuf.EnumValueDescriptorProto

Represents an EnumValueDescriptorProto.

protos.google.protobuf.EnumValueOptions

Represents an EnumValueOptions.

protos.google.protobuf.ExtensionRangeOptions

Represents an ExtensionRangeOptions.

protos.google.protobuf.FieldDescriptorProto

Represents a FieldDescriptorProto.

protos.google.protobuf.FieldOptions

Represents a FieldOptions.

protos.google.protobuf.FileDescriptorProto

Represents a FileDescriptorProto.

protos.google.protobuf.FileDescriptorSet

Represents a FileDescriptorSet.

protos.google.protobuf.FileOptions

Represents a FileOptions.

protos.google.protobuf.GeneratedCodeInfo

Represents a GeneratedCodeInfo.

protos.google.protobuf.GeneratedCodeInfo.Annotation

Represents an Annotation.

protos.google.protobuf.ListValue

Represents a ListValue.

protos.google.protobuf.MessageOptions

Represents a MessageOptions.

protos.google.protobuf.MethodDescriptorProto

Represents a MethodDescriptorProto.

protos.google.protobuf.MethodOptions

Represents a MethodOptions.

protos.google.protobuf.OneofDescriptorProto

Represents an OneofDescriptorProto.

protos.google.protobuf.OneofOptions

Represents an OneofOptions.

protos.google.protobuf.ServiceDescriptorProto

Represents a ServiceDescriptorProto.

protos.google.protobuf.ServiceOptions

Represents a ServiceOptions.

protos.google.protobuf.SourceCodeInfo

Represents a SourceCodeInfo.

protos.google.protobuf.SourceCodeInfo.Location

Represents a Location.

protos.google.protobuf.Struct

Represents a Struct.

protos.google.protobuf.Timestamp

Represents a Timestamp.

protos.google.protobuf.UninterpretedOption

Represents an UninterpretedOption.

protos.google.protobuf.UninterpretedOption.NamePart

Represents a NamePart.

protos.google.protobuf.Value

Represents a Value.

protos.google.rpc.context.AttributeContext

Represents an AttributeContext.

protos.google.rpc.context.AttributeContext.Api

Represents an Api.

protos.google.rpc.context.AttributeContext.Auth

Represents an Auth.

protos.google.rpc.context.AttributeContext.Peer

Represents a Peer.

protos.google.rpc.context.AttributeContext.Request

Represents a Request.

protos.google.rpc.context.AttributeContext.Resource

Represents a Resource.

protos.google.rpc.context.AttributeContext.Response

Represents a Response.

protos.google.rpc.Status

Represents a Status.

v1.QuotaControllerClient

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

Allows clients to allocate and release quota against a [managed service](https://cloud.google.com/service-management/reference/rpc/google.api/servicemanagement.v1#google.api.servicemanagement.v1.ManagedService). v1

v1.ServiceControllerClient

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

Lets clients check and report operations against a [managed service](https://cloud.google.com/service-management/reference/rpc/google.api/servicemanagement.v1#google.api.servicemanagement.v1.ManagedService). v1

v2.ServiceControllerClient

[Service Control API v2](https://cloud.google.com/service-infrastructure/docs/service-control/access-control)

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](https://cloud.google.com/service-infrastructure). v2

Interfaces

protos.google.api.Distribution.BucketOptions.IExplicit

Properties of an Explicit.

protos.google.api.Distribution.BucketOptions.IExponential

Properties of an Exponential.

protos.google.api.Distribution.BucketOptions.ILinear

Properties of a Linear.

protos.google.api.Distribution.IBucketOptions

Properties of a BucketOptions.

protos.google.api.Distribution.IExemplar

Properties of an Exemplar.

protos.google.api.Distribution.IRange

Properties of a Range.

protos.google.api.ICustomHttpPattern

Properties of a CustomHttpPattern.

protos.google.api.IDistribution

Properties of a Distribution.

protos.google.api.IHttp

Properties of a Http.

protos.google.api.IHttpRule

Properties of a HttpRule.

protos.google.api.servicecontrol.v1.CheckResponse.ICheckInfo

Properties of a CheckInfo.

protos.google.api.servicecontrol.v1.CheckResponse.IConsumerInfo

Properties of a ConsumerInfo.

protos.google.api.servicecontrol.v1.Distribution.IExplicitBuckets

Properties of an ExplicitBuckets.

protos.google.api.servicecontrol.v1.Distribution.IExponentialBuckets

Properties of an ExponentialBuckets.

protos.google.api.servicecontrol.v1.Distribution.ILinearBuckets

Properties of a LinearBuckets.

protos.google.api.servicecontrol.v1.IAllocateQuotaRequest

Properties of an AllocateQuotaRequest.

protos.google.api.servicecontrol.v1.IAllocateQuotaResponse

Properties of an AllocateQuotaResponse.

protos.google.api.servicecontrol.v1.ICheckError

Properties of a CheckError.

protos.google.api.servicecontrol.v1.ICheckRequest

Properties of a CheckRequest.

protos.google.api.servicecontrol.v1.ICheckResponse

Properties of a CheckResponse.

protos.google.api.servicecontrol.v1.IDistribution

Properties of a Distribution.

protos.google.api.servicecontrol.v1.IHttpRequest

Properties of a HttpRequest.

protos.google.api.servicecontrol.v1.ILogEntry

Properties of a LogEntry.

protos.google.api.servicecontrol.v1.ILogEntryOperation

Properties of a LogEntryOperation.

protos.google.api.servicecontrol.v1.ILogEntrySourceLocation

Properties of a LogEntrySourceLocation.

protos.google.api.servicecontrol.v1.IMetricValue

Properties of a MetricValue.

protos.google.api.servicecontrol.v1.IMetricValueSet

Properties of a MetricValueSet.

protos.google.api.servicecontrol.v1.IOperation

Properties of an Operation.

protos.google.api.servicecontrol.v1.IQuotaError

Properties of a QuotaError.

protos.google.api.servicecontrol.v1.IQuotaOperation

Properties of a QuotaOperation.

protos.google.api.servicecontrol.v1.IReportRequest

Properties of a ReportRequest.

protos.google.api.servicecontrol.v1.IReportResponse

Properties of a ReportResponse.

protos.google.api.servicecontrol.v1.ReportResponse.IReportError

Properties of a ReportError.

protos.google.api.servicecontrol.v2.ICheckRequest

Properties of a CheckRequest.

protos.google.api.servicecontrol.v2.ICheckResponse

Properties of a CheckResponse.

protos.google.api.servicecontrol.v2.IReportRequest

Properties of a ReportRequest.

protos.google.api.servicecontrol.v2.IReportResponse

Properties of a ReportResponse.

protos.google.api.servicecontrol.v2.IResourceInfo

Properties of a ResourceInfo.

protos.google.protobuf.DescriptorProto.IExtensionRange

Properties of an ExtensionRange.

protos.google.protobuf.DescriptorProto.IReservedRange

Properties of a ReservedRange.

protos.google.protobuf.EnumDescriptorProto.IEnumReservedRange

Properties of an EnumReservedRange.

protos.google.protobuf.GeneratedCodeInfo.IAnnotation

Properties of an Annotation.

protos.google.protobuf.IAny

Properties of an Any.

protos.google.protobuf.IDescriptorProto

Properties of a DescriptorProto.

protos.google.protobuf.IDuration

Properties of a Duration.

protos.google.protobuf.IEnumDescriptorProto

Properties of an EnumDescriptorProto.

protos.google.protobuf.IEnumOptions

Properties of an EnumOptions.

protos.google.protobuf.IEnumValueDescriptorProto

Properties of an EnumValueDescriptorProto.

protos.google.protobuf.IEnumValueOptions

Properties of an EnumValueOptions.

protos.google.protobuf.IExtensionRangeOptions

Properties of an ExtensionRangeOptions.

protos.google.protobuf.IFieldDescriptorProto

Properties of a FieldDescriptorProto.

protos.google.protobuf.IFieldOptions

Properties of a FieldOptions.

protos.google.protobuf.IFileDescriptorProto

Properties of a FileDescriptorProto.

protos.google.protobuf.IFileDescriptorSet

Properties of a FileDescriptorSet.

protos.google.protobuf.IFileOptions

Properties of a FileOptions.

protos.google.protobuf.IGeneratedCodeInfo

Properties of a GeneratedCodeInfo.

protos.google.protobuf.IListValue

Properties of a ListValue.

protos.google.protobuf.IMessageOptions

Properties of a MessageOptions.

protos.google.protobuf.IMethodDescriptorProto

Properties of a MethodDescriptorProto.

protos.google.protobuf.IMethodOptions

Properties of a MethodOptions.

protos.google.protobuf.IOneofDescriptorProto

Properties of an OneofDescriptorProto.

protos.google.protobuf.IOneofOptions

Properties of an OneofOptions.

protos.google.protobuf.IServiceDescriptorProto

Properties of a ServiceDescriptorProto.

protos.google.protobuf.IServiceOptions

Properties of a ServiceOptions.

protos.google.protobuf.ISourceCodeInfo

Properties of a SourceCodeInfo.

protos.google.protobuf.IStruct

Properties of a Struct.

protos.google.protobuf.ITimestamp

Properties of a Timestamp.

protos.google.protobuf.IUninterpretedOption

Properties of an UninterpretedOption.

protos.google.protobuf.IValue

Properties of a Value.

protos.google.protobuf.SourceCodeInfo.ILocation

Properties of a Location.

protos.google.protobuf.UninterpretedOption.INamePart

Properties of a NamePart.

protos.google.rpc.context.AttributeContext.IApi

Properties of an Api.

protos.google.rpc.context.AttributeContext.IAuth

Properties of an Auth.

protos.google.rpc.context.AttributeContext.IPeer

Properties of a Peer.

protos.google.rpc.context.AttributeContext.IRequest

Properties of a Request.

protos.google.rpc.context.AttributeContext.IResource

Properties of a Resource.

protos.google.rpc.context.AttributeContext.IResponse

Properties of a Response.

protos.google.rpc.context.IAttributeContext

Properties of an AttributeContext.

protos.google.rpc.IStatus

Properties of a Status.

Enums

protos.google.api.servicecontrol.v1.CheckError.Code

Code enum.

protos.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType

ConsumerType enum.

protos.google.api.servicecontrol.v1.Operation.Importance

Importance enum.

protos.google.api.servicecontrol.v1.QuotaError.Code

Code enum.

protos.google.api.servicecontrol.v1.QuotaOperation.QuotaMode

QuotaMode enum.

protos.google.logging.type.LogSeverity

LogSeverity enum.

protos.google.protobuf.FieldDescriptorProto.Label

Label enum.

protos.google.protobuf.FieldDescriptorProto.Type

Type enum.

protos.google.protobuf.FieldOptions.CType

CType enum.

protos.google.protobuf.FieldOptions.JSType

JSType enum.

protos.google.protobuf.FileOptions.OptimizeMode

OptimizeMode enum.

protos.google.protobuf.GeneratedCodeInfo.Annotation.Semantic

Semantic enum.

protos.google.protobuf.MethodOptions.IdempotencyLevel

IdempotencyLevel enum.

protos.google.protobuf.NullValue

NullValue enum.

Variables

_default

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

QuotaControllerClient

QuotaControllerClient: typeof v1.QuotaControllerClient

ServiceControllerClient

ServiceControllerClient: typeof v1.ServiceControllerClient

Type Aliases

protos.google.api.servicecontrol.v1.QuotaController.AllocateQuotaCallback

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

Callback as used by .

protos.google.api.servicecontrol.v1.ServiceController.CheckCallback

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

Callback as used by .

protos.google.api.servicecontrol.v1.ServiceController.ReportCallback

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

Callback as used by .

protos.google.api.servicecontrol.v2.ServiceController.CheckCallback

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

Callback as used by .

protos.google.api.servicecontrol.v2.ServiceController.ReportCallback

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

Callback as used by .

QuotaControllerClient

declare type QuotaControllerClient = v1.QuotaControllerClient;

ServiceControllerClient

declare type ServiceControllerClient = v1.ServiceControllerClient;