Class MigrationServiceStub (3.20.0)

public abstract class MigrationServiceStub implements BackgroundResource

Base stub class for the MigrationService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > MigrationServiceStub

Implements

BackgroundResource

Constructors

MigrationServiceStub()

public MigrationServiceStub()

Methods

batchMigrateResourcesCallable()

public UnaryCallable<BatchMigrateResourcesRequest,Operation> batchMigrateResourcesCallable()
Returns
TypeDescription
UnaryCallable<BatchMigrateResourcesRequest,Operation>

batchMigrateResourcesOperationCallable()

public OperationCallable<BatchMigrateResourcesRequest,BatchMigrateResourcesResponse,BatchMigrateResourcesOperationMetadata> batchMigrateResourcesOperationCallable()
Returns
TypeDescription
OperationCallable<BatchMigrateResourcesRequest,BatchMigrateResourcesResponse,BatchMigrateResourcesOperationMetadata>

close()

public abstract void close()

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
TypeDescription
OperationsStub

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,MigrationServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>

searchMigratableResourcesCallable()

public UnaryCallable<SearchMigratableResourcesRequest,SearchMigratableResourcesResponse> searchMigratableResourcesCallable()
Returns
TypeDescription
UnaryCallable<SearchMigratableResourcesRequest,SearchMigratableResourcesResponse>

searchMigratableResourcesPagedCallable()

public UnaryCallable<SearchMigratableResourcesRequest,MigrationServiceClient.SearchMigratableResourcesPagedResponse> searchMigratableResourcesPagedCallable()
Returns
TypeDescription
UnaryCallable<SearchMigratableResourcesRequest,SearchMigratableResourcesPagedResponse>

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>