Google Cloud Storage Batch Operations V1 Client - Class CustomContextUpdates (0.5.0)

Reference documentation and code samples for the Google Cloud Storage Batch Operations V1 Client class CustomContextUpdates.

Describes a collection of updates to apply to custom contexts identified by key.

Generated from protobuf message google.cloud.storagebatchoperations.v1.CustomContextUpdates

Namespace

Google \ Cloud \ StorageBatchOperations \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ updates array|Google\Protobuf\Internal\MapField

Optional. Insert or update the existing custom contexts.

↳ keys_to_clear array

Optional. Custom contexts to clear by key. A key cannot be present in both updates and keys_to_clear.

getUpdates

Optional. Insert or update the existing custom contexts.

Returns
Type Description
Google\Protobuf\Internal\MapField

setUpdates

Optional. Insert or update the existing custom contexts.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getKeysToClear

Optional. Custom contexts to clear by key.

A key cannot be present in both updates and keys_to_clear.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setKeysToClear

Optional. Custom contexts to clear by key.

A key cannot be present in both updates and keys_to_clear.

Parameter
Name Description
var string[]
Returns
Type Description
$this