Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::UpdatePolicyRequest.
The request message to update a policy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#policy
def policy() -> ::Google::Cloud::RecaptchaEnterprise::V1::Policy
Returns
-
(::Google::Cloud::RecaptchaEnterprise::V1::Policy) — Required. The Policy's name is used to identify the policy to update, in
the format
projects/{project}/keys/{key}/policy.
#policy=
def policy=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1::Policy
Parameter
-
value (::Google::Cloud::RecaptchaEnterprise::V1::Policy) — Required. The Policy's name is used to identify the policy to update, in
the format
projects/{project}/keys/{key}/policy.
Returns
-
(::Google::Cloud::RecaptchaEnterprise::V1::Policy) — Required. The Policy's name is used to identify the policy to update, in
the format
projects/{project}/keys/{key}/policy.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Optional. The mask to control which fields of the policy get updated. If the mask is not present, all fields are updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Optional. The mask to control which fields of the policy get updated. If the mask is not present, all fields are updated.
Returns
- (::Google::Protobuf::FieldMask) — Optional. The mask to control which fields of the policy get updated. If the mask is not present, all fields are updated.