Class MultiColumnDatatypeChange
Options to configure rule type MultiColumnDatatypeChange. The rule is used to change the data type and associated properties of multiple columns at once. The rule filter field can refer to one or more entities. The rule scope can be one of:Column. This rule requires additional filters to be specified beyond the basic rule filter field, which is the source data type, but the rule supports additional filtering capabilities such as the minimum and maximum field length. All additional filters which are specified are required to be met in order for the rule to be applied (logical AND between the fields).
Implements
Inherited Members
Namespace: Google.Apis.DatabaseMigrationService.v1.Data
Assembly: Google.Apis.DatabaseMigrationService.v1.dll
Syntax
public class MultiColumnDatatypeChange : IDirectResponseSchema
Properties
CustomFeatures
Optional. Custom engine specific features.
Declaration
[JsonProperty("customFeatures")]
public virtual IDictionary<string, object> CustomFeatures { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
NewDataType
Required. New data type.
Declaration
[JsonProperty("newDataType")]
public virtual string NewDataType { get; set; }
Property Value
Type | Description |
---|---|
string |
OverrideFractionalSecondsPrecision
Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.
Declaration
[JsonProperty("overrideFractionalSecondsPrecision")]
public virtual int? OverrideFractionalSecondsPrecision { get; set; }
Property Value
Type | Description |
---|---|
int? |
OverrideLength
Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.
Declaration
[JsonProperty("overrideLength")]
public virtual long? OverrideLength { get; set; }
Property Value
Type | Description |
---|---|
long? |
OverridePrecision
Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.
Declaration
[JsonProperty("overridePrecision")]
public virtual int? OverridePrecision { get; set; }
Property Value
Type | Description |
---|---|
int? |
OverrideScale
Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.
Declaration
[JsonProperty("overrideScale")]
public virtual int? OverrideScale { get; set; }
Property Value
Type | Description |
---|---|
int? |
SourceDataTypeFilter
Required. Filter on source data type.
Declaration
[JsonProperty("sourceDataTypeFilter")]
public virtual string SourceDataTypeFilter { get; set; }
Property Value
Type | Description |
---|---|
string |
SourceNumericFilter
Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
Declaration
[JsonProperty("sourceNumericFilter")]
public virtual SourceNumericFilter SourceNumericFilter { get; set; }
Property Value
Type | Description |
---|---|
SourceNumericFilter |
SourceTextFilter
Optional. Filter for text-based data types like varchar.
Declaration
[JsonProperty("sourceTextFilter")]
public virtual SourceTextFilter SourceTextFilter { get; set; }
Property Value
Type | Description |
---|---|
SourceTextFilter |