Reference documentation and code samples for the Google Cloud Redis V1 Client class UpdateInstanceRequest.
Request for UpdateInstance.
Generated from protobuf message google.cloud.redis.v1.UpdateInstanceRequest
Namespace
Google \ Cloud \ Redis \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ update_mask |
Google\Protobuf\FieldMask
Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Instance: * |
↳ instance |
Google\Cloud\Redis\V1\Instance
Required. Update description. Only fields specified in update_mask are updated. |
getUpdateMask
Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Instance:
displayName
labels
memorySizeGb
redisConfig
replica_count
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Instance:
displayName
labels
memorySizeGb
redisConfig
replica_count
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
getInstance
Required. Update description.
Only fields specified in update_mask are updated.
Returns | |
---|---|
Type | Description |
Google\Cloud\Redis\V1\Instance|null |
hasInstance
clearInstance
setInstance
Required. Update description.
Only fields specified in update_mask are updated.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Redis\V1\Instance
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
updateMask |
Google\Protobuf\FieldMask
Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Instance:
|
instance |
Google\Cloud\Redis\V1\Instance
Required. Update description. Only fields specified in update_mask are updated. |
Returns | |
---|---|
Type | Description |
Google\Cloud\Redis\V1\UpdateInstanceRequest |