Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
<?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 AlloyDbConnectionProfile extends \Google\Model
{
/**
* @var string
*/
public $clusterId;
protected $settingsType = AlloyDbSettings::class;
protected $settingsDataType = '';
/**
* @param string
*/
public function setClusterId($clusterId)
{
$this->clusterId = $clusterId;
}
/**
* @return string
*/
public function getClusterId()
{
return $this->clusterId;
}
/**
* @param AlloyDbSettings
*/
public function setSettings(AlloyDbSettings $settings)
{
$this->settings = $settings;
}
/**
* @return AlloyDbSettings
*/
public function getSettings()
{
return $this->settings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AlloyDbConnectionProfile::class, 'Google_Service_DatabaseMigrationService_AlloyDbConnectionProfile');

View File

@@ -0,0 +1,128 @@
<?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 AlloyDbSettings extends \Google\Model
{
/**
* @var string
*/
public $databaseVersion;
protected $encryptionConfigType = EncryptionConfig::class;
protected $encryptionConfigDataType = '';
protected $initialUserType = UserPassword::class;
protected $initialUserDataType = '';
/**
* @var string[]
*/
public $labels;
protected $primaryInstanceSettingsType = PrimaryInstanceSettings::class;
protected $primaryInstanceSettingsDataType = '';
/**
* @var string
*/
public $vpcNetwork;
/**
* @param string
*/
public function setDatabaseVersion($databaseVersion)
{
$this->databaseVersion = $databaseVersion;
}
/**
* @return string
*/
public function getDatabaseVersion()
{
return $this->databaseVersion;
}
/**
* @param EncryptionConfig
*/
public function setEncryptionConfig(EncryptionConfig $encryptionConfig)
{
$this->encryptionConfig = $encryptionConfig;
}
/**
* @return EncryptionConfig
*/
public function getEncryptionConfig()
{
return $this->encryptionConfig;
}
/**
* @param UserPassword
*/
public function setInitialUser(UserPassword $initialUser)
{
$this->initialUser = $initialUser;
}
/**
* @return UserPassword
*/
public function getInitialUser()
{
return $this->initialUser;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param PrimaryInstanceSettings
*/
public function setPrimaryInstanceSettings(PrimaryInstanceSettings $primaryInstanceSettings)
{
$this->primaryInstanceSettings = $primaryInstanceSettings;
}
/**
* @return PrimaryInstanceSettings
*/
public function getPrimaryInstanceSettings()
{
return $this->primaryInstanceSettings;
}
/**
* @param string
*/
public function setVpcNetwork($vpcNetwork)
{
$this->vpcNetwork = $vpcNetwork;
}
/**
* @return string
*/
public function getVpcNetwork()
{
return $this->vpcNetwork;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AlloyDbSettings::class, 'Google_Service_DatabaseMigrationService_AlloyDbSettings');

View File

@@ -0,0 +1,98 @@
<?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 ApplyConversionWorkspaceRequest extends \Google\Model
{
/**
* @var bool
*/
public $autoCommit;
/**
* @var string
*/
public $connectionProfile;
/**
* @var bool
*/
public $dryRun;
/**
* @var string
*/
public $filter;
/**
* @param bool
*/
public function setAutoCommit($autoCommit)
{
$this->autoCommit = $autoCommit;
}
/**
* @return bool
*/
public function getAutoCommit()
{
return $this->autoCommit;
}
/**
* @param string
*/
public function setConnectionProfile($connectionProfile)
{
$this->connectionProfile = $connectionProfile;
}
/**
* @return string
*/
public function getConnectionProfile()
{
return $this->connectionProfile;
}
/**
* @param bool
*/
public function setDryRun($dryRun)
{
$this->dryRun = $dryRun;
}
/**
* @return bool
*/
public function getDryRun()
{
return $this->dryRun;
}
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApplyConversionWorkspaceRequest::class, 'Google_Service_DatabaseMigrationService_ApplyConversionWorkspaceRequest');

View File

@@ -0,0 +1,42 @@
<?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 ApplyHash extends \Google\Model
{
protected $uuidFromBytesType = DatamigrationEmpty::class;
protected $uuidFromBytesDataType = '';
/**
* @param DatamigrationEmpty
*/
public function setUuidFromBytes(DatamigrationEmpty $uuidFromBytes)
{
$this->uuidFromBytes = $uuidFromBytes;
}
/**
* @return DatamigrationEmpty
*/
public function getUuidFromBytes()
{
return $this->uuidFromBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApplyHash::class, 'Google_Service_DatabaseMigrationService_ApplyHash');

View File

@@ -0,0 +1,62 @@
<?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 ApplyJobDetails extends \Google\Model
{
/**
* @var string
*/
public $connectionProfile;
/**
* @var string
*/
public $filter;
/**
* @param string
*/
public function setConnectionProfile($connectionProfile)
{
$this->connectionProfile = $connectionProfile;
}
/**
* @return string
*/
public function getConnectionProfile()
{
return $this->connectionProfile;
}
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApplyJobDetails::class, 'Google_Service_DatabaseMigrationService_ApplyJobDetails');

View File

@@ -0,0 +1,44 @@
<?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 AssignSpecificValue extends \Google\Model
{
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AssignSpecificValue::class, 'Google_Service_DatabaseMigrationService_AssignSpecificValue');

View File

@@ -0,0 +1,61 @@
<?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 AuditConfig extends \Google\Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = AuditLogConfig::class;
protected $auditLogConfigsDataType = 'array';
/**
* @var string
*/
public $service;
/**
* @param AuditLogConfig[]
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return AuditLogConfig[]
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditConfig::class, 'Google_Service_DatabaseMigrationService_AuditConfig');

View File

@@ -0,0 +1,63 @@
<?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 AuditLogConfig extends \Google\Collection
{
protected $collection_key = 'exemptedMembers';
/**
* @var string[]
*/
public $exemptedMembers;
/**
* @var string
*/
public $logType;
/**
* @param string[]
*/
public function setExemptedMembers($exemptedMembers)
{
$this->exemptedMembers = $exemptedMembers;
}
/**
* @return string[]
*/
public function getExemptedMembers()
{
return $this->exemptedMembers;
}
/**
* @param string
*/
public function setLogType($logType)
{
$this->logType = $logType;
}
/**
* @return string
*/
public function getLogType()
{
return $this->logType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditLogConfig::class, 'Google_Service_DatabaseMigrationService_AuditLogConfig');

View File

@@ -0,0 +1,44 @@
<?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 AuthorizedNetwork extends \Google\Model
{
/**
* @var string
*/
public $cidrRange;
/**
* @param string
*/
public function setCidrRange($cidrRange)
{
$this->cidrRange = $cidrRange;
}
/**
* @return string
*/
public function getCidrRange()
{
return $this->cidrRange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthorizedNetwork::class, 'Google_Service_DatabaseMigrationService_AuthorizedNetwork');

View File

@@ -0,0 +1,216 @@
<?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 BackgroundJobLogEntry extends \Google\Model
{
protected $applyJobDetailsType = ApplyJobDetails::class;
protected $applyJobDetailsDataType = '';
/**
* @var string
*/
public $completionComment;
/**
* @var string
*/
public $completionState;
protected $convertJobDetailsType = ConvertJobDetails::class;
protected $convertJobDetailsDataType = '';
/**
* @var string
*/
public $finishTime;
/**
* @var string
*/
public $id;
protected $importRulesJobDetailsType = ImportRulesJobDetails::class;
protected $importRulesJobDetailsDataType = '';
/**
* @var string
*/
public $jobType;
/**
* @var bool
*/
public $requestAutocommit;
protected $seedJobDetailsType = SeedJobDetails::class;
protected $seedJobDetailsDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @param ApplyJobDetails
*/
public function setApplyJobDetails(ApplyJobDetails $applyJobDetails)
{
$this->applyJobDetails = $applyJobDetails;
}
/**
* @return ApplyJobDetails
*/
public function getApplyJobDetails()
{
return $this->applyJobDetails;
}
/**
* @param string
*/
public function setCompletionComment($completionComment)
{
$this->completionComment = $completionComment;
}
/**
* @return string
*/
public function getCompletionComment()
{
return $this->completionComment;
}
/**
* @param string
*/
public function setCompletionState($completionState)
{
$this->completionState = $completionState;
}
/**
* @return string
*/
public function getCompletionState()
{
return $this->completionState;
}
/**
* @param ConvertJobDetails
*/
public function setConvertJobDetails(ConvertJobDetails $convertJobDetails)
{
$this->convertJobDetails = $convertJobDetails;
}
/**
* @return ConvertJobDetails
*/
public function getConvertJobDetails()
{
return $this->convertJobDetails;
}
/**
* @param string
*/
public function setFinishTime($finishTime)
{
$this->finishTime = $finishTime;
}
/**
* @return string
*/
public function getFinishTime()
{
return $this->finishTime;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param ImportRulesJobDetails
*/
public function setImportRulesJobDetails(ImportRulesJobDetails $importRulesJobDetails)
{
$this->importRulesJobDetails = $importRulesJobDetails;
}
/**
* @return ImportRulesJobDetails
*/
public function getImportRulesJobDetails()
{
return $this->importRulesJobDetails;
}
/**
* @param string
*/
public function setJobType($jobType)
{
$this->jobType = $jobType;
}
/**
* @return string
*/
public function getJobType()
{
return $this->jobType;
}
/**
* @param bool
*/
public function setRequestAutocommit($requestAutocommit)
{
$this->requestAutocommit = $requestAutocommit;
}
/**
* @return bool
*/
public function getRequestAutocommit()
{
return $this->requestAutocommit;
}
/**
* @param SeedJobDetails
*/
public function setSeedJobDetails(SeedJobDetails $seedJobDetails)
{
$this->seedJobDetails = $seedJobDetails;
}
/**
* @return SeedJobDetails
*/
public function getSeedJobDetails()
{
return $this->seedJobDetails;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackgroundJobLogEntry::class, 'Google_Service_DatabaseMigrationService_BackgroundJobLogEntry');

View File

@@ -0,0 +1,58 @@
<?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 BinaryLogParser extends \Google\Model
{
protected $logFileDirectoriesType = LogFileDirectories::class;
protected $logFileDirectoriesDataType = '';
protected $oracleAsmLogFileAccessType = OracleAsmLogFileAccess::class;
protected $oracleAsmLogFileAccessDataType = '';
/**
* @param LogFileDirectories
*/
public function setLogFileDirectories(LogFileDirectories $logFileDirectories)
{
$this->logFileDirectories = $logFileDirectories;
}
/**
* @return LogFileDirectories
*/
public function getLogFileDirectories()
{
return $this->logFileDirectories;
}
/**
* @param OracleAsmLogFileAccess
*/
public function setOracleAsmLogFileAccess(OracleAsmLogFileAccess $oracleAsmLogFileAccess)
{
$this->oracleAsmLogFileAccess = $oracleAsmLogFileAccess;
}
/**
* @return OracleAsmLogFileAccess
*/
public function getOracleAsmLogFileAccess()
{
return $this->oracleAsmLogFileAccess;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BinaryLogParser::class, 'Google_Service_DatabaseMigrationService_BinaryLogParser');

View File

@@ -0,0 +1,79 @@
<?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 Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param Expr
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Binding::class, 'Google_Service_DatabaseMigrationService_Binding');

View File

@@ -0,0 +1,25 @@
<?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 CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_DatabaseMigrationService_CancelOperationRequest');

View File

@@ -0,0 +1,114 @@
<?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 CloudSqlConnectionProfile extends \Google\Model
{
/**
* @var string
*/
public $additionalPublicIp;
/**
* @var string
*/
public $cloudSqlId;
/**
* @var string
*/
public $privateIp;
/**
* @var string
*/
public $publicIp;
protected $settingsType = CloudSqlSettings::class;
protected $settingsDataType = '';
/**
* @param string
*/
public function setAdditionalPublicIp($additionalPublicIp)
{
$this->additionalPublicIp = $additionalPublicIp;
}
/**
* @return string
*/
public function getAdditionalPublicIp()
{
return $this->additionalPublicIp;
}
/**
* @param string
*/
public function setCloudSqlId($cloudSqlId)
{
$this->cloudSqlId = $cloudSqlId;
}
/**
* @return string
*/
public function getCloudSqlId()
{
return $this->cloudSqlId;
}
/**
* @param string
*/
public function setPrivateIp($privateIp)
{
$this->privateIp = $privateIp;
}
/**
* @return string
*/
public function getPrivateIp()
{
return $this->privateIp;
}
/**
* @param string
*/
public function setPublicIp($publicIp)
{
$this->publicIp = $publicIp;
}
/**
* @return string
*/
public function getPublicIp()
{
return $this->publicIp;
}
/**
* @param CloudSqlSettings
*/
public function setSettings(CloudSqlSettings $settings)
{
$this->settings = $settings;
}
/**
* @return CloudSqlSettings
*/
public function getSettings()
{
return $this->settings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudSqlConnectionProfile::class, 'Google_Service_DatabaseMigrationService_CloudSqlConnectionProfile');

View File

@@ -0,0 +1,400 @@
<?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 CloudSqlSettings extends \Google\Model
{
/**
* @var string
*/
public $activationPolicy;
/**
* @var bool
*/
public $autoStorageIncrease;
/**
* @var string
*/
public $availabilityType;
/**
* @var string
*/
public $cmekKeyName;
/**
* @var string
*/
public $collation;
protected $dataCacheConfigType = DataCacheConfig::class;
protected $dataCacheConfigDataType = '';
/**
* @var string
*/
public $dataDiskSizeGb;
/**
* @var string
*/
public $dataDiskType;
/**
* @var string[]
*/
public $databaseFlags;
/**
* @var string
*/
public $databaseVersion;
/**
* @var string
*/
public $databaseVersionName;
/**
* @var string
*/
public $edition;
protected $ipConfigType = SqlIpConfig::class;
protected $ipConfigDataType = '';
/**
* @var string
*/
public $rootPassword;
/**
* @var bool
*/
public $rootPasswordSet;
/**
* @var string
*/
public $secondaryZone;
/**
* @var string
*/
public $sourceId;
/**
* @var string
*/
public $storageAutoResizeLimit;
/**
* @var string
*/
public $tier;
/**
* @var string[]
*/
public $userLabels;
/**
* @var string
*/
public $zone;
/**
* @param string
*/
public function setActivationPolicy($activationPolicy)
{
$this->activationPolicy = $activationPolicy;
}
/**
* @return string
*/
public function getActivationPolicy()
{
return $this->activationPolicy;
}
/**
* @param bool
*/
public function setAutoStorageIncrease($autoStorageIncrease)
{
$this->autoStorageIncrease = $autoStorageIncrease;
}
/**
* @return bool
*/
public function getAutoStorageIncrease()
{
return $this->autoStorageIncrease;
}
/**
* @param string
*/
public function setAvailabilityType($availabilityType)
{
$this->availabilityType = $availabilityType;
}
/**
* @return string
*/
public function getAvailabilityType()
{
return $this->availabilityType;
}
/**
* @param string
*/
public function setCmekKeyName($cmekKeyName)
{
$this->cmekKeyName = $cmekKeyName;
}
/**
* @return string
*/
public function getCmekKeyName()
{
return $this->cmekKeyName;
}
/**
* @param string
*/
public function setCollation($collation)
{
$this->collation = $collation;
}
/**
* @return string
*/
public function getCollation()
{
return $this->collation;
}
/**
* @param DataCacheConfig
*/
public function setDataCacheConfig(DataCacheConfig $dataCacheConfig)
{
$this->dataCacheConfig = $dataCacheConfig;
}
/**
* @return DataCacheConfig
*/
public function getDataCacheConfig()
{
return $this->dataCacheConfig;
}
/**
* @param string
*/
public function setDataDiskSizeGb($dataDiskSizeGb)
{
$this->dataDiskSizeGb = $dataDiskSizeGb;
}
/**
* @return string
*/
public function getDataDiskSizeGb()
{
return $this->dataDiskSizeGb;
}
/**
* @param string
*/
public function setDataDiskType($dataDiskType)
{
$this->dataDiskType = $dataDiskType;
}
/**
* @return string
*/
public function getDataDiskType()
{
return $this->dataDiskType;
}
/**
* @param string[]
*/
public function setDatabaseFlags($databaseFlags)
{
$this->databaseFlags = $databaseFlags;
}
/**
* @return string[]
*/
public function getDatabaseFlags()
{
return $this->databaseFlags;
}
/**
* @param string
*/
public function setDatabaseVersion($databaseVersion)
{
$this->databaseVersion = $databaseVersion;
}
/**
* @return string
*/
public function getDatabaseVersion()
{
return $this->databaseVersion;
}
/**
* @param string
*/
public function setDatabaseVersionName($databaseVersionName)
{
$this->databaseVersionName = $databaseVersionName;
}
/**
* @return string
*/
public function getDatabaseVersionName()
{
return $this->databaseVersionName;
}
/**
* @param string
*/
public function setEdition($edition)
{
$this->edition = $edition;
}
/**
* @return string
*/
public function getEdition()
{
return $this->edition;
}
/**
* @param SqlIpConfig
*/
public function setIpConfig(SqlIpConfig $ipConfig)
{
$this->ipConfig = $ipConfig;
}
/**
* @return SqlIpConfig
*/
public function getIpConfig()
{
return $this->ipConfig;
}
/**
* @param string
*/
public function setRootPassword($rootPassword)
{
$this->rootPassword = $rootPassword;
}
/**
* @return string
*/
public function getRootPassword()
{
return $this->rootPassword;
}
/**
* @param bool
*/
public function setRootPasswordSet($rootPasswordSet)
{
$this->rootPasswordSet = $rootPasswordSet;
}
/**
* @return bool
*/
public function getRootPasswordSet()
{
return $this->rootPasswordSet;
}
/**
* @param string
*/
public function setSecondaryZone($secondaryZone)
{
$this->secondaryZone = $secondaryZone;
}
/**
* @return string
*/
public function getSecondaryZone()
{
return $this->secondaryZone;
}
/**
* @param string
*/
public function setSourceId($sourceId)
{
$this->sourceId = $sourceId;
}
/**
* @return string
*/
public function getSourceId()
{
return $this->sourceId;
}
/**
* @param string
*/
public function setStorageAutoResizeLimit($storageAutoResizeLimit)
{
$this->storageAutoResizeLimit = $storageAutoResizeLimit;
}
/**
* @return string
*/
public function getStorageAutoResizeLimit()
{
return $this->storageAutoResizeLimit;
}
/**
* @param string
*/
public function setTier($tier)
{
$this->tier = $tier;
}
/**
* @return string
*/
public function getTier()
{
return $this->tier;
}
/**
* @param string[]
*/
public function setUserLabels($userLabels)
{
$this->userLabels = $userLabels;
}
/**
* @return string[]
*/
public function getUserLabels()
{
return $this->userLabels;
}
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudSqlSettings::class, 'Google_Service_DatabaseMigrationService_CloudSqlSettings');

View File

@@ -0,0 +1,351 @@
<?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 ColumnEntity extends \Google\Collection
{
protected $collection_key = 'setValues';
/**
* @var bool
*/
public $array;
/**
* @var int
*/
public $arrayLength;
/**
* @var bool
*/
public $autoGenerated;
/**
* @var string
*/
public $charset;
/**
* @var string
*/
public $collation;
/**
* @var string
*/
public $comment;
/**
* @var array[]
*/
public $customFeatures;
/**
* @var string
*/
public $dataType;
/**
* @var string
*/
public $defaultValue;
/**
* @var int
*/
public $fractionalSecondsPrecision;
/**
* @var string
*/
public $length;
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $nullable;
/**
* @var int
*/
public $ordinalPosition;
/**
* @var int
*/
public $precision;
/**
* @var int
*/
public $scale;
/**
* @var string[]
*/
public $setValues;
/**
* @var bool
*/
public $udt;
/**
* @param bool
*/
public function setArray($array)
{
$this->array = $array;
}
/**
* @return bool
*/
public function getArray()
{
return $this->array;
}
/**
* @param int
*/
public function setArrayLength($arrayLength)
{
$this->arrayLength = $arrayLength;
}
/**
* @return int
*/
public function getArrayLength()
{
return $this->arrayLength;
}
/**
* @param bool
*/
public function setAutoGenerated($autoGenerated)
{
$this->autoGenerated = $autoGenerated;
}
/**
* @return bool
*/
public function getAutoGenerated()
{
return $this->autoGenerated;
}
/**
* @param string
*/
public function setCharset($charset)
{
$this->charset = $charset;
}
/**
* @return string
*/
public function getCharset()
{
return $this->charset;
}
/**
* @param string
*/
public function setCollation($collation)
{
$this->collation = $collation;
}
/**
* @return string
*/
public function getCollation()
{
return $this->collation;
}
/**
* @param string
*/
public function setComment($comment)
{
$this->comment = $comment;
}
/**
* @return string
*/
public function getComment()
{
return $this->comment;
}
/**
* @param array[]
*/
public function setCustomFeatures($customFeatures)
{
$this->customFeatures = $customFeatures;
}
/**
* @return array[]
*/
public function getCustomFeatures()
{
return $this->customFeatures;
}
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param string
*/
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return string
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* @param int
*/
public function setFractionalSecondsPrecision($fractionalSecondsPrecision)
{
$this->fractionalSecondsPrecision = $fractionalSecondsPrecision;
}
/**
* @return int
*/
public function getFractionalSecondsPrecision()
{
return $this->fractionalSecondsPrecision;
}
/**
* @param string
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return string
*/
public function getLength()
{
return $this->length;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setNullable($nullable)
{
$this->nullable = $nullable;
}
/**
* @return bool
*/
public function getNullable()
{
return $this->nullable;
}
/**
* @param int
*/
public function setOrdinalPosition($ordinalPosition)
{
$this->ordinalPosition = $ordinalPosition;
}
/**
* @return int
*/
public function getOrdinalPosition()
{
return $this->ordinalPosition;
}
/**
* @param int
*/
public function setPrecision($precision)
{
$this->precision = $precision;
}
/**
* @return int
*/
public function getPrecision()
{
return $this->precision;
}
/**
* @param int
*/
public function setScale($scale)
{
$this->scale = $scale;
}
/**
* @return int
*/
public function getScale()
{
return $this->scale;
}
/**
* @param string[]
*/
public function setSetValues($setValues)
{
$this->setValues = $setValues;
}
/**
* @return string[]
*/
public function getSetValues()
{
return $this->setValues;
}
/**
* @param bool
*/
public function setUdt($udt)
{
$this->udt = $udt;
}
/**
* @return bool
*/
public function getUdt()
{
return $this->udt;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ColumnEntity::class, 'Google_Service_DatabaseMigrationService_ColumnEntity');

View File

@@ -0,0 +1,44 @@
<?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 CommitConversionWorkspaceRequest extends \Google\Model
{
/**
* @var string
*/
public $commitName;
/**
* @param string
*/
public function setCommitName($commitName)
{
$this->commitName = $commitName;
}
/**
* @return string
*/
public function getCommitName()
{
return $this->commitName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CommitConversionWorkspaceRequest::class, 'Google_Service_DatabaseMigrationService_CommitConversionWorkspaceRequest');

View File

@@ -0,0 +1,92 @@
<?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 ConditionalColumnSetValue extends \Google\Model
{
/**
* @var array[]
*/
public $customFeatures;
protected $sourceNumericFilterType = SourceNumericFilter::class;
protected $sourceNumericFilterDataType = '';
protected $sourceTextFilterType = SourceTextFilter::class;
protected $sourceTextFilterDataType = '';
protected $valueTransformationType = ValueTransformation::class;
protected $valueTransformationDataType = '';
/**
* @param array[]
*/
public function setCustomFeatures($customFeatures)
{
$this->customFeatures = $customFeatures;
}
/**
* @return array[]
*/
public function getCustomFeatures()
{
return $this->customFeatures;
}
/**
* @param SourceNumericFilter
*/
public function setSourceNumericFilter(SourceNumericFilter $sourceNumericFilter)
{
$this->sourceNumericFilter = $sourceNumericFilter;
}
/**
* @return SourceNumericFilter
*/
public function getSourceNumericFilter()
{
return $this->sourceNumericFilter;
}
/**
* @param SourceTextFilter
*/
public function setSourceTextFilter(SourceTextFilter $sourceTextFilter)
{
$this->sourceTextFilter = $sourceTextFilter;
}
/**
* @return SourceTextFilter
*/
public function getSourceTextFilter()
{
return $this->sourceTextFilter;
}
/**
* @param ValueTransformation
*/
public function setValueTransformation(ValueTransformation $valueTransformation)
{
$this->valueTransformation = $valueTransformation;
}
/**
* @return ValueTransformation
*/
public function getValueTransformation()
{
return $this->valueTransformation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConditionalColumnSetValue::class, 'Google_Service_DatabaseMigrationService_ConditionalColumnSetValue');

View File

@@ -0,0 +1,282 @@
<?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 ConnectionProfile extends \Google\Model
{
protected $alloydbType = AlloyDbConnectionProfile::class;
protected $alloydbDataType = '';
protected $cloudsqlType = CloudSqlConnectionProfile::class;
protected $cloudsqlDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var string[]
*/
public $labels;
protected $mysqlType = MySqlConnectionProfile::class;
protected $mysqlDataType = '';
/**
* @var string
*/
public $name;
protected $oracleType = OracleConnectionProfile::class;
protected $oracleDataType = '';
protected $postgresqlType = PostgreSqlConnectionProfile::class;
protected $postgresqlDataType = '';
/**
* @var string
*/
public $provider;
/**
* @var string
*/
public $role;
protected $sqlserverType = SqlServerConnectionProfile::class;
protected $sqlserverDataType = '';
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param AlloyDbConnectionProfile
*/
public function setAlloydb(AlloyDbConnectionProfile $alloydb)
{
$this->alloydb = $alloydb;
}
/**
* @return AlloyDbConnectionProfile
*/
public function getAlloydb()
{
return $this->alloydb;
}
/**
* @param CloudSqlConnectionProfile
*/
public function setCloudsql(CloudSqlConnectionProfile $cloudsql)
{
$this->cloudsql = $cloudsql;
}
/**
* @return CloudSqlConnectionProfile
*/
public function getCloudsql()
{
return $this->cloudsql;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param MySqlConnectionProfile
*/
public function setMysql(MySqlConnectionProfile $mysql)
{
$this->mysql = $mysql;
}
/**
* @return MySqlConnectionProfile
*/
public function getMysql()
{
return $this->mysql;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param OracleConnectionProfile
*/
public function setOracle(OracleConnectionProfile $oracle)
{
$this->oracle = $oracle;
}
/**
* @return OracleConnectionProfile
*/
public function getOracle()
{
return $this->oracle;
}
/**
* @param PostgreSqlConnectionProfile
*/
public function setPostgresql(PostgreSqlConnectionProfile $postgresql)
{
$this->postgresql = $postgresql;
}
/**
* @return PostgreSqlConnectionProfile
*/
public function getPostgresql()
{
return $this->postgresql;
}
/**
* @param string
*/
public function setProvider($provider)
{
$this->provider = $provider;
}
/**
* @return string
*/
public function getProvider()
{
return $this->provider;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
/**
* @param SqlServerConnectionProfile
*/
public function setSqlserver(SqlServerConnectionProfile $sqlserver)
{
$this->sqlserver = $sqlserver;
}
/**
* @return SqlServerConnectionProfile
*/
public function getSqlserver()
{
return $this->sqlserver;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectionProfile::class, 'Google_Service_DatabaseMigrationService_ConnectionProfile');

View File

@@ -0,0 +1,153 @@
<?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 ConstraintEntity extends \Google\Collection
{
protected $collection_key = 'tableColumns';
/**
* @var array[]
*/
public $customFeatures;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $referenceColumns;
/**
* @var string
*/
public $referenceTable;
/**
* @var string[]
*/
public $tableColumns;
/**
* @var string
*/
public $tableName;
/**
* @var string
*/
public $type;
/**
* @param array[]
*/
public function setCustomFeatures($customFeatures)
{
$this->customFeatures = $customFeatures;
}
/**
* @return array[]
*/
public function getCustomFeatures()
{
return $this->customFeatures;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setReferenceColumns($referenceColumns)
{
$this->referenceColumns = $referenceColumns;
}
/**
* @return string[]
*/
public function getReferenceColumns()
{
return $this->referenceColumns;
}
/**
* @param string
*/
public function setReferenceTable($referenceTable)
{
$this->referenceTable = $referenceTable;
}
/**
* @return string
*/
public function getReferenceTable()
{
return $this->referenceTable;
}
/**
* @param string[]
*/
public function setTableColumns($tableColumns)
{
$this->tableColumns = $tableColumns;
}
/**
* @return string[]
*/
public function getTableColumns()
{
return $this->tableColumns;
}
/**
* @param string
*/
public function setTableName($tableName)
{
$this->tableName = $tableName;
}
/**
* @return string
*/
public function getTableName()
{
return $this->tableName;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConstraintEntity::class, 'Google_Service_DatabaseMigrationService_ConstraintEntity');

View File

@@ -0,0 +1,202 @@
<?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 ConversionWorkspace extends \Google\Model
{
/**
* @var string
*/
public $createTime;
protected $destinationType = DatabaseEngineInfo::class;
protected $destinationDataType = '';
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $globalSettings;
/**
* @var bool
*/
public $hasUncommittedChanges;
/**
* @var string
*/
public $latestCommitId;
/**
* @var string
*/
public $latestCommitTime;
/**
* @var string
*/
public $name;
protected $sourceType = DatabaseEngineInfo::class;
protected $sourceDataType = '';
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param DatabaseEngineInfo
*/
public function setDestination(DatabaseEngineInfo $destination)
{
$this->destination = $destination;
}
/**
* @return DatabaseEngineInfo
*/
public function getDestination()
{
return $this->destination;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setGlobalSettings($globalSettings)
{
$this->globalSettings = $globalSettings;
}
/**
* @return string[]
*/
public function getGlobalSettings()
{
return $this->globalSettings;
}
/**
* @param bool
*/
public function setHasUncommittedChanges($hasUncommittedChanges)
{
$this->hasUncommittedChanges = $hasUncommittedChanges;
}
/**
* @return bool
*/
public function getHasUncommittedChanges()
{
return $this->hasUncommittedChanges;
}
/**
* @param string
*/
public function setLatestCommitId($latestCommitId)
{
$this->latestCommitId = $latestCommitId;
}
/**
* @return string
*/
public function getLatestCommitId()
{
return $this->latestCommitId;
}
/**
* @param string
*/
public function setLatestCommitTime($latestCommitTime)
{
$this->latestCommitTime = $latestCommitTime;
}
/**
* @return string
*/
public function getLatestCommitTime()
{
return $this->latestCommitTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param DatabaseEngineInfo
*/
public function setSource(DatabaseEngineInfo $source)
{
$this->source = $source;
}
/**
* @return DatabaseEngineInfo
*/
public function getSource()
{
return $this->source;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConversionWorkspace::class, 'Google_Service_DatabaseMigrationService_ConversionWorkspace');

View File

@@ -0,0 +1,62 @@
<?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 ConversionWorkspaceInfo extends \Google\Model
{
/**
* @var string
*/
public $commitId;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setCommitId($commitId)
{
$this->commitId = $commitId;
}
/**
* @return string
*/
public function getCommitId()
{
return $this->commitId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConversionWorkspaceInfo::class, 'Google_Service_DatabaseMigrationService_ConversionWorkspaceInfo');

View File

@@ -0,0 +1,80 @@
<?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 ConvertConversionWorkspaceRequest extends \Google\Model
{
/**
* @var bool
*/
public $autoCommit;
/**
* @var bool
*/
public $convertFullPath;
/**
* @var string
*/
public $filter;
/**
* @param bool
*/
public function setAutoCommit($autoCommit)
{
$this->autoCommit = $autoCommit;
}
/**
* @return bool
*/
public function getAutoCommit()
{
return $this->autoCommit;
}
/**
* @param bool
*/
public function setConvertFullPath($convertFullPath)
{
$this->convertFullPath = $convertFullPath;
}
/**
* @return bool
*/
public function getConvertFullPath()
{
return $this->convertFullPath;
}
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConvertConversionWorkspaceRequest::class, 'Google_Service_DatabaseMigrationService_ConvertConversionWorkspaceRequest');

View File

@@ -0,0 +1,44 @@
<?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 ConvertJobDetails extends \Google\Model
{
/**
* @var string
*/
public $filter;
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConvertJobDetails::class, 'Google_Service_DatabaseMigrationService_ConvertJobDetails');

View File

@@ -0,0 +1,44 @@
<?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 ConvertRowIdToColumn extends \Google\Model
{
/**
* @var bool
*/
public $onlyIfNoPrimaryKey;
/**
* @param bool
*/
public function setOnlyIfNoPrimaryKey($onlyIfNoPrimaryKey)
{
$this->onlyIfNoPrimaryKey = $onlyIfNoPrimaryKey;
}
/**
* @return bool
*/
public function getOnlyIfNoPrimaryKey()
{
return $this->onlyIfNoPrimaryKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConvertRowIdToColumn::class, 'Google_Service_DatabaseMigrationService_ConvertRowIdToColumn');

View File

@@ -0,0 +1,44 @@
<?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 DataCacheConfig extends \Google\Model
{
/**
* @var bool
*/
public $dataCacheEnabled;
/**
* @param bool
*/
public function setDataCacheEnabled($dataCacheEnabled)
{
$this->dataCacheEnabled = $dataCacheEnabled;
}
/**
* @return bool
*/
public function getDataCacheEnabled()
{
return $this->dataCacheEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataCacheConfig::class, 'Google_Service_DatabaseMigrationService_DataCacheConfig');

View File

@@ -0,0 +1,62 @@
<?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 DatabaseEngineInfo extends \Google\Model
{
/**
* @var string
*/
public $engine;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setEngine($engine)
{
$this->engine = $engine;
}
/**
* @return string
*/
public function getEngine()
{
return $this->engine;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseEngineInfo::class, 'Google_Service_DatabaseMigrationService_DatabaseEngineInfo');

View File

@@ -0,0 +1,323 @@
<?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 DatabaseEntity extends \Google\Collection
{
protected $collection_key = 'mappings';
protected $databaseType = DatabaseInstanceEntity::class;
protected $databaseDataType = '';
protected $databaseFunctionType = FunctionEntity::class;
protected $databaseFunctionDataType = '';
protected $databasePackageType = PackageEntity::class;
protected $databasePackageDataType = '';
protected $entityDdlType = EntityDdl::class;
protected $entityDdlDataType = 'array';
/**
* @var string
*/
public $entityType;
protected $issuesType = EntityIssue::class;
protected $issuesDataType = 'array';
protected $mappingsType = EntityMapping::class;
protected $mappingsDataType = 'array';
protected $materializedViewType = MaterializedViewEntity::class;
protected $materializedViewDataType = '';
/**
* @var string
*/
public $parentEntity;
protected $schemaType = SchemaEntity::class;
protected $schemaDataType = '';
protected $sequenceType = SequenceEntity::class;
protected $sequenceDataType = '';
/**
* @var string
*/
public $shortName;
protected $storedProcedureType = StoredProcedureEntity::class;
protected $storedProcedureDataType = '';
protected $synonymType = SynonymEntity::class;
protected $synonymDataType = '';
protected $tableType = TableEntity::class;
protected $tableDataType = '';
/**
* @var string
*/
public $tree;
protected $udtType = UDTEntity::class;
protected $udtDataType = '';
protected $viewType = ViewEntity::class;
protected $viewDataType = '';
/**
* @param DatabaseInstanceEntity
*/
public function setDatabase(DatabaseInstanceEntity $database)
{
$this->database = $database;
}
/**
* @return DatabaseInstanceEntity
*/
public function getDatabase()
{
return $this->database;
}
/**
* @param FunctionEntity
*/
public function setDatabaseFunction(FunctionEntity $databaseFunction)
{
$this->databaseFunction = $databaseFunction;
}
/**
* @return FunctionEntity
*/
public function getDatabaseFunction()
{
return $this->databaseFunction;
}
/**
* @param PackageEntity
*/
public function setDatabasePackage(PackageEntity $databasePackage)
{
$this->databasePackage = $databasePackage;
}
/**
* @return PackageEntity
*/
public function getDatabasePackage()
{
return $this->databasePackage;
}
/**
* @param EntityDdl[]
*/
public function setEntityDdl($entityDdl)
{
$this->entityDdl = $entityDdl;
}
/**
* @return EntityDdl[]
*/
public function getEntityDdl()
{
return $this->entityDdl;
}
/**
* @param string
*/
public function setEntityType($entityType)
{
$this->entityType = $entityType;
}
/**
* @return string
*/
public function getEntityType()
{
return $this->entityType;
}
/**
* @param EntityIssue[]
*/
public function setIssues($issues)
{
$this->issues = $issues;
}
/**
* @return EntityIssue[]
*/
public function getIssues()
{
return $this->issues;
}
/**
* @param EntityMapping[]
*/
public function setMappings($mappings)
{
$this->mappings = $mappings;
}
/**
* @return EntityMapping[]
*/
public function getMappings()
{
return $this->mappings;
}
/**
* @param MaterializedViewEntity
*/
public function setMaterializedView(MaterializedViewEntity $materializedView)
{
$this->materializedView = $materializedView;
}
/**
* @return MaterializedViewEntity
*/
public function getMaterializedView()
{
return $this->materializedView;
}
/**
* @param string
*/
public function setParentEntity($parentEntity)
{
$this->parentEntity = $parentEntity;
}
/**
* @return string
*/
public function getParentEntity()
{
return $this->parentEntity;
}
/**
* @param SchemaEntity
*/
public function setSchema(SchemaEntity $schema)
{
$this->schema = $schema;
}
/**
* @return SchemaEntity
*/
public function getSchema()
{
return $this->schema;
}
/**
* @param SequenceEntity
*/
public function setSequence(SequenceEntity $sequence)
{
$this->sequence = $sequence;
}
/**
* @return SequenceEntity
*/
public function getSequence()
{
return $this->sequence;
}
/**
* @param string
*/
public function setShortName($shortName)
{
$this->shortName = $shortName;
}
/**
* @return string
*/
public function getShortName()
{
return $this->shortName;
}
/**
* @param StoredProcedureEntity
*/
public function setStoredProcedure(StoredProcedureEntity $storedProcedure)
{
$this->storedProcedure = $storedProcedure;
}
/**
* @return StoredProcedureEntity
*/
public function getStoredProcedure()
{
return $this->storedProcedure;
}
/**
* @param SynonymEntity
*/
public function setSynonym(SynonymEntity $synonym)
{
$this->synonym = $synonym;
}
/**
* @return SynonymEntity
*/
public function getSynonym()
{
return $this->synonym;
}
/**
* @param TableEntity
*/
public function setTable(TableEntity $table)
{
$this->table = $table;
}
/**
* @return TableEntity
*/
public function getTable()
{
return $this->table;
}
/**
* @param string
*/
public function setTree($tree)
{
$this->tree = $tree;
}
/**
* @return string
*/
public function getTree()
{
return $this->tree;
}
/**
* @param UDTEntity
*/
public function setUdt(UDTEntity $udt)
{
$this->udt = $udt;
}
/**
* @return UDTEntity
*/
public function getUdt()
{
return $this->udt;
}
/**
* @param ViewEntity
*/
public function setView(ViewEntity $view)
{
$this->view = $view;
}
/**
* @return ViewEntity
*/
public function getView()
{
return $this->view;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseEntity::class, 'Google_Service_DatabaseMigrationService_DatabaseEntity');

View File

@@ -0,0 +1,44 @@
<?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 DatabaseInstanceEntity extends \Google\Model
{
/**
* @var array[]
*/
public $customFeatures;
/**
* @param array[]
*/
public function setCustomFeatures($customFeatures)
{
$this->customFeatures = $customFeatures;
}
/**
* @return array[]
*/
public function getCustomFeatures()
{
return $this->customFeatures;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseInstanceEntity::class, 'Google_Service_DatabaseMigrationService_DatabaseInstanceEntity');

View File

@@ -0,0 +1,62 @@
<?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 DatabaseType extends \Google\Model
{
/**
* @var string
*/
public $engine;
/**
* @var string
*/
public $provider;
/**
* @param string
*/
public function setEngine($engine)
{
$this->engine = $engine;
}
/**
* @return string
*/
public function getEngine()
{
return $this->engine;
}
/**
* @param string
*/
public function setProvider($provider)
{
$this->provider = $provider;
}
/**
* @return string
*/
public function getProvider()
{
return $this->provider;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseType::class, 'Google_Service_DatabaseMigrationService_DatabaseType');

View File

@@ -0,0 +1,25 @@
<?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 DatamigrationEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatamigrationEmpty::class, 'Google_Service_DatabaseMigrationService_DatamigrationEmpty');

View File

@@ -0,0 +1,25 @@
<?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 DemoteDestinationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DemoteDestinationRequest::class, 'Google_Service_DatabaseMigrationService_DemoteDestinationRequest');

View File

@@ -0,0 +1,43 @@
<?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 DescribeConversionWorkspaceRevisionsResponse extends \Google\Collection
{
protected $collection_key = 'revisions';
protected $revisionsType = ConversionWorkspace::class;
protected $revisionsDataType = 'array';
/**
* @param ConversionWorkspace[]
*/
public function setRevisions($revisions)
{
$this->revisions = $revisions;
}
/**
* @return ConversionWorkspace[]
*/
public function getRevisions()
{
return $this->revisions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DescribeConversionWorkspaceRevisionsResponse::class, 'Google_Service_DatabaseMigrationService_DescribeConversionWorkspaceRevisionsResponse');

View File

@@ -0,0 +1,61 @@
<?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 DescribeDatabaseEntitiesResponse extends \Google\Collection
{
protected $collection_key = 'databaseEntities';
protected $databaseEntitiesType = DatabaseEntity::class;
protected $databaseEntitiesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param DatabaseEntity[]
*/
public function setDatabaseEntities($databaseEntities)
{
$this->databaseEntities = $databaseEntities;
}
/**
* @return DatabaseEntity[]
*/
public function getDatabaseEntities()
{
return $this->databaseEntities;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DescribeDatabaseEntitiesResponse::class, 'Google_Service_DatabaseMigrationService_DescribeDatabaseEntitiesResponse');

View File

@@ -0,0 +1,53 @@
<?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 DoubleComparisonFilter extends \Google\Model
{
public $value;
/**
* @var string
*/
public $valueComparison;
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
/**
* @param string
*/
public function setValueComparison($valueComparison)
{
$this->valueComparison = $valueComparison;
}
/**
* @return string
*/
public function getValueComparison()
{
return $this->valueComparison;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DoubleComparisonFilter::class, 'Google_Service_DatabaseMigrationService_DoubleComparisonFilter');

View File

@@ -0,0 +1,62 @@
<?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 DumpFlag extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DumpFlag::class, 'Google_Service_DatabaseMigrationService_DumpFlag');

View File

@@ -0,0 +1,43 @@
<?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 DumpFlags extends \Google\Collection
{
protected $collection_key = 'dumpFlags';
protected $dumpFlagsType = DumpFlag::class;
protected $dumpFlagsDataType = 'array';
/**
* @param DumpFlag[]
*/
public function setDumpFlags($dumpFlags)
{
$this->dumpFlags = $dumpFlags;
}
/**
* @return DumpFlag[]
*/
public function getDumpFlags()
{
return $this->dumpFlags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DumpFlags::class, 'Google_Service_DatabaseMigrationService_DumpFlags');

View File

@@ -0,0 +1,44 @@
<?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 EncryptionConfig extends \Google\Model
{
/**
* @var string
*/
public $kmsKeyName;
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EncryptionConfig::class, 'Google_Service_DatabaseMigrationService_EncryptionConfig');

View File

@@ -0,0 +1,117 @@
<?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 EntityDdl extends \Google\Collection
{
protected $collection_key = 'issueId';
/**
* @var string
*/
public $ddl;
/**
* @var string
*/
public $ddlType;
/**
* @var string
*/
public $entity;
/**
* @var string
*/
public $entityType;
/**
* @var string[]
*/
public $issueId;
/**
* @param string
*/
public function setDdl($ddl)
{
$this->ddl = $ddl;
}
/**
* @return string
*/
public function getDdl()
{
return $this->ddl;
}
/**
* @param string
*/
public function setDdlType($ddlType)
{
$this->ddlType = $ddlType;
}
/**
* @return string
*/
public function getDdlType()
{
return $this->ddlType;
}
/**
* @param string
*/
public function setEntity($entity)
{
$this->entity = $entity;
}
/**
* @return string
*/
public function getEntity()
{
return $this->entity;
}
/**
* @param string
*/
public function setEntityType($entityType)
{
$this->entityType = $entityType;
}
/**
* @return string
*/
public function getEntityType()
{
return $this->entityType;
}
/**
* @param string[]
*/
public function setIssueId($issueId)
{
$this->issueId = $issueId;
}
/**
* @return string[]
*/
public function getIssueId()
{
return $this->issueId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EntityDdl::class, 'Google_Service_DatabaseMigrationService_EntityDdl');

View File

@@ -0,0 +1,168 @@
<?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 EntityIssue extends \Google\Model
{
/**
* @var string
*/
public $code;
/**
* @var string
*/
public $ddl;
/**
* @var string
*/
public $entityType;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $message;
protected $positionType = Position::class;
protected $positionDataType = '';
/**
* @var string
*/
public $severity;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param string
*/
public function setDdl($ddl)
{
$this->ddl = $ddl;
}
/**
* @return string
*/
public function getDdl()
{
return $this->ddl;
}
/**
* @param string
*/
public function setEntityType($entityType)
{
$this->entityType = $entityType;
}
/**
* @return string
*/
public function getEntityType()
{
return $this->entityType;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param Position
*/
public function setPosition(Position $position)
{
$this->position = $position;
}
/**
* @return Position
*/
public function getPosition()
{
return $this->position;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EntityIssue::class, 'Google_Service_DatabaseMigrationService_EntityIssue');

View File

@@ -0,0 +1,115 @@
<?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 EntityMapping extends \Google\Collection
{
protected $collection_key = 'mappingLog';
/**
* @var string
*/
public $draftEntity;
/**
* @var string
*/
public $draftType;
protected $mappingLogType = EntityMappingLogEntry::class;
protected $mappingLogDataType = 'array';
/**
* @var string
*/
public $sourceEntity;
/**
* @var string
*/
public $sourceType;
/**
* @param string
*/
public function setDraftEntity($draftEntity)
{
$this->draftEntity = $draftEntity;
}
/**
* @return string
*/
public function getDraftEntity()
{
return $this->draftEntity;
}
/**
* @param string
*/
public function setDraftType($draftType)
{
$this->draftType = $draftType;
}
/**
* @return string
*/
public function getDraftType()
{
return $this->draftType;
}
/**
* @param EntityMappingLogEntry[]
*/
public function setMappingLog($mappingLog)
{
$this->mappingLog = $mappingLog;
}
/**
* @return EntityMappingLogEntry[]
*/
public function getMappingLog()
{
return $this->mappingLog;
}
/**
* @param string
*/
public function setSourceEntity($sourceEntity)
{
$this->sourceEntity = $sourceEntity;
}
/**
* @return string
*/
public function getSourceEntity()
{
return $this->sourceEntity;
}
/**
* @param string
*/
public function setSourceType($sourceType)
{
$this->sourceType = $sourceType;
}
/**
* @return string
*/
public function getSourceType()
{
return $this->sourceType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EntityMapping::class, 'Google_Service_DatabaseMigrationService_EntityMapping');

View File

@@ -0,0 +1,80 @@
<?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 EntityMappingLogEntry extends \Google\Model
{
/**
* @var string
*/
public $mappingComment;
/**
* @var string
*/
public $ruleId;
/**
* @var string
*/
public $ruleRevisionId;
/**
* @param string
*/
public function setMappingComment($mappingComment)
{
$this->mappingComment = $mappingComment;
}
/**
* @return string
*/
public function getMappingComment()
{
return $this->mappingComment;
}
/**
* @param string
*/
public function setRuleId($ruleId)
{
$this->ruleId = $ruleId;
}
/**
* @return string
*/
public function getRuleId()
{
return $this->ruleId;
}
/**
* @param string
*/
public function setRuleRevisionId($ruleRevisionId)
{
$this->ruleRevisionId = $ruleRevisionId;
}
/**
* @return string
*/
public function getRuleRevisionId()
{
return $this->ruleRevisionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EntityMappingLogEntry::class, 'Google_Service_DatabaseMigrationService_EntityMappingLogEntry');

View File

@@ -0,0 +1,44 @@
<?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 EntityMove extends \Google\Model
{
/**
* @var string
*/
public $newSchema;
/**
* @param string
*/
public function setNewSchema($newSchema)
{
$this->newSchema = $newSchema;
}
/**
* @return string
*/
public function getNewSchema()
{
return $this->newSchema;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EntityMove::class, 'Google_Service_DatabaseMigrationService_EntityMove');

View File

@@ -0,0 +1,98 @@
<?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 Expr extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Expr::class, 'Google_Service_DatabaseMigrationService_Expr');

View File

@@ -0,0 +1,63 @@
<?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 FetchStaticIpsResponse extends \Google\Collection
{
protected $collection_key = 'staticIps';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $staticIps;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setStaticIps($staticIps)
{
$this->staticIps = $staticIps;
}
/**
* @return string[]
*/
public function getStaticIps()
{
return $this->staticIps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchStaticIpsResponse::class, 'Google_Service_DatabaseMigrationService_FetchStaticIpsResponse');

View File

@@ -0,0 +1,63 @@
<?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 FilterTableColumns extends \Google\Collection
{
protected $collection_key = 'includeColumns';
/**
* @var string[]
*/
public $excludeColumns;
/**
* @var string[]
*/
public $includeColumns;
/**
* @param string[]
*/
public function setExcludeColumns($excludeColumns)
{
$this->excludeColumns = $excludeColumns;
}
/**
* @return string[]
*/
public function getExcludeColumns()
{
return $this->excludeColumns;
}
/**
* @param string[]
*/
public function setIncludeColumns($includeColumns)
{
$this->includeColumns = $includeColumns;
}
/**
* @return string[]
*/
public function getIncludeColumns()
{
return $this->includeColumns;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FilterTableColumns::class, 'Google_Service_DatabaseMigrationService_FilterTableColumns');

View File

@@ -0,0 +1,116 @@
<?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 ForwardSshTunnelConnectivity extends \Google\Model
{
/**
* @var string
*/
public $hostname;
/**
* @var string
*/
public $password;
/**
* @var int
*/
public $port;
/**
* @var string
*/
public $privateKey;
/**
* @var string
*/
public $username;
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @param string
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* @param string
*/
public function setPrivateKey($privateKey)
{
$this->privateKey = $privateKey;
}
/**
* @return string
*/
public function getPrivateKey()
{
return $this->privateKey;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ForwardSshTunnelConnectivity::class, 'Google_Service_DatabaseMigrationService_ForwardSshTunnelConnectivity');

View File

@@ -0,0 +1,62 @@
<?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 FunctionEntity extends \Google\Model
{
/**
* @var array[]
*/
public $customFeatures;
/**
* @var string
*/
public $sqlCode;
/**
* @param array[]
*/
public function setCustomFeatures($customFeatures)
{
$this->customFeatures = $customFeatures;
}
/**
* @return array[]
*/
public function getCustomFeatures()
{
return $this->customFeatures;
}
/**
* @param string
*/
public function setSqlCode($sqlCode)
{
$this->sqlCode = $sqlCode;
}
/**
* @return string
*/
public function getSqlCode()
{
return $this->sqlCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FunctionEntity::class, 'Google_Service_DatabaseMigrationService_FunctionEntity');

View File

@@ -0,0 +1,94 @@
<?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 GenerateSshScriptRequest extends \Google\Model
{
/**
* @var string
*/
public $vm;
protected $vmCreationConfigType = VmCreationConfig::class;
protected $vmCreationConfigDataType = '';
/**
* @var int
*/
public $vmPort;
protected $vmSelectionConfigType = VmSelectionConfig::class;
protected $vmSelectionConfigDataType = '';
/**
* @param string
*/
public function setVm($vm)
{
$this->vm = $vm;
}
/**
* @return string
*/
public function getVm()
{
return $this->vm;
}
/**
* @param VmCreationConfig
*/
public function setVmCreationConfig(VmCreationConfig $vmCreationConfig)
{
$this->vmCreationConfig = $vmCreationConfig;
}
/**
* @return VmCreationConfig
*/
public function getVmCreationConfig()
{
return $this->vmCreationConfig;
}
/**
* @param int
*/
public function setVmPort($vmPort)
{
$this->vmPort = $vmPort;
}
/**
* @return int
*/
public function getVmPort()
{
return $this->vmPort;
}
/**
* @param VmSelectionConfig
*/
public function setVmSelectionConfig(VmSelectionConfig $vmSelectionConfig)
{
$this->vmSelectionConfig = $vmSelectionConfig;
}
/**
* @return VmSelectionConfig
*/
public function getVmSelectionConfig()
{
return $this->vmSelectionConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateSshScriptRequest::class, 'Google_Service_DatabaseMigrationService_GenerateSshScriptRequest');

View File

@@ -0,0 +1,98 @@
<?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 GenerateTcpProxyScriptRequest extends \Google\Model
{
/**
* @var string
*/
public $vmMachineType;
/**
* @var string
*/
public $vmName;
/**
* @var string
*/
public $vmSubnet;
/**
* @var string
*/
public $vmZone;
/**
* @param string
*/
public function setVmMachineType($vmMachineType)
{
$this->vmMachineType = $vmMachineType;
}
/**
* @return string
*/
public function getVmMachineType()
{
return $this->vmMachineType;
}
/**
* @param string
*/
public function setVmName($vmName)
{
$this->vmName = $vmName;
}
/**
* @return string
*/
public function getVmName()
{
return $this->vmName;
}
/**
* @param string
*/
public function setVmSubnet($vmSubnet)
{
$this->vmSubnet = $vmSubnet;
}
/**
* @return string
*/
public function getVmSubnet()
{
return $this->vmSubnet;
}
/**
* @param string
*/
public function setVmZone($vmZone)
{
$this->vmZone = $vmZone;
}
/**
* @return string
*/
public function getVmZone()
{
return $this->vmZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateTcpProxyScriptRequest::class, 'Google_Service_DatabaseMigrationService_GenerateTcpProxyScriptRequest');

View File

@@ -0,0 +1,152 @@
<?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 GoogleCloudClouddmsV1OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var bool
*/
public $requestedCancellation;
/**
* @var string
*/
public $statusMessage;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param bool
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudClouddmsV1OperationMetadata::class, 'Google_Service_DatabaseMigrationService_GoogleCloudClouddmsV1OperationMetadata');

View File

@@ -0,0 +1,79 @@
<?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 ImportMappingRulesRequest extends \Google\Collection
{
protected $collection_key = 'rulesFiles';
/**
* @var bool
*/
public $autoCommit;
protected $rulesFilesType = RulesFile::class;
protected $rulesFilesDataType = 'array';
/**
* @var string
*/
public $rulesFormat;
/**
* @param bool
*/
public function setAutoCommit($autoCommit)
{
$this->autoCommit = $autoCommit;
}
/**
* @return bool
*/
public function getAutoCommit()
{
return $this->autoCommit;
}
/**
* @param RulesFile[]
*/
public function setRulesFiles($rulesFiles)
{
$this->rulesFiles = $rulesFiles;
}
/**
* @return RulesFile[]
*/
public function getRulesFiles()
{
return $this->rulesFiles;
}
/**
* @param string
*/
public function setRulesFormat($rulesFormat)
{
$this->rulesFormat = $rulesFormat;
}
/**
* @return string
*/
public function getRulesFormat()
{
return $this->rulesFormat;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImportMappingRulesRequest::class, 'Google_Service_DatabaseMigrationService_ImportMappingRulesRequest');

View File

@@ -0,0 +1,63 @@
<?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 ImportRulesJobDetails extends \Google\Collection
{
protected $collection_key = 'files';
/**
* @var string
*/
public $fileFormat;
/**
* @var string[]
*/
public $files;
/**
* @param string
*/
public function setFileFormat($fileFormat)
{
$this->fileFormat = $fileFormat;
}
/**
* @return string
*/
public function getFileFormat()
{
return $this->fileFormat;
}
/**
* @param string[]
*/
public function setFiles($files)
{
$this->files = $files;
}
/**
* @return string[]
*/
public function getFiles()
{
return $this->files;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImportRulesJobDetails::class, 'Google_Service_DatabaseMigrationService_ImportRulesJobDetails');

View File

@@ -0,0 +1,135 @@
<?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 IndexEntity extends \Google\Collection
{
protected $collection_key = 'tableColumnsDescending';
/**
* @var array[]
*/
public $customFeatures;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $tableColumns;
/**
* @var bool[]
*/
public $tableColumnsDescending;
/**
* @var string
*/
public $type;
/**
* @var bool
*/
public $unique;
/**
* @param array[]
*/
public function setCustomFeatures($customFeatures)
{
$this->customFeatures = $customFeatures;
}
/**
* @return array[]
*/
public function getCustomFeatures()
{
return $this->customFeatures;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setTableColumns($tableColumns)
{
$this->tableColumns = $tableColumns;
}
/**
* @return string[]
*/
public function getTableColumns()
{
return $this->tableColumns;
}
/**
* @param bool[]
*/
public function setTableColumnsDescending($tableColumnsDescending)
{
$this->tableColumnsDescending = $tableColumnsDescending;
}
/**
* @return bool[]
*/
public function getTableColumnsDescending()
{
return $this->tableColumnsDescending;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param bool
*/
public function setUnique($unique)
{
$this->unique = $unique;
}
/**
* @return bool
*/
public function getUnique()
{
return $this->unique;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IndexEntity::class, 'Google_Service_DatabaseMigrationService_IndexEntity');

View File

@@ -0,0 +1,79 @@
<?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 InstanceNetworkConfig extends \Google\Collection
{
protected $collection_key = 'authorizedExternalNetworks';
protected $authorizedExternalNetworksType = AuthorizedNetwork::class;
protected $authorizedExternalNetworksDataType = 'array';
/**
* @var bool
*/
public $enableOutboundPublicIp;
/**
* @var bool
*/
public $enablePublicIp;
/**
* @param AuthorizedNetwork[]
*/
public function setAuthorizedExternalNetworks($authorizedExternalNetworks)
{
$this->authorizedExternalNetworks = $authorizedExternalNetworks;
}
/**
* @return AuthorizedNetwork[]
*/
public function getAuthorizedExternalNetworks()
{
return $this->authorizedExternalNetworks;
}
/**
* @param bool
*/
public function setEnableOutboundPublicIp($enableOutboundPublicIp)
{
$this->enableOutboundPublicIp = $enableOutboundPublicIp;
}
/**
* @return bool
*/
public function getEnableOutboundPublicIp()
{
return $this->enableOutboundPublicIp;
}
/**
* @param bool
*/
public function setEnablePublicIp($enablePublicIp)
{
$this->enablePublicIp = $enablePublicIp;
}
/**
* @return bool
*/
public function getEnablePublicIp()
{
return $this->enablePublicIp;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstanceNetworkConfig::class, 'Google_Service_DatabaseMigrationService_InstanceNetworkConfig');

View File

@@ -0,0 +1,62 @@
<?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 IntComparisonFilter extends \Google\Model
{
/**
* @var string
*/
public $value;
/**
* @var string
*/
public $valueComparison;
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
/**
* @param string
*/
public function setValueComparison($valueComparison)
{
$this->valueComparison = $valueComparison;
}
/**
* @return string
*/
public function getValueComparison()
{
return $this->valueComparison;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IntComparisonFilter::class, 'Google_Service_DatabaseMigrationService_IntComparisonFilter');

View File

@@ -0,0 +1,79 @@
<?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 ListConnectionProfilesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $connectionProfilesType = ConnectionProfile::class;
protected $connectionProfilesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param ConnectionProfile[]
*/
public function setConnectionProfiles($connectionProfiles)
{
$this->connectionProfiles = $connectionProfiles;
}
/**
* @return ConnectionProfile[]
*/
public function getConnectionProfiles()
{
return $this->connectionProfiles;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListConnectionProfilesResponse::class, 'Google_Service_DatabaseMigrationService_ListConnectionProfilesResponse');

View File

@@ -0,0 +1,79 @@
<?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 ListConversionWorkspacesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $conversionWorkspacesType = ConversionWorkspace::class;
protected $conversionWorkspacesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param ConversionWorkspace[]
*/
public function setConversionWorkspaces($conversionWorkspaces)
{
$this->conversionWorkspaces = $conversionWorkspaces;
}
/**
* @return ConversionWorkspace[]
*/
public function getConversionWorkspaces()
{
return $this->conversionWorkspaces;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListConversionWorkspacesResponse::class, 'Google_Service_DatabaseMigrationService_ListConversionWorkspacesResponse');

View File

@@ -0,0 +1,61 @@
<?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 ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_DatabaseMigrationService_ListLocationsResponse');

View File

@@ -0,0 +1,61 @@
<?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 ListMappingRulesResponse extends \Google\Collection
{
protected $collection_key = 'mappingRules';
protected $mappingRulesType = MappingRule::class;
protected $mappingRulesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param MappingRule[]
*/
public function setMappingRules($mappingRules)
{
$this->mappingRules = $mappingRules;
}
/**
* @return MappingRule[]
*/
public function getMappingRules()
{
return $this->mappingRules;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListMappingRulesResponse::class, 'Google_Service_DatabaseMigrationService_ListMappingRulesResponse');

View File

@@ -0,0 +1,61 @@
<?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 ListMigrationJobObjectsResponse extends \Google\Collection
{
protected $collection_key = 'migrationJobObjects';
protected $migrationJobObjectsType = MigrationJobObject::class;
protected $migrationJobObjectsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param MigrationJobObject[]
*/
public function setMigrationJobObjects($migrationJobObjects)
{
$this->migrationJobObjects = $migrationJobObjects;
}
/**
* @return MigrationJobObject[]
*/
public function getMigrationJobObjects()
{
return $this->migrationJobObjects;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListMigrationJobObjectsResponse::class, 'Google_Service_DatabaseMigrationService_ListMigrationJobObjectsResponse');

View File

@@ -0,0 +1,79 @@
<?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 ListMigrationJobsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $migrationJobsType = MigrationJob::class;
protected $migrationJobsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param MigrationJob[]
*/
public function setMigrationJobs($migrationJobs)
{
$this->migrationJobs = $migrationJobs;
}
/**
* @return MigrationJob[]
*/
public function getMigrationJobs()
{
return $this->migrationJobs;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListMigrationJobsResponse::class, 'Google_Service_DatabaseMigrationService_ListMigrationJobsResponse');

View File

@@ -0,0 +1,61 @@
<?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 ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_DatabaseMigrationService_ListOperationsResponse');

View File

@@ -0,0 +1,79 @@
<?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 ListPrivateConnectionsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $privateConnectionsType = PrivateConnection::class;
protected $privateConnectionsDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param PrivateConnection[]
*/
public function setPrivateConnections($privateConnections)
{
$this->privateConnections = $privateConnections;
}
/**
* @return PrivateConnection[]
*/
public function getPrivateConnections()
{
return $this->privateConnections;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPrivateConnectionsResponse::class, 'Google_Service_DatabaseMigrationService_ListPrivateConnectionsResponse');

View File

@@ -0,0 +1,116 @@
<?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 Location extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $locationId;
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_DatabaseMigrationService_Location');

View File

@@ -0,0 +1,62 @@
<?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 LogFileDirectories extends \Google\Model
{
/**
* @var string
*/
public $archivedLogDirectory;
/**
* @var string
*/
public $onlineLogDirectory;
/**
* @param string
*/
public function setArchivedLogDirectory($archivedLogDirectory)
{
$this->archivedLogDirectory = $archivedLogDirectory;
}
/**
* @return string
*/
public function getArchivedLogDirectory()
{
return $this->archivedLogDirectory;
}
/**
* @param string
*/
public function setOnlineLogDirectory($onlineLogDirectory)
{
$this->onlineLogDirectory = $onlineLogDirectory;
}
/**
* @return string
*/
public function getOnlineLogDirectory()
{
return $this->onlineLogDirectory;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LogFileDirectories::class, 'Google_Service_DatabaseMigrationService_LogFileDirectories');

View File

@@ -0,0 +1,25 @@
<?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 LogMiner extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LogMiner::class, 'Google_Service_DatabaseMigrationService_LogMiner');

View File

@@ -0,0 +1,42 @@
<?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 LookupMigrationJobObjectRequest extends \Google\Model
{
protected $sourceObjectIdentifierType = SourceObjectIdentifier::class;
protected $sourceObjectIdentifierDataType = '';
/**
* @param SourceObjectIdentifier
*/
public function setSourceObjectIdentifier(SourceObjectIdentifier $sourceObjectIdentifier)
{
$this->sourceObjectIdentifier = $sourceObjectIdentifier;
}
/**
* @return SourceObjectIdentifier
*/
public function getSourceObjectIdentifier()
{
return $this->sourceObjectIdentifier;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LookupMigrationJobObjectRequest::class, 'Google_Service_DatabaseMigrationService_LookupMigrationJobObjectRequest');

View File

@@ -0,0 +1,44 @@
<?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 MachineConfig extends \Google\Model
{
/**
* @var int
*/
public $cpuCount;
/**
* @param int
*/
public function setCpuCount($cpuCount)
{
$this->cpuCount = $cpuCount;
}
/**
* @return int
*/
public function getCpuCount()
{
return $this->cpuCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MachineConfig::class, 'Google_Service_DatabaseMigrationService_MachineConfig');

View File

@@ -0,0 +1,344 @@
<?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
{
protected $conditionalColumnSetValueType = ConditionalColumnSetValue::class;
protected $conditionalColumnSetValueDataType = '';
protected $convertRowidColumnType = ConvertRowIdToColumn::class;
protected $convertRowidColumnDataType = '';
/**
* @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 = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $revisionCreateTime;
/**
* @var string
*/
public $revisionId;
/**
* @var string
*/
public $ruleOrder;
/**
* @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 = '';
/**
* @var string
*/
public $state;
/**
* @param ConditionalColumnSetValue
*/
public function setConditionalColumnSetValue(ConditionalColumnSetValue $conditionalColumnSetValue)
{
$this->conditionalColumnSetValue = $conditionalColumnSetValue;
}
/**
* @return ConditionalColumnSetValue
*/
public function getConditionalColumnSetValue()
{
return $this->conditionalColumnSetValue;
}
/**
* @param ConvertRowIdToColumn
*/
public function setConvertRowidColumn(ConvertRowIdToColumn $convertRowidColumn)
{
$this->convertRowidColumn = $convertRowidColumn;
}
/**
* @return ConvertRowIdToColumn
*/
public function getConvertRowidColumn()
{
return $this->convertRowidColumn;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param EntityMove
*/
public function setEntityMove(EntityMove $entityMove)
{
$this->entityMove = $entityMove;
}
/**
* @return EntityMove
*/
public function getEntityMove()
{
return $this->entityMove;
}
/**
* @param MappingRuleFilter
*/
public function setFilter(MappingRuleFilter $filter)
{
$this->filter = $filter;
}
/**
* @return MappingRuleFilter
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param FilterTableColumns
*/
public function setFilterTableColumns(FilterTableColumns $filterTableColumns)
{
$this->filterTableColumns = $filterTableColumns;
}
/**
* @return FilterTableColumns
*/
public function getFilterTableColumns()
{
return $this->filterTableColumns;
}
/**
* @param MultiColumnDatatypeChange
*/
public function setMultiColumnDataTypeChange(MultiColumnDatatypeChange $multiColumnDataTypeChange)
{
$this->multiColumnDataTypeChange = $multiColumnDataTypeChange;
}
/**
* @return MultiColumnDatatypeChange
*/
public function getMultiColumnDataTypeChange()
{
return $this->multiColumnDataTypeChange;
}
/**
* @param MultiEntityRename
*/
public function setMultiEntityRename(MultiEntityRename $multiEntityRename)
{
$this->multiEntityRename = $multiEntityRename;
}
/**
* @return MultiEntityRename
*/
public function getMultiEntityRename()
{
return $this->multiEntityRename;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setRevisionCreateTime($revisionCreateTime)
{
$this->revisionCreateTime = $revisionCreateTime;
}
/**
* @return string
*/
public function getRevisionCreateTime()
{
return $this->revisionCreateTime;
}
/**
* @param string
*/
public function setRevisionId($revisionId)
{
$this->revisionId = $revisionId;
}
/**
* @return string
*/
public function getRevisionId()
{
return $this->revisionId;
}
/**
* @param string
*/
public function setRuleOrder($ruleOrder)
{
$this->ruleOrder = $ruleOrder;
}
/**
* @return string
*/
public function getRuleOrder()
{
return $this->ruleOrder;
}
/**
* @param string
*/
public function setRuleScope($ruleScope)
{
$this->ruleScope = $ruleScope;
}
/**
* @return string
*/
public function getRuleScope()
{
return $this->ruleScope;
}
/**
* @param SetTablePrimaryKey
*/
public function setSetTablePrimaryKey(SetTablePrimaryKey $setTablePrimaryKey)
{
$this->setTablePrimaryKey = $setTablePrimaryKey;
}
/**
* @return SetTablePrimaryKey
*/
public function getSetTablePrimaryKey()
{
return $this->setTablePrimaryKey;
}
/**
* @param SingleColumnChange
*/
public function setSingleColumnChange(SingleColumnChange $singleColumnChange)
{
$this->singleColumnChange = $singleColumnChange;
}
/**
* @return SingleColumnChange
*/
public function getSingleColumnChange()
{
return $this->singleColumnChange;
}
/**
* @param SingleEntityRename
*/
public function setSingleEntityRename(SingleEntityRename $singleEntityRename)
{
$this->singleEntityRename = $singleEntityRename;
}
/**
* @return SingleEntityRename
*/
public function getSingleEntityRename()
{
return $this->singleEntityRename;
}
/**
* @param SinglePackageChange
*/
public function setSinglePackageChange(SinglePackageChange $singlePackageChange)
{
$this->singlePackageChange = $singlePackageChange;
}
/**
* @return SinglePackageChange
*/
public function getSinglePackageChange()
{
return $this->singlePackageChange;
}
/**
* @param SourceSqlChange
*/
public function setSourceSqlChange(SourceSqlChange $sourceSqlChange)
{
$this->sourceSqlChange = $sourceSqlChange;
}
/**
* @return SourceSqlChange
*/
public function getSourceSqlChange()
{
return $this->sourceSqlChange;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
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');

View File

@@ -0,0 +1,117 @@
<?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 MappingRuleFilter extends \Google\Collection
{
protected $collection_key = 'entities';
/**
* @var string[]
*/
public $entities;
/**
* @var string
*/
public $entityNameContains;
/**
* @var string
*/
public $entityNamePrefix;
/**
* @var string
*/
public $entityNameSuffix;
/**
* @var string
*/
public $parentEntity;
/**
* @param string[]
*/
public function setEntities($entities)
{
$this->entities = $entities;
}
/**
* @return string[]
*/
public function getEntities()
{
return $this->entities;
}
/**
* @param string
*/
public function setEntityNameContains($entityNameContains)
{
$this->entityNameContains = $entityNameContains;
}
/**
* @return string
*/
public function getEntityNameContains()
{
return $this->entityNameContains;
}
/**
* @param string
*/
public function setEntityNamePrefix($entityNamePrefix)
{
$this->entityNamePrefix = $entityNamePrefix;
}
/**
* @return string
*/
public function getEntityNamePrefix()
{
return $this->entityNamePrefix;
}
/**
* @param string
*/
public function setEntityNameSuffix($entityNameSuffix)
{
$this->entityNameSuffix = $entityNameSuffix;
}
/**
* @return string
*/
public function getEntityNameSuffix()
{
return $this->entityNameSuffix;
}
/**
* @param string
*/
public function setParentEntity($parentEntity)
{
$this->parentEntity = $parentEntity;
}
/**
* @return string
*/
public function getParentEntity()
{
return $this->parentEntity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MappingRuleFilter::class, 'Google_Service_DatabaseMigrationService_MappingRuleFilter');

View File

@@ -0,0 +1,79 @@
<?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 MaterializedViewEntity extends \Google\Collection
{
protected $collection_key = 'indices';
/**
* @var array[]
*/
public $customFeatures;
protected $indicesType = IndexEntity::class;
protected $indicesDataType = 'array';
/**
* @var string
*/
public $sqlCode;
/**
* @param array[]
*/
public function setCustomFeatures($customFeatures)
{
$this->customFeatures = $customFeatures;
}
/**
* @return array[]
*/
public function getCustomFeatures()
{
return $this->customFeatures;
}
/**
* @param IndexEntity[]
*/
public function setIndices($indices)
{
$this->indices = $indices;
}
/**
* @return IndexEntity[]
*/
public function getIndices()
{
return $this->indices;
}
/**
* @param string
*/
public function setSqlCode($sqlCode)
{
$this->sqlCode = $sqlCode;
}
/**
* @return string
*/
public function getSqlCode()
{
return $this->sqlCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MaterializedViewEntity::class, 'Google_Service_DatabaseMigrationService_MaterializedViewEntity');

View File

@@ -0,0 +1,506 @@
<?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 MigrationJob extends \Google\Model
{
/**
* @var string
*/
public $cmekKeyName;
protected $conversionWorkspaceType = ConversionWorkspaceInfo::class;
protected $conversionWorkspaceDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $destination;
protected $destinationDatabaseType = DatabaseType::class;
protected $destinationDatabaseDataType = '';
/**
* @var string
*/
public $displayName;
protected $dumpFlagsType = DumpFlags::class;
protected $dumpFlagsDataType = '';
/**
* @var string
*/
public $dumpPath;
/**
* @var string
*/
public $dumpType;
/**
* @var string
*/
public $duration;
/**
* @var string
*/
public $endTime;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var string
*/
public $filter;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $objectsConfigType = MigrationJobObjectsConfig::class;
protected $objectsConfigDataType = '';
protected $oracleToPostgresConfigType = OracleToPostgresConfig::class;
protected $oracleToPostgresConfigDataType = '';
protected $performanceConfigType = PerformanceConfig::class;
protected $performanceConfigDataType = '';
/**
* @var string
*/
public $phase;
protected $reverseSshConnectivityType = ReverseSshConnectivity::class;
protected $reverseSshConnectivityDataType = '';
/**
* @var string
*/
public $source;
protected $sourceDatabaseType = DatabaseType::class;
protected $sourceDatabaseDataType = '';
protected $sqlserverHomogeneousMigrationJobConfigType = SqlServerHomogeneousMigrationJobConfig::class;
protected $sqlserverHomogeneousMigrationJobConfigDataType = '';
/**
* @var string
*/
public $state;
protected $staticIpConnectivityType = StaticIpConnectivity::class;
protected $staticIpConnectivityDataType = '';
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $updateTime;
protected $vpcPeeringConnectivityType = VpcPeeringConnectivity::class;
protected $vpcPeeringConnectivityDataType = '';
/**
* @param string
*/
public function setCmekKeyName($cmekKeyName)
{
$this->cmekKeyName = $cmekKeyName;
}
/**
* @return string
*/
public function getCmekKeyName()
{
return $this->cmekKeyName;
}
/**
* @param ConversionWorkspaceInfo
*/
public function setConversionWorkspace(ConversionWorkspaceInfo $conversionWorkspace)
{
$this->conversionWorkspace = $conversionWorkspace;
}
/**
* @return ConversionWorkspaceInfo
*/
public function getConversionWorkspace()
{
return $this->conversionWorkspace;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDestination($destination)
{
$this->destination = $destination;
}
/**
* @return string
*/
public function getDestination()
{
return $this->destination;
}
/**
* @param DatabaseType
*/
public function setDestinationDatabase(DatabaseType $destinationDatabase)
{
$this->destinationDatabase = $destinationDatabase;
}
/**
* @return DatabaseType
*/
public function getDestinationDatabase()
{
return $this->destinationDatabase;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param DumpFlags
*/
public function setDumpFlags(DumpFlags $dumpFlags)
{
$this->dumpFlags = $dumpFlags;
}
/**
* @return DumpFlags
*/
public function getDumpFlags()
{
return $this->dumpFlags;
}
/**
* @param string
*/
public function setDumpPath($dumpPath)
{
$this->dumpPath = $dumpPath;
}
/**
* @return string
*/
public function getDumpPath()
{
return $this->dumpPath;
}
/**
* @param string
*/
public function setDumpType($dumpType)
{
$this->dumpType = $dumpType;
}
/**
* @return string
*/
public function getDumpType()
{
return $this->dumpType;
}
/**
* @param string
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param MigrationJobObjectsConfig
*/
public function setObjectsConfig(MigrationJobObjectsConfig $objectsConfig)
{
$this->objectsConfig = $objectsConfig;
}
/**
* @return MigrationJobObjectsConfig
*/
public function getObjectsConfig()
{
return $this->objectsConfig;
}
/**
* @param OracleToPostgresConfig
*/
public function setOracleToPostgresConfig(OracleToPostgresConfig $oracleToPostgresConfig)
{
$this->oracleToPostgresConfig = $oracleToPostgresConfig;
}
/**
* @return OracleToPostgresConfig
*/
public function getOracleToPostgresConfig()
{
return $this->oracleToPostgresConfig;
}
/**
* @param PerformanceConfig
*/
public function setPerformanceConfig(PerformanceConfig $performanceConfig)
{
$this->performanceConfig = $performanceConfig;
}
/**
* @return PerformanceConfig
*/
public function getPerformanceConfig()
{
return $this->performanceConfig;
}
/**
* @param string
*/
public function setPhase($phase)
{
$this->phase = $phase;
}
/**
* @return string
*/
public function getPhase()
{
return $this->phase;
}
/**
* @param ReverseSshConnectivity
*/
public function setReverseSshConnectivity(ReverseSshConnectivity $reverseSshConnectivity)
{
$this->reverseSshConnectivity = $reverseSshConnectivity;
}
/**
* @return ReverseSshConnectivity
*/
public function getReverseSshConnectivity()
{
return $this->reverseSshConnectivity;
}
/**
* @param string
*/
public function setSource($source)
{
$this->source = $source;
}
/**
* @return string
*/
public function getSource()
{
return $this->source;
}
/**
* @param DatabaseType
*/
public function setSourceDatabase(DatabaseType $sourceDatabase)
{
$this->sourceDatabase = $sourceDatabase;
}
/**
* @return DatabaseType
*/
public function getSourceDatabase()
{
return $this->sourceDatabase;
}
/**
* @param SqlServerHomogeneousMigrationJobConfig
*/
public function setSqlserverHomogeneousMigrationJobConfig(SqlServerHomogeneousMigrationJobConfig $sqlserverHomogeneousMigrationJobConfig)
{
$this->sqlserverHomogeneousMigrationJobConfig = $sqlserverHomogeneousMigrationJobConfig;
}
/**
* @return SqlServerHomogeneousMigrationJobConfig
*/
public function getSqlserverHomogeneousMigrationJobConfig()
{
return $this->sqlserverHomogeneousMigrationJobConfig;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param StaticIpConnectivity
*/
public function setStaticIpConnectivity(StaticIpConnectivity $staticIpConnectivity)
{
$this->staticIpConnectivity = $staticIpConnectivity;
}
/**
* @return StaticIpConnectivity
*/
public function getStaticIpConnectivity()
{
return $this->staticIpConnectivity;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param VpcPeeringConnectivity
*/
public function setVpcPeeringConnectivity(VpcPeeringConnectivity $vpcPeeringConnectivity)
{
$this->vpcPeeringConnectivity = $vpcPeeringConnectivity;
}
/**
* @return VpcPeeringConnectivity
*/
public function getVpcPeeringConnectivity()
{
return $this->vpcPeeringConnectivity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MigrationJob::class, 'Google_Service_DatabaseMigrationService_MigrationJob');

View File

@@ -0,0 +1,148 @@
<?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 MigrationJobObject extends \Google\Model
{
/**
* @var string
*/
public $createTime;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $phase;
protected $sourceObjectType = SourceObjectIdentifier::class;
protected $sourceObjectDataType = '';
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPhase($phase)
{
$this->phase = $phase;
}
/**
* @return string
*/
public function getPhase()
{
return $this->phase;
}
/**
* @param SourceObjectIdentifier
*/
public function setSourceObject(SourceObjectIdentifier $sourceObject)
{
$this->sourceObject = $sourceObject;
}
/**
* @return SourceObjectIdentifier
*/
public function getSourceObject()
{
return $this->sourceObject;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MigrationJobObject::class, 'Google_Service_DatabaseMigrationService_MigrationJobObject');

View File

@@ -0,0 +1,42 @@
<?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 MigrationJobObjectsConfig extends \Google\Model
{
protected $sourceObjectsConfigType = SourceObjectsConfig::class;
protected $sourceObjectsConfigDataType = '';
/**
* @param SourceObjectsConfig
*/
public function setSourceObjectsConfig(SourceObjectsConfig $sourceObjectsConfig)
{
$this->sourceObjectsConfig = $sourceObjectsConfig;
}
/**
* @return SourceObjectsConfig
*/
public function getSourceObjectsConfig()
{
return $this->sourceObjectsConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MigrationJobObjectsConfig::class, 'Google_Service_DatabaseMigrationService_MigrationJobObjectsConfig');

View File

@@ -0,0 +1,80 @@
<?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 MigrationJobVerificationError extends \Google\Model
{
/**
* @var string
*/
public $errorCode;
/**
* @var string
*/
public $errorDetailMessage;
/**
* @var string
*/
public $errorMessage;
/**
* @param string
*/
public function setErrorCode($errorCode)
{
$this->errorCode = $errorCode;
}
/**
* @return string
*/
public function getErrorCode()
{
return $this->errorCode;
}
/**
* @param string
*/
public function setErrorDetailMessage($errorDetailMessage)
{
$this->errorDetailMessage = $errorDetailMessage;
}
/**
* @return string
*/
public function getErrorDetailMessage()
{
return $this->errorDetailMessage;
}
/**
* @param string
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MigrationJobVerificationError::class, 'Google_Service_DatabaseMigrationService_MigrationJobVerificationError');

View File

@@ -0,0 +1,184 @@
<?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 MultiColumnDatatypeChange extends \Google\Model
{
/**
* @var array[]
*/
public $customFeatures;
/**
* @var string
*/
public $newDataType;
/**
* @var int
*/
public $overrideFractionalSecondsPrecision;
/**
* @var string
*/
public $overrideLength;
/**
* @var int
*/
public $overridePrecision;
/**
* @var int
*/
public $overrideScale;
/**
* @var string
*/
public $sourceDataTypeFilter;
protected $sourceNumericFilterType = SourceNumericFilter::class;
protected $sourceNumericFilterDataType = '';
protected $sourceTextFilterType = SourceTextFilter::class;
protected $sourceTextFilterDataType = '';
/**
* @param array[]
*/
public function setCustomFeatures($customFeatures)
{
$this->customFeatures = $customFeatures;
}
/**
* @return array[]
*/
public function getCustomFeatures()
{
return $this->customFeatures;
}
/**
* @param string
*/
public function setNewDataType($newDataType)
{
$this->newDataType = $newDataType;
}
/**
* @return string
*/
public function getNewDataType()
{
return $this->newDataType;
}
/**
* @param int
*/
public function setOverrideFractionalSecondsPrecision($overrideFractionalSecondsPrecision)
{
$this->overrideFractionalSecondsPrecision = $overrideFractionalSecondsPrecision;
}
/**
* @return int
*/
public function getOverrideFractionalSecondsPrecision()
{
return $this->overrideFractionalSecondsPrecision;
}
/**
* @param string
*/
public function setOverrideLength($overrideLength)
{
$this->overrideLength = $overrideLength;
}
/**
* @return string
*/
public function getOverrideLength()
{
return $this->overrideLength;
}
/**
* @param int
*/
public function setOverridePrecision($overridePrecision)
{
$this->overridePrecision = $overridePrecision;
}
/**
* @return int
*/
public function getOverridePrecision()
{
return $this->overridePrecision;
}
/**
* @param int
*/
public function setOverrideScale($overrideScale)
{
$this->overrideScale = $overrideScale;
}
/**
* @return int
*/
public function getOverrideScale()
{
return $this->overrideScale;
}
/**
* @param string
*/
public function setSourceDataTypeFilter($sourceDataTypeFilter)
{
$this->sourceDataTypeFilter = $sourceDataTypeFilter;
}
/**
* @return string
*/
public function getSourceDataTypeFilter()
{
return $this->sourceDataTypeFilter;
}
/**
* @param SourceNumericFilter
*/
public function setSourceNumericFilter(SourceNumericFilter $sourceNumericFilter)
{
$this->sourceNumericFilter = $sourceNumericFilter;
}
/**
* @return SourceNumericFilter
*/
public function getSourceNumericFilter()
{
return $this->sourceNumericFilter;
}
/**
* @param SourceTextFilter
*/
public function setSourceTextFilter(SourceTextFilter $sourceTextFilter)
{
$this->sourceTextFilter = $sourceTextFilter;
}
/**
* @return SourceTextFilter
*/
public function getSourceTextFilter()
{
return $this->sourceTextFilter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MultiColumnDatatypeChange::class, 'Google_Service_DatabaseMigrationService_MultiColumnDatatypeChange');

View File

@@ -0,0 +1,62 @@
<?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 MultiEntityRename extends \Google\Model
{
/**
* @var string
*/
public $newNamePattern;
/**
* @var string
*/
public $sourceNameTransformation;
/**
* @param string
*/
public function setNewNamePattern($newNamePattern)
{
$this->newNamePattern = $newNamePattern;
}
/**
* @return string
*/
public function getNewNamePattern()
{
return $this->newNamePattern;
}
/**
* @param string
*/
public function setSourceNameTransformation($sourceNameTransformation)
{
$this->sourceNameTransformation = $sourceNameTransformation;
}
/**
* @return string
*/
public function getSourceNameTransformation()
{
return $this->sourceNameTransformation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MultiEntityRename::class, 'Google_Service_DatabaseMigrationService_MultiEntityRename');

View File

@@ -0,0 +1,150 @@
<?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 MySqlConnectionProfile extends \Google\Model
{
/**
* @var string
*/
public $cloudSqlId;
/**
* @var string
*/
public $host;
/**
* @var string
*/
public $password;
/**
* @var bool
*/
public $passwordSet;
/**
* @var int
*/
public $port;
protected $sslType = SslConfig::class;
protected $sslDataType = '';
/**
* @var string
*/
public $username;
/**
* @param string
*/
public function setCloudSqlId($cloudSqlId)
{
$this->cloudSqlId = $cloudSqlId;
}
/**
* @return string
*/
public function getCloudSqlId()
{
return $this->cloudSqlId;
}
/**
* @param string
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* @param string
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* @param bool
*/
public function setPasswordSet($passwordSet)
{
$this->passwordSet = $passwordSet;
}
/**
* @return bool
*/
public function getPasswordSet()
{
return $this->passwordSet;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* @param SslConfig
*/
public function setSsl(SslConfig $ssl)
{
$this->ssl = $ssl;
}
/**
* @return SslConfig
*/
public function getSsl()
{
return $this->ssl;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MySqlConnectionProfile::class, 'Google_Service_DatabaseMigrationService_MySqlConnectionProfile');

View File

@@ -0,0 +1,114 @@
<?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 Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_DatabaseMigrationService_Operation');

View File

@@ -0,0 +1,150 @@
<?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 OracleAsmConfig extends \Google\Model
{
/**
* @var string
*/
public $asmService;
/**
* @var string
*/
public $hostname;
/**
* @var string
*/
public $password;
/**
* @var bool
*/
public $passwordSet;
/**
* @var int
*/
public $port;
protected $sslType = SslConfig::class;
protected $sslDataType = '';
/**
* @var string
*/
public $username;
/**
* @param string
*/
public function setAsmService($asmService)
{
$this->asmService = $asmService;
}
/**
* @return string
*/
public function getAsmService()
{
return $this->asmService;
}
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @param string
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* @param bool
*/
public function setPasswordSet($passwordSet)
{
$this->passwordSet = $passwordSet;
}
/**
* @return bool
*/
public function getPasswordSet()
{
return $this->passwordSet;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* @param SslConfig
*/
public function setSsl(SslConfig $ssl)
{
$this->ssl = $ssl;
}
/**
* @return SslConfig
*/
public function getSsl()
{
return $this->ssl;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleAsmConfig::class, 'Google_Service_DatabaseMigrationService_OracleAsmConfig');

View File

@@ -0,0 +1,25 @@
<?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 OracleAsmLogFileAccess extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleAsmLogFileAccess::class, 'Google_Service_DatabaseMigrationService_OracleAsmLogFileAccess');

View File

@@ -0,0 +1,214 @@
<?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 OracleConnectionProfile extends \Google\Model
{
/**
* @var string
*/
public $databaseService;
protected $forwardSshConnectivityType = ForwardSshTunnelConnectivity::class;
protected $forwardSshConnectivityDataType = '';
/**
* @var string
*/
public $host;
protected $oracleAsmConfigType = OracleAsmConfig::class;
protected $oracleAsmConfigDataType = '';
/**
* @var string
*/
public $password;
/**
* @var bool
*/
public $passwordSet;
/**
* @var int
*/
public $port;
protected $privateConnectivityType = PrivateConnectivity::class;
protected $privateConnectivityDataType = '';
protected $sslType = SslConfig::class;
protected $sslDataType = '';
protected $staticServiceIpConnectivityType = StaticServiceIpConnectivity::class;
protected $staticServiceIpConnectivityDataType = '';
/**
* @var string
*/
public $username;
/**
* @param string
*/
public function setDatabaseService($databaseService)
{
$this->databaseService = $databaseService;
}
/**
* @return string
*/
public function getDatabaseService()
{
return $this->databaseService;
}
/**
* @param ForwardSshTunnelConnectivity
*/
public function setForwardSshConnectivity(ForwardSshTunnelConnectivity $forwardSshConnectivity)
{
$this->forwardSshConnectivity = $forwardSshConnectivity;
}
/**
* @return ForwardSshTunnelConnectivity
*/
public function getForwardSshConnectivity()
{
return $this->forwardSshConnectivity;
}
/**
* @param string
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* @param OracleAsmConfig
*/
public function setOracleAsmConfig(OracleAsmConfig $oracleAsmConfig)
{
$this->oracleAsmConfig = $oracleAsmConfig;
}
/**
* @return OracleAsmConfig
*/
public function getOracleAsmConfig()
{
return $this->oracleAsmConfig;
}
/**
* @param string
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* @param bool
*/
public function setPasswordSet($passwordSet)
{
$this->passwordSet = $passwordSet;
}
/**
* @return bool
*/
public function getPasswordSet()
{
return $this->passwordSet;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* @param PrivateConnectivity
*/
public function setPrivateConnectivity(PrivateConnectivity $privateConnectivity)
{
$this->privateConnectivity = $privateConnectivity;
}
/**
* @return PrivateConnectivity
*/
public function getPrivateConnectivity()
{
return $this->privateConnectivity;
}
/**
* @param SslConfig
*/
public function setSsl(SslConfig $ssl)
{
$this->ssl = $ssl;
}
/**
* @return SslConfig
*/
public function getSsl()
{
return $this->ssl;
}
/**
* @param StaticServiceIpConnectivity
*/
public function setStaticServiceIpConnectivity(StaticServiceIpConnectivity $staticServiceIpConnectivity)
{
$this->staticServiceIpConnectivity = $staticServiceIpConnectivity;
}
/**
* @return StaticServiceIpConnectivity
*/
public function getStaticServiceIpConnectivity()
{
return $this->staticServiceIpConnectivity;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleConnectionProfile::class, 'Google_Service_DatabaseMigrationService_OracleConnectionProfile');

View File

@@ -0,0 +1,130 @@
<?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 OracleSourceConfig extends \Google\Model
{
protected $binaryLogParserType = BinaryLogParser::class;
protected $binaryLogParserDataType = '';
/**
* @var string
*/
public $cdcStartPosition;
protected $logMinerType = LogMiner::class;
protected $logMinerDataType = '';
/**
* @var int
*/
public $maxConcurrentCdcConnections;
/**
* @var int
*/
public $maxConcurrentFullDumpConnections;
/**
* @var bool
*/
public $skipFullDump;
/**
* @param BinaryLogParser
*/
public function setBinaryLogParser(BinaryLogParser $binaryLogParser)
{
$this->binaryLogParser = $binaryLogParser;
}
/**
* @return BinaryLogParser
*/
public function getBinaryLogParser()
{
return $this->binaryLogParser;
}
/**
* @param string
*/
public function setCdcStartPosition($cdcStartPosition)
{
$this->cdcStartPosition = $cdcStartPosition;
}
/**
* @return string
*/
public function getCdcStartPosition()
{
return $this->cdcStartPosition;
}
/**
* @param LogMiner
*/
public function setLogMiner(LogMiner $logMiner)
{
$this->logMiner = $logMiner;
}
/**
* @return LogMiner
*/
public function getLogMiner()
{
return $this->logMiner;
}
/**
* @param int
*/
public function setMaxConcurrentCdcConnections($maxConcurrentCdcConnections)
{
$this->maxConcurrentCdcConnections = $maxConcurrentCdcConnections;
}
/**
* @return int
*/
public function getMaxConcurrentCdcConnections()
{
return $this->maxConcurrentCdcConnections;
}
/**
* @param int
*/
public function setMaxConcurrentFullDumpConnections($maxConcurrentFullDumpConnections)
{
$this->maxConcurrentFullDumpConnections = $maxConcurrentFullDumpConnections;
}
/**
* @return int
*/
public function getMaxConcurrentFullDumpConnections()
{
return $this->maxConcurrentFullDumpConnections;
}
/**
* @param bool
*/
public function setSkipFullDump($skipFullDump)
{
$this->skipFullDump = $skipFullDump;
}
/**
* @return bool
*/
public function getSkipFullDump()
{
return $this->skipFullDump;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleSourceConfig::class, 'Google_Service_DatabaseMigrationService_OracleSourceConfig');

View File

@@ -0,0 +1,58 @@
<?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 OracleToPostgresConfig extends \Google\Model
{
protected $oracleSourceConfigType = OracleSourceConfig::class;
protected $oracleSourceConfigDataType = '';
protected $postgresDestinationConfigType = PostgresDestinationConfig::class;
protected $postgresDestinationConfigDataType = '';
/**
* @param OracleSourceConfig
*/
public function setOracleSourceConfig(OracleSourceConfig $oracleSourceConfig)
{
$this->oracleSourceConfig = $oracleSourceConfig;
}
/**
* @return OracleSourceConfig
*/
public function getOracleSourceConfig()
{
return $this->oracleSourceConfig;
}
/**
* @param PostgresDestinationConfig
*/
public function setPostgresDestinationConfig(PostgresDestinationConfig $postgresDestinationConfig)
{
$this->postgresDestinationConfig = $postgresDestinationConfig;
}
/**
* @return PostgresDestinationConfig
*/
public function getPostgresDestinationConfig()
{
return $this->postgresDestinationConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleToPostgresConfig::class, 'Google_Service_DatabaseMigrationService_OracleToPostgresConfig');

View File

@@ -0,0 +1,80 @@
<?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 PackageEntity extends \Google\Model
{
/**
* @var array[]
*/
public $customFeatures;
/**
* @var string
*/
public $packageBody;
/**
* @var string
*/
public $packageSqlCode;
/**
* @param array[]
*/
public function setCustomFeatures($customFeatures)
{
$this->customFeatures = $customFeatures;
}
/**
* @return array[]
*/
public function getCustomFeatures()
{
return $this->customFeatures;
}
/**
* @param string
*/
public function setPackageBody($packageBody)
{
$this->packageBody = $packageBody;
}
/**
* @return string
*/
public function getPackageBody()
{
return $this->packageBody;
}
/**
* @param string
*/
public function setPackageSqlCode($packageSqlCode)
{
$this->packageSqlCode = $packageSqlCode;
}
/**
* @return string
*/
public function getPackageSqlCode()
{
return $this->packageSqlCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PackageEntity::class, 'Google_Service_DatabaseMigrationService_PackageEntity');

View File

@@ -0,0 +1,44 @@
<?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 PerformanceConfig extends \Google\Model
{
/**
* @var string
*/
public $dumpParallelLevel;
/**
* @param string
*/
public function setDumpParallelLevel($dumpParallelLevel)
{
$this->dumpParallelLevel = $dumpParallelLevel;
}
/**
* @return string
*/
public function getDumpParallelLevel()
{
return $this->dumpParallelLevel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PerformanceConfig::class, 'Google_Service_DatabaseMigrationService_PerformanceConfig');

View File

@@ -0,0 +1,95 @@
<?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 Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $auditConfigsType = AuditConfig::class;
protected $auditConfigsDataType = 'array';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $version;
/**
* @param AuditConfig[]
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return AuditConfig[]
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* @param Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param int
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_DatabaseMigrationService_Policy');

View File

@@ -0,0 +1,98 @@
<?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 Position extends \Google\Model
{
/**
* @var int
*/
public $column;
/**
* @var int
*/
public $length;
/**
* @var int
*/
public $line;
/**
* @var int
*/
public $offset;
/**
* @param int
*/
public function setColumn($column)
{
$this->column = $column;
}
/**
* @return int
*/
public function getColumn()
{
return $this->column;
}
/**
* @param int
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return int
*/
public function getLength()
{
return $this->length;
}
/**
* @param int
*/
public function setLine($line)
{
$this->line = $line;
}
/**
* @return int
*/
public function getLine()
{
return $this->line;
}
/**
* @param int
*/
public function setOffset($offset)
{
$this->offset = $offset;
}
/**
* @return int
*/
public function getOffset()
{
return $this->offset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Position::class, 'Google_Service_DatabaseMigrationService_Position');

View File

@@ -0,0 +1,236 @@
<?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 PostgreSqlConnectionProfile extends \Google\Model
{
/**
* @var string
*/
public $alloydbClusterId;
/**
* @var string
*/
public $cloudSqlId;
/**
* @var string
*/
public $database;
/**
* @var string
*/
public $host;
/**
* @var string
*/
public $networkArchitecture;
/**
* @var string
*/
public $password;
/**
* @var bool
*/
public $passwordSet;
/**
* @var int
*/
public $port;
protected $privateServiceConnectConnectivityType = PrivateServiceConnectConnectivity::class;
protected $privateServiceConnectConnectivityDataType = '';
protected $sslType = SslConfig::class;
protected $sslDataType = '';
protected $staticIpConnectivityType = StaticIpConnectivity::class;
protected $staticIpConnectivityDataType = '';
/**
* @var string
*/
public $username;
/**
* @param string
*/
public function setAlloydbClusterId($alloydbClusterId)
{
$this->alloydbClusterId = $alloydbClusterId;
}
/**
* @return string
*/
public function getAlloydbClusterId()
{
return $this->alloydbClusterId;
}
/**
* @param string
*/
public function setCloudSqlId($cloudSqlId)
{
$this->cloudSqlId = $cloudSqlId;
}
/**
* @return string
*/
public function getCloudSqlId()
{
return $this->cloudSqlId;
}
/**
* @param string
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* @param string
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* @param string
*/
public function setNetworkArchitecture($networkArchitecture)
{
$this->networkArchitecture = $networkArchitecture;
}
/**
* @return string
*/
public function getNetworkArchitecture()
{
return $this->networkArchitecture;
}
/**
* @param string
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* @param bool
*/
public function setPasswordSet($passwordSet)
{
$this->passwordSet = $passwordSet;
}
/**
* @return bool
*/
public function getPasswordSet()
{
return $this->passwordSet;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* @param PrivateServiceConnectConnectivity
*/
public function setPrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity $privateServiceConnectConnectivity)
{
$this->privateServiceConnectConnectivity = $privateServiceConnectConnectivity;
}
/**
* @return PrivateServiceConnectConnectivity
*/
public function getPrivateServiceConnectConnectivity()
{
return $this->privateServiceConnectConnectivity;
}
/**
* @param SslConfig
*/
public function setSsl(SslConfig $ssl)
{
$this->ssl = $ssl;
}
/**
* @return SslConfig
*/
public function getSsl()
{
return $this->ssl;
}
/**
* @param StaticIpConnectivity
*/
public function setStaticIpConnectivity(StaticIpConnectivity $staticIpConnectivity)
{
$this->staticIpConnectivity = $staticIpConnectivity;
}
/**
* @return StaticIpConnectivity
*/
public function getStaticIpConnectivity()
{
return $this->staticIpConnectivity;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PostgreSqlConnectionProfile::class, 'Google_Service_DatabaseMigrationService_PostgreSqlConnectionProfile');

View File

@@ -0,0 +1,62 @@
<?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 PostgresDestinationConfig extends \Google\Model
{
/**
* @var int
*/
public $maxConcurrentConnections;
/**
* @var string
*/
public $transactionTimeout;
/**
* @param int
*/
public function setMaxConcurrentConnections($maxConcurrentConnections)
{
$this->maxConcurrentConnections = $maxConcurrentConnections;
}
/**
* @return int
*/
public function getMaxConcurrentConnections()
{
return $this->maxConcurrentConnections;
}
/**
* @param string
*/
public function setTransactionTimeout($transactionTimeout)
{
$this->transactionTimeout = $transactionTimeout;
}
/**
* @return string
*/
public function getTransactionTimeout()
{
return $this->transactionTimeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PostgresDestinationConfig::class, 'Google_Service_DatabaseMigrationService_PostgresDestinationConfig');

View File

@@ -0,0 +1,149 @@
<?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 PrimaryInstanceSettings extends \Google\Collection
{
protected $collection_key = 'outboundPublicIpAddresses';
/**
* @var string[]
*/
public $databaseFlags;
/**
* @var string
*/
public $id;
protected $instanceNetworkConfigType = InstanceNetworkConfig::class;
protected $instanceNetworkConfigDataType = '';
/**
* @var string[]
*/
public $labels;
protected $machineConfigType = MachineConfig::class;
protected $machineConfigDataType = '';
/**
* @var string[]
*/
public $outboundPublicIpAddresses;
/**
* @var string
*/
public $privateIp;
/**
* @param string[]
*/
public function setDatabaseFlags($databaseFlags)
{
$this->databaseFlags = $databaseFlags;
}
/**
* @return string[]
*/
public function getDatabaseFlags()
{
return $this->databaseFlags;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param InstanceNetworkConfig
*/
public function setInstanceNetworkConfig(InstanceNetworkConfig $instanceNetworkConfig)
{
$this->instanceNetworkConfig = $instanceNetworkConfig;
}
/**
* @return InstanceNetworkConfig
*/
public function getInstanceNetworkConfig()
{
return $this->instanceNetworkConfig;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param MachineConfig
*/
public function setMachineConfig(MachineConfig $machineConfig)
{
$this->machineConfig = $machineConfig;
}
/**
* @return MachineConfig
*/
public function getMachineConfig()
{
return $this->machineConfig;
}
/**
* @param string[]
*/
public function setOutboundPublicIpAddresses($outboundPublicIpAddresses)
{
$this->outboundPublicIpAddresses = $outboundPublicIpAddresses;
}
/**
* @return string[]
*/
public function getOutboundPublicIpAddresses()
{
return $this->outboundPublicIpAddresses;
}
/**
* @param string
*/
public function setPrivateIp($privateIp)
{
$this->privateIp = $privateIp;
}
/**
* @return string
*/
public function getPrivateIp()
{
return $this->privateIp;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrimaryInstanceSettings::class, 'Google_Service_DatabaseMigrationService_PrimaryInstanceSettings');

View File

@@ -0,0 +1,166 @@
<?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 PrivateConnection extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
protected $vpcPeeringConfigType = VpcPeeringConfig::class;
protected $vpcPeeringConfigDataType = '';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param VpcPeeringConfig
*/
public function setVpcPeeringConfig(VpcPeeringConfig $vpcPeeringConfig)
{
$this->vpcPeeringConfig = $vpcPeeringConfig;
}
/**
* @return VpcPeeringConfig
*/
public function getVpcPeeringConfig()
{
return $this->vpcPeeringConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivateConnection::class, 'Google_Service_DatabaseMigrationService_PrivateConnection');

View File

@@ -0,0 +1,44 @@
<?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 PrivateConnectivity extends \Google\Model
{
/**
* @var string
*/
public $privateConnection;
/**
* @param string
*/
public function setPrivateConnection($privateConnection)
{
$this->privateConnection = $privateConnection;
}
/**
* @return string
*/
public function getPrivateConnection()
{
return $this->privateConnection;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivateConnectivity::class, 'Google_Service_DatabaseMigrationService_PrivateConnectivity');

View File

@@ -0,0 +1,44 @@
<?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 PrivateServiceConnectConnectivity extends \Google\Model
{
/**
* @var string
*/
public $serviceAttachment;
/**
* @param string
*/
public function setServiceAttachment($serviceAttachment)
{
$this->serviceAttachment = $serviceAttachment;
}
/**
* @return string
*/
public function getServiceAttachment()
{
return $this->serviceAttachment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivateServiceConnectConnectivity::class, 'Google_Service_DatabaseMigrationService_PrivateServiceConnectConnectivity');

View File

@@ -0,0 +1,42 @@
<?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 PromoteMigrationJobRequest extends \Google\Model
{
protected $objectsFilterType = MigrationJobObjectsConfig::class;
protected $objectsFilterDataType = '';
/**
* @param MigrationJobObjectsConfig
*/
public function setObjectsFilter(MigrationJobObjectsConfig $objectsFilter)
{
$this->objectsFilter = $objectsFilter;
}
/**
* @return MigrationJobObjectsConfig
*/
public function getObjectsFilter()
{
return $this->objectsFilter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PromoteMigrationJobRequest::class, 'Google_Service_DatabaseMigrationService_PromoteMigrationJobRequest');

View File

@@ -0,0 +1,33 @@
<?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\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $datamigrationService = new Google\Service\DatabaseMigrationService(...);
* $projects = $datamigrationService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_DatabaseMigrationService_Resource_Projects');

View File

@@ -0,0 +1,96 @@
<?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\Resource;
use Google\Service\DatabaseMigrationService\FetchStaticIpsResponse;
use Google\Service\DatabaseMigrationService\ListLocationsResponse;
use Google\Service\DatabaseMigrationService\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $datamigrationService = new Google\Service\DatabaseMigrationService(...);
* $locations = $datamigrationService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Fetches a set of static IP addresses that need to be allowlisted by the
* customer when using the static-IP connectivity method.
* (locations.fetchStaticIps)
*
* @param string $name Required. The resource name for the location for which
* static IPs should be returned. Must be in the format `projects/locations`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum number of IPs to return.
* @opt_param string pageToken A page token, received from a previous
* `FetchStaticIps` call.
* @return FetchStaticIpsResponse
* @throws \Google\Service\Exception
*/
public function fetchStaticIps($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('fetchStaticIps', [$params], FetchStaticIpsResponse::class);
}
/**
* Gets information about a location. (locations.get)
*
* @param string $name Resource name for the location.
* @param array $optParams Optional parameters.
* @return Location
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Lists information about the supported locations for this service.
* (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* @opt_param int pageSize The maximum number of results to return. If not set,
* the service selects a default.
* @opt_param string pageToken A page token received from the `next_page_token`
* field in the response. Send that page token to receive the subsequent page.
* @return ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_DatabaseMigrationService_Resource_ProjectsLocations');

View File

@@ -0,0 +1,254 @@
<?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\Resource;
use Google\Service\DatabaseMigrationService\ConnectionProfile;
use Google\Service\DatabaseMigrationService\ListConnectionProfilesResponse;
use Google\Service\DatabaseMigrationService\Operation;
use Google\Service\DatabaseMigrationService\Policy;
use Google\Service\DatabaseMigrationService\SetIamPolicyRequest;
use Google\Service\DatabaseMigrationService\TestIamPermissionsRequest;
use Google\Service\DatabaseMigrationService\TestIamPermissionsResponse;
/**
* The "connectionProfiles" collection of methods.
* Typical usage is:
* <code>
* $datamigrationService = new Google\Service\DatabaseMigrationService(...);
* $connectionProfiles = $datamigrationService->projects_locations_connectionProfiles;
* </code>
*/
class ProjectsLocationsConnectionProfiles extends \Google\Service\Resource
{
/**
* Creates a new connection profile in a given project and location.
* (connectionProfiles.create)
*
* @param string $parent Required. The parent which owns this collection of
* connection profiles.
* @param ConnectionProfile $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string connectionProfileId Required. The connection profile
* identifier.
* @opt_param string requestId Optional. A unique ID used to identify the
* request. If the server receives two requests with the same ID, then the
* second request is ignored. It is recommended to always set this value to a
* UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
* (_), and hyphens (-). The maximum length is 40 characters.
* @opt_param bool skipValidation Optional. Create the connection profile
* without validating it. The default is false. Only supported for Oracle
* connection profiles.
* @opt_param bool validateOnly Optional. Only validate the connection profile,
* but don't create any resources. The default is false. Only supported for
* Oracle connection profiles.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, ConnectionProfile $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a single Database Migration Service connection profile. A connection
* profile can only be deleted if it is not in use by any active migration jobs.
* (connectionProfiles.delete)
*
* @param string $name Required. Name of the connection profile resource to
* delete.
* @param array $optParams Optional parameters.
*
* @opt_param bool force In case of force delete, the CloudSQL replica database
* is also deleted (only for CloudSQL connection profile).
* @opt_param string requestId A unique ID used to identify the request. If the
* server receives two requests with the same ID, then the second request is
* ignored. It is recommended to always set this value to a UUID. The ID must
* contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens
* (-). The maximum length is 40 characters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single connection profile. (connectionProfiles.get)
*
* @param string $name Required. Name of the connection profile resource to get.
* @param array $optParams Optional parameters.
* @return ConnectionProfile
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ConnectionProfile::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set.
* (connectionProfiles.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Retrieves a list of all connection profiles in a given project and location.
* (connectionProfiles.listProjectsLocationsConnectionProfiles)
*
* @param string $parent Required. The parent which owns this collection of
* connection profiles.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that filters connection profiles
* listed in the response. The expression must specify the field name, a
* comparison operator, and the value that you want to use for filtering. The
* value must be a string, a number, or a boolean. The comparison operator must
* be either =, !=, >, or <. For example, list connection profiles created this
* year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You
* can also filter nested fields. For example, you could specify
* **mySql.username = %lt;my_username%gt;** to list all connection profiles
* configured to connect with a specific username.
* @opt_param string orderBy A comma-separated list of fields to order results
* according to.
* @opt_param int pageSize The maximum number of connection profiles to return.
* The service may return fewer than this value. If unspecified, at most 50
* connection profiles will be returned. The maximum value is 1000; values above
* 1000 are coerced to 1000.
* @opt_param string pageToken A page token, received from a previous
* `ListConnectionProfiles` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListConnectionProfiles`
* must match the call that provided the page token.
* @return ListConnectionProfilesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsConnectionProfiles($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListConnectionProfilesResponse::class);
}
/**
* Update the configuration of a single connection profile.
* (connectionProfiles.patch)
*
* @param string $name The name of this connection profile resource in the form
* of projects/{project}/locations/{location}/connectionProfiles/{connectionProf
* ile}.
* @param ConnectionProfile $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A unique ID used to identify the
* request. If the server receives two requests with the same ID, then the
* second request is ignored. It is recommended to always set this value to a
* UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
* (_), and hyphens (-). The maximum length is 40 characters.
* @opt_param bool skipValidation Optional. Update the connection profile
* without validating it. The default is false. Only supported for Oracle
* connection profiles.
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten by the update in the conversion workspace resource.
* @opt_param bool validateOnly Optional. Only validate the connection profile,
* but don't update any resources. The default is false. Only supported for
* Oracle connection profiles.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, ConnectionProfile $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (connectionProfiles.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning.
* (connectionProfiles.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnectionProfiles::class, 'Google_Service_DatabaseMigrationService_Resource_ProjectsLocationsConnectionProfiles');

View File

@@ -0,0 +1,422 @@
<?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\Resource;
use Google\Service\DatabaseMigrationService\ApplyConversionWorkspaceRequest;
use Google\Service\DatabaseMigrationService\CommitConversionWorkspaceRequest;
use Google\Service\DatabaseMigrationService\ConversionWorkspace;
use Google\Service\DatabaseMigrationService\ConvertConversionWorkspaceRequest;
use Google\Service\DatabaseMigrationService\DescribeConversionWorkspaceRevisionsResponse;
use Google\Service\DatabaseMigrationService\DescribeDatabaseEntitiesResponse;
use Google\Service\DatabaseMigrationService\ListConversionWorkspacesResponse;
use Google\Service\DatabaseMigrationService\Operation;
use Google\Service\DatabaseMigrationService\Policy;
use Google\Service\DatabaseMigrationService\RollbackConversionWorkspaceRequest;
use Google\Service\DatabaseMigrationService\SearchBackgroundJobsResponse;
use Google\Service\DatabaseMigrationService\SeedConversionWorkspaceRequest;
use Google\Service\DatabaseMigrationService\SetIamPolicyRequest;
use Google\Service\DatabaseMigrationService\TestIamPermissionsRequest;
use Google\Service\DatabaseMigrationService\TestIamPermissionsResponse;
/**
* The "conversionWorkspaces" collection of methods.
* Typical usage is:
* <code>
* $datamigrationService = new Google\Service\DatabaseMigrationService(...);
* $conversionWorkspaces = $datamigrationService->projects_locations_conversionWorkspaces;
* </code>
*/
class ProjectsLocationsConversionWorkspaces extends \Google\Service\Resource
{
/**
* Applies draft tree onto a specific destination database.
* (conversionWorkspaces.apply)
*
* @param string $name Required. The name of the conversion workspace resource
* for which to apply the draft tree. Must be in the form of: projects/{project}
* /locations/{location}/conversionWorkspaces/{conversion_workspace}.
* @param ApplyConversionWorkspaceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function apply($name, ApplyConversionWorkspaceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('apply', [$params], Operation::class);
}
/**
* Marks all the data in the conversion workspace as committed.
* (conversionWorkspaces.commit)
*
* @param string $name Required. Name of the conversion workspace resource to
* commit.
* @param CommitConversionWorkspaceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function commit($name, CommitConversionWorkspaceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('commit', [$params], Operation::class);
}
/**
* Creates a draft tree schema for the destination database.
* (conversionWorkspaces.convert)
*
* @param string $name Name of the conversion workspace resource to convert in
* the form of: projects/{project}/locations/{location}/conversionWorkspaces/{co
* nversion_workspace}.
* @param ConvertConversionWorkspaceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function convert($name, ConvertConversionWorkspaceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('convert', [$params], Operation::class);
}
/**
* Creates a new conversion workspace in a given project and location.
* (conversionWorkspaces.create)
*
* @param string $parent Required. The parent which owns this collection of
* conversion workspaces.
* @param ConversionWorkspace $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string conversionWorkspaceId Required. The ID of the conversion
* workspace to create.
* @opt_param string requestId A unique ID used to identify the request. If the
* server receives two requests with the same ID, then the second request is
* ignored. It is recommended to always set this value to a UUID. The ID must
* contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens
* (-). The maximum length is 40 characters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, ConversionWorkspace $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a single conversion workspace. (conversionWorkspaces.delete)
*
* @param string $name Required. Name of the conversion workspace resource to
* delete.
* @param array $optParams Optional parameters.
*
* @opt_param bool force Force delete the conversion workspace, even if there's
* a running migration that is using the workspace.
* @opt_param string requestId A unique ID used to identify the request. If the
* server receives two requests with the same ID, then the second request is
* ignored. It is recommended to always set this value to a UUID. The ID must
* contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens
* (-). The maximum length is 40 characters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Retrieves a list of committed revisions of a specific conversion workspace.
* (conversionWorkspaces.describeConversionWorkspaceRevisions)
*
* @param string $conversionWorkspace Required. Name of the conversion workspace
* resource whose revisions are listed. Must be in the form of: projects/{projec
* t}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
* @param array $optParams Optional parameters.
*
* @opt_param string commitId Optional. Optional filter to request a specific
* commit ID.
* @return DescribeConversionWorkspaceRevisionsResponse
* @throws \Google\Service\Exception
*/
public function describeConversionWorkspaceRevisions($conversionWorkspace, $optParams = [])
{
$params = ['conversionWorkspace' => $conversionWorkspace];
$params = array_merge($params, $optParams);
return $this->call('describeConversionWorkspaceRevisions', [$params], DescribeConversionWorkspaceRevisionsResponse::class);
}
/**
* Describes the database entities tree for a specific conversion workspace and
* a specific tree type. Database entities are not resources like conversion
* workspaces or mapping rules, and they can't be created, updated or deleted.
* Instead, they are simple data objects describing the structure of the client
* database. (conversionWorkspaces.describeDatabaseEntities)
*
* @param string $conversionWorkspace Required. Name of the conversion workspace
* resource whose database entities are described. Must be in the form of: proje
* cts/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace
* }.
* @param array $optParams Optional parameters.
*
* @opt_param string commitId Optional. Request a specific commit ID. If not
* specified, the entities from the latest commit are returned.
* @opt_param string filter Optional. Filter the returned entities based on
* AIP-160 standard.
* @opt_param int pageSize Optional. The maximum number of entities to return.
* The service may return fewer entities than the value specifies.
* @opt_param string pageToken Optional. The nextPageToken value received in the
* previous call to conversionWorkspace.describeDatabaseEntities, used in the
* subsequent request to retrieve the next page of results. On first call this
* should be left blank. When paginating, all other parameters provided to
* conversionWorkspace.describeDatabaseEntities must match the call that
* provided the page token.
* @opt_param string tree Required. The tree to fetch.
* @opt_param bool uncommitted Optional. Whether to retrieve the latest
* committed version of the entities or the latest version. This field is
* ignored if a specific commit_id is specified.
* @opt_param string view Optional. Results view based on AIP-157
* @return DescribeDatabaseEntitiesResponse
* @throws \Google\Service\Exception
*/
public function describeDatabaseEntities($conversionWorkspace, $optParams = [])
{
$params = ['conversionWorkspace' => $conversionWorkspace];
$params = array_merge($params, $optParams);
return $this->call('describeDatabaseEntities', [$params], DescribeDatabaseEntitiesResponse::class);
}
/**
* Gets details of a single conversion workspace. (conversionWorkspaces.get)
*
* @param string $name Required. Name of the conversion workspace resource to
* get.
* @param array $optParams Optional parameters.
* @return ConversionWorkspace
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ConversionWorkspace::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set.
* (conversionWorkspaces.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists conversion workspaces in a given project and location.
* (conversionWorkspaces.listProjectsLocationsConversionWorkspaces)
*
* @param string $parent Required. The parent which owns this collection of
* conversion workspaces.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter expression that filters conversion
* workspaces listed in the response. The expression must specify the field
* name, a comparison operator, and the value that you want to use for
* filtering. The value must be a string, a number, or a boolean. The comparison
* operator must be either =, !=, >, or <. For example, list conversion
* workspaces created this year by specifying **createTime %gt;
* 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For
* example, you could specify **source.version = "12.c.1"** to select all
* conversion workspaces with source database version equal to 12.c.1.
* @opt_param int pageSize The maximum number of conversion workspaces to
* return. The service may return fewer than this value. If unspecified, at most
* 50 sets are returned.
* @opt_param string pageToken The nextPageToken value received in the previous
* call to conversionWorkspaces.list, used in the subsequent request to retrieve
* the next page of results. On first call this should be left blank. When
* paginating, all other parameters provided to conversionWorkspaces.list must
* match the call that provided the page token.
* @return ListConversionWorkspacesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsConversionWorkspaces($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListConversionWorkspacesResponse::class);
}
/**
* Updates the parameters of a single conversion workspace.
* (conversionWorkspaces.patch)
*
* @param string $name Full name of the workspace resource, in the form of: proj
* ects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspac
* e}.
* @param ConversionWorkspace $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId A unique ID used to identify the request. If the
* server receives two requests with the same ID, then the second request is
* ignored. It is recommended to always set this value to a UUID. The ID must
* contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens
* (-). The maximum length is 40 characters.
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten by the update in the conversion workspace resource.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, ConversionWorkspace $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Rolls back a conversion workspace to the last committed snapshot.
* (conversionWorkspaces.rollback)
*
* @param string $name Required. Name of the conversion workspace resource to
* roll back to.
* @param RollbackConversionWorkspaceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function rollback($name, RollbackConversionWorkspaceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('rollback', [$params], Operation::class);
}
/**
* Searches/lists the background jobs for a specific conversion workspace. The
* background jobs are not resources like conversion workspaces or mapping
* rules, and they can't be created, updated or deleted. Instead, they are a way
* to expose the data plane jobs log.
* (conversionWorkspaces.searchBackgroundJobs)
*
* @param string $conversionWorkspace Required. Name of the conversion workspace
* resource whose jobs are listed, in the form of: projects/{project}/locations/
* {location}/conversionWorkspaces/{conversion_workspace}.
* @param array $optParams Optional parameters.
*
* @opt_param string completedUntilTime Optional. If provided, only returns jobs
* that completed until (not including) the given timestamp.
* @opt_param int maxSize Optional. The maximum number of jobs to return. The
* service may return fewer than this value. If unspecified, at most 100 jobs
* are returned. The maximum value is 100; values above 100 are coerced to 100.
* @opt_param bool returnMostRecentPerJobType Optional. Whether or not to return
* just the most recent job per job type,
* @return SearchBackgroundJobsResponse
* @throws \Google\Service\Exception
*/
public function searchBackgroundJobs($conversionWorkspace, $optParams = [])
{
$params = ['conversionWorkspace' => $conversionWorkspace];
$params = array_merge($params, $optParams);
return $this->call('searchBackgroundJobs', [$params], SearchBackgroundJobsResponse::class);
}
/**
* Imports a snapshot of the source database into the conversion workspace.
* (conversionWorkspaces.seed)
*
* @param string $name Name of the conversion workspace resource to seed with
* new database structure, in the form of: projects/{project}/locations/{locatio
* n}/conversionWorkspaces/{conversion_workspace}.
* @param SeedConversionWorkspaceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function seed($name, SeedConversionWorkspaceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('seed', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (conversionWorkspaces.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning.
* (conversionWorkspaces.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConversionWorkspaces::class, 'Google_Service_DatabaseMigrationService_Resource_ProjectsLocationsConversionWorkspaces');

Some files were not shown because too many files have changed in this diff Show More