Database Migration v1 API - Class CreateMappingRuleRequest (2.2.0)

public sealed class CreateMappingRuleRequest : IMessage<CreateMappingRuleRequest>, IEquatable<CreateMappingRuleRequest>, IDeepCloneable<CreateMappingRuleRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class CreateMappingRuleRequest.

Request message for 'CreateMappingRule' command.

Inheritance

object > CreateMappingRuleRequest

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

CreateMappingRuleRequest()

public CreateMappingRuleRequest()

CreateMappingRuleRequest(CreateMappingRuleRequest)

public CreateMappingRuleRequest(CreateMappingRuleRequest other)
Parameter
NameDescription
otherCreateMappingRuleRequest

Properties

MappingRule

public MappingRule MappingRule { get; set; }

Required. Represents a mapping rule object.

Property Value
TypeDescription
MappingRule

MappingRuleId

public string MappingRuleId { get; set; }

Required. The ID of the rule to create.

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. The parent which owns this collection of mapping rules.

Property Value
TypeDescription
string

ParentAsConversionWorkspaceName

public ConversionWorkspaceName ParentAsConversionWorkspaceName { get; set; }

ConversionWorkspaceName-typed view over the Parent resource name property.

Property Value
TypeDescription
ConversionWorkspaceName

RequestId

public string RequestId { get; set; }

A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Property Value
TypeDescription
string