Class DataplexServiceGrpc.DataplexServiceFutureStub (1.46.0)

public static final class DataplexServiceGrpc.DataplexServiceFutureStub extends AbstractFutureStub<DataplexServiceGrpc.DataplexServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service DataplexService.

Dataplex service provides data lakes as a service. The primary resources offered by this service are Lakes, Zones and Assets which collectively allow a data administrator to organize, manage, secure and catalog data across their organization located across cloud projects in a variety of storage systems including Cloud Storage and BigQuery.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > DataplexServiceGrpc.DataplexServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected DataplexServiceGrpc.DataplexServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
DataplexServiceGrpc.DataplexServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

cancelJob(CancelJobRequest request)

public ListenableFuture<Empty> cancelJob(CancelJobRequest request)

Cancel jobs running for the task resource.

Parameter
Name Description
request CancelJobRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

createAsset(CreateAssetRequest request)

public ListenableFuture<Operation> createAsset(CreateAssetRequest request)

Creates an asset resource.

Parameter
Name Description
request CreateAssetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createEnvironment(CreateEnvironmentRequest request)

public ListenableFuture<Operation> createEnvironment(CreateEnvironmentRequest request)

Create an environment resource.

Parameter
Name Description
request CreateEnvironmentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createLake(CreateLakeRequest request)

public ListenableFuture<Operation> createLake(CreateLakeRequest request)

Creates a lake resource.

Parameter
Name Description
request CreateLakeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createTask(CreateTaskRequest request)

public ListenableFuture<Operation> createTask(CreateTaskRequest request)

Creates a task resource within a lake.

Parameter
Name Description
request CreateTaskRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createZone(CreateZoneRequest request)

public ListenableFuture<Operation> createZone(CreateZoneRequest request)

Creates a zone resource within a lake.

Parameter
Name Description
request CreateZoneRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAsset(DeleteAssetRequest request)

public ListenableFuture<Operation> deleteAsset(DeleteAssetRequest request)

Deletes an asset resource. The referenced storage resource is detached (default) or deleted based on the associated Lifecycle policy.

Parameter
Name Description
request DeleteAssetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteEnvironment(DeleteEnvironmentRequest request)

public ListenableFuture<Operation> deleteEnvironment(DeleteEnvironmentRequest request)

Delete the environment resource. All the child resources must have been deleted before environment deletion can be initiated.

Parameter
Name Description
request DeleteEnvironmentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteLake(DeleteLakeRequest request)

public ListenableFuture<Operation> deleteLake(DeleteLakeRequest request)

Deletes a lake resource. All zones within the lake must be deleted before the lake can be deleted.

Parameter
Name Description
request DeleteLakeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteTask(DeleteTaskRequest request)

public ListenableFuture<Operation> deleteTask(DeleteTaskRequest request)

Delete the task resource.

Parameter
Name Description
request DeleteTaskRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteZone(DeleteZoneRequest request)

public ListenableFuture<Operation> deleteZone(DeleteZoneRequest request)

Deletes a zone resource. All assets within a zone must be deleted before the zone can be deleted.

Parameter
Name Description
request DeleteZoneRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getAsset(GetAssetRequest request)

public ListenableFuture<Asset> getAsset(GetAssetRequest request)

Retrieves an asset resource.

Parameter
Name Description
request GetAssetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Asset>

getEnvironment(GetEnvironmentRequest request)

public ListenableFuture<Environment> getEnvironment(GetEnvironmentRequest request)

Get environment resource.

Parameter
Name Description
request GetEnvironmentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Environment>

getJob(GetJobRequest request)

public ListenableFuture<Job> getJob(GetJobRequest request)

Get job resource.

Parameter
Name Description
request GetJobRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Job>

getLake(GetLakeRequest request)

public ListenableFuture<Lake> getLake(GetLakeRequest request)

Retrieves a lake resource.

Parameter
Name Description
request GetLakeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Lake>

getTask(GetTaskRequest request)

public ListenableFuture<Task> getTask(GetTaskRequest request)

Get task resource.

Parameter
Name Description
request GetTaskRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Task>

getZone(GetZoneRequest request)

public ListenableFuture<Zone> getZone(GetZoneRequest request)

Retrieves a zone resource.

Parameter
Name Description
request GetZoneRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Zone>

listAssetActions(ListAssetActionsRequest request)

public ListenableFuture<ListActionsResponse> listAssetActions(ListAssetActionsRequest request)

Lists action resources in an asset.

Parameter
Name Description
request ListAssetActionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListActionsResponse>

listAssets(ListAssetsRequest request)

public ListenableFuture<ListAssetsResponse> listAssets(ListAssetsRequest request)

Lists asset resources in a zone.

Parameter
Name Description
request ListAssetsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListAssetsResponse>

listEnvironments(ListEnvironmentsRequest request)

public ListenableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest request)

Lists environments under the given lake.

Parameter
Name Description
request ListEnvironmentsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListEnvironmentsResponse>

listJobs(ListJobsRequest request)

public ListenableFuture<ListJobsResponse> listJobs(ListJobsRequest request)

Lists Jobs under the given task.

Parameter
Name Description
request ListJobsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListJobsResponse>

listLakeActions(ListLakeActionsRequest request)

public ListenableFuture<ListActionsResponse> listLakeActions(ListLakeActionsRequest request)

Lists action resources in a lake.

Parameter
Name Description
request ListLakeActionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListActionsResponse>

listLakes(ListLakesRequest request)

public ListenableFuture<ListLakesResponse> listLakes(ListLakesRequest request)

Lists lake resources in a project and location.

Parameter
Name Description
request ListLakesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListLakesResponse>

listSessions(ListSessionsRequest request)

public ListenableFuture<ListSessionsResponse> listSessions(ListSessionsRequest request)

Lists session resources in an environment.

Parameter
Name Description
request ListSessionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListSessionsResponse>

listTasks(ListTasksRequest request)

public ListenableFuture<ListTasksResponse> listTasks(ListTasksRequest request)

Lists tasks under the given lake.

Parameter
Name Description
request ListTasksRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListTasksResponse>

listZoneActions(ListZoneActionsRequest request)

public ListenableFuture<ListActionsResponse> listZoneActions(ListZoneActionsRequest request)

Lists action resources in a zone.

Parameter
Name Description
request ListZoneActionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListActionsResponse>

listZones(ListZonesRequest request)

public ListenableFuture<ListZonesResponse> listZones(ListZonesRequest request)

Lists zone resources in a lake.

Parameter
Name Description
request ListZonesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListZonesResponse>

runTask(RunTaskRequest request)

public ListenableFuture<RunTaskResponse> runTask(RunTaskRequest request)

Run an on demand execution of a Task.

Parameter
Name Description
request RunTaskRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RunTaskResponse>

updateAsset(UpdateAssetRequest request)

public ListenableFuture<Operation> updateAsset(UpdateAssetRequest request)

Updates an asset resource.

Parameter
Name Description
request UpdateAssetRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateEnvironment(UpdateEnvironmentRequest request)

public ListenableFuture<Operation> updateEnvironment(UpdateEnvironmentRequest request)

Update the environment resource.

Parameter
Name Description
request UpdateEnvironmentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateLake(UpdateLakeRequest request)

public ListenableFuture<Operation> updateLake(UpdateLakeRequest request)

Updates a lake resource.

Parameter
Name Description
request UpdateLakeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateTask(UpdateTaskRequest request)

public ListenableFuture<Operation> updateTask(UpdateTaskRequest request)

Update the task resource.

Parameter
Name Description
request UpdateTaskRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateZone(UpdateZoneRequest request)

public ListenableFuture<Operation> updateZone(UpdateZoneRequest request)

Updates a zone resource.

Parameter
Name Description
request UpdateZoneRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>