Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::ProtectedEndpointGroup.
Configuration for API endpoints to protect with reCAPTCHA.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#protected_endpoints
def protected_endpoints() -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::ProtectedEndpoint>
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1::ProtectedEndpoint>) — Optional. List of API endpoints to automatically protect with reCAPTCHA. If any of these endpoints is invoked from a page where a key bound to this policy is installed, a reCAPTCHA token is automatically generated and attached to the request. If multiple protected endpoints match a given API endpoint, the first one in the list is used.
#protected_endpoints=
def protected_endpoints=(value) -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::ProtectedEndpoint>
Parameter
- value (::Array<::Google::Cloud::RecaptchaEnterprise::V1::ProtectedEndpoint>) — Optional. List of API endpoints to automatically protect with reCAPTCHA. If any of these endpoints is invoked from a page where a key bound to this policy is installed, a reCAPTCHA token is automatically generated and attached to the request. If multiple protected endpoints match a given API endpoint, the first one in the list is used.
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1::ProtectedEndpoint>) — Optional. List of API endpoints to automatically protect with reCAPTCHA. If any of these endpoints is invoked from a page where a key bound to this policy is installed, a reCAPTCHA token is automatically generated and attached to the request. If multiple protected endpoints match a given API endpoint, the first one in the list is used.