Google Cloud Storage Control V2 Client - Class GetStorageLayoutRequest (0.1.1)

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

Request message for GetStorageLayout.

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

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 of the StorageLayout resource. Format: projects/{project}/buckets/{bucket}/storageLayout

↳ prefix string

An optional prefix used for permission check. It is useful when the caller only has limited permissions under a specific prefix.

↳ 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 of the StorageLayout resource.

Format: projects/{project}/buckets/{bucket}/storageLayout

Returns
Type Description
string

setName

Required. The name of the StorageLayout resource.

Format: projects/{project}/buckets/{bucket}/storageLayout

Parameter
Name Description
var string
Returns
Type Description
$this

getPrefix

An optional prefix used for permission check. It is useful when the caller only has limited permissions under a specific prefix.

Returns
Type Description
string

setPrefix

An optional prefix used for permission check. It is useful when the caller only has limited permissions under a specific prefix.

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 of the StorageLayout resource. Format: projects/{project}/buckets/{bucket}/storageLayout Please see Google\Cloud\Storage\Control\V2\StorageControlClient::storageLayoutName() for help formatting this field.

Returns
Type Description
Google\Cloud\Storage\Control\V2\GetStorageLayoutRequest