public static final class ConfigGrpc.ConfigFutureStub extends AbstractFutureStub<ConfigGrpc.ConfigFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Config.
Config Service manages compliance frameworks, cloud controls, and their
configurations.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
ConfigGrpc.ConfigFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<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 ConfigGrpc.ConfigFutureStub 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)
createCloudControl(CreateCloudControlRequest request)
public ListenableFuture<CloudControl> createCloudControl(CreateCloudControlRequest request)
Creates a custom cloud control in a given parent
resource.
You can't create built-in cloud controls because those are managed by
Google.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<CloudControl> |
|
createFramework(CreateFrameworkRequest request)
public ListenableFuture<Framework> createFramework(CreateFrameworkRequest request)
Creates a custom framework in a given parent resource.
You can't create built-in frameworks because those are managed by
Google.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Framework> |
|
deleteCloudControl(DeleteCloudControlRequest request)
public ListenableFuture<Empty> deleteCloudControl(DeleteCloudControlRequest request)
Deletes a custom cloud control, including all its
major and minor revisions. Consider the following:
- You can't delete built-in cloud controls. You can only delete cloud
controls with type
CUSTOM.
- You can't delete cloud controls if any of the versions are referenced
by a framework.
- You can't restore a deleted cloud control. This action is permanent.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
deleteFramework(DeleteFrameworkRequest request)
public ListenableFuture<Empty> deleteFramework(DeleteFrameworkRequest request)
Deletes a custom framework, including all its major and
minor revisions. Consider the following:
- You can't delete built-in frameworks. You can only delete frameworks
with type
CUSTOM.
- You can't delete frameworks that are deployed to a resource.
- You can't restore a deleted framework. This action is permanent.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
getCloudControl(GetCloudControlRequest request)
public ListenableFuture<CloudControl> getCloudControl(GetCloudControlRequest request)
Gets details about a cloud control.
This method retrieves the latest major version of a cloud control that
you identify by name.
By default, the latest major version of the cloud control is returned.
To retrieve a specific major version, include major_revision_id in
the request.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<CloudControl> |
|
getFramework(GetFrameworkRequest request)
public ListenableFuture<Framework> getFramework(GetFrameworkRequest request)
Gets details about a framework.
This method retrieves the latest major version of the framework.
To retrieve a specific major version, include major_revision_id in
the request.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Framework> |
|
listCloudControls(ListCloudControlsRequest request)
public ListenableFuture<ListCloudControlsResponse> listCloudControls(ListCloudControlsRequest request)
Lists the cloud controls (both built-in and custom) that are available
in a given parent resource. The latest major version of each cloud control
is returned.
This method supports pagination.
listFrameworks(ListFrameworksRequest request)
public ListenableFuture<ListFrameworksResponse> listFrameworks(ListFrameworksRequest request)
Lists the frameworks (both built-in and custom) that are available within
the parent resource. The latest major version of each framework is
returned.
This method supports pagination.
updateCloudControl(UpdateCloudControlRequest request)
public ListenableFuture<CloudControl> updateCloudControl(UpdateCloudControlRequest request)
Updates a custom cloud control.
This method allows for partial updates of a cloud control. Use the
update_mask to specify which fields to update. Consider the following:
- If you provide an
update_mask, only the fields that are specified
in the mask are updated.
- If you don't provide an
update_mask, all the fields that are present
in the request's cloud_control body are used to overwrite the existing
resource.
You can only update cloud controls with the CUSTOM type.
A successful update creates a new version of the cloud control.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<CloudControl> |
|
updateFramework(UpdateFrameworkRequest request)
public ListenableFuture<Framework> updateFramework(UpdateFrameworkRequest request)
Updates a custom framework.
This method allows for partial updates of a framework. Use the
update_mask to specify which fields to update. Consider the following:
- If you provide an
update_mask, only the fields that are specified
in the mask are updated.
- If you don't provide an
update_mask, all the fields that are present
in the request's framework body are used to overwrite the existing
resource.
You can only update frameworks with the CUSTOM type.
A successful update creates a new version of the framework.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Framework> |
|