NAME
Google::Cloud::Clouddms::V1::ConversionworkspaceResources - Compiled Protocol Buffers messages for google/cloud/clouddms/v1/conversionworkspace_resources.proto
SYNOPSIS
use Google::Cloud::Clouddms::V1::ConversionworkspaceResources;
my $msg = Google::Cloud::Clouddms::V1::ConversionworkspaceResources::DatabaseEngineInfo->new({
engine => $engine,
version => $version,
});
# Read or update a field
my $val = $msg->engine();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Clouddms::V1::ConversionworkspaceResources::DatabaseEngineInfo->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/clouddms/v1/conversionworkspace_resources.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::DatabaseEngineInfo
The type and version of a source or destination database.
Inherits from Protobuf::Message.
Accessors
$msg->engine()/$msg->engine($value)Type:
Enum(Google::Cloud::Clouddms::V1::DatabaseEngine)Required. Engine type.
$msg->version()/$msg->version($value)Type:
StringRequired. Engine named version, for example 12.c.1.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ConversionWorkspace
The main conversion workspace resource entity.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringFull name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
$msg->source()/$msg->source($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::DatabaseEngineInfo)Required. The source engine details.
$msg->destination()/$msg->destination($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::DatabaseEngineInfo)Required. The destination engine details.
$msg->global_settings()/$msg->global_settings($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ConversionWorkspace::GlobalSettingsEntry)Optional. A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true
$msg->has_uncommitted_changes()/$msg->has_uncommitted_changes($value)Type:
BoolOutput only. Whether the workspace has uncommitted changes (changes which were made after the workspace was committed).
$msg->latest_commit_id()/$msg->latest_commit_id($value)Type:
StringOutput only. The latest commit ID.
$msg->latest_commit_time()/$msg->latest_commit_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp when the workspace was committed.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp when the workspace resource was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp when the workspace resource was last updated.
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. The display name for the workspace.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::BackgroundJobLogEntry
Execution log of a background job.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringThe background job log entry ID.
$msg->job_type()/$msg->job_type($value)Type:
Enum(Google::Cloud::Clouddms::V1::BackgroundJobType)The type of job that was executed.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The timestamp when the background job was started.
$msg->finish_time()/$msg->finish_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The timestamp when the background job was finished.
$msg->completion_state()/$msg->completion_state($value)Type:
Enum(Google::Cloud::Clouddms::V1::BackgroundJobLogEntry::JobCompletionState)Output only. Job completion state, i.e. the final state after the job completed.
$msg->completion_comment()/$msg->completion_comment($value)Type:
StringOutput only. Job completion comment, such as how many entities were seeded, how many warnings were found during conversion, and similar information.
$msg->request_autocommit()/$msg->request_autocommit($value)Type:
BoolOutput only. Whether the client requested the conversion workspace to be committed after a successful completion of the job.
$msg->seed_job_details()/$msg->seed_job_details($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::BackgroundJobLogEntry::SeedJobDetails)Output only. Seed job details.
$msg->import_rules_job_details()/$msg->import_rules_job_details($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::BackgroundJobLogEntry::ImportRulesJobDetails)Output only. Import rules job details.
$msg->convert_job_details()/$msg->convert_job_details($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::BackgroundJobLogEntry::ConvertJobDetails)Output only. Convert job details.
$msg->apply_job_details()/$msg->apply_job_details($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::BackgroundJobLogEntry::ApplyJobDetails)Output only. Apply job details.
Enum: BackgroundJobLogEntry::JobCompletionState
JOB_COMPLETION_STATE_UNSPECIFIED=>0SUCCEEDED=>1FAILED=>2
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::MappingRuleFilter
A filter defining the entities that a mapping rule should be applied to. When more than one field is specified, the rule is applied only to entities which match all the fields.
Inherits from Protobuf::Message.
Accessors
$msg->parent_entity()/$msg->parent_entity($value)Type:
StringOptional. The rule should be applied to entities whose parent entity (fully qualified name) matches the given value. For example, if the rule applies to a table entity, the expected value should be a schema (schema). If the rule applies to a column or index entity, the expected value can be either a schema (schema) or a table (schema.table)
$msg->entity_name_prefix()/$msg->entity_name_prefix($value)Type:
StringOptional. The rule should be applied to entities whose non-qualified name starts with the given prefix.
$msg->entity_name_suffix()/$msg->entity_name_suffix($value)Type:
StringOptional. The rule should be applied to entities whose non-qualified name ends with the given suffix.
$msg->entity_name_contains()/$msg->entity_name_contains($value)Type:
StringOptional. The rule should be applied to entities whose non-qualified name contains the given string.
$msg->entities()/$msg->entities($value)Type:
StringOptional. The rule should be applied to specific entities defined by their fully qualified names.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::MappingRule
Definition of a transformation that is to be applied to a group of entities in the source schema. Several such transformations can be applied to an entity sequentially to define the corresponding entity in the target schema.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringFull name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. A human readable name
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Clouddms::V1::MappingRule::State)Optional. The mapping rule state
$msg->rule_scope()/$msg->rule_scope($value)Type:
Enum(Google::Cloud::Clouddms::V1::DatabaseEntityType)Required. The rule scope
$msg->filter()/$msg->filter($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::MappingRuleFilter)Required. The rule filter
$msg->rule_order()/$msg->rule_order($value)Type:
Int64Required. The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.
$msg->revision_id()/$msg->revision_id($value)Type:
StringOutput only. The revision ID of the mapping rule. A new revision is committed whenever the mapping rule is changed in any way. The format is an 8-character hexadecimal string.
$msg->revision_create_time()/$msg->revision_create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp that the revision was created.
$msg->single_entity_rename()/$msg->single_entity_rename($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SingleEntityRename)Optional. Rule to specify how a single entity should be renamed.
$msg->multi_entity_rename()/$msg->multi_entity_rename($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::MultiEntityRename)Optional. Rule to specify how multiple entities should be renamed.
$msg->entity_move()/$msg->entity_move($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::EntityMove)Optional. Rule to specify how multiple entities should be relocated into a different schema.
$msg->single_column_change()/$msg->single_column_change($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SingleColumnChange)Optional. Rule to specify how a single column is converted.
$msg->multi_column_data_type_change()/$msg->multi_column_data_type_change($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::MultiColumnDatatypeChange)Optional. Rule to specify how multiple columns should be converted to a different data type.
$msg->conditional_column_set_value()/$msg->conditional_column_set_value($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ConditionalColumnSetValue)Optional. Rule to specify how the data contained in a column should be transformed (such as trimmed, rounded, etc) provided that the data meets certain criteria.
$msg->convert_rowid_column()/$msg->convert_rowid_column($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ConvertRowIdToColumn)Optional. Rule to specify how multiple tables should be converted with an additional rowid column.
$msg->set_table_primary_key()/$msg->set_table_primary_key($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SetTablePrimaryKey)Optional. Rule to specify the primary key for a table
$msg->single_package_change()/$msg->single_package_change($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SinglePackageChange)Optional. Rule to specify how a single package is converted.
$msg->source_sql_change()/$msg->source_sql_change($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SourceSqlChange)Optional. Rule to change the sql code for an entity, for example, function, procedure.
$msg->filter_table_columns()/$msg->filter_table_columns($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::FilterTableColumns)Optional. Rule to specify the list of columns to include or exclude from a table.
Enum: MappingRule::State
STATE_UNSPECIFIED=>0ENABLED=>1DISABLED=>2DELETED=>3
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SingleEntityRename
Options to configure rule type SingleEntityRename. The rule is used to rename an entity.
The rule filter field can refer to only one entity.
The rule scope can be one of: Database, Schema, Table, Column, Constraint, Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT, Synonym
Inherits from Protobuf::Message.
Accessors
$msg->new_name()/$msg->new_name($value)Type:
StringRequired. The new name of the destination entity
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::MultiEntityRename
Options to configure rule type MultiEntityRename. The rule is used to rename multiple entities.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Database, Schema, Table, Column, Constraint, Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT
Inherits from Protobuf::Message.
Accessors
$msg->new_name_pattern()/$msg->new_name_pattern($value)Type:
StringOptional. The pattern used to generate the new entity's name. This pattern must include the characters '{name}', which will be replaced with the name of the original entity. For example, the pattern 't_{name}' for an entity name jobs would be converted to 't_jobs'.
If unspecified, the default value for this field is '{name}'
$msg->source_name_transformation()/$msg->source_name_transformation($value)Type:
Enum(Google::Cloud::Clouddms::V1::EntityNameTransformation)Optional. Additional transformation that can be done on the source entity name before it is being used by the new_name_pattern, for example lower case. If no transformation is desired, use NO_TRANSFORMATION
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::EntityMove
Options to configure rule type EntityMove. The rule is used to move an entity to a new schema.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Table, Column, Constraint, Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT
Inherits from Protobuf::Message.
Accessors
$msg->new_schema()/$msg->new_schema($value)Type:
StringRequired. The new schema
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SingleColumnChange
Options to configure rule type SingleColumnChange. The rule is used to change the properties of a column.
The rule filter field can refer to one entity.
The rule scope can be one of: Column.
When using this rule, if a field is not specified than the destination column's configuration will be the same as the one in the source column..
Inherits from Protobuf::Message.
Accessors
$msg->data_type()/$msg->data_type($value)Type:
StringOptional. Column data type name.
$msg->charset()/$msg->charset($value)Type:
StringOptional. Charset override - instead of table level charset.
$msg->collation()/$msg->collation($value)Type:
StringOptional. Collation override - instead of table level collation.
$msg->length()/$msg->length($value)Type:
Int64Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
$msg->precision()/$msg->precision($value)Type:
Int32Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
$msg->scale()/$msg->scale($value)Type:
Int32Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
$msg->fractional_seconds_precision()/$msg->fractional_seconds_precision($value)Type:
Int32Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2) - when relevant.
$msg->array()/$msg->array($value)Type:
BoolOptional. Is the column of array type.
$msg->array_length()/$msg->array_length($value)Type:
Int32Optional. The length of the array, only relevant if the column type is an array.
$msg->nullable()/$msg->nullable($value)Type:
BoolOptional. Is the column nullable.
$msg->auto_generated()/$msg->auto_generated($value)Type:
BoolOptional. Is the column auto-generated/identity.
$msg->udt()/$msg->udt($value)Type:
BoolOptional. Is the column a UDT (User-defined Type).
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Optional. Custom engine specific features.
$msg->set_values()/$msg->set_values($value)Type:
StringOptional. Specifies the list of values allowed in the column.
$msg->comment()/$msg->comment($value)Type:
StringOptional. Comment associated with the column.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::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).
Inherits from Protobuf::Message.
Accessors
$msg->source_data_type_filter()/$msg->source_data_type_filter($value)Type:
StringRequired. Filter on source data type.
$msg->source_text_filter()/$msg->source_text_filter($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SourceTextFilter)Optional. Filter for text-based data types like varchar.
$msg->source_numeric_filter()/$msg->source_numeric_filter($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SourceNumericFilter)Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
$msg->new_data_type()/$msg->new_data_type($value)Type:
StringRequired. New data type.
$msg->override_length()/$msg->override_length($value)Type:
Int64Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.
$msg->override_scale()/$msg->override_scale($value)Type:
Int32Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.
$msg->override_precision()/$msg->override_precision($value)Type:
Int32Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.
$msg->override_fractional_seconds_precision()/$msg->override_fractional_seconds_precision($value)Type:
Int32Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Optional. Custom engine specific features.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SourceTextFilter
Filter for text-based data types like varchar.
Inherits from Protobuf::Message.
Accessors
$msg->source_min_length_filter()/$msg->source_min_length_filter($value)Type:
Int64Optional. The filter will match columns with length greater than or equal to this number.
$msg->source_max_length_filter()/$msg->source_max_length_filter($value)Type:
Int64Optional. The filter will match columns with length smaller than or equal to this number.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SourceNumericFilter
Filter for fixed point number data types such as NUMERIC/NUMBER
Inherits from Protobuf::Message.
Accessors
$msg->source_min_scale_filter()/$msg->source_min_scale_filter($value)Type:
Int32Optional. The filter will match columns with scale greater than or equal to this number.
$msg->source_max_scale_filter()/$msg->source_max_scale_filter($value)Type:
Int32Optional. The filter will match columns with scale smaller than or equal to this number.
$msg->source_min_precision_filter()/$msg->source_min_precision_filter($value)Type:
Int32Optional. The filter will match columns with precision greater than or equal to this number.
$msg->source_max_precision_filter()/$msg->source_max_precision_filter($value)Type:
Int32Optional. The filter will match columns with precision smaller than or equal to this number.
$msg->numeric_filter_option()/$msg->numeric_filter_option($value)Type:
Enum(Google::Cloud::Clouddms::V1::NumericFilterOption)Required. Enum to set the option defining the datatypes numeric filter has to be applied to
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ConditionalColumnSetValue
Options to configure rule type ConditionalColumnSetValue. The rule is used to transform the data which is being replicated/migrated.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Column.
Inherits from Protobuf::Message.
Accessors
$msg->source_text_filter()/$msg->source_text_filter($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SourceTextFilter)Optional. Optional filter on source column length. Used for text based data types like varchar.
$msg->source_numeric_filter()/$msg->source_numeric_filter($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SourceNumericFilter)Optional. Optional filter on source column precision and scale. Used for fixed point numbers such as NUMERIC/NUMBER data types.
$msg->value_transformation()/$msg->value_transformation($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ValueTransformation)Required. Description of data transformation during migration.
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Optional. Custom engine specific features.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ValueTransformation
Description of data transformation during migration as part of the ConditionalColumnSetValue.
Inherits from Protobuf::Message.
Accessors
$msg->is_null()/$msg->is_null($value)Type:
Message(Google::Protobuf::Empty::Empty)Optional. Value is null
$msg->value_list()/$msg->value_list($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ValueListFilter)Optional. Value is found in the specified list.
$msg->int_comparison()/$msg->int_comparison($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::IntComparisonFilter)Optional. Filter on relation between source value and compare value of type integer.
$msg->double_comparison()/$msg->double_comparison($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::DoubleComparisonFilter)Optional. Filter on relation between source value and compare value of type double.
$msg->assign_null()/$msg->assign_null($value)Type:
Message(Google::Protobuf::Empty::Empty)Optional. Set to null
$msg->assign_specific_value()/$msg->assign_specific_value($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::AssignSpecificValue)Optional. Set to a specific value (value is converted to fit the target data type)
$msg->assign_min_value()/$msg->assign_min_value($value)Type:
Message(Google::Protobuf::Empty::Empty)Optional. Set to min_value - if integer or numeric, will use int.minvalue, etc
$msg->assign_max_value()/$msg->assign_max_value($value)Type:
Message(Google::Protobuf::Empty::Empty)Optional. Set to max_value - if integer or numeric, will use int.maxvalue, etc
$msg->round_scale()/$msg->round_scale($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::RoundToScale)Optional. Allows the data to change scale
$msg->apply_hash()/$msg->apply_hash($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ApplyHash)Optional. Applies a hash function on the data
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ConvertRowIdToColumn
Options to configure rule type ConvertROWIDToColumn. The rule is used to add column rowid to destination tables based on an Oracle rowid function/property.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Table.
This rule requires additional filter to be specified beyond the basic rule filter field, which is whether or not to work on tables which already have a primary key defined.
Inherits from Protobuf::Message.
Accessors
$msg->only_if_no_primary_key()/$msg->only_if_no_primary_key($value)Type:
BoolRequired. Only work on tables without primary key defined
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SetTablePrimaryKey
Options to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table.
The rule filter field can refer to one entity.
The rule scope can be one of: Table.
Inherits from Protobuf::Message.
Accessors
$msg->primary_key_columns()/$msg->primary_key_columns($value)Type:
StringRequired. List of column names for the primary key
$msg->primary_key()/$msg->primary_key($value)Type:
StringOptional. Name for the primary key
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SinglePackageChange
Options to configure rule type SinglePackageChange. The rule is used to alter the sql code for a package entities.
The rule filter field can refer to one entity.
The rule scope can be: Package
Inherits from Protobuf::Message.
Accessors
$msg->package_description()/$msg->package_description($value)Type:
StringOptional. Sql code for package description
$msg->package_body()/$msg->package_body($value)Type:
StringOptional. Sql code for package body
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SourceSqlChange
Options to configure rule type SourceSqlChange. The rule is used to alter the sql code for database entities.
The rule filter field can refer to one entity.
The rule scope can be: StoredProcedure, Function, Trigger, View
Inherits from Protobuf::Message.
Accessors
$msg->sql_code()/$msg->sql_code($value)Type:
StringRequired. Sql code for source (stored procedure, function, trigger or view)
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::FilterTableColumns
Options to configure rule type FilterTableColumns. The rule is used to filter the list of columns to include or exclude from a table.
The rule filter field can refer to one entity.
The rule scope can be: Table
Only one of the two lists can be specified for the rule.
Inherits from Protobuf::Message.
Accessors
$msg->include_columns()/$msg->include_columns($value)Type:
StringOptional. List of columns to be included for a particular table.
$msg->exclude_columns()/$msg->exclude_columns($value)Type:
StringOptional. List of columns to be excluded for a particular table.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ValueListFilter
A list of values to filter by in ConditionalColumnSetValue
Inherits from Protobuf::Message.
Accessors
$msg->value_present_list()/$msg->value_present_list($value)Type:
Enum(Google::Cloud::Clouddms::V1::ValuePresentInList)Required. Indicates whether the filter matches rows with values that are present in the list or those with values not present in it.
$msg->values()/$msg->values($value)Type:
StringRequired. The list to be used to filter by
$msg->ignore_case()/$msg->ignore_case($value)Type:
BoolRequired. Whether to ignore case when filtering by values. Defaults to false
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::IntComparisonFilter
Filter based on relation between source value and compare value of type integer in ConditionalColumnSetValue
Inherits from Protobuf::Message.
Accessors
$msg->value_comparison()/$msg->value_comparison($value)Type:
Enum(Google::Cloud::Clouddms::V1::ValueComparison)Required. Relation between source value and compare value
$msg->value()/$msg->value($value)Type:
Int64Required. Integer compare value to be used
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::DoubleComparisonFilter
Filter based on relation between source value and compare value of type double in ConditionalColumnSetValue
Inherits from Protobuf::Message.
Accessors
$msg->value_comparison()/$msg->value_comparison($value)Type:
Enum(Google::Cloud::Clouddms::V1::ValueComparison)Required. Relation between source value and compare value
$msg->value()/$msg->value($value)Type:
DoubleRequired. Double compare value to be used
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::AssignSpecificValue
Set to a specific value (value is converted to fit the target data type)
Inherits from Protobuf::Message.
Accessors
$msg->value()/$msg->value($value)Type:
StringRequired. Specific value to be assigned
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ApplyHash
Apply a hash function on the value.
Inherits from Protobuf::Message.
Accessors
$msg->uuid_from_bytes()/$msg->uuid_from_bytes($value)Type:
Message(Google::Protobuf::Empty::Empty)Optional. Generate UUID from the data's byte array
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::RoundToScale
This allows the data to change scale, for example if the source is 2 digits after the decimal point, specify round to scale value = 2. If for example the value needs to be converted to an integer, use round to scale value = 0.
Inherits from Protobuf::Message.
Accessors
$msg->scale()/$msg->scale($value)Type:
Int32Required. Scale value to be used
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::DatabaseEntity
The base entity type for all the database related entities. The message contains the entity name, the name of its parent, the entity type, and the specific details per entity type.
Inherits from Protobuf::Message.
Accessors
$msg->short_name()/$msg->short_name($value)Type:
StringThe short name (e.g. table name) of the entity.
$msg->parent_entity()/$msg->parent_entity($value)Type:
StringThe full name of the parent entity (e.g. schema name).
$msg->tree()/$msg->tree($value)Type:
Enum(Google::Cloud::Clouddms::V1::DatabaseEntity::TreeType)The type of tree the entity belongs to.
$msg->entity_type()/$msg->entity_type($value)Type:
Enum(Google::Cloud::Clouddms::V1::DatabaseEntityType)The type of the database entity (table, view, index, ...).
$msg->mappings()/$msg->mappings($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::EntityMapping)Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.
$msg->entity_ddl()/$msg->entity_ddl($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::EntityDdl)Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.
$msg->issues()/$msg->issues($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::EntityIssue)Details about the various issues found for the entity.
$msg->database()/$msg->database($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::DatabaseInstanceEntity)Database.
$msg->schema()/$msg->schema($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SchemaEntity)Schema.
$msg->table()/$msg->table($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::TableEntity)Table.
$msg->view()/$msg->view($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ViewEntity)View.
$msg->sequence()/$msg->sequence($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SequenceEntity)Sequence.
$msg->stored_procedure()/$msg->stored_procedure($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::StoredProcedureEntity)Stored procedure.
$msg->database_function()/$msg->database_function($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::FunctionEntity)Function.
$msg->synonym()/$msg->synonym($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SynonymEntity)Synonym.
$msg->database_package()/$msg->database_package($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::PackageEntity)Package.
$msg->udt()/$msg->udt($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::UDTEntity)UDT.
$msg->materialized_view()/$msg->materialized_view($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::MaterializedViewEntity)Materialized view.
Enum: DatabaseEntity::TreeType
TREE_TYPE_UNSPECIFIED=>0SOURCE=>1DRAFT=>2DESTINATION=>3
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::DatabaseInstanceEntity
DatabaseInstance acts as a parent entity to other database entities.
Inherits from Protobuf::Message.
Accessors
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SchemaEntity
Schema typically has no parent entity, but can have a parent entity DatabaseInstance (for database engines which support it). For some database engines, the terms schema and user can be used interchangeably when they refer to a namespace or a collection of other database entities. Can store additional information which is schema specific.
Inherits from Protobuf::Message.
Accessors
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::TableEntity
Table's parent is a schema.
Inherits from Protobuf::Message.
Accessors
$msg->columns()/$msg->columns($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ColumnEntity)Table columns.
$msg->constraints()/$msg->constraints($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ConstraintEntity)Table constraints.
$msg->indices()/$msg->indices($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::IndexEntity)Table indices.
$msg->triggers()/$msg->triggers($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::TriggerEntity)Table triggers.
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
$msg->comment()/$msg->comment($value)Type:
StringComment associated with the table.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ColumnEntity
Column is not used as an independent entity, it is retrieved as part of a Table entity.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringColumn name.
$msg->data_type()/$msg->data_type($value)Type:
StringColumn data type.
$msg->charset()/$msg->charset($value)Type:
StringCharset override - instead of table level charset.
$msg->collation()/$msg->collation($value)Type:
StringCollation override - instead of table level collation.
$msg->length()/$msg->length($value)Type:
Int64Column length - e.g. varchar (50).
$msg->precision()/$msg->precision($value)Type:
Int32Column precision - when relevant.
$msg->scale()/$msg->scale($value)Type:
Int32Column scale - when relevant.
$msg->fractional_seconds_precision()/$msg->fractional_seconds_precision($value)Type:
Int32Column fractional second precision - used for timestamp based datatypes.
$msg->array()/$msg->array($value)Type:
BoolIs the column of array type.
$msg->array_length()/$msg->array_length($value)Type:
Int32If the column is array, of which length.
$msg->nullable()/$msg->nullable($value)Type:
BoolIs the column nullable.
$msg->auto_generated()/$msg->auto_generated($value)Type:
BoolIs the column auto-generated/identity.
$msg->udt()/$msg->udt($value)Type:
BoolIs the column a UDT.
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
$msg->set_values()/$msg->set_values($value)Type:
StringSpecifies the list of values allowed in the column. Only used for set data type.
$msg->comment()/$msg->comment($value)Type:
StringComment associated with the column.
$msg->ordinal_position()/$msg->ordinal_position($value)Type:
Int32Column order in the table.
$msg->default_value()/$msg->default_value($value)Type:
StringDefault value of the column.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ConstraintEntity
Constraint is not used as an independent entity, it is retrieved as part of another entity such as Table or View.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the table constraint.
$msg->type()/$msg->type($value)Type:
StringType of constraint, for example unique, primary key, foreign key (currently only primary key is supported).
$msg->table_columns()/$msg->table_columns($value)Type:
StringTable columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
$msg->reference_columns()/$msg->reference_columns($value)Type:
StringReference columns which may be associated with the constraint. For example, if the constraint is a FOREIGN_KEY, this represents the list of full names of referenced columns by the foreign key.
$msg->reference_table()/$msg->reference_table($value)Type:
StringReference table which may be associated with the constraint. For example, if the constraint is a FOREIGN_KEY, this represents the list of full name of the referenced table by the foreign key.
$msg->table_name()/$msg->table_name($value)Type:
StringTable which is associated with the constraint. In case the constraint is defined on a table, this field is left empty as this information is stored in parent_name. However, if constraint is defined on a view, this field stores the table name on which the view is defined.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::IndexEntity
Index is not used as an independent entity, it is retrieved as part of a Table entity.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the index.
$msg->type()/$msg->type($value)Type:
StringType of index, for example B-TREE.
$msg->table_columns()/$msg->table_columns($value)Type:
StringTable columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.
$msg->unique()/$msg->unique($value)Type:
BoolBoolean value indicating whether the index is unique.
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::TriggerEntity
Trigger is not used as an independent entity, it is retrieved as part of a Table entity.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the trigger.
$msg->triggering_events()/$msg->triggering_events($value)Type:
StringThe DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
$msg->trigger_type()/$msg->trigger_type($value)Type:
StringIndicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.
$msg->sql_code()/$msg->sql_code($value)Type:
StringThe SQL code which creates the trigger.
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ViewEntity
View's parent is a schema.
Inherits from Protobuf::Message.
Accessors
$msg->sql_code()/$msg->sql_code($value)Type:
StringThe SQL code which creates the view.
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
$msg->constraints()/$msg->constraints($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ConstraintEntity)View constraints.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SequenceEntity
Sequence's parent is a schema.
Inherits from Protobuf::Message.
Accessors
$msg->increment()/$msg->increment($value)Type:
Int64Increment value for the sequence.
$msg->start_value()/$msg->start_value($value)Type:
BytesStart number for the sequence represented as bytes to accommodate large. numbers
$msg->max_value()/$msg->max_value($value)Type:
BytesMaximum number for the sequence represented as bytes to accommodate large. numbers
$msg->min_value()/$msg->min_value($value)Type:
BytesMinimum number for the sequence represented as bytes to accommodate large. numbers
$msg->cycle()/$msg->cycle($value)Type:
BoolIndicates whether the sequence value should cycle through.
$msg->cache()/$msg->cache($value)Type:
Int64Indicates number of entries to cache / precreate.
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::StoredProcedureEntity
Stored procedure's parent is a schema.
Inherits from Protobuf::Message.
Accessors
$msg->sql_code()/$msg->sql_code($value)Type:
StringThe SQL code which creates the stored procedure.
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::FunctionEntity
Function's parent is a schema.
Inherits from Protobuf::Message.
Accessors
$msg->sql_code()/$msg->sql_code($value)Type:
StringThe SQL code which creates the function.
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::MaterializedViewEntity
MaterializedView's parent is a schema.
Inherits from Protobuf::Message.
Accessors
$msg->sql_code()/$msg->sql_code($value)Type:
StringThe SQL code which creates the view.
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SynonymEntity
Synonym's parent is a schema.
Inherits from Protobuf::Message.
Accessors
$msg->source_entity()/$msg->source_entity($value)Type:
StringThe name of the entity for which the synonym is being created (the source).
$msg->source_type()/$msg->source_type($value)Type:
Enum(Google::Cloud::Clouddms::V1::DatabaseEntityType)The type of the entity for which the synonym is being created (usually a table or a sequence).
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::PackageEntity
Package's parent is a schema.
Inherits from Protobuf::Message.
Accessors
$msg->package_sql_code()/$msg->package_sql_code($value)Type:
StringThe SQL code which creates the package.
$msg->package_body()/$msg->package_body($value)Type:
StringThe SQL code which creates the package body. If the package specification has cursors or subprograms, then the package body is mandatory.
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::UDTEntity
UDT's parent is a schema.
Inherits from Protobuf::Message.
Accessors
$msg->udt_sql_code()/$msg->udt_sql_code($value)Type:
StringThe SQL code which creates the udt.
$msg->udt_body()/$msg->udt_body($value)Type:
StringThe SQL code which creates the udt body.
$msg->custom_features()/$msg->custom_features($value)Type:
Message(Google::Protobuf::Struct::Struct)Custom engine specific features.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::EntityMapping
Details of the mappings of a database entity.
Inherits from Protobuf::Message.
Accessors
$msg->source_entity()/$msg->source_entity($value)Type:
StringSource entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column.
$msg->draft_entity()/$msg->draft_entity($value)Type:
StringTarget entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column.
$msg->source_type()/$msg->source_type($value)Type:
Enum(Google::Cloud::Clouddms::V1::DatabaseEntityType)Type of source entity.
$msg->draft_type()/$msg->draft_type($value)Type:
Enum(Google::Cloud::Clouddms::V1::DatabaseEntityType)Type of draft entity.
$msg->mapping_log()/$msg->mapping_log($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::EntityMappingLogEntry)Entity mapping log entries. Multiple rules can be effective and contribute changes to a converted entity, such as a rule can handle the entity name, another rule can handle an entity type. In addition, rules which did not change the entity are also logged along with the reason preventing them to do so.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::EntityMappingLogEntry
A single record of a rule which was used for a mapping.
Inherits from Protobuf::Message.
Accessors
$msg->rule_id()/$msg->rule_id($value)Type:
StringWhich rule caused this log entry.
$msg->rule_revision_id()/$msg->rule_revision_id($value)Type:
StringRule revision ID.
$msg->mapping_comment()/$msg->mapping_comment($value)Type:
StringComment.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::EntityDdl
A single DDL statement for a specific entity
Inherits from Protobuf::Message.
Accessors
$msg->ddl_type()/$msg->ddl_type($value)Type:
StringType of DDL (Create, Alter).
$msg->entity()/$msg->entity($value)Type:
StringThe name of the database entity the ddl refers to.
$msg->ddl()/$msg->ddl($value)Type:
StringThe actual ddl code.
$msg->entity_type()/$msg->entity_type($value)Type:
Enum(Google::Cloud::Clouddms::V1::DatabaseEntityType)The entity type (if the DDL is for a sub entity).
$msg->issue_id()/$msg->issue_id($value)Type:
StringEntityIssues found for this ddl.
Google::Cloud::Clouddms::V1::ConversionworkspaceResources::EntityIssue
Issue related to the entity.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringUnique Issue ID.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Clouddms::V1::EntityIssue::IssueType)The type of the issue.
$msg->severity()/$msg->severity($value)Type:
Enum(Google::Cloud::Clouddms::V1::EntityIssue::IssueSeverity)Severity of the issue
$msg->message()/$msg->message($value)Type:
StringIssue detailed message
$msg->code()/$msg->code($value)Type:
StringError/Warning code
$msg->ddl()/$msg->ddl($value)Type:
StringThe ddl which caused the issue, if relevant.
$msg->position()/$msg->position($value)Type:
Message(Google::Cloud::Clouddms::V1::ConversionworkspaceResources::EntityIssue::Position)The position of the issue found, if relevant.
$msg->entity_type()/$msg->entity_type($value)Type:
Enum(Google::Cloud::Clouddms::V1::DatabaseEntityType)The entity type (if the DDL is for a sub entity).
Enum: EntityIssue::IssueType
ISSUE_TYPE_UNSPECIFIED=>0ISSUE_TYPE_DDL=>1ISSUE_TYPE_APPLY=>2ISSUE_TYPE_CONVERT=>3
Enum: EntityIssue::IssueSeverity
ISSUE_SEVERITY_UNSPECIFIED=>0ISSUE_SEVERITY_INFO=>1ISSUE_SEVERITY_WARNING=>2ISSUE_SEVERITY_ERROR=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Clouddms::V1::ConversionworkspaceResources::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.