Class DataplexServiceGrpc.DataplexServiceFutureStub (1.34.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCancelJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

createAsset(CreateAssetRequest request)

public ListenableFuture<Operation> createAsset(CreateAssetRequest request)

Creates an asset resource.

Parameter
NameDescription
requestCreateAssetRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createEnvironment(CreateEnvironmentRequest request)

public ListenableFuture<Operation> createEnvironment(CreateEnvironmentRequest request)

Create an environment resource.

Parameter
NameDescription
requestCreateEnvironmentRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createLake(CreateLakeRequest request)

public ListenableFuture<Operation> createLake(CreateLakeRequest request)

Creates a lake resource.

Parameter
NameDescription
requestCreateLakeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createTask(CreateTaskRequest request)

public ListenableFuture<Operation> createTask(CreateTaskRequest request)

Creates a task resource within a lake.

Parameter
NameDescription
requestCreateTaskRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createZone(CreateZoneRequest request)

public ListenableFuture<Operation> createZone(CreateZoneRequest request)

Creates a zone resource within a lake.

Parameter
NameDescription
requestCreateZoneRequest
Returns
TypeDescription
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
NameDescription
requestDeleteAssetRequest
Returns
TypeDescription
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
NameDescription
requestDeleteEnvironmentRequest
Returns
TypeDescription
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
NameDescription
requestDeleteLakeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteTask(DeleteTaskRequest request)

public ListenableFuture<Operation> deleteTask(DeleteTaskRequest request)

Delete the task resource.

Parameter
NameDescription
requestDeleteTaskRequest
Returns
TypeDescription
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
NameDescription
requestDeleteZoneRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getAsset(GetAssetRequest request)

public ListenableFuture<Asset> getAsset(GetAssetRequest request)

Retrieves an asset resource.

Parameter
NameDescription
requestGetAssetRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Asset>

getEnvironment(GetEnvironmentRequest request)

public ListenableFuture<Environment> getEnvironment(GetEnvironmentRequest request)

Get environment resource.

Parameter
NameDescription
requestGetEnvironmentRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Environment>

getJob(GetJobRequest request)

public ListenableFuture<Job> getJob(GetJobRequest request)

Get job resource.

Parameter
NameDescription
requestGetJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Job>

getLake(GetLakeRequest request)

public ListenableFuture<Lake> getLake(GetLakeRequest request)

Retrieves a lake resource.

Parameter
NameDescription
requestGetLakeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Lake>

getTask(GetTaskRequest request)

public ListenableFuture<Task> getTask(GetTaskRequest request)

Get task resource.

Parameter
NameDescription
requestGetTaskRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Task>

getZone(GetZoneRequest request)

public ListenableFuture<Zone> getZone(GetZoneRequest request)

Retrieves a zone resource.

Parameter
NameDescription
requestGetZoneRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Zone>

listAssetActions(ListAssetActionsRequest request)

public ListenableFuture<ListActionsResponse> listAssetActions(ListAssetActionsRequest request)

Lists action resources in an asset.

Parameter
NameDescription
requestListAssetActionsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListActionsResponse>

listAssets(ListAssetsRequest request)

public ListenableFuture<ListAssetsResponse> listAssets(ListAssetsRequest request)

Lists asset resources in a zone.

Parameter
NameDescription
requestListAssetsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListAssetsResponse>

listEnvironments(ListEnvironmentsRequest request)

public ListenableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest request)

Lists environments under the given lake.

Parameter
NameDescription
requestListEnvironmentsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListEnvironmentsResponse>

listJobs(ListJobsRequest request)

public ListenableFuture<ListJobsResponse> listJobs(ListJobsRequest request)

Lists Jobs under the given task.

Parameter
NameDescription
requestListJobsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListJobsResponse>

listLakeActions(ListLakeActionsRequest request)

public ListenableFuture<ListActionsResponse> listLakeActions(ListLakeActionsRequest request)

Lists action resources in a lake.

Parameter
NameDescription
requestListLakeActionsRequest
Returns
TypeDescription
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
NameDescription
requestListLakesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListLakesResponse>

listSessions(ListSessionsRequest request)

public ListenableFuture<ListSessionsResponse> listSessions(ListSessionsRequest request)

Lists session resources in an environment.

Parameter
NameDescription
requestListSessionsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListSessionsResponse>

listTasks(ListTasksRequest request)

public ListenableFuture<ListTasksResponse> listTasks(ListTasksRequest request)

Lists tasks under the given lake.

Parameter
NameDescription
requestListTasksRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListTasksResponse>

listZoneActions(ListZoneActionsRequest request)

public ListenableFuture<ListActionsResponse> listZoneActions(ListZoneActionsRequest request)

Lists action resources in a zone.

Parameter
NameDescription
requestListZoneActionsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListActionsResponse>

listZones(ListZonesRequest request)

public ListenableFuture<ListZonesResponse> listZones(ListZonesRequest request)

Lists zone resources in a lake.

Parameter
NameDescription
requestListZonesRequest
Returns
TypeDescription
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
NameDescription
requestRunTaskRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<RunTaskResponse>

updateAsset(UpdateAssetRequest request)

public ListenableFuture<Operation> updateAsset(UpdateAssetRequest request)

Updates an asset resource.

Parameter
NameDescription
requestUpdateAssetRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateEnvironment(UpdateEnvironmentRequest request)

public ListenableFuture<Operation> updateEnvironment(UpdateEnvironmentRequest request)

Update the environment resource.

Parameter
NameDescription
requestUpdateEnvironmentRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateLake(UpdateLakeRequest request)

public ListenableFuture<Operation> updateLake(UpdateLakeRequest request)

Updates a lake resource.

Parameter
NameDescription
requestUpdateLakeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateTask(UpdateTaskRequest request)

public ListenableFuture<Operation> updateTask(UpdateTaskRequest request)

Update the task resource.

Parameter
NameDescription
requestUpdateTaskRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateZone(UpdateZoneRequest request)

public ListenableFuture<Operation> updateZone(UpdateZoneRequest request)

Updates a zone resource.

Parameter
NameDescription
requestUpdateZoneRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>