Reference documentation and code samples for the Google Cloud Storage Control V2 Client class UpdateAnywhereCacheRequest.
Request message for UpdateAnywhereCache.
Generated from protobuf message google.storage.control.v2.UpdateAnywhereCacheRequest
Namespace
Google \ Cloud \ Storage \ Control \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ anywhere_cache |
AnywhereCache
Required. The Anywhere Cache instance to be updated. |
↳ update_mask |
Google\Protobuf\FieldMask
Required. List of fields to be updated. Mutable fields of AnywhereCache include |
↳ request_id |
string
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a |
getAnywhereCache
Required. The Anywhere Cache instance to be updated.
| Returns | |
|---|---|
| Type | Description |
AnywhereCache|null |
|
hasAnywhereCache
clearAnywhereCache
setAnywhereCache
Required. The Anywhere Cache instance to be updated.
| Parameter | |
|---|---|
| Name | Description |
var |
AnywhereCache
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
Required. List of fields to be updated. Mutable fields of AnywhereCache
include ttl and admission_policy.
To specify ALL fields, specify a single field with the value *. Note: We
recommend against doing this. If a new field is introduced at a later time,
an older client updating with the * may accidentally reset the new
field's value.
Not specifying any fields is an error.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. List of fields to be updated. Mutable fields of AnywhereCache
include ttl and admission_policy.
To specify ALL fields, specify a single field with the value *. Note: We
recommend against doing this. If a new field is introduced at a later time,
an older client updating with the * may accidentally reset the new
field's value.
Not specifying any fields is an error.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequestId
Optional. A unique identifier for this request. UUID is the recommended
format, but other formats are still accepted. This request is only
idempotent if a request_id is provided.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRequestId
Optional. A unique identifier for this request. UUID is the recommended
format, but other formats are still accepted. This request is only
idempotent if a request_id is provided.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
anywhereCache |
AnywhereCache
Required. The Anywhere Cache instance to be updated. |
updateMask |
Google\Protobuf\FieldMask
Required. List of fields to be updated. Mutable fields of AnywhereCache
include To specify ALL fields, specify a single field with the value Not specifying any fields is an error. |
| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest |
|