Google Cloud Storage Control V2 Client - Class UpdateManagedFolderRequest (1.12.3)

Reference documentation and code samples for the Google Cloud Storage Control V2 Client class UpdateManagedFolderRequest.

Request message for UpdateManagedFolder.

Generated from protobuf message google.storage.control.v2.UpdateManagedFolderRequest

Namespace

Google \ Cloud \ Storage \ Control \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ managed_folder ManagedFolder

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

↳ update_mask Google\Protobuf\FieldMask

Optional. Update mask for managed_folder. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

↳ if_metageneration_match int|string

Optional. The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.

↳ if_metageneration_not_match int|string

Optional. The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

↳ request_id string

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

getManagedFolder

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

Returns
Type Description
ManagedFolder|null

hasManagedFolder

clearManagedFolder

setManagedFolder

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

Parameter
Name Description
var ManagedFolder
Returns
Type Description
$this

getUpdateMask

Optional. Update mask for managed_folder.

Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Update mask for managed_folder.

Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getIfMetagenerationMatch

Optional. The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.

Returns
Type Description
int|string

hasIfMetagenerationMatch

clearIfMetagenerationMatch

setIfMetagenerationMatch

Optional. The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getIfMetagenerationNotMatch

Optional. The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

Returns
Type Description
int|string

hasIfMetagenerationNotMatch

clearIfMetagenerationNotMatch

setIfMetagenerationNotMatch

Optional. The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getRequestId

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Returns
Type Description
string

setRequestId

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
managedFolder ManagedFolder

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

updateMask Google\Protobuf\FieldMask

Optional. Update mask for managed_folder. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

Returns
Type Description
UpdateManagedFolderRequest