Documentation
¶
Overview ¶
Package serviceusage is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterServiceUsageHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterServiceUsageHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ServiceUsageClient) error
- func RegisterServiceUsageHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterServiceUsageHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ServiceUsageServer) error
- func RegisterServiceUsageServer(s grpc.ServiceRegistrar, srv ServiceUsageServer)
- type AdminQuotaPolicy
- func (*AdminQuotaPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *AdminQuotaPolicy) GetContainer() string
- func (x *AdminQuotaPolicy) GetDimensions() map[string]string
- func (x *AdminQuotaPolicy) GetMetric() string
- func (x *AdminQuotaPolicy) GetName() string
- func (x *AdminQuotaPolicy) GetPolicyValue() int64
- func (x *AdminQuotaPolicy) GetUnit() string
- func (*AdminQuotaPolicy) ProtoMessage()
- func (x *AdminQuotaPolicy) ProtoReflect() protoreflect.Message
- func (x *AdminQuotaPolicy) Reset()
- func (x *AdminQuotaPolicy) String() string
- type BatchCreateAdminOverridesResponse
- func (*BatchCreateAdminOverridesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateAdminOverridesResponse) GetOverrides() []*QuotaOverride
- func (*BatchCreateAdminOverridesResponse) ProtoMessage()
- func (x *BatchCreateAdminOverridesResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreateAdminOverridesResponse) Reset()
- func (x *BatchCreateAdminOverridesResponse) String() string
- type BatchCreateConsumerOverridesResponse
- func (*BatchCreateConsumerOverridesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateConsumerOverridesResponse) GetOverrides() []*QuotaOverride
- func (*BatchCreateConsumerOverridesResponse) ProtoMessage()
- func (x *BatchCreateConsumerOverridesResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreateConsumerOverridesResponse) Reset()
- func (x *BatchCreateConsumerOverridesResponse) String() string
- type BatchEnableServicesRequest
- func (*BatchEnableServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchEnableServicesRequest) GetParent() string
- func (x *BatchEnableServicesRequest) GetServiceIds() []string
- func (*BatchEnableServicesRequest) ProtoMessage()
- func (x *BatchEnableServicesRequest) ProtoReflect() protoreflect.Message
- func (x *BatchEnableServicesRequest) Reset()
- func (x *BatchEnableServicesRequest) String() string
- type ConsumerQuotaLimit
- func (*ConsumerQuotaLimit) Descriptor() ([]byte, []int)deprecated
- func (x *ConsumerQuotaLimit) GetAllowsAdminOverrides() bool
- func (x *ConsumerQuotaLimit) GetIsPrecise() bool
- func (x *ConsumerQuotaLimit) GetMetric() string
- func (x *ConsumerQuotaLimit) GetName() string
- func (x *ConsumerQuotaLimit) GetQuotaBuckets() []*QuotaBucket
- func (x *ConsumerQuotaLimit) GetSupportedLocations() []string
- func (x *ConsumerQuotaLimit) GetUnit() string
- func (*ConsumerQuotaLimit) ProtoMessage()
- func (x *ConsumerQuotaLimit) ProtoReflect() protoreflect.Message
- func (x *ConsumerQuotaLimit) Reset()
- func (x *ConsumerQuotaLimit) String() string
- type ConsumerQuotaMetric
- func (*ConsumerQuotaMetric) Descriptor() ([]byte, []int)deprecated
- func (x *ConsumerQuotaMetric) GetConsumerQuotaLimits() []*ConsumerQuotaLimit
- func (x *ConsumerQuotaMetric) GetDescendantConsumerQuotaLimits() []*ConsumerQuotaLimit
- func (x *ConsumerQuotaMetric) GetDisplayName() string
- func (x *ConsumerQuotaMetric) GetMetric() string
- func (x *ConsumerQuotaMetric) GetName() string
- func (x *ConsumerQuotaMetric) GetUnit() string
- func (*ConsumerQuotaMetric) ProtoMessage()
- func (x *ConsumerQuotaMetric) ProtoReflect() protoreflect.Message
- func (x *ConsumerQuotaMetric) Reset()
- func (x *ConsumerQuotaMetric) String() string
- type CreateAdminOverrideRequest
- func (*CreateAdminOverrideRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAdminOverrideRequest) GetForce() bool
- func (x *CreateAdminOverrideRequest) GetForceOnly() []QuotaSafetyCheck
- func (x *CreateAdminOverrideRequest) GetOverride() *QuotaOverride
- func (x *CreateAdminOverrideRequest) GetParent() string
- func (*CreateAdminOverrideRequest) ProtoMessage()
- func (x *CreateAdminOverrideRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAdminOverrideRequest) Reset()
- func (x *CreateAdminOverrideRequest) String() string
- type CreateAdminQuotaPolicyMetadata
- func (*CreateAdminQuotaPolicyMetadata) Descriptor() ([]byte, []int)deprecated
- func (*CreateAdminQuotaPolicyMetadata) ProtoMessage()
- func (x *CreateAdminQuotaPolicyMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateAdminQuotaPolicyMetadata) Reset()
- func (x *CreateAdminQuotaPolicyMetadata) String() string
- type CreateConsumerOverrideRequest
- func (*CreateConsumerOverrideRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateConsumerOverrideRequest) GetForce() bool
- func (x *CreateConsumerOverrideRequest) GetForceOnly() []QuotaSafetyCheck
- func (x *CreateConsumerOverrideRequest) GetOverride() *QuotaOverride
- func (x *CreateConsumerOverrideRequest) GetParent() string
- func (*CreateConsumerOverrideRequest) ProtoMessage()
- func (x *CreateConsumerOverrideRequest) ProtoReflect() protoreflect.Message
- func (x *CreateConsumerOverrideRequest) Reset()
- func (x *CreateConsumerOverrideRequest) String() string
- type DeleteAdminOverrideRequest
- func (*DeleteAdminOverrideRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAdminOverrideRequest) GetForce() bool
- func (x *DeleteAdminOverrideRequest) GetForceOnly() []QuotaSafetyCheck
- func (x *DeleteAdminOverrideRequest) GetName() string
- func (*DeleteAdminOverrideRequest) ProtoMessage()
- func (x *DeleteAdminOverrideRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAdminOverrideRequest) Reset()
- func (x *DeleteAdminOverrideRequest) String() string
- type DeleteAdminQuotaPolicyMetadata
- func (*DeleteAdminQuotaPolicyMetadata) Descriptor() ([]byte, []int)deprecated
- func (*DeleteAdminQuotaPolicyMetadata) ProtoMessage()
- func (x *DeleteAdminQuotaPolicyMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteAdminQuotaPolicyMetadata) Reset()
- func (x *DeleteAdminQuotaPolicyMetadata) String() string
- type DeleteConsumerOverrideRequest
- func (*DeleteConsumerOverrideRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteConsumerOverrideRequest) GetForce() bool
- func (x *DeleteConsumerOverrideRequest) GetForceOnly() []QuotaSafetyCheck
- func (x *DeleteConsumerOverrideRequest) GetName() string
- func (*DeleteConsumerOverrideRequest) ProtoMessage()
- func (x *DeleteConsumerOverrideRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteConsumerOverrideRequest) Reset()
- func (x *DeleteConsumerOverrideRequest) String() string
- type DisableServiceRequest
- func (*DisableServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisableServiceRequest) GetName() string
- func (*DisableServiceRequest) ProtoMessage()
- func (x *DisableServiceRequest) ProtoReflect() protoreflect.Message
- func (x *DisableServiceRequest) Reset()
- func (x *DisableServiceRequest) String() string
- type EnableServiceRequest
- func (*EnableServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnableServiceRequest) GetName() string
- func (*EnableServiceRequest) ProtoMessage()
- func (x *EnableServiceRequest) ProtoReflect() protoreflect.Message
- func (x *EnableServiceRequest) Reset()
- func (x *EnableServiceRequest) String() string
- type GenerateServiceIdentityRequest
- func (*GenerateServiceIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateServiceIdentityRequest) GetParent() string
- func (*GenerateServiceIdentityRequest) ProtoMessage()
- func (x *GenerateServiceIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateServiceIdentityRequest) Reset()
- func (x *GenerateServiceIdentityRequest) String() string
- type GetConsumerQuotaLimitRequest
- func (*GetConsumerQuotaLimitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConsumerQuotaLimitRequest) GetName() string
- func (x *GetConsumerQuotaLimitRequest) GetView() QuotaView
- func (*GetConsumerQuotaLimitRequest) ProtoMessage()
- func (x *GetConsumerQuotaLimitRequest) ProtoReflect() protoreflect.Message
- func (x *GetConsumerQuotaLimitRequest) Reset()
- func (x *GetConsumerQuotaLimitRequest) String() string
- type GetConsumerQuotaMetricRequest
- func (*GetConsumerQuotaMetricRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConsumerQuotaMetricRequest) GetName() string
- func (x *GetConsumerQuotaMetricRequest) GetView() QuotaView
- func (*GetConsumerQuotaMetricRequest) ProtoMessage()
- func (x *GetConsumerQuotaMetricRequest) ProtoReflect() protoreflect.Message
- func (x *GetConsumerQuotaMetricRequest) Reset()
- func (x *GetConsumerQuotaMetricRequest) String() string
- type GetServiceIdentityMetadata
- type GetServiceIdentityResponse
- func (*GetServiceIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceIdentityResponse) GetIdentity() *ServiceIdentity
- func (x *GetServiceIdentityResponse) GetState() GetServiceIdentityResponse_IdentityState
- func (*GetServiceIdentityResponse) ProtoMessage()
- func (x *GetServiceIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *GetServiceIdentityResponse) Reset()
- func (x *GetServiceIdentityResponse) String() string
- type GetServiceIdentityResponse_IdentityState
- func (GetServiceIdentityResponse_IdentityState) Descriptor() protoreflect.EnumDescriptor
- func (x GetServiceIdentityResponse_IdentityState) Enum() *GetServiceIdentityResponse_IdentityState
- func (GetServiceIdentityResponse_IdentityState) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetServiceIdentityResponse_IdentityState) Number() protoreflect.EnumNumber
- func (x GetServiceIdentityResponse_IdentityState) String() string
- func (GetServiceIdentityResponse_IdentityState) Type() protoreflect.EnumType
- type GetServiceRequest
- type ImportAdminOverridesMetadata
- func (*ImportAdminOverridesMetadata) Descriptor() ([]byte, []int)deprecated
- func (*ImportAdminOverridesMetadata) ProtoMessage()
- func (x *ImportAdminOverridesMetadata) ProtoReflect() protoreflect.Message
- func (x *ImportAdminOverridesMetadata) Reset()
- func (x *ImportAdminOverridesMetadata) String() string
- type ImportAdminOverridesRequest
- func (*ImportAdminOverridesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportAdminOverridesRequest) GetForce() bool
- func (x *ImportAdminOverridesRequest) GetForceOnly() []QuotaSafetyCheck
- func (x *ImportAdminOverridesRequest) GetInlineSource() *OverrideInlineSource
- func (x *ImportAdminOverridesRequest) GetParent() string
- func (m *ImportAdminOverridesRequest) GetSource() isImportAdminOverridesRequest_Source
- func (*ImportAdminOverridesRequest) ProtoMessage()
- func (x *ImportAdminOverridesRequest) ProtoReflect() protoreflect.Message
- func (x *ImportAdminOverridesRequest) Reset()
- func (x *ImportAdminOverridesRequest) String() string
- type ImportAdminOverridesRequest_InlineSource
- type ImportAdminOverridesResponse
- func (*ImportAdminOverridesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportAdminOverridesResponse) GetOverrides() []*QuotaOverride
- func (*ImportAdminOverridesResponse) ProtoMessage()
- func (x *ImportAdminOverridesResponse) ProtoReflect() protoreflect.Message
- func (x *ImportAdminOverridesResponse) Reset()
- func (x *ImportAdminOverridesResponse) String() string
- type ImportAdminQuotaPoliciesMetadata
- func (*ImportAdminQuotaPoliciesMetadata) Descriptor() ([]byte, []int)deprecated
- func (*ImportAdminQuotaPoliciesMetadata) ProtoMessage()
- func (x *ImportAdminQuotaPoliciesMetadata) ProtoReflect() protoreflect.Message
- func (x *ImportAdminQuotaPoliciesMetadata) Reset()
- func (x *ImportAdminQuotaPoliciesMetadata) String() string
- type ImportAdminQuotaPoliciesResponse
- func (*ImportAdminQuotaPoliciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportAdminQuotaPoliciesResponse) GetPolicies() []*AdminQuotaPolicy
- func (*ImportAdminQuotaPoliciesResponse) ProtoMessage()
- func (x *ImportAdminQuotaPoliciesResponse) ProtoReflect() protoreflect.Message
- func (x *ImportAdminQuotaPoliciesResponse) Reset()
- func (x *ImportAdminQuotaPoliciesResponse) String() string
- type ImportConsumerOverridesMetadata
- func (*ImportConsumerOverridesMetadata) Descriptor() ([]byte, []int)deprecated
- func (*ImportConsumerOverridesMetadata) ProtoMessage()
- func (x *ImportConsumerOverridesMetadata) ProtoReflect() protoreflect.Message
- func (x *ImportConsumerOverridesMetadata) Reset()
- func (x *ImportConsumerOverridesMetadata) String() string
- type ImportConsumerOverridesRequest
- func (*ImportConsumerOverridesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportConsumerOverridesRequest) GetForce() bool
- func (x *ImportConsumerOverridesRequest) GetForceOnly() []QuotaSafetyCheck
- func (x *ImportConsumerOverridesRequest) GetInlineSource() *OverrideInlineSource
- func (x *ImportConsumerOverridesRequest) GetParent() string
- func (m *ImportConsumerOverridesRequest) GetSource() isImportConsumerOverridesRequest_Source
- func (*ImportConsumerOverridesRequest) ProtoMessage()
- func (x *ImportConsumerOverridesRequest) ProtoReflect() protoreflect.Message
- func (x *ImportConsumerOverridesRequest) Reset()
- func (x *ImportConsumerOverridesRequest) String() string
- type ImportConsumerOverridesRequest_InlineSource
- type ImportConsumerOverridesResponse
- func (*ImportConsumerOverridesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportConsumerOverridesResponse) GetOverrides() []*QuotaOverride
- func (*ImportConsumerOverridesResponse) ProtoMessage()
- func (x *ImportConsumerOverridesResponse) ProtoReflect() protoreflect.Message
- func (x *ImportConsumerOverridesResponse) Reset()
- func (x *ImportConsumerOverridesResponse) String() string
- type ListAdminOverridesRequest
- func (*ListAdminOverridesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAdminOverridesRequest) GetPageSize() int32
- func (x *ListAdminOverridesRequest) GetPageToken() string
- func (x *ListAdminOverridesRequest) GetParent() string
- func (*ListAdminOverridesRequest) ProtoMessage()
- func (x *ListAdminOverridesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAdminOverridesRequest) Reset()
- func (x *ListAdminOverridesRequest) String() string
- type ListAdminOverridesResponse
- func (*ListAdminOverridesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAdminOverridesResponse) GetNextPageToken() string
- func (x *ListAdminOverridesResponse) GetOverrides() []*QuotaOverride
- func (*ListAdminOverridesResponse) ProtoMessage()
- func (x *ListAdminOverridesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAdminOverridesResponse) Reset()
- func (x *ListAdminOverridesResponse) String() string
- type ListConsumerOverridesRequest
- func (*ListConsumerOverridesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListConsumerOverridesRequest) GetPageSize() int32
- func (x *ListConsumerOverridesRequest) GetPageToken() string
- func (x *ListConsumerOverridesRequest) GetParent() string
- func (*ListConsumerOverridesRequest) ProtoMessage()
- func (x *ListConsumerOverridesRequest) ProtoReflect() protoreflect.Message
- func (x *ListConsumerOverridesRequest) Reset()
- func (x *ListConsumerOverridesRequest) String() string
- type ListConsumerOverridesResponse
- func (*ListConsumerOverridesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListConsumerOverridesResponse) GetNextPageToken() string
- func (x *ListConsumerOverridesResponse) GetOverrides() []*QuotaOverride
- func (*ListConsumerOverridesResponse) ProtoMessage()
- func (x *ListConsumerOverridesResponse) ProtoReflect() protoreflect.Message
- func (x *ListConsumerOverridesResponse) Reset()
- func (x *ListConsumerOverridesResponse) String() string
- type ListConsumerQuotaMetricsRequest
- func (*ListConsumerQuotaMetricsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListConsumerQuotaMetricsRequest) GetPageSize() int32
- func (x *ListConsumerQuotaMetricsRequest) GetPageToken() string
- func (x *ListConsumerQuotaMetricsRequest) GetParent() string
- func (x *ListConsumerQuotaMetricsRequest) GetView() QuotaView
- func (*ListConsumerQuotaMetricsRequest) ProtoMessage()
- func (x *ListConsumerQuotaMetricsRequest) ProtoReflect() protoreflect.Message
- func (x *ListConsumerQuotaMetricsRequest) Reset()
- func (x *ListConsumerQuotaMetricsRequest) String() string
- type ListConsumerQuotaMetricsResponse
- func (*ListConsumerQuotaMetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListConsumerQuotaMetricsResponse) GetMetrics() []*ConsumerQuotaMetric
- func (x *ListConsumerQuotaMetricsResponse) GetNextPageToken() string
- func (*ListConsumerQuotaMetricsResponse) ProtoMessage()
- func (x *ListConsumerQuotaMetricsResponse) ProtoReflect() protoreflect.Message
- func (x *ListConsumerQuotaMetricsResponse) Reset()
- func (x *ListConsumerQuotaMetricsResponse) String() string
- type ListServicesRequest
- func (*ListServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesRequest) GetFilter() string
- func (x *ListServicesRequest) GetPageSize() int32
- func (x *ListServicesRequest) GetPageToken() string
- func (x *ListServicesRequest) GetParent() string
- func (*ListServicesRequest) ProtoMessage()
- func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
- func (x *ListServicesRequest) Reset()
- func (x *ListServicesRequest) String() string
- type ListServicesResponse
- func (*ListServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesResponse) GetNextPageToken() string
- func (x *ListServicesResponse) GetServices() []*Service
- func (*ListServicesResponse) ProtoMessage()
- func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListServicesResponse) Reset()
- func (x *ListServicesResponse) String() string
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OperationMetadata) GetResourceNames() []string
- func (*OperationMetadata) ProtoMessage()
- func (x *OperationMetadata) ProtoReflect() protoreflect.Message
- func (x *OperationMetadata) Reset()
- func (x *OperationMetadata) String() string
- type OverrideInlineSource
- func (*OverrideInlineSource) Descriptor() ([]byte, []int)deprecated
- func (x *OverrideInlineSource) GetOverrides() []*QuotaOverride
- func (*OverrideInlineSource) ProtoMessage()
- func (x *OverrideInlineSource) ProtoReflect() protoreflect.Message
- func (x *OverrideInlineSource) Reset()
- func (x *OverrideInlineSource) String() string
- type ProducerQuotaPolicy
- func (*ProducerQuotaPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ProducerQuotaPolicy) GetContainer() string
- func (x *ProducerQuotaPolicy) GetDimensions() map[string]string
- func (x *ProducerQuotaPolicy) GetMetric() string
- func (x *ProducerQuotaPolicy) GetName() string
- func (x *ProducerQuotaPolicy) GetPolicyValue() int64
- func (x *ProducerQuotaPolicy) GetUnit() string
- func (*ProducerQuotaPolicy) ProtoMessage()
- func (x *ProducerQuotaPolicy) ProtoReflect() protoreflect.Message
- func (x *ProducerQuotaPolicy) Reset()
- func (x *ProducerQuotaPolicy) String() string
- type QuotaBucket
- func (*QuotaBucket) Descriptor() ([]byte, []int)deprecated
- func (x *QuotaBucket) GetAdminOverride() *QuotaOverride
- func (x *QuotaBucket) GetConsumerOverride() *QuotaOverride
- func (x *QuotaBucket) GetDefaultLimit() int64
- func (x *QuotaBucket) GetDimensions() map[string]string
- func (x *QuotaBucket) GetEffectiveLimit() int64
- func (x *QuotaBucket) GetProducerOverride() *QuotaOverride
- func (x *QuotaBucket) GetProducerQuotaPolicy() *ProducerQuotaPolicy
- func (*QuotaBucket) ProtoMessage()
- func (x *QuotaBucket) ProtoReflect() protoreflect.Message
- func (x *QuotaBucket) Reset()
- func (x *QuotaBucket) String() string
- type QuotaOverride
- func (*QuotaOverride) Descriptor() ([]byte, []int)deprecated
- func (x *QuotaOverride) GetAdminOverrideAncestor() string
- func (x *QuotaOverride) GetDimensions() map[string]string
- func (x *QuotaOverride) GetMetric() string
- func (x *QuotaOverride) GetName() string
- func (x *QuotaOverride) GetOverrideValue() int64
- func (x *QuotaOverride) GetUnit() string
- func (*QuotaOverride) ProtoMessage()
- func (x *QuotaOverride) ProtoReflect() protoreflect.Message
- func (x *QuotaOverride) Reset()
- func (x *QuotaOverride) String() string
- type QuotaSafetyCheck
- func (QuotaSafetyCheck) Descriptor() protoreflect.EnumDescriptor
- func (x QuotaSafetyCheck) Enum() *QuotaSafetyCheck
- func (QuotaSafetyCheck) EnumDescriptor() ([]byte, []int)deprecated
- func (x QuotaSafetyCheck) Number() protoreflect.EnumNumber
- func (x QuotaSafetyCheck) String() string
- func (QuotaSafetyCheck) Type() protoreflect.EnumType
- type QuotaView
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetConfig() *ServiceConfig
- func (x *Service) GetName() string
- func (x *Service) GetParent() string
- func (x *Service) GetState() State
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type ServiceConfig
- func (*ServiceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceConfig) GetApis() []*api.Api
- func (x *ServiceConfig) GetAuthentication() *serviceconfig.Authentication
- func (x *ServiceConfig) GetDocumentation() *serviceconfig.Documentation
- func (x *ServiceConfig) GetEndpoints() []*serviceconfig.Endpoint
- func (x *ServiceConfig) GetMonitoredResources() []*monitoredres.MonitoredResourceDescriptor
- func (x *ServiceConfig) GetMonitoring() *serviceconfig.Monitoring
- func (x *ServiceConfig) GetName() string
- func (x *ServiceConfig) GetQuota() *serviceconfig.Quota
- func (x *ServiceConfig) GetTitle() string
- func (x *ServiceConfig) GetUsage() *serviceconfig.Usage
- func (*ServiceConfig) ProtoMessage()
- func (x *ServiceConfig) ProtoReflect() protoreflect.Message
- func (x *ServiceConfig) Reset()
- func (x *ServiceConfig) String() string
- type ServiceIdentity
- func (*ServiceIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceIdentity) GetEmail() string
- func (x *ServiceIdentity) GetUniqueId() string
- func (*ServiceIdentity) ProtoMessage()
- func (x *ServiceIdentity) ProtoReflect() protoreflect.Message
- func (x *ServiceIdentity) Reset()
- func (x *ServiceIdentity) String() string
- type ServiceUsageClient
- type ServiceUsageServer
- type State
- type UnimplementedServiceUsageServer
- func (UnimplementedServiceUsageServer) BatchEnableServices(context.Context, *BatchEnableServicesRequest) (*longrunningpb.Operation, error)
- func (UnimplementedServiceUsageServer) CreateAdminOverride(context.Context, *CreateAdminOverrideRequest) (*longrunningpb.Operation, error)
- func (UnimplementedServiceUsageServer) CreateConsumerOverride(context.Context, *CreateConsumerOverrideRequest) (*longrunningpb.Operation, error)
- func (UnimplementedServiceUsageServer) DeleteAdminOverride(context.Context, *DeleteAdminOverrideRequest) (*longrunningpb.Operation, error)
- func (UnimplementedServiceUsageServer) DeleteConsumerOverride(context.Context, *DeleteConsumerOverrideRequest) (*longrunningpb.Operation, error)
- func (UnimplementedServiceUsageServer) DisableService(context.Context, *DisableServiceRequest) (*longrunningpb.Operation, error)
- func (UnimplementedServiceUsageServer) EnableService(context.Context, *EnableServiceRequest) (*longrunningpb.Operation, error)
- func (UnimplementedServiceUsageServer) GenerateServiceIdentity(context.Context, *GenerateServiceIdentityRequest) (*longrunningpb.Operation, error)
- func (UnimplementedServiceUsageServer) GetConsumerQuotaLimit(context.Context, *GetConsumerQuotaLimitRequest) (*ConsumerQuotaLimit, error)
- func (UnimplementedServiceUsageServer) GetConsumerQuotaMetric(context.Context, *GetConsumerQuotaMetricRequest) (*ConsumerQuotaMetric, error)
- func (UnimplementedServiceUsageServer) GetService(context.Context, *GetServiceRequest) (*Service, error)
- func (UnimplementedServiceUsageServer) ImportAdminOverrides(context.Context, *ImportAdminOverridesRequest) (*longrunningpb.Operation, error)
- func (UnimplementedServiceUsageServer) ImportConsumerOverrides(context.Context, *ImportConsumerOverridesRequest) (*longrunningpb.Operation, error)
- func (UnimplementedServiceUsageServer) ListAdminOverrides(context.Context, *ListAdminOverridesRequest) (*ListAdminOverridesResponse, error)
- func (UnimplementedServiceUsageServer) ListConsumerOverrides(context.Context, *ListConsumerOverridesRequest) (*ListConsumerOverridesResponse, error)
- func (UnimplementedServiceUsageServer) ListConsumerQuotaMetrics(context.Context, *ListConsumerQuotaMetricsRequest) (*ListConsumerQuotaMetricsResponse, error)
- func (UnimplementedServiceUsageServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
- func (UnimplementedServiceUsageServer) UpdateAdminOverride(context.Context, *UpdateAdminOverrideRequest) (*longrunningpb.Operation, error)
- func (UnimplementedServiceUsageServer) UpdateConsumerOverride(context.Context, *UpdateConsumerOverrideRequest) (*longrunningpb.Operation, error)
- type UnsafeServiceUsageServer
- type UpdateAdminOverrideRequest
- func (*UpdateAdminOverrideRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAdminOverrideRequest) GetForce() bool
- func (x *UpdateAdminOverrideRequest) GetForceOnly() []QuotaSafetyCheck
- func (x *UpdateAdminOverrideRequest) GetName() string
- func (x *UpdateAdminOverrideRequest) GetOverride() *QuotaOverride
- func (x *UpdateAdminOverrideRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateAdminOverrideRequest) ProtoMessage()
- func (x *UpdateAdminOverrideRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAdminOverrideRequest) Reset()
- func (x *UpdateAdminOverrideRequest) String() string
- type UpdateAdminQuotaPolicyMetadata
- func (*UpdateAdminQuotaPolicyMetadata) Descriptor() ([]byte, []int)deprecated
- func (*UpdateAdminQuotaPolicyMetadata) ProtoMessage()
- func (x *UpdateAdminQuotaPolicyMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateAdminQuotaPolicyMetadata) Reset()
- func (x *UpdateAdminQuotaPolicyMetadata) String() string
- type UpdateConsumerOverrideRequest
- func (*UpdateConsumerOverrideRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateConsumerOverrideRequest) GetForce() bool
- func (x *UpdateConsumerOverrideRequest) GetForceOnly() []QuotaSafetyCheck
- func (x *UpdateConsumerOverrideRequest) GetName() string
- func (x *UpdateConsumerOverrideRequest) GetOverride() *QuotaOverride
- func (x *UpdateConsumerOverrideRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateConsumerOverrideRequest) ProtoMessage()
- func (x *UpdateConsumerOverrideRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateConsumerOverrideRequest) Reset()
- func (x *UpdateConsumerOverrideRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "DISABLED", 2: "ENABLED", } State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "DISABLED": 1, "ENABLED": 2, } )
Enum value maps for State.
var ( QuotaView_name = map[int32]string{ 0: "QUOTA_VIEW_UNSPECIFIED", 1: "BASIC", 2: "FULL", } QuotaView_value = map[string]int32{ "QUOTA_VIEW_UNSPECIFIED": 0, "BASIC": 1, "FULL": 2, } )
Enum value maps for QuotaView.
var ( QuotaSafetyCheck_name = map[int32]string{ 0: "QUOTA_SAFETY_CHECK_UNSPECIFIED", 1: "LIMIT_DECREASE_BELOW_USAGE", 2: "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH", } QuotaSafetyCheck_value = map[string]int32{ "QUOTA_SAFETY_CHECK_UNSPECIFIED": 0, "LIMIT_DECREASE_BELOW_USAGE": 1, "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH": 2, } )
Enum value maps for QuotaSafetyCheck.
var ( GetServiceIdentityResponse_IdentityState_name = map[int32]string{ 0: "IDENTITY_STATE_UNSPECIFIED", 1: "ACTIVE", } GetServiceIdentityResponse_IdentityState_value = map[string]int32{ "IDENTITY_STATE_UNSPECIFIED": 0, "ACTIVE": 1, } )
Enum value maps for GetServiceIdentityResponse_IdentityState.
var File_mockgcp_api_serviceusage_v1beta1_resources_proto protoreflect.FileDescriptor
var File_mockgcp_api_serviceusage_v1beta1_serviceusage_proto protoreflect.FileDescriptor
var ServiceUsage_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.api.serviceusage.v1beta1.ServiceUsage", HandlerType: (*ServiceUsageServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "EnableService", Handler: _ServiceUsage_EnableService_Handler, }, { MethodName: "DisableService", Handler: _ServiceUsage_DisableService_Handler, }, { MethodName: "GetService", Handler: _ServiceUsage_GetService_Handler, }, { MethodName: "ListServices", Handler: _ServiceUsage_ListServices_Handler, }, { MethodName: "BatchEnableServices", Handler: _ServiceUsage_BatchEnableServices_Handler, }, { MethodName: "ListConsumerQuotaMetrics", Handler: _ServiceUsage_ListConsumerQuotaMetrics_Handler, }, { MethodName: "GetConsumerQuotaMetric", Handler: _ServiceUsage_GetConsumerQuotaMetric_Handler, }, { MethodName: "GetConsumerQuotaLimit", Handler: _ServiceUsage_GetConsumerQuotaLimit_Handler, }, { MethodName: "CreateAdminOverride", Handler: _ServiceUsage_CreateAdminOverride_Handler, }, { MethodName: "UpdateAdminOverride", Handler: _ServiceUsage_UpdateAdminOverride_Handler, }, { MethodName: "DeleteAdminOverride", Handler: _ServiceUsage_DeleteAdminOverride_Handler, }, { MethodName: "ListAdminOverrides", Handler: _ServiceUsage_ListAdminOverrides_Handler, }, { MethodName: "ImportAdminOverrides", Handler: _ServiceUsage_ImportAdminOverrides_Handler, }, { MethodName: "CreateConsumerOverride", Handler: _ServiceUsage_CreateConsumerOverride_Handler, }, { MethodName: "UpdateConsumerOverride", Handler: _ServiceUsage_UpdateConsumerOverride_Handler, }, { MethodName: "DeleteConsumerOverride", Handler: _ServiceUsage_DeleteConsumerOverride_Handler, }, { MethodName: "ListConsumerOverrides", Handler: _ServiceUsage_ListConsumerOverrides_Handler, }, { MethodName: "ImportConsumerOverrides", Handler: _ServiceUsage_ImportConsumerOverrides_Handler, }, { MethodName: "GenerateServiceIdentity", Handler: _ServiceUsage_GenerateServiceIdentity_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/api/serviceusage/v1beta1/serviceusage.proto", }
ServiceUsage_ServiceDesc is the grpc.ServiceDesc for ServiceUsage service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceUsageHandler ¶
func RegisterServiceUsageHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterServiceUsageHandler registers the http handlers for service ServiceUsage to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterServiceUsageHandlerClient ¶
func RegisterServiceUsageHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ServiceUsageClient) error
RegisterServiceUsageHandlerClient registers the http handlers for service ServiceUsage to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ServiceUsageClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ServiceUsageClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ServiceUsageClient" to call the correct interceptors.
func RegisterServiceUsageHandlerFromEndpoint ¶
func RegisterServiceUsageHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterServiceUsageHandlerFromEndpoint is same as RegisterServiceUsageHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterServiceUsageHandlerServer ¶
func RegisterServiceUsageHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ServiceUsageServer) error
RegisterServiceUsageHandlerServer registers the http handlers for service ServiceUsage to "mux". UnaryRPC :call ServiceUsageServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterServiceUsageHandlerFromEndpoint instead.
func RegisterServiceUsageServer ¶
func RegisterServiceUsageServer(s grpc.ServiceRegistrar, srv ServiceUsageServer)
Types ¶
type AdminQuotaPolicy ¶
type AdminQuotaPolicy struct { // The resource name of the policy. // This name is generated by the server when the policy is created. // // Example names would be: // `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminQuotaPolicies/4a3f2c1d` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The quota policy value. // Can be any nonnegative integer, or -1 (unlimited quota). PolicyValue int64 `protobuf:"varint,2,opt,name=policy_value,json=policyValue,proto3" json:"policy_value,omitempty"` // If this map is nonempty, then this policy applies only to specific values // for dimensions defined in the limit unit. // // For example, a policy on a limit with the unit `1/{project}/{region}` // could contain an entry with the key `region` and the value `us-east-1`; // the policy is only applied to quota consumed in that region. // // This map has the following restrictions: // // * If `region` appears as a key, its value must be a valid Cloud region. // * If `zone` appears as a key, its value must be a valid Cloud zone. // * Keys other than `region` or `zone` are not valid. Dimensions map[string]string `` /* 161-byte string literal not displayed */ // The name of the metric to which this policy applies. // // An example name would be: // `compute.googleapis.com/cpus` Metric string `protobuf:"bytes,4,opt,name=metric,proto3" json:"metric,omitempty"` // The limit unit of the limit to which this policy applies. // // An example unit would be: // `1/{project}/{region}` // Note that `{project}` and `{region}` are not placeholders in this example; // the literal characters `{` and `}` occur in the string. Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"` // The cloud resource container at which the quota policy is created. The // format is `{container_type}/{container_number}` Container string `protobuf:"bytes,6,opt,name=container,proto3" json:"container,omitempty"` // contains filtered or unexported fields }
Quota policy created by quota administrator.
func (*AdminQuotaPolicy) Descriptor
deprecated
func (*AdminQuotaPolicy) Descriptor() ([]byte, []int)
Deprecated: Use AdminQuotaPolicy.ProtoReflect.Descriptor instead.
func (*AdminQuotaPolicy) GetContainer ¶
func (x *AdminQuotaPolicy) GetContainer() string
func (*AdminQuotaPolicy) GetDimensions ¶
func (x *AdminQuotaPolicy) GetDimensions() map[string]string
func (*AdminQuotaPolicy) GetMetric ¶
func (x *AdminQuotaPolicy) GetMetric() string
func (*AdminQuotaPolicy) GetName ¶
func (x *AdminQuotaPolicy) GetName() string
func (*AdminQuotaPolicy) GetPolicyValue ¶
func (x *AdminQuotaPolicy) GetPolicyValue() int64
func (*AdminQuotaPolicy) GetUnit ¶
func (x *AdminQuotaPolicy) GetUnit() string
func (*AdminQuotaPolicy) ProtoMessage ¶
func (*AdminQuotaPolicy) ProtoMessage()
func (*AdminQuotaPolicy) ProtoReflect ¶
func (x *AdminQuotaPolicy) ProtoReflect() protoreflect.Message
func (*AdminQuotaPolicy) Reset ¶
func (x *AdminQuotaPolicy) Reset()
func (*AdminQuotaPolicy) String ¶
func (x *AdminQuotaPolicy) String() string
type BatchCreateAdminOverridesResponse ¶
type BatchCreateAdminOverridesResponse struct { // The overrides that were created. Overrides []*QuotaOverride `protobuf:"bytes,1,rep,name=overrides,proto3" json:"overrides,omitempty"` // contains filtered or unexported fields }
Response message for BatchCreateAdminOverrides
func (*BatchCreateAdminOverridesResponse) Descriptor
deprecated
func (*BatchCreateAdminOverridesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateAdminOverridesResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateAdminOverridesResponse) GetOverrides ¶
func (x *BatchCreateAdminOverridesResponse) GetOverrides() []*QuotaOverride
func (*BatchCreateAdminOverridesResponse) ProtoMessage ¶
func (*BatchCreateAdminOverridesResponse) ProtoMessage()
func (*BatchCreateAdminOverridesResponse) ProtoReflect ¶
func (x *BatchCreateAdminOverridesResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateAdminOverridesResponse) Reset ¶
func (x *BatchCreateAdminOverridesResponse) Reset()
func (*BatchCreateAdminOverridesResponse) String ¶
func (x *BatchCreateAdminOverridesResponse) String() string
type BatchCreateConsumerOverridesResponse ¶
type BatchCreateConsumerOverridesResponse struct { // The overrides that were created. Overrides []*QuotaOverride `protobuf:"bytes,1,rep,name=overrides,proto3" json:"overrides,omitempty"` // contains filtered or unexported fields }
Response message for BatchCreateConsumerOverrides
func (*BatchCreateConsumerOverridesResponse) Descriptor
deprecated
func (*BatchCreateConsumerOverridesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateConsumerOverridesResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateConsumerOverridesResponse) GetOverrides ¶
func (x *BatchCreateConsumerOverridesResponse) GetOverrides() []*QuotaOverride
func (*BatchCreateConsumerOverridesResponse) ProtoMessage ¶
func (*BatchCreateConsumerOverridesResponse) ProtoMessage()
func (*BatchCreateConsumerOverridesResponse) ProtoReflect ¶
func (x *BatchCreateConsumerOverridesResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateConsumerOverridesResponse) Reset ¶
func (x *BatchCreateConsumerOverridesResponse) Reset()
func (*BatchCreateConsumerOverridesResponse) String ¶
func (x *BatchCreateConsumerOverridesResponse) String() string
type BatchEnableServicesRequest ¶
type BatchEnableServicesRequest struct { // Parent to enable services on. // // An example name would be: // `projects/123` // where `123` is the project number (not project ID). // // The `BatchEnableServices` method currently only supports projects. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The identifiers of the services to enable on the project. // // A valid identifier would be: // serviceusage.googleapis.com // // Enabling services requires that each service is public or is shared with // the user enabling the service. // // Two or more services must be specified. To enable a single service, // use the `EnableService` method instead. // // A single request can enable a maximum of 20 services at a time. If more // than 20 services are specified, the request will fail, and no state changes // will occur. ServiceIds []string `protobuf:"bytes,2,rep,name=service_ids,json=serviceIds,proto3" json:"service_ids,omitempty"` // contains filtered or unexported fields }
Request message for the `BatchEnableServices` method.
func (*BatchEnableServicesRequest) Descriptor
deprecated
func (*BatchEnableServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchEnableServicesRequest.ProtoReflect.Descriptor instead.
func (*BatchEnableServicesRequest) GetParent ¶
func (x *BatchEnableServicesRequest) GetParent() string
func (*BatchEnableServicesRequest) GetServiceIds ¶
func (x *BatchEnableServicesRequest) GetServiceIds() []string
func (*BatchEnableServicesRequest) ProtoMessage ¶
func (*BatchEnableServicesRequest) ProtoMessage()
func (*BatchEnableServicesRequest) ProtoReflect ¶
func (x *BatchEnableServicesRequest) ProtoReflect() protoreflect.Message
func (*BatchEnableServicesRequest) Reset ¶
func (x *BatchEnableServicesRequest) Reset()
func (*BatchEnableServicesRequest) String ¶
func (x *BatchEnableServicesRequest) String() string
type ConsumerQuotaLimit ¶
type ConsumerQuotaLimit struct { // The resource name of the quota limit. // // An example name would be: // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` // // The resource name is intended to be opaque and should not be parsed for // its component strings, since its representation could change in the future. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of the parent metric of this limit. // // An example name would be: // `compute.googleapis.com/cpus` Metric string `protobuf:"bytes,8,opt,name=metric,proto3" json:"metric,omitempty"` // The limit unit. // // An example unit would be // `1/{project}/{region}` // Note that `{project}` and `{region}` are not placeholders in this example; // the literal characters `{` and `}` occur in the string. Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` // Whether this limit is precise or imprecise. IsPrecise bool `protobuf:"varint,3,opt,name=is_precise,json=isPrecise,proto3" json:"is_precise,omitempty"` // Whether admin overrides are allowed on this limit AllowsAdminOverrides bool `protobuf:"varint,7,opt,name=allows_admin_overrides,json=allowsAdminOverrides,proto3" json:"allows_admin_overrides,omitempty"` // Summary of the enforced quota buckets, organized by quota dimension, // ordered from least specific to most specific (for example, the global // default bucket, with no quota dimensions, will always appear first). QuotaBuckets []*QuotaBucket `protobuf:"bytes,9,rep,name=quota_buckets,json=quotaBuckets,proto3" json:"quota_buckets,omitempty"` // List of all supported locations. // This field is present only if the limit has a {region} or {zone} dimension. SupportedLocations []string `protobuf:"bytes,11,rep,name=supported_locations,json=supportedLocations,proto3" json:"supported_locations,omitempty"` // contains filtered or unexported fields }
Consumer quota settings for a quota limit.
func (*ConsumerQuotaLimit) Descriptor
deprecated
func (*ConsumerQuotaLimit) Descriptor() ([]byte, []int)
Deprecated: Use ConsumerQuotaLimit.ProtoReflect.Descriptor instead.
func (*ConsumerQuotaLimit) GetAllowsAdminOverrides ¶
func (x *ConsumerQuotaLimit) GetAllowsAdminOverrides() bool
func (*ConsumerQuotaLimit) GetIsPrecise ¶
func (x *ConsumerQuotaLimit) GetIsPrecise() bool
func (*ConsumerQuotaLimit) GetMetric ¶
func (x *ConsumerQuotaLimit) GetMetric() string
func (*ConsumerQuotaLimit) GetName ¶
func (x *ConsumerQuotaLimit) GetName() string
func (*ConsumerQuotaLimit) GetQuotaBuckets ¶
func (x *ConsumerQuotaLimit) GetQuotaBuckets() []*QuotaBucket
func (*ConsumerQuotaLimit) GetSupportedLocations ¶
func (x *ConsumerQuotaLimit) GetSupportedLocations() []string
func (*ConsumerQuotaLimit) GetUnit ¶
func (x *ConsumerQuotaLimit) GetUnit() string
func (*ConsumerQuotaLimit) ProtoMessage ¶
func (*ConsumerQuotaLimit) ProtoMessage()
func (*ConsumerQuotaLimit) ProtoReflect ¶
func (x *ConsumerQuotaLimit) ProtoReflect() protoreflect.Message
func (*ConsumerQuotaLimit) Reset ¶
func (x *ConsumerQuotaLimit) Reset()
func (*ConsumerQuotaLimit) String ¶
func (x *ConsumerQuotaLimit) String() string
type ConsumerQuotaMetric ¶
type ConsumerQuotaMetric struct { // The resource name of the quota settings on this metric for this consumer. // // An example name would be: // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus` // // The resource name is intended to be opaque and should not be parsed for // its component strings, since its representation could change in the future. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of the metric. // // An example name would be: // `compute.googleapis.com/cpus` Metric string `protobuf:"bytes,4,opt,name=metric,proto3" json:"metric,omitempty"` // The display name of the metric. // // An example name would be: // `CPUs` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The consumer quota for each quota limit defined on the metric. ConsumerQuotaLimits []*ConsumerQuotaLimit `protobuf:"bytes,3,rep,name=consumer_quota_limits,json=consumerQuotaLimits,proto3" json:"consumer_quota_limits,omitempty"` // The quota limits targeting the descendant containers of the // consumer in request. // // If the consumer in request is of type `organizations` // or `folders`, the field will list per-project limits in the metric; if the // consumer in request is of type `project`, the field will be empty. // // The `quota_buckets` field of each descendant consumer quota limit will not // be populated. DescendantConsumerQuotaLimits []*ConsumerQuotaLimit `` /* 152-byte string literal not displayed */ // The units in which the metric value is reported. Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
Consumer quota settings for a quota metric.
func (*ConsumerQuotaMetric) Descriptor
deprecated
func (*ConsumerQuotaMetric) Descriptor() ([]byte, []int)
Deprecated: Use ConsumerQuotaMetric.ProtoReflect.Descriptor instead.
func (*ConsumerQuotaMetric) GetConsumerQuotaLimits ¶
func (x *ConsumerQuotaMetric) GetConsumerQuotaLimits() []*ConsumerQuotaLimit
func (*ConsumerQuotaMetric) GetDescendantConsumerQuotaLimits ¶
func (x *ConsumerQuotaMetric) GetDescendantConsumerQuotaLimits() []*ConsumerQuotaLimit
func (*ConsumerQuotaMetric) GetDisplayName ¶
func (x *ConsumerQuotaMetric) GetDisplayName() string
func (*ConsumerQuotaMetric) GetMetric ¶
func (x *ConsumerQuotaMetric) GetMetric() string
func (*ConsumerQuotaMetric) GetName ¶
func (x *ConsumerQuotaMetric) GetName() string
func (*ConsumerQuotaMetric) GetUnit ¶
func (x *ConsumerQuotaMetric) GetUnit() string
func (*ConsumerQuotaMetric) ProtoMessage ¶
func (*ConsumerQuotaMetric) ProtoMessage()
func (*ConsumerQuotaMetric) ProtoReflect ¶
func (x *ConsumerQuotaMetric) ProtoReflect() protoreflect.Message
func (*ConsumerQuotaMetric) Reset ¶
func (x *ConsumerQuotaMetric) Reset()
func (*ConsumerQuotaMetric) String ¶
func (x *ConsumerQuotaMetric) String() string
type CreateAdminOverrideRequest ¶
type CreateAdminOverrideRequest struct { // The resource name of the parent quota limit, returned by a // ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. // // An example name would be: // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The admin override to create. Override *QuotaOverride `protobuf:"bytes,2,opt,name=override,proto3" json:"override,omitempty"` // Whether to force the creation of the quota override. // Setting the force parameter to 'true' ignores all quota safety checks that // would fail the request. QuotaSafetyCheck lists all such validations. Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` // The list of quota safety checks to ignore before the override mutation. // Unlike 'force' field that ignores all the quota safety checks, the // 'force_only' field ignores only the specified checks; other checks are // still enforced. The 'force' and 'force_only' fields cannot both be set. ForceOnly []QuotaSafetyCheck `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Request message for CreateAdminOverride.
func (*CreateAdminOverrideRequest) Descriptor
deprecated
func (*CreateAdminOverrideRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAdminOverrideRequest.ProtoReflect.Descriptor instead.
func (*CreateAdminOverrideRequest) GetForce ¶
func (x *CreateAdminOverrideRequest) GetForce() bool
func (*CreateAdminOverrideRequest) GetForceOnly ¶
func (x *CreateAdminOverrideRequest) GetForceOnly() []QuotaSafetyCheck
func (*CreateAdminOverrideRequest) GetOverride ¶
func (x *CreateAdminOverrideRequest) GetOverride() *QuotaOverride
func (*CreateAdminOverrideRequest) GetParent ¶
func (x *CreateAdminOverrideRequest) GetParent() string
func (*CreateAdminOverrideRequest) ProtoMessage ¶
func (*CreateAdminOverrideRequest) ProtoMessage()
func (*CreateAdminOverrideRequest) ProtoReflect ¶
func (x *CreateAdminOverrideRequest) ProtoReflect() protoreflect.Message
func (*CreateAdminOverrideRequest) Reset ¶
func (x *CreateAdminOverrideRequest) Reset()
func (*CreateAdminOverrideRequest) String ¶
func (x *CreateAdminOverrideRequest) String() string
type CreateAdminQuotaPolicyMetadata ¶
type CreateAdminQuotaPolicyMetadata struct {
// contains filtered or unexported fields
}
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by CreateAdminQuotaPolicy.
func (*CreateAdminQuotaPolicyMetadata) Descriptor
deprecated
func (*CreateAdminQuotaPolicyMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateAdminQuotaPolicyMetadata.ProtoReflect.Descriptor instead.
func (*CreateAdminQuotaPolicyMetadata) ProtoMessage ¶
func (*CreateAdminQuotaPolicyMetadata) ProtoMessage()
func (*CreateAdminQuotaPolicyMetadata) ProtoReflect ¶
func (x *CreateAdminQuotaPolicyMetadata) ProtoReflect() protoreflect.Message
func (*CreateAdminQuotaPolicyMetadata) Reset ¶
func (x *CreateAdminQuotaPolicyMetadata) Reset()
func (*CreateAdminQuotaPolicyMetadata) String ¶
func (x *CreateAdminQuotaPolicyMetadata) String() string
type CreateConsumerOverrideRequest ¶
type CreateConsumerOverrideRequest struct { // The resource name of the parent quota limit, returned by a // ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. // // An example name would be: // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The override to create. Override *QuotaOverride `protobuf:"bytes,2,opt,name=override,proto3" json:"override,omitempty"` // Whether to force the creation of the quota override. // Setting the force parameter to 'true' ignores all quota safety checks that // would fail the request. QuotaSafetyCheck lists all such validations. Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` // The list of quota safety checks to ignore before the override mutation. // Unlike 'force' field that ignores all the quota safety checks, the // 'force_only' field ignores only the specified checks; other checks are // still enforced. The 'force' and 'force_only' fields cannot both be set. ForceOnly []QuotaSafetyCheck `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Request message for CreateConsumerOverride.
func (*CreateConsumerOverrideRequest) Descriptor
deprecated
func (*CreateConsumerOverrideRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateConsumerOverrideRequest.ProtoReflect.Descriptor instead.
func (*CreateConsumerOverrideRequest) GetForce ¶
func (x *CreateConsumerOverrideRequest) GetForce() bool
func (*CreateConsumerOverrideRequest) GetForceOnly ¶
func (x *CreateConsumerOverrideRequest) GetForceOnly() []QuotaSafetyCheck
func (*CreateConsumerOverrideRequest) GetOverride ¶
func (x *CreateConsumerOverrideRequest) GetOverride() *QuotaOverride
func (*CreateConsumerOverrideRequest) GetParent ¶
func (x *CreateConsumerOverrideRequest) GetParent() string
func (*CreateConsumerOverrideRequest) ProtoMessage ¶
func (*CreateConsumerOverrideRequest) ProtoMessage()
func (*CreateConsumerOverrideRequest) ProtoReflect ¶
func (x *CreateConsumerOverrideRequest) ProtoReflect() protoreflect.Message
func (*CreateConsumerOverrideRequest) Reset ¶
func (x *CreateConsumerOverrideRequest) Reset()
func (*CreateConsumerOverrideRequest) String ¶
func (x *CreateConsumerOverrideRequest) String() string
type DeleteAdminOverrideRequest ¶
type DeleteAdminOverrideRequest struct { // The resource name of the override to delete. // // An example name would be: // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Whether to force the deletion of the quota override. // Setting the force parameter to 'true' ignores all quota safety checks that // would fail the request. QuotaSafetyCheck lists all such validations. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // The list of quota safety checks to ignore before the override mutation. // Unlike 'force' field that ignores all the quota safety checks, the // 'force_only' field ignores only the specified checks; other checks are // still enforced. The 'force' and 'force_only' fields cannot both be set. ForceOnly []QuotaSafetyCheck `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Request message for DeleteAdminOverride.
func (*DeleteAdminOverrideRequest) Descriptor
deprecated
func (*DeleteAdminOverrideRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAdminOverrideRequest.ProtoReflect.Descriptor instead.
func (*DeleteAdminOverrideRequest) GetForce ¶
func (x *DeleteAdminOverrideRequest) GetForce() bool
func (*DeleteAdminOverrideRequest) GetForceOnly ¶
func (x *DeleteAdminOverrideRequest) GetForceOnly() []QuotaSafetyCheck
func (*DeleteAdminOverrideRequest) GetName ¶
func (x *DeleteAdminOverrideRequest) GetName() string
func (*DeleteAdminOverrideRequest) ProtoMessage ¶
func (*DeleteAdminOverrideRequest) ProtoMessage()
func (*DeleteAdminOverrideRequest) ProtoReflect ¶
func (x *DeleteAdminOverrideRequest) ProtoReflect() protoreflect.Message
func (*DeleteAdminOverrideRequest) Reset ¶
func (x *DeleteAdminOverrideRequest) Reset()
func (*DeleteAdminOverrideRequest) String ¶
func (x *DeleteAdminOverrideRequest) String() string
type DeleteAdminQuotaPolicyMetadata ¶
type DeleteAdminQuotaPolicyMetadata struct {
// contains filtered or unexported fields
}
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by DeleteAdminQuotaPolicy.
func (*DeleteAdminQuotaPolicyMetadata) Descriptor
deprecated
func (*DeleteAdminQuotaPolicyMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAdminQuotaPolicyMetadata.ProtoReflect.Descriptor instead.
func (*DeleteAdminQuotaPolicyMetadata) ProtoMessage ¶
func (*DeleteAdminQuotaPolicyMetadata) ProtoMessage()
func (*DeleteAdminQuotaPolicyMetadata) ProtoReflect ¶
func (x *DeleteAdminQuotaPolicyMetadata) ProtoReflect() protoreflect.Message
func (*DeleteAdminQuotaPolicyMetadata) Reset ¶
func (x *DeleteAdminQuotaPolicyMetadata) Reset()
func (*DeleteAdminQuotaPolicyMetadata) String ¶
func (x *DeleteAdminQuotaPolicyMetadata) String() string
type DeleteConsumerOverrideRequest ¶
type DeleteConsumerOverrideRequest struct { // The resource name of the override to delete. // // An example name would be: // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Whether to force the deletion of the quota override. // Setting the force parameter to 'true' ignores all quota safety checks that // would fail the request. QuotaSafetyCheck lists all such validations. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // The list of quota safety checks to ignore before the override mutation. // Unlike 'force' field that ignores all the quota safety checks, the // 'force_only' field ignores only the specified checks; other checks are // still enforced. The 'force' and 'force_only' fields cannot both be set. ForceOnly []QuotaSafetyCheck `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Request message for DeleteConsumerOverride.
func (*DeleteConsumerOverrideRequest) Descriptor
deprecated
func (*DeleteConsumerOverrideRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConsumerOverrideRequest.ProtoReflect.Descriptor instead.
func (*DeleteConsumerOverrideRequest) GetForce ¶
func (x *DeleteConsumerOverrideRequest) GetForce() bool
func (*DeleteConsumerOverrideRequest) GetForceOnly ¶
func (x *DeleteConsumerOverrideRequest) GetForceOnly() []QuotaSafetyCheck
func (*DeleteConsumerOverrideRequest) GetName ¶
func (x *DeleteConsumerOverrideRequest) GetName() string
func (*DeleteConsumerOverrideRequest) ProtoMessage ¶
func (*DeleteConsumerOverrideRequest) ProtoMessage()
func (*DeleteConsumerOverrideRequest) ProtoReflect ¶
func (x *DeleteConsumerOverrideRequest) ProtoReflect() protoreflect.Message
func (*DeleteConsumerOverrideRequest) Reset ¶
func (x *DeleteConsumerOverrideRequest) Reset()
func (*DeleteConsumerOverrideRequest) String ¶
func (x *DeleteConsumerOverrideRequest) String() string
type DisableServiceRequest ¶
type DisableServiceRequest struct { // Name of the consumer and service to disable the service on. // // The enable and disable methods currently only support projects. // // An example name would be: // `projects/123/services/serviceusage.googleapis.com` // where `123` is the project number (not project ID). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `DisableService` method.
func (*DisableServiceRequest) Descriptor
deprecated
func (*DisableServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisableServiceRequest.ProtoReflect.Descriptor instead.
func (*DisableServiceRequest) GetName ¶
func (x *DisableServiceRequest) GetName() string
func (*DisableServiceRequest) ProtoMessage ¶
func (*DisableServiceRequest) ProtoMessage()
func (*DisableServiceRequest) ProtoReflect ¶
func (x *DisableServiceRequest) ProtoReflect() protoreflect.Message
func (*DisableServiceRequest) Reset ¶
func (x *DisableServiceRequest) Reset()
func (*DisableServiceRequest) String ¶
func (x *DisableServiceRequest) String() string
type EnableServiceRequest ¶
type EnableServiceRequest struct { // Name of the consumer and service to enable the service on. // // The `EnableService` and `DisableService` methods currently only support // projects. // // Enabling a service requires that the service is public or is shared with // the user enabling the service. // // An example name would be: // `projects/123/services/serviceusage.googleapis.com` // where `123` is the project number (not project ID). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `EnableService` method.
func (*EnableServiceRequest) Descriptor
deprecated
func (*EnableServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnableServiceRequest.ProtoReflect.Descriptor instead.
func (*EnableServiceRequest) GetName ¶
func (x *EnableServiceRequest) GetName() string
func (*EnableServiceRequest) ProtoMessage ¶
func (*EnableServiceRequest) ProtoMessage()
func (*EnableServiceRequest) ProtoReflect ¶
func (x *EnableServiceRequest) ProtoReflect() protoreflect.Message
func (*EnableServiceRequest) Reset ¶
func (x *EnableServiceRequest) Reset()
func (*EnableServiceRequest) String ¶
func (x *EnableServiceRequest) String() string
type GenerateServiceIdentityRequest ¶
type GenerateServiceIdentityRequest struct { // Name of the consumer and service to generate an identity for. // // The `GenerateServiceIdentity` methods currently support projects, folders, // organizations. // // Example parents would be: // `projects/123/services/example.googleapis.com` // `folders/123/services/example.googleapis.com` // `organizations/123/services/example.googleapis.com` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
Request message for generating service identity.
func (*GenerateServiceIdentityRequest) Descriptor
deprecated
func (*GenerateServiceIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateServiceIdentityRequest.ProtoReflect.Descriptor instead.
func (*GenerateServiceIdentityRequest) GetParent ¶
func (x *GenerateServiceIdentityRequest) GetParent() string
func (*GenerateServiceIdentityRequest) ProtoMessage ¶
func (*GenerateServiceIdentityRequest) ProtoMessage()
func (*GenerateServiceIdentityRequest) ProtoReflect ¶
func (x *GenerateServiceIdentityRequest) ProtoReflect() protoreflect.Message
func (*GenerateServiceIdentityRequest) Reset ¶
func (x *GenerateServiceIdentityRequest) Reset()
func (*GenerateServiceIdentityRequest) String ¶
func (x *GenerateServiceIdentityRequest) String() string
type GetConsumerQuotaLimitRequest ¶
type GetConsumerQuotaLimitRequest struct { // The resource name of the quota limit. // // Use the quota limit resource name returned by previous // ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Specifies the level of detail for quota information in the response. View QuotaView `protobuf:"varint,2,opt,name=view,proto3,enum=mockgcp.api.serviceusage.v1beta1.QuotaView" json:"view,omitempty"` // contains filtered or unexported fields }
Request message for GetConsumerQuotaLimit
func (*GetConsumerQuotaLimitRequest) Descriptor
deprecated
func (*GetConsumerQuotaLimitRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConsumerQuotaLimitRequest.ProtoReflect.Descriptor instead.
func (*GetConsumerQuotaLimitRequest) GetName ¶
func (x *GetConsumerQuotaLimitRequest) GetName() string
func (*GetConsumerQuotaLimitRequest) GetView ¶
func (x *GetConsumerQuotaLimitRequest) GetView() QuotaView
func (*GetConsumerQuotaLimitRequest) ProtoMessage ¶
func (*GetConsumerQuotaLimitRequest) ProtoMessage()
func (*GetConsumerQuotaLimitRequest) ProtoReflect ¶
func (x *GetConsumerQuotaLimitRequest) ProtoReflect() protoreflect.Message
func (*GetConsumerQuotaLimitRequest) Reset ¶
func (x *GetConsumerQuotaLimitRequest) Reset()
func (*GetConsumerQuotaLimitRequest) String ¶
func (x *GetConsumerQuotaLimitRequest) String() string
type GetConsumerQuotaMetricRequest ¶
type GetConsumerQuotaMetricRequest struct { // The resource name of the quota limit. // // An example name would be: // `projects/123/services/serviceusage.googleapis.com/quotas/metrics/serviceusage.googleapis.com%2Fmutate_requests` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Specifies the level of detail for quota information in the response. View QuotaView `protobuf:"varint,2,opt,name=view,proto3,enum=mockgcp.api.serviceusage.v1beta1.QuotaView" json:"view,omitempty"` // contains filtered or unexported fields }
Request message for GetConsumerQuotaMetric
func (*GetConsumerQuotaMetricRequest) Descriptor
deprecated
func (*GetConsumerQuotaMetricRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConsumerQuotaMetricRequest.ProtoReflect.Descriptor instead.
func (*GetConsumerQuotaMetricRequest) GetName ¶
func (x *GetConsumerQuotaMetricRequest) GetName() string
func (*GetConsumerQuotaMetricRequest) GetView ¶
func (x *GetConsumerQuotaMetricRequest) GetView() QuotaView
func (*GetConsumerQuotaMetricRequest) ProtoMessage ¶
func (*GetConsumerQuotaMetricRequest) ProtoMessage()
func (*GetConsumerQuotaMetricRequest) ProtoReflect ¶
func (x *GetConsumerQuotaMetricRequest) ProtoReflect() protoreflect.Message
func (*GetConsumerQuotaMetricRequest) Reset ¶
func (x *GetConsumerQuotaMetricRequest) Reset()
func (*GetConsumerQuotaMetricRequest) String ¶
func (x *GetConsumerQuotaMetricRequest) String() string
type GetServiceIdentityMetadata ¶
type GetServiceIdentityMetadata struct {
// contains filtered or unexported fields
}
Metadata for the `GetServiceIdentity` method.
func (*GetServiceIdentityMetadata) Descriptor
deprecated
func (*GetServiceIdentityMetadata) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceIdentityMetadata.ProtoReflect.Descriptor instead.
func (*GetServiceIdentityMetadata) ProtoMessage ¶
func (*GetServiceIdentityMetadata) ProtoMessage()
func (*GetServiceIdentityMetadata) ProtoReflect ¶
func (x *GetServiceIdentityMetadata) ProtoReflect() protoreflect.Message
func (*GetServiceIdentityMetadata) Reset ¶
func (x *GetServiceIdentityMetadata) Reset()
func (*GetServiceIdentityMetadata) String ¶
func (x *GetServiceIdentityMetadata) String() string
type GetServiceIdentityResponse ¶
type GetServiceIdentityResponse struct { // Service identity that service producer can use to access consumer // resources. If exists is true, it contains email and unique_id. If exists is // false, it contains pre-constructed email and empty unique_id. Identity *ServiceIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // Service identity state. State GetServiceIdentityResponse_IdentityState `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
Response message for getting service identity.
func (*GetServiceIdentityResponse) Descriptor
deprecated
func (*GetServiceIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceIdentityResponse.ProtoReflect.Descriptor instead.
func (*GetServiceIdentityResponse) GetIdentity ¶
func (x *GetServiceIdentityResponse) GetIdentity() *ServiceIdentity
func (*GetServiceIdentityResponse) GetState ¶
func (x *GetServiceIdentityResponse) GetState() GetServiceIdentityResponse_IdentityState
func (*GetServiceIdentityResponse) ProtoMessage ¶
func (*GetServiceIdentityResponse) ProtoMessage()
func (*GetServiceIdentityResponse) ProtoReflect ¶
func (x *GetServiceIdentityResponse) ProtoReflect() protoreflect.Message
func (*GetServiceIdentityResponse) Reset ¶
func (x *GetServiceIdentityResponse) Reset()
func (*GetServiceIdentityResponse) String ¶
func (x *GetServiceIdentityResponse) String() string
type GetServiceIdentityResponse_IdentityState ¶
type GetServiceIdentityResponse_IdentityState int32
Enum for service identity state.
const ( // Default service identity state. This value is used if the state is // omitted. GetServiceIdentityResponse_IDENTITY_STATE_UNSPECIFIED GetServiceIdentityResponse_IdentityState = 0 // Service identity has been created and can be used. GetServiceIdentityResponse_ACTIVE GetServiceIdentityResponse_IdentityState = 1 )
func (GetServiceIdentityResponse_IdentityState) Descriptor ¶
func (GetServiceIdentityResponse_IdentityState) Descriptor() protoreflect.EnumDescriptor
func (GetServiceIdentityResponse_IdentityState) EnumDescriptor
deprecated
func (GetServiceIdentityResponse_IdentityState) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetServiceIdentityResponse_IdentityState.Descriptor instead.
func (GetServiceIdentityResponse_IdentityState) Number ¶
func (x GetServiceIdentityResponse_IdentityState) Number() protoreflect.EnumNumber
func (GetServiceIdentityResponse_IdentityState) String ¶
func (x GetServiceIdentityResponse_IdentityState) String() string
func (GetServiceIdentityResponse_IdentityState) Type ¶
func (GetServiceIdentityResponse_IdentityState) Type() protoreflect.EnumType
type GetServiceRequest ¶
type GetServiceRequest struct { // Name of the consumer and service to get the `ConsumerState` for. // // An example name would be: // `projects/123/services/serviceusage.googleapis.com` // where `123` is the project number (not project ID). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `GetService` method.
func (*GetServiceRequest) Descriptor
deprecated
func (*GetServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.
func (*GetServiceRequest) GetName ¶
func (x *GetServiceRequest) GetName() string
func (*GetServiceRequest) ProtoMessage ¶
func (*GetServiceRequest) ProtoMessage()
func (*GetServiceRequest) ProtoReflect ¶
func (x *GetServiceRequest) ProtoReflect() protoreflect.Message
func (*GetServiceRequest) Reset ¶
func (x *GetServiceRequest) Reset()
func (*GetServiceRequest) String ¶
func (x *GetServiceRequest) String() string
type ImportAdminOverridesMetadata ¶
type ImportAdminOverridesMetadata struct {
// contains filtered or unexported fields
}
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by ImportAdminOverrides.
func (*ImportAdminOverridesMetadata) Descriptor
deprecated
func (*ImportAdminOverridesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportAdminOverridesMetadata.ProtoReflect.Descriptor instead.
func (*ImportAdminOverridesMetadata) ProtoMessage ¶
func (*ImportAdminOverridesMetadata) ProtoMessage()
func (*ImportAdminOverridesMetadata) ProtoReflect ¶
func (x *ImportAdminOverridesMetadata) ProtoReflect() protoreflect.Message
func (*ImportAdminOverridesMetadata) Reset ¶
func (x *ImportAdminOverridesMetadata) Reset()
func (*ImportAdminOverridesMetadata) String ¶
func (x *ImportAdminOverridesMetadata) String() string
type ImportAdminOverridesRequest ¶
type ImportAdminOverridesRequest struct { // The resource name of the consumer. // // An example name would be: // `projects/123/services/compute.googleapis.com` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Source of import data // // Types that are assignable to Source: // // *ImportAdminOverridesRequest_InlineSource Source isImportAdminOverridesRequest_Source `protobuf_oneof:"source"` // Whether to force the creation of the quota overrides. // Setting the force parameter to 'true' ignores all quota safety checks that // would fail the request. QuotaSafetyCheck lists all such validations. Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` // The list of quota safety checks to ignore before the override mutation. // Unlike 'force' field that ignores all the quota safety checks, the // 'force_only' field ignores only the specified checks; other checks are // still enforced. The 'force' and 'force_only' fields cannot both be set. ForceOnly []QuotaSafetyCheck `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Request message for ImportAdminOverrides
func (*ImportAdminOverridesRequest) Descriptor
deprecated
func (*ImportAdminOverridesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportAdminOverridesRequest.ProtoReflect.Descriptor instead.
func (*ImportAdminOverridesRequest) GetForce ¶
func (x *ImportAdminOverridesRequest) GetForce() bool
func (*ImportAdminOverridesRequest) GetForceOnly ¶
func (x *ImportAdminOverridesRequest) GetForceOnly() []QuotaSafetyCheck
func (*ImportAdminOverridesRequest) GetInlineSource ¶
func (x *ImportAdminOverridesRequest) GetInlineSource() *OverrideInlineSource
func (*ImportAdminOverridesRequest) GetParent ¶
func (x *ImportAdminOverridesRequest) GetParent() string
func (*ImportAdminOverridesRequest) GetSource ¶
func (m *ImportAdminOverridesRequest) GetSource() isImportAdminOverridesRequest_Source
func (*ImportAdminOverridesRequest) ProtoMessage ¶
func (*ImportAdminOverridesRequest) ProtoMessage()
func (*ImportAdminOverridesRequest) ProtoReflect ¶
func (x *ImportAdminOverridesRequest) ProtoReflect() protoreflect.Message
func (*ImportAdminOverridesRequest) Reset ¶
func (x *ImportAdminOverridesRequest) Reset()
func (*ImportAdminOverridesRequest) String ¶
func (x *ImportAdminOverridesRequest) String() string
type ImportAdminOverridesRequest_InlineSource ¶
type ImportAdminOverridesRequest_InlineSource struct { // The import data is specified in the request message itself InlineSource *OverrideInlineSource `protobuf:"bytes,2,opt,name=inline_source,json=inlineSource,proto3,oneof"` }
type ImportAdminOverridesResponse ¶
type ImportAdminOverridesResponse struct { // The overrides that were created from the imported data. Overrides []*QuotaOverride `protobuf:"bytes,1,rep,name=overrides,proto3" json:"overrides,omitempty"` // contains filtered or unexported fields }
Response message for ImportAdminOverrides
func (*ImportAdminOverridesResponse) Descriptor
deprecated
func (*ImportAdminOverridesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportAdminOverridesResponse.ProtoReflect.Descriptor instead.
func (*ImportAdminOverridesResponse) GetOverrides ¶
func (x *ImportAdminOverridesResponse) GetOverrides() []*QuotaOverride
func (*ImportAdminOverridesResponse) ProtoMessage ¶
func (*ImportAdminOverridesResponse) ProtoMessage()
func (*ImportAdminOverridesResponse) ProtoReflect ¶
func (x *ImportAdminOverridesResponse) ProtoReflect() protoreflect.Message
func (*ImportAdminOverridesResponse) Reset ¶
func (x *ImportAdminOverridesResponse) Reset()
func (*ImportAdminOverridesResponse) String ¶
func (x *ImportAdminOverridesResponse) String() string
type ImportAdminQuotaPoliciesMetadata ¶
type ImportAdminQuotaPoliciesMetadata struct {
// contains filtered or unexported fields
}
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by ImportAdminQuotaPolicies.
func (*ImportAdminQuotaPoliciesMetadata) Descriptor
deprecated
func (*ImportAdminQuotaPoliciesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportAdminQuotaPoliciesMetadata.ProtoReflect.Descriptor instead.
func (*ImportAdminQuotaPoliciesMetadata) ProtoMessage ¶
func (*ImportAdminQuotaPoliciesMetadata) ProtoMessage()
func (*ImportAdminQuotaPoliciesMetadata) ProtoReflect ¶
func (x *ImportAdminQuotaPoliciesMetadata) ProtoReflect() protoreflect.Message
func (*ImportAdminQuotaPoliciesMetadata) Reset ¶
func (x *ImportAdminQuotaPoliciesMetadata) Reset()
func (*ImportAdminQuotaPoliciesMetadata) String ¶
func (x *ImportAdminQuotaPoliciesMetadata) String() string
type ImportAdminQuotaPoliciesResponse ¶
type ImportAdminQuotaPoliciesResponse struct { // The policies that were created from the imported data. Policies []*AdminQuotaPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` // contains filtered or unexported fields }
Response message for ImportAdminQuotaPolicies
func (*ImportAdminQuotaPoliciesResponse) Descriptor
deprecated
func (*ImportAdminQuotaPoliciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportAdminQuotaPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ImportAdminQuotaPoliciesResponse) GetPolicies ¶
func (x *ImportAdminQuotaPoliciesResponse) GetPolicies() []*AdminQuotaPolicy
func (*ImportAdminQuotaPoliciesResponse) ProtoMessage ¶
func (*ImportAdminQuotaPoliciesResponse) ProtoMessage()
func (*ImportAdminQuotaPoliciesResponse) ProtoReflect ¶
func (x *ImportAdminQuotaPoliciesResponse) ProtoReflect() protoreflect.Message
func (*ImportAdminQuotaPoliciesResponse) Reset ¶
func (x *ImportAdminQuotaPoliciesResponse) Reset()
func (*ImportAdminQuotaPoliciesResponse) String ¶
func (x *ImportAdminQuotaPoliciesResponse) String() string
type ImportConsumerOverridesMetadata ¶
type ImportConsumerOverridesMetadata struct {
// contains filtered or unexported fields
}
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by ImportConsumerOverrides.
func (*ImportConsumerOverridesMetadata) Descriptor
deprecated
func (*ImportConsumerOverridesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportConsumerOverridesMetadata.ProtoReflect.Descriptor instead.
func (*ImportConsumerOverridesMetadata) ProtoMessage ¶
func (*ImportConsumerOverridesMetadata) ProtoMessage()
func (*ImportConsumerOverridesMetadata) ProtoReflect ¶
func (x *ImportConsumerOverridesMetadata) ProtoReflect() protoreflect.Message
func (*ImportConsumerOverridesMetadata) Reset ¶
func (x *ImportConsumerOverridesMetadata) Reset()
func (*ImportConsumerOverridesMetadata) String ¶
func (x *ImportConsumerOverridesMetadata) String() string
type ImportConsumerOverridesRequest ¶
type ImportConsumerOverridesRequest struct { // The resource name of the consumer. // // An example name would be: // `projects/123/services/compute.googleapis.com` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Source of import data // // Types that are assignable to Source: // // *ImportConsumerOverridesRequest_InlineSource Source isImportConsumerOverridesRequest_Source `protobuf_oneof:"source"` // Whether to force the creation of the quota overrides. // Setting the force parameter to 'true' ignores all quota safety checks that // would fail the request. QuotaSafetyCheck lists all such validations. Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` // The list of quota safety checks to ignore before the override mutation. // Unlike 'force' field that ignores all the quota safety checks, the // 'force_only' field ignores only the specified checks; other checks are // still enforced. The 'force' and 'force_only' fields cannot both be set. ForceOnly []QuotaSafetyCheck `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Request message for ImportConsumerOverrides
func (*ImportConsumerOverridesRequest) Descriptor
deprecated
func (*ImportConsumerOverridesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportConsumerOverridesRequest.ProtoReflect.Descriptor instead.
func (*ImportConsumerOverridesRequest) GetForce ¶
func (x *ImportConsumerOverridesRequest) GetForce() bool
func (*ImportConsumerOverridesRequest) GetForceOnly ¶
func (x *ImportConsumerOverridesRequest) GetForceOnly() []QuotaSafetyCheck
func (*ImportConsumerOverridesRequest) GetInlineSource ¶
func (x *ImportConsumerOverridesRequest) GetInlineSource() *OverrideInlineSource
func (*ImportConsumerOverridesRequest) GetParent ¶
func (x *ImportConsumerOverridesRequest) GetParent() string
func (*ImportConsumerOverridesRequest) GetSource ¶
func (m *ImportConsumerOverridesRequest) GetSource() isImportConsumerOverridesRequest_Source
func (*ImportConsumerOverridesRequest) ProtoMessage ¶
func (*ImportConsumerOverridesRequest) ProtoMessage()
func (*ImportConsumerOverridesRequest) ProtoReflect ¶
func (x *ImportConsumerOverridesRequest) ProtoReflect() protoreflect.Message
func (*ImportConsumerOverridesRequest) Reset ¶
func (x *ImportConsumerOverridesRequest) Reset()
func (*ImportConsumerOverridesRequest) String ¶
func (x *ImportConsumerOverridesRequest) String() string
type ImportConsumerOverridesRequest_InlineSource ¶
type ImportConsumerOverridesRequest_InlineSource struct { // The import data is specified in the request message itself InlineSource *OverrideInlineSource `protobuf:"bytes,2,opt,name=inline_source,json=inlineSource,proto3,oneof"` }
type ImportConsumerOverridesResponse ¶
type ImportConsumerOverridesResponse struct { // The overrides that were created from the imported data. Overrides []*QuotaOverride `protobuf:"bytes,1,rep,name=overrides,proto3" json:"overrides,omitempty"` // contains filtered or unexported fields }
Response message for ImportConsumerOverrides
func (*ImportConsumerOverridesResponse) Descriptor
deprecated
func (*ImportConsumerOverridesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportConsumerOverridesResponse.ProtoReflect.Descriptor instead.
func (*ImportConsumerOverridesResponse) GetOverrides ¶
func (x *ImportConsumerOverridesResponse) GetOverrides() []*QuotaOverride
func (*ImportConsumerOverridesResponse) ProtoMessage ¶
func (*ImportConsumerOverridesResponse) ProtoMessage()
func (*ImportConsumerOverridesResponse) ProtoReflect ¶
func (x *ImportConsumerOverridesResponse) ProtoReflect() protoreflect.Message
func (*ImportConsumerOverridesResponse) Reset ¶
func (x *ImportConsumerOverridesResponse) Reset()
func (*ImportConsumerOverridesResponse) String ¶
func (x *ImportConsumerOverridesResponse) String() string
type ListAdminOverridesRequest ¶
type ListAdminOverridesRequest struct { // The resource name of the parent quota limit, returned by a // ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. // // An example name would be: // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Requested size of the next page of data. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Token identifying which result to start with; returned by a previous list // call. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for ListAdminOverrides
func (*ListAdminOverridesRequest) Descriptor
deprecated
func (*ListAdminOverridesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAdminOverridesRequest.ProtoReflect.Descriptor instead.
func (*ListAdminOverridesRequest) GetPageSize ¶
func (x *ListAdminOverridesRequest) GetPageSize() int32
func (*ListAdminOverridesRequest) GetPageToken ¶
func (x *ListAdminOverridesRequest) GetPageToken() string
func (*ListAdminOverridesRequest) GetParent ¶
func (x *ListAdminOverridesRequest) GetParent() string
func (*ListAdminOverridesRequest) ProtoMessage ¶
func (*ListAdminOverridesRequest) ProtoMessage()
func (*ListAdminOverridesRequest) ProtoReflect ¶
func (x *ListAdminOverridesRequest) ProtoReflect() protoreflect.Message
func (*ListAdminOverridesRequest) Reset ¶
func (x *ListAdminOverridesRequest) Reset()
func (*ListAdminOverridesRequest) String ¶
func (x *ListAdminOverridesRequest) String() string
type ListAdminOverridesResponse ¶
type ListAdminOverridesResponse struct { // Admin overrides on this limit. Overrides []*QuotaOverride `protobuf:"bytes,1,rep,name=overrides,proto3" json:"overrides,omitempty"` // Token identifying which result to start with; returned by a previous list // call. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListAdminOverrides.
func (*ListAdminOverridesResponse) Descriptor
deprecated
func (*ListAdminOverridesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAdminOverridesResponse.ProtoReflect.Descriptor instead.
func (*ListAdminOverridesResponse) GetNextPageToken ¶
func (x *ListAdminOverridesResponse) GetNextPageToken() string
func (*ListAdminOverridesResponse) GetOverrides ¶
func (x *ListAdminOverridesResponse) GetOverrides() []*QuotaOverride
func (*ListAdminOverridesResponse) ProtoMessage ¶
func (*ListAdminOverridesResponse) ProtoMessage()
func (*ListAdminOverridesResponse) ProtoReflect ¶
func (x *ListAdminOverridesResponse) ProtoReflect() protoreflect.Message
func (*ListAdminOverridesResponse) Reset ¶
func (x *ListAdminOverridesResponse) Reset()
func (*ListAdminOverridesResponse) String ¶
func (x *ListAdminOverridesResponse) String() string
type ListConsumerOverridesRequest ¶
type ListConsumerOverridesRequest struct { // The resource name of the parent quota limit, returned by a // ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. // // An example name would be: // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Requested size of the next page of data. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Token identifying which result to start with; returned by a previous list // call. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for ListConsumerOverrides
func (*ListConsumerOverridesRequest) Descriptor
deprecated
func (*ListConsumerOverridesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConsumerOverridesRequest.ProtoReflect.Descriptor instead.
func (*ListConsumerOverridesRequest) GetPageSize ¶
func (x *ListConsumerOverridesRequest) GetPageSize() int32
func (*ListConsumerOverridesRequest) GetPageToken ¶
func (x *ListConsumerOverridesRequest) GetPageToken() string
func (*ListConsumerOverridesRequest) GetParent ¶
func (x *ListConsumerOverridesRequest) GetParent() string
func (*ListConsumerOverridesRequest) ProtoMessage ¶
func (*ListConsumerOverridesRequest) ProtoMessage()
func (*ListConsumerOverridesRequest) ProtoReflect ¶
func (x *ListConsumerOverridesRequest) ProtoReflect() protoreflect.Message
func (*ListConsumerOverridesRequest) Reset ¶
func (x *ListConsumerOverridesRequest) Reset()
func (*ListConsumerOverridesRequest) String ¶
func (x *ListConsumerOverridesRequest) String() string
type ListConsumerOverridesResponse ¶
type ListConsumerOverridesResponse struct { // Consumer overrides on this limit. Overrides []*QuotaOverride `protobuf:"bytes,1,rep,name=overrides,proto3" json:"overrides,omitempty"` // Token identifying which result to start with; returned by a previous list // call. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListConsumerOverrides.
func (*ListConsumerOverridesResponse) Descriptor
deprecated
func (*ListConsumerOverridesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConsumerOverridesResponse.ProtoReflect.Descriptor instead.
func (*ListConsumerOverridesResponse) GetNextPageToken ¶
func (x *ListConsumerOverridesResponse) GetNextPageToken() string
func (*ListConsumerOverridesResponse) GetOverrides ¶
func (x *ListConsumerOverridesResponse) GetOverrides() []*QuotaOverride
func (*ListConsumerOverridesResponse) ProtoMessage ¶
func (*ListConsumerOverridesResponse) ProtoMessage()
func (*ListConsumerOverridesResponse) ProtoReflect ¶
func (x *ListConsumerOverridesResponse) ProtoReflect() protoreflect.Message
func (*ListConsumerOverridesResponse) Reset ¶
func (x *ListConsumerOverridesResponse) Reset()
func (*ListConsumerOverridesResponse) String ¶
func (x *ListConsumerOverridesResponse) String() string
type ListConsumerQuotaMetricsRequest ¶
type ListConsumerQuotaMetricsRequest struct { // Parent of the quotas resource. // // Some example names would be: // `projects/123/services/serviceconsumermanagement.googleapis.com` // `folders/345/services/serviceconsumermanagement.googleapis.com` // `organizations/456/services/serviceconsumermanagement.googleapis.com` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Requested size of the next page of data. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Token identifying which result to start with; returned by a previous list // call. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Specifies the level of detail for quota information in the response. View QuotaView `protobuf:"varint,4,opt,name=view,proto3,enum=mockgcp.api.serviceusage.v1beta1.QuotaView" json:"view,omitempty"` // contains filtered or unexported fields }
Request message for ListConsumerQuotaMetrics
func (*ListConsumerQuotaMetricsRequest) Descriptor
deprecated
func (*ListConsumerQuotaMetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConsumerQuotaMetricsRequest.ProtoReflect.Descriptor instead.
func (*ListConsumerQuotaMetricsRequest) GetPageSize ¶
func (x *ListConsumerQuotaMetricsRequest) GetPageSize() int32
func (*ListConsumerQuotaMetricsRequest) GetPageToken ¶
func (x *ListConsumerQuotaMetricsRequest) GetPageToken() string
func (*ListConsumerQuotaMetricsRequest) GetParent ¶
func (x *ListConsumerQuotaMetricsRequest) GetParent() string
func (*ListConsumerQuotaMetricsRequest) GetView ¶
func (x *ListConsumerQuotaMetricsRequest) GetView() QuotaView
func (*ListConsumerQuotaMetricsRequest) ProtoMessage ¶
func (*ListConsumerQuotaMetricsRequest) ProtoMessage()
func (*ListConsumerQuotaMetricsRequest) ProtoReflect ¶
func (x *ListConsumerQuotaMetricsRequest) ProtoReflect() protoreflect.Message
func (*ListConsumerQuotaMetricsRequest) Reset ¶
func (x *ListConsumerQuotaMetricsRequest) Reset()
func (*ListConsumerQuotaMetricsRequest) String ¶
func (x *ListConsumerQuotaMetricsRequest) String() string
type ListConsumerQuotaMetricsResponse ¶
type ListConsumerQuotaMetricsResponse struct { // Quota settings for the consumer, organized by quota metric. Metrics []*ConsumerQuotaMetric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` // Token identifying which result to start with; returned by a previous list // call. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListConsumerQuotaMetrics
func (*ListConsumerQuotaMetricsResponse) Descriptor
deprecated
func (*ListConsumerQuotaMetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConsumerQuotaMetricsResponse.ProtoReflect.Descriptor instead.
func (*ListConsumerQuotaMetricsResponse) GetMetrics ¶
func (x *ListConsumerQuotaMetricsResponse) GetMetrics() []*ConsumerQuotaMetric
func (*ListConsumerQuotaMetricsResponse) GetNextPageToken ¶
func (x *ListConsumerQuotaMetricsResponse) GetNextPageToken() string
func (*ListConsumerQuotaMetricsResponse) ProtoMessage ¶
func (*ListConsumerQuotaMetricsResponse) ProtoMessage()
func (*ListConsumerQuotaMetricsResponse) ProtoReflect ¶
func (x *ListConsumerQuotaMetricsResponse) ProtoReflect() protoreflect.Message
func (*ListConsumerQuotaMetricsResponse) Reset ¶
func (x *ListConsumerQuotaMetricsResponse) Reset()
func (*ListConsumerQuotaMetricsResponse) String ¶
func (x *ListConsumerQuotaMetricsResponse) String() string
type ListServicesRequest ¶
type ListServicesRequest struct { // Parent to search for services on. // // An example name would be: // `projects/123` // where `123` is the project number (not project ID). Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Requested size of the next page of data. // Requested page size cannot exceed 200. // // If not set, the default page size is 50. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Token identifying which result to start with, which is returned by a // previous list call. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Only list services that conform to the given filter. // The allowed filter strings are `state:ENABLED` and `state:DISABLED`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Request message for the `ListServices` method.
func (*ListServicesRequest) Descriptor
deprecated
func (*ListServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.
func (*ListServicesRequest) GetFilter ¶
func (x *ListServicesRequest) GetFilter() string
func (*ListServicesRequest) GetPageSize ¶
func (x *ListServicesRequest) GetPageSize() int32
func (*ListServicesRequest) GetPageToken ¶
func (x *ListServicesRequest) GetPageToken() string
func (*ListServicesRequest) GetParent ¶
func (x *ListServicesRequest) GetParent() string
func (*ListServicesRequest) ProtoMessage ¶
func (*ListServicesRequest) ProtoMessage()
func (*ListServicesRequest) ProtoReflect ¶
func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
func (*ListServicesRequest) Reset ¶
func (x *ListServicesRequest) Reset()
func (*ListServicesRequest) String ¶
func (x *ListServicesRequest) String() string
type ListServicesResponse ¶
type ListServicesResponse struct { // The available services for the requested project. Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` // Token that can be passed to `ListServices` to resume a paginated // query. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for the `ListServices` method.
func (*ListServicesResponse) Descriptor
deprecated
func (*ListServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.
func (*ListServicesResponse) GetNextPageToken ¶
func (x *ListServicesResponse) GetNextPageToken() string
func (*ListServicesResponse) GetServices ¶
func (x *ListServicesResponse) GetServices() []*Service
func (*ListServicesResponse) ProtoMessage ¶
func (*ListServicesResponse) ProtoMessage()
func (*ListServicesResponse) ProtoReflect ¶
func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
func (*ListServicesResponse) Reset ¶
func (x *ListServicesResponse) Reset()
func (*ListServicesResponse) String ¶
func (x *ListServicesResponse) String() string
type OperationMetadata ¶
type OperationMetadata struct { // The full name of the resources that this operation is directly // associated with. ResourceNames []string `protobuf:"bytes,2,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"` // contains filtered or unexported fields }
The operation metadata returned for the batchend services operation.
func (*OperationMetadata) Descriptor
deprecated
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetResourceNames ¶
func (x *OperationMetadata) GetResourceNames() []string
func (*OperationMetadata) ProtoMessage ¶
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect ¶
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset ¶
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String ¶
func (x *OperationMetadata) String() string
type OverrideInlineSource ¶
type OverrideInlineSource struct { // The overrides to create. // Each override must have a value for 'metric' and 'unit', to specify // which metric and which limit the override should be applied to. // The 'name' field of the override does not need to be set; it is ignored. Overrides []*QuotaOverride `protobuf:"bytes,1,rep,name=overrides,proto3" json:"overrides,omitempty"` // contains filtered or unexported fields }
Import data embedded in the request message
func (*OverrideInlineSource) Descriptor
deprecated
func (*OverrideInlineSource) Descriptor() ([]byte, []int)
Deprecated: Use OverrideInlineSource.ProtoReflect.Descriptor instead.
func (*OverrideInlineSource) GetOverrides ¶
func (x *OverrideInlineSource) GetOverrides() []*QuotaOverride
func (*OverrideInlineSource) ProtoMessage ¶
func (*OverrideInlineSource) ProtoMessage()
func (*OverrideInlineSource) ProtoReflect ¶
func (x *OverrideInlineSource) ProtoReflect() protoreflect.Message
func (*OverrideInlineSource) Reset ¶
func (x *OverrideInlineSource) Reset()
func (*OverrideInlineSource) String ¶
func (x *OverrideInlineSource) String() string
type ProducerQuotaPolicy ¶
type ProducerQuotaPolicy struct { // The resource name of the policy. // This name is generated by the server when the policy is created. // // Example names would be: // `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerQuotaPolicies/4a3f2c1d` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The quota policy value. // Can be any nonnegative integer, or -1 (unlimited quota). PolicyValue int64 `protobuf:"varint,2,opt,name=policy_value,json=policyValue,proto3" json:"policy_value,omitempty"` // If this map is nonempty, then this policy applies only to specific values // for dimensions defined in the limit unit. // // For example, a policy on a limit with the unit `1/{project}/{region}` // could contain an entry with the key `region` and the value `us-east-1`; // the policy is only applied to quota consumed in that region. // // This map has the following restrictions: // // - Keys that are not defined in the limit's unit are not valid keys. // Any string appearing in {brackets} in the unit (besides {project} or // {user}) is a defined key. // - `project` is not a valid key; the project is already specified in // the parent resource name. // - `user` is not a valid key; the API does not support quota policies // that apply only to a specific user. // - If `region` appears as a key, its value must be a valid Cloud region. // - If `zone` appears as a key, its value must be a valid Cloud zone. // - If any valid key other than `region` or `zone` appears in the map, then // all valid keys other than `region` or `zone` must also appear in the // map. Dimensions map[string]string `` /* 161-byte string literal not displayed */ // The name of the metric to which this policy applies. // // An example name would be: // `compute.googleapis.com/cpus` Metric string `protobuf:"bytes,4,opt,name=metric,proto3" json:"metric,omitempty"` // The limit unit of the limit to which this policy applies. // // An example unit would be: // `1/{project}/{region}` // Note that `{project}` and `{region}` are not placeholders in this example; // the literal characters `{` and `}` occur in the string. Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"` // The cloud resource container at which the quota policy is created. The // format is `{container_type}/{container_number}` Container string `protobuf:"bytes,6,opt,name=container,proto3" json:"container,omitempty"` // contains filtered or unexported fields }
Quota policy created by service producer.
func (*ProducerQuotaPolicy) Descriptor
deprecated
func (*ProducerQuotaPolicy) Descriptor() ([]byte, []int)
Deprecated: Use ProducerQuotaPolicy.ProtoReflect.Descriptor instead.
func (*ProducerQuotaPolicy) GetContainer ¶
func (x *ProducerQuotaPolicy) GetContainer() string
func (*ProducerQuotaPolicy) GetDimensions ¶
func (x *ProducerQuotaPolicy) GetDimensions() map[string]string
func (*ProducerQuotaPolicy) GetMetric ¶
func (x *ProducerQuotaPolicy) GetMetric() string
func (*ProducerQuotaPolicy) GetName ¶
func (x *ProducerQuotaPolicy) GetName() string
func (*ProducerQuotaPolicy) GetPolicyValue ¶
func (x *ProducerQuotaPolicy) GetPolicyValue() int64
func (*ProducerQuotaPolicy) GetUnit ¶
func (x *ProducerQuotaPolicy) GetUnit() string
func (*ProducerQuotaPolicy) ProtoMessage ¶
func (*ProducerQuotaPolicy) ProtoMessage()
func (*ProducerQuotaPolicy) ProtoReflect ¶
func (x *ProducerQuotaPolicy) ProtoReflect() protoreflect.Message
func (*ProducerQuotaPolicy) Reset ¶
func (x *ProducerQuotaPolicy) Reset()
func (*ProducerQuotaPolicy) String ¶
func (x *ProducerQuotaPolicy) String() string
type QuotaBucket ¶
type QuotaBucket struct { // The effective limit of this quota bucket. Equal to default_limit if there // are no overrides. EffectiveLimit int64 `protobuf:"varint,1,opt,name=effective_limit,json=effectiveLimit,proto3" json:"effective_limit,omitempty"` // The default limit of this quota bucket, as specified by the service // configuration. DefaultLimit int64 `protobuf:"varint,2,opt,name=default_limit,json=defaultLimit,proto3" json:"default_limit,omitempty"` // Producer override on this quota bucket. ProducerOverride *QuotaOverride `protobuf:"bytes,3,opt,name=producer_override,json=producerOverride,proto3" json:"producer_override,omitempty"` // Consumer override on this quota bucket. ConsumerOverride *QuotaOverride `protobuf:"bytes,4,opt,name=consumer_override,json=consumerOverride,proto3" json:"consumer_override,omitempty"` // Admin override on this quota bucket. AdminOverride *QuotaOverride `protobuf:"bytes,5,opt,name=admin_override,json=adminOverride,proto3" json:"admin_override,omitempty"` // Producer policy inherited from the closet ancestor of the current consumer. ProducerQuotaPolicy *ProducerQuotaPolicy `protobuf:"bytes,7,opt,name=producer_quota_policy,json=producerQuotaPolicy,proto3" json:"producer_quota_policy,omitempty"` // The dimensions of this quota bucket. // // If this map is empty, this is the global bucket, which is the default quota // value applied to all requests that do not have a more specific override. // // If this map is nonempty, the default limit, effective limit, and quota // overrides apply only to requests that have the dimensions given in the map. // // For example, if the map has key `region` and value `us-east-1`, then the // specified effective limit is only effective in that region, and the // specified overrides apply only in that region. Dimensions map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
A quota bucket is a quota provisioning unit for a specific set of dimensions.
func (*QuotaBucket) Descriptor
deprecated
func (*QuotaBucket) Descriptor() ([]byte, []int)
Deprecated: Use QuotaBucket.ProtoReflect.Descriptor instead.
func (*QuotaBucket) GetAdminOverride ¶
func (x *QuotaBucket) GetAdminOverride() *QuotaOverride
func (*QuotaBucket) GetConsumerOverride ¶
func (x *QuotaBucket) GetConsumerOverride() *QuotaOverride
func (*QuotaBucket) GetDefaultLimit ¶
func (x *QuotaBucket) GetDefaultLimit() int64
func (*QuotaBucket) GetDimensions ¶
func (x *QuotaBucket) GetDimensions() map[string]string
func (*QuotaBucket) GetEffectiveLimit ¶
func (x *QuotaBucket) GetEffectiveLimit() int64
func (*QuotaBucket) GetProducerOverride ¶
func (x *QuotaBucket) GetProducerOverride() *QuotaOverride
func (*QuotaBucket) GetProducerQuotaPolicy ¶
func (x *QuotaBucket) GetProducerQuotaPolicy() *ProducerQuotaPolicy
func (*QuotaBucket) ProtoMessage ¶
func (*QuotaBucket) ProtoMessage()
func (*QuotaBucket) ProtoReflect ¶
func (x *QuotaBucket) ProtoReflect() protoreflect.Message
func (*QuotaBucket) Reset ¶
func (x *QuotaBucket) Reset()
func (*QuotaBucket) String ¶
func (x *QuotaBucket) String() string
type QuotaOverride ¶
type QuotaOverride struct { // The resource name of the override. // This name is generated by the server when the override is created. // // Example names would be: // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` // // The resource name is intended to be opaque and should not be parsed for // its component strings, since its representation could change in the future. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The overriding quota limit value. // Can be any nonnegative integer, or -1 (unlimited quota). OverrideValue int64 `protobuf:"varint,2,opt,name=override_value,json=overrideValue,proto3" json:"override_value,omitempty"` // If this map is nonempty, then this override applies only to specific values // for dimensions defined in the limit unit. // // For example, an override on a limit with the unit `1/{project}/{region}` // could contain an entry with the key `region` and the value `us-east-1`; // the override is only applied to quota consumed in that region. // // This map has the following restrictions: // // - Keys that are not defined in the limit's unit are not valid keys. // Any string appearing in `{brackets}` in the unit (besides `{project}` // or // `{user}`) is a defined key. // - `project` is not a valid key; the project is already specified in // the parent resource name. // - `user` is not a valid key; the API does not support quota overrides // that apply only to a specific user. // - If `region` appears as a key, its value must be a valid Cloud region. // - If `zone` appears as a key, its value must be a valid Cloud zone. // - If any valid key other than `region` or `zone` appears in the map, then // all valid keys other than `region` or `zone` must also appear in the // map. Dimensions map[string]string `` /* 161-byte string literal not displayed */ // The name of the metric to which this override applies. // // An example name would be: // `compute.googleapis.com/cpus` Metric string `protobuf:"bytes,4,opt,name=metric,proto3" json:"metric,omitempty"` // The limit unit of the limit to which this override applies. // // An example unit would be: // `1/{project}/{region}` // Note that `{project}` and `{region}` are not placeholders in this example; // the literal characters `{` and `}` occur in the string. Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"` // The resource name of the ancestor that requested the override. For example: // `organizations/12345` or `folders/67890`. // Used by admin overrides only. AdminOverrideAncestor string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
A quota override
func (*QuotaOverride) Descriptor
deprecated
func (*QuotaOverride) Descriptor() ([]byte, []int)
Deprecated: Use QuotaOverride.ProtoReflect.Descriptor instead.
func (*QuotaOverride) GetAdminOverrideAncestor ¶
func (x *QuotaOverride) GetAdminOverrideAncestor() string
func (*QuotaOverride) GetDimensions ¶
func (x *QuotaOverride) GetDimensions() map[string]string
func (*QuotaOverride) GetMetric ¶
func (x *QuotaOverride) GetMetric() string
func (*QuotaOverride) GetName ¶
func (x *QuotaOverride) GetName() string
func (*QuotaOverride) GetOverrideValue ¶
func (x *QuotaOverride) GetOverrideValue() int64
func (*QuotaOverride) GetUnit ¶
func (x *QuotaOverride) GetUnit() string
func (*QuotaOverride) ProtoMessage ¶
func (*QuotaOverride) ProtoMessage()
func (*QuotaOverride) ProtoReflect ¶
func (x *QuotaOverride) ProtoReflect() protoreflect.Message
func (*QuotaOverride) Reset ¶
func (x *QuotaOverride) Reset()
func (*QuotaOverride) String ¶
func (x *QuotaOverride) String() string
type QuotaSafetyCheck ¶
type QuotaSafetyCheck int32
Enumerations of quota safety checks.
const ( // Unspecified quota safety check. QuotaSafetyCheck_QUOTA_SAFETY_CHECK_UNSPECIFIED QuotaSafetyCheck = 0 // Validates that a quota mutation would not cause the consumer's effective // limit to be lower than the consumer's quota usage. QuotaSafetyCheck_LIMIT_DECREASE_BELOW_USAGE QuotaSafetyCheck = 1 // Validates that a quota mutation would not cause the consumer's effective // limit to decrease by more than 10 percent. QuotaSafetyCheck_LIMIT_DECREASE_PERCENTAGE_TOO_HIGH QuotaSafetyCheck = 2 )
func (QuotaSafetyCheck) Descriptor ¶
func (QuotaSafetyCheck) Descriptor() protoreflect.EnumDescriptor
func (QuotaSafetyCheck) Enum ¶
func (x QuotaSafetyCheck) Enum() *QuotaSafetyCheck
func (QuotaSafetyCheck) EnumDescriptor
deprecated
func (QuotaSafetyCheck) EnumDescriptor() ([]byte, []int)
Deprecated: Use QuotaSafetyCheck.Descriptor instead.
func (QuotaSafetyCheck) Number ¶
func (x QuotaSafetyCheck) Number() protoreflect.EnumNumber
func (QuotaSafetyCheck) String ¶
func (x QuotaSafetyCheck) String() string
func (QuotaSafetyCheck) Type ¶
func (QuotaSafetyCheck) Type() protoreflect.EnumType
type QuotaView ¶
type QuotaView int32
Selected view of quota. Can be used to request more detailed quota information when retrieving quota metrics and limits.
const ( // No quota view specified. Requests that do not specify a quota view will // typically default to the BASIC view. QuotaView_QUOTA_VIEW_UNSPECIFIED QuotaView = 0 // Only buckets with overrides are shown in the response. QuotaView_BASIC QuotaView = 1 // Include per-location buckets even if they do not have overrides. // When the view is FULL, and a limit has regional or zonal quota, the limit // will include buckets for all regions or zones that could support // overrides, even if none are currently present. In some cases this will // cause the response to become very large; callers that do not need this // extra information should use the BASIC view instead. QuotaView_FULL QuotaView = 2 )
func (QuotaView) Descriptor ¶
func (QuotaView) Descriptor() protoreflect.EnumDescriptor
func (QuotaView) EnumDescriptor
deprecated
func (QuotaView) Number ¶
func (x QuotaView) Number() protoreflect.EnumNumber
func (QuotaView) Type ¶
func (QuotaView) Type() protoreflect.EnumType
type Service ¶
type Service struct { // The resource name of the consumer and service. // // A valid name would be: // - `projects/123/services/serviceusage.googleapis.com` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The resource name of the consumer. // // A valid name would be: // - `projects/123` Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` // The service configuration of the available service. // Some fields may be filtered out of the configuration in responses to // the `ListServices` method. These fields are present only in responses to // the `GetService` method. Config *ServiceConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // Whether or not the service has been enabled for use by the consumer. State State `protobuf:"varint,4,opt,name=state,proto3,enum=mockgcp.api.serviceusage.v1beta1.State" json:"state,omitempty"` // contains filtered or unexported fields }
A service that is available for use by the consumer.
func (*Service) Descriptor
deprecated
func (*Service) GetConfig ¶
func (x *Service) GetConfig() *ServiceConfig
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type ServiceConfig ¶
type ServiceConfig struct { // The DNS address at which this service is available. // // An example DNS address would be: // `calendar.googleapis.com`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The product title for this service. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // A list of API interfaces exported by this service. Contains only the names, // versions, and method names of the interfaces. Apis []*api.Api `protobuf:"bytes,3,rep,name=apis,proto3" json:"apis,omitempty"` // Additional API documentation. Contains only the summary and the // documentation URL. Documentation *serviceconfig.Documentation `protobuf:"bytes,6,opt,name=documentation,proto3" json:"documentation,omitempty"` // Quota configuration. Quota *serviceconfig.Quota `protobuf:"bytes,10,opt,name=quota,proto3" json:"quota,omitempty"` // Auth configuration. Contains only the OAuth rules. Authentication *serviceconfig.Authentication `protobuf:"bytes,11,opt,name=authentication,proto3" json:"authentication,omitempty"` // Configuration controlling usage of this service. Usage *serviceconfig.Usage `protobuf:"bytes,15,opt,name=usage,proto3" json:"usage,omitempty"` // Configuration for network endpoints. Contains only the names and aliases // of the endpoints. Endpoints []*serviceconfig.Endpoint `protobuf:"bytes,18,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // Defines the monitored resources used by this service. This is required // by the [Service.monitoring][google.api.Service.monitoring] and // [Service.logging][google.api.Service.logging] configurations. MonitoredResources []*monitoredres.MonitoredResourceDescriptor `protobuf:"bytes,25,rep,name=monitored_resources,json=monitoredResources,proto3" json:"monitored_resources,omitempty"` // Monitoring configuration. // This should not include the 'producer_destinations' field. Monitoring *serviceconfig.Monitoring `protobuf:"bytes,28,opt,name=monitoring,proto3" json:"monitoring,omitempty"` // contains filtered or unexported fields }
The configuration of the service.
func (*ServiceConfig) Descriptor
deprecated
func (*ServiceConfig) Descriptor() ([]byte, []int)
Deprecated: Use ServiceConfig.ProtoReflect.Descriptor instead.
func (*ServiceConfig) GetApis ¶
func (x *ServiceConfig) GetApis() []*api.Api
func (*ServiceConfig) GetAuthentication ¶
func (x *ServiceConfig) GetAuthentication() *serviceconfig.Authentication
func (*ServiceConfig) GetDocumentation ¶
func (x *ServiceConfig) GetDocumentation() *serviceconfig.Documentation
func (*ServiceConfig) GetEndpoints ¶
func (x *ServiceConfig) GetEndpoints() []*serviceconfig.Endpoint
func (*ServiceConfig) GetMonitoredResources ¶
func (x *ServiceConfig) GetMonitoredResources() []*monitoredres.MonitoredResourceDescriptor
func (*ServiceConfig) GetMonitoring ¶
func (x *ServiceConfig) GetMonitoring() *serviceconfig.Monitoring
func (*ServiceConfig) GetName ¶
func (x *ServiceConfig) GetName() string
func (*ServiceConfig) GetQuota ¶
func (x *ServiceConfig) GetQuota() *serviceconfig.Quota
func (*ServiceConfig) GetTitle ¶
func (x *ServiceConfig) GetTitle() string
func (*ServiceConfig) GetUsage ¶
func (x *ServiceConfig) GetUsage() *serviceconfig.Usage
func (*ServiceConfig) ProtoMessage ¶
func (*ServiceConfig) ProtoMessage()
func (*ServiceConfig) ProtoReflect ¶
func (x *ServiceConfig) ProtoReflect() protoreflect.Message
func (*ServiceConfig) Reset ¶
func (x *ServiceConfig) Reset()
func (*ServiceConfig) String ¶
func (x *ServiceConfig) String() string
type ServiceIdentity ¶
type ServiceIdentity struct { // The email address of the service account that a service producer would use // to access consumer resources. Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // The unique and stable id of the service account. // https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#ServiceAccount UniqueId string `protobuf:"bytes,2,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"` // contains filtered or unexported fields }
Service identity for a service. This is the identity that service producer should use to access consumer resources.
func (*ServiceIdentity) Descriptor
deprecated
func (*ServiceIdentity) Descriptor() ([]byte, []int)
Deprecated: Use ServiceIdentity.ProtoReflect.Descriptor instead.
func (*ServiceIdentity) GetEmail ¶
func (x *ServiceIdentity) GetEmail() string
func (*ServiceIdentity) GetUniqueId ¶
func (x *ServiceIdentity) GetUniqueId() string
func (*ServiceIdentity) ProtoMessage ¶
func (*ServiceIdentity) ProtoMessage()
func (*ServiceIdentity) ProtoReflect ¶
func (x *ServiceIdentity) ProtoReflect() protoreflect.Message
func (*ServiceIdentity) Reset ¶
func (x *ServiceIdentity) Reset()
func (*ServiceIdentity) String ¶
func (x *ServiceIdentity) String() string
type ServiceUsageClient ¶
type ServiceUsageClient interface { // Deprecated: Do not use. // Enables a service so that it can be used with a project. // // Operation response type: `google.protobuf.Empty` EnableService(ctx context.Context, in *EnableServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deprecated: Do not use. // 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` DisableService(ctx context.Context, in *DisableServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deprecated: Do not use. // Returns the service configuration and enabled state for a given service. GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error) // Deprecated: Do not use. // 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. ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) // Deprecated: Do not use. // 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` BatchEnableServices(ctx context.Context, in *BatchEnableServicesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // 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. ListConsumerQuotaMetrics(ctx context.Context, in *ListConsumerQuotaMetricsRequest, opts ...grpc.CallOption) (*ListConsumerQuotaMetricsResponse, error) // Retrieves a summary of quota information for a specific quota metric GetConsumerQuotaMetric(ctx context.Context, in *GetConsumerQuotaMetricRequest, opts ...grpc.CallOption) (*ConsumerQuotaMetric, error) // Retrieves a summary of quota information for a specific quota limit. GetConsumerQuotaLimit(ctx context.Context, in *GetConsumerQuotaLimitRequest, opts ...grpc.CallOption) (*ConsumerQuotaLimit, error) // 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. CreateAdminOverride(ctx context.Context, in *CreateAdminOverrideRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Updates an admin override. UpdateAdminOverride(ctx context.Context, in *UpdateAdminOverrideRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes an admin override. DeleteAdminOverride(ctx context.Context, in *DeleteAdminOverrideRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists all admin overrides on this limit. ListAdminOverrides(ctx context.Context, in *ListAdminOverridesRequest, opts ...grpc.CallOption) (*ListAdminOverridesResponse, error) // 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. ImportAdminOverrides(ctx context.Context, in *ImportAdminOverridesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // 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. CreateConsumerOverride(ctx context.Context, in *CreateConsumerOverrideRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Updates a consumer override. UpdateConsumerOverride(ctx context.Context, in *UpdateConsumerOverrideRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes a consumer override. DeleteConsumerOverride(ctx context.Context, in *DeleteConsumerOverrideRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists all consumer overrides on this limit. ListConsumerOverrides(ctx context.Context, in *ListConsumerOverridesRequest, opts ...grpc.CallOption) (*ListConsumerOverridesResponse, error) // 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. ImportConsumerOverrides(ctx context.Context, in *ImportConsumerOverridesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Generates service identity for service. GenerateServiceIdentity(ctx context.Context, in *GenerateServiceIdentityRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) }
ServiceUsageClient is the client API for ServiceUsage service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewServiceUsageClient ¶
func NewServiceUsageClient(cc grpc.ClientConnInterface) ServiceUsageClient
type ServiceUsageServer ¶
type ServiceUsageServer interface { // Deprecated: Do not use. // Enables a service so that it can be used with a project. // // Operation response type: `google.protobuf.Empty` EnableService(context.Context, *EnableServiceRequest) (*longrunningpb.Operation, error) // Deprecated: Do not use. // 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` DisableService(context.Context, *DisableServiceRequest) (*longrunningpb.Operation, error) // Deprecated: Do not use. // Returns the service configuration and enabled state for a given service. GetService(context.Context, *GetServiceRequest) (*Service, error) // Deprecated: Do not use. // 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. ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error) // Deprecated: Do not use. // 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` BatchEnableServices(context.Context, *BatchEnableServicesRequest) (*longrunningpb.Operation, error) // 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. ListConsumerQuotaMetrics(context.Context, *ListConsumerQuotaMetricsRequest) (*ListConsumerQuotaMetricsResponse, error) // Retrieves a summary of quota information for a specific quota metric GetConsumerQuotaMetric(context.Context, *GetConsumerQuotaMetricRequest) (*ConsumerQuotaMetric, error) // Retrieves a summary of quota information for a specific quota limit. GetConsumerQuotaLimit(context.Context, *GetConsumerQuotaLimitRequest) (*ConsumerQuotaLimit, error) // 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. CreateAdminOverride(context.Context, *CreateAdminOverrideRequest) (*longrunningpb.Operation, error) // Updates an admin override. UpdateAdminOverride(context.Context, *UpdateAdminOverrideRequest) (*longrunningpb.Operation, error) // Deletes an admin override. DeleteAdminOverride(context.Context, *DeleteAdminOverrideRequest) (*longrunningpb.Operation, error) // Lists all admin overrides on this limit. ListAdminOverrides(context.Context, *ListAdminOverridesRequest) (*ListAdminOverridesResponse, error) // 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. ImportAdminOverrides(context.Context, *ImportAdminOverridesRequest) (*longrunningpb.Operation, error) // 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. CreateConsumerOverride(context.Context, *CreateConsumerOverrideRequest) (*longrunningpb.Operation, error) // Updates a consumer override. UpdateConsumerOverride(context.Context, *UpdateConsumerOverrideRequest) (*longrunningpb.Operation, error) // Deletes a consumer override. DeleteConsumerOverride(context.Context, *DeleteConsumerOverrideRequest) (*longrunningpb.Operation, error) // Lists all consumer overrides on this limit. ListConsumerOverrides(context.Context, *ListConsumerOverridesRequest) (*ListConsumerOverridesResponse, error) // 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. ImportConsumerOverrides(context.Context, *ImportConsumerOverridesRequest) (*longrunningpb.Operation, error) // Generates service identity for service. GenerateServiceIdentity(context.Context, *GenerateServiceIdentityRequest) (*longrunningpb.Operation, error) // contains filtered or unexported methods }
ServiceUsageServer is the server API for ServiceUsage service. All implementations must embed UnimplementedServiceUsageServer for forward compatibility
type State ¶
type State int32
Whether or not a service has been enabled for use by a consumer.
const ( // The default value, which indicates that the enabled state of the service // is unspecified or not meaningful. Currently, all consumers other than // projects (such as folders and organizations) are always in this state. State_STATE_UNSPECIFIED State = 0 // The service cannot be used by this consumer. It has either been explicitly // disabled, or has never been enabled. State_DISABLED State = 1 // The service has been explicitly enabled for use by this consumer. State_ENABLED State = 2 )
func (State) Descriptor ¶
func (State) Descriptor() protoreflect.EnumDescriptor
func (State) EnumDescriptor
deprecated
func (State) Number ¶
func (x State) Number() protoreflect.EnumNumber
func (State) Type ¶
func (State) Type() protoreflect.EnumType
type UnimplementedServiceUsageServer ¶
type UnimplementedServiceUsageServer struct { }
UnimplementedServiceUsageServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceUsageServer) BatchEnableServices ¶
func (UnimplementedServiceUsageServer) BatchEnableServices(context.Context, *BatchEnableServicesRequest) (*longrunningpb.Operation, error)
func (UnimplementedServiceUsageServer) CreateAdminOverride ¶
func (UnimplementedServiceUsageServer) CreateAdminOverride(context.Context, *CreateAdminOverrideRequest) (*longrunningpb.Operation, error)
func (UnimplementedServiceUsageServer) CreateConsumerOverride ¶
func (UnimplementedServiceUsageServer) CreateConsumerOverride(context.Context, *CreateConsumerOverrideRequest) (*longrunningpb.Operation, error)
func (UnimplementedServiceUsageServer) DeleteAdminOverride ¶
func (UnimplementedServiceUsageServer) DeleteAdminOverride(context.Context, *DeleteAdminOverrideRequest) (*longrunningpb.Operation, error)
func (UnimplementedServiceUsageServer) DeleteConsumerOverride ¶
func (UnimplementedServiceUsageServer) DeleteConsumerOverride(context.Context, *DeleteConsumerOverrideRequest) (*longrunningpb.Operation, error)
func (UnimplementedServiceUsageServer) DisableService ¶
func (UnimplementedServiceUsageServer) DisableService(context.Context, *DisableServiceRequest) (*longrunningpb.Operation, error)
func (UnimplementedServiceUsageServer) EnableService ¶
func (UnimplementedServiceUsageServer) EnableService(context.Context, *EnableServiceRequest) (*longrunningpb.Operation, error)
func (UnimplementedServiceUsageServer) GenerateServiceIdentity ¶
func (UnimplementedServiceUsageServer) GenerateServiceIdentity(context.Context, *GenerateServiceIdentityRequest) (*longrunningpb.Operation, error)
func (UnimplementedServiceUsageServer) GetConsumerQuotaLimit ¶
func (UnimplementedServiceUsageServer) GetConsumerQuotaLimit(context.Context, *GetConsumerQuotaLimitRequest) (*ConsumerQuotaLimit, error)
func (UnimplementedServiceUsageServer) GetConsumerQuotaMetric ¶
func (UnimplementedServiceUsageServer) GetConsumerQuotaMetric(context.Context, *GetConsumerQuotaMetricRequest) (*ConsumerQuotaMetric, error)
func (UnimplementedServiceUsageServer) GetService ¶
func (UnimplementedServiceUsageServer) GetService(context.Context, *GetServiceRequest) (*Service, error)
func (UnimplementedServiceUsageServer) ImportAdminOverrides ¶
func (UnimplementedServiceUsageServer) ImportAdminOverrides(context.Context, *ImportAdminOverridesRequest) (*longrunningpb.Operation, error)
func (UnimplementedServiceUsageServer) ImportConsumerOverrides ¶
func (UnimplementedServiceUsageServer) ImportConsumerOverrides(context.Context, *ImportConsumerOverridesRequest) (*longrunningpb.Operation, error)
func (UnimplementedServiceUsageServer) ListAdminOverrides ¶
func (UnimplementedServiceUsageServer) ListAdminOverrides(context.Context, *ListAdminOverridesRequest) (*ListAdminOverridesResponse, error)
func (UnimplementedServiceUsageServer) ListConsumerOverrides ¶
func (UnimplementedServiceUsageServer) ListConsumerOverrides(context.Context, *ListConsumerOverridesRequest) (*ListConsumerOverridesResponse, error)
func (UnimplementedServiceUsageServer) ListConsumerQuotaMetrics ¶
func (UnimplementedServiceUsageServer) ListConsumerQuotaMetrics(context.Context, *ListConsumerQuotaMetricsRequest) (*ListConsumerQuotaMetricsResponse, error)
func (UnimplementedServiceUsageServer) ListServices ¶
func (UnimplementedServiceUsageServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
func (UnimplementedServiceUsageServer) UpdateAdminOverride ¶
func (UnimplementedServiceUsageServer) UpdateAdminOverride(context.Context, *UpdateAdminOverrideRequest) (*longrunningpb.Operation, error)
func (UnimplementedServiceUsageServer) UpdateConsumerOverride ¶
func (UnimplementedServiceUsageServer) UpdateConsumerOverride(context.Context, *UpdateConsumerOverrideRequest) (*longrunningpb.Operation, error)
type UnsafeServiceUsageServer ¶
type UnsafeServiceUsageServer interface {
// contains filtered or unexported methods
}
UnsafeServiceUsageServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceUsageServer will result in compilation errors.
type UpdateAdminOverrideRequest ¶
type UpdateAdminOverrideRequest struct { // The resource name of the override to update. // // An example name would be: // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The new override. // Only the override_value is updated; all other fields are ignored. Override *QuotaOverride `protobuf:"bytes,2,opt,name=override,proto3" json:"override,omitempty"` // Whether to force the update of the quota override. // Setting the force parameter to 'true' ignores all quota safety checks that // would fail the request. QuotaSafetyCheck lists all such validations. Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` // Update only the specified fields of the override. // If unset, all fields will be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // The list of quota safety checks to ignore before the override mutation. // Unlike 'force' field that ignores all the quota safety checks, the // 'force_only' field ignores only the specified checks; other checks are // still enforced. The 'force' and 'force_only' fields cannot both be set. ForceOnly []QuotaSafetyCheck `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Request message for UpdateAdminOverride.
func (*UpdateAdminOverrideRequest) Descriptor
deprecated
func (*UpdateAdminOverrideRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAdminOverrideRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdminOverrideRequest) GetForce ¶
func (x *UpdateAdminOverrideRequest) GetForce() bool
func (*UpdateAdminOverrideRequest) GetForceOnly ¶
func (x *UpdateAdminOverrideRequest) GetForceOnly() []QuotaSafetyCheck
func (*UpdateAdminOverrideRequest) GetName ¶
func (x *UpdateAdminOverrideRequest) GetName() string
func (*UpdateAdminOverrideRequest) GetOverride ¶
func (x *UpdateAdminOverrideRequest) GetOverride() *QuotaOverride
func (*UpdateAdminOverrideRequest) GetUpdateMask ¶
func (x *UpdateAdminOverrideRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateAdminOverrideRequest) ProtoMessage ¶
func (*UpdateAdminOverrideRequest) ProtoMessage()
func (*UpdateAdminOverrideRequest) ProtoReflect ¶
func (x *UpdateAdminOverrideRequest) ProtoReflect() protoreflect.Message
func (*UpdateAdminOverrideRequest) Reset ¶
func (x *UpdateAdminOverrideRequest) Reset()
func (*UpdateAdminOverrideRequest) String ¶
func (x *UpdateAdminOverrideRequest) String() string
type UpdateAdminQuotaPolicyMetadata ¶
type UpdateAdminQuotaPolicyMetadata struct {
// contains filtered or unexported fields
}
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by UpdateAdminQuotaPolicy.
func (*UpdateAdminQuotaPolicyMetadata) Descriptor
deprecated
func (*UpdateAdminQuotaPolicyMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAdminQuotaPolicyMetadata.ProtoReflect.Descriptor instead.
func (*UpdateAdminQuotaPolicyMetadata) ProtoMessage ¶
func (*UpdateAdminQuotaPolicyMetadata) ProtoMessage()
func (*UpdateAdminQuotaPolicyMetadata) ProtoReflect ¶
func (x *UpdateAdminQuotaPolicyMetadata) ProtoReflect() protoreflect.Message
func (*UpdateAdminQuotaPolicyMetadata) Reset ¶
func (x *UpdateAdminQuotaPolicyMetadata) Reset()
func (*UpdateAdminQuotaPolicyMetadata) String ¶
func (x *UpdateAdminQuotaPolicyMetadata) String() string
type UpdateConsumerOverrideRequest ¶
type UpdateConsumerOverrideRequest struct { // The resource name of the override to update. // // An example name would be: // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The new override. // Only the override_value is updated; all other fields are ignored. Override *QuotaOverride `protobuf:"bytes,2,opt,name=override,proto3" json:"override,omitempty"` // Whether to force the update of the quota override. // Setting the force parameter to 'true' ignores all quota safety checks that // would fail the request. QuotaSafetyCheck lists all such validations. Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` // Update only the specified fields of the override. // If unset, all fields will be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // The list of quota safety checks to ignore before the override mutation. // Unlike 'force' field that ignores all the quota safety checks, the // 'force_only' field ignores only the specified checks; other checks are // still enforced. The 'force' and 'force_only' fields cannot both be set. ForceOnly []QuotaSafetyCheck `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Request message for UpdateConsumerOverride.
func (*UpdateConsumerOverrideRequest) Descriptor
deprecated
func (*UpdateConsumerOverrideRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConsumerOverrideRequest.ProtoReflect.Descriptor instead.
func (*UpdateConsumerOverrideRequest) GetForce ¶
func (x *UpdateConsumerOverrideRequest) GetForce() bool
func (*UpdateConsumerOverrideRequest) GetForceOnly ¶
func (x *UpdateConsumerOverrideRequest) GetForceOnly() []QuotaSafetyCheck
func (*UpdateConsumerOverrideRequest) GetName ¶
func (x *UpdateConsumerOverrideRequest) GetName() string
func (*UpdateConsumerOverrideRequest) GetOverride ¶
func (x *UpdateConsumerOverrideRequest) GetOverride() *QuotaOverride
func (*UpdateConsumerOverrideRequest) GetUpdateMask ¶
func (x *UpdateConsumerOverrideRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateConsumerOverrideRequest) ProtoMessage ¶
func (*UpdateConsumerOverrideRequest) ProtoMessage()
func (*UpdateConsumerOverrideRequest) ProtoReflect ¶
func (x *UpdateConsumerOverrideRequest) ProtoReflect() protoreflect.Message
func (*UpdateConsumerOverrideRequest) Reset ¶
func (x *UpdateConsumerOverrideRequest) Reset()
func (*UpdateConsumerOverrideRequest) String ¶
func (x *UpdateConsumerOverrideRequest) String() string