Class ProjectsResource.LocationsResource.ConversionWorkspacesResource
The "conversionWorkspaces" collection of methods.
Inherited Members
Namespace: Google.Apis.DatabaseMigrationService.v1
Assembly: Google.Apis.DatabaseMigrationService.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ConversionWorkspacesResource
Constructors
ConversionWorkspacesResource(IClientService)
Constructs a new resource.
Declaration
public ConversionWorkspacesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
MappingRules
Gets the MappingRules resource.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.MappingRulesResource MappingRules { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.MappingRulesResource |
Methods
Apply(ApplyConversionWorkspaceRequest, string)
Applies draft tree onto a specific destination database.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.ApplyRequest Apply(ApplyConversionWorkspaceRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| ApplyConversionWorkspaceRequest | body | The body of the request. |
| string | name | Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.ApplyRequest |
Commit(CommitConversionWorkspaceRequest, string)
Marks all the data in the conversion workspace as committed.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.CommitRequest Commit(CommitConversionWorkspaceRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| CommitConversionWorkspaceRequest | body | The body of the request. |
| string | name | Required. Name of the conversion workspace resource to commit. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.CommitRequest |
Convert(ConvertConversionWorkspaceRequest, string)
Creates a draft tree schema for the destination database.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.ConvertRequest Convert(ConvertConversionWorkspaceRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| ConvertConversionWorkspaceRequest | body | The body of the request. |
| string | name | Name of the conversion workspace resource to convert in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.ConvertRequest |
Create(ConversionWorkspace, string)
Creates a new conversion workspace in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.CreateRequest Create(ConversionWorkspace body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| ConversionWorkspace | body | The body of the request. |
| string | parent | Required. The parent which owns this collection of conversion workspaces. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.CreateRequest |
Delete(string)
Deletes a single conversion workspace.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Name of the conversion workspace resource to delete. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.DeleteRequest |
DescribeConversionWorkspaceRevisions(string)
Retrieves a list of committed revisions of a specific conversion workspace.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.DescribeConversionWorkspaceRevisionsRequest DescribeConversionWorkspaceRevisions(string conversionWorkspace)
Parameters
| Type | Name | Description |
|---|---|---|
| string | conversionWorkspace | Required. Name of the conversion workspace resource whose revisions are listed. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.DescribeConversionWorkspaceRevisionsRequest |
DescribeDatabaseEntities(string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.DescribeDatabaseEntitiesRequest DescribeDatabaseEntities(string conversionWorkspace)
Parameters
| Type | Name | Description |
|---|---|---|
| string | conversionWorkspace | Required. Name of the conversion workspace resource whose database entities are described. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.DescribeDatabaseEntitiesRequest |
Get(string)
Gets details of a single conversion workspace.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Name of the conversion workspace resource to get. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.GetRequest |
GetIamPolicy(string)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.GetIamPolicyRequest |
List(string)
Lists conversion workspaces in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The parent which owns this collection of conversion workspaces. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.ListRequest |
Patch(ConversionWorkspace, string)
Updates the parameters of a single conversion workspace.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.PatchRequest Patch(ConversionWorkspace body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| ConversionWorkspace | body | The body of the request. |
| string | name | Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.PatchRequest |
Rollback(RollbackConversionWorkspaceRequest, string)
Rolls back a conversion workspace to the last committed snapshot.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.RollbackRequest Rollback(RollbackConversionWorkspaceRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| RollbackConversionWorkspaceRequest | body | The body of the request. |
| string | name | Required. Name of the conversion workspace resource to roll back to. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.RollbackRequest |
SearchBackgroundJobs(string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.SearchBackgroundJobsRequest SearchBackgroundJobs(string conversionWorkspace)
Parameters
| Type | Name | Description |
|---|---|---|
| string | conversionWorkspace | Required. Name of the conversion workspace resource whose jobs are listed, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.SearchBackgroundJobsRequest |
Seed(SeedConversionWorkspaceRequest, string)
Imports a snapshot of the source database into the conversion workspace.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.SeedRequest Seed(SeedConversionWorkspaceRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| SeedConversionWorkspaceRequest | body | The body of the request. |
| string | name | Name of the conversion workspace resource to seed with new database structure, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.SeedRequest |
SetIamPolicy(SetIamPolicyRequest, string)
Sets the access control policy on the specified resource. Replaces any existing policy. Can return
NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| SetIamPolicyRequest | body | The body of the request. |
| string | resource | REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.SetIamPolicyRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| TestIamPermissionsRequest | body | The body of the request. |
| string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConversionWorkspacesResource.TestIamPermissionsRequest |