1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface SecurityPolicyRecaptchaOptionsConfigOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * 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. 31 * </pre> 32 * 33 * <code>optional string redirect_site_key = 447677034;</code> 34 * 35 * @return Whether the redirectSiteKey field is set. 36 */ hasRedirectSiteKey()37 boolean hasRedirectSiteKey(); 38 /** 39 * 40 * 41 * <pre> 42 * 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. 43 * </pre> 44 * 45 * <code>optional string redirect_site_key = 447677034;</code> 46 * 47 * @return The redirectSiteKey. 48 */ getRedirectSiteKey()49 java.lang.String getRedirectSiteKey(); 50 /** 51 * 52 * 53 * <pre> 54 * 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. 55 * </pre> 56 * 57 * <code>optional string redirect_site_key = 447677034;</code> 58 * 59 * @return The bytes for redirectSiteKey. 60 */ getRedirectSiteKeyBytes()61 com.google.protobuf.ByteString getRedirectSiteKeyBytes(); 62 } 63