Reference documentation and code samples for the Google Cloud Storage Control V2 Client class GetAnywhereCacheRequest.
Request message for GetAnywhereCache.
Generated from protobuf messagegoogle.storage.control.v2.GetAnywhereCacheRequest
Namespace
Google \ Cloud \ Storage \ Control \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name field in the request should be:projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}
↳ request_id
string
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.
getName
Required. The name field in the request should be:projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}
Returns
Type
Description
string
setName
Required. The name field in the request should be:projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}
Parameter
Name
Description
var
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
Parameter
Name
Description
name
string
Required. The name field in the request should be:projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}Please seeStorageControlClient::anywhereCacheName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Storage Control V2 Client - Class GetAnywhereCacheRequest (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-storage-control/latest/V2.GetAnywhereCacheRequest)\n- [1.4.0](/php/docs/reference/cloud-storage-control/1.4.0/V2.GetAnywhereCacheRequest)\n- [1.3.0](/php/docs/reference/cloud-storage-control/1.3.0/V2.GetAnywhereCacheRequest)\n- [1.1.0](/php/docs/reference/cloud-storage-control/1.1.0/V2.GetAnywhereCacheRequest)\n- [1.0.3](/php/docs/reference/cloud-storage-control/1.0.3/V2.GetAnywhereCacheRequest)\n- [0.2.1](/php/docs/reference/cloud-storage-control/0.2.1/V2.GetAnywhereCacheRequest)\n- [0.1.1](/php/docs/reference/cloud-storage-control/0.1.1/V2.GetAnywhereCacheRequest) \nReference documentation and code samples for the Google Cloud Storage Control V2 Client class GetAnywhereCacheRequest.\n\nRequest message for GetAnywhereCache.\n\nGenerated from protobuf message `google.storage.control.v2.GetAnywhereCacheRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Storage \\\\ Control \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The name field in the request should be:\n`projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`\n\n### setName\n\nRequired. The name field in the request should be:\n`projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`\n\n### getRequestId\n\nOptional. A unique identifier for this request. UUID is the recommended\nformat, but other formats are still accepted.\n\n### setRequestId\n\nOptional. A unique identifier for this request. UUID is the recommended\nformat, but other formats are still accepted.\n\n### static::build"]]