📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/DatabaseMigrationService
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AlloyDbConnectionProfile.php
▶ Open 📄 View Source
🐘 AlloyDbSettings.php
▶ Open 📄 View Source
🐘 ApplyConversionWorkspaceRequest.php
▶ Open 📄 View Source
🐘 ApplyHash.php
▶ Open 📄 View Source
🐘 ApplyJobDetails.php
▶ Open 📄 View Source
🐘 AssignSpecificValue.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 AuthorizedNetwork.php
▶ Open 📄 View Source
🐘 BackgroundJobLogEntry.php
▶ Open 📄 View Source
🐘 BadRequest.php
▶ Open 📄 View Source
🐘 BinaryLogParser.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CloudSqlConnectionProfile.php
▶ Open 📄 View Source
🐘 CloudSqlSettings.php
▶ Open 📄 View Source
🐘 ColumnEntity.php
▶ Open 📄 View Source
🐘 CommitConversionWorkspaceRequest.php
▶ Open 📄 View Source
🐘 ConditionalColumnSetValue.php
▶ Open 📄 View Source
🐘 ConnectionProfile.php
▶ Open 📄 View Source
🐘 ConstraintEntity.php
▶ Open 📄 View Source
🐘 ConversionWorkspace.php
▶ Open 📄 View Source
🐘 ConversionWorkspaceInfo.php
▶ Open 📄 View Source
🐘 ConvertConversionWorkspaceRequest.php
▶ Open 📄 View Source
🐘 ConvertJobDetails.php
▶ Open 📄 View Source
🐘 ConvertRowIdToColumn.php
▶ Open 📄 View Source
🐘 DataCacheConfig.php
▶ Open 📄 View Source
🐘 DatabaseEngineInfo.php
▶ Open 📄 View Source
🐘 DatabaseEntity.php
▶ Open 📄 View Source
🐘 DatabaseInstanceEntity.php
▶ Open 📄 View Source
🐘 DatabaseType.php
▶ Open 📄 View Source
🐘 DatamigrationEmpty.php
▶ Open 📄 View Source
🐘 DebugInfo.php
▶ Open 📄 View Source
🐘 DemoteDestinationRequest.php
▶ Open 📄 View Source
🐘 DescribeConversionWorkspaceRevisionsResponse.php
▶ Open 📄 View Source
🐘 DescribeDatabaseEntitiesResponse.php
▶ Open 📄 View Source
🐘 DoubleComparisonFilter.php
▶ Open 📄 View Source
🐘 DumpFlag.php
▶ Open 📄 View Source
🐘 DumpFlags.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 EntityDdl.php
▶ Open 📄 View Source
🐘 EntityIssue.php
▶ Open 📄 View Source
🐘 EntityMapping.php
▶ Open 📄 View Source
🐘 EntityMappingLogEntry.php
▶ Open 📄 View Source
🐘 EntityMove.php
▶ Open 📄 View Source
🐘 ErrorInfo.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 FetchStaticIpsResponse.php
▶ Open 📄 View Source
🐘 FieldViolation.php
▶ Open 📄 View Source
🐘 FilterTableColumns.php
▶ Open 📄 View Source
🐘 ForwardSshTunnelConnectivity.php
▶ Open 📄 View Source
🐘 FunctionEntity.php
▶ Open 📄 View Source
🐘 GenerateSshScriptRequest.php
▶ Open 📄 View Source
🐘 GenerateTcpProxyScriptRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudClouddmsV1OperationMetadata.php
▶ Open 📄 View Source
🐘 Help.php
▶ Open 📄 View Source
🐘 HeterogeneousMetadata.php
▶ Open 📄 View Source
🐘 ImportMappingRulesRequest.php
▶ Open 📄 View Source
🐘 ImportRulesJobDetails.php
▶ Open 📄 View Source
🐘 IndexEntity.php
▶ Open 📄 View Source
🐘 InstanceNetworkConfig.php
▶ Open 📄 View Source
🐘 IntComparisonFilter.php
▶ Open 📄 View Source
🐘 Link.php
▶ Open 📄 View Source
🐘 ListConnectionProfilesResponse.php
▶ Open 📄 View Source
🐘 ListConversionWorkspacesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListMappingRulesResponse.php
▶ Open 📄 View Source
🐘 ListMigrationJobObjectsResponse.php
▶ Open 📄 View Source
🐘 ListMigrationJobsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListPrivateConnectionsResponse.php
▶ Open 📄 View Source
🐘 LocalizedMessage.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LogFileDirectories.php
▶ Open 📄 View Source
🐘 LogMiner.php
▶ Open 📄 View Source
🐘 LookupMigrationJobObjectRequest.php
▶ Open 📄 View Source
🐘 MachineConfig.php
▶ Open 📄 View Source
🐘 MappingRule.php
▶ Open 📄 View Source
🐘 MappingRuleFilter.php
▶ Open 📄 View Source
🐘 MaterializedViewEntity.php
▶ Open 📄 View Source
🐘 MigrationJob.php
▶ Open 📄 View Source
🐘 MigrationJobObject.php
▶ Open 📄 View Source
🐘 MigrationJobObjectsConfig.php
▶ Open 📄 View Source
🐘 MigrationJobVerificationError.php
▶ Open 📄 View Source
🐘 MultiColumnDatatypeChange.php
▶ Open 📄 View Source
🐘 MultiEntityRename.php
▶ Open 📄 View Source
🐘 MySqlConnectionProfile.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OracleAsmConfig.php
▶ Open 📄 View Source
🐘 OracleAsmLogFileAccess.php
▶ Open 📄 View Source
🐘 OracleConnectionProfile.php
▶ Open 📄 View Source
🐘 OracleSourceConfig.php
▶ Open 📄 View Source
🐘 OracleToPostgresConfig.php
▶ Open 📄 View Source
🐘 PackageEntity.php
▶ Open 📄 View Source
🐘 PerformanceConfig.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 Position.php
▶ Open 📄 View Source
🐘 PostgreSqlConnectionProfile.php
▶ Open 📄 View Source
🐘 PostgresDestinationConfig.php
▶ Open 📄 View Source
🐘 PostgresSourceConfig.php
▶ Open 📄 View Source
🐘 PostgresToSqlServerConfig.php
▶ Open 📄 View Source
🐘 PreconditionFailure.php
▶ Open 📄 View Source
🐘 PreconditionFailureViolation.php
▶ Open 📄 View Source
🐘 PrimaryInstanceSettings.php
▶ Open 📄 View Source
🐘 PrivateConnection.php
▶ Open 📄 View Source
🐘 PrivateConnectivity.php
▶ Open 📄 View Source
🐘 PrivateServiceConnectConnectivity.php
▶ Open 📄 View Source
🐘 PromoteMigrationJobRequest.php
▶ Open 📄 View Source
🐘 PscInterfaceConfig.php
▶ Open 📄 View Source
🐘 QuotaFailure.php
▶ Open 📄 View Source
🐘 QuotaFailureViolation.php
▶ Open 📄 View Source
🐘 RequestInfo.php
▶ Open 📄 View Source
🐘 ResourceInfo.php
▶ Open 📄 View Source
🐘 RestartMigrationJobRequest.php
▶ Open 📄 View Source
🐘 ResumeMigrationJobRequest.php
▶ Open 📄 View Source
🐘 RetryInfo.php
▶ Open 📄 View Source
🐘 ReverseSshConnectivity.php
▶ Open 📄 View Source
🐘 RollbackConversionWorkspaceRequest.php
▶ Open 📄 View Source
🐘 RoundToScale.php
▶ Open 📄 View Source
🐘 RulesFile.php
▶ Open 📄 View Source
🐘 SchemaEntity.php
▶ Open 📄 View Source
🐘 SearchBackgroundJobsResponse.php
▶ Open 📄 View Source
🐘 SeedConversionWorkspaceRequest.php
▶ Open 📄 View Source
🐘 SeedJobDetails.php
▶ Open 📄 View Source
🐘 SequenceEntity.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 SetTablePrimaryKey.php
▶ Open 📄 View Source
🐘 SingleColumnChange.php
▶ Open 📄 View Source
🐘 SingleEntityRename.php
▶ Open 📄 View Source
🐘 SinglePackageChange.php
▶ Open 📄 View Source
🐘 SourceNumericFilter.php
▶ Open 📄 View Source
🐘 SourceObjectConfig.php
▶ Open 📄 View Source
🐘 SourceObjectIdentifier.php
▶ Open 📄 View Source
🐘 SourceObjectsConfig.php
▶ Open 📄 View Source
🐘 SourceSqlChange.php
▶ Open 📄 View Source
🐘 SourceTextFilter.php
▶ Open 📄 View Source
🐘 SqlAclEntry.php
▶ Open 📄 View Source
🐘 SqlIpConfig.php
▶ Open 📄 View Source
🐘 SqlServerBackups.php
▶ Open 📄 View Source
🐘 SqlServerConnectionProfile.php
▶ Open 📄 View Source
🐘 SqlServerDagConfig.php
▶ Open 📄 View Source
🐘 SqlServerDatabaseBackup.php
▶ Open 📄 View Source
🐘 SqlServerDestinationConfig.php
▶ Open 📄 View Source
🐘 SqlServerEncryptionOptions.php
▶ Open 📄 View Source
🐘 SqlServerHomogeneousMigrationJobConfig.php
▶ Open 📄 View Source
🐘 SqlServerSourceConfig.php
▶ Open 📄 View Source
🐘 SqlServerToPostgresConfig.php
▶ Open 📄 View Source
🐘 SshScript.php
▶ Open 📄 View Source
🐘 SslConfig.php
▶ Open 📄 View Source
🐘 StartMigrationJobRequest.php
▶ Open 📄 View Source
🐘 StaticIpConnectivity.php
▶ Open 📄 View Source
🐘 StaticServiceIpConnectivity.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StopMigrationJobRequest.php
▶ Open 📄 View Source
🐘 StoredProcedureEntity.php
▶ Open 📄 View Source
🐘 SynonymEntity.php
▶ Open 📄 View Source
🐘 TableEntity.php
▶ Open 📄 View Source
🐘 TcpProxyScript.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TriggerEntity.php
▶ Open 📄 View Source
🐘 UDTEntity.php
▶ Open 📄 View Source
🐘 UserPassword.php
▶ Open 📄 View Source
🐘 ValueListFilter.php
▶ Open 📄 View Source
🐘 ValueTransformation.php
▶ Open 📄 View Source
🐘 VerifyMigrationJobRequest.php
▶ Open 📄 View Source
🐘 ViewEntity.php
▶ Open 📄 View Source
🐘 VmCreationConfig.php
▶ Open 📄 View Source
🐘 VmSelectionConfig.php
▶ Open 📄 View Source
🐘 VpcPeeringConfig.php
▶ Open 📄 View Source
🐘 VpcPeeringConnectivity.php
▶ Open 📄 View Source

📄 Source: MappingRule.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\DatabaseMigrationService;

class MappingRule extends \Google\Model
{
  /**
   * Unspecified database entity type.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_UNSPECIFIED = 'DATABASE_ENTITY_TYPE_UNSPECIFIED';
  /**
   * Schema.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_SCHEMA = 'DATABASE_ENTITY_TYPE_SCHEMA';
  /**
   * Table.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_TABLE = 'DATABASE_ENTITY_TYPE_TABLE';
  /**
   * Column.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_COLUMN = 'DATABASE_ENTITY_TYPE_COLUMN';
  /**
   * Constraint.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_CONSTRAINT = 'DATABASE_ENTITY_TYPE_CONSTRAINT';
  /**
   * Index.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_INDEX = 'DATABASE_ENTITY_TYPE_INDEX';
  /**
   * Trigger.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_TRIGGER = 'DATABASE_ENTITY_TYPE_TRIGGER';
  /**
   * View.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_VIEW = 'DATABASE_ENTITY_TYPE_VIEW';
  /**
   * Sequence.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_SEQUENCE = 'DATABASE_ENTITY_TYPE_SEQUENCE';
  /**
   * Stored Procedure.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_STORED_PROCEDURE = 'DATABASE_ENTITY_TYPE_STORED_PROCEDURE';
  /**
   * Function.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_FUNCTION = 'DATABASE_ENTITY_TYPE_FUNCTION';
  /**
   * Synonym.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_SYNONYM = 'DATABASE_ENTITY_TYPE_SYNONYM';
  /**
   * Package.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_DATABASE_PACKAGE = 'DATABASE_ENTITY_TYPE_DATABASE_PACKAGE';
  /**
   * UDT.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_UDT = 'DATABASE_ENTITY_TYPE_UDT';
  /**
   * Materialized View.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW = 'DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW';
  /**
   * Database.
   */
  public const RULE_SCOPE_DATABASE_ENTITY_TYPE_DATABASE = 'DATABASE_ENTITY_TYPE_DATABASE';
  /**
   * The state of the mapping rule is unknown.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The rule is enabled.
   */
  public const STATE_ENABLED = 'ENABLED';
  /**
   * The rule is disabled.
   */
  public const STATE_DISABLED = 'DISABLED';
  /**
   * The rule is logically deleted.
   */
  public const STATE_DELETED = 'DELETED';
  protected $conditionalColumnSetValueType = ConditionalColumnSetValue::class;
  protected $conditionalColumnSetValueDataType = '';
  protected $convertRowidColumnType = ConvertRowIdToColumn::class;
  protected $convertRowidColumnDataType = '';
  /**
   * Optional. A human readable name
   *
   * @var string
   */
  public $displayName;
  protected $entityMoveType = EntityMove::class;
  protected $entityMoveDataType = '';
  protected $filterType = MappingRuleFilter::class;
  protected $filterDataType = '';
  protected $filterTableColumnsType = FilterTableColumns::class;
  protected $filterTableColumnsDataType = '';
  protected $multiColumnDataTypeChangeType = MultiColumnDatatypeChange::class;
  protected $multiColumnDataTypeChangeDataType = '';
  protected $multiEntityRenameType = MultiEntityRename::class;
  protected $multiEntityRenameDataType = '';
  /**
   * Full name of the mapping rule resource, in the form of: projects/{project}/
   * locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.
   *
   * @var string
   */
  public $name;
  /**
   * Output only. The timestamp that the revision was created.
   *
   * @var string
   */
  public $revisionCreateTime;
  /**
   * Output 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.
   *
   * @var string
   */
  public $revisionId;
  /**
   * Required. The order in which the rule is applied. Lower order rules are
   * applied before higher value rules so they may end up being overridden.
   *
   * @var string
   */
  public $ruleOrder;
  /**
   * Required. The rule scope
   *
   * @var string
   */
  public $ruleScope;
  protected $setTablePrimaryKeyType = SetTablePrimaryKey::class;
  protected $setTablePrimaryKeyDataType = '';
  protected $singleColumnChangeType = SingleColumnChange::class;
  protected $singleColumnChangeDataType = '';
  protected $singleEntityRenameType = SingleEntityRename::class;
  protected $singleEntityRenameDataType = '';
  protected $singlePackageChangeType = SinglePackageChange::class;
  protected $singlePackageChangeDataType = '';
  protected $sourceSqlChangeType = SourceSqlChange::class;
  protected $sourceSqlChangeDataType = '';
  /**
   * Optional. The mapping rule state
   *
   * @var string
   */
  public $state;

  /**
   * 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.
   *
   * @param ConditionalColumnSetValue $conditionalColumnSetValue
   */
  public function setConditionalColumnSetValue(ConditionalColumnSetValue $conditionalColumnSetValue)
  {
    $this->conditionalColumnSetValue = $conditionalColumnSetValue;
  }
  /**
   * @return ConditionalColumnSetValue
   */
  public function getConditionalColumnSetValue()
  {
    return $this->conditionalColumnSetValue;
  }
  /**
   * Optional. Rule to specify how multiple tables should be converted with an
   * additional rowid column.
   *
   * @param ConvertRowIdToColumn $convertRowidColumn
   */
  public function setConvertRowidColumn(ConvertRowIdToColumn $convertRowidColumn)
  {
    $this->convertRowidColumn = $convertRowidColumn;
  }
  /**
   * @return ConvertRowIdToColumn
   */
  public function getConvertRowidColumn()
  {
    return $this->convertRowidColumn;
  }
  /**
   * Optional. A human readable name
   *
   * @param string $displayName
   */
  public function setDisplayName($displayName)
  {
    $this->displayName = $displayName;
  }
  /**
   * @return string
   */
  public function getDisplayName()
  {
    return $this->displayName;
  }
  /**
   * Optional. Rule to specify how multiple entities should be relocated into a
   * different schema.
   *
   * @param EntityMove $entityMove
   */
  public function setEntityMove(EntityMove $entityMove)
  {
    $this->entityMove = $entityMove;
  }
  /**
   * @return EntityMove
   */
  public function getEntityMove()
  {
    return $this->entityMove;
  }
  /**
   * Required. The rule filter
   *
   * @param MappingRuleFilter $filter
   */
  public function setFilter(MappingRuleFilter $filter)
  {
    $this->filter = $filter;
  }
  /**
   * @return MappingRuleFilter
   */
  public function getFilter()
  {
    return $this->filter;
  }
  /**
   * Optional. Rule to specify the list of columns to include or exclude from a
   * table.
   *
   * @param FilterTableColumns $filterTableColumns
   */
  public function setFilterTableColumns(FilterTableColumns $filterTableColumns)
  {
    $this->filterTableColumns = $filterTableColumns;
  }
  /**
   * @return FilterTableColumns
   */
  public function getFilterTableColumns()
  {
    return $this->filterTableColumns;
  }
  /**
   * Optional. Rule to specify how multiple columns should be converted to a
   * different data type.
   *
   * @param MultiColumnDatatypeChange $multiColumnDataTypeChange
   */
  public function setMultiColumnDataTypeChange(MultiColumnDatatypeChange $multiColumnDataTypeChange)
  {
    $this->multiColumnDataTypeChange = $multiColumnDataTypeChange;
  }
  /**
   * @return MultiColumnDatatypeChange
   */
  public function getMultiColumnDataTypeChange()
  {
    return $this->multiColumnDataTypeChange;
  }
  /**
   * Optional. Rule to specify how multiple entities should be renamed.
   *
   * @param MultiEntityRename $multiEntityRename
   */
  public function setMultiEntityRename(MultiEntityRename $multiEntityRename)
  {
    $this->multiEntityRename = $multiEntityRename;
  }
  /**
   * @return MultiEntityRename
   */
  public function getMultiEntityRename()
  {
    return $this->multiEntityRename;
  }
  /**
   * Full name of the mapping rule resource, in the form of: projects/{project}/
   * locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Output only. The timestamp that the revision was created.
   *
   * @param string $revisionCreateTime
   */
  public function setRevisionCreateTime($revisionCreateTime)
  {
    $this->revisionCreateTime = $revisionCreateTime;
  }
  /**
   * @return string
   */
  public function getRevisionCreateTime()
  {
    return $this->revisionCreateTime;
  }
  /**
   * Output 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.
   *
   * @param string $revisionId
   */
  public function setRevisionId($revisionId)
  {
    $this->revisionId = $revisionId;
  }
  /**
   * @return string
   */
  public function getRevisionId()
  {
    return $this->revisionId;
  }
  /**
   * Required. The order in which the rule is applied. Lower order rules are
   * applied before higher value rules so they may end up being overridden.
   *
   * @param string $ruleOrder
   */
  public function setRuleOrder($ruleOrder)
  {
    $this->ruleOrder = $ruleOrder;
  }
  /**
   * @return string
   */
  public function getRuleOrder()
  {
    return $this->ruleOrder;
  }
  /**
   * Required. The rule scope
   *
   * Accepted values: DATABASE_ENTITY_TYPE_UNSPECIFIED,
   * DATABASE_ENTITY_TYPE_SCHEMA, DATABASE_ENTITY_TYPE_TABLE,
   * DATABASE_ENTITY_TYPE_COLUMN, DATABASE_ENTITY_TYPE_CONSTRAINT,
   * DATABASE_ENTITY_TYPE_INDEX, DATABASE_ENTITY_TYPE_TRIGGER,
   * DATABASE_ENTITY_TYPE_VIEW, DATABASE_ENTITY_TYPE_SEQUENCE,
   * DATABASE_ENTITY_TYPE_STORED_PROCEDURE, DATABASE_ENTITY_TYPE_FUNCTION,
   * DATABASE_ENTITY_TYPE_SYNONYM, DATABASE_ENTITY_TYPE_DATABASE_PACKAGE,
   * DATABASE_ENTITY_TYPE_UDT, DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW,
   * DATABASE_ENTITY_TYPE_DATABASE
   *
   * @param self::RULE_SCOPE_* $ruleScope
   */
  public function setRuleScope($ruleScope)
  {
    $this->ruleScope = $ruleScope;
  }
  /**
   * @return self::RULE_SCOPE_*
   */
  public function getRuleScope()
  {
    return $this->ruleScope;
  }
  /**
   * Optional. Rule to specify the primary key for a table
   *
   * @param SetTablePrimaryKey $setTablePrimaryKey
   */
  public function setSetTablePrimaryKey(SetTablePrimaryKey $setTablePrimaryKey)
  {
    $this->setTablePrimaryKey = $setTablePrimaryKey;
  }
  /**
   * @return SetTablePrimaryKey
   */
  public function getSetTablePrimaryKey()
  {
    return $this->setTablePrimaryKey;
  }
  /**
   * Optional. Rule to specify how a single column is converted.
   *
   * @param SingleColumnChange $singleColumnChange
   */
  public function setSingleColumnChange(SingleColumnChange $singleColumnChange)
  {
    $this->singleColumnChange = $singleColumnChange;
  }
  /**
   * @return SingleColumnChange
   */
  public function getSingleColumnChange()
  {
    return $this->singleColumnChange;
  }
  /**
   * Optional. Rule to specify how a single entity should be renamed.
   *
   * @param SingleEntityRename $singleEntityRename
   */
  public function setSingleEntityRename(SingleEntityRename $singleEntityRename)
  {
    $this->singleEntityRename = $singleEntityRename;
  }
  /**
   * @return SingleEntityRename
   */
  public function getSingleEntityRename()
  {
    return $this->singleEntityRename;
  }
  /**
   * Optional. Rule to specify how a single package is converted.
   *
   * @param SinglePackageChange $singlePackageChange
   */
  public function setSinglePackageChange(SinglePackageChange $singlePackageChange)
  {
    $this->singlePackageChange = $singlePackageChange;
  }
  /**
   * @return SinglePackageChange
   */
  public function getSinglePackageChange()
  {
    return $this->singlePackageChange;
  }
  /**
   * Optional. Rule to change the sql code for an entity, for example, function,
   * procedure.
   *
   * @param SourceSqlChange $sourceSqlChange
   */
  public function setSourceSqlChange(SourceSqlChange $sourceSqlChange)
  {
    $this->sourceSqlChange = $sourceSqlChange;
  }
  /**
   * @return SourceSqlChange
   */
  public function getSourceSqlChange()
  {
    return $this->sourceSqlChange;
  }
  /**
   * Optional. The mapping rule state
   *
   * Accepted values: STATE_UNSPECIFIED, ENABLED, DISABLED, DELETED
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MappingRule::class, 'Google_Service_DatabaseMigrationService_MappingRule');
← Back