Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterSecurityProfileServiceServer(s grpc.ServiceRegistrar, srv SecurityProfileServiceServer)
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Condition) GetAuthority() *Condition_AuthorityMatcher
- func (x *Condition) GetHeaders() []*Condition_HeaderMatcher
- func (x *Condition) GetHttpMethod() *Condition_HttpMethodMatcher
- func (x *Condition) GetRequestUri() *Condition_RequestUriMatcher
- func (x *Condition) GetSourceIp() *Condition_IpMatcher
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (m *Condition) SetAuthority(v *Condition_AuthorityMatcher)
- func (m *Condition) SetHeaders(v []*Condition_HeaderMatcher)
- func (m *Condition) SetHttpMethod(v *Condition_HttpMethodMatcher)
- func (m *Condition) SetRequestUri(v *Condition_RequestUriMatcher)
- func (m *Condition) SetSourceIp(v *Condition_IpMatcher)
- func (x *Condition) String() string
- type Condition_AuthorityMatcher
- func (*Condition_AuthorityMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *Condition_AuthorityMatcher) GetAuthorities() []*Condition_StringMatcher
- func (*Condition_AuthorityMatcher) ProtoMessage()
- func (x *Condition_AuthorityMatcher) ProtoReflect() protoreflect.Message
- func (x *Condition_AuthorityMatcher) Reset()
- func (m *Condition_AuthorityMatcher) SetAuthorities(v []*Condition_StringMatcher)
- func (x *Condition_AuthorityMatcher) String() string
- type Condition_GeoIpMatcher
- func (*Condition_GeoIpMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *Condition_GeoIpMatcher) GetLocations() []string
- func (*Condition_GeoIpMatcher) ProtoMessage()
- func (x *Condition_GeoIpMatcher) ProtoReflect() protoreflect.Message
- func (x *Condition_GeoIpMatcher) Reset()
- func (m *Condition_GeoIpMatcher) SetLocations(v []string)
- func (x *Condition_GeoIpMatcher) String() string
- type Condition_HeaderMatcher
- func (*Condition_HeaderMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *Condition_HeaderMatcher) GetName() string
- func (x *Condition_HeaderMatcher) GetValue() *Condition_StringMatcher
- func (*Condition_HeaderMatcher) ProtoMessage()
- func (x *Condition_HeaderMatcher) ProtoReflect() protoreflect.Message
- func (x *Condition_HeaderMatcher) Reset()
- func (m *Condition_HeaderMatcher) SetName(v string)
- func (m *Condition_HeaderMatcher) SetValue(v *Condition_StringMatcher)
- func (x *Condition_HeaderMatcher) String() string
- type Condition_HttpMethodMatcher
- func (*Condition_HttpMethodMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *Condition_HttpMethodMatcher) GetHttpMethods() []*Condition_StringMatcher
- func (*Condition_HttpMethodMatcher) ProtoMessage()
- func (x *Condition_HttpMethodMatcher) ProtoReflect() protoreflect.Message
- func (x *Condition_HttpMethodMatcher) Reset()
- func (m *Condition_HttpMethodMatcher) SetHttpMethods(v []*Condition_StringMatcher)
- func (x *Condition_HttpMethodMatcher) String() string
- type Condition_IpMatcher
- func (*Condition_IpMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *Condition_IpMatcher) GetGeoIpMatch() *Condition_GeoIpMatcher
- func (x *Condition_IpMatcher) GetGeoIpNotMatch() *Condition_GeoIpMatcher
- func (x *Condition_IpMatcher) GetIpRangesMatch() *Condition_IpRangesMatcher
- func (x *Condition_IpMatcher) GetIpRangesNotMatch() *Condition_IpRangesMatcher
- func (*Condition_IpMatcher) ProtoMessage()
- func (x *Condition_IpMatcher) ProtoReflect() protoreflect.Message
- func (x *Condition_IpMatcher) Reset()
- func (m *Condition_IpMatcher) SetGeoIpMatch(v *Condition_GeoIpMatcher)
- func (m *Condition_IpMatcher) SetGeoIpNotMatch(v *Condition_GeoIpMatcher)
- func (m *Condition_IpMatcher) SetIpRangesMatch(v *Condition_IpRangesMatcher)
- func (m *Condition_IpMatcher) SetIpRangesNotMatch(v *Condition_IpRangesMatcher)
- func (x *Condition_IpMatcher) String() string
- type Condition_IpRangesMatcher
- func (*Condition_IpRangesMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *Condition_IpRangesMatcher) GetIpRanges() []string
- func (*Condition_IpRangesMatcher) ProtoMessage()
- func (x *Condition_IpRangesMatcher) ProtoReflect() protoreflect.Message
- func (x *Condition_IpRangesMatcher) Reset()
- func (m *Condition_IpRangesMatcher) SetIpRanges(v []string)
- func (x *Condition_IpRangesMatcher) String() string
- type Condition_QueryMatcher
- func (*Condition_QueryMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *Condition_QueryMatcher) GetKey() string
- func (x *Condition_QueryMatcher) GetValue() *Condition_StringMatcher
- func (*Condition_QueryMatcher) ProtoMessage()
- func (x *Condition_QueryMatcher) ProtoReflect() protoreflect.Message
- func (x *Condition_QueryMatcher) Reset()
- func (m *Condition_QueryMatcher) SetKey(v string)
- func (m *Condition_QueryMatcher) SetValue(v *Condition_StringMatcher)
- func (x *Condition_QueryMatcher) String() string
- type Condition_RequestUriMatcher
- func (*Condition_RequestUriMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *Condition_RequestUriMatcher) GetPath() *Condition_StringMatcher
- func (x *Condition_RequestUriMatcher) GetQueries() []*Condition_QueryMatcher
- func (*Condition_RequestUriMatcher) ProtoMessage()
- func (x *Condition_RequestUriMatcher) ProtoReflect() protoreflect.Message
- func (x *Condition_RequestUriMatcher) Reset()
- func (m *Condition_RequestUriMatcher) SetPath(v *Condition_StringMatcher)
- func (m *Condition_RequestUriMatcher) SetQueries(v []*Condition_QueryMatcher)
- func (x *Condition_RequestUriMatcher) String() string
- type Condition_StringMatcher
- func (*Condition_StringMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *Condition_StringMatcher) GetExactMatch() string
- func (x *Condition_StringMatcher) GetExactNotMatch() string
- func (m *Condition_StringMatcher) GetMatch() isCondition_StringMatcher_Match
- func (x *Condition_StringMatcher) GetPireRegexMatch() string
- func (x *Condition_StringMatcher) GetPireRegexNotMatch() string
- func (x *Condition_StringMatcher) GetPrefixMatch() string
- func (x *Condition_StringMatcher) GetPrefixNotMatch() string
- func (*Condition_StringMatcher) ProtoMessage()
- func (x *Condition_StringMatcher) ProtoReflect() protoreflect.Message
- func (x *Condition_StringMatcher) Reset()
- func (m *Condition_StringMatcher) SetExactMatch(v string)
- func (m *Condition_StringMatcher) SetExactNotMatch(v string)
- func (m *Condition_StringMatcher) SetMatch(v Condition_StringMatcher_Match)
- func (m *Condition_StringMatcher) SetPireRegexMatch(v string)
- func (m *Condition_StringMatcher) SetPireRegexNotMatch(v string)
- func (m *Condition_StringMatcher) SetPrefixMatch(v string)
- func (m *Condition_StringMatcher) SetPrefixNotMatch(v string)
- func (x *Condition_StringMatcher) String() string
- type Condition_StringMatcher_ExactMatch
- type Condition_StringMatcher_ExactNotMatch
- type Condition_StringMatcher_Match
- type Condition_StringMatcher_PireRegexMatch
- type Condition_StringMatcher_PireRegexNotMatch
- type Condition_StringMatcher_PrefixMatch
- type Condition_StringMatcher_PrefixNotMatch
- type CreateSecurityProfileMetadata
- func (*CreateSecurityProfileMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecurityProfileMetadata) GetSecurityProfileId() string
- func (*CreateSecurityProfileMetadata) ProtoMessage()
- func (x *CreateSecurityProfileMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateSecurityProfileMetadata) Reset()
- func (m *CreateSecurityProfileMetadata) SetSecurityProfileId(v string)
- func (x *CreateSecurityProfileMetadata) String() string
- type CreateSecurityProfileRequest
- func (*CreateSecurityProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecurityProfileRequest) GetAdvancedRateLimiterProfileId() string
- func (x *CreateSecurityProfileRequest) GetAnalyzeRequestBody() *SecurityProfile_AnalyzeRequestBody
- func (x *CreateSecurityProfileRequest) GetCaptchaId() string
- func (x *CreateSecurityProfileRequest) GetDefaultAction() SecurityProfile_DefaultAction
- func (x *CreateSecurityProfileRequest) GetDescription() string
- func (x *CreateSecurityProfileRequest) GetFolderId() string
- func (x *CreateSecurityProfileRequest) GetLabels() map[string]string
- func (x *CreateSecurityProfileRequest) GetName() string
- func (x *CreateSecurityProfileRequest) GetSecurityRules() []*SecurityRule
- func (*CreateSecurityProfileRequest) ProtoMessage()
- func (x *CreateSecurityProfileRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSecurityProfileRequest) Reset()
- func (m *CreateSecurityProfileRequest) SetAdvancedRateLimiterProfileId(v string)
- func (m *CreateSecurityProfileRequest) SetAnalyzeRequestBody(v *SecurityProfile_AnalyzeRequestBody)
- func (m *CreateSecurityProfileRequest) SetCaptchaId(v string)
- func (m *CreateSecurityProfileRequest) SetDefaultAction(v SecurityProfile_DefaultAction)
- func (m *CreateSecurityProfileRequest) SetDescription(v string)
- func (m *CreateSecurityProfileRequest) SetFolderId(v string)
- func (m *CreateSecurityProfileRequest) SetLabels(v map[string]string)
- func (m *CreateSecurityProfileRequest) SetName(v string)
- func (m *CreateSecurityProfileRequest) SetSecurityRules(v []*SecurityRule)
- func (x *CreateSecurityProfileRequest) String() string
- type DeleteSecurityProfileMetadata
- func (*DeleteSecurityProfileMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSecurityProfileMetadata) GetSecurityProfileId() string
- func (*DeleteSecurityProfileMetadata) ProtoMessage()
- func (x *DeleteSecurityProfileMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteSecurityProfileMetadata) Reset()
- func (m *DeleteSecurityProfileMetadata) SetSecurityProfileId(v string)
- func (x *DeleteSecurityProfileMetadata) String() string
- type DeleteSecurityProfileRequest
- func (*DeleteSecurityProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSecurityProfileRequest) GetSecurityProfileId() string
- func (*DeleteSecurityProfileRequest) ProtoMessage()
- func (x *DeleteSecurityProfileRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSecurityProfileRequest) Reset()
- func (m *DeleteSecurityProfileRequest) SetSecurityProfileId(v string)
- func (x *DeleteSecurityProfileRequest) String() string
- type GetSecurityProfileRequest
- func (*GetSecurityProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecurityProfileRequest) GetSecurityProfileId() string
- func (*GetSecurityProfileRequest) ProtoMessage()
- func (x *GetSecurityProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecurityProfileRequest) Reset()
- func (m *GetSecurityProfileRequest) SetSecurityProfileId(v string)
- func (x *GetSecurityProfileRequest) String() string
- type ListSecurityProfilesRequest
- func (*ListSecurityProfilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecurityProfilesRequest) GetFolderId() string
- func (*ListSecurityProfilesRequest) ProtoMessage()
- func (x *ListSecurityProfilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSecurityProfilesRequest) Reset()
- func (m *ListSecurityProfilesRequest) SetFolderId(v string)
- func (x *ListSecurityProfilesRequest) String() string
- type ListSecurityProfilesResponse
- func (*ListSecurityProfilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecurityProfilesResponse) GetSecurityProfiles() []*SecurityProfile
- func (*ListSecurityProfilesResponse) ProtoMessage()
- func (x *ListSecurityProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSecurityProfilesResponse) Reset()
- func (m *ListSecurityProfilesResponse) SetSecurityProfiles(v []*SecurityProfile)
- func (x *ListSecurityProfilesResponse) String() string
- type SecurityProfile
- func (*SecurityProfile) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfile) GetAdvancedRateLimiterProfileId() string
- func (x *SecurityProfile) GetAnalyzeRequestBody() *SecurityProfile_AnalyzeRequestBody
- func (x *SecurityProfile) GetCaptchaId() string
- func (x *SecurityProfile) GetCloudId() string
- func (x *SecurityProfile) GetCreatedAt() *timestamppb.Timestamp
- func (x *SecurityProfile) GetDefaultAction() SecurityProfile_DefaultAction
- func (x *SecurityProfile) GetDescription() string
- func (x *SecurityProfile) GetFolderId() string
- func (x *SecurityProfile) GetId() string
- func (x *SecurityProfile) GetLabels() map[string]string
- func (x *SecurityProfile) GetName() string
- func (x *SecurityProfile) GetSecurityRules() []*SecurityRule
- func (*SecurityProfile) ProtoMessage()
- func (x *SecurityProfile) ProtoReflect() protoreflect.Message
- func (x *SecurityProfile) Reset()
- func (m *SecurityProfile) SetAdvancedRateLimiterProfileId(v string)
- func (m *SecurityProfile) SetAnalyzeRequestBody(v *SecurityProfile_AnalyzeRequestBody)
- func (m *SecurityProfile) SetCaptchaId(v string)
- func (m *SecurityProfile) SetCloudId(v string)
- func (m *SecurityProfile) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *SecurityProfile) SetDefaultAction(v SecurityProfile_DefaultAction)
- func (m *SecurityProfile) SetDescription(v string)
- func (m *SecurityProfile) SetFolderId(v string)
- func (m *SecurityProfile) SetId(v string)
- func (m *SecurityProfile) SetLabels(v map[string]string)
- func (m *SecurityProfile) SetName(v string)
- func (m *SecurityProfile) SetSecurityRules(v []*SecurityRule)
- func (x *SecurityProfile) String() string
- type SecurityProfileServiceClient
- type SecurityProfileServiceServer
- type SecurityProfile_AnalyzeRequestBody
- func (*SecurityProfile_AnalyzeRequestBody) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfile_AnalyzeRequestBody) GetSizeLimit() int64
- func (x *SecurityProfile_AnalyzeRequestBody) GetSizeLimitAction() SecurityProfile_AnalyzeRequestBody_Action
- func (*SecurityProfile_AnalyzeRequestBody) ProtoMessage()
- func (x *SecurityProfile_AnalyzeRequestBody) ProtoReflect() protoreflect.Message
- func (x *SecurityProfile_AnalyzeRequestBody) Reset()
- func (m *SecurityProfile_AnalyzeRequestBody) SetSizeLimit(v int64)
- func (m *SecurityProfile_AnalyzeRequestBody) SetSizeLimitAction(v SecurityProfile_AnalyzeRequestBody_Action)
- func (x *SecurityProfile_AnalyzeRequestBody) String() string
- type SecurityProfile_AnalyzeRequestBody_Action
- func (SecurityProfile_AnalyzeRequestBody_Action) Descriptor() protoreflect.EnumDescriptor
- func (x SecurityProfile_AnalyzeRequestBody_Action) Enum() *SecurityProfile_AnalyzeRequestBody_Action
- func (SecurityProfile_AnalyzeRequestBody_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecurityProfile_AnalyzeRequestBody_Action) Number() protoreflect.EnumNumber
- func (x SecurityProfile_AnalyzeRequestBody_Action) String() string
- func (SecurityProfile_AnalyzeRequestBody_Action) Type() protoreflect.EnumType
- type SecurityProfile_DefaultAction
- func (SecurityProfile_DefaultAction) Descriptor() protoreflect.EnumDescriptor
- func (x SecurityProfile_DefaultAction) Enum() *SecurityProfile_DefaultAction
- func (SecurityProfile_DefaultAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecurityProfile_DefaultAction) Number() protoreflect.EnumNumber
- func (x SecurityProfile_DefaultAction) String() string
- func (SecurityProfile_DefaultAction) Type() protoreflect.EnumType
- type SecurityRule
- func (*SecurityRule) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityRule) GetDescription() string
- func (x *SecurityRule) GetDryRun() bool
- func (x *SecurityRule) GetName() string
- func (x *SecurityRule) GetPriority() int64
- func (x *SecurityRule) GetRuleCondition() *SecurityRule_RuleCondition
- func (m *SecurityRule) GetRuleSpecifier() isSecurityRule_RuleSpecifier
- func (x *SecurityRule) GetSmartProtection() *SecurityRule_SmartProtection
- func (x *SecurityRule) GetWaf() *SecurityRule_Waf
- func (*SecurityRule) ProtoMessage()
- func (x *SecurityRule) ProtoReflect() protoreflect.Message
- func (x *SecurityRule) Reset()
- func (m *SecurityRule) SetDescription(v string)
- func (m *SecurityRule) SetDryRun(v bool)
- func (m *SecurityRule) SetName(v string)
- func (m *SecurityRule) SetPriority(v int64)
- func (m *SecurityRule) SetRuleCondition(v *SecurityRule_RuleCondition)
- func (m *SecurityRule) SetRuleSpecifier(v SecurityRule_RuleSpecifier)
- func (m *SecurityRule) SetSmartProtection(v *SecurityRule_SmartProtection)
- func (m *SecurityRule) SetWaf(v *SecurityRule_Waf)
- func (x *SecurityRule) String() string
- type SecurityRule_RuleCondition
- func (*SecurityRule_RuleCondition) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityRule_RuleCondition) GetAction() SecurityRule_RuleCondition_Action
- func (x *SecurityRule_RuleCondition) GetCondition() *Condition
- func (*SecurityRule_RuleCondition) ProtoMessage()
- func (x *SecurityRule_RuleCondition) ProtoReflect() protoreflect.Message
- func (x *SecurityRule_RuleCondition) Reset()
- func (m *SecurityRule_RuleCondition) SetAction(v SecurityRule_RuleCondition_Action)
- func (m *SecurityRule_RuleCondition) SetCondition(v *Condition)
- func (x *SecurityRule_RuleCondition) String() string
- type SecurityRule_RuleCondition_
- type SecurityRule_RuleCondition_Action
- func (SecurityRule_RuleCondition_Action) Descriptor() protoreflect.EnumDescriptor
- func (x SecurityRule_RuleCondition_Action) Enum() *SecurityRule_RuleCondition_Action
- func (SecurityRule_RuleCondition_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecurityRule_RuleCondition_Action) Number() protoreflect.EnumNumber
- func (x SecurityRule_RuleCondition_Action) String() string
- func (SecurityRule_RuleCondition_Action) Type() protoreflect.EnumType
- type SecurityRule_RuleSpecifier
- type SecurityRule_SmartProtection
- func (*SecurityRule_SmartProtection) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityRule_SmartProtection) GetCondition() *Condition
- func (x *SecurityRule_SmartProtection) GetMode() SecurityRule_SmartProtection_Mode
- func (*SecurityRule_SmartProtection) ProtoMessage()
- func (x *SecurityRule_SmartProtection) ProtoReflect() protoreflect.Message
- func (x *SecurityRule_SmartProtection) Reset()
- func (m *SecurityRule_SmartProtection) SetCondition(v *Condition)
- func (m *SecurityRule_SmartProtection) SetMode(v SecurityRule_SmartProtection_Mode)
- func (x *SecurityRule_SmartProtection) String() string
- type SecurityRule_SmartProtection_
- type SecurityRule_SmartProtection_Mode
- func (SecurityRule_SmartProtection_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x SecurityRule_SmartProtection_Mode) Enum() *SecurityRule_SmartProtection_Mode
- func (SecurityRule_SmartProtection_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecurityRule_SmartProtection_Mode) Number() protoreflect.EnumNumber
- func (x SecurityRule_SmartProtection_Mode) String() string
- func (SecurityRule_SmartProtection_Mode) Type() protoreflect.EnumType
- type SecurityRule_Waf
- func (*SecurityRule_Waf) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityRule_Waf) GetCondition() *Condition
- func (x *SecurityRule_Waf) GetMode() SecurityRule_Waf_Mode
- func (x *SecurityRule_Waf) GetWafProfileId() string
- func (*SecurityRule_Waf) ProtoMessage()
- func (x *SecurityRule_Waf) ProtoReflect() protoreflect.Message
- func (x *SecurityRule_Waf) Reset()
- func (m *SecurityRule_Waf) SetCondition(v *Condition)
- func (m *SecurityRule_Waf) SetMode(v SecurityRule_Waf_Mode)
- func (m *SecurityRule_Waf) SetWafProfileId(v string)
- func (x *SecurityRule_Waf) String() string
- type SecurityRule_Waf_
- type SecurityRule_Waf_Mode
- func (SecurityRule_Waf_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x SecurityRule_Waf_Mode) Enum() *SecurityRule_Waf_Mode
- func (SecurityRule_Waf_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecurityRule_Waf_Mode) Number() protoreflect.EnumNumber
- func (x SecurityRule_Waf_Mode) String() string
- func (SecurityRule_Waf_Mode) Type() protoreflect.EnumType
- type UnimplementedSecurityProfileServiceServer
- func (UnimplementedSecurityProfileServiceServer) Create(context.Context, *CreateSecurityProfileRequest) (*operation.Operation, error)
- func (UnimplementedSecurityProfileServiceServer) Delete(context.Context, *DeleteSecurityProfileRequest) (*operation.Operation, error)
- func (UnimplementedSecurityProfileServiceServer) Get(context.Context, *GetSecurityProfileRequest) (*SecurityProfile, error)
- func (UnimplementedSecurityProfileServiceServer) List(context.Context, *ListSecurityProfilesRequest) (*ListSecurityProfilesResponse, error)
- func (UnimplementedSecurityProfileServiceServer) Update(context.Context, *UpdateSecurityProfileRequest) (*operation.Operation, error)
- type UnsafeSecurityProfileServiceServer
- type UpdateSecurityProfileMetadata
- func (*UpdateSecurityProfileMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSecurityProfileMetadata) GetSecurityProfileId() string
- func (*UpdateSecurityProfileMetadata) ProtoMessage()
- func (x *UpdateSecurityProfileMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateSecurityProfileMetadata) Reset()
- func (m *UpdateSecurityProfileMetadata) SetSecurityProfileId(v string)
- func (x *UpdateSecurityProfileMetadata) String() string
- type UpdateSecurityProfileRequest
- func (*UpdateSecurityProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSecurityProfileRequest) GetAdvancedRateLimiterProfileId() string
- func (x *UpdateSecurityProfileRequest) GetAnalyzeRequestBody() *SecurityProfile_AnalyzeRequestBody
- func (x *UpdateSecurityProfileRequest) GetCaptchaId() string
- func (x *UpdateSecurityProfileRequest) GetDefaultAction() SecurityProfile_DefaultAction
- func (x *UpdateSecurityProfileRequest) GetDescription() string
- func (x *UpdateSecurityProfileRequest) GetLabels() map[string]string
- func (x *UpdateSecurityProfileRequest) GetName() string
- func (x *UpdateSecurityProfileRequest) GetSecurityProfileId() string
- func (x *UpdateSecurityProfileRequest) GetSecurityRules() []*SecurityRule
- func (x *UpdateSecurityProfileRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateSecurityProfileRequest) ProtoMessage()
- func (x *UpdateSecurityProfileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSecurityProfileRequest) Reset()
- func (m *UpdateSecurityProfileRequest) SetAdvancedRateLimiterProfileId(v string)
- func (m *UpdateSecurityProfileRequest) SetAnalyzeRequestBody(v *SecurityProfile_AnalyzeRequestBody)
- func (m *UpdateSecurityProfileRequest) SetCaptchaId(v string)
- func (m *UpdateSecurityProfileRequest) SetDefaultAction(v SecurityProfile_DefaultAction)
- func (m *UpdateSecurityProfileRequest) SetDescription(v string)
- func (m *UpdateSecurityProfileRequest) SetLabels(v map[string]string)
- func (m *UpdateSecurityProfileRequest) SetName(v string)
- func (m *UpdateSecurityProfileRequest) SetSecurityProfileId(v string)
- func (m *UpdateSecurityProfileRequest) SetSecurityRules(v []*SecurityRule)
- func (m *UpdateSecurityProfileRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateSecurityProfileRequest) String() string
Constants ¶
const ( SecurityProfileService_Get_FullMethodName = "/yandex.cloud.smartwebsecurity.v1.SecurityProfileService/Get" SecurityProfileService_List_FullMethodName = "/yandex.cloud.smartwebsecurity.v1.SecurityProfileService/List" SecurityProfileService_Create_FullMethodName = "/yandex.cloud.smartwebsecurity.v1.SecurityProfileService/Create" SecurityProfileService_Update_FullMethodName = "/yandex.cloud.smartwebsecurity.v1.SecurityProfileService/Update" SecurityProfileService_Delete_FullMethodName = "/yandex.cloud.smartwebsecurity.v1.SecurityProfileService/Delete" )
Variables ¶
var ( SecurityProfile_DefaultAction_name = map[int32]string{ 0: "DEFAULT_ACTION_UNSPECIFIED", 1: "ALLOW", 2: "DENY", } SecurityProfile_DefaultAction_value = map[string]int32{ "DEFAULT_ACTION_UNSPECIFIED": 0, "ALLOW": 1, "DENY": 2, } )
Enum value maps for SecurityProfile_DefaultAction.
var ( SecurityProfile_AnalyzeRequestBody_Action_name = map[int32]string{ 0: "ACTION_UNSPECIFIED", 1: "IGNORE", 2: "DENY", } SecurityProfile_AnalyzeRequestBody_Action_value = map[string]int32{ "ACTION_UNSPECIFIED": 0, "IGNORE": 1, "DENY": 2, } )
Enum value maps for SecurityProfile_AnalyzeRequestBody_Action.
var ( SecurityRule_RuleCondition_Action_name = map[int32]string{ 0: "ACTION_UNSPECIFIED", 1: "ALLOW", 2: "DENY", } SecurityRule_RuleCondition_Action_value = map[string]int32{ "ACTION_UNSPECIFIED": 0, "ALLOW": 1, "DENY": 2, } )
Enum value maps for SecurityRule_RuleCondition_Action.
var ( SecurityRule_SmartProtection_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "FULL", 2: "API", } SecurityRule_SmartProtection_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "FULL": 1, "API": 2, } )
Enum value maps for SecurityRule_SmartProtection_Mode.
var ( SecurityRule_Waf_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "FULL", 2: "API", } SecurityRule_Waf_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "FULL": 1, "API": 2, } )
Enum value maps for SecurityRule_Waf_Mode.
var File_yandex_cloud_smartwebsecurity_v1_security_profile_proto protoreflect.FileDescriptor
var File_yandex_cloud_smartwebsecurity_v1_security_profile_service_proto protoreflect.FileDescriptor
var SecurityProfileService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.smartwebsecurity.v1.SecurityProfileService", HandlerType: (*SecurityProfileServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _SecurityProfileService_Get_Handler, }, { MethodName: "List", Handler: _SecurityProfileService_List_Handler, }, { MethodName: "Create", Handler: _SecurityProfileService_Create_Handler, }, { MethodName: "Update", Handler: _SecurityProfileService_Update_Handler, }, { MethodName: "Delete", Handler: _SecurityProfileService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/smartwebsecurity/v1/security_profile_service.proto", }
SecurityProfileService_ServiceDesc is the grpc.ServiceDesc for SecurityProfileService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSecurityProfileServiceServer ¶
func RegisterSecurityProfileServiceServer(s grpc.ServiceRegistrar, srv SecurityProfileServiceServer)
Types ¶
type Condition ¶
type Condition struct { // Match authority (Host header). Authority *Condition_AuthorityMatcher `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // Match HTTP method. HttpMethod *Condition_HttpMethodMatcher `protobuf:"bytes,2,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"` // Match Request URI. RequestUri *Condition_RequestUriMatcher `protobuf:"bytes,3,opt,name=request_uri,json=requestUri,proto3" json:"request_uri,omitempty"` // Match HTTP headers. Headers []*Condition_HeaderMatcher `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty"` // Match IP. SourceIp *Condition_IpMatcher `protobuf:"bytes,5,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"` // contains filtered or unexported fields }
Condition object. AND semantics implied. See [documentation](/docs/smartwebsecurity/concepts/conditions) for matchers description.
func (*Condition) Descriptor
deprecated
func (*Condition) GetAuthority ¶
func (x *Condition) GetAuthority() *Condition_AuthorityMatcher
func (*Condition) GetHeaders ¶
func (x *Condition) GetHeaders() []*Condition_HeaderMatcher
func (*Condition) GetHttpMethod ¶
func (x *Condition) GetHttpMethod() *Condition_HttpMethodMatcher
func (*Condition) GetRequestUri ¶
func (x *Condition) GetRequestUri() *Condition_RequestUriMatcher
func (*Condition) GetSourceIp ¶
func (x *Condition) GetSourceIp() *Condition_IpMatcher
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶
func (x *Condition) ProtoReflect() protoreflect.Message
func (*Condition) SetAuthority ¶
func (m *Condition) SetAuthority(v *Condition_AuthorityMatcher)
func (*Condition) SetHeaders ¶
func (m *Condition) SetHeaders(v []*Condition_HeaderMatcher)
func (*Condition) SetHttpMethod ¶
func (m *Condition) SetHttpMethod(v *Condition_HttpMethodMatcher)
func (*Condition) SetRequestUri ¶
func (m *Condition) SetRequestUri(v *Condition_RequestUriMatcher)
func (*Condition) SetSourceIp ¶
func (m *Condition) SetSourceIp(v *Condition_IpMatcher)
type Condition_AuthorityMatcher ¶
type Condition_AuthorityMatcher struct { // List of authorities. OR semantics implied. Authorities []*Condition_StringMatcher `protobuf:"bytes,1,rep,name=authorities,proto3" json:"authorities,omitempty"` // contains filtered or unexported fields }
AuthorityMatcher object.
func (*Condition_AuthorityMatcher) Descriptor
deprecated
func (*Condition_AuthorityMatcher) Descriptor() ([]byte, []int)
Deprecated: Use Condition_AuthorityMatcher.ProtoReflect.Descriptor instead.
func (*Condition_AuthorityMatcher) GetAuthorities ¶
func (x *Condition_AuthorityMatcher) GetAuthorities() []*Condition_StringMatcher
func (*Condition_AuthorityMatcher) ProtoMessage ¶
func (*Condition_AuthorityMatcher) ProtoMessage()
func (*Condition_AuthorityMatcher) ProtoReflect ¶
func (x *Condition_AuthorityMatcher) ProtoReflect() protoreflect.Message
func (*Condition_AuthorityMatcher) Reset ¶
func (x *Condition_AuthorityMatcher) Reset()
func (*Condition_AuthorityMatcher) SetAuthorities ¶
func (m *Condition_AuthorityMatcher) SetAuthorities(v []*Condition_StringMatcher)
func (*Condition_AuthorityMatcher) String ¶
func (x *Condition_AuthorityMatcher) String() string
type Condition_GeoIpMatcher ¶
type Condition_GeoIpMatcher struct { // ISO 3166-1 alpha 2. OR semantics implied. Locations []string `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` // contains filtered or unexported fields }
GeoIpMatcher object.
func (*Condition_GeoIpMatcher) Descriptor
deprecated
func (*Condition_GeoIpMatcher) Descriptor() ([]byte, []int)
Deprecated: Use Condition_GeoIpMatcher.ProtoReflect.Descriptor instead.
func (*Condition_GeoIpMatcher) GetLocations ¶
func (x *Condition_GeoIpMatcher) GetLocations() []string
func (*Condition_GeoIpMatcher) ProtoMessage ¶
func (*Condition_GeoIpMatcher) ProtoMessage()
func (*Condition_GeoIpMatcher) ProtoReflect ¶
func (x *Condition_GeoIpMatcher) ProtoReflect() protoreflect.Message
func (*Condition_GeoIpMatcher) Reset ¶
func (x *Condition_GeoIpMatcher) Reset()
func (*Condition_GeoIpMatcher) SetLocations ¶
func (m *Condition_GeoIpMatcher) SetLocations(v []string)
func (*Condition_GeoIpMatcher) String ¶
func (x *Condition_GeoIpMatcher) String() string
type Condition_HeaderMatcher ¶
type Condition_HeaderMatcher struct { // Name of header (case insensitive). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Value of the header. Value *Condition_StringMatcher `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
HeaderMatcher object.
func (*Condition_HeaderMatcher) Descriptor
deprecated
func (*Condition_HeaderMatcher) Descriptor() ([]byte, []int)
Deprecated: Use Condition_HeaderMatcher.ProtoReflect.Descriptor instead.
func (*Condition_HeaderMatcher) GetName ¶
func (x *Condition_HeaderMatcher) GetName() string
func (*Condition_HeaderMatcher) GetValue ¶
func (x *Condition_HeaderMatcher) GetValue() *Condition_StringMatcher
func (*Condition_HeaderMatcher) ProtoMessage ¶
func (*Condition_HeaderMatcher) ProtoMessage()
func (*Condition_HeaderMatcher) ProtoReflect ¶
func (x *Condition_HeaderMatcher) ProtoReflect() protoreflect.Message
func (*Condition_HeaderMatcher) Reset ¶
func (x *Condition_HeaderMatcher) Reset()
func (*Condition_HeaderMatcher) SetName ¶
func (m *Condition_HeaderMatcher) SetName(v string)
func (*Condition_HeaderMatcher) SetValue ¶
func (m *Condition_HeaderMatcher) SetValue(v *Condition_StringMatcher)
func (*Condition_HeaderMatcher) String ¶
func (x *Condition_HeaderMatcher) String() string
type Condition_HttpMethodMatcher ¶
type Condition_HttpMethodMatcher struct { // List of HTTP methods. OR semantics implied. HttpMethods []*Condition_StringMatcher `protobuf:"bytes,1,rep,name=http_methods,json=httpMethods,proto3" json:"http_methods,omitempty"` // contains filtered or unexported fields }
HttpMethodMatcher object.
func (*Condition_HttpMethodMatcher) Descriptor
deprecated
func (*Condition_HttpMethodMatcher) Descriptor() ([]byte, []int)
Deprecated: Use Condition_HttpMethodMatcher.ProtoReflect.Descriptor instead.
func (*Condition_HttpMethodMatcher) GetHttpMethods ¶
func (x *Condition_HttpMethodMatcher) GetHttpMethods() []*Condition_StringMatcher
func (*Condition_HttpMethodMatcher) ProtoMessage ¶
func (*Condition_HttpMethodMatcher) ProtoMessage()
func (*Condition_HttpMethodMatcher) ProtoReflect ¶
func (x *Condition_HttpMethodMatcher) ProtoReflect() protoreflect.Message
func (*Condition_HttpMethodMatcher) Reset ¶
func (x *Condition_HttpMethodMatcher) Reset()
func (*Condition_HttpMethodMatcher) SetHttpMethods ¶
func (m *Condition_HttpMethodMatcher) SetHttpMethods(v []*Condition_StringMatcher)
func (*Condition_HttpMethodMatcher) String ¶
func (x *Condition_HttpMethodMatcher) String() string
type Condition_IpMatcher ¶
type Condition_IpMatcher struct { IpRangesMatch *Condition_IpRangesMatcher `protobuf:"bytes,1,opt,name=ip_ranges_match,json=ipRangesMatch,proto3" json:"ip_ranges_match,omitempty"` IpRangesNotMatch *Condition_IpRangesMatcher `protobuf:"bytes,2,opt,name=ip_ranges_not_match,json=ipRangesNotMatch,proto3" json:"ip_ranges_not_match,omitempty"` GeoIpMatch *Condition_GeoIpMatcher `protobuf:"bytes,3,opt,name=geo_ip_match,json=geoIpMatch,proto3" json:"geo_ip_match,omitempty"` GeoIpNotMatch *Condition_GeoIpMatcher `protobuf:"bytes,4,opt,name=geo_ip_not_match,json=geoIpNotMatch,proto3" json:"geo_ip_not_match,omitempty"` // contains filtered or unexported fields }
IpMatcher object. AND semantics implied.
func (*Condition_IpMatcher) Descriptor
deprecated
func (*Condition_IpMatcher) Descriptor() ([]byte, []int)
Deprecated: Use Condition_IpMatcher.ProtoReflect.Descriptor instead.
func (*Condition_IpMatcher) GetGeoIpMatch ¶
func (x *Condition_IpMatcher) GetGeoIpMatch() *Condition_GeoIpMatcher
func (*Condition_IpMatcher) GetGeoIpNotMatch ¶
func (x *Condition_IpMatcher) GetGeoIpNotMatch() *Condition_GeoIpMatcher
func (*Condition_IpMatcher) GetIpRangesMatch ¶
func (x *Condition_IpMatcher) GetIpRangesMatch() *Condition_IpRangesMatcher
func (*Condition_IpMatcher) GetIpRangesNotMatch ¶
func (x *Condition_IpMatcher) GetIpRangesNotMatch() *Condition_IpRangesMatcher
func (*Condition_IpMatcher) ProtoMessage ¶
func (*Condition_IpMatcher) ProtoMessage()
func (*Condition_IpMatcher) ProtoReflect ¶
func (x *Condition_IpMatcher) ProtoReflect() protoreflect.Message
func (*Condition_IpMatcher) Reset ¶
func (x *Condition_IpMatcher) Reset()
func (*Condition_IpMatcher) SetGeoIpMatch ¶
func (m *Condition_IpMatcher) SetGeoIpMatch(v *Condition_GeoIpMatcher)
func (*Condition_IpMatcher) SetGeoIpNotMatch ¶
func (m *Condition_IpMatcher) SetGeoIpNotMatch(v *Condition_GeoIpMatcher)
func (*Condition_IpMatcher) SetIpRangesMatch ¶
func (m *Condition_IpMatcher) SetIpRangesMatch(v *Condition_IpRangesMatcher)
func (*Condition_IpMatcher) SetIpRangesNotMatch ¶
func (m *Condition_IpMatcher) SetIpRangesNotMatch(v *Condition_IpRangesMatcher)
func (*Condition_IpMatcher) String ¶
func (x *Condition_IpMatcher) String() string
type Condition_IpRangesMatcher ¶
type Condition_IpRangesMatcher struct { // List of IP ranges. OR semantics implied. IpRanges []string `protobuf:"bytes,1,rep,name=ip_ranges,json=ipRanges,proto3" json:"ip_ranges,omitempty"` // v4/v6 - allow, exact IP == /32 or /128 range // contains filtered or unexported fields }
IpRangesMatcher object.
func (*Condition_IpRangesMatcher) Descriptor
deprecated
func (*Condition_IpRangesMatcher) Descriptor() ([]byte, []int)
Deprecated: Use Condition_IpRangesMatcher.ProtoReflect.Descriptor instead.
func (*Condition_IpRangesMatcher) GetIpRanges ¶
func (x *Condition_IpRangesMatcher) GetIpRanges() []string
func (*Condition_IpRangesMatcher) ProtoMessage ¶
func (*Condition_IpRangesMatcher) ProtoMessage()
func (*Condition_IpRangesMatcher) ProtoReflect ¶
func (x *Condition_IpRangesMatcher) ProtoReflect() protoreflect.Message
func (*Condition_IpRangesMatcher) Reset ¶
func (x *Condition_IpRangesMatcher) Reset()
func (*Condition_IpRangesMatcher) SetIpRanges ¶
func (m *Condition_IpRangesMatcher) SetIpRanges(v []string)
func (*Condition_IpRangesMatcher) String ¶
func (x *Condition_IpRangesMatcher) String() string
type Condition_QueryMatcher ¶
type Condition_QueryMatcher struct { // Key of the query parameter. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Value of the query parameter. Value *Condition_StringMatcher `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
QueryMatcher object.
func (*Condition_QueryMatcher) Descriptor
deprecated
func (*Condition_QueryMatcher) Descriptor() ([]byte, []int)
Deprecated: Use Condition_QueryMatcher.ProtoReflect.Descriptor instead.
func (*Condition_QueryMatcher) GetKey ¶
func (x *Condition_QueryMatcher) GetKey() string
func (*Condition_QueryMatcher) GetValue ¶
func (x *Condition_QueryMatcher) GetValue() *Condition_StringMatcher
func (*Condition_QueryMatcher) ProtoMessage ¶
func (*Condition_QueryMatcher) ProtoMessage()
func (*Condition_QueryMatcher) ProtoReflect ¶
func (x *Condition_QueryMatcher) ProtoReflect() protoreflect.Message
func (*Condition_QueryMatcher) Reset ¶
func (x *Condition_QueryMatcher) Reset()
func (*Condition_QueryMatcher) SetKey ¶
func (m *Condition_QueryMatcher) SetKey(v string)
func (*Condition_QueryMatcher) SetValue ¶
func (m *Condition_QueryMatcher) SetValue(v *Condition_StringMatcher)
func (*Condition_QueryMatcher) String ¶
func (x *Condition_QueryMatcher) String() string
type Condition_RequestUriMatcher ¶
type Condition_RequestUriMatcher struct { // Path of the URI [RFC3986](https://datatracker.ietf.org/doc/html/rfc3986#section-3.3). Path *Condition_StringMatcher `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // List of query matchers. AND semantics implied. Queries []*Condition_QueryMatcher `protobuf:"bytes,2,rep,name=queries,proto3" json:"queries,omitempty"` // contains filtered or unexported fields }
RequestUriMatcher object. AND semantics implied.
func (*Condition_RequestUriMatcher) Descriptor
deprecated
func (*Condition_RequestUriMatcher) Descriptor() ([]byte, []int)
Deprecated: Use Condition_RequestUriMatcher.ProtoReflect.Descriptor instead.
func (*Condition_RequestUriMatcher) GetPath ¶
func (x *Condition_RequestUriMatcher) GetPath() *Condition_StringMatcher
func (*Condition_RequestUriMatcher) GetQueries ¶
func (x *Condition_RequestUriMatcher) GetQueries() []*Condition_QueryMatcher
func (*Condition_RequestUriMatcher) ProtoMessage ¶
func (*Condition_RequestUriMatcher) ProtoMessage()
func (*Condition_RequestUriMatcher) ProtoReflect ¶
func (x *Condition_RequestUriMatcher) ProtoReflect() protoreflect.Message
func (*Condition_RequestUriMatcher) Reset ¶
func (x *Condition_RequestUriMatcher) Reset()
func (*Condition_RequestUriMatcher) SetPath ¶
func (m *Condition_RequestUriMatcher) SetPath(v *Condition_StringMatcher)
func (*Condition_RequestUriMatcher) SetQueries ¶
func (m *Condition_RequestUriMatcher) SetQueries(v []*Condition_QueryMatcher)
func (*Condition_RequestUriMatcher) String ¶
func (x *Condition_RequestUriMatcher) String() string
type Condition_StringMatcher ¶
type Condition_StringMatcher struct { // Types that are assignable to Match: // // *Condition_StringMatcher_ExactMatch // *Condition_StringMatcher_ExactNotMatch // *Condition_StringMatcher_PrefixMatch // *Condition_StringMatcher_PrefixNotMatch // *Condition_StringMatcher_PireRegexMatch // *Condition_StringMatcher_PireRegexNotMatch Match isCondition_StringMatcher_Match `protobuf_oneof:"match"` // contains filtered or unexported fields }
StringMatcher object.
func (*Condition_StringMatcher) Descriptor
deprecated
func (*Condition_StringMatcher) Descriptor() ([]byte, []int)
Deprecated: Use Condition_StringMatcher.ProtoReflect.Descriptor instead.
func (*Condition_StringMatcher) GetExactMatch ¶
func (x *Condition_StringMatcher) GetExactMatch() string
func (*Condition_StringMatcher) GetExactNotMatch ¶
func (x *Condition_StringMatcher) GetExactNotMatch() string
func (*Condition_StringMatcher) GetMatch ¶
func (m *Condition_StringMatcher) GetMatch() isCondition_StringMatcher_Match
func (*Condition_StringMatcher) GetPireRegexMatch ¶
func (x *Condition_StringMatcher) GetPireRegexMatch() string
func (*Condition_StringMatcher) GetPireRegexNotMatch ¶
func (x *Condition_StringMatcher) GetPireRegexNotMatch() string
func (*Condition_StringMatcher) GetPrefixMatch ¶
func (x *Condition_StringMatcher) GetPrefixMatch() string
func (*Condition_StringMatcher) GetPrefixNotMatch ¶
func (x *Condition_StringMatcher) GetPrefixNotMatch() string
func (*Condition_StringMatcher) ProtoMessage ¶
func (*Condition_StringMatcher) ProtoMessage()
func (*Condition_StringMatcher) ProtoReflect ¶
func (x *Condition_StringMatcher) ProtoReflect() protoreflect.Message
func (*Condition_StringMatcher) Reset ¶
func (x *Condition_StringMatcher) Reset()
func (*Condition_StringMatcher) SetExactMatch ¶
func (m *Condition_StringMatcher) SetExactMatch(v string)
func (*Condition_StringMatcher) SetExactNotMatch ¶
func (m *Condition_StringMatcher) SetExactNotMatch(v string)
func (*Condition_StringMatcher) SetMatch ¶
func (m *Condition_StringMatcher) SetMatch(v Condition_StringMatcher_Match)
func (*Condition_StringMatcher) SetPireRegexMatch ¶
func (m *Condition_StringMatcher) SetPireRegexMatch(v string)
func (*Condition_StringMatcher) SetPireRegexNotMatch ¶
func (m *Condition_StringMatcher) SetPireRegexNotMatch(v string)
func (*Condition_StringMatcher) SetPrefixMatch ¶
func (m *Condition_StringMatcher) SetPrefixMatch(v string)
func (*Condition_StringMatcher) SetPrefixNotMatch ¶
func (m *Condition_StringMatcher) SetPrefixNotMatch(v string)
func (*Condition_StringMatcher) String ¶
func (x *Condition_StringMatcher) String() string
type Condition_StringMatcher_ExactMatch ¶
type Condition_StringMatcher_ExactMatch struct {
ExactMatch string `protobuf:"bytes,1,opt,name=exact_match,json=exactMatch,proto3,oneof"`
}
type Condition_StringMatcher_ExactNotMatch ¶
type Condition_StringMatcher_ExactNotMatch struct {
ExactNotMatch string `protobuf:"bytes,2,opt,name=exact_not_match,json=exactNotMatch,proto3,oneof"`
}
type Condition_StringMatcher_Match ¶
type Condition_StringMatcher_Match = isCondition_StringMatcher_Match
type Condition_StringMatcher_PireRegexMatch ¶
type Condition_StringMatcher_PireRegexMatch struct {
PireRegexMatch string `protobuf:"bytes,5,opt,name=pire_regex_match,json=pireRegexMatch,proto3,oneof"`
}
type Condition_StringMatcher_PireRegexNotMatch ¶
type Condition_StringMatcher_PireRegexNotMatch struct {
PireRegexNotMatch string `protobuf:"bytes,6,opt,name=pire_regex_not_match,json=pireRegexNotMatch,proto3,oneof"`
}
type Condition_StringMatcher_PrefixMatch ¶
type Condition_StringMatcher_PrefixMatch struct {
PrefixMatch string `protobuf:"bytes,3,opt,name=prefix_match,json=prefixMatch,proto3,oneof"`
}
type Condition_StringMatcher_PrefixNotMatch ¶
type Condition_StringMatcher_PrefixNotMatch struct {
PrefixNotMatch string `protobuf:"bytes,4,opt,name=prefix_not_match,json=prefixNotMatch,proto3,oneof"`
}
type CreateSecurityProfileMetadata ¶
type CreateSecurityProfileMetadata struct { // ID of the security profile that is being created. SecurityProfileId string `protobuf:"bytes,1,opt,name=security_profile_id,json=securityProfileId,proto3" json:"security_profile_id,omitempty"` // contains filtered or unexported fields }
func (*CreateSecurityProfileMetadata) Descriptor
deprecated
func (*CreateSecurityProfileMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateSecurityProfileMetadata.ProtoReflect.Descriptor instead.
func (*CreateSecurityProfileMetadata) GetSecurityProfileId ¶
func (x *CreateSecurityProfileMetadata) GetSecurityProfileId() string
func (*CreateSecurityProfileMetadata) ProtoMessage ¶
func (*CreateSecurityProfileMetadata) ProtoMessage()
func (*CreateSecurityProfileMetadata) ProtoReflect ¶
func (x *CreateSecurityProfileMetadata) ProtoReflect() protoreflect.Message
func (*CreateSecurityProfileMetadata) Reset ¶
func (x *CreateSecurityProfileMetadata) Reset()
func (*CreateSecurityProfileMetadata) SetSecurityProfileId ¶
func (m *CreateSecurityProfileMetadata) SetSecurityProfileId(v string)
func (*CreateSecurityProfileMetadata) String ¶
func (x *CreateSecurityProfileMetadata) String() string
type CreateSecurityProfileRequest ¶
type CreateSecurityProfileRequest struct { // ID of the folder to create a security 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 security 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 security profile. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Action to perform if none of rules matched. DefaultAction SecurityProfile_DefaultAction `` /* 169-byte string literal not displayed */ // List of security rules. SecurityRules []*SecurityRule `protobuf:"bytes,6,rep,name=security_rules,json=securityRules,proto3" json:"security_rules,omitempty"` // Captcha ID to use with this security profile. Set empty to use default. CaptchaId string `protobuf:"bytes,7,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` // Advanced rate limiter profile ID to use with this security profile. Set empty to use default. AdvancedRateLimiterProfileId string `` /* 151-byte string literal not displayed */ // Parameters for request body analyzer. AnalyzeRequestBody *SecurityProfile_AnalyzeRequestBody `protobuf:"bytes,9,opt,name=analyze_request_body,json=analyzeRequestBody,proto3" json:"analyze_request_body,omitempty"` // contains filtered or unexported fields }
func (*CreateSecurityProfileRequest) Descriptor
deprecated
func (*CreateSecurityProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSecurityProfileRequest.ProtoReflect.Descriptor instead.
func (*CreateSecurityProfileRequest) GetAdvancedRateLimiterProfileId ¶
func (x *CreateSecurityProfileRequest) GetAdvancedRateLimiterProfileId() string
func (*CreateSecurityProfileRequest) GetAnalyzeRequestBody ¶
func (x *CreateSecurityProfileRequest) GetAnalyzeRequestBody() *SecurityProfile_AnalyzeRequestBody
func (*CreateSecurityProfileRequest) GetCaptchaId ¶
func (x *CreateSecurityProfileRequest) GetCaptchaId() string
func (*CreateSecurityProfileRequest) GetDefaultAction ¶
func (x *CreateSecurityProfileRequest) GetDefaultAction() SecurityProfile_DefaultAction
func (*CreateSecurityProfileRequest) GetDescription ¶
func (x *CreateSecurityProfileRequest) GetDescription() string
func (*CreateSecurityProfileRequest) GetFolderId ¶
func (x *CreateSecurityProfileRequest) GetFolderId() string
func (*CreateSecurityProfileRequest) GetLabels ¶
func (x *CreateSecurityProfileRequest) GetLabels() map[string]string
func (*CreateSecurityProfileRequest) GetName ¶
func (x *CreateSecurityProfileRequest) GetName() string
func (*CreateSecurityProfileRequest) GetSecurityRules ¶
func (x *CreateSecurityProfileRequest) GetSecurityRules() []*SecurityRule
func (*CreateSecurityProfileRequest) ProtoMessage ¶
func (*CreateSecurityProfileRequest) ProtoMessage()
func (*CreateSecurityProfileRequest) ProtoReflect ¶
func (x *CreateSecurityProfileRequest) ProtoReflect() protoreflect.Message
func (*CreateSecurityProfileRequest) Reset ¶
func (x *CreateSecurityProfileRequest) Reset()
func (*CreateSecurityProfileRequest) SetAdvancedRateLimiterProfileId ¶
func (m *CreateSecurityProfileRequest) SetAdvancedRateLimiterProfileId(v string)
func (*CreateSecurityProfileRequest) SetAnalyzeRequestBody ¶
func (m *CreateSecurityProfileRequest) SetAnalyzeRequestBody(v *SecurityProfile_AnalyzeRequestBody)
func (*CreateSecurityProfileRequest) SetCaptchaId ¶
func (m *CreateSecurityProfileRequest) SetCaptchaId(v string)
func (*CreateSecurityProfileRequest) SetDefaultAction ¶
func (m *CreateSecurityProfileRequest) SetDefaultAction(v SecurityProfile_DefaultAction)
func (*CreateSecurityProfileRequest) SetDescription ¶
func (m *CreateSecurityProfileRequest) SetDescription(v string)
func (*CreateSecurityProfileRequest) SetFolderId ¶
func (m *CreateSecurityProfileRequest) SetFolderId(v string)
func (*CreateSecurityProfileRequest) SetLabels ¶
func (m *CreateSecurityProfileRequest) SetLabels(v map[string]string)
func (*CreateSecurityProfileRequest) SetName ¶
func (m *CreateSecurityProfileRequest) SetName(v string)
func (*CreateSecurityProfileRequest) SetSecurityRules ¶
func (m *CreateSecurityProfileRequest) SetSecurityRules(v []*SecurityRule)
func (*CreateSecurityProfileRequest) String ¶
func (x *CreateSecurityProfileRequest) String() string
type DeleteSecurityProfileMetadata ¶
type DeleteSecurityProfileMetadata struct { // ID of the SecurityProfile resource that is being deleted. SecurityProfileId string `protobuf:"bytes,1,opt,name=security_profile_id,json=securityProfileId,proto3" json:"security_profile_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteSecurityProfileMetadata) Descriptor
deprecated
func (*DeleteSecurityProfileMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSecurityProfileMetadata.ProtoReflect.Descriptor instead.
func (*DeleteSecurityProfileMetadata) GetSecurityProfileId ¶
func (x *DeleteSecurityProfileMetadata) GetSecurityProfileId() string
func (*DeleteSecurityProfileMetadata) ProtoMessage ¶
func (*DeleteSecurityProfileMetadata) ProtoMessage()
func (*DeleteSecurityProfileMetadata) ProtoReflect ¶
func (x *DeleteSecurityProfileMetadata) ProtoReflect() protoreflect.Message
func (*DeleteSecurityProfileMetadata) Reset ¶
func (x *DeleteSecurityProfileMetadata) Reset()
func (*DeleteSecurityProfileMetadata) SetSecurityProfileId ¶
func (m *DeleteSecurityProfileMetadata) SetSecurityProfileId(v string)
func (*DeleteSecurityProfileMetadata) String ¶
func (x *DeleteSecurityProfileMetadata) String() string
type DeleteSecurityProfileRequest ¶
type DeleteSecurityProfileRequest struct { // ID of the security profile to delete. SecurityProfileId string `protobuf:"bytes,1,opt,name=security_profile_id,json=securityProfileId,proto3" json:"security_profile_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteSecurityProfileRequest) Descriptor
deprecated
func (*DeleteSecurityProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSecurityProfileRequest.ProtoReflect.Descriptor instead.
func (*DeleteSecurityProfileRequest) GetSecurityProfileId ¶
func (x *DeleteSecurityProfileRequest) GetSecurityProfileId() string
func (*DeleteSecurityProfileRequest) ProtoMessage ¶
func (*DeleteSecurityProfileRequest) ProtoMessage()
func (*DeleteSecurityProfileRequest) ProtoReflect ¶
func (x *DeleteSecurityProfileRequest) ProtoReflect() protoreflect.Message
func (*DeleteSecurityProfileRequest) Reset ¶
func (x *DeleteSecurityProfileRequest) Reset()
func (*DeleteSecurityProfileRequest) SetSecurityProfileId ¶
func (m *DeleteSecurityProfileRequest) SetSecurityProfileId(v string)
func (*DeleteSecurityProfileRequest) String ¶
func (x *DeleteSecurityProfileRequest) String() string
type GetSecurityProfileRequest ¶
type GetSecurityProfileRequest struct { // ID of the SecurityProfile resource to return. SecurityProfileId string `protobuf:"bytes,1,opt,name=security_profile_id,json=securityProfileId,proto3" json:"security_profile_id,omitempty"` // contains filtered or unexported fields }
func (*GetSecurityProfileRequest) Descriptor
deprecated
func (*GetSecurityProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSecurityProfileRequest.ProtoReflect.Descriptor instead.
func (*GetSecurityProfileRequest) GetSecurityProfileId ¶
func (x *GetSecurityProfileRequest) GetSecurityProfileId() string
func (*GetSecurityProfileRequest) ProtoMessage ¶
func (*GetSecurityProfileRequest) ProtoMessage()
func (*GetSecurityProfileRequest) ProtoReflect ¶
func (x *GetSecurityProfileRequest) ProtoReflect() protoreflect.Message
func (*GetSecurityProfileRequest) Reset ¶
func (x *GetSecurityProfileRequest) Reset()
func (*GetSecurityProfileRequest) SetSecurityProfileId ¶
func (m *GetSecurityProfileRequest) SetSecurityProfileId(v string)
func (*GetSecurityProfileRequest) String ¶
func (x *GetSecurityProfileRequest) String() string
type ListSecurityProfilesRequest ¶
type ListSecurityProfilesRequest struct { // ID of the folder that the security profile belongs to. // Currently page_size, page_token, filter and order_by are not supported and List method will return all security 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 (*ListSecurityProfilesRequest) Descriptor
deprecated
func (*ListSecurityProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSecurityProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListSecurityProfilesRequest) GetFolderId ¶
func (x *ListSecurityProfilesRequest) GetFolderId() string
func (*ListSecurityProfilesRequest) ProtoMessage ¶
func (*ListSecurityProfilesRequest) ProtoMessage()
func (*ListSecurityProfilesRequest) ProtoReflect ¶
func (x *ListSecurityProfilesRequest) ProtoReflect() protoreflect.Message
func (*ListSecurityProfilesRequest) Reset ¶
func (x *ListSecurityProfilesRequest) Reset()
func (*ListSecurityProfilesRequest) SetFolderId ¶
func (m *ListSecurityProfilesRequest) SetFolderId(v string)
func (*ListSecurityProfilesRequest) String ¶
func (x *ListSecurityProfilesRequest) String() string
type ListSecurityProfilesResponse ¶
type ListSecurityProfilesResponse struct { // List of SecurityProfile resources. // Currently next_page_token is not supported and List method will return all security profiles in the folder. SecurityProfiles []*SecurityProfile `protobuf:"bytes,1,rep,name=security_profiles,json=securityProfiles,proto3" json:"security_profiles,omitempty"` // contains filtered or unexported fields }
func (*ListSecurityProfilesResponse) Descriptor
deprecated
func (*ListSecurityProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSecurityProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListSecurityProfilesResponse) GetSecurityProfiles ¶
func (x *ListSecurityProfilesResponse) GetSecurityProfiles() []*SecurityProfile
func (*ListSecurityProfilesResponse) ProtoMessage ¶
func (*ListSecurityProfilesResponse) ProtoMessage()
func (*ListSecurityProfilesResponse) ProtoReflect ¶
func (x *ListSecurityProfilesResponse) ProtoReflect() protoreflect.Message
func (*ListSecurityProfilesResponse) Reset ¶
func (x *ListSecurityProfilesResponse) Reset()
func (*ListSecurityProfilesResponse) SetSecurityProfiles ¶
func (m *ListSecurityProfilesResponse) SetSecurityProfiles(v []*SecurityProfile)
func (*ListSecurityProfilesResponse) String ¶
func (x *ListSecurityProfilesResponse) String() string
type SecurityProfile ¶
type SecurityProfile struct { // ID of the security profile. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the folder that the security 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 security 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 security profile. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Action to perform if none of rules matched. DefaultAction SecurityProfile_DefaultAction `` /* 169-byte string literal not displayed */ // List of security rules. SecurityRules []*SecurityRule `protobuf:"bytes,7,rep,name=security_rules,json=securityRules,proto3" json:"security_rules,omitempty"` // Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // ID of the cloud that the security profile belongs to. CloudId string `protobuf:"bytes,10,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` // Captcha ID to use with this security profile. Set empty to use default. CaptchaId string `protobuf:"bytes,11,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` // Advanced rate limiter profile ID to use with this security profile. Set empty to use default. AdvancedRateLimiterProfileId string `` /* 152-byte string literal not displayed */ // Parameters for request body analyzer. AnalyzeRequestBody *SecurityProfile_AnalyzeRequestBody `protobuf:"bytes,13,opt,name=analyze_request_body,json=analyzeRequestBody,proto3" json:"analyze_request_body,omitempty"` // contains filtered or unexported fields }
A SecurityProfile resource.
func (*SecurityProfile) Descriptor
deprecated
func (*SecurityProfile) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfile.ProtoReflect.Descriptor instead.
func (*SecurityProfile) GetAdvancedRateLimiterProfileId ¶
func (x *SecurityProfile) GetAdvancedRateLimiterProfileId() string
func (*SecurityProfile) GetAnalyzeRequestBody ¶
func (x *SecurityProfile) GetAnalyzeRequestBody() *SecurityProfile_AnalyzeRequestBody
func (*SecurityProfile) GetCaptchaId ¶
func (x *SecurityProfile) GetCaptchaId() string
func (*SecurityProfile) GetCloudId ¶
func (x *SecurityProfile) GetCloudId() string
func (*SecurityProfile) GetCreatedAt ¶
func (x *SecurityProfile) GetCreatedAt() *timestamppb.Timestamp
func (*SecurityProfile) GetDefaultAction ¶
func (x *SecurityProfile) GetDefaultAction() SecurityProfile_DefaultAction
func (*SecurityProfile) GetDescription ¶
func (x *SecurityProfile) GetDescription() string
func (*SecurityProfile) GetFolderId ¶
func (x *SecurityProfile) GetFolderId() string
func (*SecurityProfile) GetId ¶
func (x *SecurityProfile) GetId() string
func (*SecurityProfile) GetLabels ¶
func (x *SecurityProfile) GetLabels() map[string]string
func (*SecurityProfile) GetName ¶
func (x *SecurityProfile) GetName() string
func (*SecurityProfile) GetSecurityRules ¶
func (x *SecurityProfile) GetSecurityRules() []*SecurityRule
func (*SecurityProfile) ProtoMessage ¶
func (*SecurityProfile) ProtoMessage()
func (*SecurityProfile) ProtoReflect ¶
func (x *SecurityProfile) ProtoReflect() protoreflect.Message
func (*SecurityProfile) Reset ¶
func (x *SecurityProfile) Reset()
func (*SecurityProfile) SetAdvancedRateLimiterProfileId ¶
func (m *SecurityProfile) SetAdvancedRateLimiterProfileId(v string)
func (*SecurityProfile) SetAnalyzeRequestBody ¶
func (m *SecurityProfile) SetAnalyzeRequestBody(v *SecurityProfile_AnalyzeRequestBody)
func (*SecurityProfile) SetCaptchaId ¶
func (m *SecurityProfile) SetCaptchaId(v string)
func (*SecurityProfile) SetCloudId ¶
func (m *SecurityProfile) SetCloudId(v string)
func (*SecurityProfile) SetCreatedAt ¶
func (m *SecurityProfile) SetCreatedAt(v *timestamppb.Timestamp)
func (*SecurityProfile) SetDefaultAction ¶
func (m *SecurityProfile) SetDefaultAction(v SecurityProfile_DefaultAction)
func (*SecurityProfile) SetDescription ¶
func (m *SecurityProfile) SetDescription(v string)
func (*SecurityProfile) SetFolderId ¶
func (m *SecurityProfile) SetFolderId(v string)
func (*SecurityProfile) SetId ¶
func (m *SecurityProfile) SetId(v string)
func (*SecurityProfile) SetLabels ¶
func (m *SecurityProfile) SetLabels(v map[string]string)
func (*SecurityProfile) SetName ¶
func (m *SecurityProfile) SetName(v string)
func (*SecurityProfile) SetSecurityRules ¶
func (m *SecurityProfile) SetSecurityRules(v []*SecurityRule)
func (*SecurityProfile) String ¶
func (x *SecurityProfile) String() string
type SecurityProfileServiceClient ¶
type SecurityProfileServiceClient interface { // Returns the specified SecurityProfile resource. Get(ctx context.Context, in *GetSecurityProfileRequest, opts ...grpc.CallOption) (*SecurityProfile, error) // Retrieves the list of SecurityProfile resources in the specified folder. List(ctx context.Context, in *ListSecurityProfilesRequest, opts ...grpc.CallOption) (*ListSecurityProfilesResponse, error) // Creates a security profile in the specified folder using the data specified in the request. Create(ctx context.Context, in *CreateSecurityProfileRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified security profile. Update(ctx context.Context, in *UpdateSecurityProfileRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified security profile. Delete(ctx context.Context, in *DeleteSecurityProfileRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
SecurityProfileServiceClient is the client API for SecurityProfileService 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 SecurityProfile resources.
func NewSecurityProfileServiceClient ¶
func NewSecurityProfileServiceClient(cc grpc.ClientConnInterface) SecurityProfileServiceClient
type SecurityProfileServiceServer ¶
type SecurityProfileServiceServer interface { // Returns the specified SecurityProfile resource. Get(context.Context, *GetSecurityProfileRequest) (*SecurityProfile, error) // Retrieves the list of SecurityProfile resources in the specified folder. List(context.Context, *ListSecurityProfilesRequest) (*ListSecurityProfilesResponse, error) // Creates a security profile in the specified folder using the data specified in the request. Create(context.Context, *CreateSecurityProfileRequest) (*operation.Operation, error) // Updates the specified security profile. Update(context.Context, *UpdateSecurityProfileRequest) (*operation.Operation, error) // Deletes the specified security profile. Delete(context.Context, *DeleteSecurityProfileRequest) (*operation.Operation, error) }
SecurityProfileServiceServer is the server API for SecurityProfileService service. All implementations should embed UnimplementedSecurityProfileServiceServer for forward compatibility.
A set of methods for managing SecurityProfile resources.
type SecurityProfile_AnalyzeRequestBody ¶
type SecurityProfile_AnalyzeRequestBody struct { // Maximum size of body to pass to analyzer. In kilobytes. SizeLimit int64 `protobuf:"varint,1,opt,name=size_limit,json=sizeLimit,proto3" json:"size_limit,omitempty"` // Action to perform if maximum size of body exceeded. SizeLimitAction SecurityProfile_AnalyzeRequestBody_Action `` /* 189-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SecurityProfile_AnalyzeRequestBody) Descriptor
deprecated
func (*SecurityProfile_AnalyzeRequestBody) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfile_AnalyzeRequestBody.ProtoReflect.Descriptor instead.
func (*SecurityProfile_AnalyzeRequestBody) GetSizeLimit ¶
func (x *SecurityProfile_AnalyzeRequestBody) GetSizeLimit() int64
func (*SecurityProfile_AnalyzeRequestBody) GetSizeLimitAction ¶
func (x *SecurityProfile_AnalyzeRequestBody) GetSizeLimitAction() SecurityProfile_AnalyzeRequestBody_Action
func (*SecurityProfile_AnalyzeRequestBody) ProtoMessage ¶
func (*SecurityProfile_AnalyzeRequestBody) ProtoMessage()
func (*SecurityProfile_AnalyzeRequestBody) ProtoReflect ¶
func (x *SecurityProfile_AnalyzeRequestBody) ProtoReflect() protoreflect.Message
func (*SecurityProfile_AnalyzeRequestBody) Reset ¶
func (x *SecurityProfile_AnalyzeRequestBody) Reset()
func (*SecurityProfile_AnalyzeRequestBody) SetSizeLimit ¶
func (m *SecurityProfile_AnalyzeRequestBody) SetSizeLimit(v int64)
func (*SecurityProfile_AnalyzeRequestBody) SetSizeLimitAction ¶
func (m *SecurityProfile_AnalyzeRequestBody) SetSizeLimitAction(v SecurityProfile_AnalyzeRequestBody_Action)
func (*SecurityProfile_AnalyzeRequestBody) String ¶
func (x *SecurityProfile_AnalyzeRequestBody) String() string
type SecurityProfile_AnalyzeRequestBody_Action ¶
type SecurityProfile_AnalyzeRequestBody_Action int32
Action to perform if maximum size of body exceeded.
const ( SecurityProfile_AnalyzeRequestBody_ACTION_UNSPECIFIED SecurityProfile_AnalyzeRequestBody_Action = 0 // Ignore body. SecurityProfile_AnalyzeRequestBody_IGNORE SecurityProfile_AnalyzeRequestBody_Action = 1 // Deny request. SecurityProfile_AnalyzeRequestBody_DENY SecurityProfile_AnalyzeRequestBody_Action = 2 )
func (SecurityProfile_AnalyzeRequestBody_Action) Descriptor ¶
func (SecurityProfile_AnalyzeRequestBody_Action) Descriptor() protoreflect.EnumDescriptor
func (SecurityProfile_AnalyzeRequestBody_Action) EnumDescriptor
deprecated
func (SecurityProfile_AnalyzeRequestBody_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecurityProfile_AnalyzeRequestBody_Action.Descriptor instead.
func (SecurityProfile_AnalyzeRequestBody_Action) Number ¶
func (x SecurityProfile_AnalyzeRequestBody_Action) Number() protoreflect.EnumNumber
func (SecurityProfile_AnalyzeRequestBody_Action) String ¶
func (x SecurityProfile_AnalyzeRequestBody_Action) String() string
func (SecurityProfile_AnalyzeRequestBody_Action) Type ¶
func (SecurityProfile_AnalyzeRequestBody_Action) Type() protoreflect.EnumType
type SecurityProfile_DefaultAction ¶
type SecurityProfile_DefaultAction int32
Action to perform if none of rules matched.
const ( SecurityProfile_DEFAULT_ACTION_UNSPECIFIED SecurityProfile_DefaultAction = 0 // Pass request to service. SecurityProfile_ALLOW SecurityProfile_DefaultAction = 1 // Deny request. SecurityProfile_DENY SecurityProfile_DefaultAction = 2 )
func (SecurityProfile_DefaultAction) Descriptor ¶
func (SecurityProfile_DefaultAction) Descriptor() protoreflect.EnumDescriptor
func (SecurityProfile_DefaultAction) Enum ¶
func (x SecurityProfile_DefaultAction) Enum() *SecurityProfile_DefaultAction
func (SecurityProfile_DefaultAction) EnumDescriptor
deprecated
func (SecurityProfile_DefaultAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecurityProfile_DefaultAction.Descriptor instead.
func (SecurityProfile_DefaultAction) Number ¶
func (x SecurityProfile_DefaultAction) Number() protoreflect.EnumNumber
func (SecurityProfile_DefaultAction) String ¶
func (x SecurityProfile_DefaultAction) String() string
func (SecurityProfile_DefaultAction) Type ¶
func (SecurityProfile_DefaultAction) Type() protoreflect.EnumType
type SecurityRule ¶
type SecurityRule struct { // Name of the rule. The name is unique within the security profile. 1-50 characters long. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Determines the priority for checking the incoming traffic. // Enter an integer within the range of 1 and 999999. // The rule priority must be unique within the entire security profile. // A lower numeric value means a higher priority. // The default_action has the lowest priority. Priority int64 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` // This mode allows you to test your security profile or a single rule. // For example, you can have the number of alarms for a specific rule displayed. // Note: if this option is true, no real action affecting your traffic regarding this rule will be taken. DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // Types that are assignable to RuleSpecifier: // // *SecurityRule_RuleCondition_ // *SecurityRule_SmartProtection_ // *SecurityRule_Waf_ RuleSpecifier isSecurityRule_RuleSpecifier `protobuf_oneof:"rule_specifier"` // Optional description of the rule. 0-512 characters long. Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
A SecurityRule object, see [Rules](/docs/smartwebsecurity/concepts/rules).
func (*SecurityRule) Descriptor
deprecated
func (*SecurityRule) Descriptor() ([]byte, []int)
Deprecated: Use SecurityRule.ProtoReflect.Descriptor instead.
func (*SecurityRule) GetDescription ¶
func (x *SecurityRule) GetDescription() string
func (*SecurityRule) GetDryRun ¶
func (x *SecurityRule) GetDryRun() bool
func (*SecurityRule) GetName ¶
func (x *SecurityRule) GetName() string
func (*SecurityRule) GetPriority ¶
func (x *SecurityRule) GetPriority() int64
func (*SecurityRule) GetRuleCondition ¶
func (x *SecurityRule) GetRuleCondition() *SecurityRule_RuleCondition
func (*SecurityRule) GetRuleSpecifier ¶
func (m *SecurityRule) GetRuleSpecifier() isSecurityRule_RuleSpecifier
func (*SecurityRule) GetSmartProtection ¶
func (x *SecurityRule) GetSmartProtection() *SecurityRule_SmartProtection
func (*SecurityRule) GetWaf ¶
func (x *SecurityRule) GetWaf() *SecurityRule_Waf
func (*SecurityRule) ProtoMessage ¶
func (*SecurityRule) ProtoMessage()
func (*SecurityRule) ProtoReflect ¶
func (x *SecurityRule) ProtoReflect() protoreflect.Message
func (*SecurityRule) Reset ¶
func (x *SecurityRule) Reset()
func (*SecurityRule) SetDescription ¶
func (m *SecurityRule) SetDescription(v string)
func (*SecurityRule) SetDryRun ¶
func (m *SecurityRule) SetDryRun(v bool)
func (*SecurityRule) SetName ¶
func (m *SecurityRule) SetName(v string)
func (*SecurityRule) SetPriority ¶
func (m *SecurityRule) SetPriority(v int64)
func (*SecurityRule) SetRuleCondition ¶
func (m *SecurityRule) SetRuleCondition(v *SecurityRule_RuleCondition)
func (*SecurityRule) SetRuleSpecifier ¶
func (m *SecurityRule) SetRuleSpecifier(v SecurityRule_RuleSpecifier)
func (*SecurityRule) SetSmartProtection ¶
func (m *SecurityRule) SetSmartProtection(v *SecurityRule_SmartProtection)
func (*SecurityRule) SetWaf ¶
func (m *SecurityRule) SetWaf(v *SecurityRule_Waf)
func (*SecurityRule) String ¶
func (x *SecurityRule) String() string
type SecurityRule_RuleCondition ¶
type SecurityRule_RuleCondition struct { // Action to perform if this rule matched. Action SecurityRule_RuleCondition_Action `` /* 138-byte string literal not displayed */ // The condition for matching the rule. Condition *Condition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"` // contains filtered or unexported fields }
RuleCondition object.
func (*SecurityRule_RuleCondition) Descriptor
deprecated
func (*SecurityRule_RuleCondition) Descriptor() ([]byte, []int)
Deprecated: Use SecurityRule_RuleCondition.ProtoReflect.Descriptor instead.
func (*SecurityRule_RuleCondition) GetAction ¶
func (x *SecurityRule_RuleCondition) GetAction() SecurityRule_RuleCondition_Action
func (*SecurityRule_RuleCondition) GetCondition ¶
func (x *SecurityRule_RuleCondition) GetCondition() *Condition
func (*SecurityRule_RuleCondition) ProtoMessage ¶
func (*SecurityRule_RuleCondition) ProtoMessage()
func (*SecurityRule_RuleCondition) ProtoReflect ¶
func (x *SecurityRule_RuleCondition) ProtoReflect() protoreflect.Message
func (*SecurityRule_RuleCondition) Reset ¶
func (x *SecurityRule_RuleCondition) Reset()
func (*SecurityRule_RuleCondition) SetAction ¶
func (m *SecurityRule_RuleCondition) SetAction(v SecurityRule_RuleCondition_Action)
func (*SecurityRule_RuleCondition) SetCondition ¶
func (m *SecurityRule_RuleCondition) SetCondition(v *Condition)
func (*SecurityRule_RuleCondition) String ¶
func (x *SecurityRule_RuleCondition) String() string
type SecurityRule_RuleCondition_ ¶
type SecurityRule_RuleCondition_ struct { // Rule actions, see [Rule actions](/docs/smartwebsecurity/concepts/rules#rule-action). RuleCondition *SecurityRule_RuleCondition `protobuf:"bytes,4,opt,name=rule_condition,json=ruleCondition,proto3,oneof"` }
type SecurityRule_RuleCondition_Action ¶
type SecurityRule_RuleCondition_Action int32
Type of action to perform if this rule matched.
const ( SecurityRule_RuleCondition_ACTION_UNSPECIFIED SecurityRule_RuleCondition_Action = 0 // Pass request to service. SecurityRule_RuleCondition_ALLOW SecurityRule_RuleCondition_Action = 1 // Deny request. SecurityRule_RuleCondition_DENY SecurityRule_RuleCondition_Action = 2 )
func (SecurityRule_RuleCondition_Action) Descriptor ¶
func (SecurityRule_RuleCondition_Action) Descriptor() protoreflect.EnumDescriptor
func (SecurityRule_RuleCondition_Action) Enum ¶
func (x SecurityRule_RuleCondition_Action) Enum() *SecurityRule_RuleCondition_Action
func (SecurityRule_RuleCondition_Action) EnumDescriptor
deprecated
func (SecurityRule_RuleCondition_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecurityRule_RuleCondition_Action.Descriptor instead.
func (SecurityRule_RuleCondition_Action) Number ¶
func (x SecurityRule_RuleCondition_Action) Number() protoreflect.EnumNumber
func (SecurityRule_RuleCondition_Action) String ¶
func (x SecurityRule_RuleCondition_Action) String() string
func (SecurityRule_RuleCondition_Action) Type ¶
func (SecurityRule_RuleCondition_Action) Type() protoreflect.EnumType
type SecurityRule_RuleSpecifier ¶
type SecurityRule_RuleSpecifier = isSecurityRule_RuleSpecifier
type SecurityRule_SmartProtection ¶
type SecurityRule_SmartProtection struct { // Mode of protection. Mode SecurityRule_SmartProtection_Mode `` /* 134-byte string literal not displayed */ // The condition for matching the rule. Condition *Condition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"` // contains filtered or unexported fields }
SmartProtection object.
func (*SecurityRule_SmartProtection) Descriptor
deprecated
func (*SecurityRule_SmartProtection) Descriptor() ([]byte, []int)
Deprecated: Use SecurityRule_SmartProtection.ProtoReflect.Descriptor instead.
func (*SecurityRule_SmartProtection) GetCondition ¶
func (x *SecurityRule_SmartProtection) GetCondition() *Condition
func (*SecurityRule_SmartProtection) GetMode ¶
func (x *SecurityRule_SmartProtection) GetMode() SecurityRule_SmartProtection_Mode
func (*SecurityRule_SmartProtection) ProtoMessage ¶
func (*SecurityRule_SmartProtection) ProtoMessage()
func (*SecurityRule_SmartProtection) ProtoReflect ¶
func (x *SecurityRule_SmartProtection) ProtoReflect() protoreflect.Message
func (*SecurityRule_SmartProtection) Reset ¶
func (x *SecurityRule_SmartProtection) Reset()
func (*SecurityRule_SmartProtection) SetCondition ¶
func (m *SecurityRule_SmartProtection) SetCondition(v *Condition)
func (*SecurityRule_SmartProtection) SetMode ¶
func (m *SecurityRule_SmartProtection) SetMode(v SecurityRule_SmartProtection_Mode)
func (*SecurityRule_SmartProtection) String ¶
func (x *SecurityRule_SmartProtection) String() string
type SecurityRule_SmartProtection_ ¶
type SecurityRule_SmartProtection_ struct { // Smart Protection rule, see [Smart Protection rules](/docs/smartwebsecurity/concepts/rules#smart-protection-rules). SmartProtection *SecurityRule_SmartProtection `protobuf:"bytes,5,opt,name=smart_protection,json=smartProtection,proto3,oneof"` }
type SecurityRule_SmartProtection_Mode ¶
type SecurityRule_SmartProtection_Mode int32
Mode of protection.
const ( SecurityRule_SmartProtection_MODE_UNSPECIFIED SecurityRule_SmartProtection_Mode = 0 // Full protection means that the traffic will be checked based on ML models and behavioral analysis, // with suspicious requests being sent to SmartCaptcha. SecurityRule_SmartProtection_FULL SecurityRule_SmartProtection_Mode = 1 // API protection means checking the traffic based on ML models and behavioral analysis without sending suspicious // requests to SmartCaptcha. The suspicious requests will be blocked. SecurityRule_SmartProtection_API SecurityRule_SmartProtection_Mode = 2 )
func (SecurityRule_SmartProtection_Mode) Descriptor ¶
func (SecurityRule_SmartProtection_Mode) Descriptor() protoreflect.EnumDescriptor
func (SecurityRule_SmartProtection_Mode) Enum ¶
func (x SecurityRule_SmartProtection_Mode) Enum() *SecurityRule_SmartProtection_Mode
func (SecurityRule_SmartProtection_Mode) EnumDescriptor
deprecated
func (SecurityRule_SmartProtection_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecurityRule_SmartProtection_Mode.Descriptor instead.
func (SecurityRule_SmartProtection_Mode) Number ¶
func (x SecurityRule_SmartProtection_Mode) Number() protoreflect.EnumNumber
func (SecurityRule_SmartProtection_Mode) String ¶
func (x SecurityRule_SmartProtection_Mode) String() string
func (SecurityRule_SmartProtection_Mode) Type ¶
func (SecurityRule_SmartProtection_Mode) Type() protoreflect.EnumType
type SecurityRule_Waf ¶
type SecurityRule_Waf struct { // Mode of protection. Mode SecurityRule_Waf_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=yandex.cloud.smartwebsecurity.v1.SecurityRule_Waf_Mode" json:"mode,omitempty"` // The condition for matching the rule. Condition *Condition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"` // ID of WAF profile to use in this rule. WafProfileId string `protobuf:"bytes,3,opt,name=waf_profile_id,json=wafProfileId,proto3" json:"waf_profile_id,omitempty"` // contains filtered or unexported fields }
Waf object.
func (*SecurityRule_Waf) Descriptor
deprecated
func (*SecurityRule_Waf) Descriptor() ([]byte, []int)
Deprecated: Use SecurityRule_Waf.ProtoReflect.Descriptor instead.
func (*SecurityRule_Waf) GetCondition ¶
func (x *SecurityRule_Waf) GetCondition() *Condition
func (*SecurityRule_Waf) GetMode ¶
func (x *SecurityRule_Waf) GetMode() SecurityRule_Waf_Mode
func (*SecurityRule_Waf) GetWafProfileId ¶
func (x *SecurityRule_Waf) GetWafProfileId() string
func (*SecurityRule_Waf) ProtoMessage ¶
func (*SecurityRule_Waf) ProtoMessage()
func (*SecurityRule_Waf) ProtoReflect ¶
func (x *SecurityRule_Waf) ProtoReflect() protoreflect.Message
func (*SecurityRule_Waf) Reset ¶
func (x *SecurityRule_Waf) Reset()
func (*SecurityRule_Waf) SetCondition ¶
func (m *SecurityRule_Waf) SetCondition(v *Condition)
func (*SecurityRule_Waf) SetMode ¶
func (m *SecurityRule_Waf) SetMode(v SecurityRule_Waf_Mode)
func (*SecurityRule_Waf) SetWafProfileId ¶
func (m *SecurityRule_Waf) SetWafProfileId(v string)
func (*SecurityRule_Waf) String ¶
func (x *SecurityRule_Waf) String() string
type SecurityRule_Waf_ ¶
type SecurityRule_Waf_ struct { // Web Application Firewall (WAF) rule, see [WAF rules](/docs/smartwebsecurity/concepts/rules#waf-rules). Waf *SecurityRule_Waf `protobuf:"bytes,6,opt,name=waf,proto3,oneof"` }
type SecurityRule_Waf_Mode ¶
type SecurityRule_Waf_Mode int32
Mode of protection.
const ( SecurityRule_Waf_MODE_UNSPECIFIED SecurityRule_Waf_Mode = 0 // Full protection means that the traffic will be checked based on ML models and behavioral analysis, // with suspicious requests being sent to SmartCaptcha. SecurityRule_Waf_FULL SecurityRule_Waf_Mode = 1 // API protection means checking the traffic based on ML models and behavioral analysis without sending suspicious // requests to SmartCaptcha. The suspicious requests will be blocked. SecurityRule_Waf_API SecurityRule_Waf_Mode = 2 )
func (SecurityRule_Waf_Mode) Descriptor ¶
func (SecurityRule_Waf_Mode) Descriptor() protoreflect.EnumDescriptor
func (SecurityRule_Waf_Mode) Enum ¶
func (x SecurityRule_Waf_Mode) Enum() *SecurityRule_Waf_Mode
func (SecurityRule_Waf_Mode) EnumDescriptor
deprecated
func (SecurityRule_Waf_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecurityRule_Waf_Mode.Descriptor instead.
func (SecurityRule_Waf_Mode) Number ¶
func (x SecurityRule_Waf_Mode) Number() protoreflect.EnumNumber
func (SecurityRule_Waf_Mode) String ¶
func (x SecurityRule_Waf_Mode) String() string
func (SecurityRule_Waf_Mode) Type ¶
func (SecurityRule_Waf_Mode) Type() protoreflect.EnumType
type UnimplementedSecurityProfileServiceServer ¶
type UnimplementedSecurityProfileServiceServer struct{}
UnimplementedSecurityProfileServiceServer 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.
func (UnimplementedSecurityProfileServiceServer) Create ¶
func (UnimplementedSecurityProfileServiceServer) Create(context.Context, *CreateSecurityProfileRequest) (*operation.Operation, error)
func (UnimplementedSecurityProfileServiceServer) Delete ¶
func (UnimplementedSecurityProfileServiceServer) Delete(context.Context, *DeleteSecurityProfileRequest) (*operation.Operation, error)
func (UnimplementedSecurityProfileServiceServer) Update ¶
func (UnimplementedSecurityProfileServiceServer) Update(context.Context, *UpdateSecurityProfileRequest) (*operation.Operation, error)
type UnsafeSecurityProfileServiceServer ¶
type UnsafeSecurityProfileServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSecurityProfileServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecurityProfileServiceServer will result in compilation errors.
type UpdateSecurityProfileMetadata ¶
type UpdateSecurityProfileMetadata struct { // ID of the SecurityProfile resource that is being updated. SecurityProfileId string `protobuf:"bytes,1,opt,name=security_profile_id,json=securityProfileId,proto3" json:"security_profile_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateSecurityProfileMetadata) Descriptor
deprecated
func (*UpdateSecurityProfileMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSecurityProfileMetadata.ProtoReflect.Descriptor instead.
func (*UpdateSecurityProfileMetadata) GetSecurityProfileId ¶
func (x *UpdateSecurityProfileMetadata) GetSecurityProfileId() string
func (*UpdateSecurityProfileMetadata) ProtoMessage ¶
func (*UpdateSecurityProfileMetadata) ProtoMessage()
func (*UpdateSecurityProfileMetadata) ProtoReflect ¶
func (x *UpdateSecurityProfileMetadata) ProtoReflect() protoreflect.Message
func (*UpdateSecurityProfileMetadata) Reset ¶
func (x *UpdateSecurityProfileMetadata) Reset()
func (*UpdateSecurityProfileMetadata) SetSecurityProfileId ¶
func (m *UpdateSecurityProfileMetadata) SetSecurityProfileId(v string)
func (*UpdateSecurityProfileMetadata) String ¶
func (x *UpdateSecurityProfileMetadata) String() string
type UpdateSecurityProfileRequest ¶
type UpdateSecurityProfileRequest struct { // ID of the security profile to update. SecurityProfileId string `protobuf:"bytes,1,opt,name=security_profile_id,json=securityProfileId,proto3" json:"security_profile_id,omitempty"` // Field mask that specifies which fields of the SecurityProfile 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 security 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 security profile. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Action to perform if none of rules matched. DefaultAction SecurityProfile_DefaultAction `` /* 169-byte string literal not displayed */ // List of security rules. SecurityRules []*SecurityRule `protobuf:"bytes,7,rep,name=security_rules,json=securityRules,proto3" json:"security_rules,omitempty"` // Captcha ID to use with this security profile. Set empty to use default. CaptchaId string `protobuf:"bytes,8,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` // Advanced rate limiter profile ID to use with this security profile. Set empty to use default. AdvancedRateLimiterProfileId string `` /* 151-byte string literal not displayed */ // Parameters for request body analyzer. AnalyzeRequestBody *SecurityProfile_AnalyzeRequestBody `protobuf:"bytes,10,opt,name=analyze_request_body,json=analyzeRequestBody,proto3" json:"analyze_request_body,omitempty"` // contains filtered or unexported fields }
func (*UpdateSecurityProfileRequest) Descriptor
deprecated
func (*UpdateSecurityProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSecurityProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateSecurityProfileRequest) GetAdvancedRateLimiterProfileId ¶
func (x *UpdateSecurityProfileRequest) GetAdvancedRateLimiterProfileId() string
func (*UpdateSecurityProfileRequest) GetAnalyzeRequestBody ¶
func (x *UpdateSecurityProfileRequest) GetAnalyzeRequestBody() *SecurityProfile_AnalyzeRequestBody
func (*UpdateSecurityProfileRequest) GetCaptchaId ¶
func (x *UpdateSecurityProfileRequest) GetCaptchaId() string
func (*UpdateSecurityProfileRequest) GetDefaultAction ¶
func (x *UpdateSecurityProfileRequest) GetDefaultAction() SecurityProfile_DefaultAction
func (*UpdateSecurityProfileRequest) GetDescription ¶
func (x *UpdateSecurityProfileRequest) GetDescription() string
func (*UpdateSecurityProfileRequest) GetLabels ¶
func (x *UpdateSecurityProfileRequest) GetLabels() map[string]string
func (*UpdateSecurityProfileRequest) GetName ¶
func (x *UpdateSecurityProfileRequest) GetName() string
func (*UpdateSecurityProfileRequest) GetSecurityProfileId ¶
func (x *UpdateSecurityProfileRequest) GetSecurityProfileId() string
func (*UpdateSecurityProfileRequest) GetSecurityRules ¶
func (x *UpdateSecurityProfileRequest) GetSecurityRules() []*SecurityRule
func (*UpdateSecurityProfileRequest) GetUpdateMask ¶
func (x *UpdateSecurityProfileRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSecurityProfileRequest) ProtoMessage ¶
func (*UpdateSecurityProfileRequest) ProtoMessage()
func (*UpdateSecurityProfileRequest) ProtoReflect ¶
func (x *UpdateSecurityProfileRequest) ProtoReflect() protoreflect.Message
func (*UpdateSecurityProfileRequest) Reset ¶
func (x *UpdateSecurityProfileRequest) Reset()
func (*UpdateSecurityProfileRequest) SetAdvancedRateLimiterProfileId ¶
func (m *UpdateSecurityProfileRequest) SetAdvancedRateLimiterProfileId(v string)
func (*UpdateSecurityProfileRequest) SetAnalyzeRequestBody ¶
func (m *UpdateSecurityProfileRequest) SetAnalyzeRequestBody(v *SecurityProfile_AnalyzeRequestBody)
func (*UpdateSecurityProfileRequest) SetCaptchaId ¶
func (m *UpdateSecurityProfileRequest) SetCaptchaId(v string)
func (*UpdateSecurityProfileRequest) SetDefaultAction ¶
func (m *UpdateSecurityProfileRequest) SetDefaultAction(v SecurityProfile_DefaultAction)
func (*UpdateSecurityProfileRequest) SetDescription ¶
func (m *UpdateSecurityProfileRequest) SetDescription(v string)
func (*UpdateSecurityProfileRequest) SetLabels ¶
func (m *UpdateSecurityProfileRequest) SetLabels(v map[string]string)
func (*UpdateSecurityProfileRequest) SetName ¶
func (m *UpdateSecurityProfileRequest) SetName(v string)
func (*UpdateSecurityProfileRequest) SetSecurityProfileId ¶
func (m *UpdateSecurityProfileRequest) SetSecurityProfileId(v string)
func (*UpdateSecurityProfileRequest) SetSecurityRules ¶
func (m *UpdateSecurityProfileRequest) SetSecurityRules(v []*SecurityRule)
func (*UpdateSecurityProfileRequest) SetUpdateMask ¶
func (m *UpdateSecurityProfileRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateSecurityProfileRequest) String ¶
func (x *UpdateSecurityProfileRequest) String() string