Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::MultiEntityRename (v0.6.0)

Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::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

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#new_name_pattern

def new_name_pattern() -> ::String
Returns
  • (::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}'

#new_name_pattern=

def new_name_pattern=(value) -> ::String
Parameter
  • value (::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}'

Returns
  • (::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}'

#source_name_transformation

def source_name_transformation() -> ::Google::Cloud::CloudDMS::V1::EntityNameTransformation
Returns

#source_name_transformation=

def source_name_transformation=(value) -> ::Google::Cloud::CloudDMS::V1::EntityNameTransformation
Parameter
  • value (::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
Returns