Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the recaptchaenterprise v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/recaptchaenterprise +k8s:defaulter-gen=TypeMeta +groupName=recaptchaenterprise.cnrm.cloud.google.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "recaptchaenterprise.cnrm.cloud.google.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme RecaptchaEnterpriseKeyGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(RecaptchaEnterpriseKey{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type KeyAndroidSettings ¶
type KeyAndroidSettings struct { /* If set to true, it means allowed_package_names will not be enforced. */ // +optional AllowAllPackageNames *bool `json:"allowAllPackageNames,omitempty"` /* Android package names of apps allowed to use the key. Example: 'com.companyname.appname' */ // +optional AllowedPackageNames []string `json:"allowedPackageNames,omitempty"` }
func (*KeyAndroidSettings) DeepCopy ¶
func (in *KeyAndroidSettings) DeepCopy() *KeyAndroidSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyAndroidSettings.
func (*KeyAndroidSettings) DeepCopyInto ¶
func (in *KeyAndroidSettings) DeepCopyInto(out *KeyAndroidSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyIosSettings ¶
type KeyIosSettings struct { /* If set to true, it means allowed_bundle_ids will not be enforced. */ // +optional AllowAllBundleIds *bool `json:"allowAllBundleIds,omitempty"` /* iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname' */ // +optional AllowedBundleIds []string `json:"allowedBundleIds,omitempty"` }
func (*KeyIosSettings) DeepCopy ¶
func (in *KeyIosSettings) DeepCopy() *KeyIosSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyIosSettings.
func (*KeyIosSettings) DeepCopyInto ¶
func (in *KeyIosSettings) DeepCopyInto(out *KeyIosSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyTestingOptions ¶
type KeyTestingOptions struct { /* Immutable. For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values: TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE */ // +optional TestingChallenge *string `json:"testingChallenge,omitempty"` /* Immutable. All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive. */ // +optional TestingScore *float64 `json:"testingScore,omitempty"` }
func (*KeyTestingOptions) DeepCopy ¶
func (in *KeyTestingOptions) DeepCopy() *KeyTestingOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyTestingOptions.
func (*KeyTestingOptions) DeepCopyInto ¶
func (in *KeyTestingOptions) DeepCopyInto(out *KeyTestingOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyWafSettings ¶ added in v1.112.0
type KeyWafSettings struct { /* Immutable. Supported WAF features. For more information, see https://cloud.google.com/recaptcha-enterprise/docs/usecase#comparison_of_features. Possible values: CHALLENGE_PAGE, SESSION_TOKEN, ACTION_TOKEN, EXPRESS */ WafFeature string `json:"wafFeature"` /* Immutable. The WAF service that uses this key. Possible values: CA, FASTLY */ WafService string `json:"wafService"` }
func (*KeyWafSettings) DeepCopy ¶ added in v1.112.0
func (in *KeyWafSettings) DeepCopy() *KeyWafSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyWafSettings.
func (*KeyWafSettings) DeepCopyInto ¶ added in v1.112.0
func (in *KeyWafSettings) DeepCopyInto(out *KeyWafSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyWebSettings ¶
type KeyWebSettings struct { /* If set to true, it means allowed_domains will not be enforced. */ // +optional AllowAllDomains *bool `json:"allowAllDomains,omitempty"` /* If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type. */ // +optional AllowAmpTraffic *bool `json:"allowAmpTraffic,omitempty"` /* Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com' */ // +optional AllowedDomains []string `json:"allowedDomains,omitempty"` /* Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED, USABILITY, BALANCE, SECURITY */ // +optional ChallengeSecurityPreference *string `json:"challengeSecurityPreference,omitempty"` /* Immutable. Required. Describes how this key is integrated with the website. Possible values: SCORE, CHECKBOX, INVISIBLE */ IntegrationType string `json:"integrationType"` }
func (*KeyWebSettings) DeepCopy ¶
func (in *KeyWebSettings) DeepCopy() *KeyWebSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyWebSettings.
func (*KeyWebSettings) DeepCopyInto ¶
func (in *KeyWebSettings) DeepCopyInto(out *KeyWebSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecaptchaEnterpriseKey ¶
type RecaptchaEnterpriseKey struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RecaptchaEnterpriseKeySpec `json:"spec,omitempty"` Status RecaptchaEnterpriseKeyStatus `json:"status,omitempty"` }
RecaptchaEnterpriseKey is the Schema for the recaptchaenterprise API +k8s:openapi-gen=true
func (*RecaptchaEnterpriseKey) DeepCopy ¶
func (in *RecaptchaEnterpriseKey) DeepCopy() *RecaptchaEnterpriseKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecaptchaEnterpriseKey.
func (*RecaptchaEnterpriseKey) DeepCopyInto ¶
func (in *RecaptchaEnterpriseKey) DeepCopyInto(out *RecaptchaEnterpriseKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RecaptchaEnterpriseKey) DeepCopyObject ¶
func (in *RecaptchaEnterpriseKey) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RecaptchaEnterpriseKeyList ¶
type RecaptchaEnterpriseKeyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RecaptchaEnterpriseKey `json:"items"` }
RecaptchaEnterpriseKeyList contains a list of RecaptchaEnterpriseKey
func (*RecaptchaEnterpriseKeyList) DeepCopy ¶
func (in *RecaptchaEnterpriseKeyList) DeepCopy() *RecaptchaEnterpriseKeyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecaptchaEnterpriseKeyList.
func (*RecaptchaEnterpriseKeyList) DeepCopyInto ¶
func (in *RecaptchaEnterpriseKeyList) DeepCopyInto(out *RecaptchaEnterpriseKeyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RecaptchaEnterpriseKeyList) DeepCopyObject ¶
func (in *RecaptchaEnterpriseKeyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RecaptchaEnterpriseKeySpec ¶
type RecaptchaEnterpriseKeySpec struct { /* Settings for keys that can be used by Android apps. */ // +optional AndroidSettings *KeyAndroidSettings `json:"androidSettings,omitempty"` /* Human-readable display name of this key. Modifiable by user. */ DisplayName string `json:"displayName"` /* Settings for keys that can be used by iOS apps. */ // +optional IosSettings *KeyIosSettings `json:"iosSettings,omitempty"` /* Immutable. The Project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Immutable. Options for user acceptance testing. */ // +optional TestingOptions *KeyTestingOptions `json:"testingOptions,omitempty"` /* Immutable. Settings specific to keys that can be used for WAF (Web Application Firewall). */ // +optional WafSettings *KeyWafSettings `json:"wafSettings,omitempty"` /* Settings for keys that can be used by websites. */ // +optional WebSettings *KeyWebSettings `json:"webSettings,omitempty"` }
func (*RecaptchaEnterpriseKeySpec) DeepCopy ¶
func (in *RecaptchaEnterpriseKeySpec) DeepCopy() *RecaptchaEnterpriseKeySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecaptchaEnterpriseKeySpec.
func (*RecaptchaEnterpriseKeySpec) DeepCopyInto ¶
func (in *RecaptchaEnterpriseKeySpec) DeepCopyInto(out *RecaptchaEnterpriseKeySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecaptchaEnterpriseKeyStatus ¶
type RecaptchaEnterpriseKeyStatus struct { /* Conditions represent the latest available observations of the RecaptchaEnterpriseKey's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* The timestamp corresponding to the creation of this Key. */ // +optional CreateTime *string `json:"createTime,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty"` }
func (*RecaptchaEnterpriseKeyStatus) DeepCopy ¶
func (in *RecaptchaEnterpriseKeyStatus) DeepCopy() *RecaptchaEnterpriseKeyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecaptchaEnterpriseKeyStatus.
func (*RecaptchaEnterpriseKeyStatus) DeepCopyInto ¶
func (in *RecaptchaEnterpriseKeyStatus) DeepCopyInto(out *RecaptchaEnterpriseKeyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.