Send feedback
Class SecurityPolicyRecaptchaOptionsConfig (1.27.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.27.0 keyboard_arrow_down
public final class SecurityPolicyRecaptchaOptionsConfig extends GeneratedMessageV3 implements SecurityPolicyRecaptchaOptionsConfigOrBuilder
Protobuf type google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig
Static Fields
REDIRECT_SITE_KEY_FIELD_NUMBER
public static final int REDIRECT_SITE_KEY_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static SecurityPolicyRecaptchaOptionsConfig getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static SecurityPolicyRecaptchaOptionsConfig . Builder newBuilder ()
newBuilder(SecurityPolicyRecaptchaOptionsConfig prototype)
public static SecurityPolicyRecaptchaOptionsConfig . Builder newBuilder ( SecurityPolicyRecaptchaOptionsConfig prototype )
public static SecurityPolicyRecaptchaOptionsConfig parseDelimitedFrom ( InputStream input )
public static SecurityPolicyRecaptchaOptionsConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static SecurityPolicyRecaptchaOptionsConfig parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRecaptchaOptionsConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static SecurityPolicyRecaptchaOptionsConfig parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRecaptchaOptionsConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static SecurityPolicyRecaptchaOptionsConfig parseFrom ( CodedInputStream input )
public static SecurityPolicyRecaptchaOptionsConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static SecurityPolicyRecaptchaOptionsConfig parseFrom ( InputStream input )
public static SecurityPolicyRecaptchaOptionsConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static SecurityPolicyRecaptchaOptionsConfig parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRecaptchaOptionsConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<SecurityPolicyRecaptchaOptionsConfig> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public SecurityPolicyRecaptchaOptionsConfig getDefaultInstanceForType ()
getParserForType()
public Parser<SecurityPolicyRecaptchaOptionsConfig> getParserForType ()
Overrides
getRedirectSiteKey()
public String getRedirectSiteKey ()
An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.
optional string redirect_site_key = 447677034;
Returns Type Description String
The redirectSiteKey.
getRedirectSiteKeyBytes()
public ByteString getRedirectSiteKeyBytes ()
An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.
optional string redirect_site_key = 447677034;
Returns Type Description ByteString
The bytes for redirectSiteKey.
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hasRedirectSiteKey()
public boolean hasRedirectSiteKey ()
An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.
optional string redirect_site_key = 447677034;
Returns Type Description boolean
Whether the redirectSiteKey field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public SecurityPolicyRecaptchaOptionsConfig . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecurityPolicyRecaptchaOptionsConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public SecurityPolicyRecaptchaOptionsConfig . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]