Google Cloud Recaptcha Enterprise V1 Client - Class UpdateKeyRequest (1.7.0)

Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class UpdateKeyRequest.

The update key request message.

Generated from protobuf message google.cloud.recaptchaenterprise.v1.UpdateKeyRequest

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key Google\Cloud\RecaptchaEnterprise\V1\Key

Required. The key to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. The mask to control which fields of the key get updated. If the mask is not present, all fields will be updated.

getKey

Required. The key to update.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\Key|null

hasKey

clearKey

setKey

Required. The key to update.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\Key
Returns
TypeDescription
$this

getUpdateMask

Optional. The mask to control which fields of the key get updated. If the mask is not present, all fields will be updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The mask to control which fields of the key get updated. If the mask is not present, all fields will be updated.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
key Google\Cloud\RecaptchaEnterprise\V1\Key

Required. The key to update.

updateMask Google\Protobuf\FieldMask

Optional. The mask to control which fields of the key get updated. If the mask is not present, all fields will be updated.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\UpdateKeyRequest