[BindServiceMethod(typeof(StorageControl), "BindService")]
public abstract class StorageControl.StorageControlBaseReference documentation and code samples for the Cloud Storage v2 API class StorageControl.StorageControlBase.
Base class for server-side implementations of StorageControl
Namespace
Google.Cloud.Storage.Control.V2Assembly
Google.Cloud.Storage.Control.V2.dll
Methods
CreateAnywhereCache(CreateAnywhereCacheRequest, ServerCallContext)
public virtual Task<Operation> CreateAnywhereCache(CreateAnywhereCacheRequest request, ServerCallContext context)Creates an Anywhere Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAnywhereCacheRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
CreateFolder(CreateFolderRequest, ServerCallContext)
public virtual Task<Folder> CreateFolder(CreateFolderRequest request, ServerCallContext context)Creates a new folder. This operation is only applicable to a hierarchical namespace enabled bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFolderRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
The response to send back to the client (wrapped by a task). |
CreateManagedFolder(CreateManagedFolderRequest, ServerCallContext)
public virtual Task<ManagedFolder> CreateManagedFolder(CreateManagedFolderRequest request, ServerCallContext context)Creates a new managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateManagedFolderRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskManagedFolder |
The response to send back to the client (wrapped by a task). |
CreateRapidCache(CreateRapidCacheRequest, ServerCallContext)
public virtual Task<Operation> CreateRapidCache(CreateRapidCacheRequest request, ServerCallContext context)Creates a Rapid Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateRapidCacheRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteFolder(DeleteFolderRequest, ServerCallContext)
public virtual Task<Empty> DeleteFolder(DeleteFolderRequest request, ServerCallContext context)Permanently deletes an empty folder. This operation is only applicable to a hierarchical namespace enabled bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteFolderRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
DeleteFolderRecursive(DeleteFolderRecursiveRequest, ServerCallContext)
public virtual Task<Operation> DeleteFolderRecursive(DeleteFolderRecursiveRequest request, ServerCallContext context)Deletes a folder recursively. This operation is only applicable to a hierarchical namespace enabled bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteFolderRecursiveRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteManagedFolder(DeleteManagedFolderRequest, ServerCallContext)
public virtual Task<Empty> DeleteManagedFolder(DeleteManagedFolderRequest request, ServerCallContext context)Permanently deletes an empty managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteManagedFolderRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
DisableAnywhereCache(DisableAnywhereCacheRequest, ServerCallContext)
public virtual Task<AnywhereCache> DisableAnywhereCache(DisableAnywhereCacheRequest request, ServerCallContext context)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 received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAnywhereCache |
The response to send back to the client (wrapped by a task). |
GetAnywhereCache(GetAnywhereCacheRequest, ServerCallContext)
public virtual Task<AnywhereCache> GetAnywhereCache(GetAnywhereCacheRequest request, ServerCallContext context)Gets an Anywhere Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAnywhereCacheRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAnywhereCache |
The response to send back to the client (wrapped by a task). |
GetFolder(GetFolderRequest, ServerCallContext)
public virtual Task<Folder> GetFolder(GetFolderRequest request, ServerCallContext context)Returns metadata for the specified folder. This operation is only applicable to a hierarchical namespace enabled bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFolderRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
The response to send back to the client (wrapped by a task). |
GetFolderIntelligenceConfig(GetFolderIntelligenceConfigRequest, ServerCallContext)
public virtual Task<IntelligenceConfig> GetFolderIntelligenceConfig(GetFolderIntelligenceConfigRequest request, ServerCallContext context)Returns the Folder scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFolderIntelligenceConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskIntelligenceConfig |
The response to send back to the client (wrapped by a task). |
GetIamPolicy(GetIamPolicyRequest, ServerCallContext)
public virtual Task<Policy> GetIamPolicy(GetIamPolicyRequest request, ServerCallContext context)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 received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
The response to send back to the client (wrapped by a task). |
GetIntelligenceFinding(GetIntelligenceFindingRequest, ServerCallContext)
public virtual Task<IntelligenceFinding> GetIntelligenceFinding(GetIntelligenceFindingRequest request, ServerCallContext context)Gets the IntelligenceFinding for a project.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIntelligenceFindingRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskIntelligenceFinding |
The response to send back to the client (wrapped by a task). |
GetIntelligenceFindingRevision(GetIntelligenceFindingRevisionRequest, ServerCallContext)
public virtual Task<IntelligenceFindingRevision> GetIntelligenceFindingRevision(GetIntelligenceFindingRevisionRequest request, ServerCallContext context)Gets the IntelligenceFindingRevision resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIntelligenceFindingRevisionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskIntelligenceFindingRevision |
The response to send back to the client (wrapped by a task). |
GetManagedFolder(GetManagedFolderRequest, ServerCallContext)
public virtual Task<ManagedFolder> GetManagedFolder(GetManagedFolderRequest request, ServerCallContext context)Returns metadata for the specified managed folder.
| Parameters | |
|---|---|
| Name | Description |
request |
GetManagedFolderRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskManagedFolder |
The response to send back to the client (wrapped by a task). |
GetOrganizationIntelligenceConfig(GetOrganizationIntelligenceConfigRequest, ServerCallContext)
public virtual Task<IntelligenceConfig> GetOrganizationIntelligenceConfig(GetOrganizationIntelligenceConfigRequest request, ServerCallContext context)Returns the Organization scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetOrganizationIntelligenceConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskIntelligenceConfig |
The response to send back to the client (wrapped by a task). |
GetProjectIntelligenceConfig(GetProjectIntelligenceConfigRequest, ServerCallContext)
public virtual Task<IntelligenceConfig> GetProjectIntelligenceConfig(GetProjectIntelligenceConfigRequest request, ServerCallContext context)Returns the Project scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetProjectIntelligenceConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskIntelligenceConfig |
The response to send back to the client (wrapped by a task). |
GetRapidCache(GetRapidCacheRequest, ServerCallContext)
public virtual Task<RapidCache> GetRapidCache(GetRapidCacheRequest request, ServerCallContext context)Gets a Rapid Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRapidCacheRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRapidCache |
The response to send back to the client (wrapped by a task). |
GetStorageLayout(GetStorageLayoutRequest, ServerCallContext)
public virtual Task<StorageLayout> GetStorageLayout(GetStorageLayoutRequest request, ServerCallContext context)Returns the storage layout configuration for a given bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStorageLayoutRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskStorageLayout |
The response to send back to the client (wrapped by a task). |
ListAnywhereCaches(ListAnywhereCachesRequest, ServerCallContext)
public virtual Task<ListAnywhereCachesResponse> ListAnywhereCaches(ListAnywhereCachesRequest request, ServerCallContext context)Lists Anywhere Cache instances for a given bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAnywhereCachesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListAnywhereCachesResponse |
The response to send back to the client (wrapped by a task). |
ListFolders(ListFoldersRequest, ServerCallContext)
public virtual Task<ListFoldersResponse> ListFolders(ListFoldersRequest request, ServerCallContext context)Retrieves a list of folders. This operation is only applicable to a hierarchical namespace enabled bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFoldersRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListFoldersResponse |
The response to send back to the client (wrapped by a task). |
ListIntelligenceFindingRevisions(ListIntelligenceFindingRevisionsRequest, ServerCallContext)
public virtual Task<ListIntelligenceFindingRevisionsResponse> ListIntelligenceFindingRevisions(ListIntelligenceFindingRevisionsRequest request, ServerCallContext context)Lists all the revisions of an IntelligenceFinding resource.
| Parameters | |
|---|---|
| Name | Description |
request |
ListIntelligenceFindingRevisionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListIntelligenceFindingRevisionsResponse |
The response to send back to the client (wrapped by a task). |
ListIntelligenceFindings(ListIntelligenceFindingsRequest, ServerCallContext)
public virtual Task<ListIntelligenceFindingsResponse> ListIntelligenceFindings(ListIntelligenceFindingsRequest request, ServerCallContext context)Lists the IntelligenceFinding resources for the specified the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListIntelligenceFindingsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListIntelligenceFindingsResponse |
The response to send back to the client (wrapped by a task). |
ListManagedFolders(ListManagedFoldersRequest, ServerCallContext)
public virtual Task<ListManagedFoldersResponse> ListManagedFolders(ListManagedFoldersRequest request, ServerCallContext context)Retrieves a list of managed folders for a given bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
ListManagedFoldersRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListManagedFoldersResponse |
The response to send back to the client (wrapped by a task). |
ListRapidCaches(ListRapidCachesRequest, ServerCallContext)
public virtual Task<ListRapidCachesResponse> ListRapidCaches(ListRapidCachesRequest request, ServerCallContext context)Lists Rapid Cache instances for a given bucket.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRapidCachesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListRapidCachesResponse |
The response to send back to the client (wrapped by a task). |
PauseAnywhereCache(PauseAnywhereCacheRequest, ServerCallContext)
public virtual Task<AnywhereCache> PauseAnywhereCache(PauseAnywhereCacheRequest request, ServerCallContext context)Pauses an Anywhere Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
PauseAnywhereCacheRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAnywhereCache |
The response to send back to the client (wrapped by a task). |
RenameFolder(RenameFolderRequest, ServerCallContext)
public virtual Task<Operation> RenameFolder(RenameFolderRequest request, ServerCallContext context)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 received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
ResumeAnywhereCache(ResumeAnywhereCacheRequest, ServerCallContext)
public virtual Task<AnywhereCache> ResumeAnywhereCache(ResumeAnywhereCacheRequest request, ServerCallContext context)Resumes a disabled or paused Anywhere Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
ResumeAnywhereCacheRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAnywhereCache |
The response to send back to the client (wrapped by a task). |
SetIamPolicy(SetIamPolicyRequest, ServerCallContext)
public virtual Task<Policy> SetIamPolicy(SetIamPolicyRequest request, ServerCallContext context)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 received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
The response to send back to the client (wrapped by a task). |
SummarizeIntelligenceFindings(SummarizeIntelligenceFindingsRequest, ServerCallContext)
public virtual Task<SummarizeIntelligenceFindingsResponse> SummarizeIntelligenceFindings(SummarizeIntelligenceFindingsRequest request, ServerCallContext context)Summarizes the intelligence findings for the specified scope (organization, folder or project).
| Parameters | |
|---|---|
| Name | Description |
request |
SummarizeIntelligenceFindingsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSummarizeIntelligenceFindingsResponse |
The response to send back to the client (wrapped by a task). |
TestIamPermissions(TestIamPermissionsRequest, ServerCallContext)
public virtual Task<TestIamPermissionsResponse> TestIamPermissions(TestIamPermissionsRequest request, ServerCallContext context)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 received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTestIamPermissionsResponse |
The response to send back to the client (wrapped by a task). |
UpdateAnywhereCache(UpdateAnywhereCacheRequest, ServerCallContext)
public virtual Task<Operation> UpdateAnywhereCache(UpdateAnywhereCacheRequest request, ServerCallContext context)Updates an Anywhere Cache instance. Mutable fields include ttl and
admission_policy.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAnywhereCacheRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
UpdateFolderIntelligenceConfig(UpdateFolderIntelligenceConfigRequest, ServerCallContext)
public virtual Task<IntelligenceConfig> UpdateFolderIntelligenceConfig(UpdateFolderIntelligenceConfigRequest request, ServerCallContext context)Updates the Folder scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFolderIntelligenceConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskIntelligenceConfig |
The response to send back to the client (wrapped by a task). |
UpdateManagedFolder(UpdateManagedFolderRequest, ServerCallContext)
public virtual Task<ManagedFolder> UpdateManagedFolder(UpdateManagedFolderRequest request, ServerCallContext context)Updates a managed folder. Currently, this RPC only supports updating the
rapid_cache_config field.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateManagedFolderRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskManagedFolder |
The response to send back to the client (wrapped by a task). |
UpdateOrganizationIntelligenceConfig(UpdateOrganizationIntelligenceConfigRequest, ServerCallContext)
public virtual Task<IntelligenceConfig> UpdateOrganizationIntelligenceConfig(UpdateOrganizationIntelligenceConfigRequest request, ServerCallContext context)Updates the Organization scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateOrganizationIntelligenceConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskIntelligenceConfig |
The response to send back to the client (wrapped by a task). |
UpdateProjectIntelligenceConfig(UpdateProjectIntelligenceConfigRequest, ServerCallContext)
public virtual Task<IntelligenceConfig> UpdateProjectIntelligenceConfig(UpdateProjectIntelligenceConfigRequest request, ServerCallContext context)Updates the Project scoped singleton IntelligenceConfig resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateProjectIntelligenceConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskIntelligenceConfig |
The response to send back to the client (wrapped by a task). |
UpdateRapidCache(UpdateRapidCacheRequest, ServerCallContext)
public virtual Task<Operation> UpdateRapidCache(UpdateRapidCacheRequest request, ServerCallContext context)Updates a Rapid Cache instance.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRapidCacheRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
ViewObjectFullContext(ViewObjectFullContextRequest, ServerCallContext)
public virtual Task<ObjectFullContext> ViewObjectFullContext(ViewObjectFullContextRequest request, ServerCallContext context)Retrieves the full content of an object context, including its key, value, and any associated extended data for a given context key.
Object contexts can optionally contain extended data. If an object context contains extended data, the metadata payload structure will contain only its type URL. To retrieve the full extended data, call this method.
Returns the complete representation of the context as an
[ObjectFullContext][google.storage.control.v2.ObjectFullContext].
| Parameters | |
|---|---|
| Name | Description |
request |
ViewObjectFullContextRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskObjectFullContext |
The response to send back to the client (wrapped by a task). |