Reference documentation and code samples for the Google Cloud Storage Control V2 Client class CreateManagedFolderRequest.
Request message for CreateManagedFolder.
Generated from protobuf message google.storage.control.v2.CreateManagedFolderRequest
Namespace
Google \ Cloud \ Storage \ Control \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Name of the bucket this managed folder belongs to. |
↳ managed_folder |
ManagedFolder
Required. Properties of the managed folder being created. The bucket and managed folder names are specified in the |
↳ managed_folder_id |
string
Required. The name of the managed folder. It uses a single |
↳ request_id |
string
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. |
getParent
Required. Name of the bucket this managed folder belongs to.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. Name of the bucket this managed folder belongs to.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getManagedFolder
Required. Properties of the managed folder being created.
The bucket and managed folder names are specified in the parent
and
managed_folder_id
fields. Populating these fields in managed_folder
will result in an error.
Returns | |
---|---|
Type | Description |
ManagedFolder|null |
hasManagedFolder
clearManagedFolder
setManagedFolder
Required. Properties of the managed folder being created.
The bucket and managed folder names are specified in the parent
and
managed_folder_id
fields. Populating these fields in managed_folder
will result in an error.
Parameter | |
---|---|
Name | Description |
var |
ManagedFolder
|
Returns | |
---|---|
Type | Description |
$this |
getManagedFolderId
Required. The name of the managed folder. It uses a single /
as delimiter
and leading and trailing /
are allowed.
Returns | |
---|---|
Type | Description |
string |
setManagedFolderId
Required. The name of the managed folder. It uses a single /
as delimiter
and leading and trailing /
are allowed.
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
Parameters | |
---|---|
Name | Description |
parent |
string
Required. Name of the bucket this managed folder belongs to. Please see StorageControlClient::bucketName() for help formatting this field. |
managedFolder |
ManagedFolder
Required. Properties of the managed folder being created.
The bucket and managed folder names are specified in the |
managedFolderId |
string
Required. The name of the managed folder. It uses a single |
Returns | |
---|---|
Type | Description |
CreateManagedFolderRequest |