public sealed class GetFolderRequest : IMessage<GetFolderRequest>, IEquatable<GetFolderRequest>, IDeepCloneable<GetFolderRequest>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Storage v2 API class GetFolderRequest.
Request message for GetFolder. This operation is only applicable to a hierarchical namespace enabled bucket.
Implements
IMessageGetFolderRequest, IEquatableGetFolderRequest, IDeepCloneableGetFolderRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Storage.Control.V2Assembly
Google.Cloud.Storage.Control.V2.dll
Constructors
GetFolderRequest()
public GetFolderRequest()GetFolderRequest(GetFolderRequest)
public GetFolderRequest(GetFolderRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetFolderRequest |
Properties
FolderName
public FolderName FolderName { get; set; }FolderName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
FolderName |
|
HasIfMetagenerationMatch
public bool HasIfMetagenerationMatch { get; }Gets whether the "if_metageneration_match" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasIfMetagenerationNotMatch
public bool HasIfMetagenerationNotMatch { get; }Gets whether the "if_metageneration_not_match" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
IfMetagenerationMatch
public long IfMetagenerationMatch { get; set; }Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value.
| Property Value | |
|---|---|
| Type | Description |
long |
|
IfMetagenerationNotMatch
public long IfMetagenerationNotMatch { get; set; }Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value.
| Property Value | |
|---|---|
| Type | Description |
long |
|
Name
public string Name { get; set; }Required. Name of the folder.
Format: projects/{project}/buckets/{bucket}/folders/{folder}
| Property Value | |
|---|---|
| Type | Description |
string |
|
RequestId
public string RequestId { get; set; }Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.
| Property Value | |
|---|---|
| Type | Description |
string |
|