Reference documentation and code samples for the Google Cloud Filestore V1 Client class UpdateInstanceRequest.
UpdateInstanceRequest updates the settings of an instance.
Generated from protobuf message google.cloud.filestore.v1.UpdateInstanceRequest
Namespace
Google \ Cloud \ Filestore \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ update_mask |
Google\Protobuf\FieldMask
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: * "description" * "file_shares" * "labels" |
↳ instance |
Google\Cloud\Filestore\V1\Instance
Only fields specified in update_mask are updated. |
getUpdateMask
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:
- "description"
- "file_shares"
- "labels"
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
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:
- "description"
- "file_shares"
- "labels"
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
getInstance
Only fields specified in update_mask are updated.
Returns | |
---|---|
Type | Description |
Google\Cloud\Filestore\V1\Instance|null |
hasInstance
clearInstance
setInstance
Only fields specified in update_mask are updated.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Filestore\V1\Instance
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
instance |
Google\Cloud\Filestore\V1\Instance
Only fields specified in update_mask are updated. |
updateMask |
Google\Protobuf\FieldMask
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:
|
Returns | |
---|---|
Type | Description |
Google\Cloud\Filestore\V1\UpdateInstanceRequest |