Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAdvancedRateLimiterProfileServiceServer(s grpc.ServiceRegistrar, srv AdvancedRateLimiterProfileServiceServer)
- type AdvancedRateLimiterProfile
- func (*AdvancedRateLimiterProfile) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancedRateLimiterProfile) GetAdvancedRateLimiterRules() []*AdvancedRateLimiterRule
- func (x *AdvancedRateLimiterProfile) GetCloudId() string
- func (x *AdvancedRateLimiterProfile) GetCreatedAt() *timestamppb.Timestamp
- func (x *AdvancedRateLimiterProfile) GetDescription() string
- func (x *AdvancedRateLimiterProfile) GetFolderId() string
- func (x *AdvancedRateLimiterProfile) GetId() string
- func (x *AdvancedRateLimiterProfile) GetLabels() map[string]string
- func (x *AdvancedRateLimiterProfile) GetName() string
- func (*AdvancedRateLimiterProfile) ProtoMessage()
- func (x *AdvancedRateLimiterProfile) ProtoReflect() protoreflect.Message
- func (x *AdvancedRateLimiterProfile) Reset()
- func (m *AdvancedRateLimiterProfile) SetAdvancedRateLimiterRules(v []*AdvancedRateLimiterRule)
- func (m *AdvancedRateLimiterProfile) SetCloudId(v string)
- func (m *AdvancedRateLimiterProfile) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *AdvancedRateLimiterProfile) SetDescription(v string)
- func (m *AdvancedRateLimiterProfile) SetFolderId(v string)
- func (m *AdvancedRateLimiterProfile) SetId(v string)
- func (m *AdvancedRateLimiterProfile) SetLabels(v map[string]string)
- func (m *AdvancedRateLimiterProfile) SetName(v string)
- func (x *AdvancedRateLimiterProfile) String() string
- type AdvancedRateLimiterProfileServiceClient
- type AdvancedRateLimiterProfileServiceServer
- type AdvancedRateLimiterRule
- func (*AdvancedRateLimiterRule) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancedRateLimiterRule) GetDescription() string
- func (x *AdvancedRateLimiterRule) GetDryRun() bool
- func (x *AdvancedRateLimiterRule) GetDynamicQuota() *AdvancedRateLimiterRule_DynamicQuota
- func (x *AdvancedRateLimiterRule) GetName() string
- func (x *AdvancedRateLimiterRule) GetPriority() int64
- func (m *AdvancedRateLimiterRule) GetRuleSpecifier() isAdvancedRateLimiterRule_RuleSpecifier
- func (x *AdvancedRateLimiterRule) GetStaticQuota() *AdvancedRateLimiterRule_StaticQuota
- func (*AdvancedRateLimiterRule) ProtoMessage()
- func (x *AdvancedRateLimiterRule) ProtoReflect() protoreflect.Message
- func (x *AdvancedRateLimiterRule) Reset()
- func (m *AdvancedRateLimiterRule) SetDescription(v string)
- func (m *AdvancedRateLimiterRule) SetDryRun(v bool)
- func (m *AdvancedRateLimiterRule) SetDynamicQuota(v *AdvancedRateLimiterRule_DynamicQuota)
- func (m *AdvancedRateLimiterRule) SetName(v string)
- func (m *AdvancedRateLimiterRule) SetPriority(v int64)
- func (m *AdvancedRateLimiterRule) SetRuleSpecifier(v AdvancedRateLimiterRule_RuleSpecifier)
- func (m *AdvancedRateLimiterRule) SetStaticQuota(v *AdvancedRateLimiterRule_StaticQuota)
- func (x *AdvancedRateLimiterRule) String() string
- type AdvancedRateLimiterRule_Action
- func (AdvancedRateLimiterRule_Action) Descriptor() protoreflect.EnumDescriptor
- func (x AdvancedRateLimiterRule_Action) Enum() *AdvancedRateLimiterRule_Action
- func (AdvancedRateLimiterRule_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x AdvancedRateLimiterRule_Action) Number() protoreflect.EnumNumber
- func (x AdvancedRateLimiterRule_Action) String() string
- func (AdvancedRateLimiterRule_Action) Type() protoreflect.EnumType
- type AdvancedRateLimiterRule_DynamicQuota
- func (*AdvancedRateLimiterRule_DynamicQuota) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancedRateLimiterRule_DynamicQuota) GetAction() AdvancedRateLimiterRule_Action
- func (x *AdvancedRateLimiterRule_DynamicQuota) GetCharacteristics() []*AdvancedRateLimiterRule_DynamicQuota_Characteristic
- func (x *AdvancedRateLimiterRule_DynamicQuota) GetCondition() *v1.Condition
- func (x *AdvancedRateLimiterRule_DynamicQuota) GetLimit() int64
- func (x *AdvancedRateLimiterRule_DynamicQuota) GetPeriod() int64
- func (*AdvancedRateLimiterRule_DynamicQuota) ProtoMessage()
- func (x *AdvancedRateLimiterRule_DynamicQuota) ProtoReflect() protoreflect.Message
- func (x *AdvancedRateLimiterRule_DynamicQuota) Reset()
- func (m *AdvancedRateLimiterRule_DynamicQuota) SetAction(v AdvancedRateLimiterRule_Action)
- func (m *AdvancedRateLimiterRule_DynamicQuota) SetCharacteristics(v []*AdvancedRateLimiterRule_DynamicQuota_Characteristic)
- func (m *AdvancedRateLimiterRule_DynamicQuota) SetCondition(v *v1.Condition)
- func (m *AdvancedRateLimiterRule_DynamicQuota) SetLimit(v int64)
- func (m *AdvancedRateLimiterRule_DynamicQuota) SetPeriod(v int64)
- func (x *AdvancedRateLimiterRule_DynamicQuota) String() string
- type AdvancedRateLimiterRule_DynamicQuota_
- type AdvancedRateLimiterRule_DynamicQuota_Characteristic
- func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic) GetCaseInsensitive() bool
- func (m *AdvancedRateLimiterRule_DynamicQuota_Characteristic) GetCharacteristicSpecifier() isAdvancedRateLimiterRule_DynamicQuota_Characteristic_CharacteristicSpecifier
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic) GetKeyCharacteristic() *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic) GetSimpleCharacteristic() *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic
- func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) ProtoMessage()
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic) ProtoReflect() protoreflect.Message
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic) Reset()
- func (m *AdvancedRateLimiterRule_DynamicQuota_Characteristic) SetCaseInsensitive(v bool)
- func (m *AdvancedRateLimiterRule_DynamicQuota_Characteristic) SetCharacteristicSpecifier(v AdvancedRateLimiterRule_DynamicQuota_Characteristic_CharacteristicSpecifier)
- func (m *AdvancedRateLimiterRule_DynamicQuota_Characteristic) SetKeyCharacteristic(v *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic)
- func (m *AdvancedRateLimiterRule_DynamicQuota_Characteristic) SetSimpleCharacteristic(v *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic)
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic) String() string
- type AdvancedRateLimiterRule_DynamicQuota_Characteristic_CharacteristicSpecifier
- type AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic
- func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) GetType() AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) GetValue() string
- func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) ProtoMessage()
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) ProtoReflect() protoreflect.Message
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) Reset()
- func (m *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) SetType(v AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type)
- func (m *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) SetValue(v string)
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) String() string
- type AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_
- type AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type
- func (AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type) Descriptor() protoreflect.EnumDescriptor
- func (x AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type) Enum() *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type
- func (AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type) Number() protoreflect.EnumNumber
- func (x AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type) String() string
- func (AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type) Type() protoreflect.EnumType
- type AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic
- func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) GetType() AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type
- func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) ProtoMessage()
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) ProtoReflect() protoreflect.Message
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) Reset()
- func (m *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) SetType(...)
- func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) String() string
- type AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_
- type AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type
- func (AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type) Descriptor() protoreflect.EnumDescriptor
- func (x AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type) Enum() *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type
- func (AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type) Number() protoreflect.EnumNumber
- func (x AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type) String() string
- func (AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type) Type() protoreflect.EnumType
- type AdvancedRateLimiterRule_RuleSpecifier
- type AdvancedRateLimiterRule_StaticQuota
- func (*AdvancedRateLimiterRule_StaticQuota) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancedRateLimiterRule_StaticQuota) GetAction() AdvancedRateLimiterRule_Action
- func (x *AdvancedRateLimiterRule_StaticQuota) GetCondition() *v1.Condition
- func (x *AdvancedRateLimiterRule_StaticQuota) GetLimit() int64
- func (x *AdvancedRateLimiterRule_StaticQuota) GetPeriod() int64
- func (*AdvancedRateLimiterRule_StaticQuota) ProtoMessage()
- func (x *AdvancedRateLimiterRule_StaticQuota) ProtoReflect() protoreflect.Message
- func (x *AdvancedRateLimiterRule_StaticQuota) Reset()
- func (m *AdvancedRateLimiterRule_StaticQuota) SetAction(v AdvancedRateLimiterRule_Action)
- func (m *AdvancedRateLimiterRule_StaticQuota) SetCondition(v *v1.Condition)
- func (m *AdvancedRateLimiterRule_StaticQuota) SetLimit(v int64)
- func (m *AdvancedRateLimiterRule_StaticQuota) SetPeriod(v int64)
- func (x *AdvancedRateLimiterRule_StaticQuota) String() string
- type AdvancedRateLimiterRule_StaticQuota_
- type CreateAdvancedRateLimiterProfileMetadata
- func (*CreateAdvancedRateLimiterProfileMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAdvancedRateLimiterProfileMetadata) GetAdvancedRateLimiterProfileId() string
- func (*CreateAdvancedRateLimiterProfileMetadata) ProtoMessage()
- func (x *CreateAdvancedRateLimiterProfileMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateAdvancedRateLimiterProfileMetadata) Reset()
- func (m *CreateAdvancedRateLimiterProfileMetadata) SetAdvancedRateLimiterProfileId(v string)
- func (x *CreateAdvancedRateLimiterProfileMetadata) String() string
- type CreateAdvancedRateLimiterProfileRequest
- func (*CreateAdvancedRateLimiterProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterRules() []*AdvancedRateLimiterRule
- func (x *CreateAdvancedRateLimiterProfileRequest) GetDescription() string
- func (x *CreateAdvancedRateLimiterProfileRequest) GetFolderId() string
- func (x *CreateAdvancedRateLimiterProfileRequest) GetLabels() map[string]string
- func (x *CreateAdvancedRateLimiterProfileRequest) GetName() string
- func (*CreateAdvancedRateLimiterProfileRequest) ProtoMessage()
- func (x *CreateAdvancedRateLimiterProfileRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAdvancedRateLimiterProfileRequest) Reset()
- func (m *CreateAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterRules(v []*AdvancedRateLimiterRule)
- func (m *CreateAdvancedRateLimiterProfileRequest) SetDescription(v string)
- func (m *CreateAdvancedRateLimiterProfileRequest) SetFolderId(v string)
- func (m *CreateAdvancedRateLimiterProfileRequest) SetLabels(v map[string]string)
- func (m *CreateAdvancedRateLimiterProfileRequest) SetName(v string)
- func (x *CreateAdvancedRateLimiterProfileRequest) String() string
- type DeleteAdvancedRateLimiterProfileMetadata
- func (*DeleteAdvancedRateLimiterProfileMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAdvancedRateLimiterProfileMetadata) GetAdvancedRateLimiterProfileId() string
- func (*DeleteAdvancedRateLimiterProfileMetadata) ProtoMessage()
- func (x *DeleteAdvancedRateLimiterProfileMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteAdvancedRateLimiterProfileMetadata) Reset()
- func (m *DeleteAdvancedRateLimiterProfileMetadata) SetAdvancedRateLimiterProfileId(v string)
- func (x *DeleteAdvancedRateLimiterProfileMetadata) String() string
- type DeleteAdvancedRateLimiterProfileRequest
- func (*DeleteAdvancedRateLimiterProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterProfileId() string
- func (*DeleteAdvancedRateLimiterProfileRequest) ProtoMessage()
- func (x *DeleteAdvancedRateLimiterProfileRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAdvancedRateLimiterProfileRequest) Reset()
- func (m *DeleteAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterProfileId(v string)
- func (x *DeleteAdvancedRateLimiterProfileRequest) String() string
- type GetAdvancedRateLimiterProfileRequest
- func (*GetAdvancedRateLimiterProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterProfileId() string
- func (*GetAdvancedRateLimiterProfileRequest) ProtoMessage()
- func (x *GetAdvancedRateLimiterProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetAdvancedRateLimiterProfileRequest) Reset()
- func (m *GetAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterProfileId(v string)
- func (x *GetAdvancedRateLimiterProfileRequest) String() string
- type ListAdvancedRateLimiterProfilesRequest
- func (*ListAdvancedRateLimiterProfilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAdvancedRateLimiterProfilesRequest) GetFolderId() string
- func (*ListAdvancedRateLimiterProfilesRequest) ProtoMessage()
- func (x *ListAdvancedRateLimiterProfilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAdvancedRateLimiterProfilesRequest) Reset()
- func (m *ListAdvancedRateLimiterProfilesRequest) SetFolderId(v string)
- func (x *ListAdvancedRateLimiterProfilesRequest) String() string
- type ListAdvancedRateLimiterProfilesResponse
- func (*ListAdvancedRateLimiterProfilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAdvancedRateLimiterProfilesResponse) GetAdvancedRateLimiterProfiles() []*AdvancedRateLimiterProfile
- func (*ListAdvancedRateLimiterProfilesResponse) ProtoMessage()
- func (x *ListAdvancedRateLimiterProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAdvancedRateLimiterProfilesResponse) Reset()
- func (m *ListAdvancedRateLimiterProfilesResponse) SetAdvancedRateLimiterProfiles(v []*AdvancedRateLimiterProfile)
- func (x *ListAdvancedRateLimiterProfilesResponse) String() string
- type UnimplementedAdvancedRateLimiterProfileServiceServer
- func (UnimplementedAdvancedRateLimiterProfileServiceServer) Create(context.Context, *CreateAdvancedRateLimiterProfileRequest) (*operation.Operation, error)
- func (UnimplementedAdvancedRateLimiterProfileServiceServer) Delete(context.Context, *DeleteAdvancedRateLimiterProfileRequest) (*operation.Operation, error)
- func (UnimplementedAdvancedRateLimiterProfileServiceServer) Get(context.Context, *GetAdvancedRateLimiterProfileRequest) (*AdvancedRateLimiterProfile, error)
- func (UnimplementedAdvancedRateLimiterProfileServiceServer) List(context.Context, *ListAdvancedRateLimiterProfilesRequest) (*ListAdvancedRateLimiterProfilesResponse, error)
- func (UnimplementedAdvancedRateLimiterProfileServiceServer) Update(context.Context, *UpdateAdvancedRateLimiterProfileRequest) (*operation.Operation, error)
- type UnsafeAdvancedRateLimiterProfileServiceServer
- type UpdateAdvancedRateLimiterProfileMetadata
- func (*UpdateAdvancedRateLimiterProfileMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAdvancedRateLimiterProfileMetadata) GetAdvancedRateLimiterProfileId() string
- func (*UpdateAdvancedRateLimiterProfileMetadata) ProtoMessage()
- func (x *UpdateAdvancedRateLimiterProfileMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateAdvancedRateLimiterProfileMetadata) Reset()
- func (m *UpdateAdvancedRateLimiterProfileMetadata) SetAdvancedRateLimiterProfileId(v string)
- func (x *UpdateAdvancedRateLimiterProfileMetadata) String() string
- type UpdateAdvancedRateLimiterProfileRequest
- func (*UpdateAdvancedRateLimiterProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterProfileId() string
- func (x *UpdateAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterRules() []*AdvancedRateLimiterRule
- func (x *UpdateAdvancedRateLimiterProfileRequest) GetDescription() string
- func (x *UpdateAdvancedRateLimiterProfileRequest) GetLabels() map[string]string
- func (x *UpdateAdvancedRateLimiterProfileRequest) GetName() string
- func (x *UpdateAdvancedRateLimiterProfileRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateAdvancedRateLimiterProfileRequest) ProtoMessage()
- func (x *UpdateAdvancedRateLimiterProfileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAdvancedRateLimiterProfileRequest) Reset()
- func (m *UpdateAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterProfileId(v string)
- func (m *UpdateAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterRules(v []*AdvancedRateLimiterRule)
- func (m *UpdateAdvancedRateLimiterProfileRequest) SetDescription(v string)
- func (m *UpdateAdvancedRateLimiterProfileRequest) SetLabels(v map[string]string)
- func (m *UpdateAdvancedRateLimiterProfileRequest) SetName(v string)
- func (m *UpdateAdvancedRateLimiterProfileRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateAdvancedRateLimiterProfileRequest) String() string
Constants ¶
const ( AdvancedRateLimiterProfileService_Get_FullMethodName = "/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/Get" AdvancedRateLimiterProfileService_List_FullMethodName = "/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/List" AdvancedRateLimiterProfileService_Create_FullMethodName = "/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/Create" AdvancedRateLimiterProfileService_Update_FullMethodName = "/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/Update" AdvancedRateLimiterProfileService_Delete_FullMethodName = "/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/Delete" )
Variables ¶
var ( AdvancedRateLimiterRule_Action_name = map[int32]string{ 0: "ACTION_UNSPECIFIED", 1: "DENY", } AdvancedRateLimiterRule_Action_value = map[string]int32{ "ACTION_UNSPECIFIED": 0, "DENY": 1, } )
Enum value maps for AdvancedRateLimiterRule_Action.
var ( AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "REQUEST_PATH", 2: "HTTP_METHOD", 3: "IP", 4: "GEO", 5: "HOST", } AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "REQUEST_PATH": 1, "HTTP_METHOD": 2, "IP": 3, "GEO": 4, "HOST": 5, } )
Enum value maps for AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type.
var ( AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "COOKIE_KEY", 2: "HEADER_KEY", 3: "QUERY_KEY", } AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "COOKIE_KEY": 1, "HEADER_KEY": 2, "QUERY_KEY": 3, } )
Enum value maps for AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type.
var AdvancedRateLimiterProfileService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService", HandlerType: (*AdvancedRateLimiterProfileServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _AdvancedRateLimiterProfileService_Get_Handler, }, { MethodName: "List", Handler: _AdvancedRateLimiterProfileService_List_Handler, }, { MethodName: "Create", Handler: _AdvancedRateLimiterProfileService_Create_Handler, }, { MethodName: "Update", Handler: _AdvancedRateLimiterProfileService_Update_Handler, }, { MethodName: "Delete", Handler: _AdvancedRateLimiterProfileService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service.proto", }
AdvancedRateLimiterProfileService_ServiceDesc is the grpc.ServiceDesc for AdvancedRateLimiterProfileService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_yandex_cloud_smartwebsecurity_v1_advanced_rate_limiter_advanced_rate_limiter_profile_proto protoreflect.FileDescriptor
var File_yandex_cloud_smartwebsecurity_v1_advanced_rate_limiter_advanced_rate_limiter_profile_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAdvancedRateLimiterProfileServiceServer ¶
func RegisterAdvancedRateLimiterProfileServiceServer(s grpc.ServiceRegistrar, srv AdvancedRateLimiterProfileServiceServer)
Types ¶
type AdvancedRateLimiterProfile ¶
type AdvancedRateLimiterProfile struct { // ID of the ARL profile. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the folder that the ARL profile belongs to. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Labels as “ key:value “ pairs. Maximum of 64 per resource. Labels map[string]string `` /* 153-byte string literal not displayed */ // Name of the ARL profile. The name is unique within the folder. 1-50 characters long. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Optional description of the ARL profile. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // List of rules. AdvancedRateLimiterRules []*AdvancedRateLimiterRule `` /* 137-byte string literal not displayed */ // Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // ID of the cloud that the ARL profile belongs to. CloudId string `protobuf:"bytes,9,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` // contains filtered or unexported fields }
A AdvancedRateLimiterProfile (ARL) resource.
func (*AdvancedRateLimiterProfile) Descriptor
deprecated
func (*AdvancedRateLimiterProfile) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedRateLimiterProfile.ProtoReflect.Descriptor instead.
func (*AdvancedRateLimiterProfile) GetAdvancedRateLimiterRules ¶
func (x *AdvancedRateLimiterProfile) GetAdvancedRateLimiterRules() []*AdvancedRateLimiterRule
func (*AdvancedRateLimiterProfile) GetCloudId ¶
func (x *AdvancedRateLimiterProfile) GetCloudId() string
func (*AdvancedRateLimiterProfile) GetCreatedAt ¶
func (x *AdvancedRateLimiterProfile) GetCreatedAt() *timestamppb.Timestamp
func (*AdvancedRateLimiterProfile) GetDescription ¶
func (x *AdvancedRateLimiterProfile) GetDescription() string
func (*AdvancedRateLimiterProfile) GetFolderId ¶
func (x *AdvancedRateLimiterProfile) GetFolderId() string
func (*AdvancedRateLimiterProfile) GetId ¶
func (x *AdvancedRateLimiterProfile) GetId() string
func (*AdvancedRateLimiterProfile) GetLabels ¶
func (x *AdvancedRateLimiterProfile) GetLabels() map[string]string
func (*AdvancedRateLimiterProfile) GetName ¶
func (x *AdvancedRateLimiterProfile) GetName() string
func (*AdvancedRateLimiterProfile) ProtoMessage ¶
func (*AdvancedRateLimiterProfile) ProtoMessage()
func (*AdvancedRateLimiterProfile) ProtoReflect ¶
func (x *AdvancedRateLimiterProfile) ProtoReflect() protoreflect.Message
func (*AdvancedRateLimiterProfile) Reset ¶
func (x *AdvancedRateLimiterProfile) Reset()
func (*AdvancedRateLimiterProfile) SetAdvancedRateLimiterRules ¶
func (m *AdvancedRateLimiterProfile) SetAdvancedRateLimiterRules(v []*AdvancedRateLimiterRule)
func (*AdvancedRateLimiterProfile) SetCloudId ¶
func (m *AdvancedRateLimiterProfile) SetCloudId(v string)
func (*AdvancedRateLimiterProfile) SetCreatedAt ¶
func (m *AdvancedRateLimiterProfile) SetCreatedAt(v *timestamppb.Timestamp)
func (*AdvancedRateLimiterProfile) SetDescription ¶
func (m *AdvancedRateLimiterProfile) SetDescription(v string)
func (*AdvancedRateLimiterProfile) SetFolderId ¶
func (m *AdvancedRateLimiterProfile) SetFolderId(v string)
func (*AdvancedRateLimiterProfile) SetId ¶
func (m *AdvancedRateLimiterProfile) SetId(v string)
func (*AdvancedRateLimiterProfile) SetLabels ¶
func (m *AdvancedRateLimiterProfile) SetLabels(v map[string]string)
func (*AdvancedRateLimiterProfile) SetName ¶
func (m *AdvancedRateLimiterProfile) SetName(v string)
func (*AdvancedRateLimiterProfile) String ¶
func (x *AdvancedRateLimiterProfile) String() string
type AdvancedRateLimiterProfileServiceClient ¶
type AdvancedRateLimiterProfileServiceClient interface { // Returns the specified AdvancedRateLimiterProfile resource. Get(ctx context.Context, in *GetAdvancedRateLimiterProfileRequest, opts ...grpc.CallOption) (*AdvancedRateLimiterProfile, error) // Retrieves the list of AdvancedRateLimiterProfile resources in the specified folder. List(ctx context.Context, in *ListAdvancedRateLimiterProfilesRequest, opts ...grpc.CallOption) (*ListAdvancedRateLimiterProfilesResponse, error) // Creates a ARL profile in the specified folder using the data specified in the request. Create(ctx context.Context, in *CreateAdvancedRateLimiterProfileRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified ARL profile. Update(ctx context.Context, in *UpdateAdvancedRateLimiterProfileRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified ARL profile. Delete(ctx context.Context, in *DeleteAdvancedRateLimiterProfileRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
AdvancedRateLimiterProfileServiceClient is the client API for AdvancedRateLimiterProfileService 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.
A set of methods for managing AdvancedRateLimiterProfile resources.
func NewAdvancedRateLimiterProfileServiceClient ¶
func NewAdvancedRateLimiterProfileServiceClient(cc grpc.ClientConnInterface) AdvancedRateLimiterProfileServiceClient
type AdvancedRateLimiterProfileServiceServer ¶
type AdvancedRateLimiterProfileServiceServer interface { // Returns the specified AdvancedRateLimiterProfile resource. Get(context.Context, *GetAdvancedRateLimiterProfileRequest) (*AdvancedRateLimiterProfile, error) // Retrieves the list of AdvancedRateLimiterProfile resources in the specified folder. List(context.Context, *ListAdvancedRateLimiterProfilesRequest) (*ListAdvancedRateLimiterProfilesResponse, error) // Creates a ARL profile in the specified folder using the data specified in the request. Create(context.Context, *CreateAdvancedRateLimiterProfileRequest) (*operation.Operation, error) // Updates the specified ARL profile. Update(context.Context, *UpdateAdvancedRateLimiterProfileRequest) (*operation.Operation, error) // Deletes the specified ARL profile. Delete(context.Context, *DeleteAdvancedRateLimiterProfileRequest) (*operation.Operation, error) }
AdvancedRateLimiterProfileServiceServer is the server API for AdvancedRateLimiterProfileService service. All implementations should embed UnimplementedAdvancedRateLimiterProfileServiceServer for forward compatibility.
A set of methods for managing AdvancedRateLimiterProfile resources.
type AdvancedRateLimiterRule ¶
type AdvancedRateLimiterRule struct { // Name of the rule. The name is unique within the ARL profile. 1-50 characters long. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Determines the priority in case there are several matched rules. // Enter an integer within the range of 1 and 999999. // The rule priority must be unique within the entire ARL profile. // A lower numeric value means a higher priority. Priority int64 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` // Optional description of the rule. 0-512 characters long. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // This allows you to evaluate backend capabilities and find the optimum limit values. // Requests will not be blocked in this mode. DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // Types that are assignable to RuleSpecifier: // // *AdvancedRateLimiterRule_StaticQuota_ // *AdvancedRateLimiterRule_DynamicQuota_ RuleSpecifier isAdvancedRateLimiterRule_RuleSpecifier `protobuf_oneof:"rule_specifier"` // contains filtered or unexported fields }
A AdvancedRateLimiterRule object, see [Rules](/docs/smartwebsecurity/concepts/arl#traffic-conditions).
func (*AdvancedRateLimiterRule) Descriptor
deprecated
func (*AdvancedRateLimiterRule) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedRateLimiterRule.ProtoReflect.Descriptor instead.
func (*AdvancedRateLimiterRule) GetDescription ¶
func (x *AdvancedRateLimiterRule) GetDescription() string
func (*AdvancedRateLimiterRule) GetDryRun ¶
func (x *AdvancedRateLimiterRule) GetDryRun() bool
func (*AdvancedRateLimiterRule) GetDynamicQuota ¶
func (x *AdvancedRateLimiterRule) GetDynamicQuota() *AdvancedRateLimiterRule_DynamicQuota
func (*AdvancedRateLimiterRule) GetName ¶
func (x *AdvancedRateLimiterRule) GetName() string
func (*AdvancedRateLimiterRule) GetPriority ¶
func (x *AdvancedRateLimiterRule) GetPriority() int64
func (*AdvancedRateLimiterRule) GetRuleSpecifier ¶
func (m *AdvancedRateLimiterRule) GetRuleSpecifier() isAdvancedRateLimiterRule_RuleSpecifier
func (*AdvancedRateLimiterRule) GetStaticQuota ¶
func (x *AdvancedRateLimiterRule) GetStaticQuota() *AdvancedRateLimiterRule_StaticQuota
func (*AdvancedRateLimiterRule) ProtoMessage ¶
func (*AdvancedRateLimiterRule) ProtoMessage()
func (*AdvancedRateLimiterRule) ProtoReflect ¶
func (x *AdvancedRateLimiterRule) ProtoReflect() protoreflect.Message
func (*AdvancedRateLimiterRule) Reset ¶
func (x *AdvancedRateLimiterRule) Reset()
func (*AdvancedRateLimiterRule) SetDescription ¶
func (m *AdvancedRateLimiterRule) SetDescription(v string)
func (*AdvancedRateLimiterRule) SetDryRun ¶
func (m *AdvancedRateLimiterRule) SetDryRun(v bool)
func (*AdvancedRateLimiterRule) SetDynamicQuota ¶
func (m *AdvancedRateLimiterRule) SetDynamicQuota(v *AdvancedRateLimiterRule_DynamicQuota)
func (*AdvancedRateLimiterRule) SetName ¶
func (m *AdvancedRateLimiterRule) SetName(v string)
func (*AdvancedRateLimiterRule) SetPriority ¶
func (m *AdvancedRateLimiterRule) SetPriority(v int64)
func (*AdvancedRateLimiterRule) SetRuleSpecifier ¶
func (m *AdvancedRateLimiterRule) SetRuleSpecifier(v AdvancedRateLimiterRule_RuleSpecifier)
func (*AdvancedRateLimiterRule) SetStaticQuota ¶
func (m *AdvancedRateLimiterRule) SetStaticQuota(v *AdvancedRateLimiterRule_StaticQuota)
func (*AdvancedRateLimiterRule) String ¶
func (x *AdvancedRateLimiterRule) String() string
type AdvancedRateLimiterRule_Action ¶
type AdvancedRateLimiterRule_Action int32
Type of action to perform if this rule matched.
const ( AdvancedRateLimiterRule_ACTION_UNSPECIFIED AdvancedRateLimiterRule_Action = 0 // Deny request. AdvancedRateLimiterRule_DENY AdvancedRateLimiterRule_Action = 1 )
func (AdvancedRateLimiterRule_Action) Descriptor ¶
func (AdvancedRateLimiterRule_Action) Descriptor() protoreflect.EnumDescriptor
func (AdvancedRateLimiterRule_Action) Enum ¶
func (x AdvancedRateLimiterRule_Action) Enum() *AdvancedRateLimiterRule_Action
func (AdvancedRateLimiterRule_Action) EnumDescriptor
deprecated
func (AdvancedRateLimiterRule_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use AdvancedRateLimiterRule_Action.Descriptor instead.
func (AdvancedRateLimiterRule_Action) Number ¶
func (x AdvancedRateLimiterRule_Action) Number() protoreflect.EnumNumber
func (AdvancedRateLimiterRule_Action) String ¶
func (x AdvancedRateLimiterRule_Action) String() string
func (AdvancedRateLimiterRule_Action) Type ¶
func (AdvancedRateLimiterRule_Action) Type() protoreflect.EnumType
type AdvancedRateLimiterRule_DynamicQuota ¶
type AdvancedRateLimiterRule_DynamicQuota struct { // Action in case of exceeding this quota. Action AdvancedRateLimiterRule_Action `` /* 157-byte string literal not displayed */ // The condition for matching the quota. Condition *v1.Condition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"` // Desired maximum number of requests per period. // Enter an integer within the range of 1 and 9999999999999. Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // Period of time in seconds. Period int64 `protobuf:"varint,4,opt,name=period,proto3" json:"period,omitempty"` // List of characteristics. Characteristics []*AdvancedRateLimiterRule_DynamicQuota_Characteristic `protobuf:"bytes,5,rep,name=characteristics,proto3" json:"characteristics,omitempty"` // contains filtered or unexported fields }
DynamicQuota object.
func (*AdvancedRateLimiterRule_DynamicQuota) Descriptor
deprecated
func (*AdvancedRateLimiterRule_DynamicQuota) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedRateLimiterRule_DynamicQuota.ProtoReflect.Descriptor instead.
func (*AdvancedRateLimiterRule_DynamicQuota) GetAction ¶
func (x *AdvancedRateLimiterRule_DynamicQuota) GetAction() AdvancedRateLimiterRule_Action
func (*AdvancedRateLimiterRule_DynamicQuota) GetCharacteristics ¶
func (x *AdvancedRateLimiterRule_DynamicQuota) GetCharacteristics() []*AdvancedRateLimiterRule_DynamicQuota_Characteristic
func (*AdvancedRateLimiterRule_DynamicQuota) GetCondition ¶
func (x *AdvancedRateLimiterRule_DynamicQuota) GetCondition() *v1.Condition
func (*AdvancedRateLimiterRule_DynamicQuota) GetLimit ¶
func (x *AdvancedRateLimiterRule_DynamicQuota) GetLimit() int64
func (*AdvancedRateLimiterRule_DynamicQuota) GetPeriod ¶
func (x *AdvancedRateLimiterRule_DynamicQuota) GetPeriod() int64
func (*AdvancedRateLimiterRule_DynamicQuota) ProtoMessage ¶
func (*AdvancedRateLimiterRule_DynamicQuota) ProtoMessage()
func (*AdvancedRateLimiterRule_DynamicQuota) ProtoReflect ¶
func (x *AdvancedRateLimiterRule_DynamicQuota) ProtoReflect() protoreflect.Message
func (*AdvancedRateLimiterRule_DynamicQuota) Reset ¶
func (x *AdvancedRateLimiterRule_DynamicQuota) Reset()
func (*AdvancedRateLimiterRule_DynamicQuota) SetAction ¶
func (m *AdvancedRateLimiterRule_DynamicQuota) SetAction(v AdvancedRateLimiterRule_Action)
func (*AdvancedRateLimiterRule_DynamicQuota) SetCharacteristics ¶
func (m *AdvancedRateLimiterRule_DynamicQuota) SetCharacteristics(v []*AdvancedRateLimiterRule_DynamicQuota_Characteristic)
func (*AdvancedRateLimiterRule_DynamicQuota) SetCondition ¶
func (m *AdvancedRateLimiterRule_DynamicQuota) SetCondition(v *v1.Condition)
func (*AdvancedRateLimiterRule_DynamicQuota) SetLimit ¶
func (m *AdvancedRateLimiterRule_DynamicQuota) SetLimit(v int64)
func (*AdvancedRateLimiterRule_DynamicQuota) SetPeriod ¶
func (m *AdvancedRateLimiterRule_DynamicQuota) SetPeriod(v int64)
func (*AdvancedRateLimiterRule_DynamicQuota) String ¶
func (x *AdvancedRateLimiterRule_DynamicQuota) String() string
type AdvancedRateLimiterRule_DynamicQuota_ ¶
type AdvancedRateLimiterRule_DynamicQuota_ struct { // Dynamic quota. Grouping requests by a certain attribute and limiting the number of groups. DynamicQuota *AdvancedRateLimiterRule_DynamicQuota `protobuf:"bytes,6,opt,name=dynamic_quota,json=dynamicQuota,proto3,oneof"` }
type AdvancedRateLimiterRule_DynamicQuota_Characteristic ¶
type AdvancedRateLimiterRule_DynamicQuota_Characteristic struct { // Types that are assignable to CharacteristicSpecifier: // // *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_ // *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_ CharacteristicSpecifier isAdvancedRateLimiterRule_DynamicQuota_Characteristic_CharacteristicSpecifier `protobuf_oneof:"characteristic_specifier"` // Determines case-sensitive or case-insensitive keys matching. CaseInsensitive bool `protobuf:"varint,10,opt,name=case_insensitive,json=caseInsensitive,proto3" json:"case_insensitive,omitempty"` // contains filtered or unexported fields }
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) Descriptor
deprecated
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedRateLimiterRule_DynamicQuota_Characteristic.ProtoReflect.Descriptor instead.
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) GetCaseInsensitive ¶
func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic) GetCaseInsensitive() bool
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) GetCharacteristicSpecifier ¶
func (m *AdvancedRateLimiterRule_DynamicQuota_Characteristic) GetCharacteristicSpecifier() isAdvancedRateLimiterRule_DynamicQuota_Characteristic_CharacteristicSpecifier
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) GetKeyCharacteristic ¶
func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic) GetKeyCharacteristic() *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) GetSimpleCharacteristic ¶
func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic) GetSimpleCharacteristic() *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) ProtoMessage ¶
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) ProtoMessage()
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) ProtoReflect ¶
func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic) ProtoReflect() protoreflect.Message
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) Reset ¶
func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic) Reset()
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) SetCaseInsensitive ¶
func (m *AdvancedRateLimiterRule_DynamicQuota_Characteristic) SetCaseInsensitive(v bool)
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) SetCharacteristicSpecifier ¶
func (m *AdvancedRateLimiterRule_DynamicQuota_Characteristic) SetCharacteristicSpecifier(v AdvancedRateLimiterRule_DynamicQuota_Characteristic_CharacteristicSpecifier)
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) SetKeyCharacteristic ¶
func (m *AdvancedRateLimiterRule_DynamicQuota_Characteristic) SetKeyCharacteristic(v *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic)
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) SetSimpleCharacteristic ¶
func (m *AdvancedRateLimiterRule_DynamicQuota_Characteristic) SetSimpleCharacteristic(v *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic)
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic) String ¶
func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic) String() string
type AdvancedRateLimiterRule_DynamicQuota_Characteristic_CharacteristicSpecifier ¶
type AdvancedRateLimiterRule_DynamicQuota_Characteristic_CharacteristicSpecifier = isAdvancedRateLimiterRule_DynamicQuota_Characteristic_CharacteristicSpecifier
type AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic ¶
type AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic struct { // Type of key characteristic. Type AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type `` /* 197-byte string literal not displayed */ // String value of the key. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) Descriptor
deprecated
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic.ProtoReflect.Descriptor instead.
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) GetValue ¶
func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) GetValue() string
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) ProtoMessage ¶
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) ProtoMessage()
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) ProtoReflect ¶
func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) ProtoReflect() protoreflect.Message
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) Reset ¶
func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) Reset()
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) SetValue ¶
func (m *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) SetValue(v string)
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) String ¶
func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic) String() string
type AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_ ¶
type AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_ struct { // Characteristic based on key match in the Query params, HTTP header, and HTTP cookie attributes. // See [Rules](/docs/smartwebsecurity/concepts/arl#requests-counting) for more details. KeyCharacteristic *AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic `protobuf:"bytes,2,opt,name=key_characteristic,json=keyCharacteristic,proto3,oneof"` }
type AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type ¶
type AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type int32
Type of key characteristic.
const ( AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_TYPE_UNSPECIFIED AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type = 0 // HTTP cookie key. AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_COOKIE_KEY AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type = 1 // HTTP header key. AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_HEADER_KEY AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type = 2 // Query params key. AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_QUERY_KEY AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type = 3 )
func (AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type) Descriptor ¶
func (AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type) EnumDescriptor
deprecated
func (AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use AdvancedRateLimiterRule_DynamicQuota_Characteristic_KeyCharacteristic_Type.Descriptor instead.
type AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic ¶
type AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic struct { // Type of simple characteristic. Type AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type `` /* 200-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) Descriptor
deprecated
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic.ProtoReflect.Descriptor instead.
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) ProtoMessage ¶
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) ProtoMessage()
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) ProtoReflect ¶
func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) ProtoReflect() protoreflect.Message
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) Reset ¶
func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) Reset()
func (*AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) String ¶
func (x *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic) String() string
type AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_ ¶
type AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_ struct { // Characteristic automatically based on the Request path, HTTP method, IP address, Region, and Host attributes. // See [Rules](/docs/smartwebsecurity/concepts/arl#requests-counting) for more details. SimpleCharacteristic *AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic `protobuf:"bytes,1,opt,name=simple_characteristic,json=simpleCharacteristic,proto3,oneof"` }
type AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type ¶
type AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type int32
Type of simple characteristic.
const ( AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_TYPE_UNSPECIFIED AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type = 0 // HTTP Request path. AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_REQUEST_PATH AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type = 1 // HTTP Method. AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_HTTP_METHOD AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type = 2 // IP address. AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_IP AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type = 3 // Region. AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_GEO AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type = 4 // Host. AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_HOST AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type = 5 )
func (AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type) Descriptor ¶
func (AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type) EnumDescriptor
deprecated
func (AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use AdvancedRateLimiterRule_DynamicQuota_Characteristic_SimpleCharacteristic_Type.Descriptor instead.
type AdvancedRateLimiterRule_RuleSpecifier ¶
type AdvancedRateLimiterRule_RuleSpecifier = isAdvancedRateLimiterRule_RuleSpecifier
type AdvancedRateLimiterRule_StaticQuota ¶
type AdvancedRateLimiterRule_StaticQuota struct { // Action in case of exceeding this quota. Action AdvancedRateLimiterRule_Action `` /* 157-byte string literal not displayed */ // The condition for matching the quota. Condition *v1.Condition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"` // Desired maximum number of requests per period. // Enter an integer within the range of 1 and 9999999999999. Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // Period of time in seconds. Period int64 `protobuf:"varint,4,opt,name=period,proto3" json:"period,omitempty"` // contains filtered or unexported fields }
StaticQuota object.
func (*AdvancedRateLimiterRule_StaticQuota) Descriptor
deprecated
func (*AdvancedRateLimiterRule_StaticQuota) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedRateLimiterRule_StaticQuota.ProtoReflect.Descriptor instead.
func (*AdvancedRateLimiterRule_StaticQuota) GetAction ¶
func (x *AdvancedRateLimiterRule_StaticQuota) GetAction() AdvancedRateLimiterRule_Action
func (*AdvancedRateLimiterRule_StaticQuota) GetCondition ¶
func (x *AdvancedRateLimiterRule_StaticQuota) GetCondition() *v1.Condition
func (*AdvancedRateLimiterRule_StaticQuota) GetLimit ¶
func (x *AdvancedRateLimiterRule_StaticQuota) GetLimit() int64
func (*AdvancedRateLimiterRule_StaticQuota) GetPeriod ¶
func (x *AdvancedRateLimiterRule_StaticQuota) GetPeriod() int64
func (*AdvancedRateLimiterRule_StaticQuota) ProtoMessage ¶
func (*AdvancedRateLimiterRule_StaticQuota) ProtoMessage()
func (*AdvancedRateLimiterRule_StaticQuota) ProtoReflect ¶
func (x *AdvancedRateLimiterRule_StaticQuota) ProtoReflect() protoreflect.Message
func (*AdvancedRateLimiterRule_StaticQuota) Reset ¶
func (x *AdvancedRateLimiterRule_StaticQuota) Reset()
func (*AdvancedRateLimiterRule_StaticQuota) SetAction ¶
func (m *AdvancedRateLimiterRule_StaticQuota) SetAction(v AdvancedRateLimiterRule_Action)
func (*AdvancedRateLimiterRule_StaticQuota) SetCondition ¶
func (m *AdvancedRateLimiterRule_StaticQuota) SetCondition(v *v1.Condition)
func (*AdvancedRateLimiterRule_StaticQuota) SetLimit ¶
func (m *AdvancedRateLimiterRule_StaticQuota) SetLimit(v int64)
func (*AdvancedRateLimiterRule_StaticQuota) SetPeriod ¶
func (m *AdvancedRateLimiterRule_StaticQuota) SetPeriod(v int64)
func (*AdvancedRateLimiterRule_StaticQuota) String ¶
func (x *AdvancedRateLimiterRule_StaticQuota) String() string
type AdvancedRateLimiterRule_StaticQuota_ ¶
type AdvancedRateLimiterRule_StaticQuota_ struct { // Static quota. Counting each request individually. StaticQuota *AdvancedRateLimiterRule_StaticQuota `protobuf:"bytes,5,opt,name=static_quota,json=staticQuota,proto3,oneof"` }
type CreateAdvancedRateLimiterProfileMetadata ¶
type CreateAdvancedRateLimiterProfileMetadata struct { // ID of the ARL profile that is being created. AdvancedRateLimiterProfileId string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateAdvancedRateLimiterProfileMetadata) Descriptor
deprecated
func (*CreateAdvancedRateLimiterProfileMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateAdvancedRateLimiterProfileMetadata.ProtoReflect.Descriptor instead.
func (*CreateAdvancedRateLimiterProfileMetadata) GetAdvancedRateLimiterProfileId ¶
func (x *CreateAdvancedRateLimiterProfileMetadata) GetAdvancedRateLimiterProfileId() string
func (*CreateAdvancedRateLimiterProfileMetadata) ProtoMessage ¶
func (*CreateAdvancedRateLimiterProfileMetadata) ProtoMessage()
func (*CreateAdvancedRateLimiterProfileMetadata) ProtoReflect ¶
func (x *CreateAdvancedRateLimiterProfileMetadata) ProtoReflect() protoreflect.Message
func (*CreateAdvancedRateLimiterProfileMetadata) Reset ¶
func (x *CreateAdvancedRateLimiterProfileMetadata) Reset()
func (*CreateAdvancedRateLimiterProfileMetadata) SetAdvancedRateLimiterProfileId ¶
func (m *CreateAdvancedRateLimiterProfileMetadata) SetAdvancedRateLimiterProfileId(v string)
func (*CreateAdvancedRateLimiterProfileMetadata) String ¶
func (x *CreateAdvancedRateLimiterProfileMetadata) String() string
type CreateAdvancedRateLimiterProfileRequest ¶
type CreateAdvancedRateLimiterProfileRequest struct { // ID of the folder to create a ARL profile in. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Labels as “ key:value “ pairs. Maximum of 64 per resource. Labels map[string]string `` /* 153-byte string literal not displayed */ // Name of the ARL profile. The name is unique within the folder. 1-50 characters long. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Optional description of the ARL profile. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // List of rules. AdvancedRateLimiterRules []*AdvancedRateLimiterRule `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateAdvancedRateLimiterProfileRequest) Descriptor
deprecated
func (*CreateAdvancedRateLimiterProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAdvancedRateLimiterProfileRequest.ProtoReflect.Descriptor instead.
func (*CreateAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterRules ¶
func (x *CreateAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterRules() []*AdvancedRateLimiterRule
func (*CreateAdvancedRateLimiterProfileRequest) GetDescription ¶
func (x *CreateAdvancedRateLimiterProfileRequest) GetDescription() string
func (*CreateAdvancedRateLimiterProfileRequest) GetFolderId ¶
func (x *CreateAdvancedRateLimiterProfileRequest) GetFolderId() string
func (*CreateAdvancedRateLimiterProfileRequest) GetLabels ¶
func (x *CreateAdvancedRateLimiterProfileRequest) GetLabels() map[string]string
func (*CreateAdvancedRateLimiterProfileRequest) GetName ¶
func (x *CreateAdvancedRateLimiterProfileRequest) GetName() string
func (*CreateAdvancedRateLimiterProfileRequest) ProtoMessage ¶
func (*CreateAdvancedRateLimiterProfileRequest) ProtoMessage()
func (*CreateAdvancedRateLimiterProfileRequest) ProtoReflect ¶
func (x *CreateAdvancedRateLimiterProfileRequest) ProtoReflect() protoreflect.Message
func (*CreateAdvancedRateLimiterProfileRequest) Reset ¶
func (x *CreateAdvancedRateLimiterProfileRequest) Reset()
func (*CreateAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterRules ¶
func (m *CreateAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterRules(v []*AdvancedRateLimiterRule)
func (*CreateAdvancedRateLimiterProfileRequest) SetDescription ¶
func (m *CreateAdvancedRateLimiterProfileRequest) SetDescription(v string)
func (*CreateAdvancedRateLimiterProfileRequest) SetFolderId ¶
func (m *CreateAdvancedRateLimiterProfileRequest) SetFolderId(v string)
func (*CreateAdvancedRateLimiterProfileRequest) SetLabels ¶
func (m *CreateAdvancedRateLimiterProfileRequest) SetLabels(v map[string]string)
func (*CreateAdvancedRateLimiterProfileRequest) SetName ¶
func (m *CreateAdvancedRateLimiterProfileRequest) SetName(v string)
func (*CreateAdvancedRateLimiterProfileRequest) String ¶
func (x *CreateAdvancedRateLimiterProfileRequest) String() string
type DeleteAdvancedRateLimiterProfileMetadata ¶
type DeleteAdvancedRateLimiterProfileMetadata struct { // ID of the AdvancedRateLimiterProfile resource that is being deleted. AdvancedRateLimiterProfileId string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeleteAdvancedRateLimiterProfileMetadata) Descriptor
deprecated
func (*DeleteAdvancedRateLimiterProfileMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAdvancedRateLimiterProfileMetadata.ProtoReflect.Descriptor instead.
func (*DeleteAdvancedRateLimiterProfileMetadata) GetAdvancedRateLimiterProfileId ¶
func (x *DeleteAdvancedRateLimiterProfileMetadata) GetAdvancedRateLimiterProfileId() string
func (*DeleteAdvancedRateLimiterProfileMetadata) ProtoMessage ¶
func (*DeleteAdvancedRateLimiterProfileMetadata) ProtoMessage()
func (*DeleteAdvancedRateLimiterProfileMetadata) ProtoReflect ¶
func (x *DeleteAdvancedRateLimiterProfileMetadata) ProtoReflect() protoreflect.Message
func (*DeleteAdvancedRateLimiterProfileMetadata) Reset ¶
func (x *DeleteAdvancedRateLimiterProfileMetadata) Reset()
func (*DeleteAdvancedRateLimiterProfileMetadata) SetAdvancedRateLimiterProfileId ¶
func (m *DeleteAdvancedRateLimiterProfileMetadata) SetAdvancedRateLimiterProfileId(v string)
func (*DeleteAdvancedRateLimiterProfileMetadata) String ¶
func (x *DeleteAdvancedRateLimiterProfileMetadata) String() string
type DeleteAdvancedRateLimiterProfileRequest ¶
type DeleteAdvancedRateLimiterProfileRequest struct { // ID of the ARL profile to delete. AdvancedRateLimiterProfileId string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeleteAdvancedRateLimiterProfileRequest) Descriptor
deprecated
func (*DeleteAdvancedRateLimiterProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAdvancedRateLimiterProfileRequest.ProtoReflect.Descriptor instead.
func (*DeleteAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterProfileId ¶
func (x *DeleteAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterProfileId() string
func (*DeleteAdvancedRateLimiterProfileRequest) ProtoMessage ¶
func (*DeleteAdvancedRateLimiterProfileRequest) ProtoMessage()
func (*DeleteAdvancedRateLimiterProfileRequest) ProtoReflect ¶
func (x *DeleteAdvancedRateLimiterProfileRequest) ProtoReflect() protoreflect.Message
func (*DeleteAdvancedRateLimiterProfileRequest) Reset ¶
func (x *DeleteAdvancedRateLimiterProfileRequest) Reset()
func (*DeleteAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterProfileId ¶
func (m *DeleteAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterProfileId(v string)
func (*DeleteAdvancedRateLimiterProfileRequest) String ¶
func (x *DeleteAdvancedRateLimiterProfileRequest) String() string
type GetAdvancedRateLimiterProfileRequest ¶
type GetAdvancedRateLimiterProfileRequest struct { // ID of the AdvancedRateLimiterProfile resource to return. AdvancedRateLimiterProfileId string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetAdvancedRateLimiterProfileRequest) Descriptor
deprecated
func (*GetAdvancedRateLimiterProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAdvancedRateLimiterProfileRequest.ProtoReflect.Descriptor instead.
func (*GetAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterProfileId ¶
func (x *GetAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterProfileId() string
func (*GetAdvancedRateLimiterProfileRequest) ProtoMessage ¶
func (*GetAdvancedRateLimiterProfileRequest) ProtoMessage()
func (*GetAdvancedRateLimiterProfileRequest) ProtoReflect ¶
func (x *GetAdvancedRateLimiterProfileRequest) ProtoReflect() protoreflect.Message
func (*GetAdvancedRateLimiterProfileRequest) Reset ¶
func (x *GetAdvancedRateLimiterProfileRequest) Reset()
func (*GetAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterProfileId ¶
func (m *GetAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterProfileId(v string)
func (*GetAdvancedRateLimiterProfileRequest) String ¶
func (x *GetAdvancedRateLimiterProfileRequest) String() string
type ListAdvancedRateLimiterProfilesRequest ¶
type ListAdvancedRateLimiterProfilesRequest struct { // ID of the folder that the ARL profile belongs to. // Currently page_size, page_token, filter and order_by are not supported and List method will return all ARL profiles in the folder. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // contains filtered or unexported fields }
func (*ListAdvancedRateLimiterProfilesRequest) Descriptor
deprecated
func (*ListAdvancedRateLimiterProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAdvancedRateLimiterProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListAdvancedRateLimiterProfilesRequest) GetFolderId ¶
func (x *ListAdvancedRateLimiterProfilesRequest) GetFolderId() string
func (*ListAdvancedRateLimiterProfilesRequest) ProtoMessage ¶
func (*ListAdvancedRateLimiterProfilesRequest) ProtoMessage()
func (*ListAdvancedRateLimiterProfilesRequest) ProtoReflect ¶
func (x *ListAdvancedRateLimiterProfilesRequest) ProtoReflect() protoreflect.Message
func (*ListAdvancedRateLimiterProfilesRequest) Reset ¶
func (x *ListAdvancedRateLimiterProfilesRequest) Reset()
func (*ListAdvancedRateLimiterProfilesRequest) SetFolderId ¶
func (m *ListAdvancedRateLimiterProfilesRequest) SetFolderId(v string)
func (*ListAdvancedRateLimiterProfilesRequest) String ¶
func (x *ListAdvancedRateLimiterProfilesRequest) String() string
type ListAdvancedRateLimiterProfilesResponse ¶
type ListAdvancedRateLimiterProfilesResponse struct { // List of AdvancedRateLimiterProfile resources. // Currently next_page_token is not supported and List method will return all ARL profiles in the folder. AdvancedRateLimiterProfiles []*AdvancedRateLimiterProfile `` /* 146-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListAdvancedRateLimiterProfilesResponse) Descriptor
deprecated
func (*ListAdvancedRateLimiterProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAdvancedRateLimiterProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListAdvancedRateLimiterProfilesResponse) GetAdvancedRateLimiterProfiles ¶
func (x *ListAdvancedRateLimiterProfilesResponse) GetAdvancedRateLimiterProfiles() []*AdvancedRateLimiterProfile
func (*ListAdvancedRateLimiterProfilesResponse) ProtoMessage ¶
func (*ListAdvancedRateLimiterProfilesResponse) ProtoMessage()
func (*ListAdvancedRateLimiterProfilesResponse) ProtoReflect ¶
func (x *ListAdvancedRateLimiterProfilesResponse) ProtoReflect() protoreflect.Message
func (*ListAdvancedRateLimiterProfilesResponse) Reset ¶
func (x *ListAdvancedRateLimiterProfilesResponse) Reset()
func (*ListAdvancedRateLimiterProfilesResponse) SetAdvancedRateLimiterProfiles ¶
func (m *ListAdvancedRateLimiterProfilesResponse) SetAdvancedRateLimiterProfiles(v []*AdvancedRateLimiterProfile)
func (*ListAdvancedRateLimiterProfilesResponse) String ¶
func (x *ListAdvancedRateLimiterProfilesResponse) String() string
type UnimplementedAdvancedRateLimiterProfileServiceServer ¶
type UnimplementedAdvancedRateLimiterProfileServiceServer struct{}
UnimplementedAdvancedRateLimiterProfileServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnsafeAdvancedRateLimiterProfileServiceServer ¶
type UnsafeAdvancedRateLimiterProfileServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAdvancedRateLimiterProfileServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdvancedRateLimiterProfileServiceServer will result in compilation errors.
type UpdateAdvancedRateLimiterProfileMetadata ¶
type UpdateAdvancedRateLimiterProfileMetadata struct { // ID of the AdvancedRateLimiterProfile resource that is being updated. AdvancedRateLimiterProfileId string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateAdvancedRateLimiterProfileMetadata) Descriptor
deprecated
func (*UpdateAdvancedRateLimiterProfileMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAdvancedRateLimiterProfileMetadata.ProtoReflect.Descriptor instead.
func (*UpdateAdvancedRateLimiterProfileMetadata) GetAdvancedRateLimiterProfileId ¶
func (x *UpdateAdvancedRateLimiterProfileMetadata) GetAdvancedRateLimiterProfileId() string
func (*UpdateAdvancedRateLimiterProfileMetadata) ProtoMessage ¶
func (*UpdateAdvancedRateLimiterProfileMetadata) ProtoMessage()
func (*UpdateAdvancedRateLimiterProfileMetadata) ProtoReflect ¶
func (x *UpdateAdvancedRateLimiterProfileMetadata) ProtoReflect() protoreflect.Message
func (*UpdateAdvancedRateLimiterProfileMetadata) Reset ¶
func (x *UpdateAdvancedRateLimiterProfileMetadata) Reset()
func (*UpdateAdvancedRateLimiterProfileMetadata) SetAdvancedRateLimiterProfileId ¶
func (m *UpdateAdvancedRateLimiterProfileMetadata) SetAdvancedRateLimiterProfileId(v string)
func (*UpdateAdvancedRateLimiterProfileMetadata) String ¶
func (x *UpdateAdvancedRateLimiterProfileMetadata) String() string
type UpdateAdvancedRateLimiterProfileRequest ¶
type UpdateAdvancedRateLimiterProfileRequest struct { // ID of the ARL profile to update. AdvancedRateLimiterProfileId string `` /* 151-byte string literal not displayed */ // Field mask that specifies which fields of the AdvancedRateLimiterProfile resource are going to be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Labels as “ key:value “ pairs. Maximum of 64 per resource. Labels map[string]string `` /* 153-byte string literal not displayed */ // Name of the ARL profile. The name is unique within the folder. 1-50 characters long. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Optional description of the ARL profile. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // List of rules. AdvancedRateLimiterRules []*AdvancedRateLimiterRule `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateAdvancedRateLimiterProfileRequest) Descriptor
deprecated
func (*UpdateAdvancedRateLimiterProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAdvancedRateLimiterProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterProfileId ¶
func (x *UpdateAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterProfileId() string
func (*UpdateAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterRules ¶
func (x *UpdateAdvancedRateLimiterProfileRequest) GetAdvancedRateLimiterRules() []*AdvancedRateLimiterRule
func (*UpdateAdvancedRateLimiterProfileRequest) GetDescription ¶
func (x *UpdateAdvancedRateLimiterProfileRequest) GetDescription() string
func (*UpdateAdvancedRateLimiterProfileRequest) GetLabels ¶
func (x *UpdateAdvancedRateLimiterProfileRequest) GetLabels() map[string]string
func (*UpdateAdvancedRateLimiterProfileRequest) GetName ¶
func (x *UpdateAdvancedRateLimiterProfileRequest) GetName() string
func (*UpdateAdvancedRateLimiterProfileRequest) GetUpdateMask ¶
func (x *UpdateAdvancedRateLimiterProfileRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAdvancedRateLimiterProfileRequest) ProtoMessage ¶
func (*UpdateAdvancedRateLimiterProfileRequest) ProtoMessage()
func (*UpdateAdvancedRateLimiterProfileRequest) ProtoReflect ¶
func (x *UpdateAdvancedRateLimiterProfileRequest) ProtoReflect() protoreflect.Message
func (*UpdateAdvancedRateLimiterProfileRequest) Reset ¶
func (x *UpdateAdvancedRateLimiterProfileRequest) Reset()
func (*UpdateAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterProfileId ¶
func (m *UpdateAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterProfileId(v string)
func (*UpdateAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterRules ¶
func (m *UpdateAdvancedRateLimiterProfileRequest) SetAdvancedRateLimiterRules(v []*AdvancedRateLimiterRule)
func (*UpdateAdvancedRateLimiterProfileRequest) SetDescription ¶
func (m *UpdateAdvancedRateLimiterProfileRequest) SetDescription(v string)
func (*UpdateAdvancedRateLimiterProfileRequest) SetLabels ¶
func (m *UpdateAdvancedRateLimiterProfileRequest) SetLabels(v map[string]string)
func (*UpdateAdvancedRateLimiterProfileRequest) SetName ¶
func (m *UpdateAdvancedRateLimiterProfileRequest) SetName(v string)
func (*UpdateAdvancedRateLimiterProfileRequest) SetUpdateMask ¶
func (m *UpdateAdvancedRateLimiterProfileRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateAdvancedRateLimiterProfileRequest) String ¶
func (x *UpdateAdvancedRateLimiterProfileRequest) String() string