Class ProjectsResource.LocationsResource.ConversionWorkspacesResource.MappingRulesResource
The "mappingRules" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DatabaseMigrationService.v1
Assembly: Google.Apis.DatabaseMigrationService.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ConversionWorkspacesResource.MappingRulesResource
Constructors
MappingRulesResource(IClientService)
Constructs a new resource.
Declaration
public MappingRulesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(MappingRule, string)
Creates a new mapping rule for a given conversion workspace.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.MappingRulesResource.CreateRequest Create(MappingRule body, string parent)
Parameters
Type | Name | Description |
---|---|---|
MappingRule | body | The body of the request. |
string | parent | Required. The parent which owns this collection of mapping rules. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversionWorkspacesResource.MappingRulesResource.CreateRequest |
Delete(string)
Deletes a single mapping rule.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.MappingRulesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the mapping rule resource to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversionWorkspacesResource.MappingRulesResource.DeleteRequest |
Get(string)
Gets the details of a mapping rule.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.MappingRulesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the mapping rule resource to get. Example: conversionWorkspaces/123/mappingRules/rule123 In order to retrieve a previous revision of the mapping rule, also provide the revision ID. Example: conversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8 |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversionWorkspacesResource.MappingRulesResource.GetRequest |
Import(ImportMappingRulesRequest, string)
Imports the mapping rules for a given conversion workspace. Supports various formats of external rules files.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.MappingRulesResource.ImportRequest Import(ImportMappingRulesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
ImportMappingRulesRequest | body | The body of the request. |
string | parent | Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversionWorkspacesResource.MappingRulesResource.ImportRequest |
List(string)
Lists the mapping rules for a specific conversion workspace.
Declaration
public virtual ProjectsResource.LocationsResource.ConversionWorkspacesResource.MappingRulesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Name of the conversion workspace resource whose mapping rules are listed in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversionWorkspacesResource.MappingRulesResource.ListRequest |