gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\OracleDatabase;
class AllConnectionStrings extends \Google\Model
{
/**
* Output only. The database service provides the highest level of resources
* to each SQL statement.
*
* @var string
*/
public $high;
/**
* Output only. The database service provides the least level of resources to
* each SQL statement.
*
* @var string
*/
public $low;
/**
* Output only. The database service provides a lower level of resources to
* each SQL statement.
*
* @var string
*/
public $medium;
/**
* Output only. The database service provides the highest level of resources
* to each SQL statement.
*
* @param string $high
*/
public function setHigh($high)
{
$this->high = $high;
}
/**
* @return string
*/
public function getHigh()
{
return $this->high;
}
/**
* Output only. The database service provides the least level of resources to
* each SQL statement.
*
* @param string $low
*/
public function setLow($low)
{
$this->low = $low;
}
/**
* @return string
*/
public function getLow()
{
return $this->low;
}
/**
* Output only. The database service provides a lower level of resources to
* each SQL statement.
*
* @param string $medium
*/
public function setMedium($medium)
{
$this->medium = $medium;
}
/**
* @return string
*/
public function getMedium()
{
return $this->medium;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllConnectionStrings::class, 'Google_Service_OracleDatabase_AllConnectionStrings');
@@ -0,0 +1,172 @@
<?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\OracleDatabase;
class AmazonS3IcebergStorage extends \Google\Model
{
/**
* Scheme type not specified.
*/
public const SCHEME_TYPE_SCHEME_TYPE_UNSPECIFIED = 'SCHEME_TYPE_UNSPECIFIED';
/**
* S3 scheme.
*/
public const SCHEME_TYPE_S3 = 'S3';
/**
* S3A scheme.
*/
public const SCHEME_TYPE_S3A = 'S3A';
/**
* Required. The access key ID of Amazon S3.
*
* @var string
*/
public $accessKeyId;
/**
* Required. The bucket of Amazon S3.
*
* @var string
*/
public $bucket;
/**
* Optional. The endpoint of Amazon S3.
*
* @var string
*/
public $endpoint;
/**
* Required. The region of Amazon S3.
*
* @var string
*/
public $region;
/**
* Required. The scheme type of Amazon S3.
*
* @var string
*/
public $schemeType;
/**
* Optional. The secret access key of Amazon S3.
*
* @var string
*/
public $secretAccessKeySecret;
/**
* Required. The access key ID of Amazon S3.
*
* @param string $accessKeyId
*/
public function setAccessKeyId($accessKeyId)
{
$this->accessKeyId = $accessKeyId;
}
/**
* @return string
*/
public function getAccessKeyId()
{
return $this->accessKeyId;
}
/**
* Required. The bucket of Amazon S3.
*
* @param string $bucket
*/
public function setBucket($bucket)
{
$this->bucket = $bucket;
}
/**
* @return string
*/
public function getBucket()
{
return $this->bucket;
}
/**
* Optional. The endpoint of Amazon S3.
*
* @param string $endpoint
*/
public function setEndpoint($endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return string
*/
public function getEndpoint()
{
return $this->endpoint;
}
/**
* Required. The region of Amazon S3.
*
* @param string $region
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* Required. The scheme type of Amazon S3.
*
* Accepted values: SCHEME_TYPE_UNSPECIFIED, S3, S3A
*
* @param self::SCHEME_TYPE_* $schemeType
*/
public function setSchemeType($schemeType)
{
$this->schemeType = $schemeType;
}
/**
* @return self::SCHEME_TYPE_*
*/
public function getSchemeType()
{
return $this->schemeType;
}
/**
* Optional. The secret access key of Amazon S3.
*
* @param string $secretAccessKeySecret
*/
public function setSecretAccessKeySecret($secretAccessKeySecret)
{
$this->secretAccessKeySecret = $secretAccessKeySecret;
}
/**
* @return string
*/
public function getSecretAccessKeySecret()
{
return $this->secretAccessKeySecret;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AmazonS3IcebergStorage::class, 'Google_Service_OracleDatabase_AmazonS3IcebergStorage');
@@ -0,0 +1,416 @@
<?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\OracleDatabase;
class AutonomousDatabase extends \Google\Collection
{
protected $collection_key = 'peerAutonomousDatabases';
/**
* Optional. Immutable. The password for the default ADMIN user. Note: Only
* one of `admin_password_secret_version` or `admin_password` can be
* populated.
*
* @var string
*/
public $adminPassword;
/**
* Optional. Immutable. The resource name of a secret version in Secret
* Manager which contains the database admin user's password. Format:
* projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of
* `admin_password_secret_version` or `admin_password` can be populated.
*
* @var string
*/
public $adminPasswordSecretVersion;
/**
* Optional. Immutable. The subnet CIDR range for the Autonomous Database.
*
* @var string
*/
public $cidr;
/**
* Output only. The date and time that the Autonomous Database was created.
*
* @var string
*/
public $createTime;
/**
* Optional. Immutable. The name of the Autonomous Database. The database name
* must be unique in the project. The name must begin with a letter and can
* contain a maximum of 30 alphanumeric characters.
*
* @var string
*/
public $database;
/**
* Output only. List of supported GCP region to clone the Autonomous Database
* for disaster recovery. Format: `project/{project}/locations/{location}`.
*
* @var string[]
*/
public $disasterRecoverySupportedLocations;
/**
* Optional. Immutable. The display name for the Autonomous Database. The name
* does not have to be unique within your project.
*
* @var string
*/
public $displayName;
/**
* Output only. The ID of the subscription entitlement associated with the
* Autonomous Database.
*
* @var string
*/
public $entitlementId;
/**
* Optional. The labels or tags associated with the Autonomous Database.
*
* @var string[]
*/
public $labels;
/**
* Identifier. The name of the Autonomous Database resource in the following
* format: projects/{project}/locations/{region}/autonomousDatabases/{autonomo
* us_database}
*
* @var string
*/
public $name;
/**
* Optional. Immutable. The name of the VPC network used by the Autonomous
* Database in the following format:
* projects/{project}/global/networks/{network}
*
* @var string
*/
public $network;
/**
* Optional. Immutable. The name of the OdbNetwork associated with the
* Autonomous Database. Format:
* projects/{project}/locations/{location}/odbNetworks/{odb_network} It is
* optional but if specified, this should match the parent ODBNetwork of the
* OdbSubnet.
*
* @var string
*/
public $odbNetwork;
/**
* Optional. Immutable. The name of the OdbSubnet associated with the
* Autonomous Database. Format: projects/{project}/locations/{location}/odbNet
* works/{odb_network}/odbSubnets/{odb_subnet}
*
* @var string
*/
public $odbSubnet;
/**
* Output only. The peer Autonomous Database names of the given Autonomous
* Database.
*
* @var string[]
*/
public $peerAutonomousDatabases;
protected $propertiesType = AutonomousDatabaseProperties::class;
protected $propertiesDataType = '';
protected $sourceConfigType = SourceConfig::class;
protected $sourceConfigDataType = '';
/**
* Optional. Immutable. The password for the default ADMIN user. Note: Only
* one of `admin_password_secret_version` or `admin_password` can be
* populated.
*
* @param string $adminPassword
*/
public function setAdminPassword($adminPassword)
{
$this->adminPassword = $adminPassword;
}
/**
* @return string
*/
public function getAdminPassword()
{
return $this->adminPassword;
}
/**
* Optional. Immutable. The resource name of a secret version in Secret
* Manager which contains the database admin user's password. Format:
* projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of
* `admin_password_secret_version` or `admin_password` can be populated.
*
* @param string $adminPasswordSecretVersion
*/
public function setAdminPasswordSecretVersion($adminPasswordSecretVersion)
{
$this->adminPasswordSecretVersion = $adminPasswordSecretVersion;
}
/**
* @return string
*/
public function getAdminPasswordSecretVersion()
{
return $this->adminPasswordSecretVersion;
}
/**
* Optional. Immutable. The subnet CIDR range for the Autonomous Database.
*
* @param string $cidr
*/
public function setCidr($cidr)
{
$this->cidr = $cidr;
}
/**
* @return string
*/
public function getCidr()
{
return $this->cidr;
}
/**
* Output only. The date and time that the Autonomous Database was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Immutable. The name of the Autonomous Database. The database name
* must be unique in the project. The name must begin with a letter and can
* contain a maximum of 30 alphanumeric characters.
*
* @param string $database
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* Output only. List of supported GCP region to clone the Autonomous Database
* for disaster recovery. Format: `project/{project}/locations/{location}`.
*
* @param string[] $disasterRecoverySupportedLocations
*/
public function setDisasterRecoverySupportedLocations($disasterRecoverySupportedLocations)
{
$this->disasterRecoverySupportedLocations = $disasterRecoverySupportedLocations;
}
/**
* @return string[]
*/
public function getDisasterRecoverySupportedLocations()
{
return $this->disasterRecoverySupportedLocations;
}
/**
* Optional. Immutable. The display name for the Autonomous Database. The name
* does not have to be unique within your project.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. The ID of the subscription entitlement associated with the
* Autonomous Database.
*
* @param string $entitlementId
*/
public function setEntitlementId($entitlementId)
{
$this->entitlementId = $entitlementId;
}
/**
* @return string
*/
public function getEntitlementId()
{
return $this->entitlementId;
}
/**
* Optional. The labels or tags associated with the Autonomous Database.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Identifier. The name of the Autonomous Database resource in the following
* format: projects/{project}/locations/{region}/autonomousDatabases/{autonomo
* us_database}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Immutable. The name of the VPC network used by the Autonomous
* Database in the following format:
* projects/{project}/global/networks/{network}
*
* @param string $network
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* Optional. Immutable. The name of the OdbNetwork associated with the
* Autonomous Database. Format:
* projects/{project}/locations/{location}/odbNetworks/{odb_network} It is
* optional but if specified, this should match the parent ODBNetwork of the
* OdbSubnet.
*
* @param string $odbNetwork
*/
public function setOdbNetwork($odbNetwork)
{
$this->odbNetwork = $odbNetwork;
}
/**
* @return string
*/
public function getOdbNetwork()
{
return $this->odbNetwork;
}
/**
* Optional. Immutable. The name of the OdbSubnet associated with the
* Autonomous Database. Format: projects/{project}/locations/{location}/odbNet
* works/{odb_network}/odbSubnets/{odb_subnet}
*
* @param string $odbSubnet
*/
public function setOdbSubnet($odbSubnet)
{
$this->odbSubnet = $odbSubnet;
}
/**
* @return string
*/
public function getOdbSubnet()
{
return $this->odbSubnet;
}
/**
* Output only. The peer Autonomous Database names of the given Autonomous
* Database.
*
* @param string[] $peerAutonomousDatabases
*/
public function setPeerAutonomousDatabases($peerAutonomousDatabases)
{
$this->peerAutonomousDatabases = $peerAutonomousDatabases;
}
/**
* @return string[]
*/
public function getPeerAutonomousDatabases()
{
return $this->peerAutonomousDatabases;
}
/**
* Optional. The properties of the Autonomous Database.
*
* @param AutonomousDatabaseProperties $properties
*/
public function setProperties(AutonomousDatabaseProperties $properties)
{
$this->properties = $properties;
}
/**
* @return AutonomousDatabaseProperties
*/
public function getProperties()
{
return $this->properties;
}
/**
* Optional. Immutable. The source Autonomous Database configuration for the
* standby Autonomous Database. The source Autonomous Database is configured
* while creating the Peer Autonomous Database and can't be updated after
* creation.
*
* @param SourceConfig $sourceConfig
*/
public function setSourceConfig(SourceConfig $sourceConfig)
{
$this->sourceConfig = $sourceConfig;
}
/**
* @return SourceConfig
*/
public function getSourceConfig()
{
return $this->sourceConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutonomousDatabase::class, 'Google_Service_OracleDatabase_AutonomousDatabase');
@@ -0,0 +1,70 @@
<?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\OracleDatabase;
class AutonomousDatabaseApex extends \Google\Model
{
/**
* Output only. The Oracle APEX Application Development version.
*
* @var string
*/
public $apexVersion;
/**
* Output only. The Oracle REST Data Services (ORDS) version.
*
* @var string
*/
public $ordsVersion;
/**
* Output only. The Oracle APEX Application Development version.
*
* @param string $apexVersion
*/
public function setApexVersion($apexVersion)
{
$this->apexVersion = $apexVersion;
}
/**
* @return string
*/
public function getApexVersion()
{
return $this->apexVersion;
}
/**
* Output only. The Oracle REST Data Services (ORDS) version.
*
* @param string $ordsVersion
*/
public function setOrdsVersion($ordsVersion)
{
$this->ordsVersion = $ordsVersion;
}
/**
* @return string
*/
public function getOrdsVersion()
{
return $this->ordsVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutonomousDatabaseApex::class, 'Google_Service_OracleDatabase_AutonomousDatabaseApex');
@@ -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\OracleDatabase;
class AutonomousDatabaseBackup extends \Google\Model
{
/**
* Required. The name of the Autonomous Database resource for which the backup
* is being created. Format: projects/{project}/locations/{region}/autonomousD
* atabases/{autonomous_database}
*
* @var string
*/
public $autonomousDatabase;
/**
* Optional. User friendly name for the Backup. The name does not have to be
* unique.
*
* @var string
*/
public $displayName;
/**
* Optional. labels or tags associated with the resource.
*
* @var string[]
*/
public $labels;
/**
* Identifier. The name of the Autonomous Database Backup resource with the
* format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{au
* tonomous_database_backup}
*
* @var string
*/
public $name;
protected $propertiesType = AutonomousDatabaseBackupProperties::class;
protected $propertiesDataType = '';
/**
* Required. The name of the Autonomous Database resource for which the backup
* is being created. Format: projects/{project}/locations/{region}/autonomousD
* atabases/{autonomous_database}
*
* @param string $autonomousDatabase
*/
public function setAutonomousDatabase($autonomousDatabase)
{
$this->autonomousDatabase = $autonomousDatabase;
}
/**
* @return string
*/
public function getAutonomousDatabase()
{
return $this->autonomousDatabase;
}
/**
* Optional. User friendly name for the Backup. The name does not have to be
* unique.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. labels or tags associated with the resource.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Identifier. The name of the Autonomous Database Backup resource with the
* format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{au
* tonomous_database_backup}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Various properties of the backup.
*
* @param AutonomousDatabaseBackupProperties $properties
*/
public function setProperties(AutonomousDatabaseBackupProperties $properties)
{
$this->properties = $properties;
}
/**
* @return AutonomousDatabaseBackupProperties
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutonomousDatabaseBackup::class, 'Google_Service_OracleDatabase_AutonomousDatabaseBackup');
@@ -0,0 +1,533 @@
<?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\OracleDatabase;
class AutonomousDatabaseBackupProperties extends \Google\Model
{
/**
* Default unspecified value.
*/
public const LIFECYCLE_STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Indicates that the resource is in creating state.
*/
public const LIFECYCLE_STATE_CREATING = 'CREATING';
/**
* Indicates that the resource is in active state.
*/
public const LIFECYCLE_STATE_ACTIVE = 'ACTIVE';
/**
* Indicates that the resource is in deleting state.
*/
public const LIFECYCLE_STATE_DELETING = 'DELETING';
/**
* Indicates that the resource is in deleted state.
*/
public const LIFECYCLE_STATE_DELETED = 'DELETED';
/**
* Indicates that the resource is in failed state.
*/
public const LIFECYCLE_STATE_FAILED = 'FAILED';
/**
* Indicates that the resource is in updating state.
*/
public const LIFECYCLE_STATE_UPDATING = 'UPDATING';
/**
* Default unspecified value.
*/
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* Incremental backups.
*/
public const TYPE_INCREMENTAL = 'INCREMENTAL';
/**
* Full backups.
*/
public const TYPE_FULL = 'FULL';
/**
* Long term backups.
*/
public const TYPE_LONG_TERM = 'LONG_TERM';
/**
* Output only. Timestamp until when the backup will be available.
*
* @var string
*/
public $availableTillTime;
/**
* Output only. The OCID of the compartment.
*
* @var string
*/
public $compartmentId;
/**
* Output only. The quantity of data in the database, in terabytes.
*
* @var float
*/
public $databaseSizeTb;
/**
* Output only. A valid Oracle Database version for Autonomous Database.
*
* @var string
*/
public $dbVersion;
/**
* Output only. The date and time the backup completed.
*
* @var string
*/
public $endTime;
/**
* Output only. Indicates if the backup is automatic or user initiated.
*
* @var bool
*/
public $isAutomaticBackup;
/**
* Output only. Indicates if the backup is long term backup.
*
* @var bool
*/
public $isLongTermBackup;
/**
* Output only. Indicates if the backup can be used to restore the Autonomous
* Database.
*
* @var bool
*/
public $isRestorable;
/**
* Optional. The OCID of the key store of Oracle Vault.
*
* @var string
*/
public $keyStoreId;
/**
* Optional. The wallet name for Oracle Key Vault.
*
* @var string
*/
public $keyStoreWallet;
/**
* Optional. The OCID of the key container that is used as the master
* encryption key in database transparent data encryption (TDE) operations.
*
* @var string
*/
public $kmsKeyId;
/**
* Optional. The OCID of the key container version that is used in database
* transparent data encryption (TDE) operations KMS Key can have multiple key
* versions. If none is specified, the current key version (latest) of the Key
* Id is used for the operation. Autonomous Database Serverless does not use
* key versions, hence is not applicable for Autonomous Database Serverless
* instances.
*
* @var string
*/
public $kmsKeyVersionId;
/**
* Output only. Additional information about the current lifecycle state.
*
* @var string
*/
public $lifecycleDetails;
/**
* Output only. The lifecycle state of the backup.
*
* @var string
*/
public $lifecycleState;
/**
* Output only. OCID of the Autonomous Database backup.
* https://docs.oracle.com/en-
* us/iaas/Content/General/Concepts/identifiers.htm#Oracle
*
* @var string
*/
public $ocid;
/**
* Optional. Retention period in days for the backup.
*
* @var int
*/
public $retentionPeriodDays;
/**
* Output only. The backup size in terabytes.
*
* @var float
*/
public $sizeTb;
/**
* Output only. The date and time the backup started.
*
* @var string
*/
public $startTime;
/**
* Output only. The type of the backup.
*
* @var string
*/
public $type;
/**
* Optional. The OCID of the vault.
*
* @var string
*/
public $vaultId;
/**
* Output only. Timestamp until when the backup will be available.
*
* @param string $availableTillTime
*/
public function setAvailableTillTime($availableTillTime)
{
$this->availableTillTime = $availableTillTime;
}
/**
* @return string
*/
public function getAvailableTillTime()
{
return $this->availableTillTime;
}
/**
* Output only. The OCID of the compartment.
*
* @param string $compartmentId
*/
public function setCompartmentId($compartmentId)
{
$this->compartmentId = $compartmentId;
}
/**
* @return string
*/
public function getCompartmentId()
{
return $this->compartmentId;
}
/**
* Output only. The quantity of data in the database, in terabytes.
*
* @param float $databaseSizeTb
*/
public function setDatabaseSizeTb($databaseSizeTb)
{
$this->databaseSizeTb = $databaseSizeTb;
}
/**
* @return float
*/
public function getDatabaseSizeTb()
{
return $this->databaseSizeTb;
}
/**
* Output only. A valid Oracle Database version for Autonomous Database.
*
* @param string $dbVersion
*/
public function setDbVersion($dbVersion)
{
$this->dbVersion = $dbVersion;
}
/**
* @return string
*/
public function getDbVersion()
{
return $this->dbVersion;
}
/**
* Output only. The date and time the backup completed.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Indicates if the backup is automatic or user initiated.
*
* @param bool $isAutomaticBackup
*/
public function setIsAutomaticBackup($isAutomaticBackup)
{
$this->isAutomaticBackup = $isAutomaticBackup;
}
/**
* @return bool
*/
public function getIsAutomaticBackup()
{
return $this->isAutomaticBackup;
}
/**
* Output only. Indicates if the backup is long term backup.
*
* @param bool $isLongTermBackup
*/
public function setIsLongTermBackup($isLongTermBackup)
{
$this->isLongTermBackup = $isLongTermBackup;
}
/**
* @return bool
*/
public function getIsLongTermBackup()
{
return $this->isLongTermBackup;
}
/**
* Output only. Indicates if the backup can be used to restore the Autonomous
* Database.
*
* @param bool $isRestorable
*/
public function setIsRestorable($isRestorable)
{
$this->isRestorable = $isRestorable;
}
/**
* @return bool
*/
public function getIsRestorable()
{
return $this->isRestorable;
}
/**
* Optional. The OCID of the key store of Oracle Vault.
*
* @param string $keyStoreId
*/
public function setKeyStoreId($keyStoreId)
{
$this->keyStoreId = $keyStoreId;
}
/**
* @return string
*/
public function getKeyStoreId()
{
return $this->keyStoreId;
}
/**
* Optional. The wallet name for Oracle Key Vault.
*
* @param string $keyStoreWallet
*/
public function setKeyStoreWallet($keyStoreWallet)
{
$this->keyStoreWallet = $keyStoreWallet;
}
/**
* @return string
*/
public function getKeyStoreWallet()
{
return $this->keyStoreWallet;
}
/**
* Optional. The OCID of the key container that is used as the master
* encryption key in database transparent data encryption (TDE) operations.
*
* @param string $kmsKeyId
*/
public function setKmsKeyId($kmsKeyId)
{
$this->kmsKeyId = $kmsKeyId;
}
/**
* @return string
*/
public function getKmsKeyId()
{
return $this->kmsKeyId;
}
/**
* Optional. The OCID of the key container version that is used in database
* transparent data encryption (TDE) operations KMS Key can have multiple key
* versions. If none is specified, the current key version (latest) of the Key
* Id is used for the operation. Autonomous Database Serverless does not use
* key versions, hence is not applicable for Autonomous Database Serverless
* instances.
*
* @param string $kmsKeyVersionId
*/
public function setKmsKeyVersionId($kmsKeyVersionId)
{
$this->kmsKeyVersionId = $kmsKeyVersionId;
}
/**
* @return string
*/
public function getKmsKeyVersionId()
{
return $this->kmsKeyVersionId;
}
/**
* Output only. Additional information about the current lifecycle state.
*
* @param string $lifecycleDetails
*/
public function setLifecycleDetails($lifecycleDetails)
{
$this->lifecycleDetails = $lifecycleDetails;
}
/**
* @return string
*/
public function getLifecycleDetails()
{
return $this->lifecycleDetails;
}
/**
* Output only. The lifecycle state of the backup.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING, DELETED,
* FAILED, UPDATING
*
* @param self::LIFECYCLE_STATE_* $lifecycleState
*/
public function setLifecycleState($lifecycleState)
{
$this->lifecycleState = $lifecycleState;
}
/**
* @return self::LIFECYCLE_STATE_*
*/
public function getLifecycleState()
{
return $this->lifecycleState;
}
/**
* Output only. OCID of the Autonomous Database backup.
* https://docs.oracle.com/en-
* us/iaas/Content/General/Concepts/identifiers.htm#Oracle
*
* @param string $ocid
*/
public function setOcid($ocid)
{
$this->ocid = $ocid;
}
/**
* @return string
*/
public function getOcid()
{
return $this->ocid;
}
/**
* Optional. Retention period in days for the backup.
*
* @param int $retentionPeriodDays
*/
public function setRetentionPeriodDays($retentionPeriodDays)
{
$this->retentionPeriodDays = $retentionPeriodDays;
}
/**
* @return int
*/
public function getRetentionPeriodDays()
{
return $this->retentionPeriodDays;
}
/**
* Output only. The backup size in terabytes.
*
* @param float $sizeTb
*/
public function setSizeTb($sizeTb)
{
$this->sizeTb = $sizeTb;
}
/**
* @return float
*/
public function getSizeTb()
{
return $this->sizeTb;
}
/**
* Output only. The date and time the backup started.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* Output only. The type of the backup.
*
* Accepted values: TYPE_UNSPECIFIED, INCREMENTAL, FULL, LONG_TERM
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* Optional. The OCID of the vault.
*
* @param string $vaultId
*/
public function setVaultId($vaultId)
{
$this->vaultId = $vaultId;
}
/**
* @return string
*/
public function getVaultId()
{
return $this->vaultId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutonomousDatabaseBackupProperties::class, 'Google_Service_OracleDatabase_AutonomousDatabaseBackupProperties');
@@ -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\OracleDatabase;
class AutonomousDatabaseCharacterSet extends \Google\Model
{
/**
* Character set type is not specified.
*/
public const CHARACTER_SET_TYPE_CHARACTER_SET_TYPE_UNSPECIFIED = 'CHARACTER_SET_TYPE_UNSPECIFIED';
/**
* Character set type is set to database.
*/
public const CHARACTER_SET_TYPE_DATABASE = 'DATABASE';
/**
* Character set type is set to national.
*/
public const CHARACTER_SET_TYPE_NATIONAL = 'NATIONAL';
/**
* Output only. The character set name for the Autonomous Database which is
* the ID in the resource name.
*
* @var string
*/
public $characterSet;
/**
* Output only. The character set type for the Autonomous Database.
*
* @var string
*/
public $characterSetType;
/**
* Identifier. The name of the Autonomous Database Character Set resource in
* the following format: projects/{project}/locations/{region}/autonomousDatab
* aseCharacterSets/{autonomous_database_character_set}
*
* @var string
*/
public $name;
/**
* Output only. The character set name for the Autonomous Database which is
* the ID in the resource name.
*
* @param string $characterSet
*/
public function setCharacterSet($characterSet)
{
$this->characterSet = $characterSet;
}
/**
* @return string
*/
public function getCharacterSet()
{
return $this->characterSet;
}
/**
* Output only. The character set type for the Autonomous Database.
*
* Accepted values: CHARACTER_SET_TYPE_UNSPECIFIED, DATABASE, NATIONAL
*
* @param self::CHARACTER_SET_TYPE_* $characterSetType
*/
public function setCharacterSetType($characterSetType)
{
$this->characterSetType = $characterSetType;
}
/**
* @return self::CHARACTER_SET_TYPE_*
*/
public function getCharacterSetType()
{
return $this->characterSetType;
}
/**
* Identifier. The name of the Autonomous Database Character Set resource in
* the following format: projects/{project}/locations/{region}/autonomousDatab
* aseCharacterSets/{autonomous_database_character_set}
*
* @param string $name
*/
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(AutonomousDatabaseCharacterSet::class, 'Google_Service_OracleDatabase_AutonomousDatabaseCharacterSet');
@@ -0,0 +1,163 @@
<?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\OracleDatabase;
class AutonomousDatabaseConnectionStrings extends \Google\Collection
{
protected $collection_key = 'profiles';
protected $allConnectionStringsType = AllConnectionStrings::class;
protected $allConnectionStringsDataType = '';
/**
* Output only. The database service provides the least level of resources to
* each SQL statement, but supports the most number of concurrent SQL
* statements.
*
* @var string
*/
public $dedicated;
/**
* Output only. The database service provides the highest level of resources
* to each SQL statement.
*
* @var string
*/
public $high;
/**
* Output only. The database service provides the least level of resources to
* each SQL statement.
*
* @var string
*/
public $low;
/**
* Output only. The database service provides a lower level of resources to
* each SQL statement.
*
* @var string
*/
public $medium;
protected $profilesType = DatabaseConnectionStringProfile::class;
protected $profilesDataType = 'array';
/**
* Output only. Returns all connection strings that can be used to connect to
* the Autonomous Database.
*
* @param AllConnectionStrings $allConnectionStrings
*/
public function setAllConnectionStrings(AllConnectionStrings $allConnectionStrings)
{
$this->allConnectionStrings = $allConnectionStrings;
}
/**
* @return AllConnectionStrings
*/
public function getAllConnectionStrings()
{
return $this->allConnectionStrings;
}
/**
* Output only. The database service provides the least level of resources to
* each SQL statement, but supports the most number of concurrent SQL
* statements.
*
* @param string $dedicated
*/
public function setDedicated($dedicated)
{
$this->dedicated = $dedicated;
}
/**
* @return string
*/
public function getDedicated()
{
return $this->dedicated;
}
/**
* Output only. The database service provides the highest level of resources
* to each SQL statement.
*
* @param string $high
*/
public function setHigh($high)
{
$this->high = $high;
}
/**
* @return string
*/
public function getHigh()
{
return $this->high;
}
/**
* Output only. The database service provides the least level of resources to
* each SQL statement.
*
* @param string $low
*/
public function setLow($low)
{
$this->low = $low;
}
/**
* @return string
*/
public function getLow()
{
return $this->low;
}
/**
* Output only. The database service provides a lower level of resources to
* each SQL statement.
*
* @param string $medium
*/
public function setMedium($medium)
{
$this->medium = $medium;
}
/**
* @return string
*/
public function getMedium()
{
return $this->medium;
}
/**
* Output only. A list of connection string profiles to allow clients to
* group, filter, and select values based on the structured metadata.
*
* @param DatabaseConnectionStringProfile[] $profiles
*/
public function setProfiles($profiles)
{
$this->profiles = $profiles;
}
/**
* @return DatabaseConnectionStringProfile[]
*/
public function getProfiles()
{
return $this->profiles;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutonomousDatabaseConnectionStrings::class, 'Google_Service_OracleDatabase_AutonomousDatabaseConnectionStrings');
@@ -0,0 +1,212 @@
<?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\OracleDatabase;
class AutonomousDatabaseConnectionUrls extends \Google\Model
{
/**
* Output only. Oracle Application Express (APEX) URL.
*
* @var string
*/
public $apexUri;
/**
* Output only. The URL of the Database Transforms for the Autonomous
* Database.
*
* @var string
*/
public $databaseTransformsUri;
/**
* Output only. The URL of the Graph Studio for the Autonomous Database.
*
* @var string
*/
public $graphStudioUri;
/**
* Output only. The URL of the Oracle Machine Learning (OML) Notebook for the
* Autonomous Database.
*
* @var string
*/
public $machineLearningNotebookUri;
/**
* Output only. The URL of Machine Learning user management the Autonomous
* Database.
*
* @var string
*/
public $machineLearningUserManagementUri;
/**
* Output only. The URL of the MongoDB API for the Autonomous Database.
*
* @var string
*/
public $mongoDbUri;
/**
* Output only. The Oracle REST Data Services (ORDS) URL of the Web Access for
* the Autonomous Database.
*
* @var string
*/
public $ordsUri;
/**
* Output only. The URL of the Oracle SQL Developer Web for the Autonomous
* Database.
*
* @var string
*/
public $sqlDevWebUri;
/**
* Output only. Oracle Application Express (APEX) URL.
*
* @param string $apexUri
*/
public function setApexUri($apexUri)
{
$this->apexUri = $apexUri;
}
/**
* @return string
*/
public function getApexUri()
{
return $this->apexUri;
}
/**
* Output only. The URL of the Database Transforms for the Autonomous
* Database.
*
* @param string $databaseTransformsUri
*/
public function setDatabaseTransformsUri($databaseTransformsUri)
{
$this->databaseTransformsUri = $databaseTransformsUri;
}
/**
* @return string
*/
public function getDatabaseTransformsUri()
{
return $this->databaseTransformsUri;
}
/**
* Output only. The URL of the Graph Studio for the Autonomous Database.
*
* @param string $graphStudioUri
*/
public function setGraphStudioUri($graphStudioUri)
{
$this->graphStudioUri = $graphStudioUri;
}
/**
* @return string
*/
public function getGraphStudioUri()
{
return $this->graphStudioUri;
}
/**
* Output only. The URL of the Oracle Machine Learning (OML) Notebook for the
* Autonomous Database.
*
* @param string $machineLearningNotebookUri
*/
public function setMachineLearningNotebookUri($machineLearningNotebookUri)
{
$this->machineLearningNotebookUri = $machineLearningNotebookUri;
}
/**
* @return string
*/
public function getMachineLearningNotebookUri()
{
return $this->machineLearningNotebookUri;
}
/**
* Output only. The URL of Machine Learning user management the Autonomous
* Database.
*
* @param string $machineLearningUserManagementUri
*/
public function setMachineLearningUserManagementUri($machineLearningUserManagementUri)
{
$this->machineLearningUserManagementUri = $machineLearningUserManagementUri;
}
/**
* @return string
*/
public function getMachineLearningUserManagementUri()
{
return $this->machineLearningUserManagementUri;
}
/**
* Output only. The URL of the MongoDB API for the Autonomous Database.
*
* @param string $mongoDbUri
*/
public function setMongoDbUri($mongoDbUri)
{
$this->mongoDbUri = $mongoDbUri;
}
/**
* @return string
*/
public function getMongoDbUri()
{
return $this->mongoDbUri;
}
/**
* Output only. The Oracle REST Data Services (ORDS) URL of the Web Access for
* the Autonomous Database.
*
* @param string $ordsUri
*/
public function setOrdsUri($ordsUri)
{
$this->ordsUri = $ordsUri;
}
/**
* @return string
*/
public function getOrdsUri()
{
return $this->ordsUri;
}
/**
* Output only. The URL of the Oracle SQL Developer Web for the Autonomous
* Database.
*
* @param string $sqlDevWebUri
*/
public function setSqlDevWebUri($sqlDevWebUri)
{
$this->sqlDevWebUri = $sqlDevWebUri;
}
/**
* @return string
*/
public function getSqlDevWebUri()
{
return $this->sqlDevWebUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutonomousDatabaseConnectionUrls::class, 'Google_Service_OracleDatabase_AutonomousDatabaseConnectionUrls');
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,239 @@
<?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\OracleDatabase;
class AutonomousDatabaseStandbySummary extends \Google\Model
{
/**
* Default unspecified value.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Indicates that the Autonomous Database is in provisioning state.
*/
public const STATE_PROVISIONING = 'PROVISIONING';
/**
* Indicates that the Autonomous Database is in available state.
*/
public const STATE_AVAILABLE = 'AVAILABLE';
/**
* Indicates that the Autonomous Database is in stopping state.
*/
public const STATE_STOPPING = 'STOPPING';
/**
* Indicates that the Autonomous Database is in stopped state.
*/
public const STATE_STOPPED = 'STOPPED';
/**
* Indicates that the Autonomous Database is in starting state.
*/
public const STATE_STARTING = 'STARTING';
/**
* Indicates that the Autonomous Database is in terminating state.
*/
public const STATE_TERMINATING = 'TERMINATING';
/**
* Indicates that the Autonomous Database is in terminated state.
*/
public const STATE_TERMINATED = 'TERMINATED';
/**
* Indicates that the Autonomous Database is in unavailable state.
*/
public const STATE_UNAVAILABLE = 'UNAVAILABLE';
/**
* Indicates that the Autonomous Database restore is in progress.
*/
public const STATE_RESTORE_IN_PROGRESS = 'RESTORE_IN_PROGRESS';
/**
* Indicates that the Autonomous Database failed to restore.
*/
public const STATE_RESTORE_FAILED = 'RESTORE_FAILED';
/**
* Indicates that the Autonomous Database backup is in progress.
*/
public const STATE_BACKUP_IN_PROGRESS = 'BACKUP_IN_PROGRESS';
/**
* Indicates that the Autonomous Database scale is in progress.
*/
public const STATE_SCALE_IN_PROGRESS = 'SCALE_IN_PROGRESS';
/**
* Indicates that the Autonomous Database is available but needs attention
* state.
*/
public const STATE_AVAILABLE_NEEDS_ATTENTION = 'AVAILABLE_NEEDS_ATTENTION';
/**
* Indicates that the Autonomous Database is in updating state.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* Indicates that the Autonomous Database's maintenance is in progress state.
*/
public const STATE_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS';
/**
* Indicates that the Autonomous Database is in restarting state.
*/
public const STATE_RESTARTING = 'RESTARTING';
/**
* Indicates that the Autonomous Database is in recreating state.
*/
public const STATE_RECREATING = 'RECREATING';
/**
* Indicates that the Autonomous Database's role change is in progress state.
*/
public const STATE_ROLE_CHANGE_IN_PROGRESS = 'ROLE_CHANGE_IN_PROGRESS';
/**
* Indicates that the Autonomous Database is in upgrading state.
*/
public const STATE_UPGRADING = 'UPGRADING';
/**
* Indicates that the Autonomous Database is in inaccessible state.
*/
public const STATE_INACCESSIBLE = 'INACCESSIBLE';
/**
* Indicates that the Autonomous Database is in standby state.
*/
public const STATE_STANDBY = 'STANDBY';
/**
* Output only. The date and time the Autonomous Data Guard role was switched
* for the standby Autonomous Database.
*
* @var string
*/
public $dataGuardRoleChangedTime;
/**
* Output only. The date and time the Disaster Recovery role was switched for
* the standby Autonomous Database.
*
* @var string
*/
public $disasterRecoveryRoleChangedTime;
/**
* Output only. The amount of time, in seconds, that the data of the standby
* database lags in comparison to the data of the primary database.
*
* @var string
*/
public $lagTimeDuration;
/**
* Output only. The additional details about the current lifecycle state of
* the Autonomous Database.
*
* @var string
*/
public $lifecycleDetails;
/**
* Output only. The current lifecycle state of the Autonomous Database.
*
* @var string
*/
public $state;
/**
* Output only. The date and time the Autonomous Data Guard role was switched
* for the standby Autonomous Database.
*
* @param string $dataGuardRoleChangedTime
*/
public function setDataGuardRoleChangedTime($dataGuardRoleChangedTime)
{
$this->dataGuardRoleChangedTime = $dataGuardRoleChangedTime;
}
/**
* @return string
*/
public function getDataGuardRoleChangedTime()
{
return $this->dataGuardRoleChangedTime;
}
/**
* Output only. The date and time the Disaster Recovery role was switched for
* the standby Autonomous Database.
*
* @param string $disasterRecoveryRoleChangedTime
*/
public function setDisasterRecoveryRoleChangedTime($disasterRecoveryRoleChangedTime)
{
$this->disasterRecoveryRoleChangedTime = $disasterRecoveryRoleChangedTime;
}
/**
* @return string
*/
public function getDisasterRecoveryRoleChangedTime()
{
return $this->disasterRecoveryRoleChangedTime;
}
/**
* Output only. The amount of time, in seconds, that the data of the standby
* database lags in comparison to the data of the primary database.
*
* @param string $lagTimeDuration
*/
public function setLagTimeDuration($lagTimeDuration)
{
$this->lagTimeDuration = $lagTimeDuration;
}
/**
* @return string
*/
public function getLagTimeDuration()
{
return $this->lagTimeDuration;
}
/**
* Output only. The additional details about the current lifecycle state of
* the Autonomous Database.
*
* @param string $lifecycleDetails
*/
public function setLifecycleDetails($lifecycleDetails)
{
$this->lifecycleDetails = $lifecycleDetails;
}
/**
* @return string
*/
public function getLifecycleDetails()
{
return $this->lifecycleDetails;
}
/**
* Output only. The current lifecycle state of the Autonomous Database.
*
* Accepted values: STATE_UNSPECIFIED, PROVISIONING, AVAILABLE, STOPPING,
* STOPPED, STARTING, TERMINATING, TERMINATED, UNAVAILABLE,
* RESTORE_IN_PROGRESS, RESTORE_FAILED, BACKUP_IN_PROGRESS, SCALE_IN_PROGRESS,
* AVAILABLE_NEEDS_ATTENTION, UPDATING, MAINTENANCE_IN_PROGRESS, RESTARTING,
* RECREATING, ROLE_CHANGE_IN_PROGRESS, UPGRADING, INACCESSIBLE, STANDBY
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutonomousDatabaseStandbySummary::class, 'Google_Service_OracleDatabase_AutonomousDatabaseStandbySummary');
@@ -0,0 +1,143 @@
<?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\OracleDatabase;
class AutonomousDbVersion extends \Google\Model
{
/**
* Default unspecified value.
*/
public const DB_WORKLOAD_DB_WORKLOAD_UNSPECIFIED = 'DB_WORKLOAD_UNSPECIFIED';
/**
* Autonomous Transaction Processing database.
*/
public const DB_WORKLOAD_OLTP = 'OLTP';
/**
* Autonomous Data Warehouse database.
*/
public const DB_WORKLOAD_DW = 'DW';
/**
* Autonomous JSON Database.
*/
public const DB_WORKLOAD_AJD = 'AJD';
/**
* Autonomous Database with the Oracle APEX Application Development workload
* type.
*/
public const DB_WORKLOAD_APEX = 'APEX';
/**
* Output only. The Autonomous Database workload type.
*
* @var string
*/
public $dbWorkload;
/**
* Identifier. The name of the Autonomous Database Version resource with the
* format: projects/{project}/locations/{region}/autonomousDbVersions/{autonom
* ous_db_version}
*
* @var string
*/
public $name;
/**
* Output only. An Oracle Database version for Autonomous Database.
*
* @var string
*/
public $version;
/**
* Output only. A URL that points to a detailed description of the Autonomous
* Database version.
*
* @var string
*/
public $workloadUri;
/**
* Output only. The Autonomous Database workload type.
*
* Accepted values: DB_WORKLOAD_UNSPECIFIED, OLTP, DW, AJD, APEX
*
* @param self::DB_WORKLOAD_* $dbWorkload
*/
public function setDbWorkload($dbWorkload)
{
$this->dbWorkload = $dbWorkload;
}
/**
* @return self::DB_WORKLOAD_*
*/
public function getDbWorkload()
{
return $this->dbWorkload;
}
/**
* Identifier. The name of the Autonomous Database Version resource with the
* format: projects/{project}/locations/{region}/autonomousDbVersions/{autonom
* ous_db_version}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. An Oracle Database version for Autonomous Database.
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
/**
* Output only. A URL that points to a detailed description of the Autonomous
* Database version.
*
* @param string $workloadUri
*/
public function setWorkloadUri($workloadUri)
{
$this->workloadUri = $workloadUri;
}
/**
* @return string
*/
public function getWorkloadUri()
{
return $this->workloadUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutonomousDbVersion::class, 'Google_Service_OracleDatabase_AutonomousDbVersion');
@@ -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\OracleDatabase;
class AzureDataLakeStorageIcebergStorage extends \Google\Model
{
/**
* Optional. The account key of Azure Data Lake Storage.
*
* @var string
*/
public $accountKeySecret;
/**
* Required. The account of Azure Data Lake Storage.
*
* @var string
*/
public $azureAccount;
/**
* Required. The container of Azure Data Lake Storage.
*
* @var string
*/
public $container;
/**
* Optional. The endpoint of Azure Data Lake Storage.
*
* @var string
*/
public $endpoint;
/**
* Optional. The account key of Azure Data Lake Storage.
*
* @param string $accountKeySecret
*/
public function setAccountKeySecret($accountKeySecret)
{
$this->accountKeySecret = $accountKeySecret;
}
/**
* @return string
*/
public function getAccountKeySecret()
{
return $this->accountKeySecret;
}
/**
* Required. The account of Azure Data Lake Storage.
*
* @param string $azureAccount
*/
public function setAzureAccount($azureAccount)
{
$this->azureAccount = $azureAccount;
}
/**
* @return string
*/
public function getAzureAccount()
{
return $this->azureAccount;
}
/**
* Required. The container of Azure Data Lake Storage.
*
* @param string $container
*/
public function setContainer($container)
{
$this->container = $container;
}
/**
* @return string
*/
public function getContainer()
{
return $this->container;
}
/**
* Optional. The endpoint of Azure Data Lake Storage.
*
* @param string $endpoint
*/
public function setEndpoint($endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return string
*/
public function getEndpoint()
{
return $this->endpoint;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AzureDataLakeStorageIcebergStorage::class, 'Google_Service_OracleDatabase_AzureDataLakeStorageIcebergStorage');
@@ -0,0 +1,75 @@
<?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\OracleDatabase;
class BackupDestinationDetails extends \Google\Model
{
/**
* Default unspecified value.
*/
public const TYPE_BACKUP_DESTINATION_TYPE_UNSPECIFIED = 'BACKUP_DESTINATION_TYPE_UNSPECIFIED';
/**
* Backup destination type is NFS.
*/
public const TYPE_NFS = 'NFS';
/**
* Backup destination type is Recovery Appliance.
*/
public const TYPE_RECOVERY_APPLIANCE = 'RECOVERY_APPLIANCE';
/**
* Backup destination type is Object Store.
*/
public const TYPE_OBJECT_STORE = 'OBJECT_STORE';
/**
* Backup destination type is Local.
*/
public const TYPE_LOCAL = 'LOCAL';
/**
* Backup destination type is DBRS.
*/
public const TYPE_DBRS = 'DBRS';
/**
* Optional. The type of the database backup destination.
*
* @var string
*/
public $type;
/**
* Optional. The type of the database backup destination.
*
* Accepted values: BACKUP_DESTINATION_TYPE_UNSPECIFIED, NFS,
* RECOVERY_APPLIANCE, OBJECT_STORE, LOCAL, DBRS
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupDestinationDetails::class, 'Google_Service_OracleDatabase_BackupDestinationDetails');
@@ -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\OracleDatabase;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_OracleDatabase_CancelOperationRequest');
@@ -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\OracleDatabase;
class CloudAccountDetails extends \Google\Model
{
/**
* Output only. URL to create a new account and link.
*
* @var string
*/
public $accountCreationUri;
/**
* Output only. OCI account name.
*
* @var string
*/
public $cloudAccount;
/**
* Output only. OCI account home region.
*
* @var string
*/
public $cloudAccountHomeRegion;
/**
* Output only. URL to link an existing account.
*
* @var string
*/
public $linkExistingAccountUri;
/**
* Output only. URL to create a new account and link.
*
* @param string $accountCreationUri
*/
public function setAccountCreationUri($accountCreationUri)
{
$this->accountCreationUri = $accountCreationUri;
}
/**
* @return string
*/
public function getAccountCreationUri()
{
return $this->accountCreationUri;
}
/**
* Output only. OCI account name.
*
* @param string $cloudAccount
*/
public function setCloudAccount($cloudAccount)
{
$this->cloudAccount = $cloudAccount;
}
/**
* @return string
*/
public function getCloudAccount()
{
return $this->cloudAccount;
}
/**
* Output only. OCI account home region.
*
* @param string $cloudAccountHomeRegion
*/
public function setCloudAccountHomeRegion($cloudAccountHomeRegion)
{
$this->cloudAccountHomeRegion = $cloudAccountHomeRegion;
}
/**
* @return string
*/
public function getCloudAccountHomeRegion()
{
return $this->cloudAccountHomeRegion;
}
/**
* Output only. URL to link an existing account.
*
* @param string $linkExistingAccountUri
*/
public function setLinkExistingAccountUri($linkExistingAccountUri)
{
$this->linkExistingAccountUri = $linkExistingAccountUri;
}
/**
* @return string
*/
public function getLinkExistingAccountUri()
{
return $this->linkExistingAccountUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAccountDetails::class, 'Google_Service_OracleDatabase_CloudAccountDetails');
@@ -0,0 +1,186 @@
<?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\OracleDatabase;
class CloudExadataInfrastructure extends \Google\Model
{
/**
* Output only. The date and time that the Exadata Infrastructure was created.
*
* @var string
*/
public $createTime;
/**
* Optional. User friendly name for this resource.
*
* @var string
*/
public $displayName;
/**
* Output only. Entitlement ID of the private offer against which this
* infrastructure resource is provisioned.
*
* @var string
*/
public $entitlementId;
/**
* Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is
* hosted. Example: us-east4-b-r2. If not specified, the system will pick a
* zone based on availability.
*
* @var string
*/
public $gcpOracleZone;
/**
* Optional. Labels or tags associated with the resource.
*
* @var string[]
*/
public $labels;
/**
* Identifier. The name of the Exadata Infrastructure resource with the
* format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{
* cloud_exadata_infrastructure}
*
* @var string
*/
public $name;
protected $propertiesType = CloudExadataInfrastructureProperties::class;
protected $propertiesDataType = '';
/**
* Output only. The date and time that the Exadata Infrastructure was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. User friendly name for this resource.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. Entitlement ID of the private offer against which this
* infrastructure resource is provisioned.
*
* @param string $entitlementId
*/
public function setEntitlementId($entitlementId)
{
$this->entitlementId = $entitlementId;
}
/**
* @return string
*/
public function getEntitlementId()
{
return $this->entitlementId;
}
/**
* Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is
* hosted. Example: us-east4-b-r2. If not specified, the system will pick a
* zone based on availability.
*
* @param string $gcpOracleZone
*/
public function setGcpOracleZone($gcpOracleZone)
{
$this->gcpOracleZone = $gcpOracleZone;
}
/**
* @return string
*/
public function getGcpOracleZone()
{
return $this->gcpOracleZone;
}
/**
* Optional. Labels or tags associated with the resource.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Identifier. The name of the Exadata Infrastructure resource with the
* format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{
* cloud_exadata_infrastructure}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Various properties of the infra.
*
* @param CloudExadataInfrastructureProperties $properties
*/
public function setProperties(CloudExadataInfrastructureProperties $properties)
{
$this->properties = $properties;
}
/**
* @return CloudExadataInfrastructureProperties
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudExadataInfrastructure::class, 'Google_Service_OracleDatabase_CloudExadataInfrastructure');
@@ -0,0 +1,737 @@
<?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\OracleDatabase;
class CloudExadataInfrastructureProperties extends \Google\Collection
{
/**
* Unspecified compute model.
*/
public const COMPUTE_MODEL_COMPUTE_MODEL_UNSPECIFIED = 'COMPUTE_MODEL_UNSPECIFIED';
/**
* Abstract measure of compute resources. ECPUs are based on the number of
* cores elastically allocated from a pool of compute and storage servers.
*/
public const COMPUTE_MODEL_COMPUTE_MODEL_ECPU = 'COMPUTE_MODEL_ECPU';
/**
* Physical measure of compute resources. OCPUs are based on the physical core
* of a processor.
*/
public const COMPUTE_MODEL_COMPUTE_MODEL_OCPU = 'COMPUTE_MODEL_OCPU';
/**
* Default unspecified value.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The Exadata Infrastructure is being provisioned.
*/
public const STATE_PROVISIONING = 'PROVISIONING';
/**
* The Exadata Infrastructure is available for use.
*/
public const STATE_AVAILABLE = 'AVAILABLE';
/**
* The Exadata Infrastructure is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* The Exadata Infrastructure is being terminated.
*/
public const STATE_TERMINATING = 'TERMINATING';
/**
* The Exadata Infrastructure is terminated.
*/
public const STATE_TERMINATED = 'TERMINATED';
/**
* The Exadata Infrastructure is in failed state.
*/
public const STATE_FAILED = 'FAILED';
/**
* The Exadata Infrastructure is in maintenance.
*/
public const STATE_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS';
protected $collection_key = 'customerContacts';
/**
* Output only. The requested number of additional storage servers activated
* for the Exadata Infrastructure.
*
* @var int
*/
public $activatedStorageCount;
/**
* Output only. The requested number of additional storage servers for the
* Exadata Infrastructure.
*
* @var int
*/
public $additionalStorageCount;
/**
* Output only. The available storage can be allocated to the Exadata
* Infrastructure resource, in gigabytes (GB).
*
* @var int
*/
public $availableStorageSizeGb;
/**
* Optional. The number of compute servers for the Exadata Infrastructure.
*
* @var int
*/
public $computeCount;
/**
* Output only. The compute model of the Exadata Infrastructure.
*
* @var string
*/
public $computeModel;
/**
* Output only. The number of enabled CPU cores.
*
* @var int
*/
public $cpuCount;
protected $customerContactsType = CustomerContact::class;
protected $customerContactsDataType = 'array';
/**
* Output only. Size, in terabytes, of the DATA disk group.
*
* @var
*/
public $dataStorageSizeTb;
/**
* Output only. The database server type of the Exadata Infrastructure.
*
* @var string
*/
public $databaseServerType;
/**
* Output only. The local node storage allocated in GBs.
*
* @var int
*/
public $dbNodeStorageSizeGb;
/**
* Output only. The software version of the database servers (dom0) in the
* Exadata Infrastructure.
*
* @var string
*/
public $dbServerVersion;
protected $maintenanceWindowType = MaintenanceWindow::class;
protected $maintenanceWindowDataType = '';
/**
* Output only. The total number of CPU cores available.
*
* @var int
*/
public $maxCpuCount;
/**
* Output only. The total available DATA disk group size.
*
* @var
*/
public $maxDataStorageTb;
/**
* Output only. The total local node storage available in GBs.
*
* @var int
*/
public $maxDbNodeStorageSizeGb;
/**
* Output only. The total memory available in GBs.
*
* @var int
*/
public $maxMemoryGb;
/**
* Output only. The memory allocated in GBs.
*
* @var int
*/
public $memorySizeGb;
/**
* Output only. The monthly software version of the database servers (dom0) in
* the Exadata Infrastructure. Example: 20.1.15
*
* @var string
*/
public $monthlyDbServerVersion;
/**
* Output only. The monthly software version of the storage servers (cells) in
* the Exadata Infrastructure. Example: 20.1.15
*
* @var string
*/
public $monthlyStorageServerVersion;
/**
* Output only. The OCID of the next maintenance run.
*
* @var string
*/
public $nextMaintenanceRunId;
/**
* Output only. The time when the next maintenance run will occur.
*
* @var string
*/
public $nextMaintenanceRunTime;
/**
* Output only. The time when the next security maintenance run will occur.
*
* @var string
*/
public $nextSecurityMaintenanceRunTime;
/**
* Output only. Deep link to the OCI console to view this resource.
*
* @var string
*/
public $ociUrl;
/**
* Output only. OCID of created infra. https://docs.oracle.com/en-
* us/iaas/Content/General/Concepts/identifiers.htm#Oracle
*
* @var string
*/
public $ocid;
/**
* Required. The shape of the Exadata Infrastructure. The shape determines the
* amount of CPU, storage, and memory resources allocated to the instance.
*
* @var string
*/
public $shape;
/**
* Output only. The current lifecycle state of the Exadata Infrastructure.
*
* @var string
*/
public $state;
/**
* Optional. The number of Cloud Exadata storage servers for the Exadata
* Infrastructure.
*
* @var int
*/
public $storageCount;
/**
* Output only. The storage server type of the Exadata Infrastructure.
*
* @var string
*/
public $storageServerType;
/**
* Output only. The software version of the storage servers (cells) in the
* Exadata Infrastructure.
*
* @var string
*/
public $storageServerVersion;
/**
* Optional. The total storage allocated to the Exadata Infrastructure
* resource, in gigabytes (GB).
*
* @var int
*/
public $totalStorageSizeGb;
/**
* Output only. The requested number of additional storage servers activated
* for the Exadata Infrastructure.
*
* @param int $activatedStorageCount
*/
public function setActivatedStorageCount($activatedStorageCount)
{
$this->activatedStorageCount = $activatedStorageCount;
}
/**
* @return int
*/
public function getActivatedStorageCount()
{
return $this->activatedStorageCount;
}
/**
* Output only. The requested number of additional storage servers for the
* Exadata Infrastructure.
*
* @param int $additionalStorageCount
*/
public function setAdditionalStorageCount($additionalStorageCount)
{
$this->additionalStorageCount = $additionalStorageCount;
}
/**
* @return int
*/
public function getAdditionalStorageCount()
{
return $this->additionalStorageCount;
}
/**
* Output only. The available storage can be allocated to the Exadata
* Infrastructure resource, in gigabytes (GB).
*
* @param int $availableStorageSizeGb
*/
public function setAvailableStorageSizeGb($availableStorageSizeGb)
{
$this->availableStorageSizeGb = $availableStorageSizeGb;
}
/**
* @return int
*/
public function getAvailableStorageSizeGb()
{
return $this->availableStorageSizeGb;
}
/**
* Optional. The number of compute servers for the Exadata Infrastructure.
*
* @param int $computeCount
*/
public function setComputeCount($computeCount)
{
$this->computeCount = $computeCount;
}
/**
* @return int
*/
public function getComputeCount()
{
return $this->computeCount;
}
/**
* Output only. The compute model of the Exadata Infrastructure.
*
* Accepted values: COMPUTE_MODEL_UNSPECIFIED, COMPUTE_MODEL_ECPU,
* COMPUTE_MODEL_OCPU
*
* @param self::COMPUTE_MODEL_* $computeModel
*/
public function setComputeModel($computeModel)
{
$this->computeModel = $computeModel;
}
/**
* @return self::COMPUTE_MODEL_*
*/
public function getComputeModel()
{
return $this->computeModel;
}
/**
* Output only. The number of enabled CPU cores.
*
* @param int $cpuCount
*/
public function setCpuCount($cpuCount)
{
$this->cpuCount = $cpuCount;
}
/**
* @return int
*/
public function getCpuCount()
{
return $this->cpuCount;
}
/**
* Optional. The list of customer contacts.
*
* @param CustomerContact[] $customerContacts
*/
public function setCustomerContacts($customerContacts)
{
$this->customerContacts = $customerContacts;
}
/**
* @return CustomerContact[]
*/
public function getCustomerContacts()
{
return $this->customerContacts;
}
public function setDataStorageSizeTb($dataStorageSizeTb)
{
$this->dataStorageSizeTb = $dataStorageSizeTb;
}
public function getDataStorageSizeTb()
{
return $this->dataStorageSizeTb;
}
/**
* Output only. The database server type of the Exadata Infrastructure.
*
* @param string $databaseServerType
*/
public function setDatabaseServerType($databaseServerType)
{
$this->databaseServerType = $databaseServerType;
}
/**
* @return string
*/
public function getDatabaseServerType()
{
return $this->databaseServerType;
}
/**
* Output only. The local node storage allocated in GBs.
*
* @param int $dbNodeStorageSizeGb
*/
public function setDbNodeStorageSizeGb($dbNodeStorageSizeGb)
{
$this->dbNodeStorageSizeGb = $dbNodeStorageSizeGb;
}
/**
* @return int
*/
public function getDbNodeStorageSizeGb()
{
return $this->dbNodeStorageSizeGb;
}
/**
* Output only. The software version of the database servers (dom0) in the
* Exadata Infrastructure.
*
* @param string $dbServerVersion
*/
public function setDbServerVersion($dbServerVersion)
{
$this->dbServerVersion = $dbServerVersion;
}
/**
* @return string
*/
public function getDbServerVersion()
{
return $this->dbServerVersion;
}
/**
* Optional. Maintenance window for repair.
*
* @param MaintenanceWindow $maintenanceWindow
*/
public function setMaintenanceWindow(MaintenanceWindow $maintenanceWindow)
{
$this->maintenanceWindow = $maintenanceWindow;
}
/**
* @return MaintenanceWindow
*/
public function getMaintenanceWindow()
{
return $this->maintenanceWindow;
}
/**
* Output only. The total number of CPU cores available.
*
* @param int $maxCpuCount
*/
public function setMaxCpuCount($maxCpuCount)
{
$this->maxCpuCount = $maxCpuCount;
}
/**
* @return int
*/
public function getMaxCpuCount()
{
return $this->maxCpuCount;
}
public function setMaxDataStorageTb($maxDataStorageTb)
{
$this->maxDataStorageTb = $maxDataStorageTb;
}
public function getMaxDataStorageTb()
{
return $this->maxDataStorageTb;
}
/**
* Output only. The total local node storage available in GBs.
*
* @param int $maxDbNodeStorageSizeGb
*/
public function setMaxDbNodeStorageSizeGb($maxDbNodeStorageSizeGb)
{
$this->maxDbNodeStorageSizeGb = $maxDbNodeStorageSizeGb;
}
/**
* @return int
*/
public function getMaxDbNodeStorageSizeGb()
{
return $this->maxDbNodeStorageSizeGb;
}
/**
* Output only. The total memory available in GBs.
*
* @param int $maxMemoryGb
*/
public function setMaxMemoryGb($maxMemoryGb)
{
$this->maxMemoryGb = $maxMemoryGb;
}
/**
* @return int
*/
public function getMaxMemoryGb()
{
return $this->maxMemoryGb;
}
/**
* Output only. The memory allocated in GBs.
*
* @param int $memorySizeGb
*/
public function setMemorySizeGb($memorySizeGb)
{
$this->memorySizeGb = $memorySizeGb;
}
/**
* @return int
*/
public function getMemorySizeGb()
{
return $this->memorySizeGb;
}
/**
* Output only. The monthly software version of the database servers (dom0) in
* the Exadata Infrastructure. Example: 20.1.15
*
* @param string $monthlyDbServerVersion
*/
public function setMonthlyDbServerVersion($monthlyDbServerVersion)
{
$this->monthlyDbServerVersion = $monthlyDbServerVersion;
}
/**
* @return string
*/
public function getMonthlyDbServerVersion()
{
return $this->monthlyDbServerVersion;
}
/**
* Output only. The monthly software version of the storage servers (cells) in
* the Exadata Infrastructure. Example: 20.1.15
*
* @param string $monthlyStorageServerVersion
*/
public function setMonthlyStorageServerVersion($monthlyStorageServerVersion)
{
$this->monthlyStorageServerVersion = $monthlyStorageServerVersion;
}
/**
* @return string
*/
public function getMonthlyStorageServerVersion()
{
return $this->monthlyStorageServerVersion;
}
/**
* Output only. The OCID of the next maintenance run.
*
* @param string $nextMaintenanceRunId
*/
public function setNextMaintenanceRunId($nextMaintenanceRunId)
{
$this->nextMaintenanceRunId = $nextMaintenanceRunId;
}
/**
* @return string
*/
public function getNextMaintenanceRunId()
{
return $this->nextMaintenanceRunId;
}
/**
* Output only. The time when the next maintenance run will occur.
*
* @param string $nextMaintenanceRunTime
*/
public function setNextMaintenanceRunTime($nextMaintenanceRunTime)
{
$this->nextMaintenanceRunTime = $nextMaintenanceRunTime;
}
/**
* @return string
*/
public function getNextMaintenanceRunTime()
{
return $this->nextMaintenanceRunTime;
}
/**
* Output only. The time when the next security maintenance run will occur.
*
* @param string $nextSecurityMaintenanceRunTime
*/
public function setNextSecurityMaintenanceRunTime($nextSecurityMaintenanceRunTime)
{
$this->nextSecurityMaintenanceRunTime = $nextSecurityMaintenanceRunTime;
}
/**
* @return string
*/
public function getNextSecurityMaintenanceRunTime()
{
return $this->nextSecurityMaintenanceRunTime;
}
/**
* Output only. Deep link to the OCI console to view this resource.
*
* @param string $ociUrl
*/
public function setOciUrl($ociUrl)
{
$this->ociUrl = $ociUrl;
}
/**
* @return string
*/
public function getOciUrl()
{
return $this->ociUrl;
}
/**
* Output only. OCID of created infra. https://docs.oracle.com/en-
* us/iaas/Content/General/Concepts/identifiers.htm#Oracle
*
* @param string $ocid
*/
public function setOcid($ocid)
{
$this->ocid = $ocid;
}
/**
* @return string
*/
public function getOcid()
{
return $this->ocid;
}
/**
* Required. The shape of the Exadata Infrastructure. The shape determines the
* amount of CPU, storage, and memory resources allocated to the instance.
*
* @param string $shape
*/
public function setShape($shape)
{
$this->shape = $shape;
}
/**
* @return string
*/
public function getShape()
{
return $this->shape;
}
/**
* Output only. The current lifecycle state of the Exadata Infrastructure.
*
* Accepted values: STATE_UNSPECIFIED, PROVISIONING, AVAILABLE, UPDATING,
* TERMINATING, TERMINATED, FAILED, MAINTENANCE_IN_PROGRESS
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Optional. The number of Cloud Exadata storage servers for the Exadata
* Infrastructure.
*
* @param int $storageCount
*/
public function setStorageCount($storageCount)
{
$this->storageCount = $storageCount;
}
/**
* @return int
*/
public function getStorageCount()
{
return $this->storageCount;
}
/**
* Output only. The storage server type of the Exadata Infrastructure.
*
* @param string $storageServerType
*/
public function setStorageServerType($storageServerType)
{
$this->storageServerType = $storageServerType;
}
/**
* @return string
*/
public function getStorageServerType()
{
return $this->storageServerType;
}
/**
* Output only. The software version of the storage servers (cells) in the
* Exadata Infrastructure.
*
* @param string $storageServerVersion
*/
public function setStorageServerVersion($storageServerVersion)
{
$this->storageServerVersion = $storageServerVersion;
}
/**
* @return string
*/
public function getStorageServerVersion()
{
return $this->storageServerVersion;
}
/**
* Optional. The total storage allocated to the Exadata Infrastructure
* resource, in gigabytes (GB).
*
* @param int $totalStorageSizeGb
*/
public function setTotalStorageSizeGb($totalStorageSizeGb)
{
$this->totalStorageSizeGb = $totalStorageSizeGb;
}
/**
* @return int
*/
public function getTotalStorageSizeGb()
{
return $this->totalStorageSizeGb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudExadataInfrastructureProperties::class, 'Google_Service_OracleDatabase_CloudExadataInfrastructureProperties');
@@ -0,0 +1,355 @@
<?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\OracleDatabase;
class CloudVmCluster extends \Google\Model
{
/**
* Optional. The name of the backup OdbSubnet associated with the VM Cluster.
* Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/o
* dbSubnets/{odb_subnet}
*
* @var string
*/
public $backupOdbSubnet;
/**
* Optional. CIDR range of the backup subnet.
*
* @var string
*/
public $backupSubnetCidr;
/**
* Optional. Network settings. CIDR to use for cluster IP allocation.
*
* @var string
*/
public $cidr;
/**
* Output only. The date and time that the VM cluster was created.
*
* @var string
*/
public $createTime;
/**
* Optional. User friendly name for this resource.
*
* @var string
*/
public $displayName;
/**
* Required. The name of the Exadata Infrastructure resource on which VM
* cluster resource is created, in the following format: projects/{project}/lo
* cations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure
* }
*
* @var string
*/
public $exadataInfrastructure;
/**
* Output only. The GCP Oracle zone where Oracle CloudVmCluster is hosted.
* This will be the same as the gcp_oracle_zone of the
* CloudExadataInfrastructure. Example: us-east4-b-r2.
*
* @var string
*/
public $gcpOracleZone;
protected $identityConnectorType = IdentityConnector::class;
protected $identityConnectorDataType = '';
/**
* Optional. Labels or tags associated with the VM Cluster.
*
* @var string[]
*/
public $labels;
/**
* Identifier. The name of the VM Cluster resource with the format:
* projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
*
* @var string
*/
public $name;
/**
* Optional. The name of the VPC network. Format:
* projects/{project}/global/networks/{network}
*
* @var string
*/
public $network;
/**
* Optional. The name of the OdbNetwork associated with the VM Cluster.
* Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}
* It is optional but if specified, this should match the parent ODBNetwork of
* the odb_subnet and backup_odb_subnet.
*
* @var string
*/
public $odbNetwork;
/**
* Optional. The name of the OdbSubnet associated with the VM Cluster for IP
* allocation. Format: projects/{project}/locations/{location}/odbNetworks/{od
* b_network}/odbSubnets/{odb_subnet}
*
* @var string
*/
public $odbSubnet;
protected $propertiesType = CloudVmClusterProperties::class;
protected $propertiesDataType = '';
/**
* Optional. The name of the backup OdbSubnet associated with the VM Cluster.
* Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/o
* dbSubnets/{odb_subnet}
*
* @param string $backupOdbSubnet
*/
public function setBackupOdbSubnet($backupOdbSubnet)
{
$this->backupOdbSubnet = $backupOdbSubnet;
}
/**
* @return string
*/
public function getBackupOdbSubnet()
{
return $this->backupOdbSubnet;
}
/**
* Optional. CIDR range of the backup subnet.
*
* @param string $backupSubnetCidr
*/
public function setBackupSubnetCidr($backupSubnetCidr)
{
$this->backupSubnetCidr = $backupSubnetCidr;
}
/**
* @return string
*/
public function getBackupSubnetCidr()
{
return $this->backupSubnetCidr;
}
/**
* Optional. Network settings. CIDR to use for cluster IP allocation.
*
* @param string $cidr
*/
public function setCidr($cidr)
{
$this->cidr = $cidr;
}
/**
* @return string
*/
public function getCidr()
{
return $this->cidr;
}
/**
* Output only. The date and time that the VM cluster was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. User friendly name for this resource.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Required. The name of the Exadata Infrastructure resource on which VM
* cluster resource is created, in the following format: projects/{project}/lo
* cations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure
* }
*
* @param string $exadataInfrastructure
*/
public function setExadataInfrastructure($exadataInfrastructure)
{
$this->exadataInfrastructure = $exadataInfrastructure;
}
/**
* @return string
*/
public function getExadataInfrastructure()
{
return $this->exadataInfrastructure;
}
/**
* Output only. The GCP Oracle zone where Oracle CloudVmCluster is hosted.
* This will be the same as the gcp_oracle_zone of the
* CloudExadataInfrastructure. Example: us-east4-b-r2.
*
* @param string $gcpOracleZone
*/
public function setGcpOracleZone($gcpOracleZone)
{
$this->gcpOracleZone = $gcpOracleZone;
}
/**
* @return string
*/
public function getGcpOracleZone()
{
return $this->gcpOracleZone;
}
/**
* Output only. The identity connector details which will allow OCI to
* securely access the resources in the customer project.
*
* @param IdentityConnector $identityConnector
*/
public function setIdentityConnector(IdentityConnector $identityConnector)
{
$this->identityConnector = $identityConnector;
}
/**
* @return IdentityConnector
*/
public function getIdentityConnector()
{
return $this->identityConnector;
}
/**
* Optional. Labels or tags associated with the VM Cluster.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Identifier. The name of the VM Cluster resource with the format:
* projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. The name of the VPC network. Format:
* projects/{project}/global/networks/{network}
*
* @param string $network
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* Optional. The name of the OdbNetwork associated with the VM Cluster.
* Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}
* It is optional but if specified, this should match the parent ODBNetwork of
* the odb_subnet and backup_odb_subnet.
*
* @param string $odbNetwork
*/
public function setOdbNetwork($odbNetwork)
{
$this->odbNetwork = $odbNetwork;
}
/**
* @return string
*/
public function getOdbNetwork()
{
return $this->odbNetwork;
}
/**
* Optional. The name of the OdbSubnet associated with the VM Cluster for IP
* allocation. Format: projects/{project}/locations/{location}/odbNetworks/{od
* b_network}/odbSubnets/{odb_subnet}
*
* @param string $odbSubnet
*/
public function setOdbSubnet($odbSubnet)
{
$this->odbSubnet = $odbSubnet;
}
/**
* @return string
*/
public function getOdbSubnet()
{
return $this->odbSubnet;
}
/**
* Optional. Various properties of the VM Cluster.
*
* @param CloudVmClusterProperties $properties
*/
public function setProperties(CloudVmClusterProperties $properties)
{
$this->properties = $properties;
}
/**
* @return CloudVmClusterProperties
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudVmCluster::class, 'Google_Service_OracleDatabase_CloudVmCluster');
@@ -0,0 +1,824 @@
<?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\OracleDatabase;
class CloudVmClusterProperties extends \Google\Collection
{
/**
* Unspecified compute model.
*/
public const COMPUTE_MODEL_COMPUTE_MODEL_UNSPECIFIED = 'COMPUTE_MODEL_UNSPECIFIED';
/**
* Abstract measure of compute resources. ECPUs are based on the number of
* cores elastically allocated from a pool of compute and storage servers.
*/
public const COMPUTE_MODEL_COMPUTE_MODEL_ECPU = 'COMPUTE_MODEL_ECPU';
/**
* Physical measure of compute resources. OCPUs are based on the physical core
* of a processor.
*/
public const COMPUTE_MODEL_COMPUTE_MODEL_OCPU = 'COMPUTE_MODEL_OCPU';
/**
* Unspecified.
*/
public const DISK_REDUNDANCY_DISK_REDUNDANCY_UNSPECIFIED = 'DISK_REDUNDANCY_UNSPECIFIED';
/**
* High - 3 way mirror.
*/
public const DISK_REDUNDANCY_HIGH = 'HIGH';
/**
* Normal - 2 way mirror.
*/
public const DISK_REDUNDANCY_NORMAL = 'NORMAL';
/**
* Unspecified
*/
public const LICENSE_TYPE_LICENSE_TYPE_UNSPECIFIED = 'LICENSE_TYPE_UNSPECIFIED';
/**
* License included part of offer
*/
public const LICENSE_TYPE_LICENSE_INCLUDED = 'LICENSE_INCLUDED';
/**
* Bring your own license
*/
public const LICENSE_TYPE_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE';
/**
* Default unspecified value.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Indicates that the resource is in provisioning state.
*/
public const STATE_PROVISIONING = 'PROVISIONING';
/**
* Indicates that the resource is in available state.
*/
public const STATE_AVAILABLE = 'AVAILABLE';
/**
* Indicates that the resource is in updating state.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* Indicates that the resource is in terminating state.
*/
public const STATE_TERMINATING = 'TERMINATING';
/**
* Indicates that the resource is in terminated state.
*/
public const STATE_TERMINATED = 'TERMINATED';
/**
* Indicates that the resource is in failed state.
*/
public const STATE_FAILED = 'FAILED';
/**
* Indicates that the resource is in maintenance in progress state.
*/
public const STATE_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS';
protected $collection_key = 'sshPublicKeys';
/**
* Optional. OCI Cluster name.
*
* @var string
*/
public $clusterName;
/**
* Output only. Compartment ID of cluster.
*
* @var string
*/
public $compartmentId;
/**
* Output only. The compute model of the VM Cluster.
*
* @var string
*/
public $computeModel;
/**
* Required. Number of enabled CPU cores.
*
* @var int
*/
public $cpuCoreCount;
/**
* Optional. The data disk group size to be allocated in TBs.
*
* @var
*/
public $dataStorageSizeTb;
/**
* Optional. Local storage per VM.
*
* @var int
*/
public $dbNodeStorageSizeGb;
/**
* Optional. OCID of database servers.
*
* @var string[]
*/
public $dbServerOcids;
protected $diagnosticsDataCollectionOptionsType = DataCollectionOptions::class;
protected $diagnosticsDataCollectionOptionsDataType = '';
/**
* Optional. The type of redundancy.
*
* @var string
*/
public $diskRedundancy;
/**
* Output only. DNS listener IP.
*
* @var string
*/
public $dnsListenerIp;
/**
* Output only. Parent DNS domain where SCAN DNS and hosts names are
* qualified. ex: ocispdelegated.ocisp10jvnet.oraclevcn.com
*
* @var string
*/
public $domain;
/**
* Optional. Grid Infrastructure Version.
*
* @var string
*/
public $giVersion;
/**
* Output only. host name without domain. format: "-" with some suffix. ex:
* sp2-yi0xq where "sp2" is the hostname_prefix.
*
* @var string
*/
public $hostname;
/**
* Optional. Prefix for VM cluster host names.
*
* @var string
*/
public $hostnamePrefix;
/**
* Required. License type of VM Cluster.
*
* @var string
*/
public $licenseType;
/**
* Optional. Use local backup.
*
* @var bool
*/
public $localBackupEnabled;
/**
* Optional. Memory allocated in GBs.
*
* @var int
*/
public $memorySizeGb;
/**
* Optional. Number of database servers.
*
* @var int
*/
public $nodeCount;
/**
* Output only. Deep link to the OCI console to view this resource.
*
* @var string
*/
public $ociUrl;
/**
* Output only. Oracle Cloud Infrastructure ID of VM Cluster.
*
* @var string
*/
public $ocid;
/**
* Optional. OCPU count per VM. Minimum is 0.1.
*
* @var float
*/
public $ocpuCount;
/**
* Output only. SCAN DNS name. ex: sp2-yi0xq-
* scan.ocispdelegated.ocisp10jvnet.oraclevcn.com
*
* @var string
*/
public $scanDns;
/**
* Output only. OCID of scan DNS record.
*
* @var string
*/
public $scanDnsRecordId;
/**
* Output only. OCIDs of scan IPs.
*
* @var string[]
*/
public $scanIpIds;
/**
* Output only. SCAN listener port - TCP
*
* @var int
*/
public $scanListenerPortTcp;
/**
* Output only. SCAN listener port - TLS
*
* @var int
*/
public $scanListenerPortTcpSsl;
/**
* Output only. Shape of VM Cluster.
*
* @var string
*/
public $shape;
/**
* Optional. Use exadata sparse snapshots.
*
* @var bool
*/
public $sparseDiskgroupEnabled;
/**
* Optional. SSH public keys to be stored with cluster.
*
* @var string[]
*/
public $sshPublicKeys;
/**
* Output only. State of the cluster.
*
* @var string
*/
public $state;
/**
* Output only. The storage allocation for the disk group, in gigabytes (GB).
*
* @var int
*/
public $storageSizeGb;
/**
* Optional. Operating system version of the image.
*
* @var string
*/
public $systemVersion;
protected $timeZoneType = TimeZone::class;
protected $timeZoneDataType = '';
/**
* Optional. OCI Cluster name.
*
* @param string $clusterName
*/
public function setClusterName($clusterName)
{
$this->clusterName = $clusterName;
}
/**
* @return string
*/
public function getClusterName()
{
return $this->clusterName;
}
/**
* Output only. Compartment ID of cluster.
*
* @param string $compartmentId
*/
public function setCompartmentId($compartmentId)
{
$this->compartmentId = $compartmentId;
}
/**
* @return string
*/
public function getCompartmentId()
{
return $this->compartmentId;
}
/**
* Output only. The compute model of the VM Cluster.
*
* Accepted values: COMPUTE_MODEL_UNSPECIFIED, COMPUTE_MODEL_ECPU,
* COMPUTE_MODEL_OCPU
*
* @param self::COMPUTE_MODEL_* $computeModel
*/
public function setComputeModel($computeModel)
{
$this->computeModel = $computeModel;
}
/**
* @return self::COMPUTE_MODEL_*
*/
public function getComputeModel()
{
return $this->computeModel;
}
/**
* Required. Number of enabled CPU cores.
*
* @param int $cpuCoreCount
*/
public function setCpuCoreCount($cpuCoreCount)
{
$this->cpuCoreCount = $cpuCoreCount;
}
/**
* @return int
*/
public function getCpuCoreCount()
{
return $this->cpuCoreCount;
}
public function setDataStorageSizeTb($dataStorageSizeTb)
{
$this->dataStorageSizeTb = $dataStorageSizeTb;
}
public function getDataStorageSizeTb()
{
return $this->dataStorageSizeTb;
}
/**
* Optional. Local storage per VM.
*
* @param int $dbNodeStorageSizeGb
*/
public function setDbNodeStorageSizeGb($dbNodeStorageSizeGb)
{
$this->dbNodeStorageSizeGb = $dbNodeStorageSizeGb;
}
/**
* @return int
*/
public function getDbNodeStorageSizeGb()
{
return $this->dbNodeStorageSizeGb;
}
/**
* Optional. OCID of database servers.
*
* @param string[] $dbServerOcids
*/
public function setDbServerOcids($dbServerOcids)
{
$this->dbServerOcids = $dbServerOcids;
}
/**
* @return string[]
*/
public function getDbServerOcids()
{
return $this->dbServerOcids;
}
/**
* Optional. Data collection options for diagnostics.
*
* @param DataCollectionOptions $diagnosticsDataCollectionOptions
*/
public function setDiagnosticsDataCollectionOptions(DataCollectionOptions $diagnosticsDataCollectionOptions)
{
$this->diagnosticsDataCollectionOptions = $diagnosticsDataCollectionOptions;
}
/**
* @return DataCollectionOptions
*/
public function getDiagnosticsDataCollectionOptions()
{
return $this->diagnosticsDataCollectionOptions;
}
/**
* Optional. The type of redundancy.
*
* Accepted values: DISK_REDUNDANCY_UNSPECIFIED, HIGH, NORMAL
*
* @param self::DISK_REDUNDANCY_* $diskRedundancy
*/
public function setDiskRedundancy($diskRedundancy)
{
$this->diskRedundancy = $diskRedundancy;
}
/**
* @return self::DISK_REDUNDANCY_*
*/
public function getDiskRedundancy()
{
return $this->diskRedundancy;
}
/**
* Output only. DNS listener IP.
*
* @param string $dnsListenerIp
*/
public function setDnsListenerIp($dnsListenerIp)
{
$this->dnsListenerIp = $dnsListenerIp;
}
/**
* @return string
*/
public function getDnsListenerIp()
{
return $this->dnsListenerIp;
}
/**
* Output only. Parent DNS domain where SCAN DNS and hosts names are
* qualified. ex: ocispdelegated.ocisp10jvnet.oraclevcn.com
*
* @param string $domain
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* Optional. Grid Infrastructure Version.
*
* @param string $giVersion
*/
public function setGiVersion($giVersion)
{
$this->giVersion = $giVersion;
}
/**
* @return string
*/
public function getGiVersion()
{
return $this->giVersion;
}
/**
* Output only. host name without domain. format: "-" with some suffix. ex:
* sp2-yi0xq where "sp2" is the hostname_prefix.
*
* @param string $hostname
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* Optional. Prefix for VM cluster host names.
*
* @param string $hostnamePrefix
*/
public function setHostnamePrefix($hostnamePrefix)
{
$this->hostnamePrefix = $hostnamePrefix;
}
/**
* @return string
*/
public function getHostnamePrefix()
{
return $this->hostnamePrefix;
}
/**
* Required. License type of VM Cluster.
*
* Accepted values: LICENSE_TYPE_UNSPECIFIED, LICENSE_INCLUDED,
* BRING_YOUR_OWN_LICENSE
*
* @param self::LICENSE_TYPE_* $licenseType
*/
public function setLicenseType($licenseType)
{
$this->licenseType = $licenseType;
}
/**
* @return self::LICENSE_TYPE_*
*/
public function getLicenseType()
{
return $this->licenseType;
}
/**
* Optional. Use local backup.
*
* @param bool $localBackupEnabled
*/
public function setLocalBackupEnabled($localBackupEnabled)
{
$this->localBackupEnabled = $localBackupEnabled;
}
/**
* @return bool
*/
public function getLocalBackupEnabled()
{
return $this->localBackupEnabled;
}
/**
* Optional. Memory allocated in GBs.
*
* @param int $memorySizeGb
*/
public function setMemorySizeGb($memorySizeGb)
{
$this->memorySizeGb = $memorySizeGb;
}
/**
* @return int
*/
public function getMemorySizeGb()
{
return $this->memorySizeGb;
}
/**
* Optional. Number of database servers.
*
* @param int $nodeCount
*/
public function setNodeCount($nodeCount)
{
$this->nodeCount = $nodeCount;
}
/**
* @return int
*/
public function getNodeCount()
{
return $this->nodeCount;
}
/**
* Output only. Deep link to the OCI console to view this resource.
*
* @param string $ociUrl
*/
public function setOciUrl($ociUrl)
{
$this->ociUrl = $ociUrl;
}
/**
* @return string
*/
public function getOciUrl()
{
return $this->ociUrl;
}
/**
* Output only. Oracle Cloud Infrastructure ID of VM Cluster.
*
* @param string $ocid
*/
public function setOcid($ocid)
{
$this->ocid = $ocid;
}
/**
* @return string
*/
public function getOcid()
{
return $this->ocid;
}
/**
* Optional. OCPU count per VM. Minimum is 0.1.
*
* @param float $ocpuCount
*/
public function setOcpuCount($ocpuCount)
{
$this->ocpuCount = $ocpuCount;
}
/**
* @return float
*/
public function getOcpuCount()
{
return $this->ocpuCount;
}
/**
* Output only. SCAN DNS name. ex: sp2-yi0xq-
* scan.ocispdelegated.ocisp10jvnet.oraclevcn.com
*
* @param string $scanDns
*/
public function setScanDns($scanDns)
{
$this->scanDns = $scanDns;
}
/**
* @return string
*/
public function getScanDns()
{
return $this->scanDns;
}
/**
* Output only. OCID of scan DNS record.
*
* @param string $scanDnsRecordId
*/
public function setScanDnsRecordId($scanDnsRecordId)
{
$this->scanDnsRecordId = $scanDnsRecordId;
}
/**
* @return string
*/
public function getScanDnsRecordId()
{
return $this->scanDnsRecordId;
}
/**
* Output only. OCIDs of scan IPs.
*
* @param string[] $scanIpIds
*/
public function setScanIpIds($scanIpIds)
{
$this->scanIpIds = $scanIpIds;
}
/**
* @return string[]
*/
public function getScanIpIds()
{
return $this->scanIpIds;
}
/**
* Output only. SCAN listener port - TCP
*
* @param int $scanListenerPortTcp
*/
public function setScanListenerPortTcp($scanListenerPortTcp)
{
$this->scanListenerPortTcp = $scanListenerPortTcp;
}
/**
* @return int
*/
public function getScanListenerPortTcp()
{
return $this->scanListenerPortTcp;
}
/**
* Output only. SCAN listener port - TLS
*
* @param int $scanListenerPortTcpSsl
*/
public function setScanListenerPortTcpSsl($scanListenerPortTcpSsl)
{
$this->scanListenerPortTcpSsl = $scanListenerPortTcpSsl;
}
/**
* @return int
*/
public function getScanListenerPortTcpSsl()
{
return $this->scanListenerPortTcpSsl;
}
/**
* Output only. Shape of VM Cluster.
*
* @param string $shape
*/
public function setShape($shape)
{
$this->shape = $shape;
}
/**
* @return string
*/
public function getShape()
{
return $this->shape;
}
/**
* Optional. Use exadata sparse snapshots.
*
* @param bool $sparseDiskgroupEnabled
*/
public function setSparseDiskgroupEnabled($sparseDiskgroupEnabled)
{
$this->sparseDiskgroupEnabled = $sparseDiskgroupEnabled;
}
/**
* @return bool
*/
public function getSparseDiskgroupEnabled()
{
return $this->sparseDiskgroupEnabled;
}
/**
* Optional. SSH public keys to be stored with cluster.
*
* @param string[] $sshPublicKeys
*/
public function setSshPublicKeys($sshPublicKeys)
{
$this->sshPublicKeys = $sshPublicKeys;
}
/**
* @return string[]
*/
public function getSshPublicKeys()
{
return $this->sshPublicKeys;
}
/**
* Output only. State of the cluster.
*
* Accepted values: STATE_UNSPECIFIED, PROVISIONING, AVAILABLE, UPDATING,
* TERMINATING, TERMINATED, FAILED, MAINTENANCE_IN_PROGRESS
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. The storage allocation for the disk group, in gigabytes (GB).
*
* @param int $storageSizeGb
*/
public function setStorageSizeGb($storageSizeGb)
{
$this->storageSizeGb = $storageSizeGb;
}
/**
* @return int
*/
public function getStorageSizeGb()
{
return $this->storageSizeGb;
}
/**
* Optional. Operating system version of the image.
*
* @param string $systemVersion
*/
public function setSystemVersion($systemVersion)
{
$this->systemVersion = $systemVersion;
}
/**
* @return string
*/
public function getSystemVersion()
{
return $this->systemVersion;
}
/**
* Optional. Time zone of VM Cluster to set. Defaults to UTC if not specified.
*
* @param TimeZone $timeZone
*/
public function setTimeZone(TimeZone $timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return TimeZone
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudVmClusterProperties::class, 'Google_Service_OracleDatabase_CloudVmClusterProperties');
@@ -0,0 +1,50 @@
<?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\OracleDatabase;
class CustomerContact extends \Google\Model
{
/**
* Required. The email address used by Oracle to send notifications regarding
* databases and infrastructure.
*
* @var string
*/
public $email;
/**
* Required. The email address used by Oracle to send notifications regarding
* databases and infrastructure.
*
* @param string $email
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerContact::class, 'Google_Service_OracleDatabase_CustomerContact');
@@ -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\OracleDatabase;
class DataCollectionOptions extends \Google\Model
{
/**
* Optional. Indicates whether diagnostic collection is enabled for the VM
* cluster
*
* @var bool
*/
public $diagnosticsEventsEnabled;
/**
* Optional. Indicates whether health monitoring is enabled for the VM cluster
*
* @var bool
*/
public $healthMonitoringEnabled;
/**
* Optional. Indicates whether incident logs and trace collection are enabled
* for the VM cluster
*
* @var bool
*/
public $incidentLogsEnabled;
/**
* Optional. Indicates whether diagnostic collection is enabled for the VM
* cluster
*
* @param bool $diagnosticsEventsEnabled
*/
public function setDiagnosticsEventsEnabled($diagnosticsEventsEnabled)
{
$this->diagnosticsEventsEnabled = $diagnosticsEventsEnabled;
}
/**
* @return bool
*/
public function getDiagnosticsEventsEnabled()
{
return $this->diagnosticsEventsEnabled;
}
/**
* Optional. Indicates whether health monitoring is enabled for the VM cluster
*
* @param bool $healthMonitoringEnabled
*/
public function setHealthMonitoringEnabled($healthMonitoringEnabled)
{
$this->healthMonitoringEnabled = $healthMonitoringEnabled;
}
/**
* @return bool
*/
public function getHealthMonitoringEnabled()
{
return $this->healthMonitoringEnabled;
}
/**
* Optional. Indicates whether incident logs and trace collection are enabled
* for the VM cluster
*
* @param bool $incidentLogsEnabled
*/
public function setIncidentLogsEnabled($incidentLogsEnabled)
{
$this->incidentLogsEnabled = $incidentLogsEnabled;
}
/**
* @return bool
*/
public function getIncidentLogsEnabled()
{
return $this->incidentLogsEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataCollectionOptions::class, 'Google_Service_OracleDatabase_DataCollectionOptions');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\OracleDatabase;
class DataCollectionOptionsCommon extends \Google\Model
{
/**
* Optional. Indicates whether to enable data collection for diagnostics.
*
* @var bool
*/
public $isDiagnosticsEventsEnabled;
/**
* Optional. Indicates whether to enable health monitoring.
*
* @var bool
*/
public $isHealthMonitoringEnabled;
/**
* Optional. Indicates whether to enable incident logs and trace collection.
*
* @var bool
*/
public $isIncidentLogsEnabled;
/**
* Optional. Indicates whether to enable data collection for diagnostics.
*
* @param bool $isDiagnosticsEventsEnabled
*/
public function setIsDiagnosticsEventsEnabled($isDiagnosticsEventsEnabled)
{
$this->isDiagnosticsEventsEnabled = $isDiagnosticsEventsEnabled;
}
/**
* @return bool
*/
public function getIsDiagnosticsEventsEnabled()
{
return $this->isDiagnosticsEventsEnabled;
}
/**
* Optional. Indicates whether to enable health monitoring.
*
* @param bool $isHealthMonitoringEnabled
*/
public function setIsHealthMonitoringEnabled($isHealthMonitoringEnabled)
{
$this->isHealthMonitoringEnabled = $isHealthMonitoringEnabled;
}
/**
* @return bool
*/
public function getIsHealthMonitoringEnabled()
{
return $this->isHealthMonitoringEnabled;
}
/**
* Optional. Indicates whether to enable incident logs and trace collection.
*
* @param bool $isIncidentLogsEnabled
*/
public function setIsIncidentLogsEnabled($isIncidentLogsEnabled)
{
$this->isIncidentLogsEnabled = $isIncidentLogsEnabled;
}
/**
* @return bool
*/
public function getIsIncidentLogsEnabled()
{
return $this->isIncidentLogsEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataCollectionOptionsCommon::class, 'Google_Service_OracleDatabase_DataCollectionOptionsCommon');
@@ -0,0 +1,70 @@
<?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\OracleDatabase;
class DataCollectionOptionsDbSystem extends \Google\Model
{
/**
* Optional. Indicates whether to enable data collection for diagnostics.
*
* @var bool
*/
public $isDiagnosticsEventsEnabled;
/**
* Optional. Indicates whether to enable incident logs and trace collection.
*
* @var bool
*/
public $isIncidentLogsEnabled;
/**
* Optional. Indicates whether to enable data collection for diagnostics.
*
* @param bool $isDiagnosticsEventsEnabled
*/
public function setIsDiagnosticsEventsEnabled($isDiagnosticsEventsEnabled)
{
$this->isDiagnosticsEventsEnabled = $isDiagnosticsEventsEnabled;
}
/**
* @return bool
*/
public function getIsDiagnosticsEventsEnabled()
{
return $this->isDiagnosticsEventsEnabled;
}
/**
* Optional. Indicates whether to enable incident logs and trace collection.
*
* @param bool $isIncidentLogsEnabled
*/
public function setIsIncidentLogsEnabled($isIncidentLogsEnabled)
{
$this->isIncidentLogsEnabled = $isIncidentLogsEnabled;
}
/**
* @return bool
*/
public function getIsIncidentLogsEnabled()
{
return $this->isIncidentLogsEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataCollectionOptionsDbSystem::class, 'Google_Service_OracleDatabase_DataCollectionOptionsDbSystem');
@@ -0,0 +1,485 @@
<?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\OracleDatabase;
class Database extends \Google\Model
{
/**
* Default unspecified value.
*/
public const OPS_INSIGHTS_STATUS_OPERATIONS_INSIGHTS_STATUS_UNSPECIFIED = 'OPERATIONS_INSIGHTS_STATUS_UNSPECIFIED';
/**
* Indicates that the operations insights are being enabled.
*/
public const OPS_INSIGHTS_STATUS_ENABLING = 'ENABLING';
/**
* Indicates that the operations insights are enabled.
*/
public const OPS_INSIGHTS_STATUS_ENABLED = 'ENABLED';
/**
* Indicates that the operations insights are being disabled.
*/
public const OPS_INSIGHTS_STATUS_DISABLING = 'DISABLING';
/**
* Indicates that the operations insights are not enabled.
*/
public const OPS_INSIGHTS_STATUS_NOT_ENABLED = 'NOT_ENABLED';
/**
* Indicates that the operations insights failed to enable.
*/
public const OPS_INSIGHTS_STATUS_FAILED_ENABLING = 'FAILED_ENABLING';
/**
* Indicates that the operations insights failed to disable.
*/
public const OPS_INSIGHTS_STATUS_FAILED_DISABLING = 'FAILED_DISABLING';
/**
* Optional. The password for the default ADMIN user. Note: Only one of
* `admin_password_secret_version` or `admin_password` can be populated.
*
* @var string
*/
public $adminPassword;
/**
* Optional. The resource name of a secret version in Secret Manager which
* contains the database admin user's password. Format:
* projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of
* `admin_password_secret_version` or `admin_password` can be populated.
*
* @var string
*/
public $adminPasswordSecretVersion;
/**
* Optional. The character set for the database. The default is AL32UTF8.
*
* @var string
*/
public $characterSet;
/**
* Output only. The date and time that the Database was created.
*
* @var string
*/
public $createTime;
/**
* Optional. The database ID of the Database.
*
* @var string
*/
public $databaseId;
/**
* Optional. The name of the DbHome resource associated with the Database.
*
* @var string
*/
public $dbHomeName;
/**
* Optional. The database name. The name must begin with an alphabetic
* character and can contain a maximum of eight alphanumeric characters.
* Special characters are not permitted.
*
* @var string
*/
public $dbName;
/**
* Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
*
* @var string
*/
public $dbUniqueName;
/**
* Output only. The GCP Oracle zone where the Database is created.
*
* @var string
*/
public $gcpOracleZone;
/**
* Identifier. The name of the Database resource in the following format:
* projects/{project}/locations/{region}/databases/{database}
*
* @var string
*/
public $name;
/**
* Optional. The national character set for the database. The default is
* AL16UTF16.
*
* @var string
*/
public $ncharacterSet;
/**
* Output only. HTTPS link to OCI resources exposed to Customer via UI
* Interface.
*
* @var string
*/
public $ociUrl;
/**
* Output only. The Status of Operations Insights for this Database.
*
* @var string
*/
public $opsInsightsStatus;
/**
* Optional. The ID of the pluggable database associated with the Database.
* The ID must be unique within the project and location.
*
* @var string
*/
public $pluggableDatabaseId;
/**
* Optional. The pluggable database associated with the Database. The name
* must begin with an alphabetic character and can contain a maximum of thirty
* alphanumeric characters.
*
* @var string
*/
public $pluggableDatabaseName;
protected $propertiesType = DatabaseProperties::class;
protected $propertiesDataType = '';
/**
* Optional. The TDE wallet password for the database. Note: Only one of
* `tde_wallet_password_secret_version` or `tde_wallet_password` can be
* populated.
*
* @var string
*/
public $tdeWalletPassword;
/**
* Optional. The resource name of a secret version in Secret Manager which
* contains the TDE wallet password for the database. Format:
* projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of
* `tde_wallet_password_secret_version` or `tde_wallet_password` can be
* populated.
*
* @var string
*/
public $tdeWalletPasswordSecretVersion;
/**
* Optional. The password for the default ADMIN user. Note: Only one of
* `admin_password_secret_version` or `admin_password` can be populated.
*
* @param string $adminPassword
*/
public function setAdminPassword($adminPassword)
{
$this->adminPassword = $adminPassword;
}
/**
* @return string
*/
public function getAdminPassword()
{
return $this->adminPassword;
}
/**
* Optional. The resource name of a secret version in Secret Manager which
* contains the database admin user's password. Format:
* projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of
* `admin_password_secret_version` or `admin_password` can be populated.
*
* @param string $adminPasswordSecretVersion
*/
public function setAdminPasswordSecretVersion($adminPasswordSecretVersion)
{
$this->adminPasswordSecretVersion = $adminPasswordSecretVersion;
}
/**
* @return string
*/
public function getAdminPasswordSecretVersion()
{
return $this->adminPasswordSecretVersion;
}
/**
* Optional. The character set for the database. The default is AL32UTF8.
*
* @param string $characterSet
*/
public function setCharacterSet($characterSet)
{
$this->characterSet = $characterSet;
}
/**
* @return string
*/
public function getCharacterSet()
{
return $this->characterSet;
}
/**
* Output only. The date and time that the Database was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. The database ID of the Database.
*
* @param string $databaseId
*/
public function setDatabaseId($databaseId)
{
$this->databaseId = $databaseId;
}
/**
* @return string
*/
public function getDatabaseId()
{
return $this->databaseId;
}
/**
* Optional. The name of the DbHome resource associated with the Database.
*
* @param string $dbHomeName
*/
public function setDbHomeName($dbHomeName)
{
$this->dbHomeName = $dbHomeName;
}
/**
* @return string
*/
public function getDbHomeName()
{
return $this->dbHomeName;
}
/**
* Optional. The database name. The name must begin with an alphabetic
* character and can contain a maximum of eight alphanumeric characters.
* Special characters are not permitted.
*
* @param string $dbName
*/
public function setDbName($dbName)
{
$this->dbName = $dbName;
}
/**
* @return string
*/
public function getDbName()
{
return $this->dbName;
}
/**
* Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
*
* @param string $dbUniqueName
*/
public function setDbUniqueName($dbUniqueName)
{
$this->dbUniqueName = $dbUniqueName;
}
/**
* @return string
*/
public function getDbUniqueName()
{
return $this->dbUniqueName;
}
/**
* Output only. The GCP Oracle zone where the Database is created.
*
* @param string $gcpOracleZone
*/
public function setGcpOracleZone($gcpOracleZone)
{
$this->gcpOracleZone = $gcpOracleZone;
}
/**
* @return string
*/
public function getGcpOracleZone()
{
return $this->gcpOracleZone;
}
/**
* Identifier. The name of the Database resource in the following format:
* projects/{project}/locations/{region}/databases/{database}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. The national character set for the database. The default is
* AL16UTF16.
*
* @param string $ncharacterSet
*/
public function setNcharacterSet($ncharacterSet)
{
$this->ncharacterSet = $ncharacterSet;
}
/**
* @return string
*/
public function getNcharacterSet()
{
return $this->ncharacterSet;
}
/**
* Output only. HTTPS link to OCI resources exposed to Customer via UI
* Interface.
*
* @param string $ociUrl
*/
public function setOciUrl($ociUrl)
{
$this->ociUrl = $ociUrl;
}
/**
* @return string
*/
public function getOciUrl()
{
return $this->ociUrl;
}
/**
* Output only. The Status of Operations Insights for this Database.
*
* Accepted values: OPERATIONS_INSIGHTS_STATUS_UNSPECIFIED, ENABLING, ENABLED,
* DISABLING, NOT_ENABLED, FAILED_ENABLING, FAILED_DISABLING
*
* @param self::OPS_INSIGHTS_STATUS_* $opsInsightsStatus
*/
public function setOpsInsightsStatus($opsInsightsStatus)
{
$this->opsInsightsStatus = $opsInsightsStatus;
}
/**
* @return self::OPS_INSIGHTS_STATUS_*
*/
public function getOpsInsightsStatus()
{
return $this->opsInsightsStatus;
}
/**
* Optional. The ID of the pluggable database associated with the Database.
* The ID must be unique within the project and location.
*
* @param string $pluggableDatabaseId
*/
public function setPluggableDatabaseId($pluggableDatabaseId)
{
$this->pluggableDatabaseId = $pluggableDatabaseId;
}
/**
* @return string
*/
public function getPluggableDatabaseId()
{
return $this->pluggableDatabaseId;
}
/**
* Optional. The pluggable database associated with the Database. The name
* must begin with an alphabetic character and can contain a maximum of thirty
* alphanumeric characters.
*
* @param string $pluggableDatabaseName
*/
public function setPluggableDatabaseName($pluggableDatabaseName)
{
$this->pluggableDatabaseName = $pluggableDatabaseName;
}
/**
* @return string
*/
public function getPluggableDatabaseName()
{
return $this->pluggableDatabaseName;
}
/**
* Optional. The properties of the Database.
*
* @param DatabaseProperties $properties
*/
public function setProperties(DatabaseProperties $properties)
{
$this->properties = $properties;
}
/**
* @return DatabaseProperties
*/
public function getProperties()
{
return $this->properties;
}
/**
* Optional. The TDE wallet password for the database. Note: Only one of
* `tde_wallet_password_secret_version` or `tde_wallet_password` can be
* populated.
*
* @param string $tdeWalletPassword
*/
public function setTdeWalletPassword($tdeWalletPassword)
{
$this->tdeWalletPassword = $tdeWalletPassword;
}
/**
* @return string
*/
public function getTdeWalletPassword()
{
return $this->tdeWalletPassword;
}
/**
* Optional. The resource name of a secret version in Secret Manager which
* contains the TDE wallet password for the database. Format:
* projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of
* `tde_wallet_password_secret_version` or `tde_wallet_password` can be
* populated.
*
* @param string $tdeWalletPasswordSecretVersion
*/
public function setTdeWalletPasswordSecretVersion($tdeWalletPasswordSecretVersion)
{
$this->tdeWalletPasswordSecretVersion = $tdeWalletPasswordSecretVersion;
}
/**
* @return string
*/
public function getTdeWalletPasswordSecretVersion()
{
return $this->tdeWalletPasswordSecretVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Database::class, 'Google_Service_OracleDatabase_Database');
@@ -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\OracleDatabase;
class DatabaseCharacterSet extends \Google\Model
{
/**
* Character set type is not specified.
*/
public const CHARACTER_SET_TYPE_CHARACTER_SET_TYPE_UNSPECIFIED = 'CHARACTER_SET_TYPE_UNSPECIFIED';
/**
* Character set type is set to database.
*/
public const CHARACTER_SET_TYPE_DATABASE = 'DATABASE';
/**
* Character set type is set to national.
*/
public const CHARACTER_SET_TYPE_NATIONAL = 'NATIONAL';
/**
* Output only. The character set name for the Database which is the ID in the
* resource name.
*
* @var string
*/
public $characterSet;
/**
* Output only. The character set type for the Database.
*
* @var string
*/
public $characterSetType;
/**
* Identifier. The name of the Database Character Set resource in the
* following format: projects/{project}/locations/{region}/databaseCharacterSe
* ts/{database_character_set}
*
* @var string
*/
public $name;
/**
* Output only. The character set name for the Database which is the ID in the
* resource name.
*
* @param string $characterSet
*/
public function setCharacterSet($characterSet)
{
$this->characterSet = $characterSet;
}
/**
* @return string
*/
public function getCharacterSet()
{
return $this->characterSet;
}
/**
* Output only. The character set type for the Database.
*
* Accepted values: CHARACTER_SET_TYPE_UNSPECIFIED, DATABASE, NATIONAL
*
* @param self::CHARACTER_SET_TYPE_* $characterSetType
*/
public function setCharacterSetType($characterSetType)
{
$this->characterSetType = $characterSetType;
}
/**
* @return self::CHARACTER_SET_TYPE_*
*/
public function getCharacterSetType()
{
return $this->characterSetType;
}
/**
* Identifier. The name of the Database Character Set resource in the
* following format: projects/{project}/locations/{region}/databaseCharacterSe
* ts/{database_character_set}
*
* @param string $name
*/
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(DatabaseCharacterSet::class, 'Google_Service_OracleDatabase_DatabaseCharacterSet');
@@ -0,0 +1,331 @@
<?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\OracleDatabase;
class DatabaseConnectionStringProfile extends \Google\Model
{
/**
* Default unspecified value.
*/
public const CONSUMER_GROUP_CONSUMER_GROUP_UNSPECIFIED = 'CONSUMER_GROUP_UNSPECIFIED';
/**
* High consumer group.
*/
public const CONSUMER_GROUP_HIGH = 'HIGH';
/**
* Medium consumer group.
*/
public const CONSUMER_GROUP_MEDIUM = 'MEDIUM';
/**
* Low consumer group.
*/
public const CONSUMER_GROUP_LOW = 'LOW';
/**
* TP consumer group.
*/
public const CONSUMER_GROUP_TP = 'TP';
/**
* TPURGENT consumer group.
*/
public const CONSUMER_GROUP_TPURGENT = 'TPURGENT';
/**
* Default unspecified value.
*/
public const HOST_FORMAT_HOST_FORMAT_UNSPECIFIED = 'HOST_FORMAT_UNSPECIFIED';
/**
* FQDN
*/
public const HOST_FORMAT_FQDN = 'FQDN';
/**
* IP
*/
public const HOST_FORMAT_IP = 'IP';
/**
* Default unspecified value.
*/
public const PROTOCOL_PROTOCOL_UNSPECIFIED = 'PROTOCOL_UNSPECIFIED';
/**
* Tcp
*/
public const PROTOCOL_TCP = 'TCP';
/**
* Tcps
*/
public const PROTOCOL_TCPS = 'TCPS';
/**
* Default unspecified value.
*/
public const SESSION_MODE_SESSION_MODE_UNSPECIFIED = 'SESSION_MODE_UNSPECIFIED';
/**
* Direct
*/
public const SESSION_MODE_DIRECT = 'DIRECT';
/**
* Indirect
*/
public const SESSION_MODE_INDIRECT = 'INDIRECT';
/**
* Default unspecified value.
*/
public const SYNTAX_FORMAT_SYNTAX_FORMAT_UNSPECIFIED = 'SYNTAX_FORMAT_UNSPECIFIED';
/**
* Long
*/
public const SYNTAX_FORMAT_LONG = 'LONG';
/**
* Ezconnect
*/
public const SYNTAX_FORMAT_EZCONNECT = 'EZCONNECT';
/**
* Ezconnectplus
*/
public const SYNTAX_FORMAT_EZCONNECTPLUS = 'EZCONNECTPLUS';
/**
* Default unspecified value.
*/
public const TLS_AUTHENTICATION_TLS_AUTHENTICATION_UNSPECIFIED = 'TLS_AUTHENTICATION_UNSPECIFIED';
/**
* Server
*/
public const TLS_AUTHENTICATION_SERVER = 'SERVER';
/**
* Mutual
*/
public const TLS_AUTHENTICATION_MUTUAL = 'MUTUAL';
/**
* Output only. The current consumer group being used by the connection.
*
* @var string
*/
public $consumerGroup;
/**
* Output only. The display name for the database connection.
*
* @var string
*/
public $displayName;
/**
* Output only. The host name format being currently used in connection
* string.
*
* @var string
*/
public $hostFormat;
/**
* Output only. This field indicates if the connection string is regional and
* is only applicable for cross-region Data Guard.
*
* @var bool
*/
public $isRegional;
/**
* Output only. The protocol being used by the connection.
*
* @var string
*/
public $protocol;
/**
* Output only. The current session mode of the connection.
*
* @var string
*/
public $sessionMode;
/**
* Output only. The syntax of the connection string.
*
* @var string
*/
public $syntaxFormat;
/**
* Output only. This field indicates the TLS authentication type of the
* connection.
*
* @var string
*/
public $tlsAuthentication;
/**
* Output only. The value of the connection string.
*
* @var string
*/
public $value;
/**
* Output only. The current consumer group being used by the connection.
*
* Accepted values: CONSUMER_GROUP_UNSPECIFIED, HIGH, MEDIUM, LOW, TP,
* TPURGENT
*
* @param self::CONSUMER_GROUP_* $consumerGroup
*/
public function setConsumerGroup($consumerGroup)
{
$this->consumerGroup = $consumerGroup;
}
/**
* @return self::CONSUMER_GROUP_*
*/
public function getConsumerGroup()
{
return $this->consumerGroup;
}
/**
* Output only. The display name for the database connection.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. The host name format being currently used in connection
* string.
*
* Accepted values: HOST_FORMAT_UNSPECIFIED, FQDN, IP
*
* @param self::HOST_FORMAT_* $hostFormat
*/
public function setHostFormat($hostFormat)
{
$this->hostFormat = $hostFormat;
}
/**
* @return self::HOST_FORMAT_*
*/
public function getHostFormat()
{
return $this->hostFormat;
}
/**
* Output only. This field indicates if the connection string is regional and
* is only applicable for cross-region Data Guard.
*
* @param bool $isRegional
*/
public function setIsRegional($isRegional)
{
$this->isRegional = $isRegional;
}
/**
* @return bool
*/
public function getIsRegional()
{
return $this->isRegional;
}
/**
* Output only. The protocol being used by the connection.
*
* Accepted values: PROTOCOL_UNSPECIFIED, TCP, TCPS
*
* @param self::PROTOCOL_* $protocol
*/
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
/**
* @return self::PROTOCOL_*
*/
public function getProtocol()
{
return $this->protocol;
}
/**
* Output only. The current session mode of the connection.
*
* Accepted values: SESSION_MODE_UNSPECIFIED, DIRECT, INDIRECT
*
* @param self::SESSION_MODE_* $sessionMode
*/
public function setSessionMode($sessionMode)
{
$this->sessionMode = $sessionMode;
}
/**
* @return self::SESSION_MODE_*
*/
public function getSessionMode()
{
return $this->sessionMode;
}
/**
* Output only. The syntax of the connection string.
*
* Accepted values: SYNTAX_FORMAT_UNSPECIFIED, LONG, EZCONNECT, EZCONNECTPLUS
*
* @param self::SYNTAX_FORMAT_* $syntaxFormat
*/
public function setSyntaxFormat($syntaxFormat)
{
$this->syntaxFormat = $syntaxFormat;
}
/**
* @return self::SYNTAX_FORMAT_*
*/
public function getSyntaxFormat()
{
return $this->syntaxFormat;
}
/**
* Output only. This field indicates the TLS authentication type of the
* connection.
*
* Accepted values: TLS_AUTHENTICATION_UNSPECIFIED, SERVER, MUTUAL
*
* @param self::TLS_AUTHENTICATION_* $tlsAuthentication
*/
public function setTlsAuthentication($tlsAuthentication)
{
$this->tlsAuthentication = $tlsAuthentication;
}
/**
* @return self::TLS_AUTHENTICATION_*
*/
public function getTlsAuthentication()
{
return $this->tlsAuthentication;
}
/**
* Output only. The value of the connection string.
*
* @param string $value
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseConnectionStringProfile::class, 'Google_Service_OracleDatabase_DatabaseConnectionStringProfile');
@@ -0,0 +1,124 @@
<?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\OracleDatabase;
class DatabaseManagementConfig extends \Google\Model
{
/**
* The status is not specified.
*/
public const MANAGEMENT_STATE_MANAGEMENT_STATE_UNSPECIFIED = 'MANAGEMENT_STATE_UNSPECIFIED';
/**
* The Database Management service is enabling.
*/
public const MANAGEMENT_STATE_ENABLING = 'ENABLING';
/**
* The Database Management service is enabled.
*/
public const MANAGEMENT_STATE_ENABLED = 'ENABLED';
/**
* The Database Management service is disabling.
*/
public const MANAGEMENT_STATE_DISABLING = 'DISABLING';
/**
* The Database Management service is disabled.
*/
public const MANAGEMENT_STATE_DISABLED = 'DISABLED';
/**
* The Database Management service is updating.
*/
public const MANAGEMENT_STATE_UPDATING = 'UPDATING';
/**
* The Database Management service failed to enable.
*/
public const MANAGEMENT_STATE_FAILED_ENABLING = 'FAILED_ENABLING';
/**
* The Database Management service failed to disable.
*/
public const MANAGEMENT_STATE_FAILED_DISABLING = 'FAILED_DISABLING';
/**
* The Database Management service failed to update.
*/
public const MANAGEMENT_STATE_FAILED_UPDATING = 'FAILED_UPDATING';
/**
* The type is not specified.
*/
public const MANAGEMENT_TYPE_MANAGEMENT_TYPE_UNSPECIFIED = 'MANAGEMENT_TYPE_UNSPECIFIED';
/**
* Basic Database Management.
*/
public const MANAGEMENT_TYPE_BASIC = 'BASIC';
/**
* Advanced Database Management.
*/
public const MANAGEMENT_TYPE_ADVANCED = 'ADVANCED';
/**
* Output only. The status of the Database Management service.
*
* @var string
*/
public $managementState;
/**
* Output only. The Database Management type.
*
* @var string
*/
public $managementType;
/**
* Output only. The status of the Database Management service.
*
* Accepted values: MANAGEMENT_STATE_UNSPECIFIED, ENABLING, ENABLED,
* DISABLING, DISABLED, UPDATING, FAILED_ENABLING, FAILED_DISABLING,
* FAILED_UPDATING
*
* @param self::MANAGEMENT_STATE_* $managementState
*/
public function setManagementState($managementState)
{
$this->managementState = $managementState;
}
/**
* @return self::MANAGEMENT_STATE_*
*/
public function getManagementState()
{
return $this->managementState;
}
/**
* Output only. The Database Management type.
*
* Accepted values: MANAGEMENT_TYPE_UNSPECIFIED, BASIC, ADVANCED
*
* @param self::MANAGEMENT_TYPE_* $managementType
*/
public function setManagementType($managementType)
{
$this->managementType = $managementType;
}
/**
* @return self::MANAGEMENT_TYPE_*
*/
public function getManagementType()
{
return $this->managementType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseManagementConfig::class, 'Google_Service_OracleDatabase_DatabaseManagementConfig');
@@ -0,0 +1,154 @@
<?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\OracleDatabase;
class DatabaseProperties extends \Google\Model
{
/**
* Default unspecified value.
*/
public const STATE_DATABASE_LIFECYCLE_STATE_UNSPECIFIED = 'DATABASE_LIFECYCLE_STATE_UNSPECIFIED';
/**
* Indicates that the resource is in provisioning state.
*/
public const STATE_PROVISIONING = 'PROVISIONING';
/**
* Indicates that the resource is in available state.
*/
public const STATE_AVAILABLE = 'AVAILABLE';
/**
* Indicates that the resource is in updating state.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* Indicates that the resource is in backup in progress state.
*/
public const STATE_BACKUP_IN_PROGRESS = 'BACKUP_IN_PROGRESS';
/**
* Indicates that the resource is in upgrading state.
*/
public const STATE_UPGRADING = 'UPGRADING';
/**
* Indicates that the resource is in converting state.
*/
public const STATE_CONVERTING = 'CONVERTING';
/**
* Indicates that the resource is in terminating state.
*/
public const STATE_TERMINATING = 'TERMINATING';
/**
* Indicates that the resource is in terminated state.
*/
public const STATE_TERMINATED = 'TERMINATED';
/**
* Indicates that the resource is in restore failed state.
*/
public const STATE_RESTORE_FAILED = 'RESTORE_FAILED';
/**
* Indicates that the resource is in failed state.
*/
public const STATE_FAILED = 'FAILED';
protected $databaseManagementConfigType = DatabaseManagementConfig::class;
protected $databaseManagementConfigDataType = '';
protected $dbBackupConfigType = DbBackupConfig::class;
protected $dbBackupConfigDataType = '';
/**
* Required. The Oracle Database version.
*
* @var string
*/
public $dbVersion;
/**
* Output only. State of the Database.
*
* @var string
*/
public $state;
/**
* Output only. The Database Management config.
*
* @param DatabaseManagementConfig $databaseManagementConfig
*/
public function setDatabaseManagementConfig(DatabaseManagementConfig $databaseManagementConfig)
{
$this->databaseManagementConfig = $databaseManagementConfig;
}
/**
* @return DatabaseManagementConfig
*/
public function getDatabaseManagementConfig()
{
return $this->databaseManagementConfig;
}
/**
* Optional. Backup options for the Database.
*
* @param DbBackupConfig $dbBackupConfig
*/
public function setDbBackupConfig(DbBackupConfig $dbBackupConfig)
{
$this->dbBackupConfig = $dbBackupConfig;
}
/**
* @return DbBackupConfig
*/
public function getDbBackupConfig()
{
return $this->dbBackupConfig;
}
/**
* Required. The Oracle Database version.
*
* @param string $dbVersion
*/
public function setDbVersion($dbVersion)
{
$this->dbVersion = $dbVersion;
}
/**
* @return string
*/
public function getDbVersion()
{
return $this->dbVersion;
}
/**
* Output only. State of the Database.
*
* Accepted values: DATABASE_LIFECYCLE_STATE_UNSPECIFIED, PROVISIONING,
* AVAILABLE, UPDATING, BACKUP_IN_PROGRESS, UPGRADING, CONVERTING,
* TERMINATING, TERMINATED, RESTORE_FAILED, FAILED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseProperties::class, 'Google_Service_OracleDatabase_DatabaseProperties');
@@ -0,0 +1,354 @@
<?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\OracleDatabase;
class DbBackupConfig extends \Google\Collection
{
/**
* The day of the week is unspecified.
*/
public const AUTO_FULL_BACKUP_DAY_DAY_OF_WEEK_UNSPECIFIED = 'DAY_OF_WEEK_UNSPECIFIED';
/**
* Monday
*/
public const AUTO_FULL_BACKUP_DAY_MONDAY = 'MONDAY';
/**
* Tuesday
*/
public const AUTO_FULL_BACKUP_DAY_TUESDAY = 'TUESDAY';
/**
* Wednesday
*/
public const AUTO_FULL_BACKUP_DAY_WEDNESDAY = 'WEDNESDAY';
/**
* Thursday
*/
public const AUTO_FULL_BACKUP_DAY_THURSDAY = 'THURSDAY';
/**
* Friday
*/
public const AUTO_FULL_BACKUP_DAY_FRIDAY = 'FRIDAY';
/**
* Saturday
*/
public const AUTO_FULL_BACKUP_DAY_SATURDAY = 'SATURDAY';
/**
* Sunday
*/
public const AUTO_FULL_BACKUP_DAY_SUNDAY = 'SUNDAY';
/**
* Default unspecified value.
*/
public const AUTO_FULL_BACKUP_WINDOW_BACKUP_WINDOW_UNSPECIFIED = 'BACKUP_WINDOW_UNSPECIFIED';
/**
* 12:00 AM - 2:00 AM
*/
public const AUTO_FULL_BACKUP_WINDOW_SLOT_ONE = 'SLOT_ONE';
/**
* 2:00 AM - 4:00 AM
*/
public const AUTO_FULL_BACKUP_WINDOW_SLOT_TWO = 'SLOT_TWO';
/**
* 4:00 AM - 6:00 AM
*/
public const AUTO_FULL_BACKUP_WINDOW_SLOT_THREE = 'SLOT_THREE';
/**
* 6:00 AM - 8:00 AM
*/
public const AUTO_FULL_BACKUP_WINDOW_SLOT_FOUR = 'SLOT_FOUR';
/**
* 8:00 AM - 10:00 AM
*/
public const AUTO_FULL_BACKUP_WINDOW_SLOT_FIVE = 'SLOT_FIVE';
/**
* 10:00 AM - 12:00 PM
*/
public const AUTO_FULL_BACKUP_WINDOW_SLOT_SIX = 'SLOT_SIX';
/**
* 12:00 PM - 2:00 PM
*/
public const AUTO_FULL_BACKUP_WINDOW_SLOT_SEVEN = 'SLOT_SEVEN';
/**
* 2:00 PM - 4:00 PM
*/
public const AUTO_FULL_BACKUP_WINDOW_SLOT_EIGHT = 'SLOT_EIGHT';
/**
* 4:00 PM - 6:00 PM
*/
public const AUTO_FULL_BACKUP_WINDOW_SLOT_NINE = 'SLOT_NINE';
/**
* 6:00 PM - 8:00 PM
*/
public const AUTO_FULL_BACKUP_WINDOW_SLOT_TEN = 'SLOT_TEN';
/**
* 8:00 PM - 10:00 PM
*/
public const AUTO_FULL_BACKUP_WINDOW_SLOT_ELEVEN = 'SLOT_ELEVEN';
/**
* 10:00 PM - 12:00 AM
*/
public const AUTO_FULL_BACKUP_WINDOW_SLOT_TWELVE = 'SLOT_TWELVE';
/**
* Default unspecified value.
*/
public const AUTO_INCREMENTAL_BACKUP_WINDOW_BACKUP_WINDOW_UNSPECIFIED = 'BACKUP_WINDOW_UNSPECIFIED';
/**
* 12:00 AM - 2:00 AM
*/
public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_ONE = 'SLOT_ONE';
/**
* 2:00 AM - 4:00 AM
*/
public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_TWO = 'SLOT_TWO';
/**
* 4:00 AM - 6:00 AM
*/
public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_THREE = 'SLOT_THREE';
/**
* 6:00 AM - 8:00 AM
*/
public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_FOUR = 'SLOT_FOUR';
/**
* 8:00 AM - 10:00 AM
*/
public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_FIVE = 'SLOT_FIVE';
/**
* 10:00 AM - 12:00 PM
*/
public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_SIX = 'SLOT_SIX';
/**
* 12:00 PM - 2:00 PM
*/
public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_SEVEN = 'SLOT_SEVEN';
/**
* 2:00 PM - 4:00 PM
*/
public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_EIGHT = 'SLOT_EIGHT';
/**
* 4:00 PM - 6:00 PM
*/
public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_NINE = 'SLOT_NINE';
/**
* 6:00 PM - 8:00 PM
*/
public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_TEN = 'SLOT_TEN';
/**
* 8:00 PM - 10:00 PM
*/
public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_ELEVEN = 'SLOT_ELEVEN';
/**
* 10:00 PM - 12:00 AM
*/
public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_TWELVE = 'SLOT_TWELVE';
/**
* Default unspecified value.
*/
public const BACKUP_DELETION_POLICY_BACKUP_DELETION_POLICY_UNSPECIFIED = 'BACKUP_DELETION_POLICY_UNSPECIFIED';
/**
* Keeps the backup for predefined time i.e. 72 hours and then delete
* permanently.
*/
public const BACKUP_DELETION_POLICY_DELETE_IMMEDIATELY = 'DELETE_IMMEDIATELY';
/**
* Keeps the backups as per the policy defined for database backups.
*/
public const BACKUP_DELETION_POLICY_DELETE_AFTER_RETENTION_PERIOD = 'DELETE_AFTER_RETENTION_PERIOD';
protected $collection_key = 'backupDestinationDetails';
/**
* Optional. If set to true, enables automatic backups on the database.
*
* @var bool
*/
public $autoBackupEnabled;
/**
* Optional. The day of the week on which the full backup should be performed
* on the database. If no value is provided, it will default to Sunday.
*
* @var string
*/
public $autoFullBackupDay;
/**
* Optional. The window in which the full backup should be performed on the
* database. If no value is provided, the default is anytime.
*
* @var string
*/
public $autoFullBackupWindow;
/**
* Optional. The window in which the incremental backup should be performed on
* the database. If no value is provided, the default is anytime except the
* auto full backup day.
*
* @var string
*/
public $autoIncrementalBackupWindow;
/**
* Optional. This defines when the backups will be deleted after Database
* termination.
*
* @var string
*/
public $backupDeletionPolicy;
protected $backupDestinationDetailsType = BackupDestinationDetails::class;
protected $backupDestinationDetailsDataType = 'array';
/**
* Optional. The number of days an automatic backup is retained before being
* automatically deleted. This value determines the earliest point in time to
* which a database can be restored. Min: 1, Max: 60.
*
* @var int
*/
public $retentionPeriodDays;
/**
* Optional. If set to true, enables automatic backups on the database.
*
* @param bool $autoBackupEnabled
*/
public function setAutoBackupEnabled($autoBackupEnabled)
{
$this->autoBackupEnabled = $autoBackupEnabled;
}
/**
* @return bool
*/
public function getAutoBackupEnabled()
{
return $this->autoBackupEnabled;
}
/**
* Optional. The day of the week on which the full backup should be performed
* on the database. If no value is provided, it will default to Sunday.
*
* Accepted values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY,
* THURSDAY, FRIDAY, SATURDAY, SUNDAY
*
* @param self::AUTO_FULL_BACKUP_DAY_* $autoFullBackupDay
*/
public function setAutoFullBackupDay($autoFullBackupDay)
{
$this->autoFullBackupDay = $autoFullBackupDay;
}
/**
* @return self::AUTO_FULL_BACKUP_DAY_*
*/
public function getAutoFullBackupDay()
{
return $this->autoFullBackupDay;
}
/**
* Optional. The window in which the full backup should be performed on the
* database. If no value is provided, the default is anytime.
*
* Accepted values: BACKUP_WINDOW_UNSPECIFIED, SLOT_ONE, SLOT_TWO, SLOT_THREE,
* SLOT_FOUR, SLOT_FIVE, SLOT_SIX, SLOT_SEVEN, SLOT_EIGHT, SLOT_NINE,
* SLOT_TEN, SLOT_ELEVEN, SLOT_TWELVE
*
* @param self::AUTO_FULL_BACKUP_WINDOW_* $autoFullBackupWindow
*/
public function setAutoFullBackupWindow($autoFullBackupWindow)
{
$this->autoFullBackupWindow = $autoFullBackupWindow;
}
/**
* @return self::AUTO_FULL_BACKUP_WINDOW_*
*/
public function getAutoFullBackupWindow()
{
return $this->autoFullBackupWindow;
}
/**
* Optional. The window in which the incremental backup should be performed on
* the database. If no value is provided, the default is anytime except the
* auto full backup day.
*
* Accepted values: BACKUP_WINDOW_UNSPECIFIED, SLOT_ONE, SLOT_TWO, SLOT_THREE,
* SLOT_FOUR, SLOT_FIVE, SLOT_SIX, SLOT_SEVEN, SLOT_EIGHT, SLOT_NINE,
* SLOT_TEN, SLOT_ELEVEN, SLOT_TWELVE
*
* @param self::AUTO_INCREMENTAL_BACKUP_WINDOW_* $autoIncrementalBackupWindow
*/
public function setAutoIncrementalBackupWindow($autoIncrementalBackupWindow)
{
$this->autoIncrementalBackupWindow = $autoIncrementalBackupWindow;
}
/**
* @return self::AUTO_INCREMENTAL_BACKUP_WINDOW_*
*/
public function getAutoIncrementalBackupWindow()
{
return $this->autoIncrementalBackupWindow;
}
/**
* Optional. This defines when the backups will be deleted after Database
* termination.
*
* Accepted values: BACKUP_DELETION_POLICY_UNSPECIFIED, DELETE_IMMEDIATELY,
* DELETE_AFTER_RETENTION_PERIOD
*
* @param self::BACKUP_DELETION_POLICY_* $backupDeletionPolicy
*/
public function setBackupDeletionPolicy($backupDeletionPolicy)
{
$this->backupDeletionPolicy = $backupDeletionPolicy;
}
/**
* @return self::BACKUP_DELETION_POLICY_*
*/
public function getBackupDeletionPolicy()
{
return $this->backupDeletionPolicy;
}
/**
* Optional. Details of the database backup destinations.
*
* @param BackupDestinationDetails[] $backupDestinationDetails
*/
public function setBackupDestinationDetails($backupDestinationDetails)
{
$this->backupDestinationDetails = $backupDestinationDetails;
}
/**
* @return BackupDestinationDetails[]
*/
public function getBackupDestinationDetails()
{
return $this->backupDestinationDetails;
}
/**
* Optional. The number of days an automatic backup is retained before being
* automatically deleted. This value determines the earliest point in time to
* which a database can be restored. Min: 1, Max: 60.
*
* @param int $retentionPeriodDays
*/
public function setRetentionPeriodDays($retentionPeriodDays)
{
$this->retentionPeriodDays = $retentionPeriodDays;
}
/**
* @return int
*/
public function getRetentionPeriodDays()
{
return $this->retentionPeriodDays;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbBackupConfig::class, 'Google_Service_OracleDatabase_DbBackupConfig');
@@ -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\OracleDatabase;
class DbHome extends \Google\Model
{
protected $databaseType = Database::class;
protected $databaseDataType = '';
/**
* Required. A valid Oracle Database version. For a list of supported
* versions, use the ListDbVersions operation.
*
* @var string
*/
public $dbVersion;
/**
* Optional. The display name for the Database Home. The name does not have to
* be unique within your project.
*
* @var string
*/
public $displayName;
/**
* Optional. Whether unified auditing is enabled for the Database Home.
*
* @var bool
*/
public $isUnifiedAuditingEnabled;
/**
* Required. The Database resource.
*
* @param Database $database
*/
public function setDatabase(Database $database)
{
$this->database = $database;
}
/**
* @return Database
*/
public function getDatabase()
{
return $this->database;
}
/**
* Required. A valid Oracle Database version. For a list of supported
* versions, use the ListDbVersions operation.
*
* @param string $dbVersion
*/
public function setDbVersion($dbVersion)
{
$this->dbVersion = $dbVersion;
}
/**
* @return string
*/
public function getDbVersion()
{
return $this->dbVersion;
}
/**
* Optional. The display name for the Database Home. The name does not have to
* be unique within your project.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. Whether unified auditing is enabled for the Database Home.
*
* @param bool $isUnifiedAuditingEnabled
*/
public function setIsUnifiedAuditingEnabled($isUnifiedAuditingEnabled)
{
$this->isUnifiedAuditingEnabled = $isUnifiedAuditingEnabled;
}
/**
* @return bool
*/
public function getIsUnifiedAuditingEnabled()
{
return $this->isUnifiedAuditingEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbHome::class, 'Google_Service_OracleDatabase_DbHome');
@@ -0,0 +1,70 @@
<?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\OracleDatabase;
class DbNode extends \Google\Model
{
/**
* Identifier. The name of the database node resource in the following format:
* projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}/
* dbNodes/{db_node}
*
* @var string
*/
public $name;
protected $propertiesType = DbNodeProperties::class;
protected $propertiesDataType = '';
/**
* Identifier. The name of the database node resource in the following format:
* projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}/
* dbNodes/{db_node}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Various properties of the database node.
*
* @param DbNodeProperties $properties
*/
public function setProperties(DbNodeProperties $properties)
{
$this->properties = $properties;
}
/**
* @return DbNodeProperties
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbNode::class, 'Google_Service_OracleDatabase_DbNode');
@@ -0,0 +1,267 @@
<?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\OracleDatabase;
class DbNodeProperties extends \Google\Model
{
/**
* Default unspecified value.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Indicates that the resource is in provisioning state.
*/
public const STATE_PROVISIONING = 'PROVISIONING';
/**
* Indicates that the resource is in available state.
*/
public const STATE_AVAILABLE = 'AVAILABLE';
/**
* Indicates that the resource is in updating state.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* Indicates that the resource is in stopping state.
*/
public const STATE_STOPPING = 'STOPPING';
/**
* Indicates that the resource is in stopped state.
*/
public const STATE_STOPPED = 'STOPPED';
/**
* Indicates that the resource is in starting state.
*/
public const STATE_STARTING = 'STARTING';
/**
* Indicates that the resource is in terminating state.
*/
public const STATE_TERMINATING = 'TERMINATING';
/**
* Indicates that the resource is in terminated state.
*/
public const STATE_TERMINATED = 'TERMINATED';
/**
* Indicates that the resource is in failed state.
*/
public const STATE_FAILED = 'FAILED';
/**
* Output only. The date and time that the database node was created.
*
* @var string
*/
public $createTime;
/**
* Optional. Local storage per database node.
*
* @var int
*/
public $dbNodeStorageSizeGb;
/**
* Optional. Database server OCID.
*
* @var string
*/
public $dbServerOcid;
/**
* Optional. DNS
*
* @var string
*/
public $hostname;
/**
* Memory allocated in GBs.
*
* @var int
*/
public $memorySizeGb;
/**
* Output only. OCID of database node.
*
* @var string
*/
public $ocid;
/**
* Optional. OCPU count per database node.
*
* @var int
*/
public $ocpuCount;
/**
* Output only. State of the database node.
*
* @var string
*/
public $state;
/**
* Total CPU core count of the database node.
*
* @var int
*/
public $totalCpuCoreCount;
/**
* Output only. The date and time that the database node was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Local storage per database node.
*
* @param int $dbNodeStorageSizeGb
*/
public function setDbNodeStorageSizeGb($dbNodeStorageSizeGb)
{
$this->dbNodeStorageSizeGb = $dbNodeStorageSizeGb;
}
/**
* @return int
*/
public function getDbNodeStorageSizeGb()
{
return $this->dbNodeStorageSizeGb;
}
/**
* Optional. Database server OCID.
*
* @param string $dbServerOcid
*/
public function setDbServerOcid($dbServerOcid)
{
$this->dbServerOcid = $dbServerOcid;
}
/**
* @return string
*/
public function getDbServerOcid()
{
return $this->dbServerOcid;
}
/**
* Optional. DNS
*
* @param string $hostname
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* Memory allocated in GBs.
*
* @param int $memorySizeGb
*/
public function setMemorySizeGb($memorySizeGb)
{
$this->memorySizeGb = $memorySizeGb;
}
/**
* @return int
*/
public function getMemorySizeGb()
{
return $this->memorySizeGb;
}
/**
* Output only. OCID of database node.
*
* @param string $ocid
*/
public function setOcid($ocid)
{
$this->ocid = $ocid;
}
/**
* @return string
*/
public function getOcid()
{
return $this->ocid;
}
/**
* Optional. OCPU count per database node.
*
* @param int $ocpuCount
*/
public function setOcpuCount($ocpuCount)
{
$this->ocpuCount = $ocpuCount;
}
/**
* @return int
*/
public function getOcpuCount()
{
return $this->ocpuCount;
}
/**
* Output only. State of the database node.
*
* Accepted values: STATE_UNSPECIFIED, PROVISIONING, AVAILABLE, UPDATING,
* STOPPING, STOPPED, STARTING, TERMINATING, TERMINATED, FAILED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Total CPU core count of the database node.
*
* @param int $totalCpuCoreCount
*/
public function setTotalCpuCoreCount($totalCpuCoreCount)
{
$this->totalCpuCoreCount = $totalCpuCoreCount;
}
/**
* @return int
*/
public function getTotalCpuCoreCount()
{
return $this->totalCpuCoreCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbNodeProperties::class, 'Google_Service_OracleDatabase_DbNodeProperties');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\OracleDatabase;
class DbServer extends \Google\Model
{
/**
* Optional. User friendly name for this resource.
*
* @var string
*/
public $displayName;
/**
* Identifier. The name of the database server resource with the format: proje
* cts/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exada
* ta_infrastructure}/dbServers/{db_server}
*
* @var string
*/
public $name;
protected $propertiesType = DbServerProperties::class;
protected $propertiesDataType = '';
/**
* Optional. User friendly name for this resource.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Identifier. The name of the database server resource with the format: proje
* cts/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exada
* ta_infrastructure}/dbServers/{db_server}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Various properties of the database server.
*
* @param DbServerProperties $properties
*/
public function setProperties(DbServerProperties $properties)
{
$this->properties = $properties;
}
/**
* @return DbServerProperties
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbServer::class, 'Google_Service_OracleDatabase_DbServer');
@@ -0,0 +1,274 @@
<?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\OracleDatabase;
class DbServerProperties extends \Google\Collection
{
/**
* Default unspecified value.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Indicates that the resource is in creating state.
*/
public const STATE_CREATING = 'CREATING';
/**
* Indicates that the resource is in available state.
*/
public const STATE_AVAILABLE = 'AVAILABLE';
/**
* Indicates that the resource is in unavailable state.
*/
public const STATE_UNAVAILABLE = 'UNAVAILABLE';
/**
* Indicates that the resource is in deleting state.
*/
public const STATE_DELETING = 'DELETING';
/**
* Indicates that the resource is in deleted state.
*/
public const STATE_DELETED = 'DELETED';
protected $collection_key = 'dbNodeIds';
/**
* Output only. OCID of database nodes associated with the database server.
*
* @var string[]
*/
public $dbNodeIds;
/**
* Optional. Local storage per VM.
*
* @var int
*/
public $dbNodeStorageSizeGb;
/**
* Optional. Maximum local storage per VM.
*
* @var int
*/
public $maxDbNodeStorageSizeGb;
/**
* Optional. Maximum memory allocated in GBs.
*
* @var int
*/
public $maxMemorySizeGb;
/**
* Optional. Maximum OCPU count per database.
*
* @var int
*/
public $maxOcpuCount;
/**
* Optional. Memory allocated in GBs.
*
* @var int
*/
public $memorySizeGb;
/**
* Output only. OCID of database server.
*
* @var string
*/
public $ocid;
/**
* Optional. OCPU count per database.
*
* @var int
*/
public $ocpuCount;
/**
* Output only. State of the database server.
*
* @var string
*/
public $state;
/**
* Optional. Vm count per database.
*
* @var int
*/
public $vmCount;
/**
* Output only. OCID of database nodes associated with the database server.
*
* @param string[] $dbNodeIds
*/
public function setDbNodeIds($dbNodeIds)
{
$this->dbNodeIds = $dbNodeIds;
}
/**
* @return string[]
*/
public function getDbNodeIds()
{
return $this->dbNodeIds;
}
/**
* Optional. Local storage per VM.
*
* @param int $dbNodeStorageSizeGb
*/
public function setDbNodeStorageSizeGb($dbNodeStorageSizeGb)
{
$this->dbNodeStorageSizeGb = $dbNodeStorageSizeGb;
}
/**
* @return int
*/
public function getDbNodeStorageSizeGb()
{
return $this->dbNodeStorageSizeGb;
}
/**
* Optional. Maximum local storage per VM.
*
* @param int $maxDbNodeStorageSizeGb
*/
public function setMaxDbNodeStorageSizeGb($maxDbNodeStorageSizeGb)
{
$this->maxDbNodeStorageSizeGb = $maxDbNodeStorageSizeGb;
}
/**
* @return int
*/
public function getMaxDbNodeStorageSizeGb()
{
return $this->maxDbNodeStorageSizeGb;
}
/**
* Optional. Maximum memory allocated in GBs.
*
* @param int $maxMemorySizeGb
*/
public function setMaxMemorySizeGb($maxMemorySizeGb)
{
$this->maxMemorySizeGb = $maxMemorySizeGb;
}
/**
* @return int
*/
public function getMaxMemorySizeGb()
{
return $this->maxMemorySizeGb;
}
/**
* Optional. Maximum OCPU count per database.
*
* @param int $maxOcpuCount
*/
public function setMaxOcpuCount($maxOcpuCount)
{
$this->maxOcpuCount = $maxOcpuCount;
}
/**
* @return int
*/
public function getMaxOcpuCount()
{
return $this->maxOcpuCount;
}
/**
* Optional. Memory allocated in GBs.
*
* @param int $memorySizeGb
*/
public function setMemorySizeGb($memorySizeGb)
{
$this->memorySizeGb = $memorySizeGb;
}
/**
* @return int
*/
public function getMemorySizeGb()
{
return $this->memorySizeGb;
}
/**
* Output only. OCID of database server.
*
* @param string $ocid
*/
public function setOcid($ocid)
{
$this->ocid = $ocid;
}
/**
* @return string
*/
public function getOcid()
{
return $this->ocid;
}
/**
* Optional. OCPU count per database.
*
* @param int $ocpuCount
*/
public function setOcpuCount($ocpuCount)
{
$this->ocpuCount = $ocpuCount;
}
/**
* @return int
*/
public function getOcpuCount()
{
return $this->ocpuCount;
}
/**
* Output only. State of the database server.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, AVAILABLE, UNAVAILABLE,
* DELETING, DELETED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Optional. Vm count per database.
*
* @param int $vmCount
*/
public function setVmCount($vmCount)
{
$this->vmCount = $vmCount;
}
/**
* @return int
*/
public function getVmCount()
{
return $this->vmCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbServerProperties::class, 'Google_Service_OracleDatabase_DbServerProperties');
@@ -0,0 +1,264 @@
<?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\OracleDatabase;
class DbSystem extends \Google\Model
{
/**
* Output only. The date and time that the DbSystem was created.
*
* @var string
*/
public $createTime;
/**
* Required. The display name for the System db. The name does not have to be
* unique within your project.
*
* @var string
*/
public $displayName;
/**
* Output only. The ID of the subscription entitlement associated with the
* DbSystem
*
* @var string
*/
public $entitlementId;
/**
* Optional. The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-
* east4-b-r2. If not specified, the system will pick a zone based on
* availability.
*
* @var string
*/
public $gcpOracleZone;
/**
* Optional. The labels or tags associated with the DbSystem.
*
* @var string[]
*/
public $labels;
/**
* Identifier. The name of the DbSystem resource in the following format:
* projects/{project}/locations/{region}/dbSystems/{db_system}
*
* @var string
*/
public $name;
/**
* Output only. HTTPS link to OCI resources exposed to Customer via UI
* Interface.
*
* @var string
*/
public $ociUrl;
/**
* Optional. The name of the OdbNetwork associated with the DbSystem. Format:
* projects/{project}/locations/{location}/odbNetworks/{odb_network} It is
* optional but if specified, this should match the parent ODBNetwork of the
* OdbSubnet.
*
* @var string
*/
public $odbNetwork;
/**
* Required. The name of the OdbSubnet associated with the DbSystem for IP
* allocation. Format: projects/{project}/locations/{location}/odbNetworks/{od
* b_network}/odbSubnets/{odb_subnet}
*
* @var string
*/
public $odbSubnet;
protected $propertiesType = DbSystemProperties::class;
protected $propertiesDataType = '';
/**
* Output only. The date and time that the DbSystem was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Required. The display name for the System db. The name does not have to be
* unique within your project.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. The ID of the subscription entitlement associated with the
* DbSystem
*
* @param string $entitlementId
*/
public function setEntitlementId($entitlementId)
{
$this->entitlementId = $entitlementId;
}
/**
* @return string
*/
public function getEntitlementId()
{
return $this->entitlementId;
}
/**
* Optional. The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-
* east4-b-r2. If not specified, the system will pick a zone based on
* availability.
*
* @param string $gcpOracleZone
*/
public function setGcpOracleZone($gcpOracleZone)
{
$this->gcpOracleZone = $gcpOracleZone;
}
/**
* @return string
*/
public function getGcpOracleZone()
{
return $this->gcpOracleZone;
}
/**
* Optional. The labels or tags associated with the DbSystem.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Identifier. The name of the DbSystem resource in the following format:
* projects/{project}/locations/{region}/dbSystems/{db_system}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. HTTPS link to OCI resources exposed to Customer via UI
* Interface.
*
* @param string $ociUrl
*/
public function setOciUrl($ociUrl)
{
$this->ociUrl = $ociUrl;
}
/**
* @return string
*/
public function getOciUrl()
{
return $this->ociUrl;
}
/**
* Optional. The name of the OdbNetwork associated with the DbSystem. Format:
* projects/{project}/locations/{location}/odbNetworks/{odb_network} It is
* optional but if specified, this should match the parent ODBNetwork of the
* OdbSubnet.
*
* @param string $odbNetwork
*/
public function setOdbNetwork($odbNetwork)
{
$this->odbNetwork = $odbNetwork;
}
/**
* @return string
*/
public function getOdbNetwork()
{
return $this->odbNetwork;
}
/**
* Required. The name of the OdbSubnet associated with the DbSystem for IP
* allocation. Format: projects/{project}/locations/{location}/odbNetworks/{od
* b_network}/odbSubnets/{odb_subnet}
*
* @param string $odbSubnet
*/
public function setOdbSubnet($odbSubnet)
{
$this->odbSubnet = $odbSubnet;
}
/**
* @return string
*/
public function getOdbSubnet()
{
return $this->odbSubnet;
}
/**
* Optional. The properties of the DbSystem.
*
* @param DbSystemProperties $properties
*/
public function setProperties(DbSystemProperties $properties)
{
$this->properties = $properties;
}
/**
* @return DbSystemProperties
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbSystem::class, 'Google_Service_OracleDatabase_DbSystem');
@@ -0,0 +1,66 @@
<?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\OracleDatabase;
class DbSystemInitialStorageSize extends \Google\Model
{
/**
* Output only. The name of the resource.
*
* @var string
*/
public $name;
protected $propertiesType = DbSystemInitialStorageSizeProperties::class;
protected $propertiesDataType = '';
/**
* Output only. The name of the resource.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The properties of the DbSystem initial storage size summary.
*
* @param DbSystemInitialStorageSizeProperties $properties
*/
public function setProperties(DbSystemInitialStorageSizeProperties $properties)
{
$this->properties = $properties;
}
/**
* @return DbSystemInitialStorageSizeProperties
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbSystemInitialStorageSize::class, 'Google_Service_OracleDatabase_DbSystemInitialStorageSize');
@@ -0,0 +1,132 @@
<?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\OracleDatabase;
class DbSystemInitialStorageSizeProperties extends \Google\Collection
{
/**
* Unspecified shape type.
*/
public const SHAPE_TYPE_SHAPE_TYPE_UNSPECIFIED = 'SHAPE_TYPE_UNSPECIFIED';
/**
* Standard X86.
*/
public const SHAPE_TYPE_STANDARD_X86 = 'STANDARD_X86';
/**
* Unspecified storage management.
*/
public const STORAGE_MANAGEMENT_STORAGE_MANAGEMENT_UNSPECIFIED = 'STORAGE_MANAGEMENT_UNSPECIFIED';
/**
* Automatic Storage Management.
*/
public const STORAGE_MANAGEMENT_ASM = 'ASM';
/**
* Logical Volume Management.
*/
public const STORAGE_MANAGEMENT_LVM = 'LVM';
protected $collection_key = 'storageSizeDetails';
protected $launchFromBackupStorageSizeDetailsType = StorageSizeDetails::class;
protected $launchFromBackupStorageSizeDetailsDataType = 'array';
/**
* Output only. VM shape platform type
*
* @var string
*/
public $shapeType;
/**
* Output only. The storage option used in DB system.
*
* @var string
*/
public $storageManagement;
protected $storageSizeDetailsType = StorageSizeDetails::class;
protected $storageSizeDetailsDataType = 'array';
/**
* Output only. List of storage disk details available for launches from
* backup.
*
* @param StorageSizeDetails[] $launchFromBackupStorageSizeDetails
*/
public function setLaunchFromBackupStorageSizeDetails($launchFromBackupStorageSizeDetails)
{
$this->launchFromBackupStorageSizeDetails = $launchFromBackupStorageSizeDetails;
}
/**
* @return StorageSizeDetails[]
*/
public function getLaunchFromBackupStorageSizeDetails()
{
return $this->launchFromBackupStorageSizeDetails;
}
/**
* Output only. VM shape platform type
*
* Accepted values: SHAPE_TYPE_UNSPECIFIED, STANDARD_X86
*
* @param self::SHAPE_TYPE_* $shapeType
*/
public function setShapeType($shapeType)
{
$this->shapeType = $shapeType;
}
/**
* @return self::SHAPE_TYPE_*
*/
public function getShapeType()
{
return $this->shapeType;
}
/**
* Output only. The storage option used in DB system.
*
* Accepted values: STORAGE_MANAGEMENT_UNSPECIFIED, ASM, LVM
*
* @param self::STORAGE_MANAGEMENT_* $storageManagement
*/
public function setStorageManagement($storageManagement)
{
$this->storageManagement = $storageManagement;
}
/**
* @return self::STORAGE_MANAGEMENT_*
*/
public function getStorageManagement()
{
return $this->storageManagement;
}
/**
* Output only. List of storage disk details.
*
* @param StorageSizeDetails[] $storageSizeDetails
*/
public function setStorageSizeDetails($storageSizeDetails)
{
$this->storageSizeDetails = $storageSizeDetails;
}
/**
* @return StorageSizeDetails[]
*/
public function getStorageSizeDetails()
{
return $this->storageSizeDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbSystemInitialStorageSizeProperties::class, 'Google_Service_OracleDatabase_DbSystemInitialStorageSizeProperties');
@@ -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\OracleDatabase;
class DbSystemOptions extends \Google\Model
{
/**
* The storage management is unspecified.
*/
public const STORAGE_MANAGEMENT_STORAGE_MANAGEMENT_UNSPECIFIED = 'STORAGE_MANAGEMENT_UNSPECIFIED';
/**
* Automatic storage management.
*/
public const STORAGE_MANAGEMENT_ASM = 'ASM';
/**
* Logical Volume management.
*/
public const STORAGE_MANAGEMENT_LVM = 'LVM';
/**
* Optional. The storage option used in DB system.
*
* @var string
*/
public $storageManagement;
/**
* Optional. The storage option used in DB system.
*
* Accepted values: STORAGE_MANAGEMENT_UNSPECIFIED, ASM, LVM
*
* @param self::STORAGE_MANAGEMENT_* $storageManagement
*/
public function setStorageManagement($storageManagement)
{
$this->storageManagement = $storageManagement;
}
/**
* @return self::STORAGE_MANAGEMENT_*
*/
public function getStorageManagement()
{
return $this->storageManagement;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbSystemOptions::class, 'Google_Service_OracleDatabase_DbSystemOptions');
@@ -0,0 +1,571 @@
<?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\OracleDatabase;
class DbSystemProperties extends \Google\Collection
{
/**
* The compute model is unspecified.
*/
public const COMPUTE_MODEL_COMPUTE_MODEL_UNSPECIFIED = 'COMPUTE_MODEL_UNSPECIFIED';
/**
* The compute model is virtual.
*/
public const COMPUTE_MODEL_ECPU = 'ECPU';
/**
* The compute model is physical.
*/
public const COMPUTE_MODEL_OCPU = 'OCPU';
/**
* The database edition is unspecified.
*/
public const DATABASE_EDITION_DB_SYSTEM_DATABASE_EDITION_UNSPECIFIED = 'DB_SYSTEM_DATABASE_EDITION_UNSPECIFIED';
/**
* The database edition is Standard.
*/
public const DATABASE_EDITION_STANDARD_EDITION = 'STANDARD_EDITION';
/**
* The database edition is Enterprise.
*/
public const DATABASE_EDITION_ENTERPRISE_EDITION = 'ENTERPRISE_EDITION';
/**
* The database edition is Enterprise Edition.
*/
public const DATABASE_EDITION_ENTERPRISE_EDITION_HIGH_PERFORMANCE = 'ENTERPRISE_EDITION_HIGH_PERFORMANCE';
/**
* The license model is unspecified.
*/
public const LICENSE_MODEL_LICENSE_MODEL_UNSPECIFIED = 'LICENSE_MODEL_UNSPECIFIED';
/**
* The license model is included.
*/
public const LICENSE_MODEL_LICENSE_INCLUDED = 'LICENSE_INCLUDED';
/**
* The license model is bring your own license.
*/
public const LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE';
/**
* Default unspecified value.
*/
public const LIFECYCLE_STATE_DB_SYSTEM_LIFECYCLE_STATE_UNSPECIFIED = 'DB_SYSTEM_LIFECYCLE_STATE_UNSPECIFIED';
/**
* Indicates that the resource is in provisioning state.
*/
public const LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING';
/**
* Indicates that the resource is in available state.
*/
public const LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE';
/**
* Indicates that the resource is in updating state.
*/
public const LIFECYCLE_STATE_UPDATING = 'UPDATING';
/**
* Indicates that the resource is in terminating state.
*/
public const LIFECYCLE_STATE_TERMINATING = 'TERMINATING';
/**
* Indicates that the resource is in terminated state.
*/
public const LIFECYCLE_STATE_TERMINATED = 'TERMINATED';
/**
* Indicates that the resource is in failed state.
*/
public const LIFECYCLE_STATE_FAILED = 'FAILED';
/**
* Indicates that the resource has been migrated.
*/
public const LIFECYCLE_STATE_MIGRATED = 'MIGRATED';
/**
* Indicates that the resource is in maintenance in progress state.
*/
public const LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS';
/**
* Indicates that the resource needs attention.
*/
public const LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION';
/**
* Indicates that the resource is upgrading.
*/
public const LIFECYCLE_STATE_UPGRADING = 'UPGRADING';
protected $collection_key = 'sshPublicKeys';
/**
* Required. The number of CPU cores to enable for the DbSystem.
*
* @var int
*/
public $computeCount;
/**
* Optional. The compute model of the DbSystem.
*
* @var string
*/
public $computeModel;
protected $dataCollectionOptionsType = DataCollectionOptionsDbSystem::class;
protected $dataCollectionOptionsDataType = '';
/**
* Optional. The data storage size in GB that is currently available to
* DbSystems.
*
* @var int
*/
public $dataStorageSizeGb;
/**
* Required. The database edition of the DbSystem.
*
* @var string
*/
public $databaseEdition;
protected $dbHomeType = DbHome::class;
protected $dbHomeDataType = '';
protected $dbSystemOptionsType = DbSystemOptions::class;
protected $dbSystemOptionsDataType = '';
/**
* Optional. The host domain name of the DbSystem.
*
* @var string
*/
public $domain;
/**
* Output only. The hostname of the DbSystem.
*
* @var string
*/
public $hostname;
/**
* Optional. Prefix for DB System host names.
*
* @var string
*/
public $hostnamePrefix;
/**
* Required. The initial data storage size in GB.
*
* @var int
*/
public $initialDataStorageSizeGb;
/**
* Required. The license model of the DbSystem.
*
* @var string
*/
public $licenseModel;
/**
* Output only. State of the DbSystem.
*
* @var string
*/
public $lifecycleState;
/**
* Optional. The memory size in GB.
*
* @var int
*/
public $memorySizeGb;
/**
* Optional. The number of nodes in the DbSystem.
*
* @var int
*/
public $nodeCount;
/**
* Output only. OCID of the DbSystem.
*
* @var string
*/
public $ocid;
/**
* Optional. The private IP address of the DbSystem.
*
* @var string
*/
public $privateIp;
/**
* Optional. The reco/redo storage size in GB.
*
* @var int
*/
public $recoStorageSizeGb;
/**
* Required. Shape of DB System.
*
* @var string
*/
public $shape;
/**
* Required. SSH public keys to be stored with the DbSystem.
*
* @var string[]
*/
public $sshPublicKeys;
protected $timeZoneType = TimeZone::class;
protected $timeZoneDataType = '';
/**
* Required. The number of CPU cores to enable for the DbSystem.
*
* @param int $computeCount
*/
public function setComputeCount($computeCount)
{
$this->computeCount = $computeCount;
}
/**
* @return int
*/
public function getComputeCount()
{
return $this->computeCount;
}
/**
* Optional. The compute model of the DbSystem.
*
* Accepted values: COMPUTE_MODEL_UNSPECIFIED, ECPU, OCPU
*
* @param self::COMPUTE_MODEL_* $computeModel
*/
public function setComputeModel($computeModel)
{
$this->computeModel = $computeModel;
}
/**
* @return self::COMPUTE_MODEL_*
*/
public function getComputeModel()
{
return $this->computeModel;
}
/**
* Optional. Data collection options for diagnostics.
*
* @param DataCollectionOptionsDbSystem $dataCollectionOptions
*/
public function setDataCollectionOptions(DataCollectionOptionsDbSystem $dataCollectionOptions)
{
$this->dataCollectionOptions = $dataCollectionOptions;
}
/**
* @return DataCollectionOptionsDbSystem
*/
public function getDataCollectionOptions()
{
return $this->dataCollectionOptions;
}
/**
* Optional. The data storage size in GB that is currently available to
* DbSystems.
*
* @param int $dataStorageSizeGb
*/
public function setDataStorageSizeGb($dataStorageSizeGb)
{
$this->dataStorageSizeGb = $dataStorageSizeGb;
}
/**
* @return int
*/
public function getDataStorageSizeGb()
{
return $this->dataStorageSizeGb;
}
/**
* Required. The database edition of the DbSystem.
*
* Accepted values: DB_SYSTEM_DATABASE_EDITION_UNSPECIFIED, STANDARD_EDITION,
* ENTERPRISE_EDITION, ENTERPRISE_EDITION_HIGH_PERFORMANCE
*
* @param self::DATABASE_EDITION_* $databaseEdition
*/
public function setDatabaseEdition($databaseEdition)
{
$this->databaseEdition = $databaseEdition;
}
/**
* @return self::DATABASE_EDITION_*
*/
public function getDatabaseEdition()
{
return $this->databaseEdition;
}
/**
* Optional. Details for creating a Database Home.
*
* @param DbHome $dbHome
*/
public function setDbHome(DbHome $dbHome)
{
$this->dbHome = $dbHome;
}
/**
* @return DbHome
*/
public function getDbHome()
{
return $this->dbHome;
}
/**
* Optional. The options for the DbSystem.
*
* @param DbSystemOptions $dbSystemOptions
*/
public function setDbSystemOptions(DbSystemOptions $dbSystemOptions)
{
$this->dbSystemOptions = $dbSystemOptions;
}
/**
* @return DbSystemOptions
*/
public function getDbSystemOptions()
{
return $this->dbSystemOptions;
}
/**
* Optional. The host domain name of the DbSystem.
*
* @param string $domain
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* Output only. The hostname of the DbSystem.
*
* @param string $hostname
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* Optional. Prefix for DB System host names.
*
* @param string $hostnamePrefix
*/
public function setHostnamePrefix($hostnamePrefix)
{
$this->hostnamePrefix = $hostnamePrefix;
}
/**
* @return string
*/
public function getHostnamePrefix()
{
return $this->hostnamePrefix;
}
/**
* Required. The initial data storage size in GB.
*
* @param int $initialDataStorageSizeGb
*/
public function setInitialDataStorageSizeGb($initialDataStorageSizeGb)
{
$this->initialDataStorageSizeGb = $initialDataStorageSizeGb;
}
/**
* @return int
*/
public function getInitialDataStorageSizeGb()
{
return $this->initialDataStorageSizeGb;
}
/**
* Required. The license model of the DbSystem.
*
* Accepted values: LICENSE_MODEL_UNSPECIFIED, LICENSE_INCLUDED,
* BRING_YOUR_OWN_LICENSE
*
* @param self::LICENSE_MODEL_* $licenseModel
*/
public function setLicenseModel($licenseModel)
{
$this->licenseModel = $licenseModel;
}
/**
* @return self::LICENSE_MODEL_*
*/
public function getLicenseModel()
{
return $this->licenseModel;
}
/**
* Output only. State of the DbSystem.
*
* Accepted values: DB_SYSTEM_LIFECYCLE_STATE_UNSPECIFIED, PROVISIONING,
* AVAILABLE, UPDATING, TERMINATING, TERMINATED, FAILED, MIGRATED,
* MAINTENANCE_IN_PROGRESS, NEEDS_ATTENTION, UPGRADING
*
* @param self::LIFECYCLE_STATE_* $lifecycleState
*/
public function setLifecycleState($lifecycleState)
{
$this->lifecycleState = $lifecycleState;
}
/**
* @return self::LIFECYCLE_STATE_*
*/
public function getLifecycleState()
{
return $this->lifecycleState;
}
/**
* Optional. The memory size in GB.
*
* @param int $memorySizeGb
*/
public function setMemorySizeGb($memorySizeGb)
{
$this->memorySizeGb = $memorySizeGb;
}
/**
* @return int
*/
public function getMemorySizeGb()
{
return $this->memorySizeGb;
}
/**
* Optional. The number of nodes in the DbSystem.
*
* @param int $nodeCount
*/
public function setNodeCount($nodeCount)
{
$this->nodeCount = $nodeCount;
}
/**
* @return int
*/
public function getNodeCount()
{
return $this->nodeCount;
}
/**
* Output only. OCID of the DbSystem.
*
* @param string $ocid
*/
public function setOcid($ocid)
{
$this->ocid = $ocid;
}
/**
* @return string
*/
public function getOcid()
{
return $this->ocid;
}
/**
* Optional. The private IP address of the DbSystem.
*
* @param string $privateIp
*/
public function setPrivateIp($privateIp)
{
$this->privateIp = $privateIp;
}
/**
* @return string
*/
public function getPrivateIp()
{
return $this->privateIp;
}
/**
* Optional. The reco/redo storage size in GB.
*
* @param int $recoStorageSizeGb
*/
public function setRecoStorageSizeGb($recoStorageSizeGb)
{
$this->recoStorageSizeGb = $recoStorageSizeGb;
}
/**
* @return int
*/
public function getRecoStorageSizeGb()
{
return $this->recoStorageSizeGb;
}
/**
* Required. Shape of DB System.
*
* @param string $shape
*/
public function setShape($shape)
{
$this->shape = $shape;
}
/**
* @return string
*/
public function getShape()
{
return $this->shape;
}
/**
* Required. SSH public keys to be stored with the DbSystem.
*
* @param string[] $sshPublicKeys
*/
public function setSshPublicKeys($sshPublicKeys)
{
$this->sshPublicKeys = $sshPublicKeys;
}
/**
* @return string[]
*/
public function getSshPublicKeys()
{
return $this->sshPublicKeys;
}
/**
* Optional. Time zone of the DbSystem.
*
* @param TimeZone $timeZone
*/
public function setTimeZone(TimeZone $timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return TimeZone
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbSystemProperties::class, 'Google_Service_OracleDatabase_DbSystemProperties');
@@ -0,0 +1,292 @@
<?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\OracleDatabase;
class DbSystemShape extends \Google\Model
{
/**
* Optional. Number of cores per node.
*
* @var int
*/
public $availableCoreCountPerNode;
/**
* Optional. Storage per storage server in terabytes.
*
* @var int
*/
public $availableDataStorageTb;
/**
* Optional. Memory per database server node in gigabytes.
*
* @var int
*/
public $availableMemoryPerNodeGb;
/**
* Optional. Maximum number of database servers.
*
* @var int
*/
public $maxNodeCount;
/**
* Optional. Maximum number of storage servers.
*
* @var int
*/
public $maxStorageCount;
/**
* Optional. Minimum core count per node.
*
* @var int
*/
public $minCoreCountPerNode;
/**
* Optional. Minimum node storage per database server in gigabytes.
*
* @var int
*/
public $minDbNodeStoragePerNodeGb;
/**
* Optional. Minimum memory per node in gigabytes.
*
* @var int
*/
public $minMemoryPerNodeGb;
/**
* Optional. Minimum number of database servers.
*
* @var int
*/
public $minNodeCount;
/**
* Optional. Minimum number of storage servers.
*
* @var int
*/
public $minStorageCount;
/**
* Identifier. The name of the Database System Shape resource with the format:
* projects/{project}/locations/{region}/dbSystemShapes/{db_system_shape}
*
* @var string
*/
public $name;
/**
* Optional. shape
*
* @var string
*/
public $shape;
/**
* Optional. Number of cores per node.
*
* @param int $availableCoreCountPerNode
*/
public function setAvailableCoreCountPerNode($availableCoreCountPerNode)
{
$this->availableCoreCountPerNode = $availableCoreCountPerNode;
}
/**
* @return int
*/
public function getAvailableCoreCountPerNode()
{
return $this->availableCoreCountPerNode;
}
/**
* Optional. Storage per storage server in terabytes.
*
* @param int $availableDataStorageTb
*/
public function setAvailableDataStorageTb($availableDataStorageTb)
{
$this->availableDataStorageTb = $availableDataStorageTb;
}
/**
* @return int
*/
public function getAvailableDataStorageTb()
{
return $this->availableDataStorageTb;
}
/**
* Optional. Memory per database server node in gigabytes.
*
* @param int $availableMemoryPerNodeGb
*/
public function setAvailableMemoryPerNodeGb($availableMemoryPerNodeGb)
{
$this->availableMemoryPerNodeGb = $availableMemoryPerNodeGb;
}
/**
* @return int
*/
public function getAvailableMemoryPerNodeGb()
{
return $this->availableMemoryPerNodeGb;
}
/**
* Optional. Maximum number of database servers.
*
* @param int $maxNodeCount
*/
public function setMaxNodeCount($maxNodeCount)
{
$this->maxNodeCount = $maxNodeCount;
}
/**
* @return int
*/
public function getMaxNodeCount()
{
return $this->maxNodeCount;
}
/**
* Optional. Maximum number of storage servers.
*
* @param int $maxStorageCount
*/
public function setMaxStorageCount($maxStorageCount)
{
$this->maxStorageCount = $maxStorageCount;
}
/**
* @return int
*/
public function getMaxStorageCount()
{
return $this->maxStorageCount;
}
/**
* Optional. Minimum core count per node.
*
* @param int $minCoreCountPerNode
*/
public function setMinCoreCountPerNode($minCoreCountPerNode)
{
$this->minCoreCountPerNode = $minCoreCountPerNode;
}
/**
* @return int
*/
public function getMinCoreCountPerNode()
{
return $this->minCoreCountPerNode;
}
/**
* Optional. Minimum node storage per database server in gigabytes.
*
* @param int $minDbNodeStoragePerNodeGb
*/
public function setMinDbNodeStoragePerNodeGb($minDbNodeStoragePerNodeGb)
{
$this->minDbNodeStoragePerNodeGb = $minDbNodeStoragePerNodeGb;
}
/**
* @return int
*/
public function getMinDbNodeStoragePerNodeGb()
{
return $this->minDbNodeStoragePerNodeGb;
}
/**
* Optional. Minimum memory per node in gigabytes.
*
* @param int $minMemoryPerNodeGb
*/
public function setMinMemoryPerNodeGb($minMemoryPerNodeGb)
{
$this->minMemoryPerNodeGb = $minMemoryPerNodeGb;
}
/**
* @return int
*/
public function getMinMemoryPerNodeGb()
{
return $this->minMemoryPerNodeGb;
}
/**
* Optional. Minimum number of database servers.
*
* @param int $minNodeCount
*/
public function setMinNodeCount($minNodeCount)
{
$this->minNodeCount = $minNodeCount;
}
/**
* @return int
*/
public function getMinNodeCount()
{
return $this->minNodeCount;
}
/**
* Optional. Minimum number of storage servers.
*
* @param int $minStorageCount
*/
public function setMinStorageCount($minStorageCount)
{
$this->minStorageCount = $minStorageCount;
}
/**
* @return int
*/
public function getMinStorageCount()
{
return $this->minStorageCount;
}
/**
* Identifier. The name of the Database System Shape resource with the format:
* projects/{project}/locations/{region}/dbSystemShapes/{db_system_shape}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. shape
*
* @param string $shape
*/
public function setShape($shape)
{
$this->shape = $shape;
}
/**
* @return string
*/
public function getShape()
{
return $this->shape;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbSystemShape::class, 'Google_Service_OracleDatabase_DbSystemShape');
@@ -0,0 +1,68 @@
<?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\OracleDatabase;
class DbVersion extends \Google\Model
{
/**
* Output only. The name of the DbVersion resource in the following format:
* projects/{project}/locations/{region}/dbVersions/{db_version}
*
* @var string
*/
public $name;
protected $propertiesType = DbVersionProperties::class;
protected $propertiesDataType = '';
/**
* Output only. The name of the DbVersion resource in the following format:
* projects/{project}/locations/{region}/dbVersions/{db_version}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The properties of the DbVersion.
*
* @param DbVersionProperties $properties
*/
public function setProperties(DbVersionProperties $properties)
{
$this->properties = $properties;
}
/**
* @return DbVersionProperties
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbVersion::class, 'Google_Service_OracleDatabase_DbVersion');
@@ -0,0 +1,144 @@
<?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\OracleDatabase;
class DbVersionProperties extends \Google\Model
{
/**
* Output only. True if this version of the Oracle Database software is the
* latest version for a release.
*
* @var bool
*/
public $isLatestForMajorVersion;
/**
* Output only. True if this version of the Oracle Database software is the
* preview version.
*
* @var bool
*/
public $isPreviewDbVersion;
/**
* Output only. True if this version of the Oracle Database software is
* supported for Upgrade.
*
* @var bool
*/
public $isUpgradeSupported;
/**
* Output only. True if this version of the Oracle Database software supports
* pluggable databases.
*
* @var bool
*/
public $supportsPdb;
/**
* Output only. A valid Oracle Database version.
*
* @var string
*/
public $version;
/**
* Output only. True if this version of the Oracle Database software is the
* latest version for a release.
*
* @param bool $isLatestForMajorVersion
*/
public function setIsLatestForMajorVersion($isLatestForMajorVersion)
{
$this->isLatestForMajorVersion = $isLatestForMajorVersion;
}
/**
* @return bool
*/
public function getIsLatestForMajorVersion()
{
return $this->isLatestForMajorVersion;
}
/**
* Output only. True if this version of the Oracle Database software is the
* preview version.
*
* @param bool $isPreviewDbVersion
*/
public function setIsPreviewDbVersion($isPreviewDbVersion)
{
$this->isPreviewDbVersion = $isPreviewDbVersion;
}
/**
* @return bool
*/
public function getIsPreviewDbVersion()
{
return $this->isPreviewDbVersion;
}
/**
* Output only. True if this version of the Oracle Database software is
* supported for Upgrade.
*
* @param bool $isUpgradeSupported
*/
public function setIsUpgradeSupported($isUpgradeSupported)
{
$this->isUpgradeSupported = $isUpgradeSupported;
}
/**
* @return bool
*/
public function getIsUpgradeSupported()
{
return $this->isUpgradeSupported;
}
/**
* Output only. True if this version of the Oracle Database software supports
* pluggable databases.
*
* @param bool $supportsPdb
*/
public function setSupportsPdb($supportsPdb)
{
$this->supportsPdb = $supportsPdb;
}
/**
* @return bool
*/
public function getSupportsPdb()
{
return $this->supportsPdb;
}
/**
* Output only. A valid Oracle Database version.
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbVersionProperties::class, 'Google_Service_OracleDatabase_DbVersionProperties');
@@ -0,0 +1,48 @@
<?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\OracleDatabase;
class DefinedTagValue extends \Google\Model
{
/**
* The tags within the namespace.
*
* @var string[]
*/
public $tags;
/**
* The tags within the namespace.
*
* @param string[] $tags
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DefinedTagValue::class, 'Google_Service_OracleDatabase_DefinedTagValue');
@@ -0,0 +1,177 @@
<?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\OracleDatabase;
class DeploymentDiagnosticData extends \Google\Model
{
/**
* The diagnostic state is unspecified.
*/
public const DIAGNOSTIC_STATE_DIAGNOSTIC_STATE_UNSPECIFIED = 'DIAGNOSTIC_STATE_UNSPECIFIED';
/**
* The diagnostic is in progress.
*/
public const DIAGNOSTIC_STATE_IN_PROGRESS = 'IN_PROGRESS';
/**
* The diagnostic completed successfully.
*/
public const DIAGNOSTIC_STATE_SUCCEEDED = 'SUCCEEDED';
/**
* The diagnostic failed.
*/
public const DIAGNOSTIC_STATE_FAILED = 'FAILED';
/**
* Output only. The bucket name.
*
* @var string
*/
public $bucket;
/**
* Output only. The time diagnostic end.
*
* @var string
*/
public $diagnosticEndTime;
/**
* Output only. The time diagnostic start.
*
* @var string
*/
public $diagnosticStartTime;
/**
* Output only. The diagnostic state.
*
* @var string
*/
public $diagnosticState;
/**
* Output only. The namespace name.
*
* @var string
*/
public $namespace;
/**
* Output only. The object name.
*
* @var string
*/
public $object;
/**
* Output only. The bucket name.
*
* @param string $bucket
*/
public function setBucket($bucket)
{
$this->bucket = $bucket;
}
/**
* @return string
*/
public function getBucket()
{
return $this->bucket;
}
/**
* Output only. The time diagnostic end.
*
* @param string $diagnosticEndTime
*/
public function setDiagnosticEndTime($diagnosticEndTime)
{
$this->diagnosticEndTime = $diagnosticEndTime;
}
/**
* @return string
*/
public function getDiagnosticEndTime()
{
return $this->diagnosticEndTime;
}
/**
* Output only. The time diagnostic start.
*
* @param string $diagnosticStartTime
*/
public function setDiagnosticStartTime($diagnosticStartTime)
{
$this->diagnosticStartTime = $diagnosticStartTime;
}
/**
* @return string
*/
public function getDiagnosticStartTime()
{
return $this->diagnosticStartTime;
}
/**
* Output only. The diagnostic state.
*
* Accepted values: DIAGNOSTIC_STATE_UNSPECIFIED, IN_PROGRESS, SUCCEEDED,
* FAILED
*
* @param self::DIAGNOSTIC_STATE_* $diagnosticState
*/
public function setDiagnosticState($diagnosticState)
{
$this->diagnosticState = $diagnosticState;
}
/**
* @return self::DIAGNOSTIC_STATE_*
*/
public function getDiagnosticState()
{
return $this->diagnosticState;
}
/**
* Output only. The namespace name.
*
* @param string $namespace
*/
public function setNamespace($namespace)
{
$this->namespace = $namespace;
}
/**
* @return string
*/
public function getNamespace()
{
return $this->namespace;
}
/**
* Output only. The object name.
*
* @param string $object
*/
public function setObject($object)
{
$this->object = $object;
}
/**
* @return string
*/
public function getObject()
{
return $this->object;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeploymentDiagnosticData::class, 'Google_Service_OracleDatabase_DeploymentDiagnosticData');
@@ -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\OracleDatabase;
class EncryptionKey extends \Google\Model
{
/**
* Default unspecified value.
*/
public const PROVIDER_PROVIDER_UNSPECIFIED = 'PROVIDER_UNSPECIFIED';
/**
* Google Managed KMS key, if selected, please provide the KMS key name.
*/
public const PROVIDER_GOOGLE_MANAGED = 'GOOGLE_MANAGED';
/**
* Oracle Managed.
*/
public const PROVIDER_ORACLE_MANAGED = 'ORACLE_MANAGED';
/**
* Optional. The KMS key used to encrypt the Autonomous Database. This field
* is required if the provider is GOOGLE_MANAGED. The name of the KMS key
* resource in the following format: `projects/{project}/locations/{location}/
* keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
*
* @var string
*/
public $kmsKey;
/**
* Optional. The provider of the encryption key.
*
* @var string
*/
public $provider;
/**
* Optional. The KMS key used to encrypt the Autonomous Database. This field
* is required if the provider is GOOGLE_MANAGED. The name of the KMS key
* resource in the following format: `projects/{project}/locations/{location}/
* keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
*
* @param string $kmsKey
*/
public function setKmsKey($kmsKey)
{
$this->kmsKey = $kmsKey;
}
/**
* @return string
*/
public function getKmsKey()
{
return $this->kmsKey;
}
/**
* Optional. The provider of the encryption key.
*
* Accepted values: PROVIDER_UNSPECIFIED, GOOGLE_MANAGED, ORACLE_MANAGED
*
* @param self::PROVIDER_* $provider
*/
public function setProvider($provider)
{
$this->provider = $provider;
}
/**
* @return self::PROVIDER_*
*/
public function getProvider()
{
return $this->provider;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EncryptionKey::class, 'Google_Service_OracleDatabase_EncryptionKey');
@@ -0,0 +1,68 @@
<?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\OracleDatabase;
class EncryptionKeyHistoryEntry extends \Google\Model
{
/**
* Output only. The date and time when the encryption key was activated on the
* Autonomous Database..
*
* @var string
*/
public $activationTime;
protected $encryptionKeyType = EncryptionKey::class;
protected $encryptionKeyDataType = '';
/**
* Output only. The date and time when the encryption key was activated on the
* Autonomous Database..
*
* @param string $activationTime
*/
public function setActivationTime($activationTime)
{
$this->activationTime = $activationTime;
}
/**
* @return string
*/
public function getActivationTime()
{
return $this->activationTime;
}
/**
* Output only. The encryption key used to encrypt the Autonomous Database.
*
* @param EncryptionKey $encryptionKey
*/
public function setEncryptionKey(EncryptionKey $encryptionKey)
{
$this->encryptionKey = $encryptionKey;
}
/**
* @return EncryptionKey
*/
public function getEncryptionKey()
{
return $this->encryptionKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EncryptionKeyHistoryEntry::class, 'Google_Service_OracleDatabase_EncryptionKeyHistoryEntry');
@@ -0,0 +1,139 @@
<?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\OracleDatabase;
class Entitlement extends \Google\Model
{
/**
* Default unspecified value.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Account not linked.
*/
public const STATE_ACCOUNT_NOT_LINKED = 'ACCOUNT_NOT_LINKED';
/**
* Account is linked but not active.
*/
public const STATE_ACCOUNT_NOT_ACTIVE = 'ACCOUNT_NOT_ACTIVE';
/**
* Entitlement and Account are active.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* Account is suspended.
*/
public const STATE_ACCOUNT_SUSPENDED = 'ACCOUNT_SUSPENDED';
/**
* Entitlement is not approved in private marketplace.
*/
public const STATE_NOT_APPROVED_IN_PRIVATE_MARKETPLACE = 'NOT_APPROVED_IN_PRIVATE_MARKETPLACE';
protected $cloudAccountDetailsType = CloudAccountDetails::class;
protected $cloudAccountDetailsDataType = '';
/**
* Output only. Google Cloud Marketplace order ID (aka entitlement ID)
*
* @var string
*/
public $entitlementId;
/**
* Identifier. The name of the Entitlement resource with the format:
* projects/{project}/locations/{region}/entitlements/{entitlement}
*
* @var string
*/
public $name;
/**
* Output only. Entitlement State.
*
* @var string
*/
public $state;
/**
* Details of the OCI Cloud Account.
*
* @param CloudAccountDetails $cloudAccountDetails
*/
public function setCloudAccountDetails(CloudAccountDetails $cloudAccountDetails)
{
$this->cloudAccountDetails = $cloudAccountDetails;
}
/**
* @return CloudAccountDetails
*/
public function getCloudAccountDetails()
{
return $this->cloudAccountDetails;
}
/**
* Output only. Google Cloud Marketplace order ID (aka entitlement ID)
*
* @param string $entitlementId
*/
public function setEntitlementId($entitlementId)
{
$this->entitlementId = $entitlementId;
}
/**
* @return string
*/
public function getEntitlementId()
{
return $this->entitlementId;
}
/**
* Identifier. The name of the Entitlement resource with the format:
* projects/{project}/locations/{region}/entitlements/{entitlement}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Entitlement State.
*
* Accepted values: STATE_UNSPECIFIED, ACCOUNT_NOT_LINKED, ACCOUNT_NOT_ACTIVE,
* ACTIVE, ACCOUNT_SUSPENDED, NOT_APPROVED_IN_PRIVATE_MARKETPLACE
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Entitlement::class, 'Google_Service_OracleDatabase_Entitlement');
@@ -0,0 +1,272 @@
<?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\OracleDatabase;
class ExadbVmCluster extends \Google\Model
{
/**
* Required. Immutable. The name of the backup OdbSubnet associated with the
* ExadbVmCluster. Format: projects/{project}/locations/{location}/odbNetworks
* /{odb_network}/odbSubnets/{odb_subnet}
*
* @var string
*/
public $backupOdbSubnet;
/**
* Output only. The date and time that the ExadbVmCluster was created.
*
* @var string
*/
public $createTime;
/**
* Required. Immutable. The display name for the ExadbVmCluster. The name does
* not have to be unique within your project. The name must be 1-255
* characters long and can only contain alphanumeric characters.
*
* @var string
*/
public $displayName;
/**
* Output only. The ID of the subscription entitlement associated with the
* ExadbVmCluster.
*
* @var string
*/
public $entitlementId;
/**
* Output only. Immutable. The GCP Oracle zone where Oracle ExadbVmCluster is
* hosted. Example: us-east4-b-r2. During creation, the system will pick the
* zone assigned to the ExascaleDbStorageVault.
*
* @var string
*/
public $gcpOracleZone;
/**
* Optional. The labels or tags associated with the ExadbVmCluster.
*
* @var string[]
*/
public $labels;
/**
* Identifier. The name of the ExadbVmCluster resource in the following
* format:
* projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster}
*
* @var string
*/
public $name;
/**
* Optional. Immutable. The name of the OdbNetwork associated with the
* ExadbVmCluster. Format:
* projects/{project}/locations/{location}/odbNetworks/{odb_network} It is
* optional but if specified, this should match the parent ODBNetwork of the
* OdbSubnet.
*
* @var string
*/
public $odbNetwork;
/**
* Required. Immutable. The name of the OdbSubnet associated with the
* ExadbVmCluster for IP allocation. Format: projects/{project}/locations/{loc
* ation}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
*
* @var string
*/
public $odbSubnet;
protected $propertiesType = ExadbVmClusterProperties::class;
protected $propertiesDataType = '';
/**
* Required. Immutable. The name of the backup OdbSubnet associated with the
* ExadbVmCluster. Format: projects/{project}/locations/{location}/odbNetworks
* /{odb_network}/odbSubnets/{odb_subnet}
*
* @param string $backupOdbSubnet
*/
public function setBackupOdbSubnet($backupOdbSubnet)
{
$this->backupOdbSubnet = $backupOdbSubnet;
}
/**
* @return string
*/
public function getBackupOdbSubnet()
{
return $this->backupOdbSubnet;
}
/**
* Output only. The date and time that the ExadbVmCluster was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Required. Immutable. The display name for the ExadbVmCluster. The name does
* not have to be unique within your project. The name must be 1-255
* characters long and can only contain alphanumeric characters.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. The ID of the subscription entitlement associated with the
* ExadbVmCluster.
*
* @param string $entitlementId
*/
public function setEntitlementId($entitlementId)
{
$this->entitlementId = $entitlementId;
}
/**
* @return string
*/
public function getEntitlementId()
{
return $this->entitlementId;
}
/**
* Output only. Immutable. The GCP Oracle zone where Oracle ExadbVmCluster is
* hosted. Example: us-east4-b-r2. During creation, the system will pick the
* zone assigned to the ExascaleDbStorageVault.
*
* @param string $gcpOracleZone
*/
public function setGcpOracleZone($gcpOracleZone)
{
$this->gcpOracleZone = $gcpOracleZone;
}
/**
* @return string
*/
public function getGcpOracleZone()
{
return $this->gcpOracleZone;
}
/**
* Optional. The labels or tags associated with the ExadbVmCluster.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Identifier. The name of the ExadbVmCluster resource in the following
* format:
* projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Immutable. The name of the OdbNetwork associated with the
* ExadbVmCluster. Format:
* projects/{project}/locations/{location}/odbNetworks/{odb_network} It is
* optional but if specified, this should match the parent ODBNetwork of the
* OdbSubnet.
*
* @param string $odbNetwork
*/
public function setOdbNetwork($odbNetwork)
{
$this->odbNetwork = $odbNetwork;
}
/**
* @return string
*/
public function getOdbNetwork()
{
return $this->odbNetwork;
}
/**
* Required. Immutable. The name of the OdbSubnet associated with the
* ExadbVmCluster for IP allocation. Format: projects/{project}/locations/{loc
* ation}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
*
* @param string $odbSubnet
*/
public function setOdbSubnet($odbSubnet)
{
$this->odbSubnet = $odbSubnet;
}
/**
* @return string
*/
public function getOdbSubnet()
{
return $this->odbSubnet;
}
/**
* Required. The properties of the ExadbVmCluster.
*
* @param ExadbVmClusterProperties $properties
*/
public function setProperties(ExadbVmClusterProperties $properties)
{
$this->properties = $properties;
}
/**
* @return ExadbVmClusterProperties
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExadbVmCluster::class, 'Google_Service_OracleDatabase_ExadbVmCluster');
@@ -0,0 +1,524 @@
<?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\OracleDatabase;
class ExadbVmClusterProperties extends \Google\Collection
{
/**
* Unspecified.
*/
public const LICENSE_MODEL_LICENSE_MODEL_UNSPECIFIED = 'LICENSE_MODEL_UNSPECIFIED';
/**
* Default is license included.
*/
public const LICENSE_MODEL_LICENSE_INCLUDED = 'LICENSE_INCLUDED';
/**
* Bring your own license.
*/
public const LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE';
/**
* Default unspecified value.
*/
public const LIFECYCLE_STATE_EXADB_VM_CLUSTER_LIFECYCLE_STATE_UNSPECIFIED = 'EXADB_VM_CLUSTER_LIFECYCLE_STATE_UNSPECIFIED';
/**
* Indicates that the resource is in provisioning state.
*/
public const LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING';
/**
* Indicates that the resource is in available state.
*/
public const LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE';
/**
* Indicates that the resource is in updating state.
*/
public const LIFECYCLE_STATE_UPDATING = 'UPDATING';
/**
* Indicates that the resource is in terminating state.
*/
public const LIFECYCLE_STATE_TERMINATING = 'TERMINATING';
/**
* Indicates that the resource is in terminated state.
*/
public const LIFECYCLE_STATE_TERMINATED = 'TERMINATED';
/**
* Indicates that the resource is in failed state.
*/
public const LIFECYCLE_STATE_FAILED = 'FAILED';
/**
* Indicates that the resource is in maintenance in progress state.
*/
public const LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS';
/**
* Default unspecified value.
*/
public const SHAPE_ATTRIBUTE_SHAPE_ATTRIBUTE_UNSPECIFIED = 'SHAPE_ATTRIBUTE_UNSPECIFIED';
/**
* Indicates that the resource is in smart storage.
*/
public const SHAPE_ATTRIBUTE_SMART_STORAGE = 'SMART_STORAGE';
/**
* Indicates that the resource is in block storage.
*/
public const SHAPE_ATTRIBUTE_BLOCK_STORAGE = 'BLOCK_STORAGE';
protected $collection_key = 'sshPublicKeys';
/**
* Optional. Immutable. The number of additional ECPUs per node for an Exadata
* VM cluster on exascale infrastructure.
*
* @var int
*/
public $additionalEcpuCountPerNode;
/**
* Optional. Immutable. The cluster name for Exascale vm cluster. The cluster
* name must begin with an alphabetic character and may contain hyphens(-) but
* can not contain underscores(_). It should be not more than 11 characters
* and is not case sensitive. OCI Cluster name.
*
* @var string
*/
public $clusterName;
protected $dataCollectionOptionsType = DataCollectionOptionsCommon::class;
protected $dataCollectionOptionsDataType = '';
/**
* Required. Immutable. The number of ECPUs enabled per node for an exadata vm
* cluster on exascale infrastructure.
*
* @var int
*/
public $enabledEcpuCountPerNode;
/**
* Required. Immutable. The name of ExascaleDbStorageVault associated with the
* ExadbVmCluster. It can refer to an existing ExascaleDbStorageVault. Or a
* new one can be created during the ExadbVmCluster creation (requires
* storage_vault_properties to be set). Format: projects/{project}/locations/{
* location}/exascaleDbStorageVaults/{exascale_db_storage_vault}
*
* @var string
*/
public $exascaleDbStorageVault;
/**
* Output only. The Oracle Grid Infrastructure (GI) software version.
*
* @var string
*/
public $giVersion;
/**
* Required. Immutable. Grid Infrastructure Version.
*
* @var string
*/
public $gridImageId;
/**
* Output only. The hostname of the ExadbVmCluster.
*
* @var string
*/
public $hostname;
/**
* Required. Immutable. Prefix for VM cluster host names.
*
* @var string
*/
public $hostnamePrefix;
/**
* Optional. Immutable. The license type of the ExadbVmCluster.
*
* @var string
*/
public $licenseModel;
/**
* Output only. State of the cluster.
*
* @var string
*/
public $lifecycleState;
/**
* Output only. Memory per VM (GB) (Read-only): Shows the amount of memory
* allocated to each VM. Memory is calculated based on 2.75 GB per Total
* ECPUs.
*
* @var int
*/
public $memorySizeGb;
/**
* Required. The number of nodes/VMs in the ExadbVmCluster.
*
* @var int
*/
public $nodeCount;
/**
* Output only. Deep link to the OCI console to view this resource.
*
* @var string
*/
public $ociUri;
/**
* Optional. Immutable. SCAN listener port - TCP
*
* @var int
*/
public $scanListenerPortTcp;
/**
* Required. Immutable. The shape attribute of the VM cluster. The type of
* Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE
* which supports Oracle Database 23ai and later
*
* @var string
*/
public $shapeAttribute;
/**
* Required. Immutable. The SSH public keys for the ExadbVmCluster.
*
* @var string[]
*/
public $sshPublicKeys;
protected $timeZoneType = TimeZone::class;
protected $timeZoneDataType = '';
protected $vmFileSystemStorageType = ExadbVmClusterStorageDetails::class;
protected $vmFileSystemStorageDataType = '';
/**
* Optional. Immutable. The number of additional ECPUs per node for an Exadata
* VM cluster on exascale infrastructure.
*
* @param int $additionalEcpuCountPerNode
*/
public function setAdditionalEcpuCountPerNode($additionalEcpuCountPerNode)
{
$this->additionalEcpuCountPerNode = $additionalEcpuCountPerNode;
}
/**
* @return int
*/
public function getAdditionalEcpuCountPerNode()
{
return $this->additionalEcpuCountPerNode;
}
/**
* Optional. Immutable. The cluster name for Exascale vm cluster. The cluster
* name must begin with an alphabetic character and may contain hyphens(-) but
* can not contain underscores(_). It should be not more than 11 characters
* and is not case sensitive. OCI Cluster name.
*
* @param string $clusterName
*/
public function setClusterName($clusterName)
{
$this->clusterName = $clusterName;
}
/**
* @return string
*/
public function getClusterName()
{
return $this->clusterName;
}
/**
* Optional. Immutable. Indicates user preference for data collection options.
*
* @param DataCollectionOptionsCommon $dataCollectionOptions
*/
public function setDataCollectionOptions(DataCollectionOptionsCommon $dataCollectionOptions)
{
$this->dataCollectionOptions = $dataCollectionOptions;
}
/**
* @return DataCollectionOptionsCommon
*/
public function getDataCollectionOptions()
{
return $this->dataCollectionOptions;
}
/**
* Required. Immutable. The number of ECPUs enabled per node for an exadata vm
* cluster on exascale infrastructure.
*
* @param int $enabledEcpuCountPerNode
*/
public function setEnabledEcpuCountPerNode($enabledEcpuCountPerNode)
{
$this->enabledEcpuCountPerNode = $enabledEcpuCountPerNode;
}
/**
* @return int
*/
public function getEnabledEcpuCountPerNode()
{
return $this->enabledEcpuCountPerNode;
}
/**
* Required. Immutable. The name of ExascaleDbStorageVault associated with the
* ExadbVmCluster. It can refer to an existing ExascaleDbStorageVault. Or a
* new one can be created during the ExadbVmCluster creation (requires
* storage_vault_properties to be set). Format: projects/{project}/locations/{
* location}/exascaleDbStorageVaults/{exascale_db_storage_vault}
*
* @param string $exascaleDbStorageVault
*/
public function setExascaleDbStorageVault($exascaleDbStorageVault)
{
$this->exascaleDbStorageVault = $exascaleDbStorageVault;
}
/**
* @return string
*/
public function getExascaleDbStorageVault()
{
return $this->exascaleDbStorageVault;
}
/**
* Output only. The Oracle Grid Infrastructure (GI) software version.
*
* @param string $giVersion
*/
public function setGiVersion($giVersion)
{
$this->giVersion = $giVersion;
}
/**
* @return string
*/
public function getGiVersion()
{
return $this->giVersion;
}
/**
* Required. Immutable. Grid Infrastructure Version.
*
* @param string $gridImageId
*/
public function setGridImageId($gridImageId)
{
$this->gridImageId = $gridImageId;
}
/**
* @return string
*/
public function getGridImageId()
{
return $this->gridImageId;
}
/**
* Output only. The hostname of the ExadbVmCluster.
*
* @param string $hostname
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* Required. Immutable. Prefix for VM cluster host names.
*
* @param string $hostnamePrefix
*/
public function setHostnamePrefix($hostnamePrefix)
{
$this->hostnamePrefix = $hostnamePrefix;
}
/**
* @return string
*/
public function getHostnamePrefix()
{
return $this->hostnamePrefix;
}
/**
* Optional. Immutable. The license type of the ExadbVmCluster.
*
* Accepted values: LICENSE_MODEL_UNSPECIFIED, LICENSE_INCLUDED,
* BRING_YOUR_OWN_LICENSE
*
* @param self::LICENSE_MODEL_* $licenseModel
*/
public function setLicenseModel($licenseModel)
{
$this->licenseModel = $licenseModel;
}
/**
* @return self::LICENSE_MODEL_*
*/
public function getLicenseModel()
{
return $this->licenseModel;
}
/**
* Output only. State of the cluster.
*
* Accepted values: EXADB_VM_CLUSTER_LIFECYCLE_STATE_UNSPECIFIED,
* PROVISIONING, AVAILABLE, UPDATING, TERMINATING, TERMINATED, FAILED,
* MAINTENANCE_IN_PROGRESS
*
* @param self::LIFECYCLE_STATE_* $lifecycleState
*/
public function setLifecycleState($lifecycleState)
{
$this->lifecycleState = $lifecycleState;
}
/**
* @return self::LIFECYCLE_STATE_*
*/
public function getLifecycleState()
{
return $this->lifecycleState;
}
/**
* Output only. Memory per VM (GB) (Read-only): Shows the amount of memory
* allocated to each VM. Memory is calculated based on 2.75 GB per Total
* ECPUs.
*
* @param int $memorySizeGb
*/
public function setMemorySizeGb($memorySizeGb)
{
$this->memorySizeGb = $memorySizeGb;
}
/**
* @return int
*/
public function getMemorySizeGb()
{
return $this->memorySizeGb;
}
/**
* Required. The number of nodes/VMs in the ExadbVmCluster.
*
* @param int $nodeCount
*/
public function setNodeCount($nodeCount)
{
$this->nodeCount = $nodeCount;
}
/**
* @return int
*/
public function getNodeCount()
{
return $this->nodeCount;
}
/**
* Output only. Deep link to the OCI console to view this resource.
*
* @param string $ociUri
*/
public function setOciUri($ociUri)
{
$this->ociUri = $ociUri;
}
/**
* @return string
*/
public function getOciUri()
{
return $this->ociUri;
}
/**
* Optional. Immutable. SCAN listener port - TCP
*
* @param int $scanListenerPortTcp
*/
public function setScanListenerPortTcp($scanListenerPortTcp)
{
$this->scanListenerPortTcp = $scanListenerPortTcp;
}
/**
* @return int
*/
public function getScanListenerPortTcp()
{
return $this->scanListenerPortTcp;
}
/**
* Required. Immutable. The shape attribute of the VM cluster. The type of
* Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE
* which supports Oracle Database 23ai and later
*
* Accepted values: SHAPE_ATTRIBUTE_UNSPECIFIED, SMART_STORAGE, BLOCK_STORAGE
*
* @param self::SHAPE_ATTRIBUTE_* $shapeAttribute
*/
public function setShapeAttribute($shapeAttribute)
{
$this->shapeAttribute = $shapeAttribute;
}
/**
* @return self::SHAPE_ATTRIBUTE_*
*/
public function getShapeAttribute()
{
return $this->shapeAttribute;
}
/**
* Required. Immutable. The SSH public keys for the ExadbVmCluster.
*
* @param string[] $sshPublicKeys
*/
public function setSshPublicKeys($sshPublicKeys)
{
$this->sshPublicKeys = $sshPublicKeys;
}
/**
* @return string[]
*/
public function getSshPublicKeys()
{
return $this->sshPublicKeys;
}
/**
* Optional. Immutable. The time zone of the ExadbVmCluster.
*
* @param TimeZone $timeZone
*/
public function setTimeZone(TimeZone $timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return TimeZone
*/
public function getTimeZone()
{
return $this->timeZone;
}
/**
* Required. Immutable. Total storage details for the ExadbVmCluster.
*
* @param ExadbVmClusterStorageDetails $vmFileSystemStorage
*/
public function setVmFileSystemStorage(ExadbVmClusterStorageDetails $vmFileSystemStorage)
{
$this->vmFileSystemStorage = $vmFileSystemStorage;
}
/**
* @return ExadbVmClusterStorageDetails
*/
public function getVmFileSystemStorage()
{
return $this->vmFileSystemStorage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExadbVmClusterProperties::class, 'Google_Service_OracleDatabase_ExadbVmClusterProperties');
@@ -0,0 +1,52 @@
<?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\OracleDatabase;
class ExadbVmClusterStorageDetails extends \Google\Model
{
/**
* Required. The storage allocation for the exadbvmcluster per node, in
* gigabytes (GB). This field is used to calculate the total storage
* allocation for the exadbvmcluster.
*
* @var int
*/
public $sizeInGbsPerNode;
/**
* Required. The storage allocation for the exadbvmcluster per node, in
* gigabytes (GB). This field is used to calculate the total storage
* allocation for the exadbvmcluster.
*
* @param int $sizeInGbsPerNode
*/
public function setSizeInGbsPerNode($sizeInGbsPerNode)
{
$this->sizeInGbsPerNode = $sizeInGbsPerNode;
}
/**
* @return int
*/
public function getSizeInGbsPerNode()
{
return $this->sizeInGbsPerNode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExadbVmClusterStorageDetails::class, 'Google_Service_OracleDatabase_ExadbVmClusterStorageDetails');
@@ -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\OracleDatabase;
class ExascaleDbStorageDetails extends \Google\Model
{
/**
* Output only. The available storage capacity for the ExascaleDbStorageVault,
* in gigabytes (GB).
*
* @var int
*/
public $availableSizeGbs;
/**
* Required. The total storage allocation for the ExascaleDbStorageVault, in
* gigabytes (GB).
*
* @var int
*/
public $totalSizeGbs;
/**
* Output only. The available storage capacity for the ExascaleDbStorageVault,
* in gigabytes (GB).
*
* @param int $availableSizeGbs
*/
public function setAvailableSizeGbs($availableSizeGbs)
{
$this->availableSizeGbs = $availableSizeGbs;
}
/**
* @return int
*/
public function getAvailableSizeGbs()
{
return $this->availableSizeGbs;
}
/**
* Required. The total storage allocation for the ExascaleDbStorageVault, in
* gigabytes (GB).
*
* @param int $totalSizeGbs
*/
public function setTotalSizeGbs($totalSizeGbs)
{
$this->totalSizeGbs = $totalSizeGbs;
}
/**
* @return int
*/
public function getTotalSizeGbs()
{
return $this->totalSizeGbs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExascaleDbStorageDetails::class, 'Google_Service_OracleDatabase_ExascaleDbStorageDetails');
@@ -0,0 +1,190 @@
<?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\OracleDatabase;
class ExascaleDbStorageVault extends \Google\Model
{
/**
* Output only. The date and time when the ExascaleDbStorageVault was created.
*
* @var string
*/
public $createTime;
/**
* Required. The display name for the ExascaleDbStorageVault. The name does
* not have to be unique within your project. The name must be 1-255
* characters long and can only contain alphanumeric characters.
*
* @var string
*/
public $displayName;
/**
* Output only. The ID of the subscription entitlement associated with the
* ExascaleDbStorageVault.
*
* @var string
*/
public $entitlementId;
/**
* Optional. The GCP Oracle zone where Oracle ExascaleDbStorageVault is
* hosted. Example: us-east4-b-r2. If not specified, the system will pick a
* zone based on availability.
*
* @var string
*/
public $gcpOracleZone;
/**
* Optional. The labels or tags associated with the ExascaleDbStorageVault.
*
* @var string[]
*/
public $labels;
/**
* Identifier. The resource name of the ExascaleDbStorageVault. Format: projec
* ts/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_stor
* age_vault}
*
* @var string
*/
public $name;
protected $propertiesType = ExascaleDbStorageVaultProperties::class;
protected $propertiesDataType = '';
/**
* Output only. The date and time when the ExascaleDbStorageVault was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Required. The display name for the ExascaleDbStorageVault. The name does
* not have to be unique within your project. The name must be 1-255
* characters long and can only contain alphanumeric characters.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. The ID of the subscription entitlement associated with the
* ExascaleDbStorageVault.
*
* @param string $entitlementId
*/
public function setEntitlementId($entitlementId)
{
$this->entitlementId = $entitlementId;
}
/**
* @return string
*/
public function getEntitlementId()
{
return $this->entitlementId;
}
/**
* Optional. The GCP Oracle zone where Oracle ExascaleDbStorageVault is
* hosted. Example: us-east4-b-r2. If not specified, the system will pick a
* zone based on availability.
*
* @param string $gcpOracleZone
*/
public function setGcpOracleZone($gcpOracleZone)
{
$this->gcpOracleZone = $gcpOracleZone;
}
/**
* @return string
*/
public function getGcpOracleZone()
{
return $this->gcpOracleZone;
}
/**
* Optional. The labels or tags associated with the ExascaleDbStorageVault.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Identifier. The resource name of the ExascaleDbStorageVault. Format: projec
* ts/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_stor
* age_vault}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. The properties of the ExascaleDbStorageVault.
*
* @param ExascaleDbStorageVaultProperties $properties
*/
public function setProperties(ExascaleDbStorageVaultProperties $properties)
{
$this->properties = $properties;
}
/**
* @return ExascaleDbStorageVaultProperties
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExascaleDbStorageVault::class, 'Google_Service_OracleDatabase_ExascaleDbStorageVault');
@@ -0,0 +1,302 @@
<?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\OracleDatabase;
class ExascaleDbStorageVaultProperties extends \Google\Collection
{
/**
* The state of the ExascaleDbStorageVault is unspecified.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The ExascaleDbStorageVault is being provisioned.
*/
public const STATE_PROVISIONING = 'PROVISIONING';
/**
* The ExascaleDbStorageVault is available.
*/
public const STATE_AVAILABLE = 'AVAILABLE';
/**
* The ExascaleDbStorageVault is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* The ExascaleDbStorageVault is being deleted.
*/
public const STATE_TERMINATING = 'TERMINATING';
/**
* The ExascaleDbStorageVault has been deleted.
*/
public const STATE_TERMINATED = 'TERMINATED';
/**
* The ExascaleDbStorageVault has failed.
*/
public const STATE_FAILED = 'FAILED';
protected $collection_key = 'vmClusterIds';
/**
* Optional. The size of additional flash cache in percentage of high capacity
* database storage.
*
* @var int
*/
public $additionalFlashCachePercent;
/**
* Output only. The shape attributes of the VM clusters attached to the
* ExascaleDbStorageVault.
*
* @var string[]
*/
public $attachedShapeAttributes;
/**
* Output only. The shape attributes available for the VM clusters to be
* attached to the ExascaleDbStorageVault.
*
* @var string[]
*/
public $availableShapeAttributes;
/**
* Optional. The description of the ExascaleDbStorageVault.
*
* @var string
*/
public $description;
protected $exascaleDbStorageDetailsType = ExascaleDbStorageDetails::class;
protected $exascaleDbStorageDetailsDataType = '';
/**
* Output only. Deep link to the OCI console to view this resource.
*
* @var string
*/
public $ociUri;
/**
* Output only. The OCID for the ExascaleDbStorageVault.
*
* @var string
*/
public $ocid;
/**
* Output only. The state of the ExascaleDbStorageVault.
*
* @var string
*/
public $state;
protected $timeZoneType = TimeZone::class;
protected $timeZoneDataType = '';
/**
* Output only. The number of VM clusters associated with the
* ExascaleDbStorageVault.
*
* @var int
*/
public $vmClusterCount;
/**
* Output only. The list of VM cluster OCIDs associated with the
* ExascaleDbStorageVault.
*
* @var string[]
*/
public $vmClusterIds;
/**
* Optional. The size of additional flash cache in percentage of high capacity
* database storage.
*
* @param int $additionalFlashCachePercent
*/
public function setAdditionalFlashCachePercent($additionalFlashCachePercent)
{
$this->additionalFlashCachePercent = $additionalFlashCachePercent;
}
/**
* @return int
*/
public function getAdditionalFlashCachePercent()
{
return $this->additionalFlashCachePercent;
}
/**
* Output only. The shape attributes of the VM clusters attached to the
* ExascaleDbStorageVault.
*
* @param string[] $attachedShapeAttributes
*/
public function setAttachedShapeAttributes($attachedShapeAttributes)
{
$this->attachedShapeAttributes = $attachedShapeAttributes;
}
/**
* @return string[]
*/
public function getAttachedShapeAttributes()
{
return $this->attachedShapeAttributes;
}
/**
* Output only. The shape attributes available for the VM clusters to be
* attached to the ExascaleDbStorageVault.
*
* @param string[] $availableShapeAttributes
*/
public function setAvailableShapeAttributes($availableShapeAttributes)
{
$this->availableShapeAttributes = $availableShapeAttributes;
}
/**
* @return string[]
*/
public function getAvailableShapeAttributes()
{
return $this->availableShapeAttributes;
}
/**
* Optional. The description of the ExascaleDbStorageVault.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. The storage details of the ExascaleDbStorageVault.
*
* @param ExascaleDbStorageDetails $exascaleDbStorageDetails
*/
public function setExascaleDbStorageDetails(ExascaleDbStorageDetails $exascaleDbStorageDetails)
{
$this->exascaleDbStorageDetails = $exascaleDbStorageDetails;
}
/**
* @return ExascaleDbStorageDetails
*/
public function getExascaleDbStorageDetails()
{
return $this->exascaleDbStorageDetails;
}
/**
* Output only. Deep link to the OCI console to view this resource.
*
* @param string $ociUri
*/
public function setOciUri($ociUri)
{
$this->ociUri = $ociUri;
}
/**
* @return string
*/
public function getOciUri()
{
return $this->ociUri;
}
/**
* Output only. The OCID for the ExascaleDbStorageVault.
*
* @param string $ocid
*/
public function setOcid($ocid)
{
$this->ocid = $ocid;
}
/**
* @return string
*/
public function getOcid()
{
return $this->ocid;
}
/**
* Output only. The state of the ExascaleDbStorageVault.
*
* Accepted values: STATE_UNSPECIFIED, PROVISIONING, AVAILABLE, UPDATING,
* TERMINATING, TERMINATED, FAILED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. The time zone of the ExascaleDbStorageVault.
*
* @param TimeZone $timeZone
*/
public function setTimeZone(TimeZone $timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return TimeZone
*/
public function getTimeZone()
{
return $this->timeZone;
}
/**
* Output only. The number of VM clusters associated with the
* ExascaleDbStorageVault.
*
* @param int $vmClusterCount
*/
public function setVmClusterCount($vmClusterCount)
{
$this->vmClusterCount = $vmClusterCount;
}
/**
* @return int
*/
public function getVmClusterCount()
{
return $this->vmClusterCount;
}
/**
* Output only. The list of VM cluster OCIDs associated with the
* ExascaleDbStorageVault.
*
* @param string[] $vmClusterIds
*/
public function setVmClusterIds($vmClusterIds)
{
$this->vmClusterIds = $vmClusterIds;
}
/**
* @return string[]
*/
public function getVmClusterIds()
{
return $this->vmClusterIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExascaleDbStorageVaultProperties::class, 'Google_Service_OracleDatabase_ExascaleDbStorageVaultProperties');
@@ -0,0 +1,50 @@
<?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\OracleDatabase;
class FailoverAutonomousDatabaseRequest extends \Google\Model
{
/**
* Optional. The peer database name to fail over to. Required for cross-region
* standby, and must be omitted for in-region Data Guard.
*
* @var string
*/
public $peerAutonomousDatabase;
/**
* Optional. The peer database name to fail over to. Required for cross-region
* standby, and must be omitted for in-region Data Guard.
*
* @param string $peerAutonomousDatabase
*/
public function setPeerAutonomousDatabase($peerAutonomousDatabase)
{
$this->peerAutonomousDatabase = $peerAutonomousDatabase;
}
/**
* @return string
*/
public function getPeerAutonomousDatabase()
{
return $this->peerAutonomousDatabase;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FailoverAutonomousDatabaseRequest::class, 'Google_Service_OracleDatabase_FailoverAutonomousDatabaseRequest');
@@ -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\OracleDatabase;
class GenerateAutonomousDatabaseWalletRequest extends \Google\Model
{
/**
* Default unspecified value.
*/
public const TYPE_GENERATE_TYPE_UNSPECIFIED = 'GENERATE_TYPE_UNSPECIFIED';
/**
* Used to generate wallet for all databases in the region.
*/
public const TYPE_ALL = 'ALL';
/**
* Used to generate wallet for a single database.
*/
public const TYPE_SINGLE = 'SINGLE';
/**
* Optional. True when requesting regional connection strings in PDB connect
* info, applicable to cross-region Data Guard only.
*
* @var bool
*/
public $isRegional;
/**
* Required. The password used to encrypt the keys inside the wallet. The
* password must be a minimum of 8 characters.
*
* @var string
*/
public $password;
/**
* Optional. The type of wallet generation for the Autonomous Database. The
* default value is SINGLE.
*
* @var string
*/
public $type;
/**
* Optional. True when requesting regional connection strings in PDB connect
* info, applicable to cross-region Data Guard only.
*
* @param bool $isRegional
*/
public function setIsRegional($isRegional)
{
$this->isRegional = $isRegional;
}
/**
* @return bool
*/
public function getIsRegional()
{
return $this->isRegional;
}
/**
* Required. The password used to encrypt the keys inside the wallet. The
* password must be a minimum of 8 characters.
*
* @param string $password
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* Optional. The type of wallet generation for the Autonomous Database. The
* default value is SINGLE.
*
* Accepted values: GENERATE_TYPE_UNSPECIFIED, ALL, SINGLE
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateAutonomousDatabaseWalletRequest::class, 'Google_Service_OracleDatabase_GenerateAutonomousDatabaseWalletRequest');
@@ -0,0 +1,48 @@
<?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\OracleDatabase;
class GenerateAutonomousDatabaseWalletResponse extends \Google\Model
{
/**
* Output only. The base64 encoded wallet files.
*
* @var string
*/
public $archiveContent;
/**
* Output only. The base64 encoded wallet files.
*
* @param string $archiveContent
*/
public function setArchiveContent($archiveContent)
{
$this->archiveContent = $archiveContent;
}
/**
* @return string
*/
public function getArchiveContent()
{
return $this->archiveContent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateAutonomousDatabaseWalletResponse::class, 'Google_Service_OracleDatabase_GenerateAutonomousDatabaseWalletResponse');
@@ -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\OracleDatabase;
class GiVersion extends \Google\Model
{
/**
* Identifier. The name of the Oracle Grid Infrastructure (GI) version
* resource with the format:
* projects/{project}/locations/{region}/giVersions/{gi_versions}
*
* @var string
*/
public $name;
/**
* Optional. version
*
* @var string
*/
public $version;
/**
* Identifier. The name of the Oracle Grid Infrastructure (GI) version
* resource with the format:
* projects/{project}/locations/{region}/giVersions/{gi_versions}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. version
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GiVersion::class, 'Google_Service_OracleDatabase_GiVersion');
@@ -0,0 +1,48 @@
<?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\OracleDatabase;
class GlueIcebergCatalog extends \Google\Model
{
/**
* Required. The catalog ID of Glue.
*
* @var string
*/
public $glueId;
/**
* Required. The catalog ID of Glue.
*
* @param string $glueId
*/
public function setGlueId($glueId)
{
$this->glueId = $glueId;
}
/**
* @return string
*/
public function getGlueId()
{
return $this->glueId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GlueIcebergCatalog::class, 'Google_Service_OracleDatabase_GlueIcebergCatalog');
@@ -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\OracleDatabase;
class GoldengateAmazonKinesisConnectionProperties extends \Google\Model
{
/**
* Optional. Access key ID to access the Amazon Kinesis.
*
* @var string
*/
public $accessKeyId;
/**
* Optional. The name of the AWS region. If not provided, Goldengate will
* default to 'us-west-1'.
*
* @var string
*/
public $awsRegion;
/**
* Optional. The endpoint URL of the Amazon Kinesis service. e.g.:
* 'https://kinesis.us-east-1.amazonaws.com' If not provided, Goldengate will
* default to 'https://kinesis..amazonaws.com'.
*
* @var string
*/
public $endpoint;
/**
* Optional. Secret access key to access the Amazon Kinesis.
*
* @var string
*/
public $secretAccessKeySecret;
/**
* Optional. The technology type of AmazonKinesisConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. Access key ID to access the Amazon Kinesis.
*
* @param string $accessKeyId
*/
public function setAccessKeyId($accessKeyId)
{
$this->accessKeyId = $accessKeyId;
}
/**
* @return string
*/
public function getAccessKeyId()
{
return $this->accessKeyId;
}
/**
* Optional. The name of the AWS region. If not provided, Goldengate will
* default to 'us-west-1'.
*
* @param string $awsRegion
*/
public function setAwsRegion($awsRegion)
{
$this->awsRegion = $awsRegion;
}
/**
* @return string
*/
public function getAwsRegion()
{
return $this->awsRegion;
}
/**
* Optional. The endpoint URL of the Amazon Kinesis service. e.g.:
* 'https://kinesis.us-east-1.amazonaws.com' If not provided, Goldengate will
* default to 'https://kinesis..amazonaws.com'.
*
* @param string $endpoint
*/
public function setEndpoint($endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return string
*/
public function getEndpoint()
{
return $this->endpoint;
}
/**
* Optional. Secret access key to access the Amazon Kinesis.
*
* @param string $secretAccessKeySecret
*/
public function setSecretAccessKeySecret($secretAccessKeySecret)
{
$this->secretAccessKeySecret = $secretAccessKeySecret;
}
/**
* @return string
*/
public function getSecretAccessKeySecret()
{
return $this->secretAccessKeySecret;
}
/**
* Optional. The technology type of AmazonKinesisConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateAmazonKinesisConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateAmazonKinesisConnectionProperties');
@@ -0,0 +1,148 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\OracleDatabase;
class GoldengateAmazonRedshiftConnectionProperties extends \Google\Model
{
/**
* Optional. Connection URL. e.g.: 'jdbc:redshift://aws-redshift-
* instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb'
*
* @var string
*/
public $connectionUrl;
/**
* Optional. Input only. The password Oracle Goldengate uses for Amazon
* Redshift connection in plain text.
*
* @var string
*/
public $password;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses for Amazon
* Redshift connection. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $passwordSecretVersion;
/**
* Optional. The technology type of AmazonRedshiftConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. The username Oracle Goldengate uses to connect the associated
* system of the given technology.
*
* @var string
*/
public $username;
/**
* Optional. Connection URL. e.g.: 'jdbc:redshift://aws-redshift-
* instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb'
*
* @param string $connectionUrl
*/
public function setConnectionUrl($connectionUrl)
{
$this->connectionUrl = $connectionUrl;
}
/**
* @return string
*/
public function getConnectionUrl()
{
return $this->connectionUrl;
}
/**
* Optional. Input only. The password Oracle Goldengate uses for Amazon
* Redshift connection in plain text.
*
* @param string $password
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses for Amazon
* Redshift connection. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $passwordSecretVersion
*/
public function setPasswordSecretVersion($passwordSecretVersion)
{
$this->passwordSecretVersion = $passwordSecretVersion;
}
/**
* @return string
*/
public function getPasswordSecretVersion()
{
return $this->passwordSecretVersion;
}
/**
* Optional. The technology type of AmazonRedshiftConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
/**
* Optional. The username Oracle Goldengate uses to connect the associated
* system of the given technology.
*
* @param string $username
*/
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(GoldengateAmazonRedshiftConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateAmazonRedshiftConnectionProperties');
@@ -0,0 +1,136 @@
<?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\OracleDatabase;
class GoldengateAmazonS3ConnectionProperties extends \Google\Model
{
/**
* Optional. Access key ID to access the Amazon S3 bucket.
*
* @var string
*/
public $accessKeyId;
/**
* Optional. The Amazon Endpoint for S3.
*
* @var string
*/
public $endpoint;
/**
* Optional. The name of the AWS region where the bucket is created.
*
* @var string
*/
public $region;
/**
* Optional. Secret access key to access the Amazon S3 bucket.
*
* @var string
*/
public $secretAccessKeySecret;
/**
* Optional. The technology type of AmazonS3Connection.
*
* @var string
*/
public $technologyType;
/**
* Optional. Access key ID to access the Amazon S3 bucket.
*
* @param string $accessKeyId
*/
public function setAccessKeyId($accessKeyId)
{
$this->accessKeyId = $accessKeyId;
}
/**
* @return string
*/
public function getAccessKeyId()
{
return $this->accessKeyId;
}
/**
* Optional. The Amazon Endpoint for S3.
*
* @param string $endpoint
*/
public function setEndpoint($endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return string
*/
public function getEndpoint()
{
return $this->endpoint;
}
/**
* Optional. The name of the AWS region where the bucket is created.
*
* @param string $region
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* Optional. Secret access key to access the Amazon S3 bucket.
*
* @param string $secretAccessKeySecret
*/
public function setSecretAccessKeySecret($secretAccessKeySecret)
{
$this->secretAccessKeySecret = $secretAccessKeySecret;
}
/**
* @return string
*/
public function getSecretAccessKeySecret()
{
return $this->secretAccessKeySecret;
}
/**
* Optional. The technology type of AmazonS3Connection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateAmazonS3ConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateAmazonS3ConnectionProperties');
@@ -0,0 +1,281 @@
<?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\OracleDatabase;
class GoldengateAzureDataLakeStorageConnectionProperties extends \Google\Model
{
/**
* Authentication type not specified.
*/
public const AUTHENTICATION_TYPE_AUTHENTICATION_TYPE_UNSPECIFIED = 'AUTHENTICATION_TYPE_UNSPECIFIED';
/**
* Shared key authentication.
*/
public const AUTHENTICATION_TYPE_SHARED_KEY = 'SHARED_KEY';
/**
* Shared access signature authentication.
*/
public const AUTHENTICATION_TYPE_SHARED_ACCESS_SIGNATURE = 'SHARED_ACCESS_SIGNATURE';
/**
* Azure active directory authentication.
*/
public const AUTHENTICATION_TYPE_AZURE_ACTIVE_DIRECTORY = 'AZURE_ACTIVE_DIRECTORY';
/**
* Optional. Sets the Azure storage account name.
*
* @var string
*/
public $account;
/**
* Optional. Azure storage account key. This property is required when
* 'authentication_type' is set to 'SHARED_KEY'.
*
* @var string
*/
public $accountKeySecret;
/**
* Optional. Authentication mechanism to access Azure Data Lake Storage.
*
* @var string
*/
public $authenticationType;
/**
* Optional. The endpoint used for authentication with Microsoft Entra ID
* (formerly Azure Active Directory). Default value:
* https://login.microsoftonline.com
*
* @var string
*/
public $azureAuthorityHost;
/**
* Optional. Azure tenant ID of the application. This property is required
* when 'authentication_type' is set to 'AZURE_ACTIVE_DIRECTORY'.
*
* @var string
*/
public $azureTenantId;
/**
* Optional. Azure client ID of the application. This property is required
* when 'authentication_type' is set to 'AZURE_ACTIVE_DIRECTORY'.
*
* @var string
*/
public $clientId;
/**
* Optional. Azure client secret (aka application password) for
* authentication.
*
* @var string
*/
public $clientSecret;
/**
* Optional. Azure Storage service endpoint. e.g:
* https://test.blob.core.windows.net
*
* @var string
*/
public $endpoint;
/**
* Optional. Credential that uses a shared access signature (SAS) to
* authenticate to an Azure Service.
*
* @var string
*/
public $sasTokenSecret;
/**
* Optional. The technology type of AzureDataLakeStorageConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. Sets the Azure storage account name.
*
* @param string $account
*/
public function setAccount($account)
{
$this->account = $account;
}
/**
* @return string
*/
public function getAccount()
{
return $this->account;
}
/**
* Optional. Azure storage account key. This property is required when
* 'authentication_type' is set to 'SHARED_KEY'.
*
* @param string $accountKeySecret
*/
public function setAccountKeySecret($accountKeySecret)
{
$this->accountKeySecret = $accountKeySecret;
}
/**
* @return string
*/
public function getAccountKeySecret()
{
return $this->accountKeySecret;
}
/**
* Optional. Authentication mechanism to access Azure Data Lake Storage.
*
* Accepted values: AUTHENTICATION_TYPE_UNSPECIFIED, SHARED_KEY,
* SHARED_ACCESS_SIGNATURE, AZURE_ACTIVE_DIRECTORY
*
* @param self::AUTHENTICATION_TYPE_* $authenticationType
*/
public function setAuthenticationType($authenticationType)
{
$this->authenticationType = $authenticationType;
}
/**
* @return self::AUTHENTICATION_TYPE_*
*/
public function getAuthenticationType()
{
return $this->authenticationType;
}
/**
* Optional. The endpoint used for authentication with Microsoft Entra ID
* (formerly Azure Active Directory). Default value:
* https://login.microsoftonline.com
*
* @param string $azureAuthorityHost
*/
public function setAzureAuthorityHost($azureAuthorityHost)
{
$this->azureAuthorityHost = $azureAuthorityHost;
}
/**
* @return string
*/
public function getAzureAuthorityHost()
{
return $this->azureAuthorityHost;
}
/**
* Optional. Azure tenant ID of the application. This property is required
* when 'authentication_type' is set to 'AZURE_ACTIVE_DIRECTORY'.
*
* @param string $azureTenantId
*/
public function setAzureTenantId($azureTenantId)
{
$this->azureTenantId = $azureTenantId;
}
/**
* @return string
*/
public function getAzureTenantId()
{
return $this->azureTenantId;
}
/**
* Optional. Azure client ID of the application. This property is required
* when 'authentication_type' is set to 'AZURE_ACTIVE_DIRECTORY'.
*
* @param string $clientId
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* Optional. Azure client secret (aka application password) for
* authentication.
*
* @param string $clientSecret
*/
public function setClientSecret($clientSecret)
{
$this->clientSecret = $clientSecret;
}
/**
* @return string
*/
public function getClientSecret()
{
return $this->clientSecret;
}
/**
* Optional. Azure Storage service endpoint. e.g:
* https://test.blob.core.windows.net
*
* @param string $endpoint
*/
public function setEndpoint($endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return string
*/
public function getEndpoint()
{
return $this->endpoint;
}
/**
* Optional. Credential that uses a shared access signature (SAS) to
* authenticate to an Azure Service.
*
* @param string $sasTokenSecret
*/
public function setSasTokenSecret($sasTokenSecret)
{
$this->sasTokenSecret = $sasTokenSecret;
}
/**
* @return string
*/
public function getSasTokenSecret()
{
return $this->sasTokenSecret;
}
/**
* Optional. The technology type of AzureDataLakeStorageConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateAzureDataLakeStorageConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateAzureDataLakeStorageConnectionProperties');
@@ -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\OracleDatabase;
class GoldengateAzureSynapseAnalyticsConnectionProperties extends \Google\Model
{
/**
* Optional. JDBC connection string. e.g.: 'jdbc:sqlserver://.sql.azuresynapse
* .net:1433;database=;encrypt=true;trustServerCertificate=false;hostNameInCer
* tificate=*.sql.azuresynapse.net;loginTimeout=300;'
*
* @var string
*/
public $connectionString;
/**
* Optional. Input only. The password Oracle Goldengate uses for Azure Synapse
* Analytics connection in plain text.
*
* @var string
*/
public $password;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses for Azure
* Synapse Analytics connection. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $passwordSecretVersion;
/**
* Optional. The technology type of AzureSynapseAnalyticsConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. The username Oracle Goldengate uses to connect the associated
* system of the given technology.
*
* @var string
*/
public $username;
/**
* Optional. JDBC connection string. e.g.: 'jdbc:sqlserver://.sql.azuresynapse
* .net:1433;database=;encrypt=true;trustServerCertificate=false;hostNameInCer
* tificate=*.sql.azuresynapse.net;loginTimeout=300;'
*
* @param string $connectionString
*/
public function setConnectionString($connectionString)
{
$this->connectionString = $connectionString;
}
/**
* @return string
*/
public function getConnectionString()
{
return $this->connectionString;
}
/**
* Optional. Input only. The password Oracle Goldengate uses for Azure Synapse
* Analytics connection in plain text.
*
* @param string $password
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses for Azure
* Synapse Analytics connection. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $passwordSecretVersion
*/
public function setPasswordSecretVersion($passwordSecretVersion)
{
$this->passwordSecretVersion = $passwordSecretVersion;
}
/**
* @return string
*/
public function getPasswordSecretVersion()
{
return $this->passwordSecretVersion;
}
/**
* Optional. The technology type of AzureSynapseAnalyticsConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
/**
* Optional. The username Oracle Goldengate uses to connect the associated
* system of the given technology.
*
* @param string $username
*/
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(GoldengateAzureSynapseAnalyticsConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateAzureSynapseAnalyticsConnectionProperties');
@@ -0,0 +1,177 @@
<?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\OracleDatabase;
class GoldengateBackupSchedule extends \Google\Model
{
/**
* The frequency backup scheduled is unspecified.
*/
public const FREQUENCY_BACKUP_SCHEDULED_FREQUENCY_BACKUP_SCHEDULED_UNSPECIFIED = 'FREQUENCY_BACKUP_SCHEDULED_UNSPECIFIED';
/**
* The frequency backup scheduled is daily.
*/
public const FREQUENCY_BACKUP_SCHEDULED_DAILY = 'DAILY';
/**
* The frequency backup scheduled is weekly.
*/
public const FREQUENCY_BACKUP_SCHEDULED_WEEKLY = 'WEEKLY';
/**
* The frequency backup scheduled is monthly.
*/
public const FREQUENCY_BACKUP_SCHEDULED_MONTHLY = 'MONTHLY';
/**
* Output only. The timestamp of when the backup was scheduled.
*
* @var string
*/
public $backupScheduledTime;
/**
* Output only. The bucket name.
*
* @var string
*/
public $bucket;
/**
* Output only. The compartment id.
*
* @var string
*/
public $compartmentId;
/**
* Output only. The frequency backup scheduled.
*
* @var string
*/
public $frequencyBackupScheduled;
/**
* Output only. If metadata only.
*
* @var bool
*/
public $metadataOnly;
/**
* Output only. The namespace name.
*
* @var string
*/
public $namespace;
/**
* Output only. The timestamp of when the backup was scheduled.
*
* @param string $backupScheduledTime
*/
public function setBackupScheduledTime($backupScheduledTime)
{
$this->backupScheduledTime = $backupScheduledTime;
}
/**
* @return string
*/
public function getBackupScheduledTime()
{
return $this->backupScheduledTime;
}
/**
* Output only. The bucket name.
*
* @param string $bucket
*/
public function setBucket($bucket)
{
$this->bucket = $bucket;
}
/**
* @return string
*/
public function getBucket()
{
return $this->bucket;
}
/**
* Output only. The compartment id.
*
* @param string $compartmentId
*/
public function setCompartmentId($compartmentId)
{
$this->compartmentId = $compartmentId;
}
/**
* @return string
*/
public function getCompartmentId()
{
return $this->compartmentId;
}
/**
* Output only. The frequency backup scheduled.
*
* Accepted values: FREQUENCY_BACKUP_SCHEDULED_UNSPECIFIED, DAILY, WEEKLY,
* MONTHLY
*
* @param self::FREQUENCY_BACKUP_SCHEDULED_* $frequencyBackupScheduled
*/
public function setFrequencyBackupScheduled($frequencyBackupScheduled)
{
$this->frequencyBackupScheduled = $frequencyBackupScheduled;
}
/**
* @return self::FREQUENCY_BACKUP_SCHEDULED_*
*/
public function getFrequencyBackupScheduled()
{
return $this->frequencyBackupScheduled;
}
/**
* Output only. If metadata only.
*
* @param bool $metadataOnly
*/
public function setMetadataOnly($metadataOnly)
{
$this->metadataOnly = $metadataOnly;
}
/**
* @return bool
*/
public function getMetadataOnly()
{
return $this->metadataOnly;
}
/**
* Output only. The namespace name.
*
* @param string $namespace
*/
public function setNamespace($namespace)
{
$this->namespace = $namespace;
}
/**
* @return string
*/
public function getNamespace()
{
return $this->namespace;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateBackupSchedule::class, 'Google_Service_OracleDatabase_GoldengateBackupSchedule');
@@ -0,0 +1,244 @@
<?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\OracleDatabase;
class GoldengateConnection extends \Google\Model
{
/**
* Output only. The date and time that the GoldengateConnection was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The ID of the subscription entitlement associated with the
* GoldengateConnection.
*
* @var string
*/
public $entitlementId;
/**
* Optional. The GCP Oracle zone where Oracle GoldengateConnection is hosted.
* Example: us-east4-b-r2. If not specified, the system will pick a zone based
* on availability.
*
* @var string
*/
public $gcpOracleZone;
/**
* Optional. The labels or tags associated with the GoldengateConnection.
*
* @var string[]
*/
public $labels;
/**
* Identifier. The name of the GoldengateConnection resource in the following
* format: projects/{project}/locations/{region}/goldengateConnections/{golden
* gate_connection}
*
* @var string
*/
public $name;
/**
* Output only. HTTPS link to OCI resources exposed to Customer via UI
* Interface.
*
* @var string
*/
public $ociUrl;
/**
* Optional. The name of the OdbNetwork associated with the
* GoldengateConnection. The format is
* projects/{project}/locations/{location}/odbNetworks/{odb_network}. It is
* optional but if specified, this should match the parent ODBNetwork of the
* OdbSubnet.
*
* @var string
*/
public $odbNetwork;
/**
* Optional. The name of the OdbSubnet associated with the
* GoldengateConnection for IP allocation. Format: projects/{project}/location
* s/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
*
* @var string
*/
public $odbSubnet;
protected $propertiesType = GoldengateConnectionProperties::class;
protected $propertiesDataType = '';
/**
* Output only. The date and time that the GoldengateConnection was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The ID of the subscription entitlement associated with the
* GoldengateConnection.
*
* @param string $entitlementId
*/
public function setEntitlementId($entitlementId)
{
$this->entitlementId = $entitlementId;
}
/**
* @return string
*/
public function getEntitlementId()
{
return $this->entitlementId;
}
/**
* Optional. The GCP Oracle zone where Oracle GoldengateConnection is hosted.
* Example: us-east4-b-r2. If not specified, the system will pick a zone based
* on availability.
*
* @param string $gcpOracleZone
*/
public function setGcpOracleZone($gcpOracleZone)
{
$this->gcpOracleZone = $gcpOracleZone;
}
/**
* @return string
*/
public function getGcpOracleZone()
{
return $this->gcpOracleZone;
}
/**
* Optional. The labels or tags associated with the GoldengateConnection.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Identifier. The name of the GoldengateConnection resource in the following
* format: projects/{project}/locations/{region}/goldengateConnections/{golden
* gate_connection}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. HTTPS link to OCI resources exposed to Customer via UI
* Interface.
*
* @param string $ociUrl
*/
public function setOciUrl($ociUrl)
{
$this->ociUrl = $ociUrl;
}
/**
* @return string
*/
public function getOciUrl()
{
return $this->ociUrl;
}
/**
* Optional. The name of the OdbNetwork associated with the
* GoldengateConnection. The format is
* projects/{project}/locations/{location}/odbNetworks/{odb_network}. It is
* optional but if specified, this should match the parent ODBNetwork of the
* OdbSubnet.
*
* @param string $odbNetwork
*/
public function setOdbNetwork($odbNetwork)
{
$this->odbNetwork = $odbNetwork;
}
/**
* @return string
*/
public function getOdbNetwork()
{
return $this->odbNetwork;
}
/**
* Optional. The name of the OdbSubnet associated with the
* GoldengateConnection for IP allocation. Format: projects/{project}/location
* s/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
*
* @param string $odbSubnet
*/
public function setOdbSubnet($odbSubnet)
{
$this->odbSubnet = $odbSubnet;
}
/**
* @return string
*/
public function getOdbSubnet()
{
return $this->odbSubnet;
}
/**
* Required. The properties of the GoldengateConnection.
*
* @param GoldengateConnectionProperties $properties
*/
public function setProperties(GoldengateConnectionProperties $properties)
{
$this->properties = $properties;
}
/**
* @return GoldengateConnectionProperties
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateConnection::class, 'Google_Service_OracleDatabase_GoldengateConnection');
@@ -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\OracleDatabase;
class GoldengateConnectionAssignment extends \Google\Model
{
/**
* Output only. The time when the connection assignment was created.
*
* @var string
*/
public $createTime;
/**
* Optional. The display name for the GoldengateConnectionAssignment.
*
* @var string
*/
public $displayName;
/**
* Output only. The OCID of the entitlement linked to this resource.
*
* @var string
*/
public $entitlementId;
/**
* Optional. The labels or tags associated with the
* GoldengateConnectionAssignment.
*
* @var string[]
*/
public $labels;
/**
* Identifier. The name of the GoldengateConnectionAssignment resource in the
* following format: projects/{project}/locations/{region}/goldengateConnectio
* nAssignments/{goldengate_connection_assignment}
*
* @var string
*/
public $name;
protected $propertiesType = GoldengateConnectionAssignmentProperties::class;
protected $propertiesDataType = '';
/**
* Output only. The time when the connection assignment was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. The display name for the GoldengateConnectionAssignment.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. The OCID of the entitlement linked to this resource.
*
* @param string $entitlementId
*/
public function setEntitlementId($entitlementId)
{
$this->entitlementId = $entitlementId;
}
/**
* @return string
*/
public function getEntitlementId()
{
return $this->entitlementId;
}
/**
* Optional. The labels or tags associated with the
* GoldengateConnectionAssignment.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Identifier. The name of the GoldengateConnectionAssignment resource in the
* following format: projects/{project}/locations/{region}/goldengateConnectio
* nAssignments/{goldengate_connection_assignment}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. The properties of the GoldengateConnectionAssignment.
*
* @param GoldengateConnectionAssignmentProperties $properties
*/
public function setProperties(GoldengateConnectionAssignmentProperties $properties)
{
$this->properties = $properties;
}
/**
* @return GoldengateConnectionAssignmentProperties
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateConnectionAssignment::class, 'Google_Service_OracleDatabase_GoldengateConnectionAssignment');
@@ -0,0 +1,173 @@
<?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\OracleDatabase;
class GoldengateConnectionAssignmentProperties extends \Google\Model
{
/**
* Lifecycle state is unspecified.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Connection assignment is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* Connection assignment is active.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* Connection assignment failed.
*/
public const STATE_FAILED = 'FAILED';
/**
* Connection assignment is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* Connection assignment is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* Output only. Credential store alias.
*
* @var string
*/
public $alias;
/**
* Required. The GoldengateConnection resource to be assigned. Format: project
* s/{project}/locations/{location}/goldengateConnections/{goldengate_connecti
* on}
*
* @var string
*/
public $goldengateConnection;
/**
* Required. The GoldenGateDeployment to assign the connection to. Format: pro
* jects/{project}/locations/{location}/goldengateDeployments/{goldengate_depl
* oyment}
*
* @var string
*/
public $goldengateDeployment;
/**
* Output only. The [OCID](https://docs.cloud.oracle.com/Content/General/Conce
* pts/identifiers.htm) of the connection assignment being referenced.
*
* @var string
*/
public $ocid;
/**
* Output only. The lifecycle state of the connection assignment.
*
* @var string
*/
public $state;
/**
* Output only. Credential store alias.
*
* @param string $alias
*/
public function setAlias($alias)
{
$this->alias = $alias;
}
/**
* @return string
*/
public function getAlias()
{
return $this->alias;
}
/**
* Required. The GoldengateConnection resource to be assigned. Format: project
* s/{project}/locations/{location}/goldengateConnections/{goldengate_connecti
* on}
*
* @param string $goldengateConnection
*/
public function setGoldengateConnection($goldengateConnection)
{
$this->goldengateConnection = $goldengateConnection;
}
/**
* @return string
*/
public function getGoldengateConnection()
{
return $this->goldengateConnection;
}
/**
* Required. The GoldenGateDeployment to assign the connection to. Format: pro
* jects/{project}/locations/{location}/goldengateDeployments/{goldengate_depl
* oyment}
*
* @param string $goldengateDeployment
*/
public function setGoldengateDeployment($goldengateDeployment)
{
$this->goldengateDeployment = $goldengateDeployment;
}
/**
* @return string
*/
public function getGoldengateDeployment()
{
return $this->goldengateDeployment;
}
/**
* Output only. The [OCID](https://docs.cloud.oracle.com/Content/General/Conce
* pts/identifiers.htm) of the connection assignment being referenced.
*
* @param string $ocid
*/
public function setOcid($ocid)
{
$this->ocid = $ocid;
}
/**
* @return string
*/
public function getOcid()
{
return $this->ocid;
}
/**
* Output only. The lifecycle state of the connection assignment.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, ACTIVE, FAILED, UPDATING,
* DELETING
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateConnectionAssignmentProperties::class, 'Google_Service_OracleDatabase_GoldengateConnectionAssignmentProperties');
@@ -0,0 +1,927 @@
<?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\OracleDatabase;
class GoldengateConnectionProperties extends \Google\Collection
{
/**
* Connection type unspecified.
*/
public const CONNECTION_TYPE_GOLDENGATE_CONNECTION_TYPE_UNSPECIFIED = 'GOLDENGATE_CONNECTION_TYPE_UNSPECIFIED';
/**
* Goldengate connection type.
*/
public const CONNECTION_TYPE_GOLDENGATE = 'GOLDENGATE';
/**
* Kafka connection type.
*/
public const CONNECTION_TYPE_KAFKA = 'KAFKA';
/**
* Kafka schema registry connection type.
*/
public const CONNECTION_TYPE_KAFKA_SCHEMA_REGISTRY = 'KAFKA_SCHEMA_REGISTRY';
/**
* MySQL connection type.
*/
public const CONNECTION_TYPE_MYSQL = 'MYSQL';
/**
* Java message service connection type.
*/
public const CONNECTION_TYPE_JAVA_MESSAGE_SERVICE = 'JAVA_MESSAGE_SERVICE';
/**
* Microsoft SQL Server connection type.
*/
public const CONNECTION_TYPE_MICROSOFT_SQLSERVER = 'MICROSOFT_SQLSERVER';
/**
* OCI object storage connection type.
*/
public const CONNECTION_TYPE_OCI_OBJECT_STORAGE = 'OCI_OBJECT_STORAGE';
/**
* Oracle connection type.
*/
public const CONNECTION_TYPE_ORACLE = 'ORACLE';
/**
* Azure data lake storage connection type.
*/
public const CONNECTION_TYPE_AZURE_DATA_LAKE_STORAGE = 'AZURE_DATA_LAKE_STORAGE';
/**
* PostgreSQL connection type.
*/
public const CONNECTION_TYPE_POSTGRESQL = 'POSTGRESQL';
/**
* Azure synapse analytics connection type.
*/
public const CONNECTION_TYPE_AZURE_SYNAPSE_ANALYTICS = 'AZURE_SYNAPSE_ANALYTICS';
/**
* Snowflake connection type.
*/
public const CONNECTION_TYPE_SNOWFLAKE = 'SNOWFLAKE';
/**
* Amazon S3 connection type.
*/
public const CONNECTION_TYPE_AMAZON_S3 = 'AMAZON_S3';
/**
* HDFS connection type.
*/
public const CONNECTION_TYPE_HDFS = 'HDFS';
/**
* Oracle AI data platform connection type.
*/
public const CONNECTION_TYPE_ORACLE_AI_DATA_PLATFORM = 'ORACLE_AI_DATA_PLATFORM';
/**
* Oracle NoSQL connection type.
*/
public const CONNECTION_TYPE_ORACLE_NOSQL = 'ORACLE_NOSQL';
/**
* MongoDB connection type.
*/
public const CONNECTION_TYPE_MONGODB = 'MONGODB';
/**
* Amazon Kinesis connection type.
*/
public const CONNECTION_TYPE_AMAZON_KINESIS = 'AMAZON_KINESIS';
/**
* Amazon Redshift connection type.
*/
public const CONNECTION_TYPE_AMAZON_REDSHIFT = 'AMAZON_REDSHIFT';
/**
* DB2 connection type.
*/
public const CONNECTION_TYPE_DB2 = 'DB2';
/**
* Redis connection type.
*/
public const CONNECTION_TYPE_REDIS = 'REDIS';
/**
* Elasticsearch connection type.
*/
public const CONNECTION_TYPE_ELASTICSEARCH = 'ELASTICSEARCH';
/**
* Generic connection type.
*/
public const CONNECTION_TYPE_GENERIC = 'GENERIC';
/**
* Google Cloud Storage connection type.
*/
public const CONNECTION_TYPE_GOOGLE_CLOUD_STORAGE = 'GOOGLE_CLOUD_STORAGE';
/**
* Google BigQuery connection type.
*/
public const CONNECTION_TYPE_GOOGLE_BIGQUERY = 'GOOGLE_BIGQUERY';
/**
* Databricks connection type.
*/
public const CONNECTION_TYPE_DATABRICKS = 'DATABRICKS';
/**
* Google Pub/Sub connection type.
*/
public const CONNECTION_TYPE_GOOGLE_PUBSUB = 'GOOGLE_PUBSUB';
/**
* Microsoft Fabric connection type.
*/
public const CONNECTION_TYPE_MICROSOFT_FABRIC = 'MICROSOFT_FABRIC';
/**
* Iceberg connection type.
*/
public const CONNECTION_TYPE_ICEBERG = 'ICEBERG';
/**
* Default unspecified value.
*/
public const LIFECYCLE_STATE_GOLDENGATE_CONNECTION_LIFECYCLE_STATE_UNSPECIFIED = 'GOLDENGATE_CONNECTION_LIFECYCLE_STATE_UNSPECIFIED';
/**
* Indicates that the resource is in provisioning state.
*/
public const LIFECYCLE_STATE_CREATING = 'CREATING';
/**
* Indicates that the resource is in active state.
*/
public const LIFECYCLE_STATE_ACTIVE = 'ACTIVE';
/**
* Indicates that the resource is in updating state.
*/
public const LIFECYCLE_STATE_UPDATING = 'UPDATING';
/**
* Indicates that the resource is in deleting state.
*/
public const LIFECYCLE_STATE_DELETING = 'DELETING';
/**
* Indicates that the resource is in deleted state.
*/
public const LIFECYCLE_STATE_DELETED = 'DELETED';
/**
* Indicates that the resource is in failed state.
*/
public const LIFECYCLE_STATE_FAILED = 'FAILED';
/**
* Default unspecified value.
*/
public const ROUTING_METHOD_GOLDENGATE_CONNECTION_ROUTING_METHOD_UNSPECIFIED = 'GOLDENGATE_CONNECTION_ROUTING_METHOD_UNSPECIFIED';
/**
* Network traffic flows from the assigned deployment's private endpoint
* through the deployment's subnet.
*/
public const ROUTING_METHOD_SHARED_DEPLOYMENT_ENDPOINT = 'SHARED_DEPLOYMENT_ENDPOINT';
/**
* A dedicated private endpoint is created in the target VCN subnet for the
* connection.
*/
public const ROUTING_METHOD_DEDICATED_ENDPOINT = 'DEDICATED_ENDPOINT';
protected $collection_key = 'ingressIpAddresses';
protected $amazonKinesisConnectionPropertiesType = GoldengateAmazonKinesisConnectionProperties::class;
protected $amazonKinesisConnectionPropertiesDataType = '';
protected $amazonRedshiftConnectionPropertiesType = GoldengateAmazonRedshiftConnectionProperties::class;
protected $amazonRedshiftConnectionPropertiesDataType = '';
protected $amazonS3ConnectionPropertiesType = GoldengateAmazonS3ConnectionProperties::class;
protected $amazonS3ConnectionPropertiesDataType = '';
protected $azureDataLakeStorageConnectionPropertiesType = GoldengateAzureDataLakeStorageConnectionProperties::class;
protected $azureDataLakeStorageConnectionPropertiesDataType = '';
protected $azureSynapseAnalyticsConnectionPropertiesType = GoldengateAzureSynapseAnalyticsConnectionProperties::class;
protected $azureSynapseAnalyticsConnectionPropertiesDataType = '';
/**
* Required. The connection type.
*
* @var string
*/
public $connectionType;
protected $databricksConnectionPropertiesType = GoldengateDatabricksConnectionProperties::class;
protected $databricksConnectionPropertiesDataType = '';
protected $db2ConnectionPropertiesType = GoldengateDb2ConnectionProperties::class;
protected $db2ConnectionPropertiesDataType = '';
/**
* Optional. Metadata about this specific object.
*
* @var string
*/
public $description;
/**
* Required. An object's Display Name.
*
* @var string
*/
public $displayName;
protected $elasticsearchConnectionPropertiesType = GoldengateElasticsearchConnectionProperties::class;
protected $elasticsearchConnectionPropertiesDataType = '';
protected $genericConnectionPropertiesType = GoldengateGenericConnectionProperties::class;
protected $genericConnectionPropertiesDataType = '';
protected $goldengateConnectionPropertiesType = GoldengateGoldengateConnectionProperties::class;
protected $goldengateConnectionPropertiesDataType = '';
protected $googleBigQueryConnectionPropertiesType = GoldengateGoogleBigQueryConnectionProperties::class;
protected $googleBigQueryConnectionPropertiesDataType = '';
protected $googleCloudStorageConnectionPropertiesType = GoldengateGoogleCloudStorageConnectionProperties::class;
protected $googleCloudStorageConnectionPropertiesDataType = '';
protected $googlePubsubConnectionPropertiesType = GoldengateGooglePubsubConnectionProperties::class;
protected $googlePubsubConnectionPropertiesDataType = '';
protected $hdfsConnectionPropertiesType = GoldengateHdfsConnectionProperties::class;
protected $hdfsConnectionPropertiesDataType = '';
protected $icebergConnectionPropertiesType = GoldengateIcebergConnectionProperties::class;
protected $icebergConnectionPropertiesDataType = '';
/**
* Output only. The Ingress IPs of the GoldengateConnection.
*
* @var string[]
*/
public $ingressIpAddresses;
protected $javaMessageServiceConnectionPropertiesType = GoldengateJavaMessageServiceConnectionProperties::class;
protected $javaMessageServiceConnectionPropertiesDataType = '';
protected $kafkaConnectionPropertiesType = GoldengateKafkaConnectionProperties::class;
protected $kafkaConnectionPropertiesDataType = '';
protected $kafkaSchemaRegistryConnectionPropertiesType = GoldengateKafkaSchemaRegistryConnectionProperties::class;
protected $kafkaSchemaRegistryConnectionPropertiesDataType = '';
/**
* Output only. Describes the object's current state in detail. For example,
* it can be used to provide actionable information for a resource in a Failed
* state.
*
* @var string
*/
public $lifecycleDetails;
/**
* Output only. The lifecycle state of the connection.
*
* @var string
*/
public $lifecycleState;
protected $microsoftFabricConnectionPropertiesType = GoldengateMicrosoftFabricConnectionProperties::class;
protected $microsoftFabricConnectionPropertiesDataType = '';
protected $microsoftSqlserverConnectionPropertiesType = GoldengateMicrosoftSqlserverConnectionProperties::class;
protected $microsoftSqlserverConnectionPropertiesDataType = '';
protected $mongodbConnectionPropertiesType = GoldengateMongodbConnectionProperties::class;
protected $mongodbConnectionPropertiesDataType = '';
protected $mysqlConnectionPropertiesType = GoldengateMysqlConnectionProperties::class;
protected $mysqlConnectionPropertiesDataType = '';
protected $ociObjectStorageConnectionPropertiesType = GoldengateOciObjectStorageConnectionProperties::class;
protected $ociObjectStorageConnectionPropertiesDataType = '';
/**
* Output only. The [OCID] of the connection being referenced.
*
* @var string
*/
public $ocid;
protected $oracleAiDataPlatformConnectionPropertiesType = GoldengateOracleAIDataPlatformConnectionProperties::class;
protected $oracleAiDataPlatformConnectionPropertiesDataType = '';
protected $oracleConnectionPropertiesType = GoldengateOracleConnectionProperties::class;
protected $oracleConnectionPropertiesDataType = '';
protected $oracleNosqlConnectionPropertiesType = GoldengateOracleNosqlConnectionProperties::class;
protected $oracleNosqlConnectionPropertiesDataType = '';
protected $postgresqlConnectionPropertiesType = GoldengatePostgresqlConnectionProperties::class;
protected $postgresqlConnectionPropertiesDataType = '';
protected $redisConnectionPropertiesType = GoldengateRedisConnectionProperties::class;
protected $redisConnectionPropertiesDataType = '';
/**
* Optional. The routing method for the GoldengateConnection.
*
* @var string
*/
public $routingMethod;
protected $snowflakeConnectionPropertiesType = GoldengateSnowflakeConnectionProperties::class;
protected $snowflakeConnectionPropertiesDataType = '';
/**
* Output only. The time the resource was last updated.
*
* @var string
*/
public $updateTime;
/**
* Properties for an Amazon Kinesis connection.
*
* @param GoldengateAmazonKinesisConnectionProperties $amazonKinesisConnectionProperties
*/
public function setAmazonKinesisConnectionProperties(GoldengateAmazonKinesisConnectionProperties $amazonKinesisConnectionProperties)
{
$this->amazonKinesisConnectionProperties = $amazonKinesisConnectionProperties;
}
/**
* @return GoldengateAmazonKinesisConnectionProperties
*/
public function getAmazonKinesisConnectionProperties()
{
return $this->amazonKinesisConnectionProperties;
}
/**
* Properties for an Amazon Redshift connection.
*
* @param GoldengateAmazonRedshiftConnectionProperties $amazonRedshiftConnectionProperties
*/
public function setAmazonRedshiftConnectionProperties(GoldengateAmazonRedshiftConnectionProperties $amazonRedshiftConnectionProperties)
{
$this->amazonRedshiftConnectionProperties = $amazonRedshiftConnectionProperties;
}
/**
* @return GoldengateAmazonRedshiftConnectionProperties
*/
public function getAmazonRedshiftConnectionProperties()
{
return $this->amazonRedshiftConnectionProperties;
}
/**
* Properties for an Amazon S3 connection.
*
* @param GoldengateAmazonS3ConnectionProperties $amazonS3ConnectionProperties
*/
public function setAmazonS3ConnectionProperties(GoldengateAmazonS3ConnectionProperties $amazonS3ConnectionProperties)
{
$this->amazonS3ConnectionProperties = $amazonS3ConnectionProperties;
}
/**
* @return GoldengateAmazonS3ConnectionProperties
*/
public function getAmazonS3ConnectionProperties()
{
return $this->amazonS3ConnectionProperties;
}
/**
* Properties for an Azure Data Lake Storage Connection.
*
* @param GoldengateAzureDataLakeStorageConnectionProperties $azureDataLakeStorageConnectionProperties
*/
public function setAzureDataLakeStorageConnectionProperties(GoldengateAzureDataLakeStorageConnectionProperties $azureDataLakeStorageConnectionProperties)
{
$this->azureDataLakeStorageConnectionProperties = $azureDataLakeStorageConnectionProperties;
}
/**
* @return GoldengateAzureDataLakeStorageConnectionProperties
*/
public function getAzureDataLakeStorageConnectionProperties()
{
return $this->azureDataLakeStorageConnectionProperties;
}
/**
* Properties for an Azure Synapse Analytics connection.
*
* @param GoldengateAzureSynapseAnalyticsConnectionProperties $azureSynapseAnalyticsConnectionProperties
*/
public function setAzureSynapseAnalyticsConnectionProperties(GoldengateAzureSynapseAnalyticsConnectionProperties $azureSynapseAnalyticsConnectionProperties)
{
$this->azureSynapseAnalyticsConnectionProperties = $azureSynapseAnalyticsConnectionProperties;
}
/**
* @return GoldengateAzureSynapseAnalyticsConnectionProperties
*/
public function getAzureSynapseAnalyticsConnectionProperties()
{
return $this->azureSynapseAnalyticsConnectionProperties;
}
/**
* Required. The connection type.
*
* Accepted values: GOLDENGATE_CONNECTION_TYPE_UNSPECIFIED, GOLDENGATE, KAFKA,
* KAFKA_SCHEMA_REGISTRY, MYSQL, JAVA_MESSAGE_SERVICE, MICROSOFT_SQLSERVER,
* OCI_OBJECT_STORAGE, ORACLE, AZURE_DATA_LAKE_STORAGE, POSTGRESQL,
* AZURE_SYNAPSE_ANALYTICS, SNOWFLAKE, AMAZON_S3, HDFS,
* ORACLE_AI_DATA_PLATFORM, ORACLE_NOSQL, MONGODB, AMAZON_KINESIS,
* AMAZON_REDSHIFT, DB2, REDIS, ELASTICSEARCH, GENERIC, GOOGLE_CLOUD_STORAGE,
* GOOGLE_BIGQUERY, DATABRICKS, GOOGLE_PUBSUB, MICROSOFT_FABRIC, ICEBERG
*
* @param self::CONNECTION_TYPE_* $connectionType
*/
public function setConnectionType($connectionType)
{
$this->connectionType = $connectionType;
}
/**
* @return self::CONNECTION_TYPE_*
*/
public function getConnectionType()
{
return $this->connectionType;
}
/**
* Properties for a Databricks connection.
*
* @param GoldengateDatabricksConnectionProperties $databricksConnectionProperties
*/
public function setDatabricksConnectionProperties(GoldengateDatabricksConnectionProperties $databricksConnectionProperties)
{
$this->databricksConnectionProperties = $databricksConnectionProperties;
}
/**
* @return GoldengateDatabricksConnectionProperties
*/
public function getDatabricksConnectionProperties()
{
return $this->databricksConnectionProperties;
}
/**
* Properties for a DB2 connection.
*
* @param GoldengateDb2ConnectionProperties $db2ConnectionProperties
*/
public function setDb2ConnectionProperties(GoldengateDb2ConnectionProperties $db2ConnectionProperties)
{
$this->db2ConnectionProperties = $db2ConnectionProperties;
}
/**
* @return GoldengateDb2ConnectionProperties
*/
public function getDb2ConnectionProperties()
{
return $this->db2ConnectionProperties;
}
/**
* Optional. Metadata about this specific object.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. An object's Display Name.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Properties for an Elasticsearch connection.
*
* @param GoldengateElasticsearchConnectionProperties $elasticsearchConnectionProperties
*/
public function setElasticsearchConnectionProperties(GoldengateElasticsearchConnectionProperties $elasticsearchConnectionProperties)
{
$this->elasticsearchConnectionProperties = $elasticsearchConnectionProperties;
}
/**
* @return GoldengateElasticsearchConnectionProperties
*/
public function getElasticsearchConnectionProperties()
{
return $this->elasticsearchConnectionProperties;
}
/**
* Properties for a Generic Connection.
*
* @param GoldengateGenericConnectionProperties $genericConnectionProperties
*/
public function setGenericConnectionProperties(GoldengateGenericConnectionProperties $genericConnectionProperties)
{
$this->genericConnectionProperties = $genericConnectionProperties;
}
/**
* @return GoldengateGenericConnectionProperties
*/
public function getGenericConnectionProperties()
{
return $this->genericConnectionProperties;
}
/**
* Properties for a Goldengate Connection.
*
* @param GoldengateGoldengateConnectionProperties $goldengateConnectionProperties
*/
public function setGoldengateConnectionProperties(GoldengateGoldengateConnectionProperties $goldengateConnectionProperties)
{
$this->goldengateConnectionProperties = $goldengateConnectionProperties;
}
/**
* @return GoldengateGoldengateConnectionProperties
*/
public function getGoldengateConnectionProperties()
{
return $this->goldengateConnectionProperties;
}
/**
* Properties for a Google BigQuery Connection.
*
* @param GoldengateGoogleBigQueryConnectionProperties $googleBigQueryConnectionProperties
*/
public function setGoogleBigQueryConnectionProperties(GoldengateGoogleBigQueryConnectionProperties $googleBigQueryConnectionProperties)
{
$this->googleBigQueryConnectionProperties = $googleBigQueryConnectionProperties;
}
/**
* @return GoldengateGoogleBigQueryConnectionProperties
*/
public function getGoogleBigQueryConnectionProperties()
{
return $this->googleBigQueryConnectionProperties;
}
/**
* Properties for a Google Cloud Storage Connection.
*
* @param GoldengateGoogleCloudStorageConnectionProperties $googleCloudStorageConnectionProperties
*/
public function setGoogleCloudStorageConnectionProperties(GoldengateGoogleCloudStorageConnectionProperties $googleCloudStorageConnectionProperties)
{
$this->googleCloudStorageConnectionProperties = $googleCloudStorageConnectionProperties;
}
/**
* @return GoldengateGoogleCloudStorageConnectionProperties
*/
public function getGoogleCloudStorageConnectionProperties()
{
return $this->googleCloudStorageConnectionProperties;
}
/**
* Properties for a Google Pub/Sub connection.
*
* @param GoldengateGooglePubsubConnectionProperties $googlePubsubConnectionProperties
*/
public function setGooglePubsubConnectionProperties(GoldengateGooglePubsubConnectionProperties $googlePubsubConnectionProperties)
{
$this->googlePubsubConnectionProperties = $googlePubsubConnectionProperties;
}
/**
* @return GoldengateGooglePubsubConnectionProperties
*/
public function getGooglePubsubConnectionProperties()
{
return $this->googlePubsubConnectionProperties;
}
/**
* Properties for an HDFS connection.
*
* @param GoldengateHdfsConnectionProperties $hdfsConnectionProperties
*/
public function setHdfsConnectionProperties(GoldengateHdfsConnectionProperties $hdfsConnectionProperties)
{
$this->hdfsConnectionProperties = $hdfsConnectionProperties;
}
/**
* @return GoldengateHdfsConnectionProperties
*/
public function getHdfsConnectionProperties()
{
return $this->hdfsConnectionProperties;
}
/**
* Properties for an Iceberg connection.
*
* @param GoldengateIcebergConnectionProperties $icebergConnectionProperties
*/
public function setIcebergConnectionProperties(GoldengateIcebergConnectionProperties $icebergConnectionProperties)
{
$this->icebergConnectionProperties = $icebergConnectionProperties;
}
/**
* @return GoldengateIcebergConnectionProperties
*/
public function getIcebergConnectionProperties()
{
return $this->icebergConnectionProperties;
}
/**
* Output only. The Ingress IPs of the GoldengateConnection.
*
* @param string[] $ingressIpAddresses
*/
public function setIngressIpAddresses($ingressIpAddresses)
{
$this->ingressIpAddresses = $ingressIpAddresses;
}
/**
* @return string[]
*/
public function getIngressIpAddresses()
{
return $this->ingressIpAddresses;
}
/**
* Properties for a Java Message Service connection.
*
* @param GoldengateJavaMessageServiceConnectionProperties $javaMessageServiceConnectionProperties
*/
public function setJavaMessageServiceConnectionProperties(GoldengateJavaMessageServiceConnectionProperties $javaMessageServiceConnectionProperties)
{
$this->javaMessageServiceConnectionProperties = $javaMessageServiceConnectionProperties;
}
/**
* @return GoldengateJavaMessageServiceConnectionProperties
*/
public function getJavaMessageServiceConnectionProperties()
{
return $this->javaMessageServiceConnectionProperties;
}
/**
* Properties for a Kafka Connection.
*
* @param GoldengateKafkaConnectionProperties $kafkaConnectionProperties
*/
public function setKafkaConnectionProperties(GoldengateKafkaConnectionProperties $kafkaConnectionProperties)
{
$this->kafkaConnectionProperties = $kafkaConnectionProperties;
}
/**
* @return GoldengateKafkaConnectionProperties
*/
public function getKafkaConnectionProperties()
{
return $this->kafkaConnectionProperties;
}
/**
* Properties for a Kafka Schema Registry Connection.
*
* @param GoldengateKafkaSchemaRegistryConnectionProperties $kafkaSchemaRegistryConnectionProperties
*/
public function setKafkaSchemaRegistryConnectionProperties(GoldengateKafkaSchemaRegistryConnectionProperties $kafkaSchemaRegistryConnectionProperties)
{
$this->kafkaSchemaRegistryConnectionProperties = $kafkaSchemaRegistryConnectionProperties;
}
/**
* @return GoldengateKafkaSchemaRegistryConnectionProperties
*/
public function getKafkaSchemaRegistryConnectionProperties()
{
return $this->kafkaSchemaRegistryConnectionProperties;
}
/**
* Output only. Describes the object's current state in detail. For example,
* it can be used to provide actionable information for a resource in a Failed
* state.
*
* @param string $lifecycleDetails
*/
public function setLifecycleDetails($lifecycleDetails)
{
$this->lifecycleDetails = $lifecycleDetails;
}
/**
* @return string
*/
public function getLifecycleDetails()
{
return $this->lifecycleDetails;
}
/**
* Output only. The lifecycle state of the connection.
*
* Accepted values: GOLDENGATE_CONNECTION_LIFECYCLE_STATE_UNSPECIFIED,
* CREATING, ACTIVE, UPDATING, DELETING, DELETED, FAILED
*
* @param self::LIFECYCLE_STATE_* $lifecycleState
*/
public function setLifecycleState($lifecycleState)
{
$this->lifecycleState = $lifecycleState;
}
/**
* @return self::LIFECYCLE_STATE_*
*/
public function getLifecycleState()
{
return $this->lifecycleState;
}
/**
* Properties for a Microsoft Fabric connection.
*
* @param GoldengateMicrosoftFabricConnectionProperties $microsoftFabricConnectionProperties
*/
public function setMicrosoftFabricConnectionProperties(GoldengateMicrosoftFabricConnectionProperties $microsoftFabricConnectionProperties)
{
$this->microsoftFabricConnectionProperties = $microsoftFabricConnectionProperties;
}
/**
* @return GoldengateMicrosoftFabricConnectionProperties
*/
public function getMicrosoftFabricConnectionProperties()
{
return $this->microsoftFabricConnectionProperties;
}
/**
* Properties for a Microsoft SQL Server connection.
*
* @param GoldengateMicrosoftSqlserverConnectionProperties $microsoftSqlserverConnectionProperties
*/
public function setMicrosoftSqlserverConnectionProperties(GoldengateMicrosoftSqlserverConnectionProperties $microsoftSqlserverConnectionProperties)
{
$this->microsoftSqlserverConnectionProperties = $microsoftSqlserverConnectionProperties;
}
/**
* @return GoldengateMicrosoftSqlserverConnectionProperties
*/
public function getMicrosoftSqlserverConnectionProperties()
{
return $this->microsoftSqlserverConnectionProperties;
}
/**
* Properties for a MongoDB connection.
*
* @param GoldengateMongodbConnectionProperties $mongodbConnectionProperties
*/
public function setMongodbConnectionProperties(GoldengateMongodbConnectionProperties $mongodbConnectionProperties)
{
$this->mongodbConnectionProperties = $mongodbConnectionProperties;
}
/**
* @return GoldengateMongodbConnectionProperties
*/
public function getMongodbConnectionProperties()
{
return $this->mongodbConnectionProperties;
}
/**
* Properties for a Mysql Connection.
*
* @param GoldengateMysqlConnectionProperties $mysqlConnectionProperties
*/
public function setMysqlConnectionProperties(GoldengateMysqlConnectionProperties $mysqlConnectionProperties)
{
$this->mysqlConnectionProperties = $mysqlConnectionProperties;
}
/**
* @return GoldengateMysqlConnectionProperties
*/
public function getMysqlConnectionProperties()
{
return $this->mysqlConnectionProperties;
}
/**
* Properties for an OCI Object Storage Connection.
*
* @param GoldengateOciObjectStorageConnectionProperties $ociObjectStorageConnectionProperties
*/
public function setOciObjectStorageConnectionProperties(GoldengateOciObjectStorageConnectionProperties $ociObjectStorageConnectionProperties)
{
$this->ociObjectStorageConnectionProperties = $ociObjectStorageConnectionProperties;
}
/**
* @return GoldengateOciObjectStorageConnectionProperties
*/
public function getOciObjectStorageConnectionProperties()
{
return $this->ociObjectStorageConnectionProperties;
}
/**
* Output only. The [OCID] of the connection being referenced.
*
* @param string $ocid
*/
public function setOcid($ocid)
{
$this->ocid = $ocid;
}
/**
* @return string
*/
public function getOcid()
{
return $this->ocid;
}
/**
* Properties for an Oracle AI Data Platform connection.
*
* @param GoldengateOracleAIDataPlatformConnectionProperties $oracleAiDataPlatformConnectionProperties
*/
public function setOracleAiDataPlatformConnectionProperties(GoldengateOracleAIDataPlatformConnectionProperties $oracleAiDataPlatformConnectionProperties)
{
$this->oracleAiDataPlatformConnectionProperties = $oracleAiDataPlatformConnectionProperties;
}
/**
* @return GoldengateOracleAIDataPlatformConnectionProperties
*/
public function getOracleAiDataPlatformConnectionProperties()
{
return $this->oracleAiDataPlatformConnectionProperties;
}
/**
* Properties for an Oracle Database Connection.
*
* @param GoldengateOracleConnectionProperties $oracleConnectionProperties
*/
public function setOracleConnectionProperties(GoldengateOracleConnectionProperties $oracleConnectionProperties)
{
$this->oracleConnectionProperties = $oracleConnectionProperties;
}
/**
* @return GoldengateOracleConnectionProperties
*/
public function getOracleConnectionProperties()
{
return $this->oracleConnectionProperties;
}
/**
* Properties for an Oracle NoSQL connection.
*
* @param GoldengateOracleNosqlConnectionProperties $oracleNosqlConnectionProperties
*/
public function setOracleNosqlConnectionProperties(GoldengateOracleNosqlConnectionProperties $oracleNosqlConnectionProperties)
{
$this->oracleNosqlConnectionProperties = $oracleNosqlConnectionProperties;
}
/**
* @return GoldengateOracleNosqlConnectionProperties
*/
public function getOracleNosqlConnectionProperties()
{
return $this->oracleNosqlConnectionProperties;
}
/**
* Properties for a PostgreSQL connection.
*
* @param GoldengatePostgresqlConnectionProperties $postgresqlConnectionProperties
*/
public function setPostgresqlConnectionProperties(GoldengatePostgresqlConnectionProperties $postgresqlConnectionProperties)
{
$this->postgresqlConnectionProperties = $postgresqlConnectionProperties;
}
/**
* @return GoldengatePostgresqlConnectionProperties
*/
public function getPostgresqlConnectionProperties()
{
return $this->postgresqlConnectionProperties;
}
/**
* Properties for a Redis connection.
*
* @param GoldengateRedisConnectionProperties $redisConnectionProperties
*/
public function setRedisConnectionProperties(GoldengateRedisConnectionProperties $redisConnectionProperties)
{
$this->redisConnectionProperties = $redisConnectionProperties;
}
/**
* @return GoldengateRedisConnectionProperties
*/
public function getRedisConnectionProperties()
{
return $this->redisConnectionProperties;
}
/**
* Optional. The routing method for the GoldengateConnection.
*
* Accepted values: GOLDENGATE_CONNECTION_ROUTING_METHOD_UNSPECIFIED,
* SHARED_DEPLOYMENT_ENDPOINT, DEDICATED_ENDPOINT
*
* @param self::ROUTING_METHOD_* $routingMethod
*/
public function setRoutingMethod($routingMethod)
{
$this->routingMethod = $routingMethod;
}
/**
* @return self::ROUTING_METHOD_*
*/
public function getRoutingMethod()
{
return $this->routingMethod;
}
/**
* Properties for a Snowflake connection.
*
* @param GoldengateSnowflakeConnectionProperties $snowflakeConnectionProperties
*/
public function setSnowflakeConnectionProperties(GoldengateSnowflakeConnectionProperties $snowflakeConnectionProperties)
{
$this->snowflakeConnectionProperties = $snowflakeConnectionProperties;
}
/**
* @return GoldengateSnowflakeConnectionProperties
*/
public function getSnowflakeConnectionProperties()
{
return $this->snowflakeConnectionProperties;
}
/**
* Output only. The time the resource was last updated.
*
* @param string $updateTime
*/
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(GoldengateConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateConnectionProperties');
@@ -0,0 +1,229 @@
<?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\OracleDatabase;
class GoldengateConnectionType extends \Google\Collection
{
/**
* Default unspecified value.
*/
public const CONNECTION_TYPE_CONNECTION_TYPE_UNSPECIFIED = 'CONNECTION_TYPE_UNSPECIFIED';
/**
* Goldengate Connection Type category is GOLDENGATE.
*/
public const CONNECTION_TYPE_GOLDENGATE = 'GOLDENGATE';
/**
* Goldengate Connection Type category is KAFKA.
*/
public const CONNECTION_TYPE_KAFKA = 'KAFKA';
/**
* Goldengate Connection Type category is KAFKA_SCHEMA_REGISTRY.
*/
public const CONNECTION_TYPE_KAFKA_SCHEMA_REGISTRY = 'KAFKA_SCHEMA_REGISTRY';
/**
* Goldengate Connection Type category is MYSQL.
*/
public const CONNECTION_TYPE_MYSQL = 'MYSQL';
/**
* Goldengate Connection Type category is JAVA_MESSAGE_SERVICE.
*/
public const CONNECTION_TYPE_JAVA_MESSAGE_SERVICE = 'JAVA_MESSAGE_SERVICE';
/**
* Goldengate Connection Type category is MICROSOFT_SQLSERVER.
*/
public const CONNECTION_TYPE_MICROSOFT_SQLSERVER = 'MICROSOFT_SQLSERVER';
/**
* Goldengate Connection Type category is OCI_OBJECT_STORAGE.
*/
public const CONNECTION_TYPE_OCI_OBJECT_STORAGE = 'OCI_OBJECT_STORAGE';
/**
* Goldengate Connection Type category is ORACLE.
*/
public const CONNECTION_TYPE_ORACLE = 'ORACLE';
/**
* Goldengate Connection Type category is AZURE_DATA_LAKE_STORAGE.
*/
public const CONNECTION_TYPE_AZURE_DATA_LAKE_STORAGE = 'AZURE_DATA_LAKE_STORAGE';
/**
* Goldengate Connection Type category is POSTGRESQL.
*/
public const CONNECTION_TYPE_POSTGRESQL = 'POSTGRESQL';
/**
* Goldengate Connection Type category is AZURE_SYNAPSE_ANALYTICS.
*/
public const CONNECTION_TYPE_AZURE_SYNAPSE_ANALYTICS = 'AZURE_SYNAPSE_ANALYTICS';
/**
* Goldengate Connection Type category is SNOWFLAKE.
*/
public const CONNECTION_TYPE_SNOWFLAKE = 'SNOWFLAKE';
/**
* Goldengate Connection Type category is AMAZON_S3.
*/
public const CONNECTION_TYPE_AMAZON_S3 = 'AMAZON_S3';
/**
* Goldengate Connection Type category is HDFS.
*/
public const CONNECTION_TYPE_HDFS = 'HDFS';
/**
* Goldengate Connection Type category is ORACLE_AI_DATA_PLATFORM.
*/
public const CONNECTION_TYPE_ORACLE_AI_DATA_PLATFORM = 'ORACLE_AI_DATA_PLATFORM';
/**
* Goldengate Connection Type category is ORACLE_NOSQL.
*/
public const CONNECTION_TYPE_ORACLE_NOSQL = 'ORACLE_NOSQL';
/**
* Goldengate Connection Type category is MONGODB.
*/
public const CONNECTION_TYPE_MONGODB = 'MONGODB';
/**
* Goldengate Connection Type category is AMAZON_KINESIS.
*/
public const CONNECTION_TYPE_AMAZON_KINESIS = 'AMAZON_KINESIS';
/**
* Goldengate Connection Type category is AMAZON_REDSHIFT.
*/
public const CONNECTION_TYPE_AMAZON_REDSHIFT = 'AMAZON_REDSHIFT';
/**
* Goldengate Connection Type category is DB2.
*/
public const CONNECTION_TYPE_DB2 = 'DB2';
/**
* Goldengate Connection Type category is REDIS.
*/
public const CONNECTION_TYPE_REDIS = 'REDIS';
/**
* Goldengate Connection Type category is ELASTICSEARCH.
*/
public const CONNECTION_TYPE_ELASTICSEARCH = 'ELASTICSEARCH';
/**
* Goldengate Connection Type category is GENERIC.
*/
public const CONNECTION_TYPE_GENERIC = 'GENERIC';
/**
* Goldengate Connection Type category is GOOGLE_CLOUD_STORAGE.
*/
public const CONNECTION_TYPE_GOOGLE_CLOUD_STORAGE = 'GOOGLE_CLOUD_STORAGE';
/**
* Goldengate Connection Type category is GOOGLE_BIGQUERY.
*/
public const CONNECTION_TYPE_GOOGLE_BIGQUERY = 'GOOGLE_BIGQUERY';
/**
* Goldengate Connection Type category is DATABRICKS.
*/
public const CONNECTION_TYPE_DATABRICKS = 'DATABRICKS';
/**
* Goldengate Connection Type category is GOOGLE_PUBSUB.
*/
public const CONNECTION_TYPE_GOOGLE_PUBSUB = 'GOOGLE_PUBSUB';
/**
* Goldengate Connection Type category is MICROSOFT_FABRIC.
*/
public const CONNECTION_TYPE_MICROSOFT_FABRIC = 'MICROSOFT_FABRIC';
/**
* Goldengate Connection Type category is ICEBERG.
*/
public const CONNECTION_TYPE_ICEBERG = 'ICEBERG';
protected $collection_key = 'technologyTypes';
/**
* Output only. The connection type of the Goldengate Connection Type
* resource.
*
* @var string
*/
public $connectionType;
/**
* Identifier. The name of the Goldengate Connection Type resource with the
* format: projects/{project}/locations/{region}/goldengateConnectionTypes/{go
* ldengate_connection_type}
*
* @var string
*/
public $name;
/**
* Output only. The technology type of the Goldengate Connection Type
* resource.
*
* @var string[]
*/
public $technologyTypes;
/**
* Output only. The connection type of the Goldengate Connection Type
* resource.
*
* Accepted values: CONNECTION_TYPE_UNSPECIFIED, GOLDENGATE, KAFKA,
* KAFKA_SCHEMA_REGISTRY, MYSQL, JAVA_MESSAGE_SERVICE, MICROSOFT_SQLSERVER,
* OCI_OBJECT_STORAGE, ORACLE, AZURE_DATA_LAKE_STORAGE, POSTGRESQL,
* AZURE_SYNAPSE_ANALYTICS, SNOWFLAKE, AMAZON_S3, HDFS,
* ORACLE_AI_DATA_PLATFORM, ORACLE_NOSQL, MONGODB, AMAZON_KINESIS,
* AMAZON_REDSHIFT, DB2, REDIS, ELASTICSEARCH, GENERIC, GOOGLE_CLOUD_STORAGE,
* GOOGLE_BIGQUERY, DATABRICKS, GOOGLE_PUBSUB, MICROSOFT_FABRIC, ICEBERG
*
* @param self::CONNECTION_TYPE_* $connectionType
*/
public function setConnectionType($connectionType)
{
$this->connectionType = $connectionType;
}
/**
* @return self::CONNECTION_TYPE_*
*/
public function getConnectionType()
{
return $this->connectionType;
}
/**
* Identifier. The name of the Goldengate Connection Type resource with the
* format: projects/{project}/locations/{region}/goldengateConnectionTypes/{go
* ldengate_connection_type}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The technology type of the Goldengate Connection Type
* resource.
*
* @param string[] $technologyTypes
*/
public function setTechnologyTypes($technologyTypes)
{
$this->technologyTypes = $technologyTypes;
}
/**
* @return string[]
*/
public function getTechnologyTypes()
{
return $this->technologyTypes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateConnectionType::class, 'Google_Service_OracleDatabase_GoldengateConnectionType');
@@ -0,0 +1,233 @@
<?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\OracleDatabase;
class GoldengateDatabricksConnectionProperties extends \Google\Model
{
/**
* Authentication type not specified.
*/
public const AUTHENTICATION_TYPE_DATABRICKS_AUTHENTICATION_TYPE_UNSPECIFIED = 'DATABRICKS_AUTHENTICATION_TYPE_UNSPECIFIED';
/**
* Personal access token authentication.
*/
public const AUTHENTICATION_TYPE_PERSONAL_ACCESS_TOKEN = 'PERSONAL_ACCESS_TOKEN';
/**
* OAuth M2M authentication.
*/
public const AUTHENTICATION_TYPE_OAUTH_M2M = 'OAUTH_M2M';
/**
* Optional. Authentication type for Databricks.
*
* @var string
*/
public $authenticationType;
/**
* Optional. OAuth client id, only applicable for authentication_type ==
* OAUTH_M2M
*
* @var string
*/
public $clientId;
/**
* Optional. OAuth client secret, only applicable for authentication_type ==
* OAUTH_M2M
*
* @var string
*/
public $clientSecret;
/**
* Optional. Connection URL. e.g.: 'jdbc:databricks://adb-
* 33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=s
* ql/protocolv1/o/3393########44/0##3-7-hlrb'
*
* @var string
*/
public $connectionUrl;
/**
* Optional. Input only. The password used to connect to Databricks in plain
* text.
*
* @var string
*/
public $password;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password used to connect to Databricks. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $passwordSecretVersion;
/**
* Optional. External storage credential name to access files on object
* storage such as ADLS Gen2, S3 or Cloud Storage.
*
* @var string
*/
public $storageCredential;
/**
* Optional. The technology type of DatabricksConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. Authentication type for Databricks.
*
* Accepted values: DATABRICKS_AUTHENTICATION_TYPE_UNSPECIFIED,
* PERSONAL_ACCESS_TOKEN, OAUTH_M2M
*
* @param self::AUTHENTICATION_TYPE_* $authenticationType
*/
public function setAuthenticationType($authenticationType)
{
$this->authenticationType = $authenticationType;
}
/**
* @return self::AUTHENTICATION_TYPE_*
*/
public function getAuthenticationType()
{
return $this->authenticationType;
}
/**
* Optional. OAuth client id, only applicable for authentication_type ==
* OAUTH_M2M
*
* @param string $clientId
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* Optional. OAuth client secret, only applicable for authentication_type ==
* OAUTH_M2M
*
* @param string $clientSecret
*/
public function setClientSecret($clientSecret)
{
$this->clientSecret = $clientSecret;
}
/**
* @return string
*/
public function getClientSecret()
{
return $this->clientSecret;
}
/**
* Optional. Connection URL. e.g.: 'jdbc:databricks://adb-
* 33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=s
* ql/protocolv1/o/3393########44/0##3-7-hlrb'
*
* @param string $connectionUrl
*/
public function setConnectionUrl($connectionUrl)
{
$this->connectionUrl = $connectionUrl;
}
/**
* @return string
*/
public function getConnectionUrl()
{
return $this->connectionUrl;
}
/**
* Optional. Input only. The password used to connect to Databricks in plain
* text.
*
* @param string $password
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password used to connect to Databricks. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $passwordSecretVersion
*/
public function setPasswordSecretVersion($passwordSecretVersion)
{
$this->passwordSecretVersion = $passwordSecretVersion;
}
/**
* @return string
*/
public function getPasswordSecretVersion()
{
return $this->passwordSecretVersion;
}
/**
* Optional. External storage credential name to access files on object
* storage such as ADLS Gen2, S3 or Cloud Storage.
*
* @param string $storageCredential
*/
public function setStorageCredential($storageCredential)
{
$this->storageCredential = $storageCredential;
}
/**
* @return string
*/
public function getStorageCredential()
{
return $this->storageCredential;
}
/**
* Optional. The technology type of DatabricksConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateDatabricksConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateDatabricksConnectionProperties');
@@ -0,0 +1,316 @@
<?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\OracleDatabase;
class GoldengateDb2ConnectionProperties extends \Google\Collection
{
/**
* Security protocol not specified.
*/
public const SECURITY_PROTOCOL_DB2_SECURITY_PROTOCOL_UNSPECIFIED = 'DB2_SECURITY_PROTOCOL_UNSPECIFIED';
/**
* Plain text communication.
*/
public const SECURITY_PROTOCOL_PLAIN = 'PLAIN';
/**
* Transport Layer Security.
*/
public const SECURITY_PROTOCOL_TLS = 'TLS';
protected $collection_key = 'additionalAttributes';
protected $additionalAttributesType = NameValuePair::class;
protected $additionalAttributesDataType = 'array';
/**
* Optional. The name of the database.
*
* @var string
*/
public $database;
/**
* Optional. The name or address of a host.
*
* @var string
*/
public $host;
/**
* Optional. Input only. The password Oracle Goldengate uses for Db2
* connection in plain text.
*
* @var string
*/
public $password;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses for Db2
* connection. Format: projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $passwordSecretVersion;
/**
* Optional. The port of an endpoint usually specified for a connection.
*
* @var int
*/
public $port;
/**
* Optional. Security protocol for the DB2 database.
*
* @var string
*/
public $securityProtocol;
/**
* Optional. The keystash file which contains the encrypted password to the
* key database file. Not supported for IBM Db2 for i.
*
* @var string
*/
public $sslClientKeystashFile;
/**
* Optional. The keystore file created at the client containing the server
* certificate / CA root certificate. Not supported for IBM Db2 for i.
*
* @var string
*/
public $sslClientKeystoredbFile;
/**
* Optional. The file which contains the self-signed server certificate /
* Certificate Authority (CA) certificate.
*
* @var string
*/
public $sslServerCertificateFile;
/**
* Optional. The technology type of Db2Connection.
*
* @var string
*/
public $technologyType;
/**
* Optional. The username Oracle Goldengate uses to connect to the DB2
* database.
*
* @var string
*/
public $username;
/**
* Optional. An array of name-value pair attribute entries. Used as additional
* parameters in connection string.
*
* @param NameValuePair[] $additionalAttributes
*/
public function setAdditionalAttributes($additionalAttributes)
{
$this->additionalAttributes = $additionalAttributes;
}
/**
* @return NameValuePair[]
*/
public function getAdditionalAttributes()
{
return $this->additionalAttributes;
}
/**
* Optional. The name of the database.
*
* @param string $database
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* Optional. The name or address of a host.
*
* @param string $host
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* Optional. Input only. The password Oracle Goldengate uses for Db2
* connection in plain text.
*
* @param string $password
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses for Db2
* connection. Format: projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $passwordSecretVersion
*/
public function setPasswordSecretVersion($passwordSecretVersion)
{
$this->passwordSecretVersion = $passwordSecretVersion;
}
/**
* @return string
*/
public function getPasswordSecretVersion()
{
return $this->passwordSecretVersion;
}
/**
* Optional. The port of an endpoint usually specified for a connection.
*
* @param int $port
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* Optional. Security protocol for the DB2 database.
*
* Accepted values: DB2_SECURITY_PROTOCOL_UNSPECIFIED, PLAIN, TLS
*
* @param self::SECURITY_PROTOCOL_* $securityProtocol
*/
public function setSecurityProtocol($securityProtocol)
{
$this->securityProtocol = $securityProtocol;
}
/**
* @return self::SECURITY_PROTOCOL_*
*/
public function getSecurityProtocol()
{
return $this->securityProtocol;
}
/**
* Optional. The keystash file which contains the encrypted password to the
* key database file. Not supported for IBM Db2 for i.
*
* @param string $sslClientKeystashFile
*/
public function setSslClientKeystashFile($sslClientKeystashFile)
{
$this->sslClientKeystashFile = $sslClientKeystashFile;
}
/**
* @return string
*/
public function getSslClientKeystashFile()
{
return $this->sslClientKeystashFile;
}
/**
* Optional. The keystore file created at the client containing the server
* certificate / CA root certificate. Not supported for IBM Db2 for i.
*
* @param string $sslClientKeystoredbFile
*/
public function setSslClientKeystoredbFile($sslClientKeystoredbFile)
{
$this->sslClientKeystoredbFile = $sslClientKeystoredbFile;
}
/**
* @return string
*/
public function getSslClientKeystoredbFile()
{
return $this->sslClientKeystoredbFile;
}
/**
* Optional. The file which contains the self-signed server certificate /
* Certificate Authority (CA) certificate.
*
* @param string $sslServerCertificateFile
*/
public function setSslServerCertificateFile($sslServerCertificateFile)
{
$this->sslServerCertificateFile = $sslServerCertificateFile;
}
/**
* @return string
*/
public function getSslServerCertificateFile()
{
return $this->sslServerCertificateFile;
}
/**
* Optional. The technology type of Db2Connection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
/**
* Optional. The username Oracle Goldengate uses to connect to the DB2
* database.
*
* @param string $username
*/
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(GoldengateDb2ConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateDb2ConnectionProperties');
@@ -0,0 +1,258 @@
<?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\OracleDatabase;
class GoldengateDeployment extends \Google\Model
{
/**
* Output only. The date and time that the GoldengateDeployment was created.
*
* @var string
*/
public $createTime;
/**
* Required. The display name for the GoldengateDeployment.
*
* @var string
*/
public $displayName;
/**
* Output only. The ID of the subscription entitlement associated with the
* GoldengateDeployment
*
* @var string
*/
public $entitlementId;
/**
* Optional. The GCP Oracle zone where Oracle GoldengateDeployment is hosted.
* Example: us-east4-b-r2. If not specified, the system will pick a zone based
* on availability.
*
* @var string
*/
public $gcpOracleZone;
/**
* Optional. The labels or tags associated with the GoldengateDeployment.
*
* @var string[]
*/
public $labels;
/**
* Identifier. The name of the GoldengateDeployment resource in the following
* format: projects/{project}/locations/{region}/goldengateDeployments/{golden
* gate_deployment}
*
* @var string
*/
public $name;
/**
* Output only. HTTPS link to OCI resources exposed to Customer via UI
* Interface.
*
* @var string
*/
public $ociUrl;
/**
* Optional. The name of the OdbNetwork associated with the
* GoldengateDeployment.
*
* @var string
*/
public $odbNetwork;
/**
* Required. The name of the OdbSubnet associated with the
* GoldengateDeployment for IP allocation.
*
* @var string
*/
public $odbSubnet;
protected $propertiesType = GoldengateDeploymentProperties::class;
protected $propertiesDataType = '';
/**
* Output only. The date and time that the GoldengateDeployment was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Required. The display name for the GoldengateDeployment.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. The ID of the subscription entitlement associated with the
* GoldengateDeployment
*
* @param string $entitlementId
*/
public function setEntitlementId($entitlementId)
{
$this->entitlementId = $entitlementId;
}
/**
* @return string
*/
public function getEntitlementId()
{
return $this->entitlementId;
}
/**
* Optional. The GCP Oracle zone where Oracle GoldengateDeployment is hosted.
* Example: us-east4-b-r2. If not specified, the system will pick a zone based
* on availability.
*
* @param string $gcpOracleZone
*/
public function setGcpOracleZone($gcpOracleZone)
{
$this->gcpOracleZone = $gcpOracleZone;
}
/**
* @return string
*/
public function getGcpOracleZone()
{
return $this->gcpOracleZone;
}
/**
* Optional. The labels or tags associated with the GoldengateDeployment.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Identifier. The name of the GoldengateDeployment resource in the following
* format: projects/{project}/locations/{region}/goldengateDeployments/{golden
* gate_deployment}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. HTTPS link to OCI resources exposed to Customer via UI
* Interface.
*
* @param string $ociUrl
*/
public function setOciUrl($ociUrl)
{
$this->ociUrl = $ociUrl;
}
/**
* @return string
*/
public function getOciUrl()
{
return $this->ociUrl;
}
/**
* Optional. The name of the OdbNetwork associated with the
* GoldengateDeployment.
*
* @param string $odbNetwork
*/
public function setOdbNetwork($odbNetwork)
{
$this->odbNetwork = $odbNetwork;
}
/**
* @return string
*/
public function getOdbNetwork()
{
return $this->odbNetwork;
}
/**
* Required. The name of the OdbSubnet associated with the
* GoldengateDeployment for IP allocation.
*
* @param string $odbSubnet
*/
public function setOdbSubnet($odbSubnet)
{
$this->odbSubnet = $odbSubnet;
}
/**
* @return string
*/
public function getOdbSubnet()
{
return $this->odbSubnet;
}
/**
* Required. The properties of the GoldengateDeployment.
*
* @param GoldengateDeploymentProperties $properties
*/
public function setProperties(GoldengateDeploymentProperties $properties)
{
$this->properties = $properties;
}
/**
* @return GoldengateDeploymentProperties
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateDeployment::class, 'Google_Service_OracleDatabase_GoldengateDeployment');
@@ -0,0 +1,320 @@
<?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\OracleDatabase;
class GoldengateDeploymentEnvironment extends \Google\Model
{
/**
* Default unspecified value.
*/
public const CATEGORY_DEPLOYMENT_CATEGORY_UNSPECIFIED = 'DEPLOYMENT_CATEGORY_UNSPECIFIED';
/**
* Goldengate Deployment Environment category is DATA_REPLICATION_CATEGORY.
*/
public const CATEGORY_DATA_REPLICATION_CATEGORY = 'DATA_REPLICATION_CATEGORY';
/**
* Goldengate Deployment Environment category is DATA_TRANSFORMS_CATEGORY.
*/
public const CATEGORY_DATA_TRANSFORMS_CATEGORY = 'DATA_TRANSFORMS_CATEGORY';
/**
* Default unspecified value.
*/
public const ENVIRONMENT_TYPE_DEPLOYMENT_ENVIRONMENT_TYPE_UNSPECIFIED = 'DEPLOYMENT_ENVIRONMENT_TYPE_UNSPECIFIED';
/**
* Goldengate Deployment Environment type is PRODUCTION.
*/
public const ENVIRONMENT_TYPE_PRODUCTION = 'PRODUCTION';
/**
* Goldengate Deployment Environment type is DEVELOPMENT_OR_TESTING.
*/
public const ENVIRONMENT_TYPE_DEVELOPMENT_OR_TESTING = 'DEVELOPMENT_OR_TESTING';
/**
* Output only. Whether auto scaling is enabled by default for the Goldengate
* Deployment Environment resource.
*
* @var bool
*/
public $autoScalingEnabled;
/**
* Output only. The category of the Goldengate Deployment Environment
* resource.
*
* @var string
*/
public $category;
/**
* Output only. The default CPU core count of the Goldengate Deployment
* Environment resource.
*
* @var int
*/
public $defaultCpuCoreCount;
/**
* The display name of the Goldengate Deployment Environment resource.
*
* @var string
*/
public $displayName;
/**
* Output only. The environment type of the Goldengate Deployment Environment
* resource.
*
* @var string
*/
public $environmentType;
/**
* Output only. The max CPU core count of the Goldengate Deployment
* Environment resource.
*
* @var int
*/
public $maxCpuCoreCount;
/**
* Output only. The memory per CPU core in GBs of the Goldengate Deployment
* Environment resource.
*
* @var int
*/
public $memoryGbPerCpuCore;
/**
* Output only. The min CPU core count of the Goldengate Deployment
* Environment resource.
*
* @var int
*/
public $minCpuCoreCount;
/**
* Identifier. The name of the Goldengate Deployment Environment resource with
* the format: projects/{project}/locations/{location}/goldengateDeploymentEnv
* ironments/{goldengate_deployment_environment}
*
* @var string
*/
public $name;
/**
* Output only. The network bandwidth per CPU core in Gbps of the Goldengate
* Deployment Environment resource.
*
* @var int
*/
public $networkBandwidthGbpsPerCpuCore;
/**
* Output only. The storage usage limit per CPU core in GBs of the Goldengate
* Deployment Environment resource.
*
* @var int
*/
public $storageUsageLimitGbPerCpuCore;
/**
* Output only. Whether auto scaling is enabled by default for the Goldengate
* Deployment Environment resource.
*
* @param bool $autoScalingEnabled
*/
public function setAutoScalingEnabled($autoScalingEnabled)
{
$this->autoScalingEnabled = $autoScalingEnabled;
}
/**
* @return bool
*/
public function getAutoScalingEnabled()
{
return $this->autoScalingEnabled;
}
/**
* Output only. The category of the Goldengate Deployment Environment
* resource.
*
* Accepted values: DEPLOYMENT_CATEGORY_UNSPECIFIED,
* DATA_REPLICATION_CATEGORY, DATA_TRANSFORMS_CATEGORY
*
* @param self::CATEGORY_* $category
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return self::CATEGORY_*
*/
public function getCategory()
{
return $this->category;
}
/**
* Output only. The default CPU core count of the Goldengate Deployment
* Environment resource.
*
* @param int $defaultCpuCoreCount
*/
public function setDefaultCpuCoreCount($defaultCpuCoreCount)
{
$this->defaultCpuCoreCount = $defaultCpuCoreCount;
}
/**
* @return int
*/
public function getDefaultCpuCoreCount()
{
return $this->defaultCpuCoreCount;
}
/**
* The display name of the Goldengate Deployment Environment resource.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. The environment type of the Goldengate Deployment Environment
* resource.
*
* Accepted values: DEPLOYMENT_ENVIRONMENT_TYPE_UNSPECIFIED, PRODUCTION,
* DEVELOPMENT_OR_TESTING
*
* @param self::ENVIRONMENT_TYPE_* $environmentType
*/
public function setEnvironmentType($environmentType)
{
$this->environmentType = $environmentType;
}
/**
* @return self::ENVIRONMENT_TYPE_*
*/
public function getEnvironmentType()
{
return $this->environmentType;
}
/**
* Output only. The max CPU core count of the Goldengate Deployment
* Environment resource.
*
* @param int $maxCpuCoreCount
*/
public function setMaxCpuCoreCount($maxCpuCoreCount)
{
$this->maxCpuCoreCount = $maxCpuCoreCount;
}
/**
* @return int
*/
public function getMaxCpuCoreCount()
{
return $this->maxCpuCoreCount;
}
/**
* Output only. The memory per CPU core in GBs of the Goldengate Deployment
* Environment resource.
*
* @param int $memoryGbPerCpuCore
*/
public function setMemoryGbPerCpuCore($memoryGbPerCpuCore)
{
$this->memoryGbPerCpuCore = $memoryGbPerCpuCore;
}
/**
* @return int
*/
public function getMemoryGbPerCpuCore()
{
return $this->memoryGbPerCpuCore;
}
/**
* Output only. The min CPU core count of the Goldengate Deployment
* Environment resource.
*
* @param int $minCpuCoreCount
*/
public function setMinCpuCoreCount($minCpuCoreCount)
{
$this->minCpuCoreCount = $minCpuCoreCount;
}
/**
* @return int
*/
public function getMinCpuCoreCount()
{
return $this->minCpuCoreCount;
}
/**
* Identifier. The name of the Goldengate Deployment Environment resource with
* the format: projects/{project}/locations/{location}/goldengateDeploymentEnv
* ironments/{goldengate_deployment_environment}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The network bandwidth per CPU core in Gbps of the Goldengate
* Deployment Environment resource.
*
* @param int $networkBandwidthGbpsPerCpuCore
*/
public function setNetworkBandwidthGbpsPerCpuCore($networkBandwidthGbpsPerCpuCore)
{
$this->networkBandwidthGbpsPerCpuCore = $networkBandwidthGbpsPerCpuCore;
}
/**
* @return int
*/
public function getNetworkBandwidthGbpsPerCpuCore()
{
return $this->networkBandwidthGbpsPerCpuCore;
}
/**
* Output only. The storage usage limit per CPU core in GBs of the Goldengate
* Deployment Environment resource.
*
* @param int $storageUsageLimitGbPerCpuCore
*/
public function setStorageUsageLimitGbPerCpuCore($storageUsageLimitGbPerCpuCore)
{
$this->storageUsageLimitGbPerCpuCore = $storageUsageLimitGbPerCpuCore;
}
/**
* @return int
*/
public function getStorageUsageLimitGbPerCpuCore()
{
return $this->storageUsageLimitGbPerCpuCore;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateDeploymentEnvironment::class, 'Google_Service_OracleDatabase_GoldengateDeploymentEnvironment');
@@ -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\OracleDatabase;
class GoldengateDeploymentLock extends \Google\Model
{
/**
* The lock type is unspecified.
*/
public const TYPE_LOCK_TYPE_UNSPECIFIED = 'LOCK_TYPE_UNSPECIFIED';
/**
* The lock type is full.
*/
public const TYPE_FULL = 'FULL';
/**
* The lock type is delete.
*/
public const TYPE_DELETE = 'DELETE';
/**
* Output only. The compartment id.
*
* @var string
*/
public $compartmentId;
/**
* Output only. The time created.
*
* @var string
*/
public $createTime;
/**
* Output only. The message.
*
* @var string
*/
public $message;
/**
* Output only. The related resource id.
*
* @var string
*/
public $relatedResourceId;
/**
* Output only. The type of lock.
*
* @var string
*/
public $type;
/**
* Output only. The compartment id.
*
* @param string $compartmentId
*/
public function setCompartmentId($compartmentId)
{
$this->compartmentId = $compartmentId;
}
/**
* @return string
*/
public function getCompartmentId()
{
return $this->compartmentId;
}
/**
* Output only. The time created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The message.
*
* @param string $message
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* Output only. The related resource id.
*
* @param string $relatedResourceId
*/
public function setRelatedResourceId($relatedResourceId)
{
$this->relatedResourceId = $relatedResourceId;
}
/**
* @return string
*/
public function getRelatedResourceId()
{
return $this->relatedResourceId;
}
/**
* Output only. The type of lock.
*
* Accepted values: LOCK_TYPE_UNSPECIFIED, FULL, DELETE
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateDeploymentLock::class, 'Google_Service_OracleDatabase_GoldengateDeploymentLock');
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,350 @@
<?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\OracleDatabase;
class GoldengateDeploymentType extends \Google\Collection
{
/**
* Default unspecified value.
*/
public const CATEGORY_DEPLOYMENT_CATEGORY_UNSPECIFIED = 'DEPLOYMENT_CATEGORY_UNSPECIFIED';
/**
* Goldengate Deployment Type category is DATA_REPLICATION_CATEGORY.
*/
public const CATEGORY_DATA_REPLICATION_CATEGORY = 'DATA_REPLICATION_CATEGORY';
/**
* Goldengate Deployment Type category is DATA_TRANSFORMS_CATEGORY.
*/
public const CATEGORY_DATA_TRANSFORMS_CATEGORY = 'DATA_TRANSFORMS_CATEGORY';
/**
* Default unspecified value.
*/
public const DEPLOYMENT_TYPE_DEPLOYMENT_TYPE_UNSPECIFIED = 'DEPLOYMENT_TYPE_UNSPECIFIED';
/**
* Goldengate Deployment Type category is OGG.
*/
public const DEPLOYMENT_TYPE_OGG = 'OGG';
/**
* Goldengate Deployment Type category is DATABASE_ORACLE.
*/
public const DEPLOYMENT_TYPE_DATABASE_ORACLE = 'DATABASE_ORACLE';
/**
* Goldengate Deployment Type category is BIGDATA.
*/
public const DEPLOYMENT_TYPE_BIGDATA = 'BIGDATA';
/**
* Goldengate Deployment Type category is DATABASE_MICROSOFT_SQLSERVER.
*/
public const DEPLOYMENT_TYPE_DATABASE_MICROSOFT_SQLSERVER = 'DATABASE_MICROSOFT_SQLSERVER';
/**
* Goldengate Deployment Type category is DATABASE_MYSQL.
*/
public const DEPLOYMENT_TYPE_DATABASE_MYSQL = 'DATABASE_MYSQL';
/**
* Goldengate Deployment Type category is DATABASE_POSTGRESQL.
*/
public const DEPLOYMENT_TYPE_DATABASE_POSTGRESQL = 'DATABASE_POSTGRESQL';
/**
* Goldengate Deployment Type category is DATABASE_DB2ZOS.
*/
public const DEPLOYMENT_TYPE_DATABASE_DB2ZOS = 'DATABASE_DB2ZOS';
/**
* Goldengate Deployment Type category is DATABASE_DB2I.
*/
public const DEPLOYMENT_TYPE_DATABASE_DB2I = 'DATABASE_DB2I';
/**
* Goldengate Deployment Type category is GGSA.
*/
public const DEPLOYMENT_TYPE_GGSA = 'GGSA';
/**
* Goldengate Deployment Type category is DATA_TRANSFORMS.
*/
public const DEPLOYMENT_TYPE_DATA_TRANSFORMS = 'DATA_TRANSFORMS';
protected $collection_key = 'targetTechnologies';
/**
* Output only. The category of the Goldengate Deployment Type resource.
*
* @var string
*/
public $category;
/**
* Output only. The connection types of the Goldengate Deployment Type
* resource.
*
* @var string[]
*/
public $connectionTypes;
/**
* Output only. The default username of the Goldengate Deployment Type
* resource.
*
* @var string
*/
public $defaultUsername;
/**
* Output only. The deployment type of the Goldengate Deployment Type
* resource.
*
* @var string
*/
public $deploymentType;
/**
* Output only. The display name of the Goldengate Deployment Type resource.
*
* @var string
*/
public $displayName;
/**
* Identifier. The name of the Goldengate Deployment Type resource with the
* format: projects/{project}/locations/{region}/goldengateDeploymentTypes/{go
* ldengate_deployment_type}
*
* @var string
*/
public $name;
/**
* Output only. The Ogg version of the Goldengate Deployment Type resource.
*
* @var string
*/
public $oggVersion;
/**
* Output only. The source technologies of the Goldengate Deployment Type
* resource.
*
* @var string[]
*/
public $sourceTechnologies;
/**
* Output only. The supported capabilities of the Goldengate Deployment Type
* resource.
*
* @var string[]
*/
public $supportedCapabilities;
/**
* Output only. The supported technologies URL of the Goldengate Deployment
* Type resource.
*
* @var string
*/
public $supportedTechnologiesUrl;
/**
* Output only. The target technologies of the Goldengate Deployment Type
* resource.
*
* @var string[]
*/
public $targetTechnologies;
/**
* Output only. The category of the Goldengate Deployment Type resource.
*
* Accepted values: DEPLOYMENT_CATEGORY_UNSPECIFIED,
* DATA_REPLICATION_CATEGORY, DATA_TRANSFORMS_CATEGORY
*
* @param self::CATEGORY_* $category
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return self::CATEGORY_*
*/
public function getCategory()
{
return $this->category;
}
/**
* Output only. The connection types of the Goldengate Deployment Type
* resource.
*
* @param string[] $connectionTypes
*/
public function setConnectionTypes($connectionTypes)
{
$this->connectionTypes = $connectionTypes;
}
/**
* @return string[]
*/
public function getConnectionTypes()
{
return $this->connectionTypes;
}
/**
* Output only. The default username of the Goldengate Deployment Type
* resource.
*
* @param string $defaultUsername
*/
public function setDefaultUsername($defaultUsername)
{
$this->defaultUsername = $defaultUsername;
}
/**
* @return string
*/
public function getDefaultUsername()
{
return $this->defaultUsername;
}
/**
* Output only. The deployment type of the Goldengate Deployment Type
* resource.
*
* Accepted values: DEPLOYMENT_TYPE_UNSPECIFIED, OGG, DATABASE_ORACLE,
* BIGDATA, DATABASE_MICROSOFT_SQLSERVER, DATABASE_MYSQL, DATABASE_POSTGRESQL,
* DATABASE_DB2ZOS, DATABASE_DB2I, GGSA, DATA_TRANSFORMS
*
* @param self::DEPLOYMENT_TYPE_* $deploymentType
*/
public function setDeploymentType($deploymentType)
{
$this->deploymentType = $deploymentType;
}
/**
* @return self::DEPLOYMENT_TYPE_*
*/
public function getDeploymentType()
{
return $this->deploymentType;
}
/**
* Output only. The display name of the Goldengate Deployment Type resource.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Identifier. The name of the Goldengate Deployment Type resource with the
* format: projects/{project}/locations/{region}/goldengateDeploymentTypes/{go
* ldengate_deployment_type}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The Ogg version of the Goldengate Deployment Type resource.
*
* @param string $oggVersion
*/
public function setOggVersion($oggVersion)
{
$this->oggVersion = $oggVersion;
}
/**
* @return string
*/
public function getOggVersion()
{
return $this->oggVersion;
}
/**
* Output only. The source technologies of the Goldengate Deployment Type
* resource.
*
* @param string[] $sourceTechnologies
*/
public function setSourceTechnologies($sourceTechnologies)
{
$this->sourceTechnologies = $sourceTechnologies;
}
/**
* @return string[]
*/
public function getSourceTechnologies()
{
return $this->sourceTechnologies;
}
/**
* Output only. The supported capabilities of the Goldengate Deployment Type
* resource.
*
* @param string[] $supportedCapabilities
*/
public function setSupportedCapabilities($supportedCapabilities)
{
$this->supportedCapabilities = $supportedCapabilities;
}
/**
* @return string[]
*/
public function getSupportedCapabilities()
{
return $this->supportedCapabilities;
}
/**
* Output only. The supported technologies URL of the Goldengate Deployment
* Type resource.
*
* @param string $supportedTechnologiesUrl
*/
public function setSupportedTechnologiesUrl($supportedTechnologiesUrl)
{
$this->supportedTechnologiesUrl = $supportedTechnologiesUrl;
}
/**
* @return string
*/
public function getSupportedTechnologiesUrl()
{
return $this->supportedTechnologiesUrl;
}
/**
* Output only. The target technologies of the Goldengate Deployment Type
* resource.
*
* @param string[] $targetTechnologies
*/
public function setTargetTechnologies($targetTechnologies)
{
$this->targetTechnologies = $targetTechnologies;
}
/**
* @return string[]
*/
public function getTargetTechnologies()
{
return $this->targetTechnologies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateDeploymentType::class, 'Google_Service_OracleDatabase_GoldengateDeploymentType');
@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\OracleDatabase;
class GoldengateDeploymentVersion extends \Google\Model
{
/**
* Identifier. The name of the Goldengate Deployment Version resource with the
* format: projects/{project}/locations/{location}/goldengateDeploymentVersion
* s/{goldengate_deployment_version}
*
* @var string
*/
public $name;
/**
* Output only. The deployment version ocid of the Goldengate Deployment
* Version resource.
*
* @var string
*/
public $ocid;
protected $propertiesType = GoldengateDeploymentVersionProperties::class;
protected $propertiesDataType = '';
/**
* Identifier. The name of the Goldengate Deployment Version resource with the
* format: projects/{project}/locations/{location}/goldengateDeploymentVersion
* s/{goldengate_deployment_version}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The deployment version ocid of the Goldengate Deployment
* Version resource.
*
* @param string $ocid
*/
public function setOcid($ocid)
{
$this->ocid = $ocid;
}
/**
* @return string
*/
public function getOcid()
{
return $this->ocid;
}
/**
* Output only. The technology type of the Goldengate Deployment Version
* resource.
*
* @param GoldengateDeploymentVersionProperties $properties
*/
public function setProperties(GoldengateDeploymentVersionProperties $properties)
{
$this->properties = $properties;
}
/**
* @return GoldengateDeploymentVersionProperties
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateDeploymentVersion::class, 'Google_Service_OracleDatabase_GoldengateDeploymentVersion');
@@ -0,0 +1,234 @@
<?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\OracleDatabase;
class GoldengateDeploymentVersionProperties extends \Google\Model
{
/**
* Default unspecified value.
*/
public const DEPLOYMENT_TYPE_DEPLOYMENT_TYPE_UNSPECIFIED = 'DEPLOYMENT_TYPE_UNSPECIFIED';
/**
* Goldengate Deployment Type category is OGG.
*/
public const DEPLOYMENT_TYPE_OGG = 'OGG';
/**
* Goldengate Deployment Type category is DATABASE_ORACLE.
*/
public const DEPLOYMENT_TYPE_DATABASE_ORACLE = 'DATABASE_ORACLE';
/**
* Goldengate Deployment Type category is BIGDATA.
*/
public const DEPLOYMENT_TYPE_BIGDATA = 'BIGDATA';
/**
* Goldengate Deployment Type category is DATABASE_MICROSOFT_SQLSERVER.
*/
public const DEPLOYMENT_TYPE_DATABASE_MICROSOFT_SQLSERVER = 'DATABASE_MICROSOFT_SQLSERVER';
/**
* Goldengate Deployment Type category is DATABASE_MYSQL.
*/
public const DEPLOYMENT_TYPE_DATABASE_MYSQL = 'DATABASE_MYSQL';
/**
* Goldengate Deployment Type category is DATABASE_POSTGRESQL.
*/
public const DEPLOYMENT_TYPE_DATABASE_POSTGRESQL = 'DATABASE_POSTGRESQL';
/**
* Goldengate Deployment Type category is DATABASE_DB2ZOS.
*/
public const DEPLOYMENT_TYPE_DATABASE_DB2ZOS = 'DATABASE_DB2ZOS';
/**
* Goldengate Deployment Type category is DATABASE_DB2I.
*/
public const DEPLOYMENT_TYPE_DATABASE_DB2I = 'DATABASE_DB2I';
/**
* Goldengate Deployment Type category is GGSA.
*/
public const DEPLOYMENT_TYPE_GGSA = 'GGSA';
/**
* Goldengate Deployment Type category is DATA_TRANSFORMS.
*/
public const DEPLOYMENT_TYPE_DATA_TRANSFORMS = 'DATA_TRANSFORMS';
/**
* Default unspecified value.
*/
public const RELEASE_TYPE_DEPLOYMENT_RELEASE_TYPE_UNSPECIFIED = 'DEPLOYMENT_RELEASE_TYPE_UNSPECIFIED';
/**
* Goldengate Deployment Version release type is MAJOR.
*/
public const RELEASE_TYPE_MAJOR = 'MAJOR';
/**
* Goldengate Deployment Version release type is BUNDLE.
*/
public const RELEASE_TYPE_BUNDLE = 'BUNDLE';
/**
* Goldengate Deployment Version release type is MINOR.
*/
public const RELEASE_TYPE_MINOR = 'MINOR';
/**
* Output only. The deployment type of the Goldengate Deployment Version
* resource.
*
* @var string
*/
public $deploymentType;
/**
* Output only. The OGG version of the Goldengate Deployment Version resource.
*
* @var string
*/
public $oggVersion;
/**
* Output only. The release time of the Goldengate Deployment Version
* resource.
*
* @var string
*/
public $releaseTime;
/**
* Output only. The release type of the Goldengate Deployment Version
* resource.
*
* @var string
*/
public $releaseType;
/**
* Optional. Whether the Goldengate Deployment Version resource is a security
* fix.
*
* @var bool
*/
public $securityFix;
/**
* Output only. The support end time of the Goldengate Deployment Version
* resource.
*
* @var string
*/
public $supportEndTime;
/**
* Output only. The deployment type of the Goldengate Deployment Version
* resource.
*
* Accepted values: DEPLOYMENT_TYPE_UNSPECIFIED, OGG, DATABASE_ORACLE,
* BIGDATA, DATABASE_MICROSOFT_SQLSERVER, DATABASE_MYSQL, DATABASE_POSTGRESQL,
* DATABASE_DB2ZOS, DATABASE_DB2I, GGSA, DATA_TRANSFORMS
*
* @param self::DEPLOYMENT_TYPE_* $deploymentType
*/
public function setDeploymentType($deploymentType)
{
$this->deploymentType = $deploymentType;
}
/**
* @return self::DEPLOYMENT_TYPE_*
*/
public function getDeploymentType()
{
return $this->deploymentType;
}
/**
* Output only. The OGG version of the Goldengate Deployment Version resource.
*
* @param string $oggVersion
*/
public function setOggVersion($oggVersion)
{
$this->oggVersion = $oggVersion;
}
/**
* @return string
*/
public function getOggVersion()
{
return $this->oggVersion;
}
/**
* Output only. The release time of the Goldengate Deployment Version
* resource.
*
* @param string $releaseTime
*/
public function setReleaseTime($releaseTime)
{
$this->releaseTime = $releaseTime;
}
/**
* @return string
*/
public function getReleaseTime()
{
return $this->releaseTime;
}
/**
* Output only. The release type of the Goldengate Deployment Version
* resource.
*
* Accepted values: DEPLOYMENT_RELEASE_TYPE_UNSPECIFIED, MAJOR, BUNDLE, MINOR
*
* @param self::RELEASE_TYPE_* $releaseType
*/
public function setReleaseType($releaseType)
{
$this->releaseType = $releaseType;
}
/**
* @return self::RELEASE_TYPE_*
*/
public function getReleaseType()
{
return $this->releaseType;
}
/**
* Optional. Whether the Goldengate Deployment Version resource is a security
* fix.
*
* @param bool $securityFix
*/
public function setSecurityFix($securityFix)
{
$this->securityFix = $securityFix;
}
/**
* @return bool
*/
public function getSecurityFix()
{
return $this->securityFix;
}
/**
* Output only. The support end time of the Goldengate Deployment Version
* resource.
*
* @param string $supportEndTime
*/
public function setSupportEndTime($supportEndTime)
{
$this->supportEndTime = $supportEndTime;
}
/**
* @return string
*/
public function getSupportEndTime()
{
return $this->supportEndTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateDeploymentVersionProperties::class, 'Google_Service_OracleDatabase_GoldengateDeploymentVersionProperties');
@@ -0,0 +1,248 @@
<?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\OracleDatabase;
class GoldengateElasticsearchConnectionProperties extends \Google\Model
{
/**
* Authentication type not specified.
*/
public const AUTHENTICATION_TYPE_ELASTICSEARCH_AUTHENTICATION_TYPE_UNSPECIFIED = 'ELASTICSEARCH_AUTHENTICATION_TYPE_UNSPECIFIED';
/**
* No authentication.
*/
public const AUTHENTICATION_TYPE_NONE = 'NONE';
/**
* Basic authentication.
*/
public const AUTHENTICATION_TYPE_BASIC = 'BASIC';
/**
* Security protocol not specified.
*/
public const SECURITY_PROTOCOL_ELASTICSEARCH_SECURITY_PROTOCOL_UNSPECIFIED = 'ELASTICSEARCH_SECURITY_PROTOCOL_UNSPECIFIED';
/**
* Plain text communication.
*/
public const SECURITY_PROTOCOL_PLAIN = 'PLAIN';
/**
* Transport Layer Security.
*/
public const SECURITY_PROTOCOL_TLS = 'TLS';
/**
* Optional. Authentication type for Elasticsearch.
*
* @var string
*/
public $authenticationType;
/**
* Optional. Fingerprint required by TLS security protocol. Eg.:
* '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c'
*
* @var string
*/
public $fingerprint;
/**
* Optional. Input only. The password Oracle Goldengate uses for Elastic
* Search connection in plain text.
*
* @var string
*/
public $password;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses for Elastic
* Search connection. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $passwordSecretVersion;
/**
* Optional. Security protocol for Elasticsearch.
*
* @var string
*/
public $securityProtocol;
/**
* Optional. Comma separated list of Elasticsearch server addresses, specified
* as host:port entries, where :port is optional. If port is not specified, it
* defaults to 9200. Example:
* "server1.example.com:4000,server2.example.com:4000"
*
* @var string
*/
public $servers;
/**
* Optional. The technology type of ElasticsearchConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. The username Oracle Goldengate uses to connect the associated
* system of the given technology.
*
* @var string
*/
public $username;
/**
* Optional. Authentication type for Elasticsearch.
*
* Accepted values: ELASTICSEARCH_AUTHENTICATION_TYPE_UNSPECIFIED, NONE, BASIC
*
* @param self::AUTHENTICATION_TYPE_* $authenticationType
*/
public function setAuthenticationType($authenticationType)
{
$this->authenticationType = $authenticationType;
}
/**
* @return self::AUTHENTICATION_TYPE_*
*/
public function getAuthenticationType()
{
return $this->authenticationType;
}
/**
* Optional. Fingerprint required by TLS security protocol. Eg.:
* '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c'
*
* @param string $fingerprint
*/
public function setFingerprint($fingerprint)
{
$this->fingerprint = $fingerprint;
}
/**
* @return string
*/
public function getFingerprint()
{
return $this->fingerprint;
}
/**
* Optional. Input only. The password Oracle Goldengate uses for Elastic
* Search connection in plain text.
*
* @param string $password
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses for Elastic
* Search connection. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $passwordSecretVersion
*/
public function setPasswordSecretVersion($passwordSecretVersion)
{
$this->passwordSecretVersion = $passwordSecretVersion;
}
/**
* @return string
*/
public function getPasswordSecretVersion()
{
return $this->passwordSecretVersion;
}
/**
* Optional. Security protocol for Elasticsearch.
*
* Accepted values: ELASTICSEARCH_SECURITY_PROTOCOL_UNSPECIFIED, PLAIN, TLS
*
* @param self::SECURITY_PROTOCOL_* $securityProtocol
*/
public function setSecurityProtocol($securityProtocol)
{
$this->securityProtocol = $securityProtocol;
}
/**
* @return self::SECURITY_PROTOCOL_*
*/
public function getSecurityProtocol()
{
return $this->securityProtocol;
}
/**
* Optional. Comma separated list of Elasticsearch server addresses, specified
* as host:port entries, where :port is optional. If port is not specified, it
* defaults to 9200. Example:
* "server1.example.com:4000,server2.example.com:4000"
*
* @param string $servers
*/
public function setServers($servers)
{
$this->servers = $servers;
}
/**
* @return string
*/
public function getServers()
{
return $this->servers;
}
/**
* Optional. The technology type of ElasticsearchConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
/**
* Optional. The username Oracle Goldengate uses to connect the associated
* system of the given technology.
*
* @param string $username
*/
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(GoldengateElasticsearchConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateElasticsearchConnectionProperties');
@@ -0,0 +1,70 @@
<?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\OracleDatabase;
class GoldengateGenericConnectionProperties extends \Google\Model
{
/**
* Optional. The host of the GenericConnection.
*
* @var string
*/
public $host;
/**
* Optional. The technology type.
*
* @var string
*/
public $technologyType;
/**
* Optional. The host of the GenericConnection.
*
* @param string $host
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* Optional. The technology type.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateGenericConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateGenericConnectionProperties');
@@ -0,0 +1,190 @@
<?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\OracleDatabase;
class GoldengateGoldengateConnectionProperties extends \Google\Model
{
/**
* Optional. The name of the GoldengateDeployment associated with the
* GoldengateConnection. Format: projects/{project}/locations/{location}/golde
* ngateDeployments/{goldengate_deployment}
*
* @var string
*/
public $goldengateDeploymentId;
/**
* Optional. The host of the GoldengateConnection.
*
* @var string
*/
public $host;
/**
* Optional. Input only. The password used to connect to the Oracle Goldengate
* in plain text.
*
* @var string
*/
public $password;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password used to connect to the Oracle
* Goldengate. Format: projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $passwordSecretVersion;
/**
* Optional. The port of the GoldengateConnection.
*
* @var int
*/
public $port;
/**
* Optional. The technology type.
*
* @var string
*/
public $technologyType;
/**
* Optional. The username credential.
*
* @var string
*/
public $username;
/**
* Optional. The name of the GoldengateDeployment associated with the
* GoldengateConnection. Format: projects/{project}/locations/{location}/golde
* ngateDeployments/{goldengate_deployment}
*
* @param string $goldengateDeploymentId
*/
public function setGoldengateDeploymentId($goldengateDeploymentId)
{
$this->goldengateDeploymentId = $goldengateDeploymentId;
}
/**
* @return string
*/
public function getGoldengateDeploymentId()
{
return $this->goldengateDeploymentId;
}
/**
* Optional. The host of the GoldengateConnection.
*
* @param string $host
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* Optional. Input only. The password used to connect to the Oracle Goldengate
* in plain text.
*
* @param string $password
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password used to connect to the Oracle
* Goldengate. Format: projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $passwordSecretVersion
*/
public function setPasswordSecretVersion($passwordSecretVersion)
{
$this->passwordSecretVersion = $passwordSecretVersion;
}
/**
* @return string
*/
public function getPasswordSecretVersion()
{
return $this->passwordSecretVersion;
}
/**
* Optional. The port of the GoldengateConnection.
*
* @param int $port
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* Optional. The technology type.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
/**
* Optional. The username credential.
*
* @param string $username
*/
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(GoldengateGoldengateConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateGoldengateConnectionProperties');
@@ -0,0 +1,72 @@
<?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\OracleDatabase;
class GoldengateGoogleBigQueryConnectionProperties extends \Google\Model
{
/**
* Optional. The service account key file Cloud Storage containing the
* credentials required to use Google BigQuery.
*
* @var string
*/
public $serviceAccountKeyFile;
/**
* Optional. The technology type.
*
* @var string
*/
public $technologyType;
/**
* Optional. The service account key file Cloud Storage containing the
* credentials required to use Google BigQuery.
*
* @param string $serviceAccountKeyFile
*/
public function setServiceAccountKeyFile($serviceAccountKeyFile)
{
$this->serviceAccountKeyFile = $serviceAccountKeyFile;
}
/**
* @return string
*/
public function getServiceAccountKeyFile()
{
return $this->serviceAccountKeyFile;
}
/**
* Optional. The technology type.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateGoogleBigQueryConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateGoogleBigQueryConnectionProperties');
@@ -0,0 +1,72 @@
<?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\OracleDatabase;
class GoldengateGoogleCloudStorageConnectionProperties extends \Google\Model
{
/**
* Optional. The service account key Cloud Storage file containing the
* credentials required to use Google Cloud Storage.
*
* @var string
*/
public $serviceAccountKeyFile;
/**
* Optional. The technology type.
*
* @var string
*/
public $technologyType;
/**
* Optional. The service account key Cloud Storage file containing the
* credentials required to use Google Cloud Storage.
*
* @param string $serviceAccountKeyFile
*/
public function setServiceAccountKeyFile($serviceAccountKeyFile)
{
$this->serviceAccountKeyFile = $serviceAccountKeyFile;
}
/**
* @return string
*/
public function getServiceAccountKeyFile()
{
return $this->serviceAccountKeyFile;
}
/**
* Optional. The technology type.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateGoogleCloudStorageConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateGoogleCloudStorageConnectionProperties');
@@ -0,0 +1,72 @@
<?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\OracleDatabase;
class GoldengateGooglePubsubConnectionProperties extends \Google\Model
{
/**
* Optional. The content of the service account key file containing the
* credentials required to use Google Pub/Sub.
*
* @var string
*/
public $serviceAccountKeyFile;
/**
* Optional. The technology type of GooglePubsubConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. The content of the service account key file containing the
* credentials required to use Google Pub/Sub.
*
* @param string $serviceAccountKeyFile
*/
public function setServiceAccountKeyFile($serviceAccountKeyFile)
{
$this->serviceAccountKeyFile = $serviceAccountKeyFile;
}
/**
* @return string
*/
public function getServiceAccountKeyFile()
{
return $this->serviceAccountKeyFile;
}
/**
* Optional. The technology type of GooglePubsubConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateGooglePubsubConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateGooglePubsubConnectionProperties');
@@ -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\OracleDatabase;
class GoldengateGroupToRolesMapping extends \Google\Model
{
/**
* Output only. The administrator group id.
*
* @var string
*/
public $administratorGroupId;
/**
* Output only. The operator group id.
*
* @var string
*/
public $operatorGroupId;
/**
* Output only. The security group id.
*
* @var string
*/
public $securityGroupId;
/**
* Output only. The user group id.
*
* @var string
*/
public $userGroupId;
/**
* Output only. The administrator group id.
*
* @param string $administratorGroupId
*/
public function setAdministratorGroupId($administratorGroupId)
{
$this->administratorGroupId = $administratorGroupId;
}
/**
* @return string
*/
public function getAdministratorGroupId()
{
return $this->administratorGroupId;
}
/**
* Output only. The operator group id.
*
* @param string $operatorGroupId
*/
public function setOperatorGroupId($operatorGroupId)
{
$this->operatorGroupId = $operatorGroupId;
}
/**
* @return string
*/
public function getOperatorGroupId()
{
return $this->operatorGroupId;
}
/**
* Output only. The security group id.
*
* @param string $securityGroupId
*/
public function setSecurityGroupId($securityGroupId)
{
$this->securityGroupId = $securityGroupId;
}
/**
* @return string
*/
public function getSecurityGroupId()
{
return $this->securityGroupId;
}
/**
* Output only. The user group id.
*
* @param string $userGroupId
*/
public function setUserGroupId($userGroupId)
{
$this->userGroupId = $userGroupId;
}
/**
* @return string
*/
public function getUserGroupId()
{
return $this->userGroupId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateGroupToRolesMapping::class, 'Google_Service_OracleDatabase_GoldengateGroupToRolesMapping');
@@ -0,0 +1,72 @@
<?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\OracleDatabase;
class GoldengateHdfsConnectionProperties extends \Google\Model
{
/**
* Optional. The content of the Hadoop Distributed File System configuration
* file (core-site.xml).
*
* @var string
*/
public $coreSiteXml;
/**
* Optional. The technology type of HdfsConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. The content of the Hadoop Distributed File System configuration
* file (core-site.xml).
*
* @param string $coreSiteXml
*/
public function setCoreSiteXml($coreSiteXml)
{
$this->coreSiteXml = $coreSiteXml;
}
/**
* @return string
*/
public function getCoreSiteXml()
{
return $this->coreSiteXml;
}
/**
* Optional. The technology type of HdfsConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateHdfsConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateHdfsConnectionProperties');
@@ -0,0 +1,84 @@
<?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\OracleDatabase;
class GoldengateIcebergConnectionProperties extends \Google\Model
{
protected $catalogType = IcebergCatalog::class;
protected $catalogDataType = '';
protected $storageType = IcebergStorage::class;
protected $storageDataType = '';
/**
* Required. The technology type of Iceberg connection.
*
* @var string
*/
public $technologyType;
/**
* Required. The Iceberg catalog.
*
* @param IcebergCatalog $catalog
*/
public function setCatalog(IcebergCatalog $catalog)
{
$this->catalog = $catalog;
}
/**
* @return IcebergCatalog
*/
public function getCatalog()
{
return $this->catalog;
}
/**
* Required. The Iceberg storage.
*
* @param IcebergStorage $storage
*/
public function setStorage(IcebergStorage $storage)
{
$this->storage = $storage;
}
/**
* @return IcebergStorage
*/
public function getStorage()
{
return $this->storage;
}
/**
* Required. The technology type of Iceberg connection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateIcebergConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateIcebergConnectionProperties');
@@ -0,0 +1,580 @@
<?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\OracleDatabase;
class GoldengateJavaMessageServiceConnectionProperties extends \Google\Model
{
/**
* Authentication type not specified.
*/
public const AUTHENTICATION_TYPE_JMS_AUTHENTICATION_TYPE_UNSPECIFIED = 'JMS_AUTHENTICATION_TYPE_UNSPECIFIED';
/**
* No authentication.
*/
public const AUTHENTICATION_TYPE_NONE = 'NONE';
/**
* Basic authentication.
*/
public const AUTHENTICATION_TYPE_BASIC = 'BASIC';
/**
* Security protocol not specified.
*/
public const SECURITY_PROTOCOL_JMS_SECURITY_PROTOCOL_UNSPECIFIED = 'JMS_SECURITY_PROTOCOL_UNSPECIFIED';
/**
* Plain text communication.
*/
public const SECURITY_PROTOCOL_PLAIN = 'PLAIN';
/**
* Transport Layer Security.
*/
public const SECURITY_PROTOCOL_TLS = 'TLS';
/**
* Mutual Transport Layer Security.
*/
public const SECURITY_PROTOCOL_MTLS = 'MTLS';
/**
* Optional. Authentication type for Java Message Service.
*
* @var string
*/
public $authenticationType;
/**
* Optional. The Java class implementing javax.jms.ConnectionFactory interface
* supplied by the JMS provider.
*
* @var string
*/
public $connectionFactory;
/**
* Optional. Connection URL of the Java Message Service, specifying the
* protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676'
*
* @var string
*/
public $connectionUrl;
/**
* Optional. The Connection Factory can be looked up using this name. e.g.:
* 'ConnectionFactory'
*
* @var string
*/
public $jndiConnectionFactory;
/**
* Optional. The implementation of javax.naming.spi.InitialContextFactory
* interface used to obtain initial naming context.
*
* @var string
*/
public $jndiInitialContextFactory;
/**
* Optional. The URL that Java Message Service will use to contact the JNDI
* provider. e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000'
*
* @var string
*/
public $jndiProviderUrl;
/**
* Optional. The password associated to the principal.
*
* @var string
*/
public $jndiSecurityCredentialsSecret;
/**
* Optional. Specifies the identity of the principal (user) to be
* authenticated.
*
* @var string
*/
public $jndiSecurityPrincipal;
/**
* Optional. The content of the KeyStore file.
*
* @var string
*/
public $keyStoreFile;
/**
* Optional. Input only. The KeyStore password in plain text.
*
* @var string
*/
public $keyStorePassword;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the KeyStore password. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $keyStorePasswordSecretVersion;
/**
* Optional. Input only. The password Oracle Goldengate uses to connect the
* Java Message Service in plain text.
*
* @var string
*/
public $password;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses to connect the
* associated Java Message Service. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $passwordSecretVersion;
/**
* Optional. Security protocol for Java Message Service.
*
* @var string
*/
public $securityProtocol;
/**
* Optional. Input only. The password for the cert inside of the KeyStore in
* plain text.
*
* @var string
*/
public $sslKeyPassword;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password for the cert inside of the KeyStore.
* Format: projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $sslKeyPasswordSecretVersion;
/**
* Optional. The technology type of JavaMessageServiceConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. The content of the TrustStore file.
*
* @var string
*/
public $trustStoreFile;
/**
* Optional. Input only. The TrustStore password in plain text.
*
* @var string
*/
public $trustStorePassword;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the TrustStore password. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $trustStorePasswordSecretVersion;
/**
* Optional. If set to true, Java Naming and Directory Interface (JNDI)
* properties should be provided.
*
* @var bool
*/
public $useJndi;
/**
* Optional. The username Oracle Goldengate uses to connect to the Java
* Message Service.
*
* @var string
*/
public $username;
/**
* Optional. Authentication type for Java Message Service.
*
* Accepted values: JMS_AUTHENTICATION_TYPE_UNSPECIFIED, NONE, BASIC
*
* @param self::AUTHENTICATION_TYPE_* $authenticationType
*/
public function setAuthenticationType($authenticationType)
{
$this->authenticationType = $authenticationType;
}
/**
* @return self::AUTHENTICATION_TYPE_*
*/
public function getAuthenticationType()
{
return $this->authenticationType;
}
/**
* Optional. The Java class implementing javax.jms.ConnectionFactory interface
* supplied by the JMS provider.
*
* @param string $connectionFactory
*/
public function setConnectionFactory($connectionFactory)
{
$this->connectionFactory = $connectionFactory;
}
/**
* @return string
*/
public function getConnectionFactory()
{
return $this->connectionFactory;
}
/**
* Optional. Connection URL of the Java Message Service, specifying the
* protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676'
*
* @param string $connectionUrl
*/
public function setConnectionUrl($connectionUrl)
{
$this->connectionUrl = $connectionUrl;
}
/**
* @return string
*/
public function getConnectionUrl()
{
return $this->connectionUrl;
}
/**
* Optional. The Connection Factory can be looked up using this name. e.g.:
* 'ConnectionFactory'
*
* @param string $jndiConnectionFactory
*/
public function setJndiConnectionFactory($jndiConnectionFactory)
{
$this->jndiConnectionFactory = $jndiConnectionFactory;
}
/**
* @return string
*/
public function getJndiConnectionFactory()
{
return $this->jndiConnectionFactory;
}
/**
* Optional. The implementation of javax.naming.spi.InitialContextFactory
* interface used to obtain initial naming context.
*
* @param string $jndiInitialContextFactory
*/
public function setJndiInitialContextFactory($jndiInitialContextFactory)
{
$this->jndiInitialContextFactory = $jndiInitialContextFactory;
}
/**
* @return string
*/
public function getJndiInitialContextFactory()
{
return $this->jndiInitialContextFactory;
}
/**
* Optional. The URL that Java Message Service will use to contact the JNDI
* provider. e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000'
*
* @param string $jndiProviderUrl
*/
public function setJndiProviderUrl($jndiProviderUrl)
{
$this->jndiProviderUrl = $jndiProviderUrl;
}
/**
* @return string
*/
public function getJndiProviderUrl()
{
return $this->jndiProviderUrl;
}
/**
* Optional. The password associated to the principal.
*
* @param string $jndiSecurityCredentialsSecret
*/
public function setJndiSecurityCredentialsSecret($jndiSecurityCredentialsSecret)
{
$this->jndiSecurityCredentialsSecret = $jndiSecurityCredentialsSecret;
}
/**
* @return string
*/
public function getJndiSecurityCredentialsSecret()
{
return $this->jndiSecurityCredentialsSecret;
}
/**
* Optional. Specifies the identity of the principal (user) to be
* authenticated.
*
* @param string $jndiSecurityPrincipal
*/
public function setJndiSecurityPrincipal($jndiSecurityPrincipal)
{
$this->jndiSecurityPrincipal = $jndiSecurityPrincipal;
}
/**
* @return string
*/
public function getJndiSecurityPrincipal()
{
return $this->jndiSecurityPrincipal;
}
/**
* Optional. The content of the KeyStore file.
*
* @param string $keyStoreFile
*/
public function setKeyStoreFile($keyStoreFile)
{
$this->keyStoreFile = $keyStoreFile;
}
/**
* @return string
*/
public function getKeyStoreFile()
{
return $this->keyStoreFile;
}
/**
* Optional. Input only. The KeyStore password in plain text.
*
* @param string $keyStorePassword
*/
public function setKeyStorePassword($keyStorePassword)
{
$this->keyStorePassword = $keyStorePassword;
}
/**
* @return string
*/
public function getKeyStorePassword()
{
return $this->keyStorePassword;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the KeyStore password. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $keyStorePasswordSecretVersion
*/
public function setKeyStorePasswordSecretVersion($keyStorePasswordSecretVersion)
{
$this->keyStorePasswordSecretVersion = $keyStorePasswordSecretVersion;
}
/**
* @return string
*/
public function getKeyStorePasswordSecretVersion()
{
return $this->keyStorePasswordSecretVersion;
}
/**
* Optional. Input only. The password Oracle Goldengate uses to connect the
* Java Message Service in plain text.
*
* @param string $password
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses to connect the
* associated Java Message Service. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $passwordSecretVersion
*/
public function setPasswordSecretVersion($passwordSecretVersion)
{
$this->passwordSecretVersion = $passwordSecretVersion;
}
/**
* @return string
*/
public function getPasswordSecretVersion()
{
return $this->passwordSecretVersion;
}
/**
* Optional. Security protocol for Java Message Service.
*
* Accepted values: JMS_SECURITY_PROTOCOL_UNSPECIFIED, PLAIN, TLS, MTLS
*
* @param self::SECURITY_PROTOCOL_* $securityProtocol
*/
public function setSecurityProtocol($securityProtocol)
{
$this->securityProtocol = $securityProtocol;
}
/**
* @return self::SECURITY_PROTOCOL_*
*/
public function getSecurityProtocol()
{
return $this->securityProtocol;
}
/**
* Optional. Input only. The password for the cert inside of the KeyStore in
* plain text.
*
* @param string $sslKeyPassword
*/
public function setSslKeyPassword($sslKeyPassword)
{
$this->sslKeyPassword = $sslKeyPassword;
}
/**
* @return string
*/
public function getSslKeyPassword()
{
return $this->sslKeyPassword;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password for the cert inside of the KeyStore.
* Format: projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $sslKeyPasswordSecretVersion
*/
public function setSslKeyPasswordSecretVersion($sslKeyPasswordSecretVersion)
{
$this->sslKeyPasswordSecretVersion = $sslKeyPasswordSecretVersion;
}
/**
* @return string
*/
public function getSslKeyPasswordSecretVersion()
{
return $this->sslKeyPasswordSecretVersion;
}
/**
* Optional. The technology type of JavaMessageServiceConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
/**
* Optional. The content of the TrustStore file.
*
* @param string $trustStoreFile
*/
public function setTrustStoreFile($trustStoreFile)
{
$this->trustStoreFile = $trustStoreFile;
}
/**
* @return string
*/
public function getTrustStoreFile()
{
return $this->trustStoreFile;
}
/**
* Optional. Input only. The TrustStore password in plain text.
*
* @param string $trustStorePassword
*/
public function setTrustStorePassword($trustStorePassword)
{
$this->trustStorePassword = $trustStorePassword;
}
/**
* @return string
*/
public function getTrustStorePassword()
{
return $this->trustStorePassword;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the TrustStore password. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $trustStorePasswordSecretVersion
*/
public function setTrustStorePasswordSecretVersion($trustStorePasswordSecretVersion)
{
$this->trustStorePasswordSecretVersion = $trustStorePasswordSecretVersion;
}
/**
* @return string
*/
public function getTrustStorePasswordSecretVersion()
{
return $this->trustStorePasswordSecretVersion;
}
/**
* Optional. If set to true, Java Naming and Directory Interface (JNDI)
* properties should be provided.
*
* @param bool $useJndi
*/
public function setUseJndi($useJndi)
{
$this->useJndi = $useJndi;
}
/**
* @return bool
*/
public function getUseJndi()
{
return $this->useJndi;
}
/**
* Optional. The username Oracle Goldengate uses to connect to the Java
* Message Service.
*
* @param string $username
*/
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(GoldengateJavaMessageServiceConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateJavaMessageServiceConnectionProperties');
@@ -0,0 +1,491 @@
<?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\OracleDatabase;
class GoldengateKafkaConnectionProperties extends \Google\Collection
{
/**
* Security type not specified.
*/
public const SECURITY_PROTOCOL_KAFKA_SECURITY_PROTOCOL_UNSPECIFIED = 'KAFKA_SECURITY_PROTOCOL_UNSPECIFIED';
/**
* SSL security protocol.
*/
public const SECURITY_PROTOCOL_SSL = 'SSL';
/**
* SASL SSL security protocol.
*/
public const SECURITY_PROTOCOL_SASL_SSL = 'SASL_SSL';
/**
* Plaintext security protocol.
*/
public const SECURITY_PROTOCOL_PLAINTEXT = 'PLAINTEXT';
/**
* SASL Plaintext security protocol.
*/
public const SECURITY_PROTOCOL_SASL_PLAINTEXT = 'SASL_PLAINTEXT';
protected $collection_key = 'bootstrapServers';
protected $bootstrapServersType = KafkaBootstrapServer::class;
protected $bootstrapServersDataType = 'array';
/**
* Optional. The OCID of the Kafka cluster being referenced from OCI Streaming
* with Apache Kafka.
*
* @var string
*/
public $clusterId;
/**
* Optional. The content of the consumer.properties file.
*
* @var string
*/
public $consumerPropertiesFile;
/**
* Optional. The content of the KeyStore file.
*
* @var string
*/
public $keyStoreFile;
/**
* Optional. Input only. The KeyStore password in plain text.
*
* @var string
*/
public $keyStorePassword;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the KeyStore password. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $keyStorePasswordSecretVersion;
/**
* Optional. Input only. The password for Kafka basic/SASL auth in plain text.
*
* @var string
*/
public $password;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password for Kafka basic/SASL auth. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $passwordSecretVersion;
/**
* Optional. The content of the producer.properties file.
*
* @var string
*/
public $producerPropertiesFile;
/**
* Optional. Security Type for Kafka.
*
* @var string
*/
public $securityProtocol;
/**
* Optional. Input only. The password for the cert inside of the KeyStore in
* plain text.
*
* @var string
*/
public $sslKeyPassword;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password for the cert inside of the KeyStore.
* Format: projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $sslKeyPasswordSecretVersion;
/**
* Optional. The OCID of the stream pool being referenced.
*
* @var string
*/
public $streamPoolId;
/**
* Optional. The technology type of KafkaConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. The content of the TrustStore file.
*
* @var string
*/
public $trustStoreFile;
/**
* Optional. Input only. The TrustStore password in plain text.
*
* @var string
*/
public $trustStorePassword;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the TrustStore password. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $trustStorePasswordSecretVersion;
/**
* Optional. Specifies that the user intends to authenticate to the instance
* using a resource principal. Applicable only for OCI Streaming connections.
*
* @var bool
*/
public $useResourcePrincipal;
/**
* Optional. The username Oracle Goldengate uses to connect the associated
* system of the given technology.
*
* @var string
*/
public $username;
/**
* Optional. Kafka bootstrap. Equivalent of bootstrap.servers configuration
* property in Kafka: list of KafkaBootstrapServer objects specified by
* host/port. Used for establishing the initial connection to the Kafka
* cluster. Example: "server1.example.com:9092,server2.example.com:9092"
*
* @param KafkaBootstrapServer[] $bootstrapServers
*/
public function setBootstrapServers($bootstrapServers)
{
$this->bootstrapServers = $bootstrapServers;
}
/**
* @return KafkaBootstrapServer[]
*/
public function getBootstrapServers()
{
return $this->bootstrapServers;
}
/**
* Optional. The OCID of the Kafka cluster being referenced from OCI Streaming
* with Apache Kafka.
*
* @param string $clusterId
*/
public function setClusterId($clusterId)
{
$this->clusterId = $clusterId;
}
/**
* @return string
*/
public function getClusterId()
{
return $this->clusterId;
}
/**
* Optional. The content of the consumer.properties file.
*
* @param string $consumerPropertiesFile
*/
public function setConsumerPropertiesFile($consumerPropertiesFile)
{
$this->consumerPropertiesFile = $consumerPropertiesFile;
}
/**
* @return string
*/
public function getConsumerPropertiesFile()
{
return $this->consumerPropertiesFile;
}
/**
* Optional. The content of the KeyStore file.
*
* @param string $keyStoreFile
*/
public function setKeyStoreFile($keyStoreFile)
{
$this->keyStoreFile = $keyStoreFile;
}
/**
* @return string
*/
public function getKeyStoreFile()
{
return $this->keyStoreFile;
}
/**
* Optional. Input only. The KeyStore password in plain text.
*
* @param string $keyStorePassword
*/
public function setKeyStorePassword($keyStorePassword)
{
$this->keyStorePassword = $keyStorePassword;
}
/**
* @return string
*/
public function getKeyStorePassword()
{
return $this->keyStorePassword;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the KeyStore password. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $keyStorePasswordSecretVersion
*/
public function setKeyStorePasswordSecretVersion($keyStorePasswordSecretVersion)
{
$this->keyStorePasswordSecretVersion = $keyStorePasswordSecretVersion;
}
/**
* @return string
*/
public function getKeyStorePasswordSecretVersion()
{
return $this->keyStorePasswordSecretVersion;
}
/**
* Optional. Input only. The password for Kafka basic/SASL auth in plain text.
*
* @param string $password
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password for Kafka basic/SASL auth. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $passwordSecretVersion
*/
public function setPasswordSecretVersion($passwordSecretVersion)
{
$this->passwordSecretVersion = $passwordSecretVersion;
}
/**
* @return string
*/
public function getPasswordSecretVersion()
{
return $this->passwordSecretVersion;
}
/**
* Optional. The content of the producer.properties file.
*
* @param string $producerPropertiesFile
*/
public function setProducerPropertiesFile($producerPropertiesFile)
{
$this->producerPropertiesFile = $producerPropertiesFile;
}
/**
* @return string
*/
public function getProducerPropertiesFile()
{
return $this->producerPropertiesFile;
}
/**
* Optional. Security Type for Kafka.
*
* Accepted values: KAFKA_SECURITY_PROTOCOL_UNSPECIFIED, SSL, SASL_SSL,
* PLAINTEXT, SASL_PLAINTEXT
*
* @param self::SECURITY_PROTOCOL_* $securityProtocol
*/
public function setSecurityProtocol($securityProtocol)
{
$this->securityProtocol = $securityProtocol;
}
/**
* @return self::SECURITY_PROTOCOL_*
*/
public function getSecurityProtocol()
{
return $this->securityProtocol;
}
/**
* Optional. Input only. The password for the cert inside of the KeyStore in
* plain text.
*
* @param string $sslKeyPassword
*/
public function setSslKeyPassword($sslKeyPassword)
{
$this->sslKeyPassword = $sslKeyPassword;
}
/**
* @return string
*/
public function getSslKeyPassword()
{
return $this->sslKeyPassword;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password for the cert inside of the KeyStore.
* Format: projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $sslKeyPasswordSecretVersion
*/
public function setSslKeyPasswordSecretVersion($sslKeyPasswordSecretVersion)
{
$this->sslKeyPasswordSecretVersion = $sslKeyPasswordSecretVersion;
}
/**
* @return string
*/
public function getSslKeyPasswordSecretVersion()
{
return $this->sslKeyPasswordSecretVersion;
}
/**
* Optional. The OCID of the stream pool being referenced.
*
* @param string $streamPoolId
*/
public function setStreamPoolId($streamPoolId)
{
$this->streamPoolId = $streamPoolId;
}
/**
* @return string
*/
public function getStreamPoolId()
{
return $this->streamPoolId;
}
/**
* Optional. The technology type of KafkaConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
/**
* Optional. The content of the TrustStore file.
*
* @param string $trustStoreFile
*/
public function setTrustStoreFile($trustStoreFile)
{
$this->trustStoreFile = $trustStoreFile;
}
/**
* @return string
*/
public function getTrustStoreFile()
{
return $this->trustStoreFile;
}
/**
* Optional. Input only. The TrustStore password in plain text.
*
* @param string $trustStorePassword
*/
public function setTrustStorePassword($trustStorePassword)
{
$this->trustStorePassword = $trustStorePassword;
}
/**
* @return string
*/
public function getTrustStorePassword()
{
return $this->trustStorePassword;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the TrustStore password. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $trustStorePasswordSecretVersion
*/
public function setTrustStorePasswordSecretVersion($trustStorePasswordSecretVersion)
{
$this->trustStorePasswordSecretVersion = $trustStorePasswordSecretVersion;
}
/**
* @return string
*/
public function getTrustStorePasswordSecretVersion()
{
return $this->trustStorePasswordSecretVersion;
}
/**
* Optional. Specifies that the user intends to authenticate to the instance
* using a resource principal. Applicable only for OCI Streaming connections.
*
* @param bool $useResourcePrincipal
*/
public function setUseResourcePrincipal($useResourcePrincipal)
{
$this->useResourcePrincipal = $useResourcePrincipal;
}
/**
* @return bool
*/
public function getUseResourcePrincipal()
{
return $this->useResourcePrincipal;
}
/**
* Optional. The username Oracle Goldengate uses to connect the associated
* system of the given technology.
*
* @param string $username
*/
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(GoldengateKafkaConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateKafkaConnectionProperties');
@@ -0,0 +1,380 @@
<?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\OracleDatabase;
class GoldengateKafkaSchemaRegistryConnectionProperties extends \Google\Model
{
/**
* Authentication type not specified.
*/
public const AUTHENTICATION_TYPE_AUTHENTICATION_TYPE_UNSPECIFIED = 'AUTHENTICATION_TYPE_UNSPECIFIED';
/**
* No authentication.
*/
public const AUTHENTICATION_TYPE_NONE = 'NONE';
/**
* Basic authentication.
*/
public const AUTHENTICATION_TYPE_BASIC = 'BASIC';
/**
* Mutual authentication.
*/
public const AUTHENTICATION_TYPE_MUTUAL = 'MUTUAL';
/**
* Optional. Used authentication mechanism to access Schema Registry.
*
* @var string
*/
public $authenticationType;
/**
* Optional. The content of the KeyStore file.
*
* @var string
*/
public $keyStoreFile;
/**
* Optional. Input only. The KeyStore password in plain text.
*
* @var string
*/
public $keyStorePassword;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the KeyStore password. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $keyStorePasswordSecretVersion;
/**
* Optional. Input only. The password to access Schema Registry in plain text.
*
* @var string
*/
public $password;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password to access Schema Registry using basic
* authentication. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $passwordSecretVersion;
/**
* Optional. Input only. The password for the cert inside the KeyStore in
* plain text.
*
* @var string
*/
public $sslKeyPassword;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password for the cert inside the KeyStore.
* Format: projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $sslKeyPasswordSecretVersion;
/**
* Optional. The technology type of KafkaSchemaRegistryConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. The content of the TrustStore file.
*
* @var string
*/
public $trustStoreFile;
/**
* Optional. Input only. The TrustStore password in plain text.
*
* @var string
*/
public $trustStorePassword;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the TrustStore password. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $trustStorePasswordSecretVersion;
/**
* Optional. Kafka Schema Registry URL. e.g.:
* 'https://server1.us.oracle.com:8081'
*
* @var string
*/
public $url;
/**
* Optional. The username to access Schema Registry using basic
* authentication. This value is injected into
* 'schema.registry.basic.auth.user.info=user:password' configuration
* property.
*
* @var string
*/
public $username;
/**
* Optional. Used authentication mechanism to access Schema Registry.
*
* Accepted values: AUTHENTICATION_TYPE_UNSPECIFIED, NONE, BASIC, MUTUAL
*
* @param self::AUTHENTICATION_TYPE_* $authenticationType
*/
public function setAuthenticationType($authenticationType)
{
$this->authenticationType = $authenticationType;
}
/**
* @return self::AUTHENTICATION_TYPE_*
*/
public function getAuthenticationType()
{
return $this->authenticationType;
}
/**
* Optional. The content of the KeyStore file.
*
* @param string $keyStoreFile
*/
public function setKeyStoreFile($keyStoreFile)
{
$this->keyStoreFile = $keyStoreFile;
}
/**
* @return string
*/
public function getKeyStoreFile()
{
return $this->keyStoreFile;
}
/**
* Optional. Input only. The KeyStore password in plain text.
*
* @param string $keyStorePassword
*/
public function setKeyStorePassword($keyStorePassword)
{
$this->keyStorePassword = $keyStorePassword;
}
/**
* @return string
*/
public function getKeyStorePassword()
{
return $this->keyStorePassword;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the KeyStore password. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $keyStorePasswordSecretVersion
*/
public function setKeyStorePasswordSecretVersion($keyStorePasswordSecretVersion)
{
$this->keyStorePasswordSecretVersion = $keyStorePasswordSecretVersion;
}
/**
* @return string
*/
public function getKeyStorePasswordSecretVersion()
{
return $this->keyStorePasswordSecretVersion;
}
/**
* Optional. Input only. The password to access Schema Registry in plain text.
*
* @param string $password
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password to access Schema Registry using basic
* authentication. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $passwordSecretVersion
*/
public function setPasswordSecretVersion($passwordSecretVersion)
{
$this->passwordSecretVersion = $passwordSecretVersion;
}
/**
* @return string
*/
public function getPasswordSecretVersion()
{
return $this->passwordSecretVersion;
}
/**
* Optional. Input only. The password for the cert inside the KeyStore in
* plain text.
*
* @param string $sslKeyPassword
*/
public function setSslKeyPassword($sslKeyPassword)
{
$this->sslKeyPassword = $sslKeyPassword;
}
/**
* @return string
*/
public function getSslKeyPassword()
{
return $this->sslKeyPassword;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password for the cert inside the KeyStore.
* Format: projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $sslKeyPasswordSecretVersion
*/
public function setSslKeyPasswordSecretVersion($sslKeyPasswordSecretVersion)
{
$this->sslKeyPasswordSecretVersion = $sslKeyPasswordSecretVersion;
}
/**
* @return string
*/
public function getSslKeyPasswordSecretVersion()
{
return $this->sslKeyPasswordSecretVersion;
}
/**
* Optional. The technology type of KafkaSchemaRegistryConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
/**
* Optional. The content of the TrustStore file.
*
* @param string $trustStoreFile
*/
public function setTrustStoreFile($trustStoreFile)
{
$this->trustStoreFile = $trustStoreFile;
}
/**
* @return string
*/
public function getTrustStoreFile()
{
return $this->trustStoreFile;
}
/**
* Optional. Input only. The TrustStore password in plain text.
*
* @param string $trustStorePassword
*/
public function setTrustStorePassword($trustStorePassword)
{
$this->trustStorePassword = $trustStorePassword;
}
/**
* @return string
*/
public function getTrustStorePassword()
{
return $this->trustStorePassword;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the TrustStore password. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $trustStorePasswordSecretVersion
*/
public function setTrustStorePasswordSecretVersion($trustStorePasswordSecretVersion)
{
$this->trustStorePasswordSecretVersion = $trustStorePasswordSecretVersion;
}
/**
* @return string
*/
public function getTrustStorePasswordSecretVersion()
{
return $this->trustStorePasswordSecretVersion;
}
/**
* Optional. Kafka Schema Registry URL. e.g.:
* 'https://server1.us.oracle.com:8081'
*
* @param string $url
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
/**
* Optional. The username to access Schema Registry using basic
* authentication. This value is injected into
* 'schema.registry.basic.auth.user.info=user:password' configuration
* property.
*
* @param string $username
*/
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(GoldengateKafkaSchemaRegistryConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateKafkaSchemaRegistryConnectionProperties');
@@ -0,0 +1,162 @@
<?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\OracleDatabase;
class GoldengateMaintenanceConfig extends \Google\Model
{
/**
* Optional. Defines auto upgrade period for bundle releases. Manually
* configured period cannot be longer than service defined period for bundle
* releases. This period must be shorter or equal to major release upgrade
* period. Not passing this field during create will equate to using the
* service default.
*
* @var int
*/
public $bundleReleaseUpgradePeriodDays;
/**
* Optional. Defines auto upgrade period for interim releases. This period
* must be shorter or equal to bundle release upgrade period.
*
* @var int
*/
public $interimReleaseUpgradePeriodDays;
/**
* Optional. By default auto upgrade for interim releases are not enabled. If
* auto-upgrade is enabled for interim release, you have to specify
* interim_release_upgrade_period_days too.
*
* @var bool
*/
public $isInterimReleaseAutoUpgradeEnabled;
/**
* Optional. Defines auto upgrade period for major releases. Manually
* configured period cannot be longer than service defined period for major
* releases. Not passing this field during create will equate to using the
* service default.
*
* @var int
*/
public $majorReleaseUpgradePeriodDays;
/**
* Optional. Defines auto upgrade period for releases with security fix.
* Manually configured period cannot be longer than service defined period for
* security releases. Not passing this field during create will equate to
* using the service default.
*
* @var int
*/
public $securityPatchUpgradePeriodDays;
/**
* Optional. Defines auto upgrade period for bundle releases. Manually
* configured period cannot be longer than service defined period for bundle
* releases. This period must be shorter or equal to major release upgrade
* period. Not passing this field during create will equate to using the
* service default.
*
* @param int $bundleReleaseUpgradePeriodDays
*/
public function setBundleReleaseUpgradePeriodDays($bundleReleaseUpgradePeriodDays)
{
$this->bundleReleaseUpgradePeriodDays = $bundleReleaseUpgradePeriodDays;
}
/**
* @return int
*/
public function getBundleReleaseUpgradePeriodDays()
{
return $this->bundleReleaseUpgradePeriodDays;
}
/**
* Optional. Defines auto upgrade period for interim releases. This period
* must be shorter or equal to bundle release upgrade period.
*
* @param int $interimReleaseUpgradePeriodDays
*/
public function setInterimReleaseUpgradePeriodDays($interimReleaseUpgradePeriodDays)
{
$this->interimReleaseUpgradePeriodDays = $interimReleaseUpgradePeriodDays;
}
/**
* @return int
*/
public function getInterimReleaseUpgradePeriodDays()
{
return $this->interimReleaseUpgradePeriodDays;
}
/**
* Optional. By default auto upgrade for interim releases are not enabled. If
* auto-upgrade is enabled for interim release, you have to specify
* interim_release_upgrade_period_days too.
*
* @param bool $isInterimReleaseAutoUpgradeEnabled
*/
public function setIsInterimReleaseAutoUpgradeEnabled($isInterimReleaseAutoUpgradeEnabled)
{
$this->isInterimReleaseAutoUpgradeEnabled = $isInterimReleaseAutoUpgradeEnabled;
}
/**
* @return bool
*/
public function getIsInterimReleaseAutoUpgradeEnabled()
{
return $this->isInterimReleaseAutoUpgradeEnabled;
}
/**
* Optional. Defines auto upgrade period for major releases. Manually
* configured period cannot be longer than service defined period for major
* releases. Not passing this field during create will equate to using the
* service default.
*
* @param int $majorReleaseUpgradePeriodDays
*/
public function setMajorReleaseUpgradePeriodDays($majorReleaseUpgradePeriodDays)
{
$this->majorReleaseUpgradePeriodDays = $majorReleaseUpgradePeriodDays;
}
/**
* @return int
*/
public function getMajorReleaseUpgradePeriodDays()
{
return $this->majorReleaseUpgradePeriodDays;
}
/**
* Optional. Defines auto upgrade period for releases with security fix.
* Manually configured period cannot be longer than service defined period for
* security releases. Not passing this field during create will equate to
* using the service default.
*
* @param int $securityPatchUpgradePeriodDays
*/
public function setSecurityPatchUpgradePeriodDays($securityPatchUpgradePeriodDays)
{
$this->securityPatchUpgradePeriodDays = $securityPatchUpgradePeriodDays;
}
/**
* @return int
*/
public function getSecurityPatchUpgradePeriodDays()
{
return $this->securityPatchUpgradePeriodDays;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateMaintenanceConfig::class, 'Google_Service_OracleDatabase_GoldengateMaintenanceConfig');
@@ -0,0 +1,105 @@
<?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\OracleDatabase;
class GoldengateMaintenanceWindow extends \Google\Model
{
/**
* The day of the week is unspecified.
*/
public const DAY_DAY_OF_WEEK_UNSPECIFIED = 'DAY_OF_WEEK_UNSPECIFIED';
/**
* Monday
*/
public const DAY_MONDAY = 'MONDAY';
/**
* Tuesday
*/
public const DAY_TUESDAY = 'TUESDAY';
/**
* Wednesday
*/
public const DAY_WEDNESDAY = 'WEDNESDAY';
/**
* Thursday
*/
public const DAY_THURSDAY = 'THURSDAY';
/**
* Friday
*/
public const DAY_FRIDAY = 'FRIDAY';
/**
* Saturday
*/
public const DAY_SATURDAY = 'SATURDAY';
/**
* Sunday
*/
public const DAY_SUNDAY = 'SUNDAY';
/**
* Required. Days of the week.
*
* @var string
*/
public $day;
/**
* Required. Start hour for maintenance period. Hour is in UTC.
*
* @var int
*/
public $startHour;
/**
* Required. Days of the week.
*
* Accepted values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY,
* THURSDAY, FRIDAY, SATURDAY, SUNDAY
*
* @param self::DAY_* $day
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return self::DAY_*
*/
public function getDay()
{
return $this->day;
}
/**
* Required. Start hour for maintenance period. Hour is in UTC.
*
* @param int $startHour
*/
public function setStartHour($startHour)
{
$this->startHour = $startHour;
}
/**
* @return int
*/
public function getStartHour()
{
return $this->startHour;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateMaintenanceWindow::class, 'Google_Service_OracleDatabase_GoldengateMaintenanceWindow');
@@ -0,0 +1,138 @@
<?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\OracleDatabase;
class GoldengateMicrosoftFabricConnectionProperties extends \Google\Model
{
/**
* Optional. Azure client ID of the application.
*
* @var string
*/
public $clientId;
/**
* Optional. Client secret associated with the client id.
*
* @var string
*/
public $clientSecret;
/**
* Optional. Optional Microsoft Fabric service endpoint. Default value:
* https://onelake.dfs.fabric.microsoft.com
*
* @var string
*/
public $endpoint;
/**
* Optional. The technology type of MicrosoftFabricConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. Azure tenant ID of the application.
*
* @var string
*/
public $tenantId;
/**
* Optional. Azure client ID of the application.
*
* @param string $clientId
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* Optional. Client secret associated with the client id.
*
* @param string $clientSecret
*/
public function setClientSecret($clientSecret)
{
$this->clientSecret = $clientSecret;
}
/**
* @return string
*/
public function getClientSecret()
{
return $this->clientSecret;
}
/**
* Optional. Optional Microsoft Fabric service endpoint. Default value:
* https://onelake.dfs.fabric.microsoft.com
*
* @param string $endpoint
*/
public function setEndpoint($endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return string
*/
public function getEndpoint()
{
return $this->endpoint;
}
/**
* Optional. The technology type of MicrosoftFabricConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
/**
* Optional. Azure tenant ID of the application.
*
* @param string $tenantId
*/
public function setTenantId($tenantId)
{
$this->tenantId = $tenantId;
}
/**
* @return string
*/
public function getTenantId()
{
return $this->tenantId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateMicrosoftFabricConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateMicrosoftFabricConnectionProperties');
@@ -0,0 +1,295 @@
<?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\OracleDatabase;
class GoldengateMicrosoftSqlserverConnectionProperties extends \Google\Collection
{
/**
* Security type not specified.
*/
public const SECURITY_PROTOCOL_MICROSOFT_SQLSERVER_SECURITY_PROTOCOL_UNSPECIFIED = 'MICROSOFT_SQLSERVER_SECURITY_PROTOCOL_UNSPECIFIED';
/**
* Plain text communication.
*/
public const SECURITY_PROTOCOL_PLAIN = 'PLAIN';
/**
* Transport Layer Security.
*/
public const SECURITY_PROTOCOL_TLS = 'TLS';
protected $collection_key = 'additionalAttributes';
protected $additionalAttributesType = NameValuePair::class;
protected $additionalAttributesDataType = 'array';
/**
* Optional. The name of the database.
*
* @var string
*/
public $database;
/**
* Optional. The name or address of a host.
*
* @var string
*/
public $host;
/**
* Optional. Input only. The password Oracle Goldengate uses for Microsoft SQL
* Server connection in plain text.
*
* @var string
*/
public $password;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses for Microsoft
* SQL Server connection. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $passwordSecretVersion;
/**
* Optional. The port of an endpoint usually specified for a connection.
*
* @var int
*/
public $port;
/**
* Optional. Security Type for Microsoft SQL Server.
*
* @var string
*/
public $securityProtocol;
/**
* Optional. If set to true, the driver validates the certificate that is sent
* by the database server.
*
* @var bool
*/
public $serverCertificateValidationRequired;
/**
* Optional. Database Certificate - The content of a .pem or .crt file
* containing the server public key (for 1-way SSL).
*
* @var string
*/
public $sslCaFile;
/**
* Optional. The technology type of MicrosoftSqlserverConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. The username Oracle Goldengate uses to connect to the Microsoft
* SQL Server.
*
* @var string
*/
public $username;
/**
* Optional. An array of name-value pair attribute entries. Used as additional
* parameters in connection string.
*
* @param NameValuePair[] $additionalAttributes
*/
public function setAdditionalAttributes($additionalAttributes)
{
$this->additionalAttributes = $additionalAttributes;
}
/**
* @return NameValuePair[]
*/
public function getAdditionalAttributes()
{
return $this->additionalAttributes;
}
/**
* Optional. The name of the database.
*
* @param string $database
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* Optional. The name or address of a host.
*
* @param string $host
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* Optional. Input only. The password Oracle Goldengate uses for Microsoft SQL
* Server connection in plain text.
*
* @param string $password
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses for Microsoft
* SQL Server connection. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $passwordSecretVersion
*/
public function setPasswordSecretVersion($passwordSecretVersion)
{
$this->passwordSecretVersion = $passwordSecretVersion;
}
/**
* @return string
*/
public function getPasswordSecretVersion()
{
return $this->passwordSecretVersion;
}
/**
* Optional. The port of an endpoint usually specified for a connection.
*
* @param int $port
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* Optional. Security Type for Microsoft SQL Server.
*
* Accepted values: MICROSOFT_SQLSERVER_SECURITY_PROTOCOL_UNSPECIFIED, PLAIN,
* TLS
*
* @param self::SECURITY_PROTOCOL_* $securityProtocol
*/
public function setSecurityProtocol($securityProtocol)
{
$this->securityProtocol = $securityProtocol;
}
/**
* @return self::SECURITY_PROTOCOL_*
*/
public function getSecurityProtocol()
{
return $this->securityProtocol;
}
/**
* Optional. If set to true, the driver validates the certificate that is sent
* by the database server.
*
* @param bool $serverCertificateValidationRequired
*/
public function setServerCertificateValidationRequired($serverCertificateValidationRequired)
{
$this->serverCertificateValidationRequired = $serverCertificateValidationRequired;
}
/**
* @return bool
*/
public function getServerCertificateValidationRequired()
{
return $this->serverCertificateValidationRequired;
}
/**
* Optional. Database Certificate - The content of a .pem or .crt file
* containing the server public key (for 1-way SSL).
*
* @param string $sslCaFile
*/
public function setSslCaFile($sslCaFile)
{
$this->sslCaFile = $sslCaFile;
}
/**
* @return string
*/
public function getSslCaFile()
{
return $this->sslCaFile;
}
/**
* Optional. The technology type of MicrosoftSqlserverConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
/**
* Optional. The username Oracle Goldengate uses to connect to the Microsoft
* SQL Server.
*
* @param string $username
*/
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(GoldengateMicrosoftSqlserverConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateMicrosoftSqlserverConnectionProperties');
@@ -0,0 +1,306 @@
<?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\OracleDatabase;
class GoldengateMongodbConnectionProperties extends \Google\Model
{
/**
* Security type not specified.
*/
public const SECURITY_PROTOCOL_MONGODB_SECURITY_PROTOCOL_UNSPECIFIED = 'MONGODB_SECURITY_PROTOCOL_UNSPECIFIED';
/**
* Plain text communication.
*/
public const SECURITY_PROTOCOL_PLAIN = 'PLAIN';
/**
* Transport Layer Security.
*/
public const SECURITY_PROTOCOL_TLS = 'TLS';
/**
* Mutual Transport Layer Security.
*/
public const SECURITY_PROTOCOL_MTLS = 'MTLS';
/**
* Optional. MongoDB connection string. e.g.:
* 'mongodb://mongodb0.example.com:27017/recordsrecords'
*
* @var string
*/
public $connectionString;
/**
* Optional. The OCID of the Oracle Autonomous Json Database.
*
* @var string
*/
public $databaseId;
/**
* Optional. Input only. The password Oracle Goldengate uses to connect the
* Mongodb connection in plain text.
*
* @var string
*/
public $password;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses to connect the
* Mongodb connection. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $passwordSecretVersion;
/**
* Optional. Security Type for MongoDB.
*
* @var string
*/
public $securityProtocol;
/**
* Optional. The technology type of MongodbConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. Database Certificate - The content of a .pem file, containing the
* server public key (for 1 and 2-way SSL).
*
* @var string
*/
public $tlsCaFile;
/**
* Optional. Client Certificate - The content of a .pem file, containing the
* client public key (for 2-way SSL).
*
* @var string
*/
public $tlsCertificateKeyFile;
/**
* Optional. Input only. The Client Certificate key file password in plain
* text.
*
* @var string
*/
public $tlsCertificateKeyFilePassword;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the Client Certificate key file password in Secret
* Manager. Format: projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $tlsCertificateKeyFilePasswordSecretVersion;
/**
* Optional. The username Oracle Goldengate uses to connect to the database.
*
* @var string
*/
public $username;
/**
* Optional. MongoDB connection string. e.g.:
* 'mongodb://mongodb0.example.com:27017/recordsrecords'
*
* @param string $connectionString
*/
public function setConnectionString($connectionString)
{
$this->connectionString = $connectionString;
}
/**
* @return string
*/
public function getConnectionString()
{
return $this->connectionString;
}
/**
* Optional. The OCID of the Oracle Autonomous Json Database.
*
* @param string $databaseId
*/
public function setDatabaseId($databaseId)
{
$this->databaseId = $databaseId;
}
/**
* @return string
*/
public function getDatabaseId()
{
return $this->databaseId;
}
/**
* Optional. Input only. The password Oracle Goldengate uses to connect the
* Mongodb connection in plain text.
*
* @param string $password
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses to connect the
* Mongodb connection. Format:
* projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $passwordSecretVersion
*/
public function setPasswordSecretVersion($passwordSecretVersion)
{
$this->passwordSecretVersion = $passwordSecretVersion;
}
/**
* @return string
*/
public function getPasswordSecretVersion()
{
return $this->passwordSecretVersion;
}
/**
* Optional. Security Type for MongoDB.
*
* Accepted values: MONGODB_SECURITY_PROTOCOL_UNSPECIFIED, PLAIN, TLS, MTLS
*
* @param self::SECURITY_PROTOCOL_* $securityProtocol
*/
public function setSecurityProtocol($securityProtocol)
{
$this->securityProtocol = $securityProtocol;
}
/**
* @return self::SECURITY_PROTOCOL_*
*/
public function getSecurityProtocol()
{
return $this->securityProtocol;
}
/**
* Optional. The technology type of MongodbConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
/**
* Optional. Database Certificate - The content of a .pem file, containing the
* server public key (for 1 and 2-way SSL).
*
* @param string $tlsCaFile
*/
public function setTlsCaFile($tlsCaFile)
{
$this->tlsCaFile = $tlsCaFile;
}
/**
* @return string
*/
public function getTlsCaFile()
{
return $this->tlsCaFile;
}
/**
* Optional. Client Certificate - The content of a .pem file, containing the
* client public key (for 2-way SSL).
*
* @param string $tlsCertificateKeyFile
*/
public function setTlsCertificateKeyFile($tlsCertificateKeyFile)
{
$this->tlsCertificateKeyFile = $tlsCertificateKeyFile;
}
/**
* @return string
*/
public function getTlsCertificateKeyFile()
{
return $this->tlsCertificateKeyFile;
}
/**
* Optional. Input only. The Client Certificate key file password in plain
* text.
*
* @param string $tlsCertificateKeyFilePassword
*/
public function setTlsCertificateKeyFilePassword($tlsCertificateKeyFilePassword)
{
$this->tlsCertificateKeyFilePassword = $tlsCertificateKeyFilePassword;
}
/**
* @return string
*/
public function getTlsCertificateKeyFilePassword()
{
return $this->tlsCertificateKeyFilePassword;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the Client Certificate key file password in Secret
* Manager. Format: projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $tlsCertificateKeyFilePasswordSecretVersion
*/
public function setTlsCertificateKeyFilePasswordSecretVersion($tlsCertificateKeyFilePasswordSecretVersion)
{
$this->tlsCertificateKeyFilePasswordSecretVersion = $tlsCertificateKeyFilePasswordSecretVersion;
}
/**
* @return string
*/
public function getTlsCertificateKeyFilePasswordSecretVersion()
{
return $this->tlsCertificateKeyFilePasswordSecretVersion;
}
/**
* Optional. The username Oracle Goldengate uses to connect to the database.
*
* @param string $username
*/
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(GoldengateMongodbConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateMongodbConnectionProperties');
@@ -0,0 +1,415 @@
<?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\OracleDatabase;
class GoldengateMysqlConnectionProperties extends \Google\Collection
{
/**
* Security type not specified.
*/
public const SECURITY_PROTOCOL_MYSQL_SECURITY_PROTOCOL_UNSPECIFIED = 'MYSQL_SECURITY_PROTOCOL_UNSPECIFIED';
/**
* Plain text communication.
*/
public const SECURITY_PROTOCOL_PLAIN = 'PLAIN';
/**
* Transport Layer Security.
*/
public const SECURITY_PROTOCOL_TLS = 'TLS';
/**
* Mutual Transport Layer Security.
*/
public const SECURITY_PROTOCOL_MTLS = 'MTLS';
/**
* SSL mode not specified.
*/
public const SSL_MODE_SSL_MODE_UNSPECIFIED = 'SSL_MODE_UNSPECIFIED';
/**
* SSL is disabled.
*/
public const SSL_MODE_DISABLED = 'DISABLED';
/**
* SSL is preferred.
*/
public const SSL_MODE_PREFERRED = 'PREFERRED';
/**
* SSL is required.
*/
public const SSL_MODE_REQUIRED = 'REQUIRED';
/**
* SSL is required and certificate is verified.
*/
public const SSL_MODE_VERIFY_CA = 'VERIFY_CA';
/**
* SSL is required and certificate and hostname are verified.
*/
public const SSL_MODE_VERIFY_IDENTITY = 'VERIFY_IDENTITY';
protected $collection_key = 'additionalAttributes';
protected $additionalAttributesType = NameValuePair::class;
protected $additionalAttributesDataType = 'array';
/**
* Optional. The name of the database.
*
* @var string
*/
public $database;
/**
* Optional. The OCID of the database system being referenced.
*
* @var string
*/
public $dbSystemId;
/**
* Optional. The name or address of a host.
*
* @var string
*/
public $host;
/**
* Optional. Input only. The password Oracle Goldengate uses to connect to
* MySQL in plain text.
*
* @var string
*/
public $password;
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses to connect to
* MySQL. Format: projects/{project}/secrets/{secret}/versions/{version}.
*
* @var string
*/
public $passwordSecretVersion;
/**
* Optional. The port of an endpoint usually specified for a connection.
*
* @var int
*/
public $port;
/**
* Optional. Security Type for MySQL.
*
* @var string
*/
public $securityProtocol;
/**
* Optional. Database Certificate - The content of a .pem or .crt file
* containing the server public key (for 1 and 2-way SSL).
*
* @var string
*/
public $sslCaFile;
/**
* Optional. Client Certificate - The content of a .pem or .crt file
* containing the client public key (for 2-way SSL).
*
* @var string
*/
public $sslCertFile;
/**
* Optional. The list of certificates revoked by the trusted certificate
* authorities (Trusted CA).
*
* @var string
*/
public $sslCrlFile;
/**
* Optional. Client Key - The content of a .pem or .crt file containing the
* client private key (for 2-way SSL).
*
* @var string
*/
public $sslKeyFile;
/**
* Optional. SSL modes for MySQL.
*
* @var string
*/
public $sslMode;
/**
* Optional. The technology type of MysqlConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. The username Oracle Goldengate uses to connect the associated
* system of the given technology.
*
* @var string
*/
public $username;
/**
* Optional. An array of name-value pair attribute entries. Used as additional
* parameters in connection string.
*
* @param NameValuePair[] $additionalAttributes
*/
public function setAdditionalAttributes($additionalAttributes)
{
$this->additionalAttributes = $additionalAttributes;
}
/**
* @return NameValuePair[]
*/
public function getAdditionalAttributes()
{
return $this->additionalAttributes;
}
/**
* Optional. The name of the database.
*
* @param string $database
*/
public function setDatabase($database)
{
$this->database = $database;
}
/**
* @return string
*/
public function getDatabase()
{
return $this->database;
}
/**
* Optional. The OCID of the database system being referenced.
*
* @param string $dbSystemId
*/
public function setDbSystemId($dbSystemId)
{
$this->dbSystemId = $dbSystemId;
}
/**
* @return string
*/
public function getDbSystemId()
{
return $this->dbSystemId;
}
/**
* Optional. The name or address of a host.
*
* @param string $host
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* Optional. Input only. The password Oracle Goldengate uses to connect to
* MySQL in plain text.
*
* @param string $password
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* Optional. Input only. The resource name of a secret version in Secret
* Manager which contains the password Oracle Goldengate uses to connect to
* MySQL. Format: projects/{project}/secrets/{secret}/versions/{version}.
*
* @param string $passwordSecretVersion
*/
public function setPasswordSecretVersion($passwordSecretVersion)
{
$this->passwordSecretVersion = $passwordSecretVersion;
}
/**
* @return string
*/
public function getPasswordSecretVersion()
{
return $this->passwordSecretVersion;
}
/**
* Optional. The port of an endpoint usually specified for a connection.
*
* @param int $port
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* Optional. Security Type for MySQL.
*
* Accepted values: MYSQL_SECURITY_PROTOCOL_UNSPECIFIED, PLAIN, TLS, MTLS
*
* @param self::SECURITY_PROTOCOL_* $securityProtocol
*/
public function setSecurityProtocol($securityProtocol)
{
$this->securityProtocol = $securityProtocol;
}
/**
* @return self::SECURITY_PROTOCOL_*
*/
public function getSecurityProtocol()
{
return $this->securityProtocol;
}
/**
* Optional. Database Certificate - The content of a .pem or .crt file
* containing the server public key (for 1 and 2-way SSL).
*
* @param string $sslCaFile
*/
public function setSslCaFile($sslCaFile)
{
$this->sslCaFile = $sslCaFile;
}
/**
* @return string
*/
public function getSslCaFile()
{
return $this->sslCaFile;
}
/**
* Optional. Client Certificate - The content of a .pem or .crt file
* containing the client public key (for 2-way SSL).
*
* @param string $sslCertFile
*/
public function setSslCertFile($sslCertFile)
{
$this->sslCertFile = $sslCertFile;
}
/**
* @return string
*/
public function getSslCertFile()
{
return $this->sslCertFile;
}
/**
* Optional. The list of certificates revoked by the trusted certificate
* authorities (Trusted CA).
*
* @param string $sslCrlFile
*/
public function setSslCrlFile($sslCrlFile)
{
$this->sslCrlFile = $sslCrlFile;
}
/**
* @return string
*/
public function getSslCrlFile()
{
return $this->sslCrlFile;
}
/**
* Optional. Client Key - The content of a .pem or .crt file containing the
* client private key (for 2-way SSL).
*
* @param string $sslKeyFile
*/
public function setSslKeyFile($sslKeyFile)
{
$this->sslKeyFile = $sslKeyFile;
}
/**
* @return string
*/
public function getSslKeyFile()
{
return $this->sslKeyFile;
}
/**
* Optional. SSL modes for MySQL.
*
* Accepted values: SSL_MODE_UNSPECIFIED, DISABLED, PREFERRED, REQUIRED,
* VERIFY_CA, VERIFY_IDENTITY
*
* @param self::SSL_MODE_* $sslMode
*/
public function setSslMode($sslMode)
{
$this->sslMode = $sslMode;
}
/**
* @return self::SSL_MODE_*
*/
public function getSslMode()
{
return $this->sslMode;
}
/**
* Optional. The technology type of MysqlConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
/**
* Optional. The username Oracle Goldengate uses to connect the associated
* system of the given technology.
*
* @param string $username
*/
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(GoldengateMysqlConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateMysqlConnectionProperties');
@@ -0,0 +1,212 @@
<?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\OracleDatabase;
class GoldengateOciObjectStorageConnectionProperties extends \Google\Model
{
/**
* Optional. The content of the private key file (PEM file) corresponding to
* the API key of the fingerprint.
*
* @var string
*/
public $privateKeyFile;
/**
* Optional. The passphrase of the private key.
*
* @var string
*/
public $privateKeyPassphraseSecret;
/**
* Optional. The fingerprint of the API Key of the user specified by the
* userId.
*
* @var string
*/
public $publicKeyFingerprint;
/**
* Optional. The name of the region of OCI Object Storage. e.g.: us-ashburn-1
* If the region is not provided, backend will default to the default region.
*
* @var string
*/
public $region;
/**
* Optional. The technology type of OciObjectStorageConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. The OCID of the related OCI tenancy.
*
* @var string
*/
public $tenancyId;
/**
* Optional. Specifies that the user intends to authenticate to the instance
* using a resource principal.
*
* @var bool
*/
public $useResourcePrincipal;
/**
* Optional. The OCID of the OCI user who will access the Object Storage. The
* user must have write access to the bucket they want to connect to.
*
* @var string
*/
public $userId;
/**
* Optional. The content of the private key file (PEM file) corresponding to
* the API key of the fingerprint.
*
* @param string $privateKeyFile
*/
public function setPrivateKeyFile($privateKeyFile)
{
$this->privateKeyFile = $privateKeyFile;
}
/**
* @return string
*/
public function getPrivateKeyFile()
{
return $this->privateKeyFile;
}
/**
* Optional. The passphrase of the private key.
*
* @param string $privateKeyPassphraseSecret
*/
public function setPrivateKeyPassphraseSecret($privateKeyPassphraseSecret)
{
$this->privateKeyPassphraseSecret = $privateKeyPassphraseSecret;
}
/**
* @return string
*/
public function getPrivateKeyPassphraseSecret()
{
return $this->privateKeyPassphraseSecret;
}
/**
* Optional. The fingerprint of the API Key of the user specified by the
* userId.
*
* @param string $publicKeyFingerprint
*/
public function setPublicKeyFingerprint($publicKeyFingerprint)
{
$this->publicKeyFingerprint = $publicKeyFingerprint;
}
/**
* @return string
*/
public function getPublicKeyFingerprint()
{
return $this->publicKeyFingerprint;
}
/**
* Optional. The name of the region of OCI Object Storage. e.g.: us-ashburn-1
* If the region is not provided, backend will default to the default region.
*
* @param string $region
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* Optional. The technology type of OciObjectStorageConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
/**
* Optional. The OCID of the related OCI tenancy.
*
* @param string $tenancyId
*/
public function setTenancyId($tenancyId)
{
$this->tenancyId = $tenancyId;
}
/**
* @return string
*/
public function getTenancyId()
{
return $this->tenancyId;
}
/**
* Optional. Specifies that the user intends to authenticate to the instance
* using a resource principal.
*
* @param bool $useResourcePrincipal
*/
public function setUseResourcePrincipal($useResourcePrincipal)
{
$this->useResourcePrincipal = $useResourcePrincipal;
}
/**
* @return bool
*/
public function getUseResourcePrincipal()
{
return $this->useResourcePrincipal;
}
/**
* Optional. The OCID of the OCI user who will access the Object Storage. The
* user must have write access to the bucket they want to connect to.
*
* @param string $userId
*/
public function setUserId($userId)
{
$this->userId = $userId;
}
/**
* @return string
*/
public function getUserId()
{
return $this->userId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateOciObjectStorageConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateOciObjectStorageConnectionProperties');
@@ -0,0 +1,262 @@
<?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\OracleDatabase;
class GoldengateOggDeployment extends \Google\Model
{
/**
* The credential store is unspecified.
*/
public const CREDENTIAL_STORE_CREDENTIAL_STORE_UNSPECIFIED = 'CREDENTIAL_STORE_UNSPECIFIED';
/**
* The credential store is Goldengate.
*/
public const CREDENTIAL_STORE_GOLDENGATE = 'GOLDENGATE';
/**
* The credential store is IAM.
*/
public const CREDENTIAL_STORE_IAM = 'IAM';
/**
* Optional. The Goldengate deployment console password in plain text.
*
* @var string
*/
public $adminPassword;
/**
* Optional. Input only. The Goldengate deployment console password secret
* version.
*
* @var string
*/
public $adminPasswordSecretVersion;
/**
* Required. The Goldengate deployment console username.
*
* @var string
*/
public $adminUsername;
/**
* Output only. The certificate of the GoldengateDeployment.
*
* @var string
*/
public $certificate;
/**
* Output only. The credential store of the GoldengateDeployment.
*
* @var string
*/
public $credentialStore;
/**
* Required. The name given to the Goldengate service deployment. The name
* must be 1 to 32 characters long, must contain only alphanumeric characters
* and must start with a letter.
*
* @var string
*/
public $deployment;
protected $groupRolesMappingType = GoldengateGroupToRolesMapping::class;
protected $groupRolesMappingDataType = '';
/**
* Output only. The identity domain id of the GoldengateDeployment.
*
* @var string
*/
public $identityDomainId;
/**
* Optional. Version of OGG
*
* @var string
*/
public $oggVersion;
/**
* Output only. The password secret id of the GoldengateDeployment.
*
* @var string
*/
public $passwordSecretId;
/**
* Optional. The Goldengate deployment console password in plain text.
*
* @param string $adminPassword
*/
public function setAdminPassword($adminPassword)
{
$this->adminPassword = $adminPassword;
}
/**
* @return string
*/
public function getAdminPassword()
{
return $this->adminPassword;
}
/**
* Optional. Input only. The Goldengate deployment console password secret
* version.
*
* @param string $adminPasswordSecretVersion
*/
public function setAdminPasswordSecretVersion($adminPasswordSecretVersion)
{
$this->adminPasswordSecretVersion = $adminPasswordSecretVersion;
}
/**
* @return string
*/
public function getAdminPasswordSecretVersion()
{
return $this->adminPasswordSecretVersion;
}
/**
* Required. The Goldengate deployment console username.
*
* @param string $adminUsername
*/
public function setAdminUsername($adminUsername)
{
$this->adminUsername = $adminUsername;
}
/**
* @return string
*/
public function getAdminUsername()
{
return $this->adminUsername;
}
/**
* Output only. The certificate of the GoldengateDeployment.
*
* @param string $certificate
*/
public function setCertificate($certificate)
{
$this->certificate = $certificate;
}
/**
* @return string
*/
public function getCertificate()
{
return $this->certificate;
}
/**
* Output only. The credential store of the GoldengateDeployment.
*
* Accepted values: CREDENTIAL_STORE_UNSPECIFIED, GOLDENGATE, IAM
*
* @param self::CREDENTIAL_STORE_* $credentialStore
*/
public function setCredentialStore($credentialStore)
{
$this->credentialStore = $credentialStore;
}
/**
* @return self::CREDENTIAL_STORE_*
*/
public function getCredentialStore()
{
return $this->credentialStore;
}
/**
* Required. The name given to the Goldengate service deployment. The name
* must be 1 to 32 characters long, must contain only alphanumeric characters
* and must start with a letter.
*
* @param string $deployment
*/
public function setDeployment($deployment)
{
$this->deployment = $deployment;
}
/**
* @return string
*/
public function getDeployment()
{
return $this->deployment;
}
/**
* Output only. The group to roles mapping of the GoldengateDeployment.
*
* @param GoldengateGroupToRolesMapping $groupRolesMapping
*/
public function setGroupRolesMapping(GoldengateGroupToRolesMapping $groupRolesMapping)
{
$this->groupRolesMapping = $groupRolesMapping;
}
/**
* @return GoldengateGroupToRolesMapping
*/
public function getGroupRolesMapping()
{
return $this->groupRolesMapping;
}
/**
* Output only. The identity domain id of the GoldengateDeployment.
*
* @param string $identityDomainId
*/
public function setIdentityDomainId($identityDomainId)
{
$this->identityDomainId = $identityDomainId;
}
/**
* @return string
*/
public function getIdentityDomainId()
{
return $this->identityDomainId;
}
/**
* Optional. Version of OGG
*
* @param string $oggVersion
*/
public function setOggVersion($oggVersion)
{
$this->oggVersion = $oggVersion;
}
/**
* @return string
*/
public function getOggVersion()
{
return $this->oggVersion;
}
/**
* Output only. The password secret id of the GoldengateDeployment.
*
* @param string $passwordSecretId
*/
public function setPasswordSecretId($passwordSecretId)
{
$this->passwordSecretId = $passwordSecretId;
}
/**
* @return string
*/
public function getPasswordSecretId()
{
return $this->passwordSecretId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateOggDeployment::class, 'Google_Service_OracleDatabase_GoldengateOggDeployment');
@@ -0,0 +1,230 @@
<?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\OracleDatabase;
class GoldengateOracleAIDataPlatformConnectionProperties extends \Google\Model
{
/**
* Optional. Connection URL. It must start with 'jdbc:spark://'
*
* @var string
*/
public $connectionUrl;
/**
* Optional. The content of the private key file (PEM file) corresponding to
* the API key of the fingerprint.
*
* @var string
*/
public $privateKeyFile;
/**
* Optional. The passphrase of the private key.
*
* @var string
*/
public $privateKeyPassphraseSecret;
/**
* Optional. The fingerprint of the API Key of the user specified by the
* user_id.
*
* @var string
*/
public $publicKeyFingerprint;
/**
* Optional. The name of the region. e.g.: us-ashburn-1
*
* @var string
*/
public $region;
/**
* Optional. The technology type of OracleAiDataPlatformConnection.
*
* @var string
*/
public $technologyType;
/**
* Optional. The OCID of the related OCI tenancy.
*
* @var string
*/
public $tenancyId;
/**
* Optional. Specifies that the user intends to authenticate to the instance
* using a resource principal.
*
* @var bool
*/
public $useResourcePrincipal;
/**
* Optional. The OCID of the OCI user who will access.
*
* @var string
*/
public $userId;
/**
* Optional. Connection URL. It must start with 'jdbc:spark://'
*
* @param string $connectionUrl
*/
public function setConnectionUrl($connectionUrl)
{
$this->connectionUrl = $connectionUrl;
}
/**
* @return string
*/
public function getConnectionUrl()
{
return $this->connectionUrl;
}
/**
* Optional. The content of the private key file (PEM file) corresponding to
* the API key of the fingerprint.
*
* @param string $privateKeyFile
*/
public function setPrivateKeyFile($privateKeyFile)
{
$this->privateKeyFile = $privateKeyFile;
}
/**
* @return string
*/
public function getPrivateKeyFile()
{
return $this->privateKeyFile;
}
/**
* Optional. The passphrase of the private key.
*
* @param string $privateKeyPassphraseSecret
*/
public function setPrivateKeyPassphraseSecret($privateKeyPassphraseSecret)
{
$this->privateKeyPassphraseSecret = $privateKeyPassphraseSecret;
}
/**
* @return string
*/
public function getPrivateKeyPassphraseSecret()
{
return $this->privateKeyPassphraseSecret;
}
/**
* Optional. The fingerprint of the API Key of the user specified by the
* user_id.
*
* @param string $publicKeyFingerprint
*/
public function setPublicKeyFingerprint($publicKeyFingerprint)
{
$this->publicKeyFingerprint = $publicKeyFingerprint;
}
/**
* @return string
*/
public function getPublicKeyFingerprint()
{
return $this->publicKeyFingerprint;
}
/**
* Optional. The name of the region. e.g.: us-ashburn-1
*
* @param string $region
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* Optional. The technology type of OracleAiDataPlatformConnection.
*
* @param string $technologyType
*/
public function setTechnologyType($technologyType)
{
$this->technologyType = $technologyType;
}
/**
* @return string
*/
public function getTechnologyType()
{
return $this->technologyType;
}
/**
* Optional. The OCID of the related OCI tenancy.
*
* @param string $tenancyId
*/
public function setTenancyId($tenancyId)
{
$this->tenancyId = $tenancyId;
}
/**
* @return string
*/
public function getTenancyId()
{
return $this->tenancyId;
}
/**
* Optional. Specifies that the user intends to authenticate to the instance
* using a resource principal.
*
* @param bool $useResourcePrincipal
*/
public function setUseResourcePrincipal($useResourcePrincipal)
{
$this->useResourcePrincipal = $useResourcePrincipal;
}
/**
* @return bool
*/
public function getUseResourcePrincipal()
{
return $this->useResourcePrincipal;
}
/**
* Optional. The OCID of the OCI user who will access.
*
* @param string $userId
*/
public function setUserId($userId)
{
$this->userId = $userId;
}
/**
* @return string
*/
public function getUserId()
{
return $this->userId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoldengateOracleAIDataPlatformConnectionProperties::class, 'Google_Service_OracleDatabase_GoldengateOracleAIDataPlatformConnectionProperties');

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