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,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\Datastream;
class AppendOnly extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppendOnly::class, 'Google_Service_Datastream_AppendOnly');

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\Datastream;
class AvroFileFormat extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AvroFileFormat::class, 'Google_Service_Datastream_AvroFileFormat');

View File

@@ -0,0 +1,90 @@
<?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\Datastream;
class BackfillAllStrategy extends \Google\Model
{
protected $mysqlExcludedObjectsType = MysqlRdbms::class;
protected $mysqlExcludedObjectsDataType = '';
protected $oracleExcludedObjectsType = OracleRdbms::class;
protected $oracleExcludedObjectsDataType = '';
protected $postgresqlExcludedObjectsType = PostgresqlRdbms::class;
protected $postgresqlExcludedObjectsDataType = '';
protected $sqlServerExcludedObjectsType = SqlServerRdbms::class;
protected $sqlServerExcludedObjectsDataType = '';
/**
* @param MysqlRdbms
*/
public function setMysqlExcludedObjects(MysqlRdbms $mysqlExcludedObjects)
{
$this->mysqlExcludedObjects = $mysqlExcludedObjects;
}
/**
* @return MysqlRdbms
*/
public function getMysqlExcludedObjects()
{
return $this->mysqlExcludedObjects;
}
/**
* @param OracleRdbms
*/
public function setOracleExcludedObjects(OracleRdbms $oracleExcludedObjects)
{
$this->oracleExcludedObjects = $oracleExcludedObjects;
}
/**
* @return OracleRdbms
*/
public function getOracleExcludedObjects()
{
return $this->oracleExcludedObjects;
}
/**
* @param PostgresqlRdbms
*/
public function setPostgresqlExcludedObjects(PostgresqlRdbms $postgresqlExcludedObjects)
{
$this->postgresqlExcludedObjects = $postgresqlExcludedObjects;
}
/**
* @return PostgresqlRdbms
*/
public function getPostgresqlExcludedObjects()
{
return $this->postgresqlExcludedObjects;
}
/**
* @param SqlServerRdbms
*/
public function setSqlServerExcludedObjects(SqlServerRdbms $sqlServerExcludedObjects)
{
$this->sqlServerExcludedObjects = $sqlServerExcludedObjects;
}
/**
* @return SqlServerRdbms
*/
public function getSqlServerExcludedObjects()
{
return $this->sqlServerExcludedObjects;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackfillAllStrategy::class, 'Google_Service_Datastream_BackfillAllStrategy');

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\Datastream;
class BackfillJob extends \Google\Collection
{
protected $collection_key = 'errors';
protected $errorsType = Error::class;
protected $errorsDataType = 'array';
/**
* @var string
*/
public $lastEndTime;
/**
* @var string
*/
public $lastStartTime;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $trigger;
/**
* @param Error[]
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return Error[]
*/
public function getErrors()
{
return $this->errors;
}
/**
* @param string
*/
public function setLastEndTime($lastEndTime)
{
$this->lastEndTime = $lastEndTime;
}
/**
* @return string
*/
public function getLastEndTime()
{
return $this->lastEndTime;
}
/**
* @param string
*/
public function setLastStartTime($lastStartTime)
{
$this->lastStartTime = $lastStartTime;
}
/**
* @return string
*/
public function getLastStartTime()
{
return $this->lastStartTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setTrigger($trigger)
{
$this->trigger = $trigger;
}
/**
* @return string
*/
public function getTrigger()
{
return $this->trigger;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackfillJob::class, 'Google_Service_Datastream_BackfillJob');

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\Datastream;
class BackfillNoneStrategy extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackfillNoneStrategy::class, 'Google_Service_Datastream_BackfillNoneStrategy');

View File

@@ -0,0 +1,108 @@
<?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\Datastream;
class BigQueryDestinationConfig extends \Google\Model
{
protected $appendOnlyType = AppendOnly::class;
protected $appendOnlyDataType = '';
/**
* @var string
*/
public $dataFreshness;
protected $mergeType = Merge::class;
protected $mergeDataType = '';
protected $singleTargetDatasetType = SingleTargetDataset::class;
protected $singleTargetDatasetDataType = '';
protected $sourceHierarchyDatasetsType = SourceHierarchyDatasets::class;
protected $sourceHierarchyDatasetsDataType = '';
/**
* @param AppendOnly
*/
public function setAppendOnly(AppendOnly $appendOnly)
{
$this->appendOnly = $appendOnly;
}
/**
* @return AppendOnly
*/
public function getAppendOnly()
{
return $this->appendOnly;
}
/**
* @param string
*/
public function setDataFreshness($dataFreshness)
{
$this->dataFreshness = $dataFreshness;
}
/**
* @return string
*/
public function getDataFreshness()
{
return $this->dataFreshness;
}
/**
* @param Merge
*/
public function setMerge(Merge $merge)
{
$this->merge = $merge;
}
/**
* @return Merge
*/
public function getMerge()
{
return $this->merge;
}
/**
* @param SingleTargetDataset
*/
public function setSingleTargetDataset(SingleTargetDataset $singleTargetDataset)
{
$this->singleTargetDataset = $singleTargetDataset;
}
/**
* @return SingleTargetDataset
*/
public function getSingleTargetDataset()
{
return $this->singleTargetDataset;
}
/**
* @param SourceHierarchyDatasets
*/
public function setSourceHierarchyDatasets(SourceHierarchyDatasets $sourceHierarchyDatasets)
{
$this->sourceHierarchyDatasets = $sourceHierarchyDatasets;
}
/**
* @return SourceHierarchyDatasets
*/
public function getSourceHierarchyDatasets()
{
return $this->sourceHierarchyDatasets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BigQueryDestinationConfig::class, 'Google_Service_Datastream_BigQueryDestinationConfig');

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\Datastream;
class BigQueryProfile extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BigQueryProfile::class, 'Google_Service_Datastream_BigQueryProfile');

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\Datastream;
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_Datastream_BinaryLogParser');

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\Datastream;
class BinaryLogPosition extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BinaryLogPosition::class, 'Google_Service_Datastream_BinaryLogPosition');

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\Datastream;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_Datastream_CancelOperationRequest');

View File

@@ -0,0 +1,74 @@
<?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\Datastream;
class CdcStrategy extends \Google\Model
{
protected $mostRecentStartPositionType = MostRecentStartPosition::class;
protected $mostRecentStartPositionDataType = '';
protected $nextAvailableStartPositionType = NextAvailableStartPosition::class;
protected $nextAvailableStartPositionDataType = '';
protected $specificStartPositionType = SpecificStartPosition::class;
protected $specificStartPositionDataType = '';
/**
* @param MostRecentStartPosition
*/
public function setMostRecentStartPosition(MostRecentStartPosition $mostRecentStartPosition)
{
$this->mostRecentStartPosition = $mostRecentStartPosition;
}
/**
* @return MostRecentStartPosition
*/
public function getMostRecentStartPosition()
{
return $this->mostRecentStartPosition;
}
/**
* @param NextAvailableStartPosition
*/
public function setNextAvailableStartPosition(NextAvailableStartPosition $nextAvailableStartPosition)
{
$this->nextAvailableStartPosition = $nextAvailableStartPosition;
}
/**
* @return NextAvailableStartPosition
*/
public function getNextAvailableStartPosition()
{
return $this->nextAvailableStartPosition;
}
/**
* @param SpecificStartPosition
*/
public function setSpecificStartPosition(SpecificStartPosition $specificStartPosition)
{
$this->specificStartPosition = $specificStartPosition;
}
/**
* @return SpecificStartPosition
*/
public function getSpecificStartPosition()
{
return $this->specificStartPosition;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CdcStrategy::class, 'Google_Service_Datastream_CdcStrategy');

View File

@@ -0,0 +1,260 @@
<?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\Datastream;
class ConnectionProfile extends \Google\Model
{
protected $bigqueryProfileType = BigQueryProfile::class;
protected $bigqueryProfileDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
protected $forwardSshConnectivityType = ForwardSshTunnelConnectivity::class;
protected $forwardSshConnectivityDataType = '';
protected $gcsProfileType = GcsProfile::class;
protected $gcsProfileDataType = '';
/**
* @var string[]
*/
public $labels;
protected $mysqlProfileType = MysqlProfile::class;
protected $mysqlProfileDataType = '';
/**
* @var string
*/
public $name;
protected $oracleProfileType = OracleProfile::class;
protected $oracleProfileDataType = '';
protected $postgresqlProfileType = PostgresqlProfile::class;
protected $postgresqlProfileDataType = '';
protected $privateConnectivityType = PrivateConnectivity::class;
protected $privateConnectivityDataType = '';
protected $sqlServerProfileType = SqlServerProfile::class;
protected $sqlServerProfileDataType = '';
protected $staticServiceIpConnectivityType = StaticServiceIpConnectivity::class;
protected $staticServiceIpConnectivityDataType = '';
/**
* @var string
*/
public $updateTime;
/**
* @param BigQueryProfile
*/
public function setBigqueryProfile(BigQueryProfile $bigqueryProfile)
{
$this->bigqueryProfile = $bigqueryProfile;
}
/**
* @return BigQueryProfile
*/
public function getBigqueryProfile()
{
return $this->bigqueryProfile;
}
/**
* @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 ForwardSshTunnelConnectivity
*/
public function setForwardSshConnectivity(ForwardSshTunnelConnectivity $forwardSshConnectivity)
{
$this->forwardSshConnectivity = $forwardSshConnectivity;
}
/**
* @return ForwardSshTunnelConnectivity
*/
public function getForwardSshConnectivity()
{
return $this->forwardSshConnectivity;
}
/**
* @param GcsProfile
*/
public function setGcsProfile(GcsProfile $gcsProfile)
{
$this->gcsProfile = $gcsProfile;
}
/**
* @return GcsProfile
*/
public function getGcsProfile()
{
return $this->gcsProfile;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param MysqlProfile
*/
public function setMysqlProfile(MysqlProfile $mysqlProfile)
{
$this->mysqlProfile = $mysqlProfile;
}
/**
* @return MysqlProfile
*/
public function getMysqlProfile()
{
return $this->mysqlProfile;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param OracleProfile
*/
public function setOracleProfile(OracleProfile $oracleProfile)
{
$this->oracleProfile = $oracleProfile;
}
/**
* @return OracleProfile
*/
public function getOracleProfile()
{
return $this->oracleProfile;
}
/**
* @param PostgresqlProfile
*/
public function setPostgresqlProfile(PostgresqlProfile $postgresqlProfile)
{
$this->postgresqlProfile = $postgresqlProfile;
}
/**
* @return PostgresqlProfile
*/
public function getPostgresqlProfile()
{
return $this->postgresqlProfile;
}
/**
* @param PrivateConnectivity
*/
public function setPrivateConnectivity(PrivateConnectivity $privateConnectivity)
{
$this->privateConnectivity = $privateConnectivity;
}
/**
* @return PrivateConnectivity
*/
public function getPrivateConnectivity()
{
return $this->privateConnectivity;
}
/**
* @param SqlServerProfile
*/
public function setSqlServerProfile(SqlServerProfile $sqlServerProfile)
{
$this->sqlServerProfile = $sqlServerProfile;
}
/**
* @return SqlServerProfile
*/
public function getSqlServerProfile()
{
return $this->sqlServerProfile;
}
/**
* @param StaticServiceIpConnectivity
*/
public function setStaticServiceIpConnectivity(StaticServiceIpConnectivity $staticServiceIpConnectivity)
{
$this->staticServiceIpConnectivity = $staticServiceIpConnectivity;
}
/**
* @return StaticServiceIpConnectivity
*/
public function getStaticServiceIpConnectivity()
{
return $this->staticServiceIpConnectivity;
}
/**
* @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_Datastream_ConnectionProfile');

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\Datastream;
class DatasetTemplate extends \Google\Model
{
/**
* @var string
*/
public $datasetIdPrefix;
/**
* @var string
*/
public $kmsKeyName;
/**
* @var string
*/
public $location;
/**
* @param string
*/
public function setDatasetIdPrefix($datasetIdPrefix)
{
$this->datasetIdPrefix = $datasetIdPrefix;
}
/**
* @return string
*/
public function getDatasetIdPrefix()
{
return $this->datasetIdPrefix;
}
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatasetTemplate::class, 'Google_Service_Datastream_DatasetTemplate');

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\Datastream;
class DatastreamEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatastreamEmpty::class, 'Google_Service_Datastream_DatastreamEmpty');

View File

@@ -0,0 +1,76 @@
<?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\Datastream;
class DestinationConfig extends \Google\Model
{
protected $bigqueryDestinationConfigType = BigQueryDestinationConfig::class;
protected $bigqueryDestinationConfigDataType = '';
/**
* @var string
*/
public $destinationConnectionProfile;
protected $gcsDestinationConfigType = GcsDestinationConfig::class;
protected $gcsDestinationConfigDataType = '';
/**
* @param BigQueryDestinationConfig
*/
public function setBigqueryDestinationConfig(BigQueryDestinationConfig $bigqueryDestinationConfig)
{
$this->bigqueryDestinationConfig = $bigqueryDestinationConfig;
}
/**
* @return BigQueryDestinationConfig
*/
public function getBigqueryDestinationConfig()
{
return $this->bigqueryDestinationConfig;
}
/**
* @param string
*/
public function setDestinationConnectionProfile($destinationConnectionProfile)
{
$this->destinationConnectionProfile = $destinationConnectionProfile;
}
/**
* @return string
*/
public function getDestinationConnectionProfile()
{
return $this->destinationConnectionProfile;
}
/**
* @param GcsDestinationConfig
*/
public function setGcsDestinationConfig(GcsDestinationConfig $gcsDestinationConfig)
{
$this->gcsDestinationConfig = $gcsDestinationConfig;
}
/**
* @return GcsDestinationConfig
*/
public function getGcsDestinationConfig()
{
return $this->gcsDestinationConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DestinationConfig::class, 'Google_Service_Datastream_DestinationConfig');

View File

@@ -0,0 +1,160 @@
<?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\Datastream;
class DiscoverConnectionProfileRequest extends \Google\Model
{
protected $connectionProfileType = ConnectionProfile::class;
protected $connectionProfileDataType = '';
/**
* @var string
*/
public $connectionProfileName;
/**
* @var bool
*/
public $fullHierarchy;
/**
* @var int
*/
public $hierarchyDepth;
protected $mysqlRdbmsType = MysqlRdbms::class;
protected $mysqlRdbmsDataType = '';
protected $oracleRdbmsType = OracleRdbms::class;
protected $oracleRdbmsDataType = '';
protected $postgresqlRdbmsType = PostgresqlRdbms::class;
protected $postgresqlRdbmsDataType = '';
protected $sqlServerRdbmsType = SqlServerRdbms::class;
protected $sqlServerRdbmsDataType = '';
/**
* @param ConnectionProfile
*/
public function setConnectionProfile(ConnectionProfile $connectionProfile)
{
$this->connectionProfile = $connectionProfile;
}
/**
* @return ConnectionProfile
*/
public function getConnectionProfile()
{
return $this->connectionProfile;
}
/**
* @param string
*/
public function setConnectionProfileName($connectionProfileName)
{
$this->connectionProfileName = $connectionProfileName;
}
/**
* @return string
*/
public function getConnectionProfileName()
{
return $this->connectionProfileName;
}
/**
* @param bool
*/
public function setFullHierarchy($fullHierarchy)
{
$this->fullHierarchy = $fullHierarchy;
}
/**
* @return bool
*/
public function getFullHierarchy()
{
return $this->fullHierarchy;
}
/**
* @param int
*/
public function setHierarchyDepth($hierarchyDepth)
{
$this->hierarchyDepth = $hierarchyDepth;
}
/**
* @return int
*/
public function getHierarchyDepth()
{
return $this->hierarchyDepth;
}
/**
* @param MysqlRdbms
*/
public function setMysqlRdbms(MysqlRdbms $mysqlRdbms)
{
$this->mysqlRdbms = $mysqlRdbms;
}
/**
* @return MysqlRdbms
*/
public function getMysqlRdbms()
{
return $this->mysqlRdbms;
}
/**
* @param OracleRdbms
*/
public function setOracleRdbms(OracleRdbms $oracleRdbms)
{
$this->oracleRdbms = $oracleRdbms;
}
/**
* @return OracleRdbms
*/
public function getOracleRdbms()
{
return $this->oracleRdbms;
}
/**
* @param PostgresqlRdbms
*/
public function setPostgresqlRdbms(PostgresqlRdbms $postgresqlRdbms)
{
$this->postgresqlRdbms = $postgresqlRdbms;
}
/**
* @return PostgresqlRdbms
*/
public function getPostgresqlRdbms()
{
return $this->postgresqlRdbms;
}
/**
* @param SqlServerRdbms
*/
public function setSqlServerRdbms(SqlServerRdbms $sqlServerRdbms)
{
$this->sqlServerRdbms = $sqlServerRdbms;
}
/**
* @return SqlServerRdbms
*/
public function getSqlServerRdbms()
{
return $this->sqlServerRdbms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiscoverConnectionProfileRequest::class, 'Google_Service_Datastream_DiscoverConnectionProfileRequest');

View File

@@ -0,0 +1,90 @@
<?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\Datastream;
class DiscoverConnectionProfileResponse extends \Google\Model
{
protected $mysqlRdbmsType = MysqlRdbms::class;
protected $mysqlRdbmsDataType = '';
protected $oracleRdbmsType = OracleRdbms::class;
protected $oracleRdbmsDataType = '';
protected $postgresqlRdbmsType = PostgresqlRdbms::class;
protected $postgresqlRdbmsDataType = '';
protected $sqlServerRdbmsType = SqlServerRdbms::class;
protected $sqlServerRdbmsDataType = '';
/**
* @param MysqlRdbms
*/
public function setMysqlRdbms(MysqlRdbms $mysqlRdbms)
{
$this->mysqlRdbms = $mysqlRdbms;
}
/**
* @return MysqlRdbms
*/
public function getMysqlRdbms()
{
return $this->mysqlRdbms;
}
/**
* @param OracleRdbms
*/
public function setOracleRdbms(OracleRdbms $oracleRdbms)
{
$this->oracleRdbms = $oracleRdbms;
}
/**
* @return OracleRdbms
*/
public function getOracleRdbms()
{
return $this->oracleRdbms;
}
/**
* @param PostgresqlRdbms
*/
public function setPostgresqlRdbms(PostgresqlRdbms $postgresqlRdbms)
{
$this->postgresqlRdbms = $postgresqlRdbms;
}
/**
* @return PostgresqlRdbms
*/
public function getPostgresqlRdbms()
{
return $this->postgresqlRdbms;
}
/**
* @param SqlServerRdbms
*/
public function setSqlServerRdbms(SqlServerRdbms $sqlServerRdbms)
{
$this->sqlServerRdbms = $sqlServerRdbms;
}
/**
* @return SqlServerRdbms
*/
public function getSqlServerRdbms()
{
return $this->sqlServerRdbms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiscoverConnectionProfileResponse::class, 'Google_Service_Datastream_DiscoverConnectionProfileResponse');

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\Datastream;
class DropLargeObjects extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DropLargeObjects::class, 'Google_Service_Datastream_DropLargeObjects');

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\Datastream;
class Error extends \Google\Model
{
/**
* @var string[]
*/
public $details;
/**
* @var string
*/
public $errorTime;
/**
* @var string
*/
public $errorUuid;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $reason;
/**
* @param string[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return string[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setErrorTime($errorTime)
{
$this->errorTime = $errorTime;
}
/**
* @return string
*/
public function getErrorTime()
{
return $this->errorTime;
}
/**
* @param string
*/
public function setErrorUuid($errorUuid)
{
$this->errorUuid = $errorUuid;
}
/**
* @return string
*/
public function getErrorUuid()
{
return $this->errorUuid;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Error::class, 'Google_Service_Datastream_Error');

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\Datastream;
class FetchErrorsRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchErrorsRequest::class, 'Google_Service_Datastream_FetchErrorsRequest');

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\Datastream;
class FetchErrorsResponse extends \Google\Collection
{
protected $collection_key = 'errors';
protected $errorsType = Error::class;
protected $errorsDataType = 'array';
/**
* @param Error[]
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return Error[]
*/
public function getErrors()
{
return $this->errors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchErrorsResponse::class, 'Google_Service_Datastream_FetchErrorsResponse');

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\Datastream;
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_Datastream_FetchStaticIpsResponse');

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\Datastream;
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_Datastream_ForwardSshTunnelConnectivity');

View File

@@ -0,0 +1,112 @@
<?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\Datastream;
class GcsDestinationConfig extends \Google\Model
{
protected $avroFileFormatType = AvroFileFormat::class;
protected $avroFileFormatDataType = '';
/**
* @var string
*/
public $fileRotationInterval;
/**
* @var int
*/
public $fileRotationMb;
protected $jsonFileFormatType = JsonFileFormat::class;
protected $jsonFileFormatDataType = '';
/**
* @var string
*/
public $path;
/**
* @param AvroFileFormat
*/
public function setAvroFileFormat(AvroFileFormat $avroFileFormat)
{
$this->avroFileFormat = $avroFileFormat;
}
/**
* @return AvroFileFormat
*/
public function getAvroFileFormat()
{
return $this->avroFileFormat;
}
/**
* @param string
*/
public function setFileRotationInterval($fileRotationInterval)
{
$this->fileRotationInterval = $fileRotationInterval;
}
/**
* @return string
*/
public function getFileRotationInterval()
{
return $this->fileRotationInterval;
}
/**
* @param int
*/
public function setFileRotationMb($fileRotationMb)
{
$this->fileRotationMb = $fileRotationMb;
}
/**
* @return int
*/
public function getFileRotationMb()
{
return $this->fileRotationMb;
}
/**
* @param JsonFileFormat
*/
public function setJsonFileFormat(JsonFileFormat $jsonFileFormat)
{
$this->jsonFileFormat = $jsonFileFormat;
}
/**
* @return JsonFileFormat
*/
public function getJsonFileFormat()
{
return $this->jsonFileFormat;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcsDestinationConfig::class, 'Google_Service_Datastream_GcsDestinationConfig');

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\Datastream;
class GcsProfile extends \Google\Model
{
/**
* @var string
*/
public $bucket;
/**
* @var string
*/
public $rootPath;
/**
* @param string
*/
public function setBucket($bucket)
{
$this->bucket = $bucket;
}
/**
* @return string
*/
public function getBucket()
{
return $this->bucket;
}
/**
* @param string
*/
public function setRootPath($rootPath)
{
$this->rootPath = $rootPath;
}
/**
* @return string
*/
public function getRootPath()
{
return $this->rootPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcsProfile::class, 'Google_Service_Datastream_GcsProfile');

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\Datastream;
class Gtid extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Gtid::class, 'Google_Service_Datastream_Gtid');

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\Datastream;
class JsonFileFormat extends \Google\Model
{
/**
* @var string
*/
public $compression;
/**
* @var string
*/
public $schemaFileFormat;
/**
* @param string
*/
public function setCompression($compression)
{
$this->compression = $compression;
}
/**
* @return string
*/
public function getCompression()
{
return $this->compression;
}
/**
* @param string
*/
public function setSchemaFileFormat($schemaFileFormat)
{
$this->schemaFileFormat = $schemaFileFormat;
}
/**
* @return string
*/
public function getSchemaFileFormat()
{
return $this->schemaFileFormat;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JsonFileFormat::class, 'Google_Service_Datastream_JsonFileFormat');

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\Datastream;
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_Datastream_ListConnectionProfilesResponse');

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\Datastream;
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_Datastream_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\Datastream;
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_Datastream_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\Datastream;
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_Datastream_ListPrivateConnectionsResponse');

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\Datastream;
class ListRoutesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $routesType = Route::class;
protected $routesDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Route[]
*/
public function setRoutes($routes)
{
$this->routes = $routes;
}
/**
* @return Route[]
*/
public function getRoutes()
{
return $this->routes;
}
/**
* @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(ListRoutesResponse::class, 'Google_Service_Datastream_ListRoutesResponse');

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\Datastream;
class ListStreamObjectsResponse extends \Google\Collection
{
protected $collection_key = 'streamObjects';
/**
* @var string
*/
public $nextPageToken;
protected $streamObjectsType = StreamObject::class;
protected $streamObjectsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param StreamObject[]
*/
public function setStreamObjects($streamObjects)
{
$this->streamObjects = $streamObjects;
}
/**
* @return StreamObject[]
*/
public function getStreamObjects()
{
return $this->streamObjects;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListStreamObjectsResponse::class, 'Google_Service_Datastream_ListStreamObjectsResponse');

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\Datastream;
class ListStreamsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $streamsType = Stream::class;
protected $streamsDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Stream[]
*/
public function setStreams($streams)
{
$this->streams = $streams;
}
/**
* @return Stream[]
*/
public function getStreams()
{
return $this->streams;
}
/**
* @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(ListStreamsResponse::class, 'Google_Service_Datastream_ListStreamsResponse');

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\Datastream;
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_Datastream_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\Datastream;
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_Datastream_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\Datastream;
class LogMiner extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LogMiner::class, 'Google_Service_Datastream_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\Datastream;
class LookupStreamObjectRequest 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(LookupStreamObjectRequest::class, 'Google_Service_Datastream_LookupStreamObjectRequest');

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\Datastream;
class Merge extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Merge::class, 'Google_Service_Datastream_Merge');

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\Datastream;
class MostRecentStartPosition extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MostRecentStartPosition::class, 'Google_Service_Datastream_MostRecentStartPosition');

View File

@@ -0,0 +1,188 @@
<?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\Datastream;
class MysqlColumn extends \Google\Model
{
/**
* @var string
*/
public $collation;
/**
* @var string
*/
public $column;
/**
* @var string
*/
public $dataType;
/**
* @var int
*/
public $length;
/**
* @var bool
*/
public $nullable;
/**
* @var int
*/
public $ordinalPosition;
/**
* @var int
*/
public $precision;
/**
* @var bool
*/
public $primaryKey;
/**
* @var int
*/
public $scale;
/**
* @param string
*/
public function setCollation($collation)
{
$this->collation = $collation;
}
/**
* @return string
*/
public function getCollation()
{
return $this->collation;
}
/**
* @param string
*/
public function setColumn($column)
{
$this->column = $column;
}
/**
* @return string
*/
public function getColumn()
{
return $this->column;
}
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param int
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return int
*/
public function getLength()
{
return $this->length;
}
/**
* @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 bool
*/
public function setPrimaryKey($primaryKey)
{
$this->primaryKey = $primaryKey;
}
/**
* @return bool
*/
public function getPrimaryKey()
{
return $this->primaryKey;
}
/**
* @param int
*/
public function setScale($scale)
{
$this->scale = $scale;
}
/**
* @return int
*/
public function getScale()
{
return $this->scale;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MysqlColumn::class, 'Google_Service_Datastream_MysqlColumn');

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\Datastream;
class MysqlDatabase extends \Google\Collection
{
protected $collection_key = 'mysqlTables';
/**
* @var string
*/
public $database;
protected $mysqlTablesType = MysqlTable::class;
protected $mysqlTablesDataType = 'array';
/**
* @param string
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* @param MysqlTable[]
*/
public function setMysqlTables($mysqlTables)
{
$this->mysqlTables = $mysqlTables;
}
/**
* @return MysqlTable[]
*/
public function getMysqlTables()
{
return $this->mysqlTables;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MysqlDatabase::class, 'Google_Service_Datastream_MysqlDatabase');

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\Datastream;
class MysqlLogPosition extends \Google\Model
{
/**
* @var string
*/
public $logFile;
/**
* @var int
*/
public $logPosition;
/**
* @param string
*/
public function setLogFile($logFile)
{
$this->logFile = $logFile;
}
/**
* @return string
*/
public function getLogFile()
{
return $this->logFile;
}
/**
* @param int
*/
public function setLogPosition($logPosition)
{
$this->logPosition = $logPosition;
}
/**
* @return int
*/
public function getLogPosition()
{
return $this->logPosition;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MysqlLogPosition::class, 'Google_Service_Datastream_MysqlLogPosition');

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\Datastream;
class MysqlObjectIdentifier extends \Google\Model
{
/**
* @var string
*/
public $database;
/**
* @var string
*/
public $table;
/**
* @param string
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* @param string
*/
public function setTable($table)
{
$this->table = $table;
}
/**
* @return string
*/
public function getTable()
{
return $this->table;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MysqlObjectIdentifier::class, 'Google_Service_Datastream_MysqlObjectIdentifier');

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\Datastream;
class MysqlProfile extends \Google\Model
{
/**
* @var string
*/
public $hostname;
/**
* @var string
*/
public $password;
/**
* @var int
*/
public $port;
protected $sslConfigType = MysqlSslConfig::class;
protected $sslConfigDataType = '';
/**
* @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 MysqlSslConfig
*/
public function setSslConfig(MysqlSslConfig $sslConfig)
{
$this->sslConfig = $sslConfig;
}
/**
* @return MysqlSslConfig
*/
public function getSslConfig()
{
return $this->sslConfig;
}
/**
* @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(MysqlProfile::class, 'Google_Service_Datastream_MysqlProfile');

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\Datastream;
class MysqlRdbms extends \Google\Collection
{
protected $collection_key = 'mysqlDatabases';
protected $mysqlDatabasesType = MysqlDatabase::class;
protected $mysqlDatabasesDataType = 'array';
/**
* @param MysqlDatabase[]
*/
public function setMysqlDatabases($mysqlDatabases)
{
$this->mysqlDatabases = $mysqlDatabases;
}
/**
* @return MysqlDatabase[]
*/
public function getMysqlDatabases()
{
return $this->mysqlDatabases;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MysqlRdbms::class, 'Google_Service_Datastream_MysqlRdbms');

View File

@@ -0,0 +1,126 @@
<?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\Datastream;
class MysqlSourceConfig extends \Google\Model
{
protected $binaryLogPositionType = BinaryLogPosition::class;
protected $binaryLogPositionDataType = '';
protected $excludeObjectsType = MysqlRdbms::class;
protected $excludeObjectsDataType = '';
protected $gtidType = Gtid::class;
protected $gtidDataType = '';
protected $includeObjectsType = MysqlRdbms::class;
protected $includeObjectsDataType = '';
/**
* @var int
*/
public $maxConcurrentBackfillTasks;
/**
* @var int
*/
public $maxConcurrentCdcTasks;
/**
* @param BinaryLogPosition
*/
public function setBinaryLogPosition(BinaryLogPosition $binaryLogPosition)
{
$this->binaryLogPosition = $binaryLogPosition;
}
/**
* @return BinaryLogPosition
*/
public function getBinaryLogPosition()
{
return $this->binaryLogPosition;
}
/**
* @param MysqlRdbms
*/
public function setExcludeObjects(MysqlRdbms $excludeObjects)
{
$this->excludeObjects = $excludeObjects;
}
/**
* @return MysqlRdbms
*/
public function getExcludeObjects()
{
return $this->excludeObjects;
}
/**
* @param Gtid
*/
public function setGtid(Gtid $gtid)
{
$this->gtid = $gtid;
}
/**
* @return Gtid
*/
public function getGtid()
{
return $this->gtid;
}
/**
* @param MysqlRdbms
*/
public function setIncludeObjects(MysqlRdbms $includeObjects)
{
$this->includeObjects = $includeObjects;
}
/**
* @return MysqlRdbms
*/
public function getIncludeObjects()
{
return $this->includeObjects;
}
/**
* @param int
*/
public function setMaxConcurrentBackfillTasks($maxConcurrentBackfillTasks)
{
$this->maxConcurrentBackfillTasks = $maxConcurrentBackfillTasks;
}
/**
* @return int
*/
public function getMaxConcurrentBackfillTasks()
{
return $this->maxConcurrentBackfillTasks;
}
/**
* @param int
*/
public function setMaxConcurrentCdcTasks($maxConcurrentCdcTasks)
{
$this->maxConcurrentCdcTasks = $maxConcurrentCdcTasks;
}
/**
* @return int
*/
public function getMaxConcurrentCdcTasks()
{
return $this->maxConcurrentCdcTasks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MysqlSourceConfig::class, 'Google_Service_Datastream_MysqlSourceConfig');

View File

@@ -0,0 +1,134 @@
<?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\Datastream;
class MysqlSslConfig extends \Google\Model
{
/**
* @var string
*/
public $caCertificate;
/**
* @var bool
*/
public $caCertificateSet;
/**
* @var string
*/
public $clientCertificate;
/**
* @var bool
*/
public $clientCertificateSet;
/**
* @var string
*/
public $clientKey;
/**
* @var bool
*/
public $clientKeySet;
/**
* @param string
*/
public function setCaCertificate($caCertificate)
{
$this->caCertificate = $caCertificate;
}
/**
* @return string
*/
public function getCaCertificate()
{
return $this->caCertificate;
}
/**
* @param bool
*/
public function setCaCertificateSet($caCertificateSet)
{
$this->caCertificateSet = $caCertificateSet;
}
/**
* @return bool
*/
public function getCaCertificateSet()
{
return $this->caCertificateSet;
}
/**
* @param string
*/
public function setClientCertificate($clientCertificate)
{
$this->clientCertificate = $clientCertificate;
}
/**
* @return string
*/
public function getClientCertificate()
{
return $this->clientCertificate;
}
/**
* @param bool
*/
public function setClientCertificateSet($clientCertificateSet)
{
$this->clientCertificateSet = $clientCertificateSet;
}
/**
* @return bool
*/
public function getClientCertificateSet()
{
return $this->clientCertificateSet;
}
/**
* @param string
*/
public function setClientKey($clientKey)
{
$this->clientKey = $clientKey;
}
/**
* @return string
*/
public function getClientKey()
{
return $this->clientKey;
}
/**
* @param bool
*/
public function setClientKeySet($clientKeySet)
{
$this->clientKeySet = $clientKeySet;
}
/**
* @return bool
*/
public function getClientKeySet()
{
return $this->clientKeySet;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MysqlSslConfig::class, 'Google_Service_Datastream_MysqlSslConfig');

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\Datastream;
class MysqlTable extends \Google\Collection
{
protected $collection_key = 'mysqlColumns';
protected $mysqlColumnsType = MysqlColumn::class;
protected $mysqlColumnsDataType = 'array';
/**
* @var string
*/
public $table;
/**
* @param MysqlColumn[]
*/
public function setMysqlColumns($mysqlColumns)
{
$this->mysqlColumns = $mysqlColumns;
}
/**
* @return MysqlColumn[]
*/
public function getMysqlColumns()
{
return $this->mysqlColumns;
}
/**
* @param string
*/
public function setTable($table)
{
$this->table = $table;
}
/**
* @return string
*/
public function getTable()
{
return $this->table;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MysqlTable::class, 'Google_Service_Datastream_MysqlTable');

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\Datastream;
class NextAvailableStartPosition extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NextAvailableStartPosition::class, 'Google_Service_Datastream_NextAvailableStartPosition');

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\Datastream;
class NoConnectivitySettings extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NoConnectivitySettings::class, 'Google_Service_Datastream_NoConnectivitySettings');

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\Datastream;
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_Datastream_Operation');

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\Datastream;
class OperationMetadata 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;
protected $validationResultType = ValidationResult::class;
protected $validationResultDataType = '';
/**
* @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 ValidationResult
*/
public function setValidationResult(ValidationResult $validationResult)
{
$this->validationResult = $validationResult;
}
/**
* @return ValidationResult
*/
public function getValidationResult()
{
return $this->validationResult;
}
/**
* @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(OperationMetadata::class, 'Google_Service_Datastream_OperationMetadata');

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\Datastream;
class OracleAsmConfig extends \Google\Model
{
/**
* @var string
*/
public $asmService;
/**
* @var string[]
*/
public $connectionAttributes;
/**
* @var string
*/
public $hostname;
protected $oracleSslConfigType = OracleSslConfig::class;
protected $oracleSslConfigDataType = '';
/**
* @var string
*/
public $password;
/**
* @var int
*/
public $port;
/**
* @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 setConnectionAttributes($connectionAttributes)
{
$this->connectionAttributes = $connectionAttributes;
}
/**
* @return string[]
*/
public function getConnectionAttributes()
{
return $this->connectionAttributes;
}
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @param OracleSslConfig
*/
public function setOracleSslConfig(OracleSslConfig $oracleSslConfig)
{
$this->oracleSslConfig = $oracleSslConfig;
}
/**
* @return OracleSslConfig
*/
public function getOracleSslConfig()
{
return $this->oracleSslConfig;
}
/**
* @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 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_Datastream_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\Datastream;
class OracleAsmLogFileAccess extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleAsmLogFileAccess::class, 'Google_Service_Datastream_OracleAsmLogFileAccess');

View File

@@ -0,0 +1,188 @@
<?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\Datastream;
class OracleColumn extends \Google\Model
{
/**
* @var string
*/
public $column;
/**
* @var string
*/
public $dataType;
/**
* @var string
*/
public $encoding;
/**
* @var int
*/
public $length;
/**
* @var bool
*/
public $nullable;
/**
* @var int
*/
public $ordinalPosition;
/**
* @var int
*/
public $precision;
/**
* @var bool
*/
public $primaryKey;
/**
* @var int
*/
public $scale;
/**
* @param string
*/
public function setColumn($column)
{
$this->column = $column;
}
/**
* @return string
*/
public function getColumn()
{
return $this->column;
}
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param string
*/
public function setEncoding($encoding)
{
$this->encoding = $encoding;
}
/**
* @return string
*/
public function getEncoding()
{
return $this->encoding;
}
/**
* @param int
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return int
*/
public function getLength()
{
return $this->length;
}
/**
* @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 bool
*/
public function setPrimaryKey($primaryKey)
{
$this->primaryKey = $primaryKey;
}
/**
* @return bool
*/
public function getPrimaryKey()
{
return $this->primaryKey;
}
/**
* @param int
*/
public function setScale($scale)
{
$this->scale = $scale;
}
/**
* @return int
*/
public function getScale()
{
return $this->scale;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleColumn::class, 'Google_Service_Datastream_OracleColumn');

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\Datastream;
class OracleDropLargeObjects extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleDropLargeObjects::class, 'Google_Service_Datastream_OracleDropLargeObjects');

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\Datastream;
class OracleObjectIdentifier extends \Google\Model
{
/**
* @var string
*/
public $schema;
/**
* @var string
*/
public $table;
/**
* @param string
*/
public function setSchema($schema)
{
$this->schema = $schema;
}
/**
* @return string
*/
public function getSchema()
{
return $this->schema;
}
/**
* @param string
*/
public function setTable($table)
{
$this->table = $table;
}
/**
* @return string
*/
public function getTable()
{
return $this->table;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleObjectIdentifier::class, 'Google_Service_Datastream_OracleObjectIdentifier');

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\Datastream;
class OracleProfile extends \Google\Model
{
/**
* @var string[]
*/
public $connectionAttributes;
/**
* @var string
*/
public $databaseService;
/**
* @var string
*/
public $hostname;
protected $oracleAsmConfigType = OracleAsmConfig::class;
protected $oracleAsmConfigDataType = '';
protected $oracleSslConfigType = OracleSslConfig::class;
protected $oracleSslConfigDataType = '';
/**
* @var string
*/
public $password;
/**
* @var int
*/
public $port;
/**
* @var string
*/
public $secretManagerStoredPassword;
/**
* @var string
*/
public $username;
/**
* @param string[]
*/
public function setConnectionAttributes($connectionAttributes)
{
$this->connectionAttributes = $connectionAttributes;
}
/**
* @return string[]
*/
public function getConnectionAttributes()
{
return $this->connectionAttributes;
}
/**
* @param string
*/
public function setDatabaseService($databaseService)
{
$this->databaseService = $databaseService;
}
/**
* @return string
*/
public function getDatabaseService()
{
return $this->databaseService;
}
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @param OracleAsmConfig
*/
public function setOracleAsmConfig(OracleAsmConfig $oracleAsmConfig)
{
$this->oracleAsmConfig = $oracleAsmConfig;
}
/**
* @return OracleAsmConfig
*/
public function getOracleAsmConfig()
{
return $this->oracleAsmConfig;
}
/**
* @param OracleSslConfig
*/
public function setOracleSslConfig(OracleSslConfig $oracleSslConfig)
{
$this->oracleSslConfig = $oracleSslConfig;
}
/**
* @return OracleSslConfig
*/
public function getOracleSslConfig()
{
return $this->oracleSslConfig;
}
/**
* @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 setSecretManagerStoredPassword($secretManagerStoredPassword)
{
$this->secretManagerStoredPassword = $secretManagerStoredPassword;
}
/**
* @return string
*/
public function getSecretManagerStoredPassword()
{
return $this->secretManagerStoredPassword;
}
/**
* @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(OracleProfile::class, 'Google_Service_Datastream_OracleProfile');

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\Datastream;
class OracleRdbms extends \Google\Collection
{
protected $collection_key = 'oracleSchemas';
protected $oracleSchemasType = OracleSchema::class;
protected $oracleSchemasDataType = 'array';
/**
* @param OracleSchema[]
*/
public function setOracleSchemas($oracleSchemas)
{
$this->oracleSchemas = $oracleSchemas;
}
/**
* @return OracleSchema[]
*/
public function getOracleSchemas()
{
return $this->oracleSchemas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleRdbms::class, 'Google_Service_Datastream_OracleRdbms');

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\Datastream;
class OracleSchema extends \Google\Collection
{
protected $collection_key = 'oracleTables';
protected $oracleTablesType = OracleTable::class;
protected $oracleTablesDataType = 'array';
/**
* @var string
*/
public $schema;
/**
* @param OracleTable[]
*/
public function setOracleTables($oracleTables)
{
$this->oracleTables = $oracleTables;
}
/**
* @return OracleTable[]
*/
public function getOracleTables()
{
return $this->oracleTables;
}
/**
* @param string
*/
public function setSchema($schema)
{
$this->schema = $schema;
}
/**
* @return string
*/
public function getSchema()
{
return $this->schema;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleSchema::class, 'Google_Service_Datastream_OracleSchema');

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\Datastream;
class OracleScnPosition extends \Google\Model
{
/**
* @var string
*/
public $scn;
/**
* @param string
*/
public function setScn($scn)
{
$this->scn = $scn;
}
/**
* @return string
*/
public function getScn()
{
return $this->scn;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleScnPosition::class, 'Google_Service_Datastream_OracleScnPosition');

View File

@@ -0,0 +1,158 @@
<?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\Datastream;
class OracleSourceConfig extends \Google\Model
{
protected $binaryLogParserType = BinaryLogParser::class;
protected $binaryLogParserDataType = '';
protected $dropLargeObjectsType = DropLargeObjects::class;
protected $dropLargeObjectsDataType = '';
protected $excludeObjectsType = OracleRdbms::class;
protected $excludeObjectsDataType = '';
protected $includeObjectsType = OracleRdbms::class;
protected $includeObjectsDataType = '';
protected $logMinerType = LogMiner::class;
protected $logMinerDataType = '';
/**
* @var int
*/
public $maxConcurrentBackfillTasks;
/**
* @var int
*/
public $maxConcurrentCdcTasks;
protected $streamLargeObjectsType = StreamLargeObjects::class;
protected $streamLargeObjectsDataType = '';
/**
* @param BinaryLogParser
*/
public function setBinaryLogParser(BinaryLogParser $binaryLogParser)
{
$this->binaryLogParser = $binaryLogParser;
}
/**
* @return BinaryLogParser
*/
public function getBinaryLogParser()
{
return $this->binaryLogParser;
}
/**
* @param DropLargeObjects
*/
public function setDropLargeObjects(DropLargeObjects $dropLargeObjects)
{
$this->dropLargeObjects = $dropLargeObjects;
}
/**
* @return DropLargeObjects
*/
public function getDropLargeObjects()
{
return $this->dropLargeObjects;
}
/**
* @param OracleRdbms
*/
public function setExcludeObjects(OracleRdbms $excludeObjects)
{
$this->excludeObjects = $excludeObjects;
}
/**
* @return OracleRdbms
*/
public function getExcludeObjects()
{
return $this->excludeObjects;
}
/**
* @param OracleRdbms
*/
public function setIncludeObjects(OracleRdbms $includeObjects)
{
$this->includeObjects = $includeObjects;
}
/**
* @return OracleRdbms
*/
public function getIncludeObjects()
{
return $this->includeObjects;
}
/**
* @param LogMiner
*/
public function setLogMiner(LogMiner $logMiner)
{
$this->logMiner = $logMiner;
}
/**
* @return LogMiner
*/
public function getLogMiner()
{
return $this->logMiner;
}
/**
* @param int
*/
public function setMaxConcurrentBackfillTasks($maxConcurrentBackfillTasks)
{
$this->maxConcurrentBackfillTasks = $maxConcurrentBackfillTasks;
}
/**
* @return int
*/
public function getMaxConcurrentBackfillTasks()
{
return $this->maxConcurrentBackfillTasks;
}
/**
* @param int
*/
public function setMaxConcurrentCdcTasks($maxConcurrentCdcTasks)
{
$this->maxConcurrentCdcTasks = $maxConcurrentCdcTasks;
}
/**
* @return int
*/
public function getMaxConcurrentCdcTasks()
{
return $this->maxConcurrentCdcTasks;
}
/**
* @param StreamLargeObjects
*/
public function setStreamLargeObjects(StreamLargeObjects $streamLargeObjects)
{
$this->streamLargeObjects = $streamLargeObjects;
}
/**
* @return StreamLargeObjects
*/
public function getStreamLargeObjects()
{
return $this->streamLargeObjects;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleSourceConfig::class, 'Google_Service_Datastream_OracleSourceConfig');

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\Datastream;
class OracleSslConfig extends \Google\Model
{
/**
* @var string
*/
public $caCertificate;
/**
* @var bool
*/
public $caCertificateSet;
/**
* @param string
*/
public function setCaCertificate($caCertificate)
{
$this->caCertificate = $caCertificate;
}
/**
* @return string
*/
public function getCaCertificate()
{
return $this->caCertificate;
}
/**
* @param bool
*/
public function setCaCertificateSet($caCertificateSet)
{
$this->caCertificateSet = $caCertificateSet;
}
/**
* @return bool
*/
public function getCaCertificateSet()
{
return $this->caCertificateSet;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleSslConfig::class, 'Google_Service_Datastream_OracleSslConfig');

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\Datastream;
class OracleTable extends \Google\Collection
{
protected $collection_key = 'oracleColumns';
protected $oracleColumnsType = OracleColumn::class;
protected $oracleColumnsDataType = 'array';
/**
* @var string
*/
public $table;
/**
* @param OracleColumn[]
*/
public function setOracleColumns($oracleColumns)
{
$this->oracleColumns = $oracleColumns;
}
/**
* @return OracleColumn[]
*/
public function getOracleColumns()
{
return $this->oracleColumns;
}
/**
* @param string
*/
public function setTable($table)
{
$this->table = $table;
}
/**
* @return string
*/
public function getTable()
{
return $this->table;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OracleTable::class, 'Google_Service_Datastream_OracleTable');

View File

@@ -0,0 +1,170 @@
<?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\Datastream;
class PostgresqlColumn extends \Google\Model
{
/**
* @var string
*/
public $column;
/**
* @var string
*/
public $dataType;
/**
* @var int
*/
public $length;
/**
* @var bool
*/
public $nullable;
/**
* @var int
*/
public $ordinalPosition;
/**
* @var int
*/
public $precision;
/**
* @var bool
*/
public $primaryKey;
/**
* @var int
*/
public $scale;
/**
* @param string
*/
public function setColumn($column)
{
$this->column = $column;
}
/**
* @return string
*/
public function getColumn()
{
return $this->column;
}
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param int
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return int
*/
public function getLength()
{
return $this->length;
}
/**
* @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 bool
*/
public function setPrimaryKey($primaryKey)
{
$this->primaryKey = $primaryKey;
}
/**
* @return bool
*/
public function getPrimaryKey()
{
return $this->primaryKey;
}
/**
* @param int
*/
public function setScale($scale)
{
$this->scale = $scale;
}
/**
* @return int
*/
public function getScale()
{
return $this->scale;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PostgresqlColumn::class, 'Google_Service_Datastream_PostgresqlColumn');

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\Datastream;
class PostgresqlObjectIdentifier extends \Google\Model
{
/**
* @var string
*/
public $schema;
/**
* @var string
*/
public $table;
/**
* @param string
*/
public function setSchema($schema)
{
$this->schema = $schema;
}
/**
* @return string
*/
public function getSchema()
{
return $this->schema;
}
/**
* @param string
*/
public function setTable($table)
{
$this->table = $table;
}
/**
* @return string
*/
public function getTable()
{
return $this->table;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PostgresqlObjectIdentifier::class, 'Google_Service_Datastream_PostgresqlObjectIdentifier');

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\Datastream;
class PostgresqlProfile extends \Google\Model
{
/**
* @var string
*/
public $database;
/**
* @var string
*/
public $hostname;
/**
* @var string
*/
public $password;
/**
* @var int
*/
public $port;
/**
* @var string
*/
public $username;
/**
* @param string
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* @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 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(PostgresqlProfile::class, 'Google_Service_Datastream_PostgresqlProfile');

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\Datastream;
class PostgresqlRdbms extends \Google\Collection
{
protected $collection_key = 'postgresqlSchemas';
protected $postgresqlSchemasType = PostgresqlSchema::class;
protected $postgresqlSchemasDataType = 'array';
/**
* @param PostgresqlSchema[]
*/
public function setPostgresqlSchemas($postgresqlSchemas)
{
$this->postgresqlSchemas = $postgresqlSchemas;
}
/**
* @return PostgresqlSchema[]
*/
public function getPostgresqlSchemas()
{
return $this->postgresqlSchemas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PostgresqlRdbms::class, 'Google_Service_Datastream_PostgresqlRdbms');

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\Datastream;
class PostgresqlSchema extends \Google\Collection
{
protected $collection_key = 'postgresqlTables';
protected $postgresqlTablesType = PostgresqlTable::class;
protected $postgresqlTablesDataType = 'array';
/**
* @var string
*/
public $schema;
/**
* @param PostgresqlTable[]
*/
public function setPostgresqlTables($postgresqlTables)
{
$this->postgresqlTables = $postgresqlTables;
}
/**
* @return PostgresqlTable[]
*/
public function getPostgresqlTables()
{
return $this->postgresqlTables;
}
/**
* @param string
*/
public function setSchema($schema)
{
$this->schema = $schema;
}
/**
* @return string
*/
public function getSchema()
{
return $this->schema;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PostgresqlSchema::class, 'Google_Service_Datastream_PostgresqlSchema');

View File

@@ -0,0 +1,112 @@
<?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\Datastream;
class PostgresqlSourceConfig extends \Google\Model
{
protected $excludeObjectsType = PostgresqlRdbms::class;
protected $excludeObjectsDataType = '';
protected $includeObjectsType = PostgresqlRdbms::class;
protected $includeObjectsDataType = '';
/**
* @var int
*/
public $maxConcurrentBackfillTasks;
/**
* @var string
*/
public $publication;
/**
* @var string
*/
public $replicationSlot;
/**
* @param PostgresqlRdbms
*/
public function setExcludeObjects(PostgresqlRdbms $excludeObjects)
{
$this->excludeObjects = $excludeObjects;
}
/**
* @return PostgresqlRdbms
*/
public function getExcludeObjects()
{
return $this->excludeObjects;
}
/**
* @param PostgresqlRdbms
*/
public function setIncludeObjects(PostgresqlRdbms $includeObjects)
{
$this->includeObjects = $includeObjects;
}
/**
* @return PostgresqlRdbms
*/
public function getIncludeObjects()
{
return $this->includeObjects;
}
/**
* @param int
*/
public function setMaxConcurrentBackfillTasks($maxConcurrentBackfillTasks)
{
$this->maxConcurrentBackfillTasks = $maxConcurrentBackfillTasks;
}
/**
* @return int
*/
public function getMaxConcurrentBackfillTasks()
{
return $this->maxConcurrentBackfillTasks;
}
/**
* @param string
*/
public function setPublication($publication)
{
$this->publication = $publication;
}
/**
* @return string
*/
public function getPublication()
{
return $this->publication;
}
/**
* @param string
*/
public function setReplicationSlot($replicationSlot)
{
$this->replicationSlot = $replicationSlot;
}
/**
* @return string
*/
public function getReplicationSlot()
{
return $this->replicationSlot;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PostgresqlSourceConfig::class, 'Google_Service_Datastream_PostgresqlSourceConfig');

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\Datastream;
class PostgresqlTable extends \Google\Collection
{
protected $collection_key = 'postgresqlColumns';
protected $postgresqlColumnsType = PostgresqlColumn::class;
protected $postgresqlColumnsDataType = 'array';
/**
* @var string
*/
public $table;
/**
* @param PostgresqlColumn[]
*/
public function setPostgresqlColumns($postgresqlColumns)
{
$this->postgresqlColumns = $postgresqlColumns;
}
/**
* @return PostgresqlColumn[]
*/
public function getPostgresqlColumns()
{
return $this->postgresqlColumns;
}
/**
* @param string
*/
public function setTable($table)
{
$this->table = $table;
}
/**
* @return string
*/
public function getTable()
{
return $this->table;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PostgresqlTable::class, 'Google_Service_Datastream_PostgresqlTable');

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\Datastream;
class PrivateConnection extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
protected $errorType = Error::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 Error
*/
public function setError(Error $error)
{
$this->error = $error;
}
/**
* @return Error
*/
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_Datastream_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\Datastream;
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_Datastream_PrivateConnectivity');

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\Datastream\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $datastreamService = new Google\Service\Datastream(...);
* $projects = $datastreamService->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_Datastream_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\Datastream\Resource;
use Google\Service\Datastream\FetchStaticIpsResponse;
use Google\Service\Datastream\ListLocationsResponse;
use Google\Service\Datastream\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $datastreamService = new Google\Service\Datastream(...);
* $locations = $datastreamService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* The FetchStaticIps API call exposes the static IP addresses used by
* Datastream. (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, will likely not be
* specified.
* @opt_param string pageToken A page token, received from a previous
* `ListStaticIps` call. will likely not be specified.
* @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_Datastream_Resource_ProjectsLocations');

View File

@@ -0,0 +1,199 @@
<?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\Datastream\Resource;
use Google\Service\Datastream\ConnectionProfile;
use Google\Service\Datastream\DiscoverConnectionProfileRequest;
use Google\Service\Datastream\DiscoverConnectionProfileResponse;
use Google\Service\Datastream\ListConnectionProfilesResponse;
use Google\Service\Datastream\Operation;
/**
* The "connectionProfiles" collection of methods.
* Typical usage is:
* <code>
* $datastreamService = new Google\Service\Datastream(...);
* $connectionProfiles = $datastreamService->projects_locations_connectionProfiles;
* </code>
*/
class ProjectsLocationsConnectionProfiles extends \Google\Service\Resource
{
/**
* Use this method to create a connection profile in a project and location.
* (connectionProfiles.create)
*
* @param string $parent Required. The parent that owns the collection of
* ConnectionProfiles.
* @param ConnectionProfile $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string connectionProfileId Required. The connection profile
* identifier.
* @opt_param bool force Optional. Create the connection profile without
* validating it.
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server will guarantee that for at least 60 minutes since the first request.
* For example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments. The request ID must be a
* valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param bool validateOnly Optional. Only validate the connection profile,
* but don't create any resources. The default is false.
* @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);
}
/**
* Use this method to delete a connection profile. (connectionProfiles.delete)
*
* @param string $name Required. The name of the connection profile resource to
* delete.
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server will guarantee that for at least 60 minutes after the first request.
* For example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments. The request ID must be a
* valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @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);
}
/**
* Use this method to discover a connection profile. The discover API call
* exposes the data objects and metadata belonging to the profile. Typically, a
* request returns children data objects of a parent data object that's
* optionally supplied in the request. (connectionProfiles.discover)
*
* @param string $parent Required. The parent resource of the connection profile
* type. Must be in the format `projects/locations`.
* @param DiscoverConnectionProfileRequest $postBody
* @param array $optParams Optional parameters.
* @return DiscoverConnectionProfileResponse
* @throws \Google\Service\Exception
*/
public function discover($parent, DiscoverConnectionProfileRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('discover', [$params], DiscoverConnectionProfileResponse::class);
}
/**
* Use this method to get details about a connection profile.
* (connectionProfiles.get)
*
* @param string $name Required. The 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);
}
/**
* Use this method to list connection profiles created in a project and
* location. (connectionProfiles.listProjectsLocationsConnectionProfiles)
*
* @param string $parent Required. The parent that owns the collection of
* connection profiles.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Filter request.
* @opt_param string orderBy Order by fields for the result.
* @opt_param int pageSize Maximum number of connection profiles to return. If
* unspecified, at most 50 connection profiles will be returned. The maximum
* value is 1000; values above 1000 will be coerced to 1000.
* @opt_param string pageToken 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);
}
/**
* Use this method to update the parameters of a connection profile.
* (connectionProfiles.patch)
*
* @param string $name Output only. Identifier. The resource's name.
* @param ConnectionProfile $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool force Optional. Update the connection profile without
* validating it.
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server will guarantee that for at least 60 minutes since the first request.
* For example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments. The request ID must be a
* valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Optional. Field mask is used to specify the
* fields to be overwritten in the ConnectionProfile resource by the update. The
* fields specified in the update_mask are relative to the resource, not the
* full request. A field will be overwritten if it is in the mask. If the user
* does not provide a mask then all fields will be overwritten.
* @opt_param bool validateOnly Optional. Only validate the connection profile,
* but don't update any resources. The default is false.
* @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);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsConnectionProfiles::class, 'Google_Service_Datastream_Resource_ProjectsLocationsConnectionProfiles');

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\Datastream\Resource;
use Google\Service\Datastream\CancelOperationRequest;
use Google\Service\Datastream\DatastreamEmpty;
use Google\Service\Datastream\ListOperationsResponse;
use Google\Service\Datastream\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $datastreamService = new Google\Service\Datastream(...);
* $operations = $datastreamService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return DatastreamEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], DatastreamEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return DatastreamEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], DatastreamEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_Datastream_Resource_ProjectsLocationsOperations');

View File

@@ -0,0 +1,142 @@
<?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\Datastream\Resource;
use Google\Service\Datastream\ListPrivateConnectionsResponse;
use Google\Service\Datastream\Operation;
use Google\Service\Datastream\PrivateConnection;
/**
* The "privateConnections" collection of methods.
* Typical usage is:
* <code>
* $datastreamService = new Google\Service\Datastream(...);
* $privateConnections = $datastreamService->projects_locations_privateConnections;
* </code>
*/
class ProjectsLocationsPrivateConnections extends \Google\Service\Resource
{
/**
* Use this method to create a private connectivity configuration.
* (privateConnections.create)
*
* @param string $parent Required. The parent that owns the collection of
* PrivateConnections.
* @param PrivateConnection $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool force Optional. If set to true, will skip validations.
* @opt_param string privateConnectionId Required. The private connectivity
* identifier.
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server will guarantee that for at least 60 minutes since the first request.
* For example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments. The request ID must be a
* valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, PrivateConnection $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Use this method to delete a private connectivity configuration.
* (privateConnections.delete)
*
* @param string $name Required. The name of the private connectivity
* configuration to delete.
* @param array $optParams Optional parameters.
*
* @opt_param bool force Optional. If set to true, any child routes that belong
* to this PrivateConnection will also be deleted.
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server will guarantee that for at least 60 minutes after the first request.
* For example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments. The request ID must be a
* valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @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);
}
/**
* Use this method to get details about a private connectivity configuration.
* (privateConnections.get)
*
* @param string $name Required. The name of the private connectivity
* configuration to get.
* @param array $optParams Optional parameters.
* @return PrivateConnection
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], PrivateConnection::class);
}
/**
* Use this method to list private connectivity configurations in a project and
* location. (privateConnections.listProjectsLocationsPrivateConnections)
*
* @param string $parent Required. The parent that owns the collection of
* private connectivity configurations.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Filter request.
* @opt_param string orderBy Order by fields for the result.
* @opt_param int pageSize Maximum number of private connectivity configurations
* to return. If unspecified, at most 50 private connectivity configurations
* that will be returned. The maximum value is 1000; values above 1000 will be
* coerced to 1000.
* @opt_param string pageToken Page token received from a previous
* `ListPrivateConnections` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListPrivateConnections`
* must match the call that provided the page token.
* @return ListPrivateConnectionsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsPrivateConnections($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListPrivateConnectionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsPrivateConnections::class, 'Google_Service_Datastream_Resource_ProjectsLocationsPrivateConnections');

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\Datastream\Resource;
use Google\Service\Datastream\ListRoutesResponse;
use Google\Service\Datastream\Operation;
use Google\Service\Datastream\Route;
/**
* The "routes" collection of methods.
* Typical usage is:
* <code>
* $datastreamService = new Google\Service\Datastream(...);
* $routes = $datastreamService->projects_locations_privateConnections_routes;
* </code>
*/
class ProjectsLocationsPrivateConnectionsRoutes extends \Google\Service\Resource
{
/**
* Use this method to create a route for a private connectivity configuration in
* a project and location. (routes.create)
*
* @param string $parent Required. The parent that owns the collection of
* Routes.
* @param Route $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server will guarantee that for at least 60 minutes since the first request.
* For example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments. The request ID must be a
* valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string routeId Required. The Route identifier.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, Route $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Use this method to delete a route. (routes.delete)
*
* @param string $name Required. The name of the Route resource to delete.
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server will guarantee that for at least 60 minutes after the first request.
* For example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments. The request ID must be a
* valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @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);
}
/**
* Use this method to get details about a route. (routes.get)
*
* @param string $name Required. The name of the Route resource to get.
* @param array $optParams Optional parameters.
* @return Route
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Route::class);
}
/**
* Use this method to list routes created for a private connectivity
* configuration in a project and location.
* (routes.listProjectsLocationsPrivateConnectionsRoutes)
*
* @param string $parent Required. The parent that owns the collection of
* Routess.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Filter request.
* @opt_param string orderBy Order by fields for the result.
* @opt_param int pageSize Maximum number of Routes to return. The service may
* return fewer than this value. If unspecified, at most 50 Routes will be
* returned. The maximum value is 1000; values above 1000 will be coerced to
* 1000.
* @opt_param string pageToken Page token received from a previous `ListRoutes`
* call. Provide this to retrieve the subsequent page. When paginating, all
* other parameters provided to `ListRoutes` must match the call that provided
* the page token.
* @return ListRoutesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsPrivateConnectionsRoutes($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListRoutesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsPrivateConnectionsRoutes::class, 'Google_Service_Datastream_Resource_ProjectsLocationsPrivateConnectionsRoutes');

View File

@@ -0,0 +1,188 @@
<?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\Datastream\Resource;
use Google\Service\Datastream\ListStreamsResponse;
use Google\Service\Datastream\Operation;
use Google\Service\Datastream\RunStreamRequest;
use Google\Service\Datastream\Stream;
/**
* The "streams" collection of methods.
* Typical usage is:
* <code>
* $datastreamService = new Google\Service\Datastream(...);
* $streams = $datastreamService->projects_locations_streams;
* </code>
*/
class ProjectsLocationsStreams extends \Google\Service\Resource
{
/**
* Use this method to create a stream. (streams.create)
*
* @param string $parent Required. The parent that owns the collection of
* streams.
* @param Stream $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool force Optional. Create the stream without validating it.
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server will guarantee that for at least 60 minutes since the first request.
* For example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments. The request ID must be a
* valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string streamId Required. The stream identifier.
* @opt_param bool validateOnly Optional. Only validate the stream, but don't
* create any resources. The default is false.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, Stream $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Use this method to delete a stream. (streams.delete)
*
* @param string $name Required. The name of the stream resource to delete.
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server will guarantee that for at least 60 minutes after the first request.
* For example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments. The request ID must be a
* valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @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);
}
/**
* Use this method to get details about a stream. (streams.get)
*
* @param string $name Required. The name of the stream resource to get.
* @param array $optParams Optional parameters.
* @return Stream
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Stream::class);
}
/**
* Use this method to list streams in a project and location.
* (streams.listProjectsLocationsStreams)
*
* @param string $parent Required. The parent that owns the collection of
* streams.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Filter request.
* @opt_param string orderBy Order by fields for the result.
* @opt_param int pageSize Maximum number of streams to return. If unspecified,
* at most 50 streams will be returned. The maximum value is 1000; values above
* 1000 will be coerced to 1000.
* @opt_param string pageToken Page token received from a previous `ListStreams`
* call. Provide this to retrieve the subsequent page. When paginating, all
* other parameters provided to `ListStreams` must match the call that provided
* the page token.
* @return ListStreamsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsStreams($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListStreamsResponse::class);
}
/**
* Use this method to update the configuration of a stream. (streams.patch)
*
* @param string $name Output only. Identifier. The stream's name.
* @param Stream $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool force Optional. Update the stream without validating it.
* @opt_param string requestId Optional. A request ID to identify requests.
* Specify a unique request ID so that if you must retry your request, the
* server will know to ignore the request if it has already been completed. The
* server will guarantee that for at least 60 minutes since the first request.
* For example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments. The request ID must be a
* valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Optional. Field mask is used to specify the
* fields to be overwritten in the stream resource by the update. The fields
* specified in the update_mask are relative to the resource, not the full
* request. A field will be overwritten if it is in the mask. If the user does
* not provide a mask then all fields will be overwritten.
* @opt_param bool validateOnly Optional. Only validate the stream with the
* changes, without actually updating it. The default is false.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Stream $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Use this method to start, resume or recover a stream with a non default CDC
* strategy. (streams.run)
*
* @param string $name Required. Name of the stream resource to start, in the
* format: projects/{project_id}/locations/{location}/streams/{stream_name}
* @param RunStreamRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function run($name, RunStreamRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('run', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsStreams::class, 'Google_Service_Datastream_Resource_ProjectsLocationsStreams');

View File

@@ -0,0 +1,129 @@
<?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\Datastream\Resource;
use Google\Service\Datastream\ListStreamObjectsResponse;
use Google\Service\Datastream\LookupStreamObjectRequest;
use Google\Service\Datastream\StartBackfillJobRequest;
use Google\Service\Datastream\StartBackfillJobResponse;
use Google\Service\Datastream\StopBackfillJobRequest;
use Google\Service\Datastream\StopBackfillJobResponse;
use Google\Service\Datastream\StreamObject;
/**
* The "objects" collection of methods.
* Typical usage is:
* <code>
* $datastreamService = new Google\Service\Datastream(...);
* $objects = $datastreamService->projects_locations_streams_objects;
* </code>
*/
class ProjectsLocationsStreamsObjects extends \Google\Service\Resource
{
/**
* Use this method to get details about a stream object. (objects.get)
*
* @param string $name Required. The name of the stream object resource to get.
* @param array $optParams Optional parameters.
* @return StreamObject
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], StreamObject::class);
}
/**
* Use this method to list the objects of a specific stream.
* (objects.listProjectsLocationsStreamsObjects)
*
* @param string $parent Required. The parent stream that owns the collection of
* objects.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum number of objects to return. Default is 50.
* The maximum value is 1000; values above 1000 will be coerced to 1000.
* @opt_param string pageToken Page token received from a previous
* `ListStreamObjectsRequest` call. Provide this to retrieve the subsequent
* page. When paginating, all other parameters provided to
* `ListStreamObjectsRequest` must match the call that provided the page token.
* @return ListStreamObjectsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsStreamsObjects($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListStreamObjectsResponse::class);
}
/**
* Use this method to look up a stream object by its source object identifier.
* (objects.lookup)
*
* @param string $parent Required. The parent stream that owns the collection of
* objects.
* @param LookupStreamObjectRequest $postBody
* @param array $optParams Optional parameters.
* @return StreamObject
* @throws \Google\Service\Exception
*/
public function lookup($parent, LookupStreamObjectRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('lookup', [$params], StreamObject::class);
}
/**
* Use this method to start a backfill job for the specified stream object.
* (objects.startBackfillJob)
*
* @param string $object Required. The name of the stream object resource to
* start a backfill job for.
* @param StartBackfillJobRequest $postBody
* @param array $optParams Optional parameters.
* @return StartBackfillJobResponse
* @throws \Google\Service\Exception
*/
public function startBackfillJob($object, StartBackfillJobRequest $postBody, $optParams = [])
{
$params = ['object' => $object, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('startBackfillJob', [$params], StartBackfillJobResponse::class);
}
/**
* Use this method to stop a backfill job for the specified stream object.
* (objects.stopBackfillJob)
*
* @param string $object Required. The name of the stream object resource to
* stop the backfill job for.
* @param StopBackfillJobRequest $postBody
* @param array $optParams Optional parameters.
* @return StopBackfillJobResponse
* @throws \Google\Service\Exception
*/
public function stopBackfillJob($object, StopBackfillJobRequest $postBody, $optParams = [])
{
$params = ['object' => $object, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('stopBackfillJob', [$params], StopBackfillJobResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsStreamsObjects::class, 'Google_Service_Datastream_Resource_ProjectsLocationsStreamsObjects');

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\Datastream;
class Route extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $destinationAddress;
/**
* @var int
*/
public $destinationPort;
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDestinationAddress($destinationAddress)
{
$this->destinationAddress = $destinationAddress;
}
/**
* @return string
*/
public function getDestinationAddress()
{
return $this->destinationAddress;
}
/**
* @param int
*/
public function setDestinationPort($destinationPort)
{
$this->destinationPort = $destinationPort;
}
/**
* @return int
*/
public function getDestinationPort()
{
return $this->destinationPort;
}
/**
* @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 setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @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(Route::class, 'Google_Service_Datastream_Route');

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\Datastream;
class RunStreamRequest extends \Google\Model
{
protected $cdcStrategyType = CdcStrategy::class;
protected $cdcStrategyDataType = '';
/**
* @var bool
*/
public $force;
/**
* @param CdcStrategy
*/
public function setCdcStrategy(CdcStrategy $cdcStrategy)
{
$this->cdcStrategy = $cdcStrategy;
}
/**
* @return CdcStrategy
*/
public function getCdcStrategy()
{
return $this->cdcStrategy;
}
/**
* @param bool
*/
public function setForce($force)
{
$this->force = $force;
}
/**
* @return bool
*/
public function getForce()
{
return $this->force;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RunStreamRequest::class, 'Google_Service_Datastream_RunStreamRequest');

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\Datastream;
class SingleTargetDataset extends \Google\Model
{
/**
* @var string
*/
public $datasetId;
/**
* @param string
*/
public function setDatasetId($datasetId)
{
$this->datasetId = $datasetId;
}
/**
* @return string
*/
public function getDatasetId()
{
return $this->datasetId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SingleTargetDataset::class, 'Google_Service_Datastream_SingleTargetDataset');

View File

@@ -0,0 +1,108 @@
<?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\Datastream;
class SourceConfig extends \Google\Model
{
protected $mysqlSourceConfigType = MysqlSourceConfig::class;
protected $mysqlSourceConfigDataType = '';
protected $oracleSourceConfigType = OracleSourceConfig::class;
protected $oracleSourceConfigDataType = '';
protected $postgresqlSourceConfigType = PostgresqlSourceConfig::class;
protected $postgresqlSourceConfigDataType = '';
/**
* @var string
*/
public $sourceConnectionProfile;
protected $sqlServerSourceConfigType = SqlServerSourceConfig::class;
protected $sqlServerSourceConfigDataType = '';
/**
* @param MysqlSourceConfig
*/
public function setMysqlSourceConfig(MysqlSourceConfig $mysqlSourceConfig)
{
$this->mysqlSourceConfig = $mysqlSourceConfig;
}
/**
* @return MysqlSourceConfig
*/
public function getMysqlSourceConfig()
{
return $this->mysqlSourceConfig;
}
/**
* @param OracleSourceConfig
*/
public function setOracleSourceConfig(OracleSourceConfig $oracleSourceConfig)
{
$this->oracleSourceConfig = $oracleSourceConfig;
}
/**
* @return OracleSourceConfig
*/
public function getOracleSourceConfig()
{
return $this->oracleSourceConfig;
}
/**
* @param PostgresqlSourceConfig
*/
public function setPostgresqlSourceConfig(PostgresqlSourceConfig $postgresqlSourceConfig)
{
$this->postgresqlSourceConfig = $postgresqlSourceConfig;
}
/**
* @return PostgresqlSourceConfig
*/
public function getPostgresqlSourceConfig()
{
return $this->postgresqlSourceConfig;
}
/**
* @param string
*/
public function setSourceConnectionProfile($sourceConnectionProfile)
{
$this->sourceConnectionProfile = $sourceConnectionProfile;
}
/**
* @return string
*/
public function getSourceConnectionProfile()
{
return $this->sourceConnectionProfile;
}
/**
* @param SqlServerSourceConfig
*/
public function setSqlServerSourceConfig(SqlServerSourceConfig $sqlServerSourceConfig)
{
$this->sqlServerSourceConfig = $sqlServerSourceConfig;
}
/**
* @return SqlServerSourceConfig
*/
public function getSqlServerSourceConfig()
{
return $this->sqlServerSourceConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SourceConfig::class, 'Google_Service_Datastream_SourceConfig');

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\Datastream;
class SourceHierarchyDatasets extends \Google\Model
{
protected $datasetTemplateType = DatasetTemplate::class;
protected $datasetTemplateDataType = '';
/**
* @param DatasetTemplate
*/
public function setDatasetTemplate(DatasetTemplate $datasetTemplate)
{
$this->datasetTemplate = $datasetTemplate;
}
/**
* @return DatasetTemplate
*/
public function getDatasetTemplate()
{
return $this->datasetTemplate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SourceHierarchyDatasets::class, 'Google_Service_Datastream_SourceHierarchyDatasets');

View File

@@ -0,0 +1,90 @@
<?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\Datastream;
class SourceObjectIdentifier extends \Google\Model
{
protected $mysqlIdentifierType = MysqlObjectIdentifier::class;
protected $mysqlIdentifierDataType = '';
protected $oracleIdentifierType = OracleObjectIdentifier::class;
protected $oracleIdentifierDataType = '';
protected $postgresqlIdentifierType = PostgresqlObjectIdentifier::class;
protected $postgresqlIdentifierDataType = '';
protected $sqlServerIdentifierType = SqlServerObjectIdentifier::class;
protected $sqlServerIdentifierDataType = '';
/**
* @param MysqlObjectIdentifier
*/
public function setMysqlIdentifier(MysqlObjectIdentifier $mysqlIdentifier)
{
$this->mysqlIdentifier = $mysqlIdentifier;
}
/**
* @return MysqlObjectIdentifier
*/
public function getMysqlIdentifier()
{
return $this->mysqlIdentifier;
}
/**
* @param OracleObjectIdentifier
*/
public function setOracleIdentifier(OracleObjectIdentifier $oracleIdentifier)
{
$this->oracleIdentifier = $oracleIdentifier;
}
/**
* @return OracleObjectIdentifier
*/
public function getOracleIdentifier()
{
return $this->oracleIdentifier;
}
/**
* @param PostgresqlObjectIdentifier
*/
public function setPostgresqlIdentifier(PostgresqlObjectIdentifier $postgresqlIdentifier)
{
$this->postgresqlIdentifier = $postgresqlIdentifier;
}
/**
* @return PostgresqlObjectIdentifier
*/
public function getPostgresqlIdentifier()
{
return $this->postgresqlIdentifier;
}
/**
* @param SqlServerObjectIdentifier
*/
public function setSqlServerIdentifier(SqlServerObjectIdentifier $sqlServerIdentifier)
{
$this->sqlServerIdentifier = $sqlServerIdentifier;
}
/**
* @return SqlServerObjectIdentifier
*/
public function getSqlServerIdentifier()
{
return $this->sqlServerIdentifier;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SourceObjectIdentifier::class, 'Google_Service_Datastream_SourceObjectIdentifier');

View File

@@ -0,0 +1,74 @@
<?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\Datastream;
class SpecificStartPosition extends \Google\Model
{
protected $mysqlLogPositionType = MysqlLogPosition::class;
protected $mysqlLogPositionDataType = '';
protected $oracleScnPositionType = OracleScnPosition::class;
protected $oracleScnPositionDataType = '';
protected $sqlServerLsnPositionType = SqlServerLsnPosition::class;
protected $sqlServerLsnPositionDataType = '';
/**
* @param MysqlLogPosition
*/
public function setMysqlLogPosition(MysqlLogPosition $mysqlLogPosition)
{
$this->mysqlLogPosition = $mysqlLogPosition;
}
/**
* @return MysqlLogPosition
*/
public function getMysqlLogPosition()
{
return $this->mysqlLogPosition;
}
/**
* @param OracleScnPosition
*/
public function setOracleScnPosition(OracleScnPosition $oracleScnPosition)
{
$this->oracleScnPosition = $oracleScnPosition;
}
/**
* @return OracleScnPosition
*/
public function getOracleScnPosition()
{
return $this->oracleScnPosition;
}
/**
* @param SqlServerLsnPosition
*/
public function setSqlServerLsnPosition(SqlServerLsnPosition $sqlServerLsnPosition)
{
$this->sqlServerLsnPosition = $sqlServerLsnPosition;
}
/**
* @return SqlServerLsnPosition
*/
public function getSqlServerLsnPosition()
{
return $this->sqlServerLsnPosition;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SpecificStartPosition::class, 'Google_Service_Datastream_SpecificStartPosition');

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\Datastream;
class SqlServerChangeTables extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SqlServerChangeTables::class, 'Google_Service_Datastream_SqlServerChangeTables');

View File

@@ -0,0 +1,170 @@
<?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\Datastream;
class SqlServerColumn extends \Google\Model
{
/**
* @var string
*/
public $column;
/**
* @var string
*/
public $dataType;
/**
* @var int
*/
public $length;
/**
* @var bool
*/
public $nullable;
/**
* @var int
*/
public $ordinalPosition;
/**
* @var int
*/
public $precision;
/**
* @var bool
*/
public $primaryKey;
/**
* @var int
*/
public $scale;
/**
* @param string
*/
public function setColumn($column)
{
$this->column = $column;
}
/**
* @return string
*/
public function getColumn()
{
return $this->column;
}
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param int
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return int
*/
public function getLength()
{
return $this->length;
}
/**
* @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 bool
*/
public function setPrimaryKey($primaryKey)
{
$this->primaryKey = $primaryKey;
}
/**
* @return bool
*/
public function getPrimaryKey()
{
return $this->primaryKey;
}
/**
* @param int
*/
public function setScale($scale)
{
$this->scale = $scale;
}
/**
* @return int
*/
public function getScale()
{
return $this->scale;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SqlServerColumn::class, 'Google_Service_Datastream_SqlServerColumn');

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\Datastream;
class SqlServerLsnPosition extends \Google\Model
{
/**
* @var string
*/
public $lsn;
/**
* @param string
*/
public function setLsn($lsn)
{
$this->lsn = $lsn;
}
/**
* @return string
*/
public function getLsn()
{
return $this->lsn;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SqlServerLsnPosition::class, 'Google_Service_Datastream_SqlServerLsnPosition');

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\Datastream;
class SqlServerObjectIdentifier extends \Google\Model
{
/**
* @var string
*/
public $schema;
/**
* @var string
*/
public $table;
/**
* @param string
*/
public function setSchema($schema)
{
$this->schema = $schema;
}
/**
* @return string
*/
public function getSchema()
{
return $this->schema;
}
/**
* @param string
*/
public function setTable($table)
{
$this->table = $table;
}
/**
* @return string
*/
public function getTable()
{
return $this->table;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SqlServerObjectIdentifier::class, 'Google_Service_Datastream_SqlServerObjectIdentifier');

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\Datastream;
class SqlServerProfile extends \Google\Model
{
/**
* @var string
*/
public $database;
/**
* @var string
*/
public $hostname;
/**
* @var string
*/
public $password;
/**
* @var int
*/
public $port;
/**
* @var string
*/
public $username;
/**
* @param string
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* @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 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(SqlServerProfile::class, 'Google_Service_Datastream_SqlServerProfile');

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\Datastream;
class SqlServerRdbms extends \Google\Collection
{
protected $collection_key = 'schemas';
protected $schemasType = SqlServerSchema::class;
protected $schemasDataType = 'array';
/**
* @param SqlServerSchema[]
*/
public function setSchemas($schemas)
{
$this->schemas = $schemas;
}
/**
* @return SqlServerSchema[]
*/
public function getSchemas()
{
return $this->schemas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SqlServerRdbms::class, 'Google_Service_Datastream_SqlServerRdbms');

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\Datastream;
class SqlServerSchema extends \Google\Collection
{
protected $collection_key = 'tables';
/**
* @var string
*/
public $schema;
protected $tablesType = SqlServerTable::class;
protected $tablesDataType = 'array';
/**
* @param string
*/
public function setSchema($schema)
{
$this->schema = $schema;
}
/**
* @return string
*/
public function getSchema()
{
return $this->schema;
}
/**
* @param SqlServerTable[]
*/
public function setTables($tables)
{
$this->tables = $tables;
}
/**
* @return SqlServerTable[]
*/
public function getTables()
{
return $this->tables;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SqlServerSchema::class, 'Google_Service_Datastream_SqlServerSchema');

View File

@@ -0,0 +1,126 @@
<?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\Datastream;
class SqlServerSourceConfig extends \Google\Model
{
protected $changeTablesType = SqlServerChangeTables::class;
protected $changeTablesDataType = '';
protected $excludeObjectsType = SqlServerRdbms::class;
protected $excludeObjectsDataType = '';
protected $includeObjectsType = SqlServerRdbms::class;
protected $includeObjectsDataType = '';
/**
* @var int
*/
public $maxConcurrentBackfillTasks;
/**
* @var int
*/
public $maxConcurrentCdcTasks;
protected $transactionLogsType = SqlServerTransactionLogs::class;
protected $transactionLogsDataType = '';
/**
* @param SqlServerChangeTables
*/
public function setChangeTables(SqlServerChangeTables $changeTables)
{
$this->changeTables = $changeTables;
}
/**
* @return SqlServerChangeTables
*/
public function getChangeTables()
{
return $this->changeTables;
}
/**
* @param SqlServerRdbms
*/
public function setExcludeObjects(SqlServerRdbms $excludeObjects)
{
$this->excludeObjects = $excludeObjects;
}
/**
* @return SqlServerRdbms
*/
public function getExcludeObjects()
{
return $this->excludeObjects;
}
/**
* @param SqlServerRdbms
*/
public function setIncludeObjects(SqlServerRdbms $includeObjects)
{
$this->includeObjects = $includeObjects;
}
/**
* @return SqlServerRdbms
*/
public function getIncludeObjects()
{
return $this->includeObjects;
}
/**
* @param int
*/
public function setMaxConcurrentBackfillTasks($maxConcurrentBackfillTasks)
{
$this->maxConcurrentBackfillTasks = $maxConcurrentBackfillTasks;
}
/**
* @return int
*/
public function getMaxConcurrentBackfillTasks()
{
return $this->maxConcurrentBackfillTasks;
}
/**
* @param int
*/
public function setMaxConcurrentCdcTasks($maxConcurrentCdcTasks)
{
$this->maxConcurrentCdcTasks = $maxConcurrentCdcTasks;
}
/**
* @return int
*/
public function getMaxConcurrentCdcTasks()
{
return $this->maxConcurrentCdcTasks;
}
/**
* @param SqlServerTransactionLogs
*/
public function setTransactionLogs(SqlServerTransactionLogs $transactionLogs)
{
$this->transactionLogs = $transactionLogs;
}
/**
* @return SqlServerTransactionLogs
*/
public function getTransactionLogs()
{
return $this->transactionLogs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SqlServerSourceConfig::class, 'Google_Service_Datastream_SqlServerSourceConfig');

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\Datastream;
class SqlServerTable extends \Google\Collection
{
protected $collection_key = 'columns';
protected $columnsType = SqlServerColumn::class;
protected $columnsDataType = 'array';
/**
* @var string
*/
public $table;
/**
* @param SqlServerColumn[]
*/
public function setColumns($columns)
{
$this->columns = $columns;
}
/**
* @return SqlServerColumn[]
*/
public function getColumns()
{
return $this->columns;
}
/**
* @param string
*/
public function setTable($table)
{
$this->table = $table;
}
/**
* @return string
*/
public function getTable()
{
return $this->table;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SqlServerTable::class, 'Google_Service_Datastream_SqlServerTable');

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\Datastream;
class SqlServerTransactionLogs extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SqlServerTransactionLogs::class, 'Google_Service_Datastream_SqlServerTransactionLogs');

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\Datastream;
class StartBackfillJobRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StartBackfillJobRequest::class, 'Google_Service_Datastream_StartBackfillJobRequest');

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