public sealed class StorageControlClientImpl : StorageControlClientReference documentation and code samples for the Cloud Storage v2 API class StorageControlClientImpl.
StorageControl client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Storage.Control.V2Assembly
Google.Cloud.Storage.Control.V2.dll
Remarks
StorageControl service includes selected control plane operations.
Constructors
StorageControlClientImpl(StorageControlClient, StorageControlSettings, ILogger)
public StorageControlClientImpl(StorageControl.StorageControlClient grpcClient, StorageControlSettings settings, ILogger logger)Constructs a client wrapper for the StorageControl service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
StorageControlStorageControlClientThe underlying gRPC client. |
settings |
StorageControlSettingsThe base StorageControlSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateAnywhereCacheOperationsClient
public override OperationsClient CreateAnywhereCacheOperationsClient { get; }The long-running operations client for CreateAnywhereCache.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override StorageControl.StorageControlClient GrpcClient { get; }The underlying gRPC StorageControl client
| Property Value | |
|---|---|
| Type | Description |
StorageControlStorageControlClient |
|
RenameFolderOperationsClient
public override OperationsClient RenameFolderOperationsClient { get; }The long-running operations client for RenameFolder.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateAnywhereCacheOperationsClient
public override OperationsClient UpdateAnywhereCacheOperationsClient { get; }The long-running operations client for UpdateAnywhereCache.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
CreateAnywhereCache(CreateAnywhereCacheRequest, CallSettings)
public override Operation<AnywhereCache, CreateAnywhereCacheMetadata> CreateAnywhereCache(CreateAnywhereCacheRequest request, CallSettings callSettings = null)Creates an Anywhere Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAnywhereCacheRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAnywhereCacheCreateAnywhereCacheMetadata |
The RPC response. |
CreateAnywhereCacheAsync(CreateAnywhereCacheRequest, CallSettings)
public override Task<Operation<AnywhereCache, CreateAnywhereCacheMetadata>> CreateAnywhereCacheAsync(CreateAnywhereCacheRequest request, CallSettings callSettings = null)Creates an Anywhere Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAnywhereCacheRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAnywhereCacheCreateAnywhereCacheMetadata |
A Task containing the RPC response. |
CreateFolder(CreateFolderRequest, CallSettings)
public override Folder CreateFolder(CreateFolderRequest request, CallSettings callSettings = null)Creates a new folder. This operation is only applicable to a hierarchical namespace enabled bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Folder |
The RPC response. |
CreateFolderAsync(CreateFolderRequest, CallSettings)
public override Task<Folder> CreateFolderAsync(CreateFolderRequest request, CallSettings callSettings = null)Creates a new folder. This operation is only applicable to a hierarchical namespace enabled bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
CreateManagedFolder(CreateManagedFolderRequest, CallSettings)
public override ManagedFolder CreateManagedFolder(CreateManagedFolderRequest request, CallSettings callSettings = null)Creates a new managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateManagedFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ManagedFolder |
The RPC response. |
CreateManagedFolderAsync(CreateManagedFolderRequest, CallSettings)
public override Task<ManagedFolder> CreateManagedFolderAsync(CreateManagedFolderRequest request, CallSettings callSettings = null)Creates a new managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateManagedFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskManagedFolder |
A Task containing the RPC response. |
DeleteFolder(DeleteFolderRequest, CallSettings)
public override void DeleteFolder(DeleteFolderRequest request, CallSettings callSettings = null)Permanently deletes an empty folder. This operation is only applicable to a hierarchical namespace enabled bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteFolderAsync(DeleteFolderRequest, CallSettings)
public override Task DeleteFolderAsync(DeleteFolderRequest request, CallSettings callSettings = null)Permanently deletes an empty folder. This operation is only applicable to a hierarchical namespace enabled bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
DeleteManagedFolder(DeleteManagedFolderRequest, CallSettings)
public override void DeleteManagedFolder(DeleteManagedFolderRequest request, CallSettings callSettings = null)Permanently deletes an empty managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteManagedFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteManagedFolderAsync(DeleteManagedFolderRequest, CallSettings)
public override Task DeleteManagedFolderAsync(DeleteManagedFolderRequest request, CallSettings callSettings = null)Permanently deletes an empty managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteManagedFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
DisableAnywhereCache(DisableAnywhereCacheRequest, CallSettings)
public override AnywhereCache DisableAnywhereCache(DisableAnywhereCacheRequest request, CallSettings callSettings = null)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 |
DisableAnywhereCacheRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AnywhereCache |
The RPC response. |
DisableAnywhereCacheAsync(DisableAnywhereCacheRequest, CallSettings)
public override Task<AnywhereCache> DisableAnywhereCacheAsync(DisableAnywhereCacheRequest request, CallSettings callSettings = null)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 |
DisableAnywhereCacheRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAnywhereCache |
A Task containing the RPC response. |
GetAnywhereCache(GetAnywhereCacheRequest, CallSettings)
public override AnywhereCache GetAnywhereCache(GetAnywhereCacheRequest request, CallSettings callSettings = null)Gets an Anywhere Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAnywhereCacheRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AnywhereCache |
The RPC response. |
GetAnywhereCacheAsync(GetAnywhereCacheRequest, CallSettings)
public override Task<AnywhereCache> GetAnywhereCacheAsync(GetAnywhereCacheRequest request, CallSettings callSettings = null)Gets an Anywhere Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAnywhereCacheRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAnywhereCache |
A Task containing the RPC response. |
GetFolder(GetFolderRequest, CallSettings)
public override Folder GetFolder(GetFolderRequest request, CallSettings callSettings = null)Returns metadata for the specified folder. This operation is only applicable to a hierarchical namespace enabled bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Folder |
The RPC response. |
GetFolderAsync(GetFolderRequest, CallSettings)
public override Task<Folder> GetFolderAsync(GetFolderRequest request, CallSettings callSettings = null)Returns metadata for the specified folder. This operation is only applicable to a hierarchical namespace enabled bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
GetFolderIntelligenceConfig(GetFolderIntelligenceConfigRequest, CallSettings)
public override IntelligenceConfig GetFolderIntelligenceConfig(GetFolderIntelligenceConfigRequest request, CallSettings callSettings = null)Returns the Folder scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFolderIntelligenceConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig |
The RPC response. |
GetFolderIntelligenceConfigAsync(GetFolderIntelligenceConfigRequest, CallSettings)
public override Task<IntelligenceConfig> GetFolderIntelligenceConfigAsync(GetFolderIntelligenceConfigRequest request, CallSettings callSettings = null)Returns the Folder scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFolderIntelligenceConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIntelligenceConfig |
A Task containing the RPC response. |
GetIamPolicy(GetIamPolicyRequest, CallSettings)
public override Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)Gets the IAM policy for a specified bucket.
The resource field in the request should be
projects/_/buckets/{bucket} for a bucket, or
projects/_/buckets/{bucket}/managedFolders/{managedFolder}
for a managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)
public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)Gets the IAM policy for a specified bucket.
The resource field in the request should be
projects/_/buckets/{bucket} for a bucket, or
projects/_/buckets/{bucket}/managedFolders/{managedFolder}
for a managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
GetManagedFolder(GetManagedFolderRequest, CallSettings)
public override ManagedFolder GetManagedFolder(GetManagedFolderRequest request, CallSettings callSettings = null)Returns metadata for the specified managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
GetManagedFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ManagedFolder |
The RPC response. |
GetManagedFolderAsync(GetManagedFolderRequest, CallSettings)
public override Task<ManagedFolder> GetManagedFolderAsync(GetManagedFolderRequest request, CallSettings callSettings = null)Returns metadata for the specified managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
GetManagedFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskManagedFolder |
A Task containing the RPC response. |
GetOrganizationIntelligenceConfig(GetOrganizationIntelligenceConfigRequest, CallSettings)
public override IntelligenceConfig GetOrganizationIntelligenceConfig(GetOrganizationIntelligenceConfigRequest request, CallSettings callSettings = null)Returns the Organization scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetOrganizationIntelligenceConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig |
The RPC response. |
GetOrganizationIntelligenceConfigAsync(GetOrganizationIntelligenceConfigRequest, CallSettings)
public override Task<IntelligenceConfig> GetOrganizationIntelligenceConfigAsync(GetOrganizationIntelligenceConfigRequest request, CallSettings callSettings = null)Returns the Organization scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetOrganizationIntelligenceConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIntelligenceConfig |
A Task containing the RPC response. |
GetProjectIntelligenceConfig(GetProjectIntelligenceConfigRequest, CallSettings)
public override IntelligenceConfig GetProjectIntelligenceConfig(GetProjectIntelligenceConfigRequest request, CallSettings callSettings = null)Returns the Project scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetProjectIntelligenceConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig |
The RPC response. |
GetProjectIntelligenceConfigAsync(GetProjectIntelligenceConfigRequest, CallSettings)
public override Task<IntelligenceConfig> GetProjectIntelligenceConfigAsync(GetProjectIntelligenceConfigRequest request, CallSettings callSettings = null)Returns the Project scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetProjectIntelligenceConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIntelligenceConfig |
A Task containing the RPC response. |
GetStorageLayout(GetStorageLayoutRequest, CallSettings)
public override StorageLayout GetStorageLayout(GetStorageLayoutRequest request, CallSettings callSettings = null)Returns the storage layout configuration for a given bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStorageLayoutRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
StorageLayout |
The RPC response. |
GetStorageLayoutAsync(GetStorageLayoutRequest, CallSettings)
public override Task<StorageLayout> GetStorageLayoutAsync(GetStorageLayoutRequest request, CallSettings callSettings = null)Returns the storage layout configuration for a given bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStorageLayoutRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskStorageLayout |
A Task containing the RPC response. |
ListAnywhereCaches(ListAnywhereCachesRequest, CallSettings)
public override PagedEnumerable<ListAnywhereCachesResponse, AnywhereCache> ListAnywhereCaches(ListAnywhereCachesRequest request, CallSettings callSettings = null)Lists Anywhere Cache instances for a given bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAnywhereCachesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAnywhereCachesResponseAnywhereCache |
A pageable sequence of AnywhereCache resources. |
ListAnywhereCachesAsync(ListAnywhereCachesRequest, CallSettings)
public override PagedAsyncEnumerable<ListAnywhereCachesResponse, AnywhereCache> ListAnywhereCachesAsync(ListAnywhereCachesRequest request, CallSettings callSettings = null)Lists Anywhere Cache instances for a given bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAnywhereCachesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAnywhereCachesResponseAnywhereCache |
A pageable asynchronous sequence of AnywhereCache resources. |
ListFolders(ListFoldersRequest, CallSettings)
public override PagedEnumerable<ListFoldersResponse, Folder> ListFolders(ListFoldersRequest request, CallSettings callSettings = null)Retrieves a list of folders. This operation is only applicable to a hierarchical namespace enabled bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFoldersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListFoldersResponseFolder |
A pageable sequence of Folder resources. |
ListFoldersAsync(ListFoldersRequest, CallSettings)
public override PagedAsyncEnumerable<ListFoldersResponse, Folder> ListFoldersAsync(ListFoldersRequest request, CallSettings callSettings = null)Retrieves a list of folders. This operation is only applicable to a hierarchical namespace enabled bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFoldersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListFoldersResponseFolder |
A pageable asynchronous sequence of Folder resources. |
ListManagedFolders(ListManagedFoldersRequest, CallSettings)
public override PagedEnumerable<ListManagedFoldersResponse, ManagedFolder> ListManagedFolders(ListManagedFoldersRequest request, CallSettings callSettings = null)Retrieves a list of managed folders for a given bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
ListManagedFoldersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListManagedFoldersResponseManagedFolder |
A pageable sequence of ManagedFolder resources. |
ListManagedFoldersAsync(ListManagedFoldersRequest, CallSettings)
public override PagedAsyncEnumerable<ListManagedFoldersResponse, ManagedFolder> ListManagedFoldersAsync(ListManagedFoldersRequest request, CallSettings callSettings = null)Retrieves a list of managed folders for a given bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
ListManagedFoldersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListManagedFoldersResponseManagedFolder |
A pageable asynchronous sequence of ManagedFolder resources. |
PauseAnywhereCache(PauseAnywhereCacheRequest, CallSettings)
public override AnywhereCache PauseAnywhereCache(PauseAnywhereCacheRequest request, CallSettings callSettings = null)Pauses an Anywhere Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
PauseAnywhereCacheRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AnywhereCache |
The RPC response. |
PauseAnywhereCacheAsync(PauseAnywhereCacheRequest, CallSettings)
public override Task<AnywhereCache> PauseAnywhereCacheAsync(PauseAnywhereCacheRequest request, CallSettings callSettings = null)Pauses an Anywhere Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
PauseAnywhereCacheRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAnywhereCache |
A Task containing the RPC response. |
RenameFolder(RenameFolderRequest, CallSettings)
public override Operation<Folder, RenameFolderMetadata> RenameFolder(RenameFolderRequest request, CallSettings callSettings = null)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 |
RenameFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationFolderRenameFolderMetadata |
The RPC response. |
RenameFolderAsync(RenameFolderRequest, CallSettings)
public override Task<Operation<Folder, RenameFolderMetadata>> RenameFolderAsync(RenameFolderRequest request, CallSettings callSettings = null)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 |
RenameFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationFolderRenameFolderMetadata |
A Task containing the RPC response. |
ResumeAnywhereCache(ResumeAnywhereCacheRequest, CallSettings)
public override AnywhereCache ResumeAnywhereCache(ResumeAnywhereCacheRequest request, CallSettings callSettings = null)Resumes a disabled or paused Anywhere Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
ResumeAnywhereCacheRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AnywhereCache |
The RPC response. |
ResumeAnywhereCacheAsync(ResumeAnywhereCacheRequest, CallSettings)
public override Task<AnywhereCache> ResumeAnywhereCacheAsync(ResumeAnywhereCacheRequest request, CallSettings callSettings = null)Resumes a disabled or paused Anywhere Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
ResumeAnywhereCacheRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAnywhereCache |
A Task containing the RPC response. |
SetIamPolicy(SetIamPolicyRequest, CallSettings)
public override Policy SetIamPolicy(SetIamPolicyRequest request, CallSettings callSettings = null)Updates an IAM policy for the specified bucket.
The resource field in the request should be
projects/_/buckets/{bucket} for a bucket, or
projects/_/buckets/{bucket}/managedFolders/{managedFolder}
for a managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
SetIamPolicyAsync(SetIamPolicyRequest, CallSettings)
public override Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallSettings callSettings = null)Updates an IAM policy for the specified bucket.
The resource field in the request should be
projects/_/buckets/{bucket} for a bucket, or
projects/_/buckets/{bucket}/managedFolders/{managedFolder}
for a managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
TestIamPermissions(TestIamPermissionsRequest, CallSettings)
public override TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallSettings callSettings = null)Tests a set of permissions on the given bucket, object, or managed folder
to see which, if any, are held by the caller.
The resource field in the request should be
projects/_/buckets/{bucket} for a bucket,
projects/_/buckets/{bucket}/objects/{object} for an object, or
projects/_/buckets/{bucket}/managedFolders/{managedFolder}
for a managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsResponse |
The RPC response. |
TestIamPermissionsAsync(TestIamPermissionsRequest, CallSettings)
public override Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallSettings callSettings = null)Tests a set of permissions on the given bucket, object, or managed folder
to see which, if any, are held by the caller.
The resource field in the request should be
projects/_/buckets/{bucket} for a bucket,
projects/_/buckets/{bucket}/objects/{object} for an object, or
projects/_/buckets/{bucket}/managedFolders/{managedFolder}
for a managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTestIamPermissionsResponse |
A Task containing the RPC response. |
UpdateAnywhereCache(UpdateAnywhereCacheRequest, CallSettings)
public override Operation<AnywhereCache, UpdateAnywhereCacheMetadata> UpdateAnywhereCache(UpdateAnywhereCacheRequest request, CallSettings callSettings = null)Updates an Anywhere Cache instance. Mutable fields include ttl and
admission_policy.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAnywhereCacheRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAnywhereCacheUpdateAnywhereCacheMetadata |
The RPC response. |
UpdateAnywhereCacheAsync(UpdateAnywhereCacheRequest, CallSettings)
public override Task<Operation<AnywhereCache, UpdateAnywhereCacheMetadata>> UpdateAnywhereCacheAsync(UpdateAnywhereCacheRequest request, CallSettings callSettings = null)Updates an Anywhere Cache instance. Mutable fields include ttl and
admission_policy.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAnywhereCacheRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAnywhereCacheUpdateAnywhereCacheMetadata |
A Task containing the RPC response. |
UpdateFolderIntelligenceConfig(UpdateFolderIntelligenceConfigRequest, CallSettings)
public override IntelligenceConfig UpdateFolderIntelligenceConfig(UpdateFolderIntelligenceConfigRequest request, CallSettings callSettings = null)Updates the Folder scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFolderIntelligenceConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig |
The RPC response. |
UpdateFolderIntelligenceConfigAsync(UpdateFolderIntelligenceConfigRequest, CallSettings)
public override Task<IntelligenceConfig> UpdateFolderIntelligenceConfigAsync(UpdateFolderIntelligenceConfigRequest request, CallSettings callSettings = null)Updates the Folder scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFolderIntelligenceConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIntelligenceConfig |
A Task containing the RPC response. |
UpdateOrganizationIntelligenceConfig(UpdateOrganizationIntelligenceConfigRequest, CallSettings)
public override IntelligenceConfig UpdateOrganizationIntelligenceConfig(UpdateOrganizationIntelligenceConfigRequest request, CallSettings callSettings = null)Updates the Organization scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateOrganizationIntelligenceConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig |
The RPC response. |
UpdateOrganizationIntelligenceConfigAsync(UpdateOrganizationIntelligenceConfigRequest, CallSettings)
public override Task<IntelligenceConfig> UpdateOrganizationIntelligenceConfigAsync(UpdateOrganizationIntelligenceConfigRequest request, CallSettings callSettings = null)Updates the Organization scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateOrganizationIntelligenceConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIntelligenceConfig |
A Task containing the RPC response. |
UpdateProjectIntelligenceConfig(UpdateProjectIntelligenceConfigRequest, CallSettings)
public override IntelligenceConfig UpdateProjectIntelligenceConfig(UpdateProjectIntelligenceConfigRequest request, CallSettings callSettings = null)Updates the Project scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateProjectIntelligenceConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
IntelligenceConfig |
The RPC response. |
UpdateProjectIntelligenceConfigAsync(UpdateProjectIntelligenceConfigRequest, CallSettings)
public override Task<IntelligenceConfig> UpdateProjectIntelligenceConfigAsync(UpdateProjectIntelligenceConfigRequest request, CallSettings callSettings = null)Updates the Project scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateProjectIntelligenceConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIntelligenceConfig |
A Task containing the RPC response. |