public static final class StorageControlGrpc.StorageControlBlockingV2Stub extends AbstractBlockingStub<StorageControlGrpc.StorageControlBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service StorageControl.
StorageControl service includes selected control plane operations.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
StorageControlGrpc.StorageControlBlockingV2Stub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected StorageControlGrpc.StorageControlBlockingV2Stub build(Channel channel, CallOptions callOptions)
| Parameters |
| Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createAnywhereCache(CreateAnywhereCacheRequest request)
public Operation createAnywhereCache(CreateAnywhereCacheRequest request)
Creates an Anywhere Cache instance.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
createFolder(CreateFolderRequest request)
public Folder createFolder(CreateFolderRequest request)
Creates a new folder. This operation is only applicable to a hierarchical
namespace enabled bucket.
| Returns |
| Type |
Description |
Folder |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
createManagedFolder(CreateManagedFolderRequest request)
public ManagedFolder createManagedFolder(CreateManagedFolderRequest request)
Creates a new managed folder.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
deleteFolder(DeleteFolderRequest request)
public Empty deleteFolder(DeleteFolderRequest request)
Permanently deletes an empty folder. This operation is only applicable to a
hierarchical namespace enabled bucket.
| Returns |
| Type |
Description |
Empty |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
deleteManagedFolder(DeleteManagedFolderRequest request)
public Empty deleteManagedFolder(DeleteManagedFolderRequest request)
Permanently deletes an empty managed folder.
| Returns |
| Type |
Description |
Empty |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
disableAnywhereCache(DisableAnywhereCacheRequest request)
public AnywhereCache disableAnywhereCache(DisableAnywhereCacheRequest request)
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.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getAnywhereCache(GetAnywhereCacheRequest request)
public AnywhereCache getAnywhereCache(GetAnywhereCacheRequest request)
Gets an Anywhere Cache instance.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getFolder(GetFolderRequest request)
public Folder getFolder(GetFolderRequest request)
Returns metadata for the specified folder. This operation is only
applicable to a hierarchical namespace enabled bucket.
| Returns |
| Type |
Description |
Folder |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getFolderIntelligenceConfig(GetFolderIntelligenceConfigRequest request)
public IntelligenceConfig getFolderIntelligenceConfig(GetFolderIntelligenceConfigRequest request)
Returns the Folder scoped singleton IntelligenceConfig resource.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getIamPolicy(GetIamPolicyRequest request)
public Policy getIamPolicy(GetIamPolicyRequest request)
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.
| Parameter |
| Name |
Description |
request |
com.google.iam.v1.GetIamPolicyRequest
|
| Returns |
| Type |
Description |
com.google.iam.v1.Policy |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getManagedFolder(GetManagedFolderRequest request)
public ManagedFolder getManagedFolder(GetManagedFolderRequest request)
Returns metadata for the specified managed folder.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getOrganizationIntelligenceConfig(GetOrganizationIntelligenceConfigRequest request)
public IntelligenceConfig getOrganizationIntelligenceConfig(GetOrganizationIntelligenceConfigRequest request)
Returns the Organization scoped singleton IntelligenceConfig resource.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getProjectIntelligenceConfig(GetProjectIntelligenceConfigRequest request)
public IntelligenceConfig getProjectIntelligenceConfig(GetProjectIntelligenceConfigRequest request)
Returns the Project scoped singleton IntelligenceConfig resource.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getStorageLayout(GetStorageLayoutRequest request)
public StorageLayout getStorageLayout(GetStorageLayoutRequest request)
Returns the storage layout configuration for a given bucket.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
listAnywhereCaches(ListAnywhereCachesRequest request)
public ListAnywhereCachesResponse listAnywhereCaches(ListAnywhereCachesRequest request)
Lists Anywhere Cache instances for a given bucket.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
listFolders(ListFoldersRequest request)
public ListFoldersResponse listFolders(ListFoldersRequest request)
Retrieves a list of folders. This operation is only applicable to a
hierarchical namespace enabled bucket.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
listManagedFolders(ListManagedFoldersRequest request)
public ListManagedFoldersResponse listManagedFolders(ListManagedFoldersRequest request)
Retrieves a list of managed folders for a given bucket.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
pauseAnywhereCache(PauseAnywhereCacheRequest request)
public AnywhereCache pauseAnywhereCache(PauseAnywhereCacheRequest request)
Pauses an Anywhere Cache instance.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
renameFolder(RenameFolderRequest request)
public Operation renameFolder(RenameFolderRequest request)
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.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
resumeAnywhereCache(ResumeAnywhereCacheRequest request)
public AnywhereCache resumeAnywhereCache(ResumeAnywhereCacheRequest request)
Resumes a disabled or paused Anywhere Cache instance.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
setIamPolicy(SetIamPolicyRequest request)
public Policy setIamPolicy(SetIamPolicyRequest request)
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.
| Parameter |
| Name |
Description |
request |
com.google.iam.v1.SetIamPolicyRequest
|
| Returns |
| Type |
Description |
com.google.iam.v1.Policy |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
testIamPermissions(TestIamPermissionsRequest request)
public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request)
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.
| Parameter |
| Name |
Description |
request |
com.google.iam.v1.TestIamPermissionsRequest
|
| Returns |
| Type |
Description |
com.google.iam.v1.TestIamPermissionsResponse |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
updateAnywhereCache(UpdateAnywhereCacheRequest request)
public Operation updateAnywhereCache(UpdateAnywhereCacheRequest request)
Updates an Anywhere Cache instance. Mutable fields include ttl and
admission_policy.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
updateFolderIntelligenceConfig(UpdateFolderIntelligenceConfigRequest request)
public IntelligenceConfig updateFolderIntelligenceConfig(UpdateFolderIntelligenceConfigRequest request)
Updates the Folder scoped singleton IntelligenceConfig resource.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
updateOrganizationIntelligenceConfig(UpdateOrganizationIntelligenceConfigRequest request)
public IntelligenceConfig updateOrganizationIntelligenceConfig(UpdateOrganizationIntelligenceConfigRequest request)
Updates the Organization scoped singleton IntelligenceConfig resource.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
updateProjectIntelligenceConfig(UpdateProjectIntelligenceConfigRequest request)
public IntelligenceConfig updateProjectIntelligenceConfig(UpdateProjectIntelligenceConfigRequest request)
Updates the Project scoped singleton IntelligenceConfig resource.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|