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: String

    Required. 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: String

    Full 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: Bool

    Output 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: String

    Output 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: String

    Optional. The display name for the workspace.

Google::Cloud::Clouddms::V1::ConversionworkspaceResources::BackgroundJobLogEntry

Execution log of a background job.

Inherits from Protobuf::Message.

Accessors

Enum: BackgroundJobLogEntry::JobCompletionState

  • JOB_COMPLETION_STATE_UNSPECIFIED => 0

  • SUCCEEDED => 1

  • FAILED => 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: String

    Optional. 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: String

    Optional. 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: String

    Optional. 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: String

    Optional. The rule should be applied to entities whose non-qualified name contains the given string.

  • $msg->entities() / $msg->entities($value)

    Type: String

    Optional. 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

Enum: MappingRule::State

  • STATE_UNSPECIFIED => 0

  • ENABLED => 1

  • DISABLED => 2

  • DELETED => 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: String

    Required. 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: String

    Optional. 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: String

    Required. 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: String

    Optional. Column data type name.

  • $msg->charset() / $msg->charset($value)

    Type: String

    Optional. Charset override - instead of table level charset.

  • $msg->collation() / $msg->collation($value)

    Type: String

    Optional. Collation override - instead of table level collation.

  • $msg->length() / $msg->length($value)

    Type: Int64

    Optional. Column length - e.g. 50 as in varchar (50) - when relevant.

  • $msg->precision() / $msg->precision($value)

    Type: Int32

    Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.

  • $msg->scale() / $msg->scale($value)

    Type: Int32

    Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.

  • $msg->fractional_seconds_precision() / $msg->fractional_seconds_precision($value)

    Type: Int32

    Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2) - when relevant.

  • $msg->array() / $msg->array($value)

    Type: Bool

    Optional. Is the column of array type.

  • $msg->array_length() / $msg->array_length($value)

    Type: Int32

    Optional. The length of the array, only relevant if the column type is an array.

  • $msg->nullable() / $msg->nullable($value)

    Type: Bool

    Optional. Is the column nullable.

  • $msg->auto_generated() / $msg->auto_generated($value)

    Type: Bool

    Optional. Is the column auto-generated/identity.

  • $msg->udt() / $msg->udt($value)

    Type: Bool

    Optional. 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: String

    Optional. Specifies the list of values allowed in the column.

  • $msg->comment() / $msg->comment($value)

    Type: String

    Optional. 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: String

    Required. 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: String

    Required. New data type.

  • $msg->override_length() / $msg->override_length($value)

    Type: Int64

    Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.

  • $msg->override_scale() / $msg->override_scale($value)

    Type: Int32

    Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.

  • $msg->override_precision() / $msg->override_precision($value)

    Type: Int32

    Optional. 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: Int32

    Optional. 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: Int64

    Optional. 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: Int64

    Optional. 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: Int32

    Optional. 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: Int32

    Optional. 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: Int32

    Optional. 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: Int32

    Optional. 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

Google::Cloud::Clouddms::V1::ConversionworkspaceResources::ValueTransformation

Description of data transformation during migration as part of the ConditionalColumnSetValue.

Inherits from Protobuf::Message.

Accessors

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: Bool

    Required. 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: String

    Required. List of column names for the primary key

  • $msg->primary_key() / $msg->primary_key($value)

    Type: String

    Optional. 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: String

    Optional. Sql code for package description

  • $msg->package_body() / $msg->package_body($value)

    Type: String

    Optional. 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: String

    Required. 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: String

    Optional. List of columns to be included for a particular table.

  • $msg->exclude_columns() / $msg->exclude_columns($value)

    Type: String

    Optional. 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: String

    Required. The list to be used to filter by

  • $msg->ignore_case() / $msg->ignore_case($value)

    Type: Bool

    Required. 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: Int64

    Required. 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: Double

    Required. 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: String

    Required. 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: Int32

    Required. 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

Enum: DatabaseEntity::TreeType

  • TREE_TYPE_UNSPECIFIED => 0

  • SOURCE => 1

  • DRAFT => 2

  • DESTINATION => 3

Google::Cloud::Clouddms::V1::ConversionworkspaceResources::DatabaseInstanceEntity

DatabaseInstance acts as a parent entity to other database entities.

Inherits from Protobuf::Message.

Accessors

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

Google::Cloud::Clouddms::V1::ConversionworkspaceResources::TableEntity

Table's parent is a schema.

Inherits from Protobuf::Message.

Accessors

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: String

    Column name.

  • $msg->data_type() / $msg->data_type($value)

    Type: String

    Column data type.

  • $msg->charset() / $msg->charset($value)

    Type: String

    Charset override - instead of table level charset.

  • $msg->collation() / $msg->collation($value)

    Type: String

    Collation override - instead of table level collation.

  • $msg->length() / $msg->length($value)

    Type: Int64

    Column length - e.g. varchar (50).

  • $msg->precision() / $msg->precision($value)

    Type: Int32

    Column precision - when relevant.

  • $msg->scale() / $msg->scale($value)

    Type: Int32

    Column scale - when relevant.

  • $msg->fractional_seconds_precision() / $msg->fractional_seconds_precision($value)

    Type: Int32

    Column fractional second precision - used for timestamp based datatypes.

  • $msg->array() / $msg->array($value)

    Type: Bool

    Is the column of array type.

  • $msg->array_length() / $msg->array_length($value)

    Type: Int32

    If the column is array, of which length.

  • $msg->nullable() / $msg->nullable($value)

    Type: Bool

    Is the column nullable.

  • $msg->auto_generated() / $msg->auto_generated($value)

    Type: Bool

    Is the column auto-generated/identity.

  • $msg->udt() / $msg->udt($value)

    Type: Bool

    Is 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: String

    Specifies the list of values allowed in the column. Only used for set data type.

  • $msg->comment() / $msg->comment($value)

    Type: String

    Comment associated with the column.

  • $msg->ordinal_position() / $msg->ordinal_position($value)

    Type: Int32

    Column order in the table.

  • $msg->default_value() / $msg->default_value($value)

    Type: String

    Default 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: String

    The name of the table constraint.

  • $msg->type() / $msg->type($value)

    Type: String

    Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).

  • $msg->table_columns() / $msg->table_columns($value)

    Type: String

    Table 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: String

    Reference 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: String

    Reference 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: String

    Table 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: String

    The name of the index.

  • $msg->type() / $msg->type($value)

    Type: String

    Type of index, for example B-TREE.

  • $msg->table_columns() / $msg->table_columns($value)

    Type: String

    Table 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: Bool

    Boolean 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: String

    The name of the trigger.

  • $msg->triggering_events() / $msg->triggering_events($value)

    Type: String

    The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.

  • $msg->trigger_type() / $msg->trigger_type($value)

    Type: String

    Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.

  • $msg->sql_code() / $msg->sql_code($value)

    Type: String

    The 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

Google::Cloud::Clouddms::V1::ConversionworkspaceResources::SequenceEntity

Sequence's parent is a schema.

Inherits from Protobuf::Message.

Accessors

  • $msg->increment() / $msg->increment($value)

    Type: Int64

    Increment value for the sequence.

  • $msg->start_value() / $msg->start_value($value)

    Type: Bytes

    Start number for the sequence represented as bytes to accommodate large. numbers

  • $msg->max_value() / $msg->max_value($value)

    Type: Bytes

    Maximum number for the sequence represented as bytes to accommodate large. numbers

  • $msg->min_value() / $msg->min_value($value)

    Type: Bytes

    Minimum number for the sequence represented as bytes to accommodate large. numbers

  • $msg->cycle() / $msg->cycle($value)

    Type: Bool

    Indicates whether the sequence value should cycle through.

  • $msg->cache() / $msg->cache($value)

    Type: Int64

    Indicates 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: String

    The 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: String

    The 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: String

    The 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: String

    The 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: String

    The SQL code which creates the package.

  • $msg->package_body() / $msg->package_body($value)

    Type: String

    The 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: String

    The SQL code which creates the udt.

  • $msg->udt_body() / $msg->udt_body($value)

    Type: String

    The 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: String

    Source 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: String

    Target 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: String

    Which rule caused this log entry.

  • $msg->rule_revision_id() / $msg->rule_revision_id($value)

    Type: String

    Rule revision ID.

  • $msg->mapping_comment() / $msg->mapping_comment($value)

    Type: String

    Comment.

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: String

    Type of DDL (Create, Alter).

  • $msg->entity() / $msg->entity($value)

    Type: String

    The name of the database entity the ddl refers to.

  • $msg->ddl() / $msg->ddl($value)

    Type: String

    The 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: String

    EntityIssues found for this ddl.

Google::Cloud::Clouddms::V1::ConversionworkspaceResources::EntityIssue

Issue related to the entity.

Inherits from Protobuf::Message.

Accessors

Enum: EntityIssue::IssueType

  • ISSUE_TYPE_UNSPECIFIED => 0

  • ISSUE_TYPE_DDL => 1

  • ISSUE_TYPE_APPLY => 2

  • ISSUE_TYPE_CONVERT => 3

Enum: EntityIssue::IssueSeverity

  • ISSUE_SEVERITY_UNSPECIFIED => 0

  • ISSUE_SEVERITY_INFO => 1

  • ISSUE_SEVERITY_WARNING => 2

  • ISSUE_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.