Reference documentation and code samples for the Google Cloud Storage Batch Operations V1 Client class ObjectCustomContextPayload.
Describes the payload of a user defined object custom context.
Generated from protobuf message google.cloud.storagebatchoperations.v1.ObjectCustomContextPayload
Namespace
Google \ Cloud \ StorageBatchOperations \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ value |
string
The value of the object custom context. If set, |
getValue
The value of the object custom context.
If set, value must NOT be an empty string since it is a required field in
custom context. If unset, value will be ignored and no changes will be
made to the value field of the custom context payload.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasValue
clearValue
setValue
The value of the object custom context.
If set, value must NOT be an empty string since it is a required field in
custom context. If unset, value will be ignored and no changes will be
made to the value field of the custom context payload.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|