public class StorageControl.StorageControlClient : ClientBase<StorageControl.StorageControlClient>
Reference documentation and code samples for the Cloud Storage v2 API class StorageControl.StorageControlClient.
Client for StorageControl
Inheritance
object > ClientBase > ClientBaseStorageControlStorageControlClient > StorageControl.StorageControlClientNamespace
Google.Cloud.Storage.Control.V2Assembly
Google.Cloud.Storage.Control.V2.dll
Constructors
StorageControlClient()
protected StorageControlClient()
Protected parameterless constructor to allow creation of test doubles.
StorageControlClient(CallInvoker)
public StorageControlClient(CallInvoker callInvoker)
Creates a new client for StorageControl that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
StorageControlClient(ChannelBase)
public StorageControlClient(ChannelBase channel)
Creates a new client for StorageControl
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
StorageControlClient(ClientBaseConfiguration)
protected StorageControlClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateAnywhereCache(CreateAnywhereCacheRequest, CallOptions)
public virtual Operation CreateAnywhereCache(CreateAnywhereCacheRequest request, CallOptions options)
Creates an Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
CreateAnywhereCacheRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateAnywhereCache(CreateAnywhereCacheRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateAnywhereCache(CreateAnywhereCacheRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates an Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
CreateAnywhereCacheRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateAnywhereCacheAsync(CreateAnywhereCacheRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateAnywhereCacheAsync(CreateAnywhereCacheRequest request, CallOptions options)
Creates an Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
CreateAnywhereCacheRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateAnywhereCacheAsync(CreateAnywhereCacheRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateAnywhereCacheAsync(CreateAnywhereCacheRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates an Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
CreateAnywhereCacheRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateFolder(CreateFolderRequest, CallOptions)
public virtual Folder CreateFolder(CreateFolderRequest request, CallOptions options)
Creates a new folder. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
CreateFolderRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Folder |
The response received from the server. |
CreateFolder(CreateFolderRequest, Metadata, DateTime?, CancellationToken)
public virtual Folder CreateFolder(CreateFolderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new folder. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
CreateFolderRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Folder |
The response received from the server. |
CreateFolderAsync(CreateFolderRequest, CallOptions)
public virtual AsyncUnaryCall<Folder> CreateFolderAsync(CreateFolderRequest request, CallOptions options)
Creates a new folder. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
CreateFolderRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFolder |
The call object. |
CreateFolderAsync(CreateFolderRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Folder> CreateFolderAsync(CreateFolderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new folder. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
CreateFolderRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFolder |
The call object. |
CreateManagedFolder(CreateManagedFolderRequest, CallOptions)
public virtual ManagedFolder CreateManagedFolder(CreateManagedFolderRequest request, CallOptions options)
Creates a new managed folder.
Parameters | |
---|---|
Name | Description |
request |
CreateManagedFolderRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ManagedFolder |
The response received from the server. |
CreateManagedFolder(CreateManagedFolderRequest, Metadata, DateTime?, CancellationToken)
public virtual ManagedFolder CreateManagedFolder(CreateManagedFolderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new managed folder.
Parameters | |
---|---|
Name | Description |
request |
CreateManagedFolderRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ManagedFolder |
The response received from the server. |
CreateManagedFolderAsync(CreateManagedFolderRequest, CallOptions)
public virtual AsyncUnaryCall<ManagedFolder> CreateManagedFolderAsync(CreateManagedFolderRequest request, CallOptions options)
Creates a new managed folder.
Parameters | |
---|---|
Name | Description |
request |
CreateManagedFolderRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallManagedFolder |
The call object. |
CreateManagedFolderAsync(CreateManagedFolderRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ManagedFolder> CreateManagedFolderAsync(CreateManagedFolderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new managed folder.
Parameters | |
---|---|
Name | Description |
request |
CreateManagedFolderRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallManagedFolder |
The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
DeleteFolder(DeleteFolderRequest, CallOptions)
public virtual Empty DeleteFolder(DeleteFolderRequest request, CallOptions options)
Permanently deletes an empty folder. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
DeleteFolderRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty |
The response received from the server. |
DeleteFolder(DeleteFolderRequest, Metadata, DateTime?, CancellationToken)
public virtual Empty DeleteFolder(DeleteFolderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Permanently deletes an empty folder. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
DeleteFolderRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Empty |
The response received from the server. |
DeleteFolderAsync(DeleteFolderRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteFolderAsync(DeleteFolderRequest request, CallOptions options)
Permanently deletes an empty folder. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
DeleteFolderRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty |
The call object. |
DeleteFolderAsync(DeleteFolderRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteFolderAsync(DeleteFolderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Permanently deletes an empty folder. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
DeleteFolderRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty |
The call object. |
DeleteManagedFolder(DeleteManagedFolderRequest, CallOptions)
public virtual Empty DeleteManagedFolder(DeleteManagedFolderRequest request, CallOptions options)
Permanently deletes an empty managed folder.
Parameters | |
---|---|
Name | Description |
request |
DeleteManagedFolderRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty |
The response received from the server. |
DeleteManagedFolder(DeleteManagedFolderRequest, Metadata, DateTime?, CancellationToken)
public virtual Empty DeleteManagedFolder(DeleteManagedFolderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Permanently deletes an empty managed folder.
Parameters | |
---|---|
Name | Description |
request |
DeleteManagedFolderRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Empty |
The response received from the server. |
DeleteManagedFolderAsync(DeleteManagedFolderRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteManagedFolderAsync(DeleteManagedFolderRequest request, CallOptions options)
Permanently deletes an empty managed folder.
Parameters | |
---|---|
Name | Description |
request |
DeleteManagedFolderRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty |
The call object. |
DeleteManagedFolderAsync(DeleteManagedFolderRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteManagedFolderAsync(DeleteManagedFolderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Permanently deletes an empty managed folder.
Parameters | |
---|---|
Name | Description |
request |
DeleteManagedFolderRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty |
The call object. |
DisableAnywhereCache(DisableAnywhereCacheRequest, CallOptions)
public virtual AnywhereCache DisableAnywhereCache(DisableAnywhereCacheRequest request, CallOptions options)
Disables an Anywhere Cache instance. A disabled instance is read-only. The disablement could be revoked by calling ResumeAnywhereCache. The cache instance will be deleted automatically if it remains in the disabled state for at least one hour.
Parameters | |
---|---|
Name | Description |
request |
DisableAnywhereCacheRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AnywhereCache |
The response received from the server. |
DisableAnywhereCache(DisableAnywhereCacheRequest, Metadata, DateTime?, CancellationToken)
public virtual AnywhereCache DisableAnywhereCache(DisableAnywhereCacheRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Disables an Anywhere Cache instance. A disabled instance is read-only. The disablement could be revoked by calling ResumeAnywhereCache. The cache instance will be deleted automatically if it remains in the disabled state for at least one hour.
Parameters | |
---|---|
Name | Description |
request |
DisableAnywhereCacheRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AnywhereCache |
The response received from the server. |
DisableAnywhereCacheAsync(DisableAnywhereCacheRequest, CallOptions)
public virtual AsyncUnaryCall<AnywhereCache> DisableAnywhereCacheAsync(DisableAnywhereCacheRequest request, CallOptions options)
Disables an Anywhere Cache instance. A disabled instance is read-only. The disablement could be revoked by calling ResumeAnywhereCache. The cache instance will be deleted automatically if it remains in the disabled state for at least one hour.
Parameters | |
---|---|
Name | Description |
request |
DisableAnywhereCacheRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAnywhereCache |
The call object. |
DisableAnywhereCacheAsync(DisableAnywhereCacheRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AnywhereCache> DisableAnywhereCacheAsync(DisableAnywhereCacheRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Disables an Anywhere Cache instance. A disabled instance is read-only. The disablement could be revoked by calling ResumeAnywhereCache. The cache instance will be deleted automatically if it remains in the disabled state for at least one hour.
Parameters | |
---|---|
Name | Description |
request |
DisableAnywhereCacheRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAnywhereCache |
The call object. |
GetAnywhereCache(GetAnywhereCacheRequest, CallOptions)
public virtual AnywhereCache GetAnywhereCache(GetAnywhereCacheRequest request, CallOptions options)
Gets an Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
GetAnywhereCacheRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AnywhereCache |
The response received from the server. |
GetAnywhereCache(GetAnywhereCacheRequest, Metadata, DateTime?, CancellationToken)
public virtual AnywhereCache GetAnywhereCache(GetAnywhereCacheRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets an Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
GetAnywhereCacheRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AnywhereCache |
The response received from the server. |
GetAnywhereCacheAsync(GetAnywhereCacheRequest, CallOptions)
public virtual AsyncUnaryCall<AnywhereCache> GetAnywhereCacheAsync(GetAnywhereCacheRequest request, CallOptions options)
Gets an Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
GetAnywhereCacheRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAnywhereCache |
The call object. |
GetAnywhereCacheAsync(GetAnywhereCacheRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AnywhereCache> GetAnywhereCacheAsync(GetAnywhereCacheRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets an Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
GetAnywhereCacheRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAnywhereCache |
The call object. |
GetFolder(GetFolderRequest, CallOptions)
public virtual Folder GetFolder(GetFolderRequest request, CallOptions options)
Returns metadata for the specified folder. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
GetFolderRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Folder |
The response received from the server. |
GetFolder(GetFolderRequest, Metadata, DateTime?, CancellationToken)
public virtual Folder GetFolder(GetFolderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns metadata for the specified folder. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
GetFolderRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Folder |
The response received from the server. |
GetFolderAsync(GetFolderRequest, CallOptions)
public virtual AsyncUnaryCall<Folder> GetFolderAsync(GetFolderRequest request, CallOptions options)
Returns metadata for the specified folder. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
GetFolderRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFolder |
The call object. |
GetFolderAsync(GetFolderRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Folder> GetFolderAsync(GetFolderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns metadata for the specified folder. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
GetFolderRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFolder |
The call object. |
GetManagedFolder(GetManagedFolderRequest, CallOptions)
public virtual ManagedFolder GetManagedFolder(GetManagedFolderRequest request, CallOptions options)
Returns metadata for the specified managed folder.
Parameters | |
---|---|
Name | Description |
request |
GetManagedFolderRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ManagedFolder |
The response received from the server. |
GetManagedFolder(GetManagedFolderRequest, Metadata, DateTime?, CancellationToken)
public virtual ManagedFolder GetManagedFolder(GetManagedFolderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns metadata for the specified managed folder.
Parameters | |
---|---|
Name | Description |
request |
GetManagedFolderRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ManagedFolder |
The response received from the server. |
GetManagedFolderAsync(GetManagedFolderRequest, CallOptions)
public virtual AsyncUnaryCall<ManagedFolder> GetManagedFolderAsync(GetManagedFolderRequest request, CallOptions options)
Returns metadata for the specified managed folder.
Parameters | |
---|---|
Name | Description |
request |
GetManagedFolderRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallManagedFolder |
The call object. |
GetManagedFolderAsync(GetManagedFolderRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ManagedFolder> GetManagedFolderAsync(GetManagedFolderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns metadata for the specified managed folder.
Parameters | |
---|---|
Name | Description |
request |
GetManagedFolderRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallManagedFolder |
The call object. |
GetStorageLayout(GetStorageLayoutRequest, CallOptions)
public virtual StorageLayout GetStorageLayout(GetStorageLayoutRequest request, CallOptions options)
Returns the storage layout configuration for a given bucket.
Parameters | |
---|---|
Name | Description |
request |
GetStorageLayoutRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
StorageLayout |
The response received from the server. |
GetStorageLayout(GetStorageLayoutRequest, Metadata, DateTime?, CancellationToken)
public virtual StorageLayout GetStorageLayout(GetStorageLayoutRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the storage layout configuration for a given bucket.
Parameters | |
---|---|
Name | Description |
request |
GetStorageLayoutRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
StorageLayout |
The response received from the server. |
GetStorageLayoutAsync(GetStorageLayoutRequest, CallOptions)
public virtual AsyncUnaryCall<StorageLayout> GetStorageLayoutAsync(GetStorageLayoutRequest request, CallOptions options)
Returns the storage layout configuration for a given bucket.
Parameters | |
---|---|
Name | Description |
request |
GetStorageLayoutRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallStorageLayout |
The call object. |
GetStorageLayoutAsync(GetStorageLayoutRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<StorageLayout> GetStorageLayoutAsync(GetStorageLayoutRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the storage layout configuration for a given bucket.
Parameters | |
---|---|
Name | Description |
request |
GetStorageLayoutRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallStorageLayout |
The call object. |
ListAnywhereCaches(ListAnywhereCachesRequest, CallOptions)
public virtual ListAnywhereCachesResponse ListAnywhereCaches(ListAnywhereCachesRequest request, CallOptions options)
Lists Anywhere Cache instances for a given bucket.
Parameters | |
---|---|
Name | Description |
request |
ListAnywhereCachesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListAnywhereCachesResponse |
The response received from the server. |
ListAnywhereCaches(ListAnywhereCachesRequest, Metadata, DateTime?, CancellationToken)
public virtual ListAnywhereCachesResponse ListAnywhereCaches(ListAnywhereCachesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists Anywhere Cache instances for a given bucket.
Parameters | |
---|---|
Name | Description |
request |
ListAnywhereCachesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListAnywhereCachesResponse |
The response received from the server. |
ListAnywhereCachesAsync(ListAnywhereCachesRequest, CallOptions)
public virtual AsyncUnaryCall<ListAnywhereCachesResponse> ListAnywhereCachesAsync(ListAnywhereCachesRequest request, CallOptions options)
Lists Anywhere Cache instances for a given bucket.
Parameters | |
---|---|
Name | Description |
request |
ListAnywhereCachesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListAnywhereCachesResponse |
The call object. |
ListAnywhereCachesAsync(ListAnywhereCachesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListAnywhereCachesResponse> ListAnywhereCachesAsync(ListAnywhereCachesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists Anywhere Cache instances for a given bucket.
Parameters | |
---|---|
Name | Description |
request |
ListAnywhereCachesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListAnywhereCachesResponse |
The call object. |
ListFolders(ListFoldersRequest, CallOptions)
public virtual ListFoldersResponse ListFolders(ListFoldersRequest request, CallOptions options)
Retrieves a list of folders. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
ListFoldersRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListFoldersResponse |
The response received from the server. |
ListFolders(ListFoldersRequest, Metadata, DateTime?, CancellationToken)
public virtual ListFoldersResponse ListFolders(ListFoldersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves a list of folders. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
ListFoldersRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListFoldersResponse |
The response received from the server. |
ListFoldersAsync(ListFoldersRequest, CallOptions)
public virtual AsyncUnaryCall<ListFoldersResponse> ListFoldersAsync(ListFoldersRequest request, CallOptions options)
Retrieves a list of folders. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
ListFoldersRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListFoldersResponse |
The call object. |
ListFoldersAsync(ListFoldersRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListFoldersResponse> ListFoldersAsync(ListFoldersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves a list of folders. This operation is only applicable to a hierarchical namespace enabled bucket.
Parameters | |
---|---|
Name | Description |
request |
ListFoldersRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListFoldersResponse |
The call object. |
ListManagedFolders(ListManagedFoldersRequest, CallOptions)
public virtual ListManagedFoldersResponse ListManagedFolders(ListManagedFoldersRequest request, CallOptions options)
Retrieves a list of managed folders for a given bucket.
Parameters | |
---|---|
Name | Description |
request |
ListManagedFoldersRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListManagedFoldersResponse |
The response received from the server. |
ListManagedFolders(ListManagedFoldersRequest, Metadata, DateTime?, CancellationToken)
public virtual ListManagedFoldersResponse ListManagedFolders(ListManagedFoldersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves a list of managed folders for a given bucket.
Parameters | |
---|---|
Name | Description |
request |
ListManagedFoldersRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListManagedFoldersResponse |
The response received from the server. |
ListManagedFoldersAsync(ListManagedFoldersRequest, CallOptions)
public virtual AsyncUnaryCall<ListManagedFoldersResponse> ListManagedFoldersAsync(ListManagedFoldersRequest request, CallOptions options)
Retrieves a list of managed folders for a given bucket.
Parameters | |
---|---|
Name | Description |
request |
ListManagedFoldersRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListManagedFoldersResponse |
The call object. |
ListManagedFoldersAsync(ListManagedFoldersRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListManagedFoldersResponse> ListManagedFoldersAsync(ListManagedFoldersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves a list of managed folders for a given bucket.
Parameters | |
---|---|
Name | Description |
request |
ListManagedFoldersRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListManagedFoldersResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override StorageControl.StorageControlClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
StorageControlStorageControlClient |
PauseAnywhereCache(PauseAnywhereCacheRequest, CallOptions)
public virtual AnywhereCache PauseAnywhereCache(PauseAnywhereCacheRequest request, CallOptions options)
Pauses an Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
PauseAnywhereCacheRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AnywhereCache |
The response received from the server. |
PauseAnywhereCache(PauseAnywhereCacheRequest, Metadata, DateTime?, CancellationToken)
public virtual AnywhereCache PauseAnywhereCache(PauseAnywhereCacheRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Pauses an Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
PauseAnywhereCacheRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AnywhereCache |
The response received from the server. |
PauseAnywhereCacheAsync(PauseAnywhereCacheRequest, CallOptions)
public virtual AsyncUnaryCall<AnywhereCache> PauseAnywhereCacheAsync(PauseAnywhereCacheRequest request, CallOptions options)
Pauses an Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
PauseAnywhereCacheRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAnywhereCache |
The call object. |
PauseAnywhereCacheAsync(PauseAnywhereCacheRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AnywhereCache> PauseAnywhereCacheAsync(PauseAnywhereCacheRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Pauses an Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
PauseAnywhereCacheRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAnywhereCache |
The call object. |
RenameFolder(RenameFolderRequest, CallOptions)
public virtual Operation RenameFolder(RenameFolderRequest request, CallOptions options)
Renames a source folder to a destination folder. This operation is only applicable to a hierarchical namespace enabled bucket. During a rename, the source and destination folders are locked until the long running operation completes.
Parameters | |
---|---|
Name | Description |
request |
RenameFolderRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
RenameFolder(RenameFolderRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation RenameFolder(RenameFolderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Renames a source folder to a destination folder. This operation is only applicable to a hierarchical namespace enabled bucket. During a rename, the source and destination folders are locked until the long running operation completes.
Parameters | |
---|---|
Name | Description |
request |
RenameFolderRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
RenameFolderAsync(RenameFolderRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RenameFolderAsync(RenameFolderRequest request, CallOptions options)
Renames a source folder to a destination folder. This operation is only applicable to a hierarchical namespace enabled bucket. During a rename, the source and destination folders are locked until the long running operation completes.
Parameters | |
---|---|
Name | Description |
request |
RenameFolderRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
RenameFolderAsync(RenameFolderRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> RenameFolderAsync(RenameFolderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Renames a source folder to a destination folder. This operation is only applicable to a hierarchical namespace enabled bucket. During a rename, the source and destination folders are locked until the long running operation completes.
Parameters | |
---|---|
Name | Description |
request |
RenameFolderRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
ResumeAnywhereCache(ResumeAnywhereCacheRequest, CallOptions)
public virtual AnywhereCache ResumeAnywhereCache(ResumeAnywhereCacheRequest request, CallOptions options)
Resumes a disabled or paused Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
ResumeAnywhereCacheRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AnywhereCache |
The response received from the server. |
ResumeAnywhereCache(ResumeAnywhereCacheRequest, Metadata, DateTime?, CancellationToken)
public virtual AnywhereCache ResumeAnywhereCache(ResumeAnywhereCacheRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Resumes a disabled or paused Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
ResumeAnywhereCacheRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AnywhereCache |
The response received from the server. |
ResumeAnywhereCacheAsync(ResumeAnywhereCacheRequest, CallOptions)
public virtual AsyncUnaryCall<AnywhereCache> ResumeAnywhereCacheAsync(ResumeAnywhereCacheRequest request, CallOptions options)
Resumes a disabled or paused Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
ResumeAnywhereCacheRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAnywhereCache |
The call object. |
ResumeAnywhereCacheAsync(ResumeAnywhereCacheRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AnywhereCache> ResumeAnywhereCacheAsync(ResumeAnywhereCacheRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Resumes a disabled or paused Anywhere Cache instance.
Parameters | |
---|---|
Name | Description |
request |
ResumeAnywhereCacheRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAnywhereCache |
The call object. |
UpdateAnywhereCache(UpdateAnywhereCacheRequest, CallOptions)
public virtual Operation UpdateAnywhereCache(UpdateAnywhereCacheRequest request, CallOptions options)
Updates an Anywhere Cache instance. Mutable fields include ttl
and
admission_policy
.
Parameters | |
---|---|
Name | Description |
request |
UpdateAnywhereCacheRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateAnywhereCache(UpdateAnywhereCacheRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateAnywhereCache(UpdateAnywhereCacheRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates an Anywhere Cache instance. Mutable fields include ttl
and
admission_policy
.
Parameters | |
---|---|
Name | Description |
request |
UpdateAnywhereCacheRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateAnywhereCacheAsync(UpdateAnywhereCacheRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateAnywhereCacheAsync(UpdateAnywhereCacheRequest request, CallOptions options)
Updates an Anywhere Cache instance. Mutable fields include ttl
and
admission_policy
.
Parameters | |
---|---|
Name | Description |
request |
UpdateAnywhereCacheRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateAnywhereCacheAsync(UpdateAnywhereCacheRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateAnywhereCacheAsync(UpdateAnywhereCacheRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates an Anywhere Cache instance. Mutable fields include ttl
and
admission_policy
.
Parameters | |
---|---|
Name | Description |
request |
UpdateAnywhereCacheRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |