ProjectsLocationsConversionWorkspaces
class ProjectsLocationsConversionWorkspaces extends Resource (View source)
The "conversionWorkspaces" collection of methods.
Typical usage is:
$datamigrationService = new Google\Service\DatabaseMigrationService(...);
$conversionWorkspaces = $datamigrationService->projects_locations_conversionWorkspaces;
Methods
Applies draft tree onto a specific destination database.
Marks all the data in the conversion workspace as committed.
Creates a draft tree schema for the destination database.
Creates a new conversion workspace in a given project and location.
Deletes a single conversion workspace. (conversionWorkspaces.delete)
Retrieves a list of committed revisions of a specific conversion workspace.
Describes the database entities tree for a specific conversion workspace and a specific tree type. Database entities are not resources like conversion workspaces or mapping rules, and they can't be created, updated or deleted.
Gets details of a single conversion workspace. (conversionWorkspaces.get)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Lists conversion workspaces in a given project and location.
Updates the parameters of a single conversion workspace.
Rolls back a conversion workspace to the last committed snapshot.
Searches/lists the background jobs for a specific conversion workspace. The background jobs are not resources like conversion workspaces or mapping rules, and they can't be created, updated or deleted. Instead, they are a way to expose the data plane jobs log.
Imports a snapshot of the source database into the conversion workspace.
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (conversionWorkspaces.setIamPolicy)
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
Details
Operation
apply(string $name, ApplyConversionWorkspaceRequest $postBody, array $optParams = [])
Applies draft tree onto a specific destination database.
(conversionWorkspaces.apply)
Operation
commit(string $name, CommitConversionWorkspaceRequest $postBody, array $optParams = [])
Marks all the data in the conversion workspace as committed.
(conversionWorkspaces.commit)
Operation
convert(string $name, ConvertConversionWorkspaceRequest $postBody, array $optParams = [])
Creates a draft tree schema for the destination database.
(conversionWorkspaces.convert)
Operation
create(string $parent, ConversionWorkspace $postBody, array $optParams = [])
Creates a new conversion workspace in a given project and location.
(conversionWorkspaces.create)
Operation
delete(string $name, array $optParams = [])
Deletes a single conversion workspace. (conversionWorkspaces.delete)
DescribeConversionWorkspaceRevisionsResponse
describeConversionWorkspaceRevisions(string $conversionWorkspace, array $optParams = [])
Retrieves a list of committed revisions of a specific conversion workspace.
(conversionWorkspaces.describeConversionWorkspaceRevisions)
DescribeDatabaseEntitiesResponse
describeDatabaseEntities(string $conversionWorkspace, array $optParams = [])
Describes the database entities tree for a specific conversion workspace and a specific tree type. Database entities are not resources like conversion workspaces or mapping rules, and they can't be created, updated or deleted.
Instead, they are simple data objects describing the structure of the client database. (conversionWorkspaces.describeDatabaseEntities)
ConversionWorkspace
get(string $name, array $optParams = [])
Gets details of a single conversion workspace. (conversionWorkspaces.get)
Policy
getIamPolicy(string $resource, array $optParams = [])
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
(conversionWorkspaces.getIamPolicy)
ListConversionWorkspacesResponse
listProjectsLocationsConversionWorkspaces(string $parent, array $optParams = [])
Lists conversion workspaces in a given project and location.
(conversionWorkspaces.listProjectsLocationsConversionWorkspaces)
Operation
patch(string $name, ConversionWorkspace $postBody, array $optParams = [])
Updates the parameters of a single conversion workspace.
(conversionWorkspaces.patch)
Operation
rollback(string $name, RollbackConversionWorkspaceRequest $postBody, array $optParams = [])
Rolls back a conversion workspace to the last committed snapshot.
(conversionWorkspaces.rollback)
SearchBackgroundJobsResponse
searchBackgroundJobs(string $conversionWorkspace, array $optParams = [])
Searches/lists the background jobs for a specific conversion workspace. The background jobs are not resources like conversion workspaces or mapping rules, and they can't be created, updated or deleted. Instead, they are a way to expose the data plane jobs log.
(conversionWorkspaces.searchBackgroundJobs)
Operation
seed(string $name, SeedConversionWorkspaceRequest $postBody, array $optParams = [])
Imports a snapshot of the source database into the conversion workspace.
(conversionWorkspaces.seed)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (conversionWorkspaces.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning. (conversionWorkspaces.testIamPermissions)