servicecontrol

package
Version: v0.0.0-...-596548e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 5

Documentation

Overview

Package servicecontrol aliases all exported identifiers in package "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb".

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.

Index

Constants

View Source
const (
	CheckError_API_KEY_EXPIRED                            = src.CheckError_API_KEY_EXPIRED
	CheckError_API_KEY_INVALID                            = src.CheckError_API_KEY_INVALID
	CheckError_API_KEY_NOT_FOUND                          = src.CheckError_API_KEY_NOT_FOUND
	CheckError_API_TARGET_BLOCKED                         = src.CheckError_API_TARGET_BLOCKED
	CheckError_BILLING_DISABLED                           = src.CheckError_BILLING_DISABLED
	CheckError_BILLING_STATUS_UNAVAILABLE                 = src.CheckError_BILLING_STATUS_UNAVAILABLE
	CheckError_CLIENT_APP_BLOCKED                         = src.CheckError_CLIENT_APP_BLOCKED
	CheckError_CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = src.CheckError_CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE
	CheckError_CONSUMER_INVALID                           = src.CheckError_CONSUMER_INVALID
	CheckError_ERROR_CODE_UNSPECIFIED                     = src.CheckError_ERROR_CODE_UNSPECIFIED
	CheckError_INVALID_CREDENTIAL                         = src.CheckError_INVALID_CREDENTIAL
	CheckError_IP_ADDRESS_BLOCKED                         = src.CheckError_IP_ADDRESS_BLOCKED
	CheckError_NAMESPACE_LOOKUP_UNAVAILABLE               = src.CheckError_NAMESPACE_LOOKUP_UNAVAILABLE
	CheckError_NOT_FOUND                                  = src.CheckError_NOT_FOUND
	CheckError_PERMISSION_DENIED                          = src.CheckError_PERMISSION_DENIED
	CheckError_PROJECT_DELETED                            = src.CheckError_PROJECT_DELETED
	CheckError_PROJECT_INVALID                            = src.CheckError_PROJECT_INVALID
	CheckError_REFERER_BLOCKED                            = src.CheckError_REFERER_BLOCKED
	CheckError_RESOURCE_EXHAUSTED                         = src.CheckError_RESOURCE_EXHAUSTED
	CheckError_SERVICE_NOT_ACTIVATED                      = src.CheckError_SERVICE_NOT_ACTIVATED
	CheckError_SERVICE_STATUS_UNAVAILABLE                 = src.CheckError_SERVICE_STATUS_UNAVAILABLE
	CheckResponse_ConsumerInfo_CONSUMER_TYPE_UNSPECIFIED  = src.CheckResponse_ConsumerInfo_CONSUMER_TYPE_UNSPECIFIED
	CheckResponse_ConsumerInfo_FOLDER                     = src.CheckResponse_ConsumerInfo_FOLDER
	CheckResponse_ConsumerInfo_ORGANIZATION               = src.CheckResponse_ConsumerInfo_ORGANIZATION
	CheckResponse_ConsumerInfo_PROJECT                    = src.CheckResponse_ConsumerInfo_PROJECT
	CheckResponse_ConsumerInfo_SERVICE_SPECIFIC           = src.CheckResponse_ConsumerInfo_SERVICE_SPECIFIC
	Operation_HIGH                                        = src.Operation_HIGH
	Operation_LOW                                         = src.Operation_LOW
	QuotaError_API_KEY_EXPIRED                            = src.QuotaError_API_KEY_EXPIRED
	QuotaError_API_KEY_INVALID                            = src.QuotaError_API_KEY_INVALID
	QuotaError_BILLING_NOT_ACTIVE                         = src.QuotaError_BILLING_NOT_ACTIVE
	QuotaError_PROJECT_DELETED                            = src.QuotaError_PROJECT_DELETED
	QuotaError_RESOURCE_EXHAUSTED                         = src.QuotaError_RESOURCE_EXHAUSTED
	QuotaError_UNSPECIFIED                                = src.QuotaError_UNSPECIFIED
	QuotaOperation_ADJUST_ONLY                            = src.QuotaOperation_ADJUST_ONLY
	QuotaOperation_BEST_EFFORT                            = src.QuotaOperation_BEST_EFFORT
	QuotaOperation_CHECK_ONLY                             = src.QuotaOperation_CHECK_ONLY
	QuotaOperation_NORMAL                                 = src.QuotaOperation_NORMAL
	QuotaOperation_QUERY_ONLY                             = src.QuotaOperation_QUERY_ONLY
	QuotaOperation_UNSPECIFIED                            = src.QuotaOperation_UNSPECIFIED
)

Deprecated: Please use consts in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

Variables

View Source
var (
	CheckError_Code_name                                       = src.CheckError_Code_name
	CheckError_Code_value                                      = src.CheckError_Code_value
	CheckResponse_ConsumerInfo_ConsumerType_name               = src.CheckResponse_ConsumerInfo_ConsumerType_name
	CheckResponse_ConsumerInfo_ConsumerType_value              = src.CheckResponse_ConsumerInfo_ConsumerType_value
	File_google_api_servicecontrol_v1_check_error_proto        = src.File_google_api_servicecontrol_v1_check_error_proto
	File_google_api_servicecontrol_v1_distribution_proto       = src.File_google_api_servicecontrol_v1_distribution_proto
	File_google_api_servicecontrol_v1_http_request_proto       = src.File_google_api_servicecontrol_v1_http_request_proto
	File_google_api_servicecontrol_v1_log_entry_proto          = src.File_google_api_servicecontrol_v1_log_entry_proto
	File_google_api_servicecontrol_v1_metric_value_proto       = src.File_google_api_servicecontrol_v1_metric_value_proto
	File_google_api_servicecontrol_v1_operation_proto          = src.File_google_api_servicecontrol_v1_operation_proto
	File_google_api_servicecontrol_v1_quota_controller_proto   = src.File_google_api_servicecontrol_v1_quota_controller_proto
	File_google_api_servicecontrol_v1_service_controller_proto = src.File_google_api_servicecontrol_v1_service_controller_proto
	Operation_Importance_name                                  = src.Operation_Importance_name
	Operation_Importance_value                                 = src.Operation_Importance_value
	QuotaError_Code_name                                       = src.QuotaError_Code_name
	QuotaError_Code_value                                      = src.QuotaError_Code_value
	QuotaOperation_QuotaMode_name                              = src.QuotaOperation_QuotaMode_name
	QuotaOperation_QuotaMode_value                             = src.QuotaOperation_QuotaMode_value
)

Deprecated: Please use vars in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

Functions

func RegisterQuotaControllerServer deprecated

func RegisterQuotaControllerServer(s *grpc.Server, srv QuotaControllerServer)

Deprecated: Please use funcs in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

func RegisterServiceControllerServer deprecated

func RegisterServiceControllerServer(s *grpc.Server, srv ServiceControllerServer)

Deprecated: Please use funcs in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

Types

type AllocateQuotaRequest deprecated

type AllocateQuotaRequest = src.AllocateQuotaRequest

Request message for the AllocateQuota method.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type AllocateQuotaResponse deprecated

type AllocateQuotaResponse = src.AllocateQuotaResponse

Response message for the AllocateQuota method.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type CheckError deprecated

type CheckError = src.CheckError

Defines the errors to be returned in [google.api.servicecontrol.v1.CheckResponse.check_errors][google.api.servicecontrol.v1.CheckResponse.check_errors].

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type CheckError_Code deprecated

type CheckError_Code = src.CheckError_Code

Error codes for Check responses.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type CheckRequest deprecated

type CheckRequest = src.CheckRequest

Request message for the Check method.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type CheckResponse deprecated

type CheckResponse = src.CheckResponse

Response message for the Check method.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type CheckResponse_CheckInfo deprecated

type CheckResponse_CheckInfo = src.CheckResponse_CheckInfo

Contains additional information about the check operation.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type CheckResponse_ConsumerInfo deprecated

type CheckResponse_ConsumerInfo = src.CheckResponse_ConsumerInfo

`ConsumerInfo` provides information about the consumer.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type CheckResponse_ConsumerInfo_ConsumerType deprecated

type CheckResponse_ConsumerInfo_ConsumerType = src.CheckResponse_ConsumerInfo_ConsumerType

The type of the consumer as defined in [Google Resource Manager](https://cloud.google.com/resource-manager/).

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type Distribution deprecated

type Distribution = src.Distribution

Distribution represents a frequency distribution of double-valued sample points. It contains the size of the population of sample points plus additional optional information: * the arithmetic mean of the samples * the minimum and maximum of the samples * the sum-squared-deviation of the samples, used to compute variance * a histogram of the values of the sample points

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type Distribution_ExplicitBuckets deprecated

type Distribution_ExplicitBuckets = src.Distribution_ExplicitBuckets

Describing buckets with arbitrary user-provided width.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type Distribution_ExplicitBuckets_

type Distribution_ExplicitBuckets_ = src.Distribution_ExplicitBuckets_

type Distribution_ExponentialBuckets deprecated

type Distribution_ExponentialBuckets = src.Distribution_ExponentialBuckets

Describing buckets with exponentially growing width.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type Distribution_ExponentialBuckets_

type Distribution_ExponentialBuckets_ = src.Distribution_ExponentialBuckets_

type Distribution_LinearBuckets deprecated

type Distribution_LinearBuckets = src.Distribution_LinearBuckets

Describing buckets with constant width.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type Distribution_LinearBuckets_

type Distribution_LinearBuckets_ = src.Distribution_LinearBuckets_

type HttpRequest deprecated

type HttpRequest = src.HttpRequest

A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type LogEntry deprecated

type LogEntry = src.LogEntry

An individual log entry.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type LogEntryOperation deprecated

type LogEntryOperation = src.LogEntryOperation

Additional information about a potentially long-running operation with which a log entry is associated.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type LogEntrySourceLocation deprecated

type LogEntrySourceLocation = src.LogEntrySourceLocation

Additional information about the source code location that produced the log entry.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type LogEntry_ProtoPayload

type LogEntry_ProtoPayload = src.LogEntry_ProtoPayload

type LogEntry_StructPayload

type LogEntry_StructPayload = src.LogEntry_StructPayload

type LogEntry_TextPayload

type LogEntry_TextPayload = src.LogEntry_TextPayload

type MetricValue deprecated

type MetricValue = src.MetricValue

Represents a single metric value.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type MetricValueSet deprecated

type MetricValueSet = src.MetricValueSet

Represents a set of metric values in the same metric. Each metric value in the set should have a unique combination of start time, end time, and label values.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type MetricValue_BoolValue

type MetricValue_BoolValue = src.MetricValue_BoolValue

type MetricValue_DistributionValue

type MetricValue_DistributionValue = src.MetricValue_DistributionValue

type MetricValue_DoubleValue

type MetricValue_DoubleValue = src.MetricValue_DoubleValue

type MetricValue_Int64Value

type MetricValue_Int64Value = src.MetricValue_Int64Value

type MetricValue_StringValue

type MetricValue_StringValue = src.MetricValue_StringValue

type Operation deprecated

type Operation = src.Operation

Represents information regarding an operation.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type Operation_Importance deprecated

type Operation_Importance = src.Operation_Importance

Defines the importance of the data contained in the operation.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type QuotaControllerClient deprecated

type QuotaControllerClient = src.QuotaControllerClient

QuotaControllerClient is the client API for QuotaController service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

func NewQuotaControllerClient deprecated

func NewQuotaControllerClient(cc grpc.ClientConnInterface) QuotaControllerClient

Deprecated: Please use funcs in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type QuotaControllerServer deprecated

type QuotaControllerServer = src.QuotaControllerServer

QuotaControllerServer is the server API for QuotaController service.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type QuotaError deprecated

type QuotaError = src.QuotaError

Represents error information for QuotaOperation[google.api.servicecontrol.v1.QuotaOperation].

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type QuotaError_Code deprecated

type QuotaError_Code = src.QuotaError_Code

Error codes related to project config validations are deprecated since the quota controller methods do not perform these validations. Instead services have to call the Check method, without quota_properties field, to perform these validations before calling the quota controller methods. These methods check only for project deletion to be wipe out compliant.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type QuotaOperation deprecated

type QuotaOperation = src.QuotaOperation

Represents information regarding a quota operation.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type QuotaOperation_QuotaMode deprecated

type QuotaOperation_QuotaMode = src.QuotaOperation_QuotaMode

Supported quota modes.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type ReportRequest deprecated

type ReportRequest = src.ReportRequest

Request message for the Report method.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type ReportResponse deprecated

type ReportResponse = src.ReportResponse

Response message for the Report method.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type ReportResponse_ReportError deprecated

type ReportResponse_ReportError = src.ReportResponse_ReportError

Represents the processing error of one Operation[google.api.servicecontrol.v1.Operation] in the request.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type ServiceControllerClient deprecated

type ServiceControllerClient = src.ServiceControllerClient

ServiceControllerClient is the client API for ServiceController service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

func NewServiceControllerClient deprecated

func NewServiceControllerClient(cc grpc.ClientConnInterface) ServiceControllerClient

Deprecated: Please use funcs in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type ServiceControllerServer deprecated

type ServiceControllerServer = src.ServiceControllerServer

ServiceControllerServer is the server API for ServiceController service.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type UnimplementedQuotaControllerServer deprecated

type UnimplementedQuotaControllerServer = src.UnimplementedQuotaControllerServer

UnimplementedQuotaControllerServer can be embedded to have forward compatible implementations.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

type UnimplementedServiceControllerServer deprecated

type UnimplementedServiceControllerServer = src.UnimplementedServiceControllerServer

UnimplementedServiceControllerServer can be embedded to have forward compatible implementations.

Deprecated: Please use types in: cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL