diff --git a/SqlAdmin/metadata/V1/CloudSqlInstances.php b/SqlAdmin/metadata/V1/CloudSqlInstances.php
index cd33ba979b73..a4d17c35d2de 100644
Binary files a/SqlAdmin/metadata/V1/CloudSqlInstances.php and b/SqlAdmin/metadata/V1/CloudSqlInstances.php differ
diff --git a/SqlAdmin/metadata/V1/CloudSqlResources.php b/SqlAdmin/metadata/V1/CloudSqlResources.php
index 4e6006f63157..fd0a2267dd46 100644
Binary files a/SqlAdmin/metadata/V1/CloudSqlResources.php and b/SqlAdmin/metadata/V1/CloudSqlResources.php differ
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/acquire_ssrs_lease.php b/SqlAdmin/samples/V1/SqlInstancesServiceClient/acquire_ssrs_lease.php
similarity index 100%
rename from owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/acquire_ssrs_lease.php
rename to SqlAdmin/samples/V1/SqlInstancesServiceClient/acquire_ssrs_lease.php
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/release_ssrs_lease.php b/SqlAdmin/samples/V1/SqlInstancesServiceClient/release_ssrs_lease.php
similarity index 100%
rename from owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/release_ssrs_lease.php
rename to SqlAdmin/samples/V1/SqlInstancesServiceClient/release_ssrs_lease.php
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/AcquireSsrsLeaseContext.php b/SqlAdmin/src/V1/AcquireSsrsLeaseContext.php
similarity index 97%
rename from owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/AcquireSsrsLeaseContext.php
rename to SqlAdmin/src/V1/AcquireSsrsLeaseContext.php
index 429f1de7dc04..9838cf0fc437 100644
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/AcquireSsrsLeaseContext.php
+++ b/SqlAdmin/src/V1/AcquireSsrsLeaseContext.php
@@ -21,26 +21,26 @@ class AcquireSsrsLeaseContext extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field optional string setup_login = 1;
*/
- protected $setup_login = null;
+ private $setup_login = null;
/**
* The username to be used as the service login to connect to the report
* database for SSRS setup.
*
* Generated from protobuf field optional string service_login = 2;
*/
- protected $service_login = null;
+ private $service_login = null;
/**
* The report database to be used for SSRS setup.
*
* Generated from protobuf field optional string report_database = 3;
*/
- protected $report_database = null;
+ private $report_database = null;
/**
* Lease duration needed for SSRS setup.
*
* Generated from protobuf field optional .google.protobuf.Duration duration = 4;
*/
- protected $duration = null;
+ private $duration = null;
/**
* Constructor.
diff --git a/SqlAdmin/src/V1/BackupConfiguration.php b/SqlAdmin/src/V1/BackupConfiguration.php
index fe0013ef8eb0..14d47f2f57b7 100644
--- a/SqlAdmin/src/V1/BackupConfiguration.php
+++ b/SqlAdmin/src/V1/BackupConfiguration.php
@@ -72,6 +72,13 @@ class BackupConfiguration extends \Google\Protobuf\Internal\Message
* Generated from protobuf field .google.protobuf.Int32Value transaction_log_retention_days = 9;
*/
private $transaction_log_retention_days = null;
+ /**
+ * Output only. This value contains the storage location of transactional logs
+ * for the database for point-in-time recovery.
+ *
+ * Generated from protobuf field optional .google.cloud.sql.v1.BackupConfiguration.TransactionalLogStorageState transactional_log_storage_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $transactional_log_storage_state = null;
/**
* Constructor.
@@ -100,6 +107,9 @@ class BackupConfiguration extends \Google\Protobuf\Internal\Message
* @type \Google\Protobuf\Int32Value $transaction_log_retention_days
* The number of days of transaction logs we retain for point in time
* restore, from 1-7.
+ * @type int $transactional_log_storage_state
+ * Output only. This value contains the storage location of transactional logs
+ * for the database for point-in-time recovery.
* }
*/
public function __construct($data = NULL) {
@@ -546,5 +556,43 @@ public function setTransactionLogRetentionDaysValue($var)
$this->writeWrapperValue("transaction_log_retention_days", $var);
return $this;}
+ /**
+ * Output only. This value contains the storage location of transactional logs
+ * for the database for point-in-time recovery.
+ *
+ * Generated from protobuf field optional .google.cloud.sql.v1.BackupConfiguration.TransactionalLogStorageState transactional_log_storage_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getTransactionalLogStorageState()
+ {
+ return isset($this->transactional_log_storage_state) ? $this->transactional_log_storage_state : 0;
+ }
+
+ public function hasTransactionalLogStorageState()
+ {
+ return isset($this->transactional_log_storage_state);
+ }
+
+ public function clearTransactionalLogStorageState()
+ {
+ unset($this->transactional_log_storage_state);
+ }
+
+ /**
+ * Output only. This value contains the storage location of transactional logs
+ * for the database for point-in-time recovery.
+ *
+ * Generated from protobuf field optional .google.cloud.sql.v1.BackupConfiguration.TransactionalLogStorageState transactional_log_storage_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setTransactionalLogStorageState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\BackupConfiguration\TransactionalLogStorageState::class);
+ $this->transactional_log_storage_state = $var;
+
+ return $this;
+ }
+
}
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupConfiguration/TransactionalLogStorageState.php b/SqlAdmin/src/V1/BackupConfiguration/TransactionalLogStorageState.php
similarity index 92%
rename from owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupConfiguration/TransactionalLogStorageState.php
rename to SqlAdmin/src/V1/BackupConfiguration/TransactionalLogStorageState.php
index 212975cb48b2..60e6472ee91a 100644
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupConfiguration/TransactionalLogStorageState.php
+++ b/SqlAdmin/src/V1/BackupConfiguration/TransactionalLogStorageState.php
@@ -76,6 +76,4 @@ public static function value($name)
}
}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(TransactionalLogStorageState::class, \Google\Cloud\Sql\V1\BackupConfiguration_TransactionalLogStorageState::class);
diff --git a/SqlAdmin/src/V1/Client/SqlInstancesServiceClient.php b/SqlAdmin/src/V1/Client/SqlInstancesServiceClient.php
index 1a4e696cdb2f..1b79b87cdfc9 100644
--- a/SqlAdmin/src/V1/Client/SqlInstancesServiceClient.php
+++ b/SqlAdmin/src/V1/Client/SqlInstancesServiceClient.php
@@ -35,6 +35,8 @@
use Google\Cloud\Sql\V1\InstancesListResponse;
use Google\Cloud\Sql\V1\InstancesListServerCasResponse;
use Google\Cloud\Sql\V1\Operation;
+use Google\Cloud\Sql\V1\SqlInstancesAcquireSsrsLeaseRequest;
+use Google\Cloud\Sql\V1\SqlInstancesAcquireSsrsLeaseResponse;
use Google\Cloud\Sql\V1\SqlInstancesAddServerCaRequest;
use Google\Cloud\Sql\V1\SqlInstancesCloneRequest;
use Google\Cloud\Sql\V1\SqlInstancesCreateEphemeralCertRequest;
@@ -56,6 +58,8 @@
use Google\Cloud\Sql\V1\SqlInstancesPerformDiskShrinkRequest;
use Google\Cloud\Sql\V1\SqlInstancesPromoteReplicaRequest;
use Google\Cloud\Sql\V1\SqlInstancesReencryptRequest;
+use Google\Cloud\Sql\V1\SqlInstancesReleaseSsrsLeaseRequest;
+use Google\Cloud\Sql\V1\SqlInstancesReleaseSsrsLeaseResponse;
use Google\Cloud\Sql\V1\SqlInstancesRescheduleMaintenanceRequest;
use Google\Cloud\Sql\V1\SqlInstancesResetReplicaSizeRequest;
use Google\Cloud\Sql\V1\SqlInstancesResetSslConfigRequest;
@@ -79,6 +83,7 @@
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods.
*
+ * @method PromiseInterface acquireSsrsLeaseAsync(SqlInstancesAcquireSsrsLeaseRequest $request, array $optionalArgs = [])
* @method PromiseInterface addServerCaAsync(SqlInstancesAddServerCaRequest $request, array $optionalArgs = [])
* @method PromiseInterface cloneAsync(SqlInstancesCloneRequest $request, array $optionalArgs = [])
* @method PromiseInterface createEphemeralAsync(SqlInstancesCreateEphemeralCertRequest $request, array $optionalArgs = [])
@@ -98,6 +103,7 @@
* @method PromiseInterface performDiskShrinkAsync(SqlInstancesPerformDiskShrinkRequest $request, array $optionalArgs = [])
* @method PromiseInterface promoteReplicaAsync(SqlInstancesPromoteReplicaRequest $request, array $optionalArgs = [])
* @method PromiseInterface reencryptAsync(SqlInstancesReencryptRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface releaseSsrsLeaseAsync(SqlInstancesReleaseSsrsLeaseRequest $request, array $optionalArgs = [])
* @method PromiseInterface rescheduleMaintenanceAsync(SqlInstancesRescheduleMaintenanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface resetReplicaSizeAsync(SqlInstancesResetReplicaSizeRequest $request, array $optionalArgs = [])
* @method PromiseInterface resetSslConfigAsync(SqlInstancesResetSslConfigRequest $request, array $optionalArgs = [])
@@ -231,6 +237,32 @@ public function __call($method, $args)
return call_user_func_array([$this, 'startAsyncCall'], $args);
}
+ /**
+ * Acquire a lease for the setup of SQL Server Reporting Services (SSRS).
+ *
+ * The async variant is {@see SqlInstancesServiceClient::acquireSsrsLeaseAsync()} .
+ *
+ * @example samples/V1/SqlInstancesServiceClient/acquire_ssrs_lease.php
+ *
+ * @param SqlInstancesAcquireSsrsLeaseRequest $request A request to house fields associated with the call.
+ * @param array $callOptions {
+ * Optional.
+ *
+ * @type RetrySettings|array $retrySettings
+ * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+ * associative array of retry settings parameters. See the documentation on
+ * {@see RetrySettings} for example usage.
+ * }
+ *
+ * @return SqlInstancesAcquireSsrsLeaseResponse
+ *
+ * @throws ApiException Thrown if the API call fails.
+ */
+ public function acquireSsrsLease(SqlInstancesAcquireSsrsLeaseRequest $request, array $callOptions = []): SqlInstancesAcquireSsrsLeaseResponse
+ {
+ return $this->startApiCall('AcquireSsrsLease', $request, $callOptions)->wait();
+ }
+
/**
* Adds a new trusted Certificate Authority (CA) version for the specified
* instance. Required to prepare for a certificate rotation. If a CA version
@@ -753,6 +785,32 @@ public function reencrypt(SqlInstancesReencryptRequest $request, array $callOpti
return $this->startApiCall('Reencrypt', $request, $callOptions)->wait();
}
+ /**
+ * Release a lease for the setup of SQL Server Reporting Services (SSRS).
+ *
+ * The async variant is {@see SqlInstancesServiceClient::releaseSsrsLeaseAsync()} .
+ *
+ * @example samples/V1/SqlInstancesServiceClient/release_ssrs_lease.php
+ *
+ * @param SqlInstancesReleaseSsrsLeaseRequest $request A request to house fields associated with the call.
+ * @param array $callOptions {
+ * Optional.
+ *
+ * @type RetrySettings|array $retrySettings
+ * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+ * associative array of retry settings parameters. See the documentation on
+ * {@see RetrySettings} for example usage.
+ * }
+ *
+ * @return SqlInstancesReleaseSsrsLeaseResponse
+ *
+ * @throws ApiException Thrown if the API call fails.
+ */
+ public function releaseSsrsLease(SqlInstancesReleaseSsrsLeaseRequest $request, array $callOptions = []): SqlInstancesReleaseSsrsLeaseResponse
+ {
+ return $this->startApiCall('ReleaseSsrsLease', $request, $callOptions)->wait();
+ }
+
/**
* Reschedules the maintenance on the given instance.
*
diff --git a/SqlAdmin/src/V1/DatabaseInstance.php b/SqlAdmin/src/V1/DatabaseInstance.php
index 24a20ebd6da7..667241e24161 100644
--- a/SqlAdmin/src/V1/DatabaseInstance.php
+++ b/SqlAdmin/src/V1/DatabaseInstance.php
@@ -300,6 +300,20 @@ class DatabaseInstance extends \Google\Protobuf\Internal\Message
* Generated from protobuf field optional string write_endpoint = 52 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
private $write_endpoint = null;
+ /**
+ * Optional. The pair of a primary instance and disaster recovery (DR)
+ * replica. A DR replica is a cross-region replica that you designate for
+ * failover in the event that the primary instance has regional failure.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.ReplicationCluster replication_cluster = 54 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $replication_cluster = null;
+ /**
+ * Gemini configuration.
+ *
+ * Generated from protobuf field optional .google.cloud.sql.v1.GeminiInstanceConfig gemini_config = 55;
+ */
+ private $gemini_config = null;
/**
* Constructor.
@@ -425,6 +439,12 @@ class DatabaseInstance extends \Google\Protobuf\Internal\Message
* Output only. DEPRECATED: please use write_endpoint instead.
* @type string $write_endpoint
* Output only. The dns name of the primary instance in a replication group.
+ * @type \Google\Cloud\Sql\V1\ReplicationCluster $replication_cluster
+ * Optional. The pair of a primary instance and disaster recovery (DR)
+ * replica. A DR replica is a cross-region replica that you designate for
+ * failover in the event that the primary instance has regional failure.
+ * @type \Google\Cloud\Sql\V1\GeminiInstanceConfig $gemini_config
+ * Gemini configuration.
* }
*/
public function __construct($data = NULL) {
@@ -1865,5 +1885,81 @@ public function setWriteEndpoint($var)
return $this;
}
+ /**
+ * Optional. The pair of a primary instance and disaster recovery (DR)
+ * replica. A DR replica is a cross-region replica that you designate for
+ * failover in the event that the primary instance has regional failure.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.ReplicationCluster replication_cluster = 54 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Sql\V1\ReplicationCluster|null
+ */
+ public function getReplicationCluster()
+ {
+ return $this->replication_cluster;
+ }
+
+ public function hasReplicationCluster()
+ {
+ return isset($this->replication_cluster);
+ }
+
+ public function clearReplicationCluster()
+ {
+ unset($this->replication_cluster);
+ }
+
+ /**
+ * Optional. The pair of a primary instance and disaster recovery (DR)
+ * replica. A DR replica is a cross-region replica that you designate for
+ * failover in the event that the primary instance has regional failure.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.ReplicationCluster replication_cluster = 54 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Sql\V1\ReplicationCluster $var
+ * @return $this
+ */
+ public function setReplicationCluster($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ReplicationCluster::class);
+ $this->replication_cluster = $var;
+
+ return $this;
+ }
+
+ /**
+ * Gemini configuration.
+ *
+ * Generated from protobuf field optional .google.cloud.sql.v1.GeminiInstanceConfig gemini_config = 55;
+ * @return \Google\Cloud\Sql\V1\GeminiInstanceConfig|null
+ */
+ public function getGeminiConfig()
+ {
+ return $this->gemini_config;
+ }
+
+ public function hasGeminiConfig()
+ {
+ return isset($this->gemini_config);
+ }
+
+ public function clearGeminiConfig()
+ {
+ unset($this->gemini_config);
+ }
+
+ /**
+ * Gemini configuration.
+ *
+ * Generated from protobuf field optional .google.cloud.sql.v1.GeminiInstanceConfig gemini_config = 55;
+ * @param \Google\Cloud\Sql\V1\GeminiInstanceConfig $var
+ * @return $this
+ */
+ public function setGeminiConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\GeminiInstanceConfig::class);
+ $this->gemini_config = $var;
+
+ return $this;
+ }
+
}
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/GeminiInstanceConfig.php b/SqlAdmin/src/V1/GeminiInstanceConfig.php
similarity index 97%
rename from owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/GeminiInstanceConfig.php
rename to SqlAdmin/src/V1/GeminiInstanceConfig.php
index e6ed6d931766..7965703349ee 100644
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/GeminiInstanceConfig.php
+++ b/SqlAdmin/src/V1/GeminiInstanceConfig.php
@@ -20,37 +20,37 @@ class GeminiInstanceConfig extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field optional bool entitled = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
- protected $entitled = null;
+ private $entitled = null;
/**
* Output only. Whether vacuum management is enabled.
*
* Generated from protobuf field optional bool google_vacuum_mgmt_enabled = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
- protected $google_vacuum_mgmt_enabled = null;
+ private $google_vacuum_mgmt_enabled = null;
/**
* Output only. Whether oom session cancel is enabled.
*
* Generated from protobuf field optional bool oom_session_cancel_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
- protected $oom_session_cancel_enabled = null;
+ private $oom_session_cancel_enabled = null;
/**
* Output only. Whether active query is enabled.
*
* Generated from protobuf field optional bool active_query_enabled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
- protected $active_query_enabled = null;
+ private $active_query_enabled = null;
/**
* Output only. Whether index advisor is enabled.
*
* Generated from protobuf field optional bool index_advisor_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
- protected $index_advisor_enabled = null;
+ private $index_advisor_enabled = null;
/**
* Output only. Whether flag recommender is enabled.
*
* Generated from protobuf field optional bool flag_recommender_enabled = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
- protected $flag_recommender_enabled = null;
+ private $flag_recommender_enabled = null;
/**
* Constructor.
diff --git a/SqlAdmin/src/V1/ImportContext.php b/SqlAdmin/src/V1/ImportContext.php
index 72721ba71fc7..a0a6bdf601d4 100644
--- a/SqlAdmin/src/V1/ImportContext.php
+++ b/SqlAdmin/src/V1/ImportContext.php
@@ -64,6 +64,12 @@ class ImportContext extends \Google\Protobuf\Internal\Message
* Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlBakImportOptions bak_import_options = 7;
*/
private $bak_import_options = null;
+ /**
+ * Optional. Options for importing data from SQL statements.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlImportOptions sql_import_options = 8 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $sql_import_options = null;
/**
* Constructor.
@@ -92,6 +98,8 @@ class ImportContext extends \Google\Protobuf\Internal\Message
* The PostgreSQL user for this import operation. PostgreSQL instances only.
* @type \Google\Cloud\Sql\V1\ImportContext\SqlBakImportOptions $bak_import_options
* Import parameters specific to SQL Server .BAK files
+ * @type \Google\Cloud\Sql\V1\ImportContext\SqlImportOptions $sql_import_options
+ * Optional. Options for importing data from SQL statements.
* }
*/
public function __construct($data = NULL) {
@@ -315,5 +323,41 @@ public function setBakImportOptions($var)
return $this;
}
+ /**
+ * Optional. Options for importing data from SQL statements.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlImportOptions sql_import_options = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Sql\V1\ImportContext\SqlImportOptions|null
+ */
+ public function getSqlImportOptions()
+ {
+ return $this->sql_import_options;
+ }
+
+ public function hasSqlImportOptions()
+ {
+ return isset($this->sql_import_options);
+ }
+
+ public function clearSqlImportOptions()
+ {
+ unset($this->sql_import_options);
+ }
+
+ /**
+ * Optional. Options for importing data from SQL statements.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlImportOptions sql_import_options = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Sql\V1\ImportContext\SqlImportOptions $var
+ * @return $this
+ */
+ public function setSqlImportOptions($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ImportContext\SqlImportOptions::class);
+ $this->sql_import_options = $var;
+
+ return $this;
+ }
+
}
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext/SqlImportOptions.php b/SqlAdmin/src/V1/ImportContext/SqlImportOptions.php
similarity index 92%
rename from owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext/SqlImportOptions.php
rename to SqlAdmin/src/V1/ImportContext/SqlImportOptions.php
index f692dd757159..a1efd5fe7bac 100644
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext/SqlImportOptions.php
+++ b/SqlAdmin/src/V1/ImportContext/SqlImportOptions.php
@@ -18,13 +18,13 @@ class SqlImportOptions extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.protobuf.Int32Value threads = 1 [(.google.api.field_behavior) = OPTIONAL];
*/
- protected $threads = null;
+ private $threads = null;
/**
* Optional. Whether or not the import should be parallel.
*
* Generated from protobuf field .google.protobuf.BoolValue parallel = 2 [(.google.api.field_behavior) = OPTIONAL];
*/
- protected $parallel = null;
+ private $parallel = null;
/**
* Constructor.
@@ -72,7 +72,7 @@ public function clearThreads()
* Generated from protobuf field .google.protobuf.Int32Value threads = 1 [(.google.api.field_behavior) = OPTIONAL];
* @return int|null
*/
- public function getThreadsUnwrapped()
+ public function getThreadsValue()
{
return $this->readWrapperValue("threads");
}
@@ -101,7 +101,7 @@ public function setThreads($var)
* @param int|null $var
* @return $this
*/
- public function setThreadsUnwrapped($var)
+ public function setThreadsValue($var)
{
$this->writeWrapperValue("threads", $var);
return $this;}
@@ -135,7 +135,7 @@ public function clearParallel()
* Generated from protobuf field .google.protobuf.BoolValue parallel = 2 [(.google.api.field_behavior) = OPTIONAL];
* @return bool|null
*/
- public function getParallelUnwrapped()
+ public function getParallelValue()
{
return $this->readWrapperValue("parallel");
}
@@ -164,13 +164,11 @@ public function setParallel($var)
* @param bool|null $var
* @return $this
*/
- public function setParallelUnwrapped($var)
+ public function setParallelValue($var)
{
$this->writeWrapperValue("parallel", $var);
return $this;}
}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlImportOptions::class, \Google\Cloud\Sql\V1\ImportContext_SqlImportOptions::class);
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesAcquireSsrsLeaseRequest.php b/SqlAdmin/src/V1/InstancesAcquireSsrsLeaseRequest.php
similarity index 97%
rename from owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesAcquireSsrsLeaseRequest.php
rename to SqlAdmin/src/V1/InstancesAcquireSsrsLeaseRequest.php
index 59a57b65e6a8..fce47a781af6 100644
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesAcquireSsrsLeaseRequest.php
+++ b/SqlAdmin/src/V1/InstancesAcquireSsrsLeaseRequest.php
@@ -20,7 +20,7 @@ class InstancesAcquireSsrsLeaseRequest extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field .google.cloud.sql.v1.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 1;
*/
- protected $acquire_ssrs_lease_context = null;
+ private $acquire_ssrs_lease_context = null;
/**
* Constructor.
diff --git a/SqlAdmin/src/V1/IpConfiguration.php b/SqlAdmin/src/V1/IpConfiguration.php
index b236a52ac707..3de6807f2421 100644
--- a/SqlAdmin/src/V1/IpConfiguration.php
+++ b/SqlAdmin/src/V1/IpConfiguration.php
@@ -31,7 +31,7 @@ class IpConfiguration extends \Google\Protobuf\Internal\Message
*/
private $private_network = '';
/**
- * Use `ssl_mode` instead for MySQL and PostgreSQL. SQL Server uses this flag.
+ * Use `ssl_mode` instead.
* Whether SSL/TLS connections over IP are enforced.
* If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
* For SSL/TLS connections, the client certificate won't be verified. If
@@ -70,20 +70,22 @@ class IpConfiguration extends \Google\Protobuf\Internal\Message
*/
private $enable_private_path_for_google_cloud_services = null;
/**
- * Specify how SSL/TLS is enforced in database connections. MySQL and
- * PostgreSQL use the `ssl_mode` flag. If you must use the `require_ssl` flag
- * for backward compatibility, then only the following value pairs are valid:
+ * Specify how SSL/TLS is enforced in database connections. If you must use
+ * the `require_ssl` flag for backward compatibility, then only the following
+ * value pairs are valid:
+ * For PostgreSQL and MySQL:
* * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
* * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`
* * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true`
+ * For SQL Server:
+ * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
+ * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true`
* The value of `ssl_mode` gets priority over the value of `require_ssl`. For
* example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`,
* the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the
* `require_ssl=false` means accept both non-SSL and SSL connections. MySQL
* and PostgreSQL databases respect `ssl_mode` in this case and accept only
* SSL connections.
- * SQL Server uses the `require_ssl` flag. You can set the value for this flag
- * to `true` or `false`.
*
* Generated from protobuf field .google.cloud.sql.v1.IpConfiguration.SslMode ssl_mode = 8;
*/
@@ -109,7 +111,7 @@ class IpConfiguration extends \Google\Protobuf\Internal\Message
* `/projects/myProject/global/networks/default`. This setting can
* be updated, but it cannot be removed after it is set.
* @type \Google\Protobuf\BoolValue $require_ssl
- * Use `ssl_mode` instead for MySQL and PostgreSQL. SQL Server uses this flag.
+ * Use `ssl_mode` instead.
* Whether SSL/TLS connections over IP are enforced.
* If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
* For SSL/TLS connections, the client certificate won't be verified. If
@@ -132,20 +134,22 @@ class IpConfiguration extends \Google\Protobuf\Internal\Message
* Controls connectivity to private IP instances from Google services,
* such as BigQuery.
* @type int $ssl_mode
- * Specify how SSL/TLS is enforced in database connections. MySQL and
- * PostgreSQL use the `ssl_mode` flag. If you must use the `require_ssl` flag
- * for backward compatibility, then only the following value pairs are valid:
+ * Specify how SSL/TLS is enforced in database connections. If you must use
+ * the `require_ssl` flag for backward compatibility, then only the following
+ * value pairs are valid:
+ * For PostgreSQL and MySQL:
* * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
* * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`
* * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true`
+ * For SQL Server:
+ * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
+ * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true`
* The value of `ssl_mode` gets priority over the value of `require_ssl`. For
* example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`,
* the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the
* `require_ssl=false` means accept both non-SSL and SSL connections. MySQL
* and PostgreSQL databases respect `ssl_mode` in this case and accept only
* SSL connections.
- * SQL Server uses the `require_ssl` flag. You can set the value for this flag
- * to `true` or `false`.
* @type \Google\Cloud\Sql\V1\PscConfig $psc_config
* PSC settings for this instance.
* }
@@ -251,7 +255,7 @@ public function setPrivateNetwork($var)
}
/**
- * Use `ssl_mode` instead for MySQL and PostgreSQL. SQL Server uses this flag.
+ * Use `ssl_mode` instead.
* Whether SSL/TLS connections over IP are enforced.
* If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
* For SSL/TLS connections, the client certificate won't be verified. If
@@ -281,7 +285,7 @@ public function clearRequireSsl()
/**
* Returns the unboxed value from getRequireSsl()
- * Use `ssl_mode` instead for MySQL and PostgreSQL. SQL Server uses this flag.
+ * Use `ssl_mode` instead.
* Whether SSL/TLS connections over IP are enforced.
* If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
* For SSL/TLS connections, the client certificate won't be verified. If
@@ -299,7 +303,7 @@ public function getRequireSslValue()
}
/**
- * Use `ssl_mode` instead for MySQL and PostgreSQL. SQL Server uses this flag.
+ * Use `ssl_mode` instead.
* Whether SSL/TLS connections over IP are enforced.
* If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
* For SSL/TLS connections, the client certificate won't be verified. If
@@ -323,7 +327,7 @@ public function setRequireSsl($var)
/**
* Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
- * Use `ssl_mode` instead for MySQL and PostgreSQL. SQL Server uses this flag.
+ * Use `ssl_mode` instead.
* Whether SSL/TLS connections over IP are enforced.
* If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
* For SSL/TLS connections, the client certificate won't be verified. If
@@ -475,20 +479,22 @@ public function setEnablePrivatePathForGoogleCloudServicesValue($var)
return $this;}
/**
- * Specify how SSL/TLS is enforced in database connections. MySQL and
- * PostgreSQL use the `ssl_mode` flag. If you must use the `require_ssl` flag
- * for backward compatibility, then only the following value pairs are valid:
+ * Specify how SSL/TLS is enforced in database connections. If you must use
+ * the `require_ssl` flag for backward compatibility, then only the following
+ * value pairs are valid:
+ * For PostgreSQL and MySQL:
* * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
* * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`
* * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true`
+ * For SQL Server:
+ * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
+ * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true`
* The value of `ssl_mode` gets priority over the value of `require_ssl`. For
* example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`,
* the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the
* `require_ssl=false` means accept both non-SSL and SSL connections. MySQL
* and PostgreSQL databases respect `ssl_mode` in this case and accept only
* SSL connections.
- * SQL Server uses the `require_ssl` flag. You can set the value for this flag
- * to `true` or `false`.
*
* Generated from protobuf field .google.cloud.sql.v1.IpConfiguration.SslMode ssl_mode = 8;
* @return int
@@ -499,20 +505,22 @@ public function getSslMode()
}
/**
- * Specify how SSL/TLS is enforced in database connections. MySQL and
- * PostgreSQL use the `ssl_mode` flag. If you must use the `require_ssl` flag
- * for backward compatibility, then only the following value pairs are valid:
+ * Specify how SSL/TLS is enforced in database connections. If you must use
+ * the `require_ssl` flag for backward compatibility, then only the following
+ * value pairs are valid:
+ * For PostgreSQL and MySQL:
* * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
* * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`
* * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true`
+ * For SQL Server:
+ * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
+ * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true`
* The value of `ssl_mode` gets priority over the value of `require_ssl`. For
* example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`,
* the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the
* `require_ssl=false` means accept both non-SSL and SSL connections. MySQL
* and PostgreSQL databases respect `ssl_mode` in this case and accept only
* SSL connections.
- * SQL Server uses the `require_ssl` flag. You can set the value for this flag
- * to `true` or `false`.
*
* Generated from protobuf field .google.cloud.sql.v1.IpConfiguration.SslMode ssl_mode = 8;
* @param int $var
diff --git a/SqlAdmin/src/V1/Operation.php b/SqlAdmin/src/V1/Operation.php
index cfb27ddb76ee..75d8ac25b4be 100644
--- a/SqlAdmin/src/V1/Operation.php
+++ b/SqlAdmin/src/V1/Operation.php
@@ -138,6 +138,12 @@ class Operation extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string target_project = 15;
*/
private $target_project = '';
+ /**
+ * The context for acquire SSRS lease operation, if applicable.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 20;
+ */
+ private $acquire_ssrs_lease_context = null;
/**
* Constructor.
@@ -199,6 +205,8 @@ class Operation extends \Google\Protobuf\Internal\Message
* The URI of this resource.
* @type string $target_project
* The project ID of the target instance related to this operation.
+ * @type \Google\Cloud\Sql\V1\AcquireSsrsLeaseContext $acquire_ssrs_lease_context
+ * The context for acquire SSRS lease operation, if applicable.
* }
*/
public function __construct($data = NULL) {
@@ -766,5 +774,41 @@ public function setTargetProject($var)
return $this;
}
+ /**
+ * The context for acquire SSRS lease operation, if applicable.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 20;
+ * @return \Google\Cloud\Sql\V1\AcquireSsrsLeaseContext|null
+ */
+ public function getAcquireSsrsLeaseContext()
+ {
+ return $this->acquire_ssrs_lease_context;
+ }
+
+ public function hasAcquireSsrsLeaseContext()
+ {
+ return isset($this->acquire_ssrs_lease_context);
+ }
+
+ public function clearAcquireSsrsLeaseContext()
+ {
+ unset($this->acquire_ssrs_lease_context);
+ }
+
+ /**
+ * The context for acquire SSRS lease operation, if applicable.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 20;
+ * @param \Google\Cloud\Sql\V1\AcquireSsrsLeaseContext $var
+ * @return $this
+ */
+ public function setAcquireSsrsLeaseContext($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\AcquireSsrsLeaseContext::class);
+ $this->acquire_ssrs_lease_context = $var;
+
+ return $this;
+ }
+
}
diff --git a/SqlAdmin/src/V1/Operation/SqlOperationType.php b/SqlAdmin/src/V1/Operation/SqlOperationType.php
index f69079bcd620..c1a10393293b 100644
--- a/SqlAdmin/src/V1/Operation/SqlOperationType.php
+++ b/SqlAdmin/src/V1/Operation/SqlOperationType.php
@@ -245,6 +245,27 @@ class SqlOperationType
* Generated from protobuf enum SWITCHOVER = 39;
*/
const SWITCHOVER = 39;
+ /**
+ * Acquire a lease for the setup of SQL Server Reporting Services (SSRS).
+ *
+ * Generated from protobuf enum ACQUIRE_SSRS_LEASE = 42;
+ */
+ const ACQUIRE_SSRS_LEASE = 42;
+ /**
+ * Release a lease for the setup of SQL Server Reporting Services (SSRS).
+ *
+ * Generated from protobuf enum RELEASE_SSRS_LEASE = 43;
+ */
+ const RELEASE_SSRS_LEASE = 43;
+ /**
+ * Reconfigures old primary after a promote replica operation. Effect of a
+ * promote operation to the old primary is executed in this operation,
+ * asynchronously from the promote replica operation executed to the
+ * replica.
+ *
+ * Generated from protobuf enum RECONFIGURE_OLD_PRIMARY = 44;
+ */
+ const RECONFIGURE_OLD_PRIMARY = 44;
private static $valueToName = [
self::SQL_OPERATION_TYPE_UNSPECIFIED => 'SQL_OPERATION_TYPE_UNSPECIFIED',
@@ -286,6 +307,9 @@ class SqlOperationType
self::AUTO_RESTART => 'AUTO_RESTART',
self::REENCRYPT => 'REENCRYPT',
self::SWITCHOVER => 'SWITCHOVER',
+ self::ACQUIRE_SSRS_LEASE => 'ACQUIRE_SSRS_LEASE',
+ self::RELEASE_SSRS_LEASE => 'RELEASE_SSRS_LEASE',
+ self::RECONFIGURE_OLD_PRIMARY => 'RECONFIGURE_OLD_PRIMARY',
];
public static function name($value)
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ReplicationCluster.php b/SqlAdmin/src/V1/ReplicationCluster.php
similarity index 98%
rename from owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ReplicationCluster.php
rename to SqlAdmin/src/V1/ReplicationCluster.php
index c71e2fdd8abb..d505dd43e6c9 100644
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ReplicationCluster.php
+++ b/SqlAdmin/src/V1/ReplicationCluster.php
@@ -25,14 +25,14 @@ class ReplicationCluster extends \Google\Protobuf\Internal\Message
*
* Generated from protobuf field string failover_dr_replica_name = 2 [(.google.api.field_behavior) = OPTIONAL];
*/
- protected $failover_dr_replica_name = '';
+ private $failover_dr_replica_name = '';
/**
* Output only. read-only field that indicates if the replica is a dr_replica;
* not set for a primary.
*
* Generated from protobuf field bool dr_replica = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
- protected $dr_replica = false;
+ private $dr_replica = false;
/**
* Constructor.
diff --git a/SqlAdmin/src/V1/Settings.php b/SqlAdmin/src/V1/Settings.php
index c8f58188880f..f577cf3cf310 100644
--- a/SqlAdmin/src/V1/Settings.php
+++ b/SqlAdmin/src/V1/Settings.php
@@ -252,6 +252,15 @@ class Settings extends \Google\Protobuf\Internal\Message
* Generated from protobuf field .google.cloud.sql.v1.DataCacheConfig data_cache_config = 37;
*/
private $data_cache_config = null;
+ /**
+ * Optional. When this parameter is set to true, Cloud SQL instances can
+ * connect to Vertex AI to pass requests for real-time predictions and
+ * insights to the AI. The default value is false. This applies only to Cloud
+ * SQL for PostgreSQL instances.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $enable_google_ml_integration = null;
/**
* Constructor.
@@ -365,6 +374,11 @@ class Settings extends \Google\Protobuf\Internal\Message
* relevant only for SQL Server.
* @type \Google\Cloud\Sql\V1\DataCacheConfig $data_cache_config
* Configuration for data cache.
+ * @type \Google\Protobuf\BoolValue $enable_google_ml_integration
+ * Optional. When this parameter is set to true, Cloud SQL instances can
+ * connect to Vertex AI to pass requests for real-time predictions and
+ * insights to the AI. The default value is false. This applies only to Cloud
+ * SQL for PostgreSQL instances.
* }
*/
public function __construct($data = NULL) {
@@ -1680,5 +1694,80 @@ public function setDataCacheConfig($var)
return $this;
}
+ /**
+ * Optional. When this parameter is set to true, Cloud SQL instances can
+ * connect to Vertex AI to pass requests for real-time predictions and
+ * insights to the AI. The default value is false. This applies only to Cloud
+ * SQL for PostgreSQL instances.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\BoolValue|null
+ */
+ public function getEnableGoogleMlIntegration()
+ {
+ return $this->enable_google_ml_integration;
+ }
+
+ public function hasEnableGoogleMlIntegration()
+ {
+ return isset($this->enable_google_ml_integration);
+ }
+
+ public function clearEnableGoogleMlIntegration()
+ {
+ unset($this->enable_google_ml_integration);
+ }
+
+ /**
+ * Returns the unboxed value from getEnableGoogleMlIntegration()
+
+ * Optional. When this parameter is set to true, Cloud SQL instances can
+ * connect to Vertex AI to pass requests for real-time predictions and
+ * insights to the AI. The default value is false. This applies only to Cloud
+ * SQL for PostgreSQL instances.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool|null
+ */
+ public function getEnableGoogleMlIntegrationValue()
+ {
+ return $this->readWrapperValue("enable_google_ml_integration");
+ }
+
+ /**
+ * Optional. When this parameter is set to true, Cloud SQL instances can
+ * connect to Vertex AI to pass requests for real-time predictions and
+ * insights to the AI. The default value is false. This applies only to Cloud
+ * SQL for PostgreSQL instances.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\BoolValue $var
+ * @return $this
+ */
+ public function setEnableGoogleMlIntegration($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
+ $this->enable_google_ml_integration = $var;
+
+ return $this;
+ }
+
+ /**
+ * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
+
+ * Optional. When this parameter is set to true, Cloud SQL instances can
+ * connect to Vertex AI to pass requests for real-time predictions and
+ * insights to the AI. The default value is false. This applies only to Cloud
+ * SQL for PostgreSQL instances.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool|null $var
+ * @return $this
+ */
+ public function setEnableGoogleMlIntegrationValue($var)
+ {
+ $this->writeWrapperValue("enable_google_ml_integration", $var);
+ return $this;}
+
}
diff --git a/SqlAdmin/src/V1/SqlDatabaseVersion.php b/SqlAdmin/src/V1/SqlDatabaseVersion.php
index 89df701db588..98b70d4298d9 100644
--- a/SqlAdmin/src/V1/SqlDatabaseVersion.php
+++ b/SqlAdmin/src/V1/SqlDatabaseVersion.php
@@ -187,6 +187,30 @@ class SqlDatabaseVersion
* Generated from protobuf enum MYSQL_8_0_36 = 241;
*/
const MYSQL_8_0_36 = 241;
+ /**
+ * The database major version is MySQL 8.0 and the minor version is 37.
+ *
+ * Generated from protobuf enum MYSQL_8_0_37 = 355;
+ */
+ const MYSQL_8_0_37 = 355;
+ /**
+ * The database major version is MySQL 8.0 and the minor version is 38.
+ *
+ * Generated from protobuf enum MYSQL_8_0_38 = 356;
+ */
+ const MYSQL_8_0_38 = 356;
+ /**
+ * The database major version is MySQL 8.0 and the minor version is 39.
+ *
+ * Generated from protobuf enum MYSQL_8_0_39 = 357;
+ */
+ const MYSQL_8_0_39 = 357;
+ /**
+ * The database major version is MySQL 8.0 and the minor version is 40.
+ *
+ * Generated from protobuf enum MYSQL_8_0_40 = 358;
+ */
+ const MYSQL_8_0_40 = 358;
/**
* The database version is SQL Server 2019 Standard.
*
@@ -266,6 +290,10 @@ class SqlDatabaseVersion
self::MYSQL_8_0_34 => 'MYSQL_8_0_34',
self::MYSQL_8_0_35 => 'MYSQL_8_0_35',
self::MYSQL_8_0_36 => 'MYSQL_8_0_36',
+ self::MYSQL_8_0_37 => 'MYSQL_8_0_37',
+ self::MYSQL_8_0_38 => 'MYSQL_8_0_38',
+ self::MYSQL_8_0_39 => 'MYSQL_8_0_39',
+ self::MYSQL_8_0_40 => 'MYSQL_8_0_40',
self::SQLSERVER_2019_STANDARD => 'SQLSERVER_2019_STANDARD',
self::SQLSERVER_2019_ENTERPRISE => 'SQLSERVER_2019_ENTERPRISE',
self::SQLSERVER_2019_EXPRESS => 'SQLSERVER_2019_EXPRESS',
diff --git a/SqlAdmin/src/V1/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php b/SqlAdmin/src/V1/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php
index 6298ed3e95bc..18c538dbf5e2 100644
--- a/SqlAdmin/src/V1/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php
+++ b/SqlAdmin/src/V1/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php
@@ -257,6 +257,34 @@ class SqlExternalSyncSettingErrorType
* Generated from protobuf enum SUBSCRIPTION_CALCULATION_STATUS = 40;
*/
const SUBSCRIPTION_CALCULATION_STATUS = 40;
+ /**
+ * Count of subscriptions needed to sync source data for PostgreSQL
+ * database.
+ *
+ * Generated from protobuf enum PG_SUBSCRIPTION_COUNT = 41;
+ */
+ const PG_SUBSCRIPTION_COUNT = 41;
+ /**
+ * Final parallel level that is used to do migration.
+ *
+ * Generated from protobuf enum PG_SYNC_PARALLEL_LEVEL = 42;
+ */
+ const PG_SYNC_PARALLEL_LEVEL = 42;
+ /**
+ * The disk size of the replica instance is smaller than the data size of
+ * the source instance.
+ *
+ * Generated from protobuf enum INSUFFICIENT_DISK_SIZE = 43;
+ */
+ const INSUFFICIENT_DISK_SIZE = 43;
+ /**
+ * The data size of the source instance is greater than 1 TB, the number of
+ * cores of the replica instance is less than 8, and the memory of the
+ * replica is less than 32 GB.
+ *
+ * Generated from protobuf enum INSUFFICIENT_MACHINE_TIER = 44;
+ */
+ const INSUFFICIENT_MACHINE_TIER = 44;
private static $valueToName = [
self::SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED => 'SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED',
@@ -300,6 +328,10 @@ class SqlExternalSyncSettingErrorType
self::SOURCE_MAX_SUBSCRIPTIONS => 'SOURCE_MAX_SUBSCRIPTIONS',
self::UNABLE_TO_VERIFY_DEFINERS => 'UNABLE_TO_VERIFY_DEFINERS',
self::SUBSCRIPTION_CALCULATION_STATUS => 'SUBSCRIPTION_CALCULATION_STATUS',
+ self::PG_SUBSCRIPTION_COUNT => 'PG_SUBSCRIPTION_COUNT',
+ self::PG_SYNC_PARALLEL_LEVEL => 'PG_SYNC_PARALLEL_LEVEL',
+ self::INSUFFICIENT_DISK_SIZE => 'INSUFFICIENT_DISK_SIZE',
+ self::INSUFFICIENT_MACHINE_TIER => 'INSUFFICIENT_MACHINE_TIER',
];
public static function name($value)
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesAcquireSsrsLeaseRequest.php b/SqlAdmin/src/V1/SqlInstancesAcquireSsrsLeaseRequest.php
similarity index 98%
rename from owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesAcquireSsrsLeaseRequest.php
rename to SqlAdmin/src/V1/SqlInstancesAcquireSsrsLeaseRequest.php
index cab0a2bad6f7..d66d621ebf52 100644
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesAcquireSsrsLeaseRequest.php
+++ b/SqlAdmin/src/V1/SqlInstancesAcquireSsrsLeaseRequest.php
@@ -23,20 +23,20 @@ class SqlInstancesAcquireSsrsLeaseRequest extends \Google\Protobuf\Internal\Mess
*
* Generated from protobuf field string instance = 1 [(.google.api.field_behavior) = REQUIRED];
*/
- protected $instance = '';
+ private $instance = '';
/**
* Required. Project ID of the project that contains the instance (Example:
* project-id).
*
* Generated from protobuf field string project = 2 [(.google.api.field_behavior) = REQUIRED];
*/
- protected $project = '';
+ private $project = '';
/**
* Required. The request body.
*
* Generated from protobuf field .google.cloud.sql.v1.InstancesAcquireSsrsLeaseRequest body = 100 [(.google.api.field_behavior) = REQUIRED];
*/
- protected $body = null;
+ private $body = null;
/**
* Constructor.
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesAcquireSsrsLeaseResponse.php b/SqlAdmin/src/V1/SqlInstancesAcquireSsrsLeaseResponse.php
similarity index 98%
rename from owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesAcquireSsrsLeaseResponse.php
rename to SqlAdmin/src/V1/SqlInstancesAcquireSsrsLeaseResponse.php
index 95b0265ee5c4..f11b91f265b9 100644
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesAcquireSsrsLeaseResponse.php
+++ b/SqlAdmin/src/V1/SqlInstancesAcquireSsrsLeaseResponse.php
@@ -20,7 +20,7 @@ class SqlInstancesAcquireSsrsLeaseResponse extends \Google\Protobuf\Internal\Mes
*
* Generated from protobuf field string operation_id = 1;
*/
- protected $operation_id = '';
+ private $operation_id = '';
/**
* Constructor.
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesReleaseSsrsLeaseRequest.php b/SqlAdmin/src/V1/SqlInstancesReleaseSsrsLeaseRequest.php
similarity index 98%
rename from owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesReleaseSsrsLeaseRequest.php
rename to SqlAdmin/src/V1/SqlInstancesReleaseSsrsLeaseRequest.php
index a79384e72450..a4585bf0c915 100644
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesReleaseSsrsLeaseRequest.php
+++ b/SqlAdmin/src/V1/SqlInstancesReleaseSsrsLeaseRequest.php
@@ -23,13 +23,13 @@ class SqlInstancesReleaseSsrsLeaseRequest extends \Google\Protobuf\Internal\Mess
*
* Generated from protobuf field string instance = 1 [(.google.api.field_behavior) = REQUIRED];
*/
- protected $instance = '';
+ private $instance = '';
/**
* Required. The project ID that contains the instance.
*
* Generated from protobuf field string project = 2 [(.google.api.field_behavior) = REQUIRED];
*/
- protected $project = '';
+ private $project = '';
/**
* Constructor.
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesReleaseSsrsLeaseResponse.php b/SqlAdmin/src/V1/SqlInstancesReleaseSsrsLeaseResponse.php
similarity index 98%
rename from owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesReleaseSsrsLeaseResponse.php
rename to SqlAdmin/src/V1/SqlInstancesReleaseSsrsLeaseResponse.php
index c155d6d2135d..3444ea0123af 100644
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesReleaseSsrsLeaseResponse.php
+++ b/SqlAdmin/src/V1/SqlInstancesReleaseSsrsLeaseResponse.php
@@ -20,7 +20,7 @@ class SqlInstancesReleaseSsrsLeaseResponse extends \Google\Protobuf\Internal\Mes
*
* Generated from protobuf field string operation_id = 1;
*/
- protected $operation_id = '';
+ private $operation_id = '';
/**
* Constructor.
diff --git a/SqlAdmin/src/V1/SqlInstancesStartExternalSyncRequest.php b/SqlAdmin/src/V1/SqlInstancesStartExternalSyncRequest.php
index 9cea84047e77..47a5d515ddd1 100644
--- a/SqlAdmin/src/V1/SqlInstancesStartExternalSyncRequest.php
+++ b/SqlAdmin/src/V1/SqlInstancesStartExternalSyncRequest.php
@@ -46,6 +46,13 @@ class SqlInstancesStartExternalSyncRequest extends \Google\Protobuf\Internal\Mes
* Generated from protobuf field .google.cloud.sql.v1.ExternalSyncParallelLevel sync_parallel_level = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
private $sync_parallel_level = 0;
+ /**
+ * Optional. MigrationType decides if the migration is a physical file based
+ * migration or logical migration.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 8 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $migration_type = 0;
protected $sync_config;
/**
@@ -67,6 +74,9 @@ class SqlInstancesStartExternalSyncRequest extends \Google\Protobuf\Internal\Mes
* @type int $sync_parallel_level
* Optional. Parallel level for initial data sync. Currently only applicable
* for MySQL.
+ * @type int $migration_type
+ * Optional. MigrationType decides if the migration is a physical file based
+ * migration or logical migration.
* }
*/
public function __construct($data = NULL) {
@@ -237,6 +247,34 @@ public function setSyncParallelLevel($var)
return $this;
}
+ /**
+ * Optional. MigrationType decides if the migration is a physical file based
+ * migration or logical migration.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getMigrationType()
+ {
+ return $this->migration_type;
+ }
+
+ /**
+ * Optional. MigrationType decides if the migration is a physical file based
+ * migration or logical migration.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setMigrationType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlInstancesVerifyExternalSyncSettingsRequest\MigrationType::class);
+ $this->migration_type = $var;
+
+ return $this;
+ }
+
/**
* @return string
*/
diff --git a/SqlAdmin/src/V1/SqlInstancesVerifyExternalSyncSettingsRequest.php b/SqlAdmin/src/V1/SqlInstancesVerifyExternalSyncSettingsRequest.php
index 55101b42f30d..f376cd9abdf8 100644
--- a/SqlAdmin/src/V1/SqlInstancesVerifyExternalSyncSettingsRequest.php
+++ b/SqlAdmin/src/V1/SqlInstancesVerifyExternalSyncSettingsRequest.php
@@ -45,6 +45,20 @@ class SqlInstancesVerifyExternalSyncSettingsRequest extends \Google\Protobuf\Int
* Generated from protobuf field bool verify_replication_only = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
private $verify_replication_only = false;
+ /**
+ * Optional. MigrationType decides if the migration is a physical file based
+ * migration or logical migration
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $migration_type = 0;
+ /**
+ * Optional. Parallel level for initial data sync. Currently only applicable
+ * for PostgreSQL.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.ExternalSyncParallelLevel sync_parallel_level = 8 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $sync_parallel_level = 0;
protected $sync_config;
/**
@@ -65,6 +79,12 @@ class SqlInstancesVerifyExternalSyncSettingsRequest extends \Google\Protobuf\Int
* Optional. Flag to verify settings required by replication setup only
* @type \Google\Cloud\Sql\V1\MySqlSyncConfig $mysql_sync_config
* Optional. MySQL-specific settings for start external sync.
+ * @type int $migration_type
+ * Optional. MigrationType decides if the migration is a physical file based
+ * migration or logical migration
+ * @type int $sync_parallel_level
+ * Optional. Parallel level for initial data sync. Currently only applicable
+ * for PostgreSQL.
* }
*/
public function __construct($data = NULL) {
@@ -233,6 +253,62 @@ public function setMysqlSyncConfig($var)
return $this;
}
+ /**
+ * Optional. MigrationType decides if the migration is a physical file based
+ * migration or logical migration
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getMigrationType()
+ {
+ return $this->migration_type;
+ }
+
+ /**
+ * Optional. MigrationType decides if the migration is a physical file based
+ * migration or logical migration
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setMigrationType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlInstancesVerifyExternalSyncSettingsRequest\MigrationType::class);
+ $this->migration_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Parallel level for initial data sync. Currently only applicable
+ * for PostgreSQL.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.ExternalSyncParallelLevel sync_parallel_level = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getSyncParallelLevel()
+ {
+ return $this->sync_parallel_level;
+ }
+
+ /**
+ * Optional. Parallel level for initial data sync. Currently only applicable
+ * for PostgreSQL.
+ *
+ * Generated from protobuf field .google.cloud.sql.v1.ExternalSyncParallelLevel sync_parallel_level = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setSyncParallelLevel($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\ExternalSyncParallelLevel::class);
+ $this->sync_parallel_level = $var;
+
+ return $this;
+ }
+
/**
* @return string
*/
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesVerifyExternalSyncSettingsRequest/MigrationType.php b/SqlAdmin/src/V1/SqlInstancesVerifyExternalSyncSettingsRequest/MigrationType.php
similarity index 89%
rename from owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesVerifyExternalSyncSettingsRequest/MigrationType.php
rename to SqlAdmin/src/V1/SqlInstancesVerifyExternalSyncSettingsRequest/MigrationType.php
index 94b056a51ce2..a73bae426519 100644
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesVerifyExternalSyncSettingsRequest/MigrationType.php
+++ b/SqlAdmin/src/V1/SqlInstancesVerifyExternalSyncSettingsRequest/MigrationType.php
@@ -60,6 +60,4 @@ public static function value($name)
}
}
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(MigrationType::class, \Google\Cloud\Sql\V1\SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType::class);
diff --git a/SqlAdmin/src/V1/gapic_metadata.json b/SqlAdmin/src/V1/gapic_metadata.json
index 82bcd33fb50f..a32b84c89910 100644
--- a/SqlAdmin/src/V1/gapic_metadata.json
+++ b/SqlAdmin/src/V1/gapic_metadata.json
@@ -139,6 +139,11 @@
"grpc": {
"libraryClient": "SqlInstancesServiceGapicClient",
"rpcs": {
+ "AcquireSsrsLease": {
+ "methods": [
+ "acquireSsrsLease"
+ ]
+ },
"AddServerCa": {
"methods": [
"addServerCa"
@@ -234,6 +239,11 @@
"reencrypt"
]
},
+ "ReleaseSsrsLease": {
+ "methods": [
+ "releaseSsrsLease"
+ ]
+ },
"RescheduleMaintenance": {
"methods": [
"rescheduleMaintenance"
diff --git a/SqlAdmin/src/V1/resources/sql_instances_service_client_config.json b/SqlAdmin/src/V1/resources/sql_instances_service_client_config.json
index 31b90aad90a8..acab843eb19f 100644
--- a/SqlAdmin/src/V1/resources/sql_instances_service_client_config.json
+++ b/SqlAdmin/src/V1/resources/sql_instances_service_client_config.json
@@ -26,6 +26,11 @@
}
},
"methods": {
+ "AcquireSsrsLease": {
+ "timeout_millis": 60000,
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
+ },
"AddServerCa": {
"timeout_millis": 60000,
"retry_codes_name": "no_retry_1_codes",
@@ -121,6 +126,11 @@
"retry_codes_name": "no_retry_1_codes",
"retry_params_name": "no_retry_1_params"
},
+ "ReleaseSsrsLease": {
+ "timeout_millis": 60000,
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
+ },
"RescheduleMaintenance": {
"timeout_millis": 60000,
"retry_codes_name": "no_retry_1_codes",
diff --git a/SqlAdmin/src/V1/resources/sql_instances_service_descriptor_config.php b/SqlAdmin/src/V1/resources/sql_instances_service_descriptor_config.php
index 9a8d5c2df561..8a91a4186997 100644
--- a/SqlAdmin/src/V1/resources/sql_instances_service_descriptor_config.php
+++ b/SqlAdmin/src/V1/resources/sql_instances_service_descriptor_config.php
@@ -23,6 +23,24 @@
return [
'interfaces' => [
'google.cloud.sql.v1.SqlInstancesService' => [
+ 'AcquireSsrsLease' => [
+ 'callType' => \Google\ApiCore\Call::UNARY_CALL,
+ 'responseType' => 'Google\Cloud\Sql\V1\SqlInstancesAcquireSsrsLeaseResponse',
+ 'headerParams' => [
+ [
+ 'keyName' => 'project',
+ 'fieldAccessors' => [
+ 'getProject',
+ ],
+ ],
+ [
+ 'keyName' => 'instance',
+ 'fieldAccessors' => [
+ 'getInstance',
+ ],
+ ],
+ ],
+ ],
'AddServerCa' => [
'callType' => \Google\ApiCore\Call::UNARY_CALL,
'responseType' => 'Google\Cloud\Sql\V1\Operation',
@@ -353,6 +371,24 @@
],
],
],
+ 'ReleaseSsrsLease' => [
+ 'callType' => \Google\ApiCore\Call::UNARY_CALL,
+ 'responseType' => 'Google\Cloud\Sql\V1\SqlInstancesReleaseSsrsLeaseResponse',
+ 'headerParams' => [
+ [
+ 'keyName' => 'project',
+ 'fieldAccessors' => [
+ 'getProject',
+ ],
+ ],
+ [
+ 'keyName' => 'instance',
+ 'fieldAccessors' => [
+ 'getInstance',
+ ],
+ ],
+ ],
+ ],
'RescheduleMaintenance' => [
'callType' => \Google\ApiCore\Call::UNARY_CALL,
'responseType' => 'Google\Cloud\Sql\V1\Operation',
diff --git a/SqlAdmin/src/V1/resources/sql_instances_service_rest_client_config.php b/SqlAdmin/src/V1/resources/sql_instances_service_rest_client_config.php
index 6e5988acb669..29c60fc1eb5c 100644
--- a/SqlAdmin/src/V1/resources/sql_instances_service_rest_client_config.php
+++ b/SqlAdmin/src/V1/resources/sql_instances_service_rest_client_config.php
@@ -23,6 +23,23 @@
return [
'interfaces' => [
'google.cloud.sql.v1.SqlInstancesService' => [
+ 'AcquireSsrsLease' => [
+ 'method' => 'post',
+ 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/acquireSsrsLease',
+ 'body' => 'body',
+ 'placeholders' => [
+ 'instance' => [
+ 'getters' => [
+ 'getInstance',
+ ],
+ ],
+ 'project' => [
+ 'getters' => [
+ 'getProject',
+ ],
+ ],
+ ],
+ ],
'AddServerCa' => [
'method' => 'post',
'uriTemplate' => '/v1/projects/{project}/instances/{instance}/addServerCa',
@@ -328,6 +345,22 @@
],
],
],
+ 'ReleaseSsrsLease' => [
+ 'method' => 'post',
+ 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/releaseSsrsLease',
+ 'placeholders' => [
+ 'instance' => [
+ 'getters' => [
+ 'getInstance',
+ ],
+ ],
+ 'project' => [
+ 'getters' => [
+ 'getProject',
+ ],
+ ],
+ ],
+ ],
'RescheduleMaintenance' => [
'method' => 'post',
'uriTemplate' => '/v1/projects/{project}/instances/{instance}/rescheduleMaintenance',
diff --git a/SqlAdmin/tests/Unit/V1/Client/SqlInstancesServiceClientTest.php b/SqlAdmin/tests/Unit/V1/Client/SqlInstancesServiceClientTest.php
index 54c3251d0c6f..28c10e28a19e 100644
--- a/SqlAdmin/tests/Unit/V1/Client/SqlInstancesServiceClientTest.php
+++ b/SqlAdmin/tests/Unit/V1/Client/SqlInstancesServiceClientTest.php
@@ -29,10 +29,13 @@
use Google\Cloud\Sql\V1\Client\SqlInstancesServiceClient;
use Google\Cloud\Sql\V1\DatabaseInstance;
use Google\Cloud\Sql\V1\DemoteContext;
+use Google\Cloud\Sql\V1\InstancesAcquireSsrsLeaseRequest;
use Google\Cloud\Sql\V1\InstancesDemoteRequest;
use Google\Cloud\Sql\V1\InstancesListResponse;
use Google\Cloud\Sql\V1\InstancesListServerCasResponse;
use Google\Cloud\Sql\V1\Operation;
+use Google\Cloud\Sql\V1\SqlInstancesAcquireSsrsLeaseRequest;
+use Google\Cloud\Sql\V1\SqlInstancesAcquireSsrsLeaseResponse;
use Google\Cloud\Sql\V1\SqlInstancesAddServerCaRequest;
use Google\Cloud\Sql\V1\SqlInstancesCloneRequest;
use Google\Cloud\Sql\V1\SqlInstancesCreateEphemeralCertRequest;
@@ -54,6 +57,8 @@
use Google\Cloud\Sql\V1\SqlInstancesPerformDiskShrinkRequest;
use Google\Cloud\Sql\V1\SqlInstancesPromoteReplicaRequest;
use Google\Cloud\Sql\V1\SqlInstancesReencryptRequest;
+use Google\Cloud\Sql\V1\SqlInstancesReleaseSsrsLeaseRequest;
+use Google\Cloud\Sql\V1\SqlInstancesReleaseSsrsLeaseResponse;
use Google\Cloud\Sql\V1\SqlInstancesRescheduleMaintenanceRequest;
use Google\Cloud\Sql\V1\SqlInstancesResetReplicaSizeRequest;
use Google\Cloud\Sql\V1\SqlInstancesResetSslConfigRequest;
@@ -100,6 +105,82 @@ private function createClient(array $options = [])
return new SqlInstancesServiceClient($options);
}
+ /** @test */
+ public function acquireSsrsLeaseTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ // Mock response
+ $operationId = 'operationId-274116877';
+ $expectedResponse = new SqlInstancesAcquireSsrsLeaseResponse();
+ $expectedResponse->setOperationId($operationId);
+ $transport->addResponse($expectedResponse);
+ // Mock request
+ $instance = 'instance555127957';
+ $project = 'project-309310695';
+ $body = new InstancesAcquireSsrsLeaseRequest();
+ $request = (new SqlInstancesAcquireSsrsLeaseRequest())
+ ->setInstance($instance)
+ ->setProject($project)
+ ->setBody($body);
+ $response = $gapicClient->acquireSsrsLease($request);
+ $this->assertEquals($expectedResponse, $response);
+ $actualRequests = $transport->popReceivedCalls();
+ $this->assertSame(1, count($actualRequests));
+ $actualFuncCall = $actualRequests[0]->getFuncCall();
+ $actualRequestObject = $actualRequests[0]->getRequestObject();
+ $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/AcquireSsrsLease', $actualFuncCall);
+ $actualValue = $actualRequestObject->getInstance();
+ $this->assertProtobufEquals($instance, $actualValue);
+ $actualValue = $actualRequestObject->getProject();
+ $this->assertProtobufEquals($project, $actualValue);
+ $actualValue = $actualRequestObject->getBody();
+ $this->assertProtobufEquals($body, $actualValue);
+ $this->assertTrue($transport->isExhausted());
+ }
+
+ /** @test */
+ public function acquireSsrsLeaseExceptionTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ $status = new stdClass();
+ $status->code = Code::DATA_LOSS;
+ $status->details = 'internal error';
+ $expectedExceptionMessage = json_encode([
+ 'message' => 'internal error',
+ 'code' => Code::DATA_LOSS,
+ 'status' => 'DATA_LOSS',
+ 'details' => [],
+ ], JSON_PRETTY_PRINT);
+ $transport->addResponse(null, $status);
+ // Mock request
+ $instance = 'instance555127957';
+ $project = 'project-309310695';
+ $body = new InstancesAcquireSsrsLeaseRequest();
+ $request = (new SqlInstancesAcquireSsrsLeaseRequest())
+ ->setInstance($instance)
+ ->setProject($project)
+ ->setBody($body);
+ try {
+ $gapicClient->acquireSsrsLease($request);
+ // If the $gapicClient method call did not throw, fail the test
+ $this->fail('Expected an ApiException, but no exception was thrown.');
+ } catch (ApiException $ex) {
+ $this->assertEquals($status->code, $ex->getCode());
+ $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
+ }
+ // Call popReceivedCalls to ensure the stub is exhausted
+ $transport->popReceivedCalls();
+ $this->assertTrue($transport->isExhausted());
+ }
+
/** @test */
public function addServerCaTest()
{
@@ -1404,6 +1485,76 @@ public function reencryptExceptionTest()
$this->assertTrue($transport->isExhausted());
}
+ /** @test */
+ public function releaseSsrsLeaseTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ // Mock response
+ $operationId = 'operationId-274116877';
+ $expectedResponse = new SqlInstancesReleaseSsrsLeaseResponse();
+ $expectedResponse->setOperationId($operationId);
+ $transport->addResponse($expectedResponse);
+ // Mock request
+ $instance = 'instance555127957';
+ $project = 'project-309310695';
+ $request = (new SqlInstancesReleaseSsrsLeaseRequest())
+ ->setInstance($instance)
+ ->setProject($project);
+ $response = $gapicClient->releaseSsrsLease($request);
+ $this->assertEquals($expectedResponse, $response);
+ $actualRequests = $transport->popReceivedCalls();
+ $this->assertSame(1, count($actualRequests));
+ $actualFuncCall = $actualRequests[0]->getFuncCall();
+ $actualRequestObject = $actualRequests[0]->getRequestObject();
+ $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/ReleaseSsrsLease', $actualFuncCall);
+ $actualValue = $actualRequestObject->getInstance();
+ $this->assertProtobufEquals($instance, $actualValue);
+ $actualValue = $actualRequestObject->getProject();
+ $this->assertProtobufEquals($project, $actualValue);
+ $this->assertTrue($transport->isExhausted());
+ }
+
+ /** @test */
+ public function releaseSsrsLeaseExceptionTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ $status = new stdClass();
+ $status->code = Code::DATA_LOSS;
+ $status->details = 'internal error';
+ $expectedExceptionMessage = json_encode([
+ 'message' => 'internal error',
+ 'code' => Code::DATA_LOSS,
+ 'status' => 'DATA_LOSS',
+ 'details' => [],
+ ], JSON_PRETTY_PRINT);
+ $transport->addResponse(null, $status);
+ // Mock request
+ $instance = 'instance555127957';
+ $project = 'project-309310695';
+ $request = (new SqlInstancesReleaseSsrsLeaseRequest())
+ ->setInstance($instance)
+ ->setProject($project);
+ try {
+ $gapicClient->releaseSsrsLease($request);
+ // If the $gapicClient method call did not throw, fail the test
+ $this->fail('Expected an ApiException, but no exception was thrown.');
+ } catch (ApiException $ex) {
+ $this->assertEquals($status->code, $ex->getCode());
+ $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
+ }
+ // Call popReceivedCalls to ensure the stub is exhausted
+ $transport->popReceivedCalls();
+ $this->assertTrue($transport->isExhausted());
+ }
+
/** @test */
public function rescheduleMaintenanceTest()
{
@@ -2277,7 +2428,7 @@ public function verifyExternalSyncSettingsExceptionTest()
}
/** @test */
- public function addServerCaAsyncTest()
+ public function acquireSsrsLeaseAsyncTest()
{
$transport = $this->createTransport();
$gapicClient = $this->createClient([
@@ -2285,30 +2436,31 @@ public function addServerCaAsyncTest()
]);
$this->assertTrue($transport->isExhausted());
// Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
+ $operationId = 'operationId-274116877';
+ $expectedResponse = new SqlInstancesAcquireSsrsLeaseResponse();
+ $expectedResponse->setOperationId($operationId);
$transport->addResponse($expectedResponse);
- $request = new SqlInstancesAddServerCaRequest();
- $response = $gapicClient->addServerCaAsync($request)->wait();
+ // Mock request
+ $instance = 'instance555127957';
+ $project = 'project-309310695';
+ $body = new InstancesAcquireSsrsLeaseRequest();
+ $request = (new SqlInstancesAcquireSsrsLeaseRequest())
+ ->setInstance($instance)
+ ->setProject($project)
+ ->setBody($body);
+ $response = $gapicClient->acquireSsrsLeaseAsync($request)->wait();
$this->assertEquals($expectedResponse, $response);
$actualRequests = $transport->popReceivedCalls();
$this->assertSame(1, count($actualRequests));
$actualFuncCall = $actualRequests[0]->getFuncCall();
$actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/AddServerCa', $actualFuncCall);
+ $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/AcquireSsrsLease', $actualFuncCall);
+ $actualValue = $actualRequestObject->getInstance();
+ $this->assertProtobufEquals($instance, $actualValue);
+ $actualValue = $actualRequestObject->getProject();
+ $this->assertProtobufEquals($project, $actualValue);
+ $actualValue = $actualRequestObject->getBody();
+ $this->assertProtobufEquals($body, $actualValue);
$this->assertTrue($transport->isExhausted());
}
}
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlAvailableDatabaseVersions.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlAvailableDatabaseVersions.php
deleted file mode 100644
index 3f0ba3ef12ce..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlAvailableDatabaseVersions.php
+++ /dev/null
@@ -1,31 +0,0 @@
-internalAddGeneratedFile(
- '
-Ë
-?google/cloud/sql/v1/cloud_sql_available_database_versions.protogoogle.cloud.sql.v1google/api/client.protogoogle/api/field_behavior.proto2A
-#SqlAvailableDatabaseVersionsServiceÊAsqladmin.googleapis.comBn
-com.google.cloud.sql.v1B&CloudSqlAvailableDatabaseVersionsProtoPZ)cloud.google.com/go/sql/apiv1/sqlpb;sqlpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlBackupRuns.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlBackupRuns.php
deleted file mode 100644
index 2670a3353d73..000000000000
Binary files a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlBackupRuns.php and /dev/null differ
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlConnect.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlConnect.php
deleted file mode 100644
index 5411bed1f7ce..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlConnect.php
+++ /dev/null
@@ -1,59 +0,0 @@
-internalAddGeneratedFile(
- '
-Ô
-+google/cloud/sql/v1/cloud_sql_connect.protogoogle.cloud.sql.v1google/api/client.protogoogle/api/field_behavior.proto-google/cloud/sql/v1/cloud_sql_resources.protogoogle/protobuf/duration.protogoogle/protobuf/timestamp.proto"r
-GetConnectSettingsRequest
-instance (
-project ( 2
- read_time (2.google.protobuf.TimestampBàA"À
-ConnectSettings
-kind ( 4
-server_ca_cert (2.google.cloud.sql.v1.SslCert4
-ip_addresses (2.google.cloud.sql.v1.IpMapping
-region ( A
-database_version (2\'.google.cloud.sql.v1.SqlDatabaseVersion9
-backend_type (2#.google.cloud.sql.v1.SqlBackendType
-psc_enabled! (
-dns_name" ( "Ü
-GenerateEphemeralCertRequest
-instance (
-project (
-
-public_key (
-access_token ( BàA2
- read_time (2.google.protobuf.TimestampBàA6
-valid_duration (2.google.protobuf.DurationBàA"U
-GenerateEphemeralCertResponse4
-ephemeral_cert (2.google.cloud.sql.v1.SslCert2’
-SqlConnectService¯
-GetConnectSettings..google.cloud.sql.v1.GetConnectSettingsRequest$.google.cloud.sql.v1.ConnectSettings"C‚Óä“=;/v1/projects/{project}/instances/{instance}/connectSettingsÌ
-GenerateEphemeralCert1.google.cloud.sql.v1.GenerateEphemeralCertRequest2.google.cloud.sql.v1.GenerateEphemeralCertResponse"L‚Óä“F"A/v1/projects/{project}/instances/{instance}:generateEphemeralCert:*|ÊAsqladmin.googleapis.comÒA_https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/sqlservice.adminB\\
-com.google.cloud.sql.v1BCloudSqlConnectProtoPZ)cloud.google.com/go/sql/apiv1/sqlpb;sqlpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlDatabases.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlDatabases.php
deleted file mode 100644
index 6832b2da3391..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlDatabases.php
+++ /dev/null
@@ -1,60 +0,0 @@
-internalAddGeneratedFile(
- '
-„
--google/cloud/sql/v1/cloud_sql_databases.protogoogle.cloud.sql.v1google/api/client.proto-google/cloud/sql/v1/cloud_sql_resources.proto"P
-SqlDatabasesDeleteRequest
-database (
-instance (
-project ( "M
-SqlDatabasesGetRequest
-database (
-instance (
-project ( "k
-SqlDatabasesInsertRequest
-instance (
-project ( +
-bodyd (2.google.cloud.sql.v1.Database"<
-SqlDatabasesListRequest
-instance (
-project ( "}
-SqlDatabasesUpdateRequest
-database (
-instance (
-project ( +
-bodyd (2.google.cloud.sql.v1.Database"S
-DatabasesListResponse
-kind ( ,
-items (2.google.cloud.sql.v1.Database2í
-SqlDatabasesService¢
-Delete..google.cloud.sql.v1.SqlDatabasesDeleteRequest.google.cloud.sql.v1.Operation"H‚Óä“B*@/v1/projects/{project}/instances/{instance}/databases/{database}›
-Get+.google.cloud.sql.v1.SqlDatabasesGetRequest.google.cloud.sql.v1.Database"H‚Óä“B@/v1/projects/{project}/instances/{instance}/databases/{database}
-Insert..google.cloud.sql.v1.SqlDatabasesInsertRequest.google.cloud.sql.v1.Operation"C‚Óä“="5/v1/projects/{project}/instances/{instance}/databases:bodyŸ
-List,.google.cloud.sql.v1.SqlDatabasesListRequest*.google.cloud.sql.v1.DatabasesListResponse"=‚Óä“75/v1/projects/{project}/instances/{instance}/databases§
-Patch..google.cloud.sql.v1.SqlDatabasesUpdateRequest.google.cloud.sql.v1.Operation"N‚Óä“H2@/v1/projects/{project}/instances/{instance}/databases/{database}:body¨
-Update..google.cloud.sql.v1.SqlDatabasesUpdateRequest.google.cloud.sql.v1.Operation"N‚Óä“H@/v1/projects/{project}/instances/{instance}/databases/{database}:body|ÊAsqladmin.googleapis.comÒA_https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/sqlservice.adminB^
-com.google.cloud.sql.v1BCloudSqlDatabasesProtoPZ)cloud.google.com/go/sql/apiv1/sqlpb;sqlpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlEvents.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlEvents.php
deleted file mode 100644
index 481a3e1354b7..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlEvents.php
+++ /dev/null
@@ -1,31 +0,0 @@
-internalAddGeneratedFile(
- '
-
-*google/cloud/sql/v1/cloud_sql_events.protogoogle.cloud.sql.v1google/api/client.protogoogle/api/field_behavior.proto2.
-SqlEventsServiceÊAsqladmin.googleapis.comB[
-com.google.cloud.sql.v1BCloudSqlEventsProtoPZ)cloud.google.com/go/sql/apiv1/sqlpb;sqlpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlFlags.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlFlags.php
deleted file mode 100644
index 74026d821d78..000000000000
Binary files a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlFlags.php and /dev/null differ
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlIamPolicies.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlIamPolicies.php
deleted file mode 100644
index 80accbd77ab5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlIamPolicies.php
+++ /dev/null
@@ -1,30 +0,0 @@
-internalAddGeneratedFile(
- '
-ÿ
-0google/cloud/sql/v1/cloud_sql_iam_policies.protogoogle.cloud.sql.v1google/api/client.proto23
-SqlIamPoliciesServiceÊAsqladmin.googleapis.comB`
-com.google.cloud.sql.v1BCloudSqlIamPoliciesProtoPZ)cloud.google.com/go/sql/apiv1/sqlpb;sqlpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlInstanceNames.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlInstanceNames.php
deleted file mode 100644
index 8867162ecf31..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlInstanceNames.php
+++ /dev/null
@@ -1,31 +0,0 @@
-internalAddGeneratedFile(
- '
-
-2google/cloud/sql/v1/cloud_sql_instance_names.protogoogle.cloud.sql.v1google/api/client.protogoogle/api/field_behavior.proto25
-SqlInstanceNamesServiceÊAsqladmin.googleapis.comBi
-com.google.cloud.sql.v1B!CloudSqlInstanceNamesServiceProtoPZ)cloud.google.com/go/sql/apiv1/sqlpb;sqlpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlInstances.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlInstances.php
deleted file mode 100644
index a4d17c35d2de..000000000000
Binary files a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlInstances.php and /dev/null differ
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlOperations.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlOperations.php
deleted file mode 100644
index d08bec17efcc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlOperations.php
+++ /dev/null
@@ -1,52 +0,0 @@
-internalAddGeneratedFile(
- '
-Ó
-.google/cloud/sql/v1/cloud_sql_operations.protogoogle.cloud.sql.v1google/api/client.protogoogle/api/field_behavior.proto-google/cloud/sql/v1/cloud_sql_resources.protogoogle/protobuf/empty.proto"=
-SqlOperationsGetRequest
- operation (
-project ( "f
-SqlOperationsListRequest
-instance (
-max_results (
-
-page_token (
-project ( "n
-OperationsListResponse
-kind ( -
-items (2.google.cloud.sql.v1.Operation
-next_page_token ( "@
-SqlOperationsCancelRequest
- operation (
-project ( 2Ã
-SqlOperationsServiceŠ
-Get,.google.cloud.sql.v1.SqlOperationsGetRequest.google.cloud.sql.v1.Operation"5‚Óä“/-/v1/projects/{project}/operations/{operation}
-List-.google.cloud.sql.v1.SqlOperationsListRequest+.google.cloud.sql.v1.OperationsListResponse")‚Óä“#!/v1/projects/{project}/operations
-Cancel/.google.cloud.sql.v1.SqlOperationsCancelRequest.google.protobuf.Empty"<‚Óä“6"4/v1/projects/{project}/operations/{operation}/cancel|ÊAsqladmin.googleapis.comÒA_https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/sqlservice.adminB_
-com.google.cloud.sql.v1BCloudSqlOperationsProtoPZ)cloud.google.com/go/sql/apiv1/sqlpb;sqlpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlRegions.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlRegions.php
deleted file mode 100644
index abf01220dbad..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlRegions.php
+++ /dev/null
@@ -1,31 +0,0 @@
-internalAddGeneratedFile(
- '
-š
-+google/cloud/sql/v1/cloud_sql_regions.protogoogle.cloud.sql.v1google/api/client.protogoogle/api/field_behavior.proto2/
-SqlRegionsServiceÊAsqladmin.googleapis.comBc
-com.google.cloud.sql.v1BCloudSqlRegionsServiceProtoPZ)cloud.google.com/go/sql/apiv1/sqlpb;sqlpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlResources.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlResources.php
deleted file mode 100644
index fd0a2267dd46..000000000000
Binary files a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlResources.php and /dev/null differ
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlSslCerts.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlSslCerts.php
deleted file mode 100644
index e33f77f7390e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlSslCerts.php
+++ /dev/null
@@ -1,60 +0,0 @@
-internalAddGeneratedFile(
- '
-Ñ
--google/cloud/sql/v1/cloud_sql_ssl_certs.protogoogle.cloud.sql.v1google/api/client.proto-google/cloud/sql/v1/cloud_sql_resources.proto"W
-SqlSslCertsDeleteRequest
-instance (
-project (
-sha1_fingerprint ( "T
-SqlSslCertsGetRequest
-instance (
-project (
-sha1_fingerprint ( "w
-SqlSslCertsInsertRequest
-instance (
-project ( 8
-bodyd (2*.google.cloud.sql.v1.SslCertsInsertRequest";
-SqlSslCertsListRequest
-instance (
-project ( ",
-SslCertsInsertRequest
-common_name ( "È
-SslCertsInsertResponse
-kind ( 1
- operation (2.google.cloud.sql.v1.Operation4
-server_ca_cert (2.google.cloud.sql.v1.SslCert7
-client_cert (2".google.cloud.sql.v1.SslCertDetail"Q
-SslCertsListResponse
-kind ( +
-items (2.google.cloud.sql.v1.SslCert2ª
-SqlSslCertsService¨
-Delete-.google.cloud.sql.v1.SqlSslCertsDeleteRequest.google.cloud.sql.v1.Operation"O‚Óä“I*G/v1/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}
-Get*.google.cloud.sql.v1.SqlSslCertsGetRequest.google.cloud.sql.v1.SslCert"O‚Óä“IG/v1/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}¨
-Insert-.google.cloud.sql.v1.SqlSslCertsInsertRequest+.google.cloud.sql.v1.SslCertsInsertResponse"B‚Óä“<"4/v1/projects/{project}/instances/{instance}/sslCerts:bodyœ
-List+.google.cloud.sql.v1.SqlSslCertsListRequest).google.cloud.sql.v1.SslCertsListResponse"<‚Óä“64/v1/projects/{project}/instances/{instance}/sslCerts|ÊAsqladmin.googleapis.comÒA_https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/sqlservice.adminB]
-com.google.cloud.sql.v1BCloudSqlSslCertsProtoPZ)cloud.google.com/go/sql/apiv1/sqlpb;sqlpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlTiers.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlTiers.php
deleted file mode 100644
index c09b8b6ec147..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlTiers.php
+++ /dev/null
@@ -1,43 +0,0 @@
-internalAddGeneratedFile(
- '
-™
-)google/cloud/sql/v1/cloud_sql_tiers.protogoogle.cloud.sql.v1google/api/client.proto"&
-SqlTiersListRequest
-project ( "K
-TiersListResponse
-kind ( (
-items (2.google.cloud.sql.v1.Tier"S
-Tier
-tier (
-RAM (
-kind (
-
-Disk_Quota (
-region ( 2
-SqlTiersService~
-List(.google.cloud.sql.v1.SqlTiersListRequest&.google.cloud.sql.v1.TiersListResponse"$‚Óä“/v1/projects/{project}/tiers|ÊAsqladmin.googleapis.comÒA_https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/sqlservice.adminBZ
-com.google.cloud.sql.v1BCloudSqlTiersProtoPZ)cloud.google.com/go/sql/apiv1/sqlpb;sqlpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlUsers.php b/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlUsers.php
deleted file mode 100644
index f15240c77b89..000000000000
Binary files a/owl-bot-staging/SqlAdmin/v1/proto/src/GPBMetadata/Google/Cloud/Sql/V1/CloudSqlUsers.php and /dev/null differ
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/AclEntry.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/AclEntry.php
deleted file mode 100644
index a30afe817105..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/AclEntry.php
+++ /dev/null
@@ -1,187 +0,0 @@
-google.cloud.sql.v1.AclEntry
- */
-class AclEntry extends \Google\Protobuf\Internal\Message
-{
- /**
- * The allowlisted value for the access control list.
- *
- * Generated from protobuf field string value = 1;
- */
- protected $value = '';
- /**
- * The time when this access control entry expires in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expiration_time = 2;
- */
- protected $expiration_time = null;
- /**
- * Optional. A label to identify this entry.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $name = '';
- /**
- * This is always `sql#aclEntry`.
- *
- * Generated from protobuf field string kind = 4;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $value
- * The allowlisted value for the access control list.
- * @type \Google\Protobuf\Timestamp $expiration_time
- * The time when this access control entry expires in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type string $name
- * Optional. A label to identify this entry.
- * @type string $kind
- * This is always `sql#aclEntry`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The allowlisted value for the access control list.
- *
- * Generated from protobuf field string value = 1;
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The allowlisted value for the access control list.
- *
- * Generated from protobuf field string value = 1;
- * @param string $var
- * @return $this
- */
- public function setValue($var)
- {
- GPBUtil::checkString($var, True);
- $this->value = $var;
-
- return $this;
- }
-
- /**
- * The time when this access control entry expires in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expiration_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getExpirationTime()
- {
- return $this->expiration_time;
- }
-
- public function hasExpirationTime()
- {
- return isset($this->expiration_time);
- }
-
- public function clearExpirationTime()
- {
- unset($this->expiration_time);
- }
-
- /**
- * The time when this access control entry expires in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expiration_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setExpirationTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->expiration_time = $var;
-
- return $this;
- }
-
- /**
- * Optional. A label to identify this entry.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Optional. A label to identify this entry.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#aclEntry`.
- *
- * Generated from protobuf field string kind = 4;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#aclEntry`.
- *
- * Generated from protobuf field string kind = 4;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/AdvancedMachineFeatures.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/AdvancedMachineFeatures.php
deleted file mode 100644
index 7918b421cd93..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/AdvancedMachineFeatures.php
+++ /dev/null
@@ -1,67 +0,0 @@
-google.cloud.sql.v1.AdvancedMachineFeatures
- */
-class AdvancedMachineFeatures extends \Google\Protobuf\Internal\Message
-{
- /**
- * The number of threads per physical core.
- *
- * Generated from protobuf field int32 threads_per_core = 1;
- */
- protected $threads_per_core = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $threads_per_core
- * The number of threads per physical core.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The number of threads per physical core.
- *
- * Generated from protobuf field int32 threads_per_core = 1;
- * @return int
- */
- public function getThreadsPerCore()
- {
- return $this->threads_per_core;
- }
-
- /**
- * The number of threads per physical core.
- *
- * Generated from protobuf field int32 threads_per_core = 1;
- * @param int $var
- * @return $this
- */
- public function setThreadsPerCore($var)
- {
- GPBUtil::checkInt32($var);
- $this->threads_per_core = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ApiWarning.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ApiWarning.php
deleted file mode 100644
index b78fa08028b9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ApiWarning.php
+++ /dev/null
@@ -1,135 +0,0 @@
-google.cloud.sql.v1.ApiWarning
- */
-class ApiWarning extends \Google\Protobuf\Internal\Message
-{
- /**
- * Code to uniquely identify the warning type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ApiWarning.SqlApiWarningCode code = 1;
- */
- protected $code = 0;
- /**
- * The warning message.
- *
- * Generated from protobuf field string message = 2;
- */
- protected $message = '';
- /**
- * The region name for REGION_UNREACHABLE warning.
- *
- * Generated from protobuf field string region = 3;
- */
- protected $region = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $code
- * Code to uniquely identify the warning type.
- * @type string $message
- * The warning message.
- * @type string $region
- * The region name for REGION_UNREACHABLE warning.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Code to uniquely identify the warning type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ApiWarning.SqlApiWarningCode code = 1;
- * @return int
- */
- public function getCode()
- {
- return $this->code;
- }
-
- /**
- * Code to uniquely identify the warning type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ApiWarning.SqlApiWarningCode code = 1;
- * @param int $var
- * @return $this
- */
- public function setCode($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\ApiWarning\SqlApiWarningCode::class);
- $this->code = $var;
-
- return $this;
- }
-
- /**
- * The warning message.
- *
- * Generated from protobuf field string message = 2;
- * @return string
- */
- public function getMessage()
- {
- return $this->message;
- }
-
- /**
- * The warning message.
- *
- * Generated from protobuf field string message = 2;
- * @param string $var
- * @return $this
- */
- public function setMessage($var)
- {
- GPBUtil::checkString($var, True);
- $this->message = $var;
-
- return $this;
- }
-
- /**
- * The region name for REGION_UNREACHABLE warning.
- *
- * Generated from protobuf field string region = 3;
- * @return string
- */
- public function getRegion()
- {
- return $this->region;
- }
-
- /**
- * The region name for REGION_UNREACHABLE warning.
- *
- * Generated from protobuf field string region = 3;
- * @param string $var
- * @return $this
- */
- public function setRegion($var)
- {
- GPBUtil::checkString($var, True);
- $this->region = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ApiWarning/SqlApiWarningCode.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ApiWarning/SqlApiWarningCode.php
deleted file mode 100644
index 0661de42c5d0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ApiWarning/SqlApiWarningCode.php
+++ /dev/null
@@ -1,80 +0,0 @@
-google.cloud.sql.v1.ApiWarning.SqlApiWarningCode
- */
-class SqlApiWarningCode
-{
- /**
- * An unknown or unset warning type from Cloud SQL API.
- *
- * Generated from protobuf enum SQL_API_WARNING_CODE_UNSPECIFIED = 0;
- */
- const SQL_API_WARNING_CODE_UNSPECIFIED = 0;
- /**
- * Warning when one or more regions are not reachable. The returned result
- * set may be incomplete.
- *
- * Generated from protobuf enum REGION_UNREACHABLE = 1;
- */
- const REGION_UNREACHABLE = 1;
- /**
- * Warning when user provided maxResults parameter exceeds the limit. The
- * returned result set may be incomplete.
- *
- * Generated from protobuf enum MAX_RESULTS_EXCEEDS_LIMIT = 2;
- */
- const MAX_RESULTS_EXCEEDS_LIMIT = 2;
- /**
- * Warning when user tries to create/update a user with credentials that
- * have previously been compromised by a public data breach.
- *
- * Generated from protobuf enum COMPROMISED_CREDENTIALS = 3;
- */
- const COMPROMISED_CREDENTIALS = 3;
- /**
- * Warning when the operation succeeds but some non-critical workflow state
- * failed.
- *
- * Generated from protobuf enum INTERNAL_STATE_FAILURE = 4;
- */
- const INTERNAL_STATE_FAILURE = 4;
-
- private static $valueToName = [
- self::SQL_API_WARNING_CODE_UNSPECIFIED => 'SQL_API_WARNING_CODE_UNSPECIFIED',
- self::REGION_UNREACHABLE => 'REGION_UNREACHABLE',
- self::MAX_RESULTS_EXCEEDS_LIMIT => 'MAX_RESULTS_EXCEEDS_LIMIT',
- self::COMPROMISED_CREDENTIALS => 'COMPROMISED_CREDENTIALS',
- self::INTERNAL_STATE_FAILURE => 'INTERNAL_STATE_FAILURE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlApiWarningCode::class, \Google\Cloud\Sql\V1\ApiWarning_SqlApiWarningCode::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupConfiguration.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupConfiguration.php
deleted file mode 100644
index bec292d18322..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupConfiguration.php
+++ /dev/null
@@ -1,598 +0,0 @@
-google.cloud.sql.v1.BackupConfiguration
- */
-class BackupConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * Start time for the daily backup configuration in UTC timezone in the 24
- * hour format - `HH:MM`.
- *
- * Generated from protobuf field string start_time = 1;
- */
- protected $start_time = '';
- /**
- * Whether this configuration is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enabled = 2;
- */
- protected $enabled = null;
- /**
- * This is always `sql#backupConfiguration`.
- *
- * Generated from protobuf field string kind = 3;
- */
- protected $kind = '';
- /**
- * (MySQL only) Whether binary log is enabled. If backup configuration is
- * disabled, binarylog must be disabled as well.
- *
- * Generated from protobuf field .google.protobuf.BoolValue binary_log_enabled = 4;
- */
- protected $binary_log_enabled = null;
- /**
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue replication_log_archiving_enabled = 5;
- */
- protected $replication_log_archiving_enabled = null;
- /**
- * Location of the backup
- *
- * Generated from protobuf field string location = 6;
- */
- protected $location = '';
- /**
- * Whether point in time recovery is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue point_in_time_recovery_enabled = 7;
- */
- protected $point_in_time_recovery_enabled = null;
- /**
- * Backup retention settings.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BackupRetentionSettings backup_retention_settings = 8;
- */
- protected $backup_retention_settings = null;
- /**
- * The number of days of transaction logs we retain for point in time
- * restore, from 1-7.
- *
- * Generated from protobuf field .google.protobuf.Int32Value transaction_log_retention_days = 9;
- */
- protected $transaction_log_retention_days = null;
- /**
- * Output only. This value contains the storage location of transactional logs
- * for the database for point-in-time recovery.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.BackupConfiguration.TransactionalLogStorageState transactional_log_storage_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $transactional_log_storage_state = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $start_time
- * Start time for the daily backup configuration in UTC timezone in the 24
- * hour format - `HH:MM`.
- * @type \Google\Protobuf\BoolValue $enabled
- * Whether this configuration is enabled.
- * @type string $kind
- * This is always `sql#backupConfiguration`.
- * @type \Google\Protobuf\BoolValue $binary_log_enabled
- * (MySQL only) Whether binary log is enabled. If backup configuration is
- * disabled, binarylog must be disabled as well.
- * @type \Google\Protobuf\BoolValue $replication_log_archiving_enabled
- * Reserved for future use.
- * @type string $location
- * Location of the backup
- * @type \Google\Protobuf\BoolValue $point_in_time_recovery_enabled
- * Whether point in time recovery is enabled.
- * @type \Google\Cloud\Sql\V1\BackupRetentionSettings $backup_retention_settings
- * Backup retention settings.
- * @type \Google\Protobuf\Int32Value $transaction_log_retention_days
- * The number of days of transaction logs we retain for point in time
- * restore, from 1-7.
- * @type int $transactional_log_storage_state
- * Output only. This value contains the storage location of transactional logs
- * for the database for point-in-time recovery.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Start time for the daily backup configuration in UTC timezone in the 24
- * hour format - `HH:MM`.
- *
- * Generated from protobuf field string start_time = 1;
- * @return string
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- /**
- * Start time for the daily backup configuration in UTC timezone in the 24
- * hour format - `HH:MM`.
- *
- * Generated from protobuf field string start_time = 1;
- * @param string $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkString($var, True);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * Whether this configuration is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enabled = 2;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getEnabled()
- {
- return $this->enabled;
- }
-
- public function hasEnabled()
- {
- return isset($this->enabled);
- }
-
- public function clearEnabled()
- {
- unset($this->enabled);
- }
-
- /**
- * Returns the unboxed value from getEnabled()
-
- * Whether this configuration is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enabled = 2;
- * @return bool|null
- */
- public function getEnabledUnwrapped()
- {
- return $this->readWrapperValue("enabled");
- }
-
- /**
- * Whether this configuration is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enabled = 2;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setEnabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether this configuration is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enabled = 2;
- * @param bool|null $var
- * @return $this
- */
- public function setEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("enabled", $var);
- return $this;}
-
- /**
- * This is always `sql#backupConfiguration`.
- *
- * Generated from protobuf field string kind = 3;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#backupConfiguration`.
- *
- * Generated from protobuf field string kind = 3;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * (MySQL only) Whether binary log is enabled. If backup configuration is
- * disabled, binarylog must be disabled as well.
- *
- * Generated from protobuf field .google.protobuf.BoolValue binary_log_enabled = 4;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getBinaryLogEnabled()
- {
- return $this->binary_log_enabled;
- }
-
- public function hasBinaryLogEnabled()
- {
- return isset($this->binary_log_enabled);
- }
-
- public function clearBinaryLogEnabled()
- {
- unset($this->binary_log_enabled);
- }
-
- /**
- * Returns the unboxed value from getBinaryLogEnabled()
-
- * (MySQL only) Whether binary log is enabled. If backup configuration is
- * disabled, binarylog must be disabled as well.
- *
- * Generated from protobuf field .google.protobuf.BoolValue binary_log_enabled = 4;
- * @return bool|null
- */
- public function getBinaryLogEnabledUnwrapped()
- {
- return $this->readWrapperValue("binary_log_enabled");
- }
-
- /**
- * (MySQL only) Whether binary log is enabled. If backup configuration is
- * disabled, binarylog must be disabled as well.
- *
- * Generated from protobuf field .google.protobuf.BoolValue binary_log_enabled = 4;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setBinaryLogEnabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->binary_log_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * (MySQL only) Whether binary log is enabled. If backup configuration is
- * disabled, binarylog must be disabled as well.
- *
- * Generated from protobuf field .google.protobuf.BoolValue binary_log_enabled = 4;
- * @param bool|null $var
- * @return $this
- */
- public function setBinaryLogEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("binary_log_enabled", $var);
- return $this;}
-
- /**
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue replication_log_archiving_enabled = 5;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getReplicationLogArchivingEnabled()
- {
- return $this->replication_log_archiving_enabled;
- }
-
- public function hasReplicationLogArchivingEnabled()
- {
- return isset($this->replication_log_archiving_enabled);
- }
-
- public function clearReplicationLogArchivingEnabled()
- {
- unset($this->replication_log_archiving_enabled);
- }
-
- /**
- * Returns the unboxed value from getReplicationLogArchivingEnabled()
-
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue replication_log_archiving_enabled = 5;
- * @return bool|null
- */
- public function getReplicationLogArchivingEnabledUnwrapped()
- {
- return $this->readWrapperValue("replication_log_archiving_enabled");
- }
-
- /**
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue replication_log_archiving_enabled = 5;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setReplicationLogArchivingEnabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->replication_log_archiving_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue replication_log_archiving_enabled = 5;
- * @param bool|null $var
- * @return $this
- */
- public function setReplicationLogArchivingEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("replication_log_archiving_enabled", $var);
- return $this;}
-
- /**
- * Location of the backup
- *
- * Generated from protobuf field string location = 6;
- * @return string
- */
- public function getLocation()
- {
- return $this->location;
- }
-
- /**
- * Location of the backup
- *
- * Generated from protobuf field string location = 6;
- * @param string $var
- * @return $this
- */
- public function setLocation($var)
- {
- GPBUtil::checkString($var, True);
- $this->location = $var;
-
- return $this;
- }
-
- /**
- * Whether point in time recovery is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue point_in_time_recovery_enabled = 7;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getPointInTimeRecoveryEnabled()
- {
- return $this->point_in_time_recovery_enabled;
- }
-
- public function hasPointInTimeRecoveryEnabled()
- {
- return isset($this->point_in_time_recovery_enabled);
- }
-
- public function clearPointInTimeRecoveryEnabled()
- {
- unset($this->point_in_time_recovery_enabled);
- }
-
- /**
- * Returns the unboxed value from getPointInTimeRecoveryEnabled()
-
- * Whether point in time recovery is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue point_in_time_recovery_enabled = 7;
- * @return bool|null
- */
- public function getPointInTimeRecoveryEnabledUnwrapped()
- {
- return $this->readWrapperValue("point_in_time_recovery_enabled");
- }
-
- /**
- * Whether point in time recovery is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue point_in_time_recovery_enabled = 7;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setPointInTimeRecoveryEnabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->point_in_time_recovery_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether point in time recovery is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue point_in_time_recovery_enabled = 7;
- * @param bool|null $var
- * @return $this
- */
- public function setPointInTimeRecoveryEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("point_in_time_recovery_enabled", $var);
- return $this;}
-
- /**
- * Backup retention settings.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BackupRetentionSettings backup_retention_settings = 8;
- * @return \Google\Cloud\Sql\V1\BackupRetentionSettings|null
- */
- public function getBackupRetentionSettings()
- {
- return $this->backup_retention_settings;
- }
-
- public function hasBackupRetentionSettings()
- {
- return isset($this->backup_retention_settings);
- }
-
- public function clearBackupRetentionSettings()
- {
- unset($this->backup_retention_settings);
- }
-
- /**
- * Backup retention settings.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BackupRetentionSettings backup_retention_settings = 8;
- * @param \Google\Cloud\Sql\V1\BackupRetentionSettings $var
- * @return $this
- */
- public function setBackupRetentionSettings($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\BackupRetentionSettings::class);
- $this->backup_retention_settings = $var;
-
- return $this;
- }
-
- /**
- * The number of days of transaction logs we retain for point in time
- * restore, from 1-7.
- *
- * Generated from protobuf field .google.protobuf.Int32Value transaction_log_retention_days = 9;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getTransactionLogRetentionDays()
- {
- return $this->transaction_log_retention_days;
- }
-
- public function hasTransactionLogRetentionDays()
- {
- return isset($this->transaction_log_retention_days);
- }
-
- public function clearTransactionLogRetentionDays()
- {
- unset($this->transaction_log_retention_days);
- }
-
- /**
- * Returns the unboxed value from getTransactionLogRetentionDays()
-
- * The number of days of transaction logs we retain for point in time
- * restore, from 1-7.
- *
- * Generated from protobuf field .google.protobuf.Int32Value transaction_log_retention_days = 9;
- * @return int|null
- */
- public function getTransactionLogRetentionDaysUnwrapped()
- {
- return $this->readWrapperValue("transaction_log_retention_days");
- }
-
- /**
- * The number of days of transaction logs we retain for point in time
- * restore, from 1-7.
- *
- * Generated from protobuf field .google.protobuf.Int32Value transaction_log_retention_days = 9;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setTransactionLogRetentionDays($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->transaction_log_retention_days = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * The number of days of transaction logs we retain for point in time
- * restore, from 1-7.
- *
- * Generated from protobuf field .google.protobuf.Int32Value transaction_log_retention_days = 9;
- * @param int|null $var
- * @return $this
- */
- public function setTransactionLogRetentionDaysUnwrapped($var)
- {
- $this->writeWrapperValue("transaction_log_retention_days", $var);
- return $this;}
-
- /**
- * Output only. This value contains the storage location of transactional logs
- * for the database for point-in-time recovery.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.BackupConfiguration.TransactionalLogStorageState transactional_log_storage_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return int
- */
- public function getTransactionalLogStorageState()
- {
- return isset($this->transactional_log_storage_state) ? $this->transactional_log_storage_state : 0;
- }
-
- public function hasTransactionalLogStorageState()
- {
- return isset($this->transactional_log_storage_state);
- }
-
- public function clearTransactionalLogStorageState()
- {
- unset($this->transactional_log_storage_state);
- }
-
- /**
- * Output only. This value contains the storage location of transactional logs
- * for the database for point-in-time recovery.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.BackupConfiguration.TransactionalLogStorageState transactional_log_storage_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param int $var
- * @return $this
- */
- public function setTransactionalLogStorageState($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\BackupConfiguration\TransactionalLogStorageState::class);
- $this->transactional_log_storage_state = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupContext.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupContext.php
deleted file mode 100644
index 961ce1b42aac..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupContext.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.BackupContext
- */
-class BackupContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * The identifier of the backup.
- *
- * Generated from protobuf field int64 backup_id = 1;
- */
- protected $backup_id = 0;
- /**
- * This is always `sql#backupContext`.
- *
- * Generated from protobuf field string kind = 2;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $backup_id
- * The identifier of the backup.
- * @type string $kind
- * This is always `sql#backupContext`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The identifier of the backup.
- *
- * Generated from protobuf field int64 backup_id = 1;
- * @return int|string
- */
- public function getBackupId()
- {
- return $this->backup_id;
- }
-
- /**
- * The identifier of the backup.
- *
- * Generated from protobuf field int64 backup_id = 1;
- * @param int|string $var
- * @return $this
- */
- public function setBackupId($var)
- {
- GPBUtil::checkInt64($var);
- $this->backup_id = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#backupContext`.
- *
- * Generated from protobuf field string kind = 2;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#backupContext`.
- *
- * Generated from protobuf field string kind = 2;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupReencryptionConfig.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupReencryptionConfig.php
deleted file mode 100644
index eab7ab57883d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupReencryptionConfig.php
+++ /dev/null
@@ -1,121 +0,0 @@
-google.cloud.sql.v1.BackupReencryptionConfig
- */
-class BackupReencryptionConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Backup re-encryption limit
- *
- * Generated from protobuf field optional int32 backup_limit = 1;
- */
- protected $backup_limit = null;
- /**
- * Type of backups users want to re-encrypt.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.BackupReencryptionConfig.BackupType backup_type = 2;
- */
- protected $backup_type = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $backup_limit
- * Backup re-encryption limit
- * @type int $backup_type
- * Type of backups users want to re-encrypt.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Backup re-encryption limit
- *
- * Generated from protobuf field optional int32 backup_limit = 1;
- * @return int
- */
- public function getBackupLimit()
- {
- return isset($this->backup_limit) ? $this->backup_limit : 0;
- }
-
- public function hasBackupLimit()
- {
- return isset($this->backup_limit);
- }
-
- public function clearBackupLimit()
- {
- unset($this->backup_limit);
- }
-
- /**
- * Backup re-encryption limit
- *
- * Generated from protobuf field optional int32 backup_limit = 1;
- * @param int $var
- * @return $this
- */
- public function setBackupLimit($var)
- {
- GPBUtil::checkInt32($var);
- $this->backup_limit = $var;
-
- return $this;
- }
-
- /**
- * Type of backups users want to re-encrypt.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.BackupReencryptionConfig.BackupType backup_type = 2;
- * @return int
- */
- public function getBackupType()
- {
- return isset($this->backup_type) ? $this->backup_type : 0;
- }
-
- public function hasBackupType()
- {
- return isset($this->backup_type);
- }
-
- public function clearBackupType()
- {
- unset($this->backup_type);
- }
-
- /**
- * Type of backups users want to re-encrypt.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.BackupReencryptionConfig.BackupType backup_type = 2;
- * @param int $var
- * @return $this
- */
- public function setBackupType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\BackupReencryptionConfig\BackupType::class);
- $this->backup_type = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupReencryptionConfig/BackupType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupReencryptionConfig/BackupType.php
deleted file mode 100644
index f72845f44ee1..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupReencryptionConfig/BackupType.php
+++ /dev/null
@@ -1,64 +0,0 @@
-google.cloud.sql.v1.BackupReencryptionConfig.BackupType
- */
-class BackupType
-{
- /**
- * Unknown backup type, will be defaulted to AUTOMATIC backup type
- *
- * Generated from protobuf enum BACKUP_TYPE_UNSPECIFIED = 0;
- */
- const BACKUP_TYPE_UNSPECIFIED = 0;
- /**
- * Reencrypt automatic backups
- *
- * Generated from protobuf enum AUTOMATED = 1;
- */
- const AUTOMATED = 1;
- /**
- * Reencrypt on-demand backups
- *
- * Generated from protobuf enum ON_DEMAND = 2;
- */
- const ON_DEMAND = 2;
-
- private static $valueToName = [
- self::BACKUP_TYPE_UNSPECIFIED => 'BACKUP_TYPE_UNSPECIFIED',
- self::AUTOMATED => 'AUTOMATED',
- self::ON_DEMAND => 'ON_DEMAND',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(BackupType::class, \Google\Cloud\Sql\V1\BackupReencryptionConfig_BackupType::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupRetentionSettings.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupRetentionSettings.php
deleted file mode 100644
index 74494506fb6c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupRetentionSettings.php
+++ /dev/null
@@ -1,151 +0,0 @@
-google.cloud.sql.v1.BackupRetentionSettings
- */
-class BackupRetentionSettings extends \Google\Protobuf\Internal\Message
-{
- /**
- * The unit that 'retained_backups' represents.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BackupRetentionSettings.RetentionUnit retention_unit = 1;
- */
- protected $retention_unit = 0;
- /**
- * Depending on the value of retention_unit, this is used to determine
- * if a backup needs to be deleted. If retention_unit is 'COUNT', we will
- * retain this many backups.
- *
- * Generated from protobuf field .google.protobuf.Int32Value retained_backups = 2;
- */
- protected $retained_backups = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $retention_unit
- * The unit that 'retained_backups' represents.
- * @type \Google\Protobuf\Int32Value $retained_backups
- * Depending on the value of retention_unit, this is used to determine
- * if a backup needs to be deleted. If retention_unit is 'COUNT', we will
- * retain this many backups.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The unit that 'retained_backups' represents.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BackupRetentionSettings.RetentionUnit retention_unit = 1;
- * @return int
- */
- public function getRetentionUnit()
- {
- return $this->retention_unit;
- }
-
- /**
- * The unit that 'retained_backups' represents.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BackupRetentionSettings.RetentionUnit retention_unit = 1;
- * @param int $var
- * @return $this
- */
- public function setRetentionUnit($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\BackupRetentionSettings\RetentionUnit::class);
- $this->retention_unit = $var;
-
- return $this;
- }
-
- /**
- * Depending on the value of retention_unit, this is used to determine
- * if a backup needs to be deleted. If retention_unit is 'COUNT', we will
- * retain this many backups.
- *
- * Generated from protobuf field .google.protobuf.Int32Value retained_backups = 2;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getRetainedBackups()
- {
- return $this->retained_backups;
- }
-
- public function hasRetainedBackups()
- {
- return isset($this->retained_backups);
- }
-
- public function clearRetainedBackups()
- {
- unset($this->retained_backups);
- }
-
- /**
- * Returns the unboxed value from getRetainedBackups()
-
- * Depending on the value of retention_unit, this is used to determine
- * if a backup needs to be deleted. If retention_unit is 'COUNT', we will
- * retain this many backups.
- *
- * Generated from protobuf field .google.protobuf.Int32Value retained_backups = 2;
- * @return int|null
- */
- public function getRetainedBackupsUnwrapped()
- {
- return $this->readWrapperValue("retained_backups");
- }
-
- /**
- * Depending on the value of retention_unit, this is used to determine
- * if a backup needs to be deleted. If retention_unit is 'COUNT', we will
- * retain this many backups.
- *
- * Generated from protobuf field .google.protobuf.Int32Value retained_backups = 2;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setRetainedBackups($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->retained_backups = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Depending on the value of retention_unit, this is used to determine
- * if a backup needs to be deleted. If retention_unit is 'COUNT', we will
- * retain this many backups.
- *
- * Generated from protobuf field .google.protobuf.Int32Value retained_backups = 2;
- * @param int|null $var
- * @return $this
- */
- public function setRetainedBackupsUnwrapped($var)
- {
- $this->writeWrapperValue("retained_backups", $var);
- return $this;}
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupRetentionSettings/RetentionUnit.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupRetentionSettings/RetentionUnit.php
deleted file mode 100644
index b1a12d681838..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupRetentionSettings/RetentionUnit.php
+++ /dev/null
@@ -1,57 +0,0 @@
-google.cloud.sql.v1.BackupRetentionSettings.RetentionUnit
- */
-class RetentionUnit
-{
- /**
- * Backup retention unit is unspecified, will be treated as COUNT.
- *
- * Generated from protobuf enum RETENTION_UNIT_UNSPECIFIED = 0;
- */
- const RETENTION_UNIT_UNSPECIFIED = 0;
- /**
- * Retention will be by count, eg. "retain the most recent 7 backups".
- *
- * Generated from protobuf enum COUNT = 1;
- */
- const COUNT = 1;
-
- private static $valueToName = [
- self::RETENTION_UNIT_UNSPECIFIED => 'RETENTION_UNIT_UNSPECIFIED',
- self::COUNT => 'COUNT',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(RetentionUnit::class, \Google\Cloud\Sql\V1\BackupRetentionSettings_RetentionUnit::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupRun.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupRun.php
deleted file mode 100644
index ac7add86874c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupRun.php
+++ /dev/null
@@ -1,733 +0,0 @@
-google.cloud.sql.v1.BackupRun
- */
-class BackupRun extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#backupRun`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The status of this run.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackupRunStatus status = 2;
- */
- protected $status = 0;
- /**
- * The time the run was enqueued in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp enqueued_time = 3;
- */
- protected $enqueued_time = null;
- /**
- * The identifier for this backup run. Unique only for a specific Cloud SQL
- * instance.
- *
- * Generated from protobuf field int64 id = 4;
- */
- protected $id = 0;
- /**
- * The time the backup operation actually started in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 5;
- */
- protected $start_time = null;
- /**
- * The time the backup operation completed in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 6;
- */
- protected $end_time = null;
- /**
- * Information about why the backup operation failed. This is only present if
- * the run has the FAILED status.
- *
- * Generated from protobuf field .google.cloud.sql.v1.OperationError error = 7;
- */
- protected $error = null;
- /**
- * The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL".
- * This field defaults to "ON_DEMAND" and is ignored, when specified for
- * insert requests.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackupRunType type = 8;
- */
- protected $type = 0;
- /**
- * The description of this run, only applicable to on-demand backups.
- *
- * Generated from protobuf field string description = 9;
- */
- protected $description = '';
- /**
- * The start time of the backup window during which this the backup was
- * attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for
- * example `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp window_start_time = 10;
- */
- protected $window_start_time = null;
- /**
- * Name of the database instance.
- *
- * Generated from protobuf field string instance = 11;
- */
- protected $instance = '';
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 12;
- */
- protected $self_link = '';
- /**
- * Location of the backups.
- *
- * Generated from protobuf field string location = 13;
- */
- protected $location = '';
- /**
- * Encryption configuration specific to a backup.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DiskEncryptionConfiguration disk_encryption_configuration = 16;
- */
- protected $disk_encryption_configuration = null;
- /**
- * Encryption status specific to a backup.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DiskEncryptionStatus disk_encryption_status = 17;
- */
- protected $disk_encryption_status = null;
- /**
- * Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackupKind backup_kind = 19;
- */
- protected $backup_kind = 0;
- /**
- * Backup time zone to prevent restores to an instance with
- * a different time zone. Now relevant only for SQL Server.
- *
- * Generated from protobuf field string time_zone = 23;
- */
- protected $time_zone = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#backupRun`.
- * @type int $status
- * The status of this run.
- * @type \Google\Protobuf\Timestamp $enqueued_time
- * The time the run was enqueued in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type int|string $id
- * The identifier for this backup run. Unique only for a specific Cloud SQL
- * instance.
- * @type \Google\Protobuf\Timestamp $start_time
- * The time the backup operation actually started in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type \Google\Protobuf\Timestamp $end_time
- * The time the backup operation completed in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type \Google\Cloud\Sql\V1\OperationError $error
- * Information about why the backup operation failed. This is only present if
- * the run has the FAILED status.
- * @type int $type
- * The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL".
- * This field defaults to "ON_DEMAND" and is ignored, when specified for
- * insert requests.
- * @type string $description
- * The description of this run, only applicable to on-demand backups.
- * @type \Google\Protobuf\Timestamp $window_start_time
- * The start time of the backup window during which this the backup was
- * attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for
- * example `2012-11-15T16:19:00.094Z`.
- * @type string $instance
- * Name of the database instance.
- * @type string $self_link
- * The URI of this resource.
- * @type string $location
- * Location of the backups.
- * @type \Google\Cloud\Sql\V1\DiskEncryptionConfiguration $disk_encryption_configuration
- * Encryption configuration specific to a backup.
- * @type \Google\Cloud\Sql\V1\DiskEncryptionStatus $disk_encryption_status
- * Encryption status specific to a backup.
- * @type int $backup_kind
- * Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- * @type string $time_zone
- * Backup time zone to prevent restores to an instance with
- * a different time zone. Now relevant only for SQL Server.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlBackupRuns::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#backupRun`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#backupRun`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The status of this run.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackupRunStatus status = 2;
- * @return int
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * The status of this run.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackupRunStatus status = 2;
- * @param int $var
- * @return $this
- */
- public function setStatus($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlBackupRunStatus::class);
- $this->status = $var;
-
- return $this;
- }
-
- /**
- * The time the run was enqueued in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp enqueued_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEnqueuedTime()
- {
- return $this->enqueued_time;
- }
-
- public function hasEnqueuedTime()
- {
- return isset($this->enqueued_time);
- }
-
- public function clearEnqueuedTime()
- {
- unset($this->enqueued_time);
- }
-
- /**
- * The time the run was enqueued in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp enqueued_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEnqueuedTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->enqueued_time = $var;
-
- return $this;
- }
-
- /**
- * The identifier for this backup run. Unique only for a specific Cloud SQL
- * instance.
- *
- * Generated from protobuf field int64 id = 4;
- * @return int|string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * The identifier for this backup run. Unique only for a specific Cloud SQL
- * instance.
- *
- * Generated from protobuf field int64 id = 4;
- * @param int|string $var
- * @return $this
- */
- public function setId($var)
- {
- GPBUtil::checkInt64($var);
- $this->id = $var;
-
- return $this;
- }
-
- /**
- * The time the backup operation actually started in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 5;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- public function hasStartTime()
- {
- return isset($this->start_time);
- }
-
- public function clearStartTime()
- {
- unset($this->start_time);
- }
-
- /**
- * The time the backup operation actually started in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 5;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * The time the backup operation completed in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 6;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEndTime()
- {
- return $this->end_time;
- }
-
- public function hasEndTime()
- {
- return isset($this->end_time);
- }
-
- public function clearEndTime()
- {
- unset($this->end_time);
- }
-
- /**
- * The time the backup operation completed in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 6;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEndTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->end_time = $var;
-
- return $this;
- }
-
- /**
- * Information about why the backup operation failed. This is only present if
- * the run has the FAILED status.
- *
- * Generated from protobuf field .google.cloud.sql.v1.OperationError error = 7;
- * @return \Google\Cloud\Sql\V1\OperationError|null
- */
- public function getError()
- {
- return $this->error;
- }
-
- public function hasError()
- {
- return isset($this->error);
- }
-
- public function clearError()
- {
- unset($this->error);
- }
-
- /**
- * Information about why the backup operation failed. This is only present if
- * the run has the FAILED status.
- *
- * Generated from protobuf field .google.cloud.sql.v1.OperationError error = 7;
- * @param \Google\Cloud\Sql\V1\OperationError $var
- * @return $this
- */
- public function setError($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\OperationError::class);
- $this->error = $var;
-
- return $this;
- }
-
- /**
- * The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL".
- * This field defaults to "ON_DEMAND" and is ignored, when specified for
- * insert requests.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackupRunType type = 8;
- * @return int
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL".
- * This field defaults to "ON_DEMAND" and is ignored, when specified for
- * insert requests.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackupRunType type = 8;
- * @param int $var
- * @return $this
- */
- public function setType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlBackupRunType::class);
- $this->type = $var;
-
- return $this;
- }
-
- /**
- * The description of this run, only applicable to on-demand backups.
- *
- * Generated from protobuf field string description = 9;
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * The description of this run, only applicable to on-demand backups.
- *
- * Generated from protobuf field string description = 9;
- * @param string $var
- * @return $this
- */
- public function setDescription($var)
- {
- GPBUtil::checkString($var, True);
- $this->description = $var;
-
- return $this;
- }
-
- /**
- * The start time of the backup window during which this the backup was
- * attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for
- * example `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp window_start_time = 10;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getWindowStartTime()
- {
- return $this->window_start_time;
- }
-
- public function hasWindowStartTime()
- {
- return isset($this->window_start_time);
- }
-
- public function clearWindowStartTime()
- {
- unset($this->window_start_time);
- }
-
- /**
- * The start time of the backup window during which this the backup was
- * attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for
- * example `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp window_start_time = 10;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setWindowStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->window_start_time = $var;
-
- return $this;
- }
-
- /**
- * Name of the database instance.
- *
- * Generated from protobuf field string instance = 11;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Name of the database instance.
- *
- * Generated from protobuf field string instance = 11;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 12;
- * @return string
- */
- public function getSelfLink()
- {
- return $this->self_link;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 12;
- * @param string $var
- * @return $this
- */
- public function setSelfLink($var)
- {
- GPBUtil::checkString($var, True);
- $this->self_link = $var;
-
- return $this;
- }
-
- /**
- * Location of the backups.
- *
- * Generated from protobuf field string location = 13;
- * @return string
- */
- public function getLocation()
- {
- return $this->location;
- }
-
- /**
- * Location of the backups.
- *
- * Generated from protobuf field string location = 13;
- * @param string $var
- * @return $this
- */
- public function setLocation($var)
- {
- GPBUtil::checkString($var, True);
- $this->location = $var;
-
- return $this;
- }
-
- /**
- * Encryption configuration specific to a backup.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DiskEncryptionConfiguration disk_encryption_configuration = 16;
- * @return \Google\Cloud\Sql\V1\DiskEncryptionConfiguration|null
- */
- public function getDiskEncryptionConfiguration()
- {
- return $this->disk_encryption_configuration;
- }
-
- public function hasDiskEncryptionConfiguration()
- {
- return isset($this->disk_encryption_configuration);
- }
-
- public function clearDiskEncryptionConfiguration()
- {
- unset($this->disk_encryption_configuration);
- }
-
- /**
- * Encryption configuration specific to a backup.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DiskEncryptionConfiguration disk_encryption_configuration = 16;
- * @param \Google\Cloud\Sql\V1\DiskEncryptionConfiguration $var
- * @return $this
- */
- public function setDiskEncryptionConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DiskEncryptionConfiguration::class);
- $this->disk_encryption_configuration = $var;
-
- return $this;
- }
-
- /**
- * Encryption status specific to a backup.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DiskEncryptionStatus disk_encryption_status = 17;
- * @return \Google\Cloud\Sql\V1\DiskEncryptionStatus|null
- */
- public function getDiskEncryptionStatus()
- {
- return $this->disk_encryption_status;
- }
-
- public function hasDiskEncryptionStatus()
- {
- return isset($this->disk_encryption_status);
- }
-
- public function clearDiskEncryptionStatus()
- {
- unset($this->disk_encryption_status);
- }
-
- /**
- * Encryption status specific to a backup.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DiskEncryptionStatus disk_encryption_status = 17;
- * @param \Google\Cloud\Sql\V1\DiskEncryptionStatus $var
- * @return $this
- */
- public function setDiskEncryptionStatus($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DiskEncryptionStatus::class);
- $this->disk_encryption_status = $var;
-
- return $this;
- }
-
- /**
- * Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackupKind backup_kind = 19;
- * @return int
- */
- public function getBackupKind()
- {
- return $this->backup_kind;
- }
-
- /**
- * Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackupKind backup_kind = 19;
- * @param int $var
- * @return $this
- */
- public function setBackupKind($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlBackupKind::class);
- $this->backup_kind = $var;
-
- return $this;
- }
-
- /**
- * Backup time zone to prevent restores to an instance with
- * a different time zone. Now relevant only for SQL Server.
- *
- * Generated from protobuf field string time_zone = 23;
- * @return string
- */
- public function getTimeZone()
- {
- return $this->time_zone;
- }
-
- /**
- * Backup time zone to prevent restores to an instance with
- * a different time zone. Now relevant only for SQL Server.
- *
- * Generated from protobuf field string time_zone = 23;
- * @param string $var
- * @return $this
- */
- public function setTimeZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->time_zone = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupRunsListResponse.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupRunsListResponse.php
deleted file mode 100644
index 9bbd7c75674f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BackupRunsListResponse.php
+++ /dev/null
@@ -1,139 +0,0 @@
-google.cloud.sql.v1.BackupRunsListResponse
- */
-class BackupRunsListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#backupRunsList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * A list of backup runs in reverse chronological order of the enqueued time.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.BackupRun items = 2;
- */
- private $items;
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 3;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#backupRunsList`.
- * @type array<\Google\Cloud\Sql\V1\BackupRun>|\Google\Protobuf\Internal\RepeatedField $items
- * A list of backup runs in reverse chronological order of the enqueued time.
- * @type string $next_page_token
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlBackupRuns::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#backupRunsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#backupRunsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * A list of backup runs in reverse chronological order of the enqueued time.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.BackupRun items = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * A list of backup runs in reverse chronological order of the enqueued time.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.BackupRun items = 2;
- * @param array<\Google\Cloud\Sql\V1\BackupRun>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\BackupRun::class);
- $this->items = $arr;
-
- return $this;
- }
-
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 3;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 3;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BakType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BakType.php
deleted file mode 100644
index 490cd7ee7edb..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BakType.php
+++ /dev/null
@@ -1,66 +0,0 @@
-google.cloud.sql.v1.BakType
- */
-class BakType
-{
- /**
- * Default type.
- *
- * Generated from protobuf enum BAK_TYPE_UNSPECIFIED = 0;
- */
- const BAK_TYPE_UNSPECIFIED = 0;
- /**
- * Full backup.
- *
- * Generated from protobuf enum FULL = 1;
- */
- const FULL = 1;
- /**
- * Differential backup.
- *
- * Generated from protobuf enum DIFF = 2;
- */
- const DIFF = 2;
- /**
- * Transaction Log backup
- *
- * Generated from protobuf enum TLOG = 3;
- */
- const TLOG = 3;
-
- private static $valueToName = [
- self::BAK_TYPE_UNSPECIFIED => 'BAK_TYPE_UNSPECIFIED',
- self::FULL => 'FULL',
- self::DIFF => 'DIFF',
- self::TLOG => 'TLOG',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BinLogCoordinates.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BinLogCoordinates.php
deleted file mode 100644
index 0cbd09e04f0b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/BinLogCoordinates.php
+++ /dev/null
@@ -1,135 +0,0 @@
-google.cloud.sql.v1.BinLogCoordinates
- */
-class BinLogCoordinates extends \Google\Protobuf\Internal\Message
-{
- /**
- * Name of the binary log file for a Cloud SQL instance.
- *
- * Generated from protobuf field string bin_log_file_name = 1;
- */
- protected $bin_log_file_name = '';
- /**
- * Position (offset) within the binary log file.
- *
- * Generated from protobuf field int64 bin_log_position = 2;
- */
- protected $bin_log_position = 0;
- /**
- * This is always `sql#binLogCoordinates`.
- *
- * Generated from protobuf field string kind = 3;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $bin_log_file_name
- * Name of the binary log file for a Cloud SQL instance.
- * @type int|string $bin_log_position
- * Position (offset) within the binary log file.
- * @type string $kind
- * This is always `sql#binLogCoordinates`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Name of the binary log file for a Cloud SQL instance.
- *
- * Generated from protobuf field string bin_log_file_name = 1;
- * @return string
- */
- public function getBinLogFileName()
- {
- return $this->bin_log_file_name;
- }
-
- /**
- * Name of the binary log file for a Cloud SQL instance.
- *
- * Generated from protobuf field string bin_log_file_name = 1;
- * @param string $var
- * @return $this
- */
- public function setBinLogFileName($var)
- {
- GPBUtil::checkString($var, True);
- $this->bin_log_file_name = $var;
-
- return $this;
- }
-
- /**
- * Position (offset) within the binary log file.
- *
- * Generated from protobuf field int64 bin_log_position = 2;
- * @return int|string
- */
- public function getBinLogPosition()
- {
- return $this->bin_log_position;
- }
-
- /**
- * Position (offset) within the binary log file.
- *
- * Generated from protobuf field int64 bin_log_position = 2;
- * @param int|string $var
- * @return $this
- */
- public function setBinLogPosition($var)
- {
- GPBUtil::checkInt64($var);
- $this->bin_log_position = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#binLogCoordinates`.
- *
- * Generated from protobuf field string kind = 3;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#binLogCoordinates`.
- *
- * Generated from protobuf field string kind = 3;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/CloneContext.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/CloneContext.php
deleted file mode 100644
index c5263be341d6..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/CloneContext.php
+++ /dev/null
@@ -1,383 +0,0 @@
-google.cloud.sql.v1.CloneContext
- */
-class CloneContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#cloneContext`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Reserved for future use.
- *
- * Generated from protobuf field int64 pitr_timestamp_ms = 2;
- */
- protected $pitr_timestamp_ms = 0;
- /**
- * Name of the Cloud SQL instance to be created as a clone.
- *
- * Generated from protobuf field string destination_instance_name = 3;
- */
- protected $destination_instance_name = '';
- /**
- * Binary log coordinates, if specified, identify the position up to which the
- * source instance is cloned. If not specified, the source instance is
- * cloned up to the most recent binary log coordinates.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BinLogCoordinates bin_log_coordinates = 4;
- */
- protected $bin_log_coordinates = null;
- /**
- * Timestamp, if specified, identifies the time to which the source instance
- * is cloned.
- *
- * Generated from protobuf field .google.protobuf.Timestamp point_in_time = 5;
- */
- protected $point_in_time = null;
- /**
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the cloned instance
- * ip will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * [a-z]([-a-z0-9]*[a-z0-9])?.
- * Reserved for future use.
- *
- * Generated from protobuf field string allocated_ip_range = 6;
- */
- protected $allocated_ip_range = '';
- /**
- * (SQL Server only) Clone only the specified databases from the source
- * instance. Clone all databases if empty.
- *
- * Generated from protobuf field repeated string database_names = 9;
- */
- private $database_names;
- /**
- * Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance
- * in the specified zone. If no zone is specified, clone to the same zone as
- * the source instance.
- *
- * Generated from protobuf field optional string preferred_zone = 10 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $preferred_zone = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#cloneContext`.
- * @type int|string $pitr_timestamp_ms
- * Reserved for future use.
- * @type string $destination_instance_name
- * Name of the Cloud SQL instance to be created as a clone.
- * @type \Google\Cloud\Sql\V1\BinLogCoordinates $bin_log_coordinates
- * Binary log coordinates, if specified, identify the position up to which the
- * source instance is cloned. If not specified, the source instance is
- * cloned up to the most recent binary log coordinates.
- * @type \Google\Protobuf\Timestamp $point_in_time
- * Timestamp, if specified, identifies the time to which the source instance
- * is cloned.
- * @type string $allocated_ip_range
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the cloned instance
- * ip will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * [a-z]([-a-z0-9]*[a-z0-9])?.
- * Reserved for future use.
- * @type array|\Google\Protobuf\Internal\RepeatedField $database_names
- * (SQL Server only) Clone only the specified databases from the source
- * instance. Clone all databases if empty.
- * @type string $preferred_zone
- * Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance
- * in the specified zone. If no zone is specified, clone to the same zone as
- * the source instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#cloneContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#cloneContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Reserved for future use.
- *
- * Generated from protobuf field int64 pitr_timestamp_ms = 2;
- * @return int|string
- */
- public function getPitrTimestampMs()
- {
- return $this->pitr_timestamp_ms;
- }
-
- /**
- * Reserved for future use.
- *
- * Generated from protobuf field int64 pitr_timestamp_ms = 2;
- * @param int|string $var
- * @return $this
- */
- public function setPitrTimestampMs($var)
- {
- GPBUtil::checkInt64($var);
- $this->pitr_timestamp_ms = $var;
-
- return $this;
- }
-
- /**
- * Name of the Cloud SQL instance to be created as a clone.
- *
- * Generated from protobuf field string destination_instance_name = 3;
- * @return string
- */
- public function getDestinationInstanceName()
- {
- return $this->destination_instance_name;
- }
-
- /**
- * Name of the Cloud SQL instance to be created as a clone.
- *
- * Generated from protobuf field string destination_instance_name = 3;
- * @param string $var
- * @return $this
- */
- public function setDestinationInstanceName($var)
- {
- GPBUtil::checkString($var, True);
- $this->destination_instance_name = $var;
-
- return $this;
- }
-
- /**
- * Binary log coordinates, if specified, identify the position up to which the
- * source instance is cloned. If not specified, the source instance is
- * cloned up to the most recent binary log coordinates.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BinLogCoordinates bin_log_coordinates = 4;
- * @return \Google\Cloud\Sql\V1\BinLogCoordinates|null
- */
- public function getBinLogCoordinates()
- {
- return $this->bin_log_coordinates;
- }
-
- public function hasBinLogCoordinates()
- {
- return isset($this->bin_log_coordinates);
- }
-
- public function clearBinLogCoordinates()
- {
- unset($this->bin_log_coordinates);
- }
-
- /**
- * Binary log coordinates, if specified, identify the position up to which the
- * source instance is cloned. If not specified, the source instance is
- * cloned up to the most recent binary log coordinates.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BinLogCoordinates bin_log_coordinates = 4;
- * @param \Google\Cloud\Sql\V1\BinLogCoordinates $var
- * @return $this
- */
- public function setBinLogCoordinates($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\BinLogCoordinates::class);
- $this->bin_log_coordinates = $var;
-
- return $this;
- }
-
- /**
- * Timestamp, if specified, identifies the time to which the source instance
- * is cloned.
- *
- * Generated from protobuf field .google.protobuf.Timestamp point_in_time = 5;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getPointInTime()
- {
- return $this->point_in_time;
- }
-
- public function hasPointInTime()
- {
- return isset($this->point_in_time);
- }
-
- public function clearPointInTime()
- {
- unset($this->point_in_time);
- }
-
- /**
- * Timestamp, if specified, identifies the time to which the source instance
- * is cloned.
- *
- * Generated from protobuf field .google.protobuf.Timestamp point_in_time = 5;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setPointInTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->point_in_time = $var;
-
- return $this;
- }
-
- /**
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the cloned instance
- * ip will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * [a-z]([-a-z0-9]*[a-z0-9])?.
- * Reserved for future use.
- *
- * Generated from protobuf field string allocated_ip_range = 6;
- * @return string
- */
- public function getAllocatedIpRange()
- {
- return $this->allocated_ip_range;
- }
-
- /**
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the cloned instance
- * ip will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * [a-z]([-a-z0-9]*[a-z0-9])?.
- * Reserved for future use.
- *
- * Generated from protobuf field string allocated_ip_range = 6;
- * @param string $var
- * @return $this
- */
- public function setAllocatedIpRange($var)
- {
- GPBUtil::checkString($var, True);
- $this->allocated_ip_range = $var;
-
- return $this;
- }
-
- /**
- * (SQL Server only) Clone only the specified databases from the source
- * instance. Clone all databases if empty.
- *
- * Generated from protobuf field repeated string database_names = 9;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDatabaseNames()
- {
- return $this->database_names;
- }
-
- /**
- * (SQL Server only) Clone only the specified databases from the source
- * instance. Clone all databases if empty.
- *
- * Generated from protobuf field repeated string database_names = 9;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setDatabaseNames($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->database_names = $arr;
-
- return $this;
- }
-
- /**
- * Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance
- * in the specified zone. If no zone is specified, clone to the same zone as
- * the source instance.
- *
- * Generated from protobuf field optional string preferred_zone = 10 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getPreferredZone()
- {
- return isset($this->preferred_zone) ? $this->preferred_zone : '';
- }
-
- public function hasPreferredZone()
- {
- return isset($this->preferred_zone);
- }
-
- public function clearPreferredZone()
- {
- unset($this->preferred_zone);
- }
-
- /**
- * Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance
- * in the specified zone. If no zone is specified, clone to the same zone as
- * the source instance.
- *
- * Generated from protobuf field optional string preferred_zone = 10 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setPreferredZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->preferred_zone = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ConnectSettings.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ConnectSettings.php
deleted file mode 100644
index d99992870e13..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ConnectSettings.php
+++ /dev/null
@@ -1,371 +0,0 @@
-google.cloud.sql.v1.ConnectSettings
- */
-class ConnectSettings extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#connectSettings`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * SSL configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert server_ca_cert = 2;
- */
- protected $server_ca_cert = null;
- /**
- * The assigned IP addresses for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3;
- */
- private $ip_addresses;
- /**
- * The cloud region for the instance. For example, `us-central1`,
- * `europe-west1`. The region cannot be changed after instance creation.
- *
- * Generated from protobuf field string region = 4;
- */
- protected $region = '';
- /**
- * The database engine type and version. The `databaseVersion`
- * field cannot be changed after instance creation.
- * MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default),
- * or `MYSQL_5_6`.
- * PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11`, `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`.
- * SQL Server instances: `SQLSERVER_2017_STANDARD` (default),
- * `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`,
- * `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlDatabaseVersion database_version = 31;
- */
- protected $database_version = 0;
- /**
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackendType backend_type = 32;
- */
- protected $backend_type = 0;
- /**
- * Whether PSC connectivity is enabled for this instance.
- *
- * Generated from protobuf field bool psc_enabled = 33;
- */
- protected $psc_enabled = false;
- /**
- * The dns name of the instance.
- *
- * Generated from protobuf field string dns_name = 34;
- */
- protected $dns_name = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#connectSettings`.
- * @type \Google\Cloud\Sql\V1\SslCert $server_ca_cert
- * SSL configuration.
- * @type array<\Google\Cloud\Sql\V1\IpMapping>|\Google\Protobuf\Internal\RepeatedField $ip_addresses
- * The assigned IP addresses for the instance.
- * @type string $region
- * The cloud region for the instance. For example, `us-central1`,
- * `europe-west1`. The region cannot be changed after instance creation.
- * @type int $database_version
- * The database engine type and version. The `databaseVersion`
- * field cannot be changed after instance creation.
- * MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default),
- * or `MYSQL_5_6`.
- * PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11`, `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`.
- * SQL Server instances: `SQLSERVER_2017_STANDARD` (default),
- * `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`,
- * `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- * @type int $backend_type
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- * @type bool $psc_enabled
- * Whether PSC connectivity is enabled for this instance.
- * @type string $dns_name
- * The dns name of the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlConnect::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#connectSettings`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#connectSettings`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * SSL configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert server_ca_cert = 2;
- * @return \Google\Cloud\Sql\V1\SslCert|null
- */
- public function getServerCaCert()
- {
- return $this->server_ca_cert;
- }
-
- public function hasServerCaCert()
- {
- return isset($this->server_ca_cert);
- }
-
- public function clearServerCaCert()
- {
- unset($this->server_ca_cert);
- }
-
- /**
- * SSL configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert server_ca_cert = 2;
- * @param \Google\Cloud\Sql\V1\SslCert $var
- * @return $this
- */
- public function setServerCaCert($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SslCert::class);
- $this->server_ca_cert = $var;
-
- return $this;
- }
-
- /**
- * The assigned IP addresses for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getIpAddresses()
- {
- return $this->ip_addresses;
- }
-
- /**
- * The assigned IP addresses for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3;
- * @param array<\Google\Cloud\Sql\V1\IpMapping>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setIpAddresses($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\IpMapping::class);
- $this->ip_addresses = $arr;
-
- return $this;
- }
-
- /**
- * The cloud region for the instance. For example, `us-central1`,
- * `europe-west1`. The region cannot be changed after instance creation.
- *
- * Generated from protobuf field string region = 4;
- * @return string
- */
- public function getRegion()
- {
- return $this->region;
- }
-
- /**
- * The cloud region for the instance. For example, `us-central1`,
- * `europe-west1`. The region cannot be changed after instance creation.
- *
- * Generated from protobuf field string region = 4;
- * @param string $var
- * @return $this
- */
- public function setRegion($var)
- {
- GPBUtil::checkString($var, True);
- $this->region = $var;
-
- return $this;
- }
-
- /**
- * The database engine type and version. The `databaseVersion`
- * field cannot be changed after instance creation.
- * MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default),
- * or `MYSQL_5_6`.
- * PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11`, `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`.
- * SQL Server instances: `SQLSERVER_2017_STANDARD` (default),
- * `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`,
- * `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlDatabaseVersion database_version = 31;
- * @return int
- */
- public function getDatabaseVersion()
- {
- return $this->database_version;
- }
-
- /**
- * The database engine type and version. The `databaseVersion`
- * field cannot be changed after instance creation.
- * MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default),
- * or `MYSQL_5_6`.
- * PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11`, `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`.
- * SQL Server instances: `SQLSERVER_2017_STANDARD` (default),
- * `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`,
- * `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlDatabaseVersion database_version = 31;
- * @param int $var
- * @return $this
- */
- public function setDatabaseVersion($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlDatabaseVersion::class);
- $this->database_version = $var;
-
- return $this;
- }
-
- /**
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackendType backend_type = 32;
- * @return int
- */
- public function getBackendType()
- {
- return $this->backend_type;
- }
-
- /**
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackendType backend_type = 32;
- * @param int $var
- * @return $this
- */
- public function setBackendType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlBackendType::class);
- $this->backend_type = $var;
-
- return $this;
- }
-
- /**
- * Whether PSC connectivity is enabled for this instance.
- *
- * Generated from protobuf field bool psc_enabled = 33;
- * @return bool
- */
- public function getPscEnabled()
- {
- return $this->psc_enabled;
- }
-
- /**
- * Whether PSC connectivity is enabled for this instance.
- *
- * Generated from protobuf field bool psc_enabled = 33;
- * @param bool $var
- * @return $this
- */
- public function setPscEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->psc_enabled = $var;
-
- return $this;
- }
-
- /**
- * The dns name of the instance.
- *
- * Generated from protobuf field string dns_name = 34;
- * @return string
- */
- public function getDnsName()
- {
- return $this->dns_name;
- }
-
- /**
- * The dns name of the instance.
- *
- * Generated from protobuf field string dns_name = 34;
- * @param string $var
- * @return $this
- */
- public function setDnsName($var)
- {
- GPBUtil::checkString($var, True);
- $this->dns_name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DataCacheConfig.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DataCacheConfig.php
deleted file mode 100644
index 64063925f8c6..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DataCacheConfig.php
+++ /dev/null
@@ -1,67 +0,0 @@
-google.cloud.sql.v1.DataCacheConfig
- */
-class DataCacheConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Whether data cache is enabled for the instance.
- *
- * Generated from protobuf field bool data_cache_enabled = 1;
- */
- protected $data_cache_enabled = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $data_cache_enabled
- * Whether data cache is enabled for the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Whether data cache is enabled for the instance.
- *
- * Generated from protobuf field bool data_cache_enabled = 1;
- * @return bool
- */
- public function getDataCacheEnabled()
- {
- return $this->data_cache_enabled;
- }
-
- /**
- * Whether data cache is enabled for the instance.
- *
- * Generated from protobuf field bool data_cache_enabled = 1;
- * @param bool $var
- * @return $this
- */
- public function setDataCacheEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->data_cache_enabled = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Database.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Database.php
deleted file mode 100644
index 820ce4a13ffe..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Database.php
+++ /dev/null
@@ -1,354 +0,0 @@
-google.cloud.sql.v1.Database
- */
-class Database extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#database`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The Cloud SQL charset value.
- *
- * Generated from protobuf field string charset = 2;
- */
- protected $charset = '';
- /**
- * The Cloud SQL collation value.
- *
- * Generated from protobuf field string collation = 3;
- */
- protected $collation = '';
- /**
- * This field is deprecated and will be removed from a future version of the
- * API.
- *
- * Generated from protobuf field string etag = 4;
- */
- protected $etag = '';
- /**
- * The name of the database in the Cloud SQL instance. This does not include
- * the project ID or instance name.
- *
- * Generated from protobuf field string name = 5;
- */
- protected $name = '';
- /**
- * The name of the Cloud SQL instance. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 6;
- */
- protected $instance = '';
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 7;
- */
- protected $self_link = '';
- /**
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable.
- *
- * Generated from protobuf field string project = 8;
- */
- protected $project = '';
- protected $database_details;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#database`.
- * @type string $charset
- * The Cloud SQL charset value.
- * @type string $collation
- * The Cloud SQL collation value.
- * @type string $etag
- * This field is deprecated and will be removed from a future version of the
- * API.
- * @type string $name
- * The name of the database in the Cloud SQL instance. This does not include
- * the project ID or instance name.
- * @type string $instance
- * The name of the Cloud SQL instance. This does not include the project ID.
- * @type string $self_link
- * The URI of this resource.
- * @type string $project
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable.
- * @type \Google\Cloud\Sql\V1\SqlServerDatabaseDetails $sqlserver_database_details
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#database`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#database`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The Cloud SQL charset value.
- *
- * Generated from protobuf field string charset = 2;
- * @return string
- */
- public function getCharset()
- {
- return $this->charset;
- }
-
- /**
- * The Cloud SQL charset value.
- *
- * Generated from protobuf field string charset = 2;
- * @param string $var
- * @return $this
- */
- public function setCharset($var)
- {
- GPBUtil::checkString($var, True);
- $this->charset = $var;
-
- return $this;
- }
-
- /**
- * The Cloud SQL collation value.
- *
- * Generated from protobuf field string collation = 3;
- * @return string
- */
- public function getCollation()
- {
- return $this->collation;
- }
-
- /**
- * The Cloud SQL collation value.
- *
- * Generated from protobuf field string collation = 3;
- * @param string $var
- * @return $this
- */
- public function setCollation($var)
- {
- GPBUtil::checkString($var, True);
- $this->collation = $var;
-
- return $this;
- }
-
- /**
- * This field is deprecated and will be removed from a future version of the
- * API.
- *
- * Generated from protobuf field string etag = 4;
- * @return string
- */
- public function getEtag()
- {
- return $this->etag;
- }
-
- /**
- * This field is deprecated and will be removed from a future version of the
- * API.
- *
- * Generated from protobuf field string etag = 4;
- * @param string $var
- * @return $this
- */
- public function setEtag($var)
- {
- GPBUtil::checkString($var, True);
- $this->etag = $var;
-
- return $this;
- }
-
- /**
- * The name of the database in the Cloud SQL instance. This does not include
- * the project ID or instance name.
- *
- * Generated from protobuf field string name = 5;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the database in the Cloud SQL instance. This does not include
- * the project ID or instance name.
- *
- * Generated from protobuf field string name = 5;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The name of the Cloud SQL instance. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 6;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * The name of the Cloud SQL instance. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 6;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 7;
- * @return string
- */
- public function getSelfLink()
- {
- return $this->self_link;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 7;
- * @param string $var
- * @return $this
- */
- public function setSelfLink($var)
- {
- GPBUtil::checkString($var, True);
- $this->self_link = $var;
-
- return $this;
- }
-
- /**
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable.
- *
- * Generated from protobuf field string project = 8;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable.
- *
- * Generated from protobuf field string project = 8;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.SqlServerDatabaseDetails sqlserver_database_details = 9;
- * @return \Google\Cloud\Sql\V1\SqlServerDatabaseDetails|null
- */
- public function getSqlserverDatabaseDetails()
- {
- return $this->readOneof(9);
- }
-
- public function hasSqlserverDatabaseDetails()
- {
- return $this->hasOneof(9);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.SqlServerDatabaseDetails sqlserver_database_details = 9;
- * @param \Google\Cloud\Sql\V1\SqlServerDatabaseDetails $var
- * @return $this
- */
- public function setSqlserverDatabaseDetails($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SqlServerDatabaseDetails::class);
- $this->writeOneof(9, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getDatabaseDetails()
- {
- return $this->whichOneof("database_details");
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseFlags.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseFlags.php
deleted file mode 100644
index 6ff8e5bfce63..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseFlags.php
+++ /dev/null
@@ -1,125 +0,0 @@
-google.cloud.sql.v1.DatabaseFlags
- */
-class DatabaseFlags extends \Google\Protobuf\Internal\Message
-{
- /**
- * The name of the flag. These flags are passed at instance startup, so
- * include both server options and system variables. Flags are
- * specified with underscores, not hyphens. For more information, see
- * [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags)
- * in the Cloud SQL documentation.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The value of the flag. Boolean flags are set to `on` for true
- * and `off` for false. This field must be omitted if the flag
- * doesn't take a value.
- *
- * Generated from protobuf field string value = 2;
- */
- protected $value = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The name of the flag. These flags are passed at instance startup, so
- * include both server options and system variables. Flags are
- * specified with underscores, not hyphens. For more information, see
- * [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags)
- * in the Cloud SQL documentation.
- * @type string $value
- * The value of the flag. Boolean flags are set to `on` for true
- * and `off` for false. This field must be omitted if the flag
- * doesn't take a value.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The name of the flag. These flags are passed at instance startup, so
- * include both server options and system variables. Flags are
- * specified with underscores, not hyphens. For more information, see
- * [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags)
- * in the Cloud SQL documentation.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the flag. These flags are passed at instance startup, so
- * include both server options and system variables. Flags are
- * specified with underscores, not hyphens. For more information, see
- * [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags)
- * in the Cloud SQL documentation.
- *
- * Generated from protobuf field string name = 1;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The value of the flag. Boolean flags are set to `on` for true
- * and `off` for false. This field must be omitted if the flag
- * doesn't take a value.
- *
- * Generated from protobuf field string value = 2;
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The value of the flag. Boolean flags are set to `on` for true
- * and `off` for false. This field must be omitted if the flag
- * doesn't take a value.
- *
- * Generated from protobuf field string value = 2;
- * @param string $var
- * @return $this
- */
- public function setValue($var)
- {
- GPBUtil::checkString($var, True);
- $this->value = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance.php
deleted file mode 100644
index 1d2737cd6b43..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance.php
+++ /dev/null
@@ -1,1965 +0,0 @@
-google.cloud.sql.v1.DatabaseInstance
- */
-class DatabaseInstance extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#instance`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The current serving state of the Cloud SQL instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance.SqlInstanceState state = 2;
- */
- protected $state = 0;
- /**
- * The database engine type and version. The `databaseVersion` field cannot
- * be changed after instance creation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlDatabaseVersion database_version = 3;
- */
- protected $database_version = 0;
- /**
- * The user settings.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Settings settings = 4;
- */
- protected $settings = null;
- /**
- * This field is deprecated and will be removed from a future version of the
- * API. Use the `settings.settingsVersion` field instead.
- *
- * Generated from protobuf field string etag = 5;
- */
- protected $etag = '';
- /**
- * The name and status of the failover replica.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance.SqlFailoverReplica failover_replica = 6;
- */
- protected $failover_replica = null;
- /**
- * The name of the instance which will act as primary in the replication
- * setup.
- *
- * Generated from protobuf field string master_instance_name = 7;
- */
- protected $master_instance_name = '';
- /**
- * The replicas of the instance.
- *
- * Generated from protobuf field repeated string replica_names = 8;
- */
- private $replica_names;
- /**
- * The maximum disk size of the instance in bytes.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_disk_size = 9 [deprecated = true];
- * @deprecated
- */
- protected $max_disk_size = null;
- /**
- * The current disk usage of the instance in bytes. This property has been
- * deprecated. Use the
- * "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
- * Monitoring API instead. Please see [this
- * announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ)
- * for details.
- *
- * Generated from protobuf field .google.protobuf.Int64Value current_disk_size = 10 [deprecated = true];
- * @deprecated
- */
- protected $current_disk_size = null;
- /**
- * The assigned IP addresses for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.IpMapping ip_addresses = 11;
- */
- private $ip_addresses;
- /**
- * SSL configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert server_ca_cert = 12;
- */
- protected $server_ca_cert = null;
- /**
- * The instance type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstanceType instance_type = 13;
- */
- protected $instance_type = 0;
- /**
- * The project ID of the project containing the Cloud SQL instance. The Google
- * apps domain is prefixed if applicable.
- *
- * Generated from protobuf field string project = 14;
- */
- protected $project = '';
- /**
- * The IPv6 address assigned to the instance.
- * (Deprecated) This property was applicable only
- * to First Generation instances.
- *
- * Generated from protobuf field string ipv6_address = 15 [deprecated = true];
- * @deprecated
- */
- protected $ipv6_address = '';
- /**
- * The service account email address assigned to the instance.\This
- * property is read-only.
- *
- * Generated from protobuf field string service_account_email_address = 16;
- */
- protected $service_account_email_address = '';
- /**
- * Configuration specific to on-premises instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.OnPremisesConfiguration on_premises_configuration = 17;
- */
- protected $on_premises_configuration = null;
- /**
- * Configuration specific to failover replicas and read replicas.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ReplicaConfiguration replica_configuration = 18;
- */
- protected $replica_configuration = null;
- /**
- * The backend type.
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackendType backend_type = 19;
- */
- protected $backend_type = 0;
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 20;
- */
- protected $self_link = '';
- /**
- * If the instance state is SUSPENDED, the reason for the suspension.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SqlSuspensionReason suspension_reason = 21;
- */
- private $suspension_reason;
- /**
- * Connection name of the Cloud SQL instance used in connection strings.
- *
- * Generated from protobuf field string connection_name = 22;
- */
- protected $connection_name = '';
- /**
- * Name of the Cloud SQL instance. This does not include the project ID.
- *
- * Generated from protobuf field string name = 23;
- */
- protected $name = '';
- /**
- * The geographical region of the Cloud SQL instance.
- * It can be one of the
- * [regions](https://cloud.google.com/sql/docs/mysql/locations#location-r)
- * where Cloud SQL operates:
- * For example, `asia-east1`, `europe-west1`, and `us-central1`.
- * The default value is `us-central1`.
- *
- * Generated from protobuf field string region = 24;
- */
- protected $region = '';
- /**
- * The Compute Engine zone that the instance is currently serving from. This
- * value could be different from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary zone. WARNING:
- * Changing this might restart the instance.
- *
- * Generated from protobuf field string gce_zone = 25;
- */
- protected $gce_zone = '';
- /**
- * The Compute Engine zone that the failover instance is currently serving
- * from for a regional instance. This value could be different
- * from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary/failover zone.
- *
- * Generated from protobuf field string secondary_gce_zone = 34;
- */
- protected $secondary_gce_zone = '';
- /**
- * Disk encryption configuration specific to an instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DiskEncryptionConfiguration disk_encryption_configuration = 26;
- */
- protected $disk_encryption_configuration = null;
- /**
- * Disk encryption status specific to an instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DiskEncryptionStatus disk_encryption_status = 27;
- */
- protected $disk_encryption_status = null;
- /**
- * Initial root password. Use only on creation. You must set root passwords
- * before you can connect to PostgreSQL instances.
- *
- * Generated from protobuf field string root_password = 29;
- */
- protected $root_password = '';
- /**
- * The start time of any upcoming scheduled maintenance for this instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance.SqlScheduledMaintenance scheduled_maintenance = 30;
- */
- protected $scheduled_maintenance = null;
- /**
- * The status indicating if instance satisfiesPzs.
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue satisfies_pzs = 35;
- */
- protected $satisfies_pzs = null;
- /**
- * Output only. Stores the current database version running on the instance
- * including minor version such as `MYSQL_8_0_18`.
- *
- * Generated from protobuf field string database_installed_version = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $database_installed_version = '';
- /**
- * This field represents the report generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.DatabaseInstance.SqlOutOfDiskReport out_of_disk_report = 38;
- */
- protected $out_of_disk_report = null;
- /**
- * Output only. The time when the instance was created in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $create_time = null;
- /**
- * Output only. List all maintenance versions applicable on the instance
- *
- * Generated from protobuf field repeated string available_maintenance_versions = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- private $available_maintenance_versions;
- /**
- * The current software version on the instance.
- *
- * Generated from protobuf field string maintenance_version = 42;
- */
- protected $maintenance_version = '';
- /**
- * Generated from protobuf field optional .google.cloud.sql.v1.DatabaseInstance.SqlNetworkArchitecture sql_network_architecture = 47;
- */
- protected $sql_network_architecture = null;
- /**
- * Output only. The link to service attachment of PSC instance.
- *
- * Generated from protobuf field optional string psc_service_attachment_link = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $psc_service_attachment_link = null;
- /**
- * Output only. The dns name of the instance.
- *
- * Generated from protobuf field optional string dns_name = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $dns_name = null;
- /**
- * Output only. DEPRECATED: please use write_endpoint instead.
- *
- * Generated from protobuf field optional string primary_dns_name = 51 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
- * @deprecated
- */
- protected $primary_dns_name = null;
- /**
- * Output only. The dns name of the primary instance in a replication group.
- *
- * Generated from protobuf field optional string write_endpoint = 52 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $write_endpoint = null;
- /**
- * Optional. The pair of a primary instance and disaster recovery (DR)
- * replica. A DR replica is a cross-region replica that you designate for
- * failover in the event that the primary instance has regional failure.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ReplicationCluster replication_cluster = 54 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $replication_cluster = null;
- /**
- * Gemini configuration.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.GeminiInstanceConfig gemini_config = 55;
- */
- protected $gemini_config = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#instance`.
- * @type int $state
- * The current serving state of the Cloud SQL instance.
- * @type int $database_version
- * The database engine type and version. The `databaseVersion` field cannot
- * be changed after instance creation.
- * @type \Google\Cloud\Sql\V1\Settings $settings
- * The user settings.
- * @type string $etag
- * This field is deprecated and will be removed from a future version of the
- * API. Use the `settings.settingsVersion` field instead.
- * @type \Google\Cloud\Sql\V1\DatabaseInstance\SqlFailoverReplica $failover_replica
- * The name and status of the failover replica.
- * @type string $master_instance_name
- * The name of the instance which will act as primary in the replication
- * setup.
- * @type array|\Google\Protobuf\Internal\RepeatedField $replica_names
- * The replicas of the instance.
- * @type \Google\Protobuf\Int64Value $max_disk_size
- * The maximum disk size of the instance in bytes.
- * @type \Google\Protobuf\Int64Value $current_disk_size
- * The current disk usage of the instance in bytes. This property has been
- * deprecated. Use the
- * "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
- * Monitoring API instead. Please see [this
- * announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ)
- * for details.
- * @type array<\Google\Cloud\Sql\V1\IpMapping>|\Google\Protobuf\Internal\RepeatedField $ip_addresses
- * The assigned IP addresses for the instance.
- * @type \Google\Cloud\Sql\V1\SslCert $server_ca_cert
- * SSL configuration.
- * @type int $instance_type
- * The instance type.
- * @type string $project
- * The project ID of the project containing the Cloud SQL instance. The Google
- * apps domain is prefixed if applicable.
- * @type string $ipv6_address
- * The IPv6 address assigned to the instance.
- * (Deprecated) This property was applicable only
- * to First Generation instances.
- * @type string $service_account_email_address
- * The service account email address assigned to the instance.\This
- * property is read-only.
- * @type \Google\Cloud\Sql\V1\OnPremisesConfiguration $on_premises_configuration
- * Configuration specific to on-premises instances.
- * @type \Google\Cloud\Sql\V1\ReplicaConfiguration $replica_configuration
- * Configuration specific to failover replicas and read replicas.
- * @type int $backend_type
- * The backend type.
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- * @type string $self_link
- * The URI of this resource.
- * @type array|\Google\Protobuf\Internal\RepeatedField $suspension_reason
- * If the instance state is SUSPENDED, the reason for the suspension.
- * @type string $connection_name
- * Connection name of the Cloud SQL instance used in connection strings.
- * @type string $name
- * Name of the Cloud SQL instance. This does not include the project ID.
- * @type string $region
- * The geographical region of the Cloud SQL instance.
- * It can be one of the
- * [regions](https://cloud.google.com/sql/docs/mysql/locations#location-r)
- * where Cloud SQL operates:
- * For example, `asia-east1`, `europe-west1`, and `us-central1`.
- * The default value is `us-central1`.
- * @type string $gce_zone
- * The Compute Engine zone that the instance is currently serving from. This
- * value could be different from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary zone. WARNING:
- * Changing this might restart the instance.
- * @type string $secondary_gce_zone
- * The Compute Engine zone that the failover instance is currently serving
- * from for a regional instance. This value could be different
- * from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary/failover zone.
- * @type \Google\Cloud\Sql\V1\DiskEncryptionConfiguration $disk_encryption_configuration
- * Disk encryption configuration specific to an instance.
- * @type \Google\Cloud\Sql\V1\DiskEncryptionStatus $disk_encryption_status
- * Disk encryption status specific to an instance.
- * @type string $root_password
- * Initial root password. Use only on creation. You must set root passwords
- * before you can connect to PostgreSQL instances.
- * @type \Google\Cloud\Sql\V1\DatabaseInstance\SqlScheduledMaintenance $scheduled_maintenance
- * The start time of any upcoming scheduled maintenance for this instance.
- * @type \Google\Protobuf\BoolValue $satisfies_pzs
- * The status indicating if instance satisfiesPzs.
- * Reserved for future use.
- * @type string $database_installed_version
- * Output only. Stores the current database version running on the instance
- * including minor version such as `MYSQL_8_0_18`.
- * @type \Google\Cloud\Sql\V1\DatabaseInstance\SqlOutOfDiskReport $out_of_disk_report
- * This field represents the report generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- * @type \Google\Protobuf\Timestamp $create_time
- * Output only. The time when the instance was created in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type array|\Google\Protobuf\Internal\RepeatedField $available_maintenance_versions
- * Output only. List all maintenance versions applicable on the instance
- * @type string $maintenance_version
- * The current software version on the instance.
- * @type int $sql_network_architecture
- * @type string $psc_service_attachment_link
- * Output only. The link to service attachment of PSC instance.
- * @type string $dns_name
- * Output only. The dns name of the instance.
- * @type string $primary_dns_name
- * Output only. DEPRECATED: please use write_endpoint instead.
- * @type string $write_endpoint
- * Output only. The dns name of the primary instance in a replication group.
- * @type \Google\Cloud\Sql\V1\ReplicationCluster $replication_cluster
- * Optional. The pair of a primary instance and disaster recovery (DR)
- * replica. A DR replica is a cross-region replica that you designate for
- * failover in the event that the primary instance has regional failure.
- * @type \Google\Cloud\Sql\V1\GeminiInstanceConfig $gemini_config
- * Gemini configuration.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#instance`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#instance`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The current serving state of the Cloud SQL instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance.SqlInstanceState state = 2;
- * @return int
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * The current serving state of the Cloud SQL instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance.SqlInstanceState state = 2;
- * @param int $var
- * @return $this
- */
- public function setState($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\DatabaseInstance\SqlInstanceState::class);
- $this->state = $var;
-
- return $this;
- }
-
- /**
- * The database engine type and version. The `databaseVersion` field cannot
- * be changed after instance creation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlDatabaseVersion database_version = 3;
- * @return int
- */
- public function getDatabaseVersion()
- {
- return $this->database_version;
- }
-
- /**
- * The database engine type and version. The `databaseVersion` field cannot
- * be changed after instance creation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlDatabaseVersion database_version = 3;
- * @param int $var
- * @return $this
- */
- public function setDatabaseVersion($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlDatabaseVersion::class);
- $this->database_version = $var;
-
- return $this;
- }
-
- /**
- * The user settings.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Settings settings = 4;
- * @return \Google\Cloud\Sql\V1\Settings|null
- */
- public function getSettings()
- {
- return $this->settings;
- }
-
- public function hasSettings()
- {
- return isset($this->settings);
- }
-
- public function clearSettings()
- {
- unset($this->settings);
- }
-
- /**
- * The user settings.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Settings settings = 4;
- * @param \Google\Cloud\Sql\V1\Settings $var
- * @return $this
- */
- public function setSettings($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\Settings::class);
- $this->settings = $var;
-
- return $this;
- }
-
- /**
- * This field is deprecated and will be removed from a future version of the
- * API. Use the `settings.settingsVersion` field instead.
- *
- * Generated from protobuf field string etag = 5;
- * @return string
- */
- public function getEtag()
- {
- return $this->etag;
- }
-
- /**
- * This field is deprecated and will be removed from a future version of the
- * API. Use the `settings.settingsVersion` field instead.
- *
- * Generated from protobuf field string etag = 5;
- * @param string $var
- * @return $this
- */
- public function setEtag($var)
- {
- GPBUtil::checkString($var, True);
- $this->etag = $var;
-
- return $this;
- }
-
- /**
- * The name and status of the failover replica.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance.SqlFailoverReplica failover_replica = 6;
- * @return \Google\Cloud\Sql\V1\DatabaseInstance\SqlFailoverReplica|null
- */
- public function getFailoverReplica()
- {
- return $this->failover_replica;
- }
-
- public function hasFailoverReplica()
- {
- return isset($this->failover_replica);
- }
-
- public function clearFailoverReplica()
- {
- unset($this->failover_replica);
- }
-
- /**
- * The name and status of the failover replica.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance.SqlFailoverReplica failover_replica = 6;
- * @param \Google\Cloud\Sql\V1\DatabaseInstance\SqlFailoverReplica $var
- * @return $this
- */
- public function setFailoverReplica($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DatabaseInstance\SqlFailoverReplica::class);
- $this->failover_replica = $var;
-
- return $this;
- }
-
- /**
- * The name of the instance which will act as primary in the replication
- * setup.
- *
- * Generated from protobuf field string master_instance_name = 7;
- * @return string
- */
- public function getMasterInstanceName()
- {
- return $this->master_instance_name;
- }
-
- /**
- * The name of the instance which will act as primary in the replication
- * setup.
- *
- * Generated from protobuf field string master_instance_name = 7;
- * @param string $var
- * @return $this
- */
- public function setMasterInstanceName($var)
- {
- GPBUtil::checkString($var, True);
- $this->master_instance_name = $var;
-
- return $this;
- }
-
- /**
- * The replicas of the instance.
- *
- * Generated from protobuf field repeated string replica_names = 8;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getReplicaNames()
- {
- return $this->replica_names;
- }
-
- /**
- * The replicas of the instance.
- *
- * Generated from protobuf field repeated string replica_names = 8;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setReplicaNames($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->replica_names = $arr;
-
- return $this;
- }
-
- /**
- * The maximum disk size of the instance in bytes.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_disk_size = 9 [deprecated = true];
- * @return \Google\Protobuf\Int64Value|null
- * @deprecated
- */
- public function getMaxDiskSize()
- {
- @trigger_error('max_disk_size is deprecated.', E_USER_DEPRECATED);
- return $this->max_disk_size;
- }
-
- public function hasMaxDiskSize()
- {
- @trigger_error('max_disk_size is deprecated.', E_USER_DEPRECATED);
- return isset($this->max_disk_size);
- }
-
- public function clearMaxDiskSize()
- {
- @trigger_error('max_disk_size is deprecated.', E_USER_DEPRECATED);
- unset($this->max_disk_size);
- }
-
- /**
- * Returns the unboxed value from getMaxDiskSize()
-
- * The maximum disk size of the instance in bytes.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_disk_size = 9 [deprecated = true];
- * @return int|string|null
- */
- public function getMaxDiskSizeUnwrapped()
- {
- @trigger_error('max_disk_size is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("max_disk_size");
- }
-
- /**
- * The maximum disk size of the instance in bytes.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_disk_size = 9 [deprecated = true];
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- * @deprecated
- */
- public function setMaxDiskSize($var)
- {
- @trigger_error('max_disk_size is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->max_disk_size = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * The maximum disk size of the instance in bytes.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_disk_size = 9 [deprecated = true];
- * @param int|string|null $var
- * @return $this
- */
- public function setMaxDiskSizeUnwrapped($var)
- {
- $this->writeWrapperValue("max_disk_size", $var);
- return $this;}
-
- /**
- * The current disk usage of the instance in bytes. This property has been
- * deprecated. Use the
- * "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
- * Monitoring API instead. Please see [this
- * announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ)
- * for details.
- *
- * Generated from protobuf field .google.protobuf.Int64Value current_disk_size = 10 [deprecated = true];
- * @return \Google\Protobuf\Int64Value|null
- * @deprecated
- */
- public function getCurrentDiskSize()
- {
- @trigger_error('current_disk_size is deprecated.', E_USER_DEPRECATED);
- return $this->current_disk_size;
- }
-
- public function hasCurrentDiskSize()
- {
- @trigger_error('current_disk_size is deprecated.', E_USER_DEPRECATED);
- return isset($this->current_disk_size);
- }
-
- public function clearCurrentDiskSize()
- {
- @trigger_error('current_disk_size is deprecated.', E_USER_DEPRECATED);
- unset($this->current_disk_size);
- }
-
- /**
- * Returns the unboxed value from getCurrentDiskSize()
-
- * The current disk usage of the instance in bytes. This property has been
- * deprecated. Use the
- * "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
- * Monitoring API instead. Please see [this
- * announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ)
- * for details.
- *
- * Generated from protobuf field .google.protobuf.Int64Value current_disk_size = 10 [deprecated = true];
- * @return int|string|null
- */
- public function getCurrentDiskSizeUnwrapped()
- {
- @trigger_error('current_disk_size is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("current_disk_size");
- }
-
- /**
- * The current disk usage of the instance in bytes. This property has been
- * deprecated. Use the
- * "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
- * Monitoring API instead. Please see [this
- * announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ)
- * for details.
- *
- * Generated from protobuf field .google.protobuf.Int64Value current_disk_size = 10 [deprecated = true];
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- * @deprecated
- */
- public function setCurrentDiskSize($var)
- {
- @trigger_error('current_disk_size is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->current_disk_size = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * The current disk usage of the instance in bytes. This property has been
- * deprecated. Use the
- * "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
- * Monitoring API instead. Please see [this
- * announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ)
- * for details.
- *
- * Generated from protobuf field .google.protobuf.Int64Value current_disk_size = 10 [deprecated = true];
- * @param int|string|null $var
- * @return $this
- */
- public function setCurrentDiskSizeUnwrapped($var)
- {
- $this->writeWrapperValue("current_disk_size", $var);
- return $this;}
-
- /**
- * The assigned IP addresses for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.IpMapping ip_addresses = 11;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getIpAddresses()
- {
- return $this->ip_addresses;
- }
-
- /**
- * The assigned IP addresses for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.IpMapping ip_addresses = 11;
- * @param array<\Google\Cloud\Sql\V1\IpMapping>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setIpAddresses($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\IpMapping::class);
- $this->ip_addresses = $arr;
-
- return $this;
- }
-
- /**
- * SSL configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert server_ca_cert = 12;
- * @return \Google\Cloud\Sql\V1\SslCert|null
- */
- public function getServerCaCert()
- {
- return $this->server_ca_cert;
- }
-
- public function hasServerCaCert()
- {
- return isset($this->server_ca_cert);
- }
-
- public function clearServerCaCert()
- {
- unset($this->server_ca_cert);
- }
-
- /**
- * SSL configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert server_ca_cert = 12;
- * @param \Google\Cloud\Sql\V1\SslCert $var
- * @return $this
- */
- public function setServerCaCert($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SslCert::class);
- $this->server_ca_cert = $var;
-
- return $this;
- }
-
- /**
- * The instance type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstanceType instance_type = 13;
- * @return int
- */
- public function getInstanceType()
- {
- return $this->instance_type;
- }
-
- /**
- * The instance type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstanceType instance_type = 13;
- * @param int $var
- * @return $this
- */
- public function setInstanceType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlInstanceType::class);
- $this->instance_type = $var;
-
- return $this;
- }
-
- /**
- * The project ID of the project containing the Cloud SQL instance. The Google
- * apps domain is prefixed if applicable.
- *
- * Generated from protobuf field string project = 14;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * The project ID of the project containing the Cloud SQL instance. The Google
- * apps domain is prefixed if applicable.
- *
- * Generated from protobuf field string project = 14;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * The IPv6 address assigned to the instance.
- * (Deprecated) This property was applicable only
- * to First Generation instances.
- *
- * Generated from protobuf field string ipv6_address = 15 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getIpv6Address()
- {
- @trigger_error('ipv6_address is deprecated.', E_USER_DEPRECATED);
- return $this->ipv6_address;
- }
-
- /**
- * The IPv6 address assigned to the instance.
- * (Deprecated) This property was applicable only
- * to First Generation instances.
- *
- * Generated from protobuf field string ipv6_address = 15 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setIpv6Address($var)
- {
- @trigger_error('ipv6_address is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->ipv6_address = $var;
-
- return $this;
- }
-
- /**
- * The service account email address assigned to the instance.\This
- * property is read-only.
- *
- * Generated from protobuf field string service_account_email_address = 16;
- * @return string
- */
- public function getServiceAccountEmailAddress()
- {
- return $this->service_account_email_address;
- }
-
- /**
- * The service account email address assigned to the instance.\This
- * property is read-only.
- *
- * Generated from protobuf field string service_account_email_address = 16;
- * @param string $var
- * @return $this
- */
- public function setServiceAccountEmailAddress($var)
- {
- GPBUtil::checkString($var, True);
- $this->service_account_email_address = $var;
-
- return $this;
- }
-
- /**
- * Configuration specific to on-premises instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.OnPremisesConfiguration on_premises_configuration = 17;
- * @return \Google\Cloud\Sql\V1\OnPremisesConfiguration|null
- */
- public function getOnPremisesConfiguration()
- {
- return $this->on_premises_configuration;
- }
-
- public function hasOnPremisesConfiguration()
- {
- return isset($this->on_premises_configuration);
- }
-
- public function clearOnPremisesConfiguration()
- {
- unset($this->on_premises_configuration);
- }
-
- /**
- * Configuration specific to on-premises instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.OnPremisesConfiguration on_premises_configuration = 17;
- * @param \Google\Cloud\Sql\V1\OnPremisesConfiguration $var
- * @return $this
- */
- public function setOnPremisesConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\OnPremisesConfiguration::class);
- $this->on_premises_configuration = $var;
-
- return $this;
- }
-
- /**
- * Configuration specific to failover replicas and read replicas.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ReplicaConfiguration replica_configuration = 18;
- * @return \Google\Cloud\Sql\V1\ReplicaConfiguration|null
- */
- public function getReplicaConfiguration()
- {
- return $this->replica_configuration;
- }
-
- public function hasReplicaConfiguration()
- {
- return isset($this->replica_configuration);
- }
-
- public function clearReplicaConfiguration()
- {
- unset($this->replica_configuration);
- }
-
- /**
- * Configuration specific to failover replicas and read replicas.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ReplicaConfiguration replica_configuration = 18;
- * @param \Google\Cloud\Sql\V1\ReplicaConfiguration $var
- * @return $this
- */
- public function setReplicaConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ReplicaConfiguration::class);
- $this->replica_configuration = $var;
-
- return $this;
- }
-
- /**
- * The backend type.
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackendType backend_type = 19;
- * @return int
- */
- public function getBackendType()
- {
- return $this->backend_type;
- }
-
- /**
- * The backend type.
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlBackendType backend_type = 19;
- * @param int $var
- * @return $this
- */
- public function setBackendType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlBackendType::class);
- $this->backend_type = $var;
-
- return $this;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 20;
- * @return string
- */
- public function getSelfLink()
- {
- return $this->self_link;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 20;
- * @param string $var
- * @return $this
- */
- public function setSelfLink($var)
- {
- GPBUtil::checkString($var, True);
- $this->self_link = $var;
-
- return $this;
- }
-
- /**
- * If the instance state is SUSPENDED, the reason for the suspension.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SqlSuspensionReason suspension_reason = 21;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getSuspensionReason()
- {
- return $this->suspension_reason;
- }
-
- /**
- * If the instance state is SUSPENDED, the reason for the suspension.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SqlSuspensionReason suspension_reason = 21;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setSuspensionReason($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\Sql\V1\SqlSuspensionReason::class);
- $this->suspension_reason = $arr;
-
- return $this;
- }
-
- /**
- * Connection name of the Cloud SQL instance used in connection strings.
- *
- * Generated from protobuf field string connection_name = 22;
- * @return string
- */
- public function getConnectionName()
- {
- return $this->connection_name;
- }
-
- /**
- * Connection name of the Cloud SQL instance used in connection strings.
- *
- * Generated from protobuf field string connection_name = 22;
- * @param string $var
- * @return $this
- */
- public function setConnectionName($var)
- {
- GPBUtil::checkString($var, True);
- $this->connection_name = $var;
-
- return $this;
- }
-
- /**
- * Name of the Cloud SQL instance. This does not include the project ID.
- *
- * Generated from protobuf field string name = 23;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Name of the Cloud SQL instance. This does not include the project ID.
- *
- * Generated from protobuf field string name = 23;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The geographical region of the Cloud SQL instance.
- * It can be one of the
- * [regions](https://cloud.google.com/sql/docs/mysql/locations#location-r)
- * where Cloud SQL operates:
- * For example, `asia-east1`, `europe-west1`, and `us-central1`.
- * The default value is `us-central1`.
- *
- * Generated from protobuf field string region = 24;
- * @return string
- */
- public function getRegion()
- {
- return $this->region;
- }
-
- /**
- * The geographical region of the Cloud SQL instance.
- * It can be one of the
- * [regions](https://cloud.google.com/sql/docs/mysql/locations#location-r)
- * where Cloud SQL operates:
- * For example, `asia-east1`, `europe-west1`, and `us-central1`.
- * The default value is `us-central1`.
- *
- * Generated from protobuf field string region = 24;
- * @param string $var
- * @return $this
- */
- public function setRegion($var)
- {
- GPBUtil::checkString($var, True);
- $this->region = $var;
-
- return $this;
- }
-
- /**
- * The Compute Engine zone that the instance is currently serving from. This
- * value could be different from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary zone. WARNING:
- * Changing this might restart the instance.
- *
- * Generated from protobuf field string gce_zone = 25;
- * @return string
- */
- public function getGceZone()
- {
- return $this->gce_zone;
- }
-
- /**
- * The Compute Engine zone that the instance is currently serving from. This
- * value could be different from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary zone. WARNING:
- * Changing this might restart the instance.
- *
- * Generated from protobuf field string gce_zone = 25;
- * @param string $var
- * @return $this
- */
- public function setGceZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->gce_zone = $var;
-
- return $this;
- }
-
- /**
- * The Compute Engine zone that the failover instance is currently serving
- * from for a regional instance. This value could be different
- * from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary/failover zone.
- *
- * Generated from protobuf field string secondary_gce_zone = 34;
- * @return string
- */
- public function getSecondaryGceZone()
- {
- return $this->secondary_gce_zone;
- }
-
- /**
- * The Compute Engine zone that the failover instance is currently serving
- * from for a regional instance. This value could be different
- * from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary/failover zone.
- *
- * Generated from protobuf field string secondary_gce_zone = 34;
- * @param string $var
- * @return $this
- */
- public function setSecondaryGceZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->secondary_gce_zone = $var;
-
- return $this;
- }
-
- /**
- * Disk encryption configuration specific to an instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DiskEncryptionConfiguration disk_encryption_configuration = 26;
- * @return \Google\Cloud\Sql\V1\DiskEncryptionConfiguration|null
- */
- public function getDiskEncryptionConfiguration()
- {
- return $this->disk_encryption_configuration;
- }
-
- public function hasDiskEncryptionConfiguration()
- {
- return isset($this->disk_encryption_configuration);
- }
-
- public function clearDiskEncryptionConfiguration()
- {
- unset($this->disk_encryption_configuration);
- }
-
- /**
- * Disk encryption configuration specific to an instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DiskEncryptionConfiguration disk_encryption_configuration = 26;
- * @param \Google\Cloud\Sql\V1\DiskEncryptionConfiguration $var
- * @return $this
- */
- public function setDiskEncryptionConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DiskEncryptionConfiguration::class);
- $this->disk_encryption_configuration = $var;
-
- return $this;
- }
-
- /**
- * Disk encryption status specific to an instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DiskEncryptionStatus disk_encryption_status = 27;
- * @return \Google\Cloud\Sql\V1\DiskEncryptionStatus|null
- */
- public function getDiskEncryptionStatus()
- {
- return $this->disk_encryption_status;
- }
-
- public function hasDiskEncryptionStatus()
- {
- return isset($this->disk_encryption_status);
- }
-
- public function clearDiskEncryptionStatus()
- {
- unset($this->disk_encryption_status);
- }
-
- /**
- * Disk encryption status specific to an instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DiskEncryptionStatus disk_encryption_status = 27;
- * @param \Google\Cloud\Sql\V1\DiskEncryptionStatus $var
- * @return $this
- */
- public function setDiskEncryptionStatus($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DiskEncryptionStatus::class);
- $this->disk_encryption_status = $var;
-
- return $this;
- }
-
- /**
- * Initial root password. Use only on creation. You must set root passwords
- * before you can connect to PostgreSQL instances.
- *
- * Generated from protobuf field string root_password = 29;
- * @return string
- */
- public function getRootPassword()
- {
- return $this->root_password;
- }
-
- /**
- * Initial root password. Use only on creation. You must set root passwords
- * before you can connect to PostgreSQL instances.
- *
- * Generated from protobuf field string root_password = 29;
- * @param string $var
- * @return $this
- */
- public function setRootPassword($var)
- {
- GPBUtil::checkString($var, True);
- $this->root_password = $var;
-
- return $this;
- }
-
- /**
- * The start time of any upcoming scheduled maintenance for this instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance.SqlScheduledMaintenance scheduled_maintenance = 30;
- * @return \Google\Cloud\Sql\V1\DatabaseInstance\SqlScheduledMaintenance|null
- */
- public function getScheduledMaintenance()
- {
- return $this->scheduled_maintenance;
- }
-
- public function hasScheduledMaintenance()
- {
- return isset($this->scheduled_maintenance);
- }
-
- public function clearScheduledMaintenance()
- {
- unset($this->scheduled_maintenance);
- }
-
- /**
- * The start time of any upcoming scheduled maintenance for this instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance.SqlScheduledMaintenance scheduled_maintenance = 30;
- * @param \Google\Cloud\Sql\V1\DatabaseInstance\SqlScheduledMaintenance $var
- * @return $this
- */
- public function setScheduledMaintenance($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DatabaseInstance\SqlScheduledMaintenance::class);
- $this->scheduled_maintenance = $var;
-
- return $this;
- }
-
- /**
- * The status indicating if instance satisfiesPzs.
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue satisfies_pzs = 35;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getSatisfiesPzs()
- {
- return $this->satisfies_pzs;
- }
-
- public function hasSatisfiesPzs()
- {
- return isset($this->satisfies_pzs);
- }
-
- public function clearSatisfiesPzs()
- {
- unset($this->satisfies_pzs);
- }
-
- /**
- * Returns the unboxed value from getSatisfiesPzs()
-
- * The status indicating if instance satisfiesPzs.
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue satisfies_pzs = 35;
- * @return bool|null
- */
- public function getSatisfiesPzsUnwrapped()
- {
- return $this->readWrapperValue("satisfies_pzs");
- }
-
- /**
- * The status indicating if instance satisfiesPzs.
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue satisfies_pzs = 35;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setSatisfiesPzs($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->satisfies_pzs = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * The status indicating if instance satisfiesPzs.
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue satisfies_pzs = 35;
- * @param bool|null $var
- * @return $this
- */
- public function setSatisfiesPzsUnwrapped($var)
- {
- $this->writeWrapperValue("satisfies_pzs", $var);
- return $this;}
-
- /**
- * Output only. Stores the current database version running on the instance
- * including minor version such as `MYSQL_8_0_18`.
- *
- * Generated from protobuf field string database_installed_version = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getDatabaseInstalledVersion()
- {
- return $this->database_installed_version;
- }
-
- /**
- * Output only. Stores the current database version running on the instance
- * including minor version such as `MYSQL_8_0_18`.
- *
- * Generated from protobuf field string database_installed_version = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setDatabaseInstalledVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->database_installed_version = $var;
-
- return $this;
- }
-
- /**
- * This field represents the report generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.DatabaseInstance.SqlOutOfDiskReport out_of_disk_report = 38;
- * @return \Google\Cloud\Sql\V1\DatabaseInstance\SqlOutOfDiskReport|null
- */
- public function getOutOfDiskReport()
- {
- return $this->out_of_disk_report;
- }
-
- public function hasOutOfDiskReport()
- {
- return isset($this->out_of_disk_report);
- }
-
- public function clearOutOfDiskReport()
- {
- unset($this->out_of_disk_report);
- }
-
- /**
- * This field represents the report generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.DatabaseInstance.SqlOutOfDiskReport out_of_disk_report = 38;
- * @param \Google\Cloud\Sql\V1\DatabaseInstance\SqlOutOfDiskReport $var
- * @return $this
- */
- public function setOutOfDiskReport($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DatabaseInstance\SqlOutOfDiskReport::class);
- $this->out_of_disk_report = $var;
-
- return $this;
- }
-
- /**
- * Output only. The time when the instance was created in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- public function hasCreateTime()
- {
- return isset($this->create_time);
- }
-
- public function clearCreateTime()
- {
- unset($this->create_time);
- }
-
- /**
- * Output only. The time when the instance was created in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setCreateTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->create_time = $var;
-
- return $this;
- }
-
- /**
- * Output only. List all maintenance versions applicable on the instance
- *
- * Generated from protobuf field repeated string available_maintenance_versions = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAvailableMaintenanceVersions()
- {
- return $this->available_maintenance_versions;
- }
-
- /**
- * Output only. List all maintenance versions applicable on the instance
- *
- * Generated from protobuf field repeated string available_maintenance_versions = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAvailableMaintenanceVersions($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->available_maintenance_versions = $arr;
-
- return $this;
- }
-
- /**
- * The current software version on the instance.
- *
- * Generated from protobuf field string maintenance_version = 42;
- * @return string
- */
- public function getMaintenanceVersion()
- {
- return $this->maintenance_version;
- }
-
- /**
- * The current software version on the instance.
- *
- * Generated from protobuf field string maintenance_version = 42;
- * @param string $var
- * @return $this
- */
- public function setMaintenanceVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->maintenance_version = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field optional .google.cloud.sql.v1.DatabaseInstance.SqlNetworkArchitecture sql_network_architecture = 47;
- * @return int
- */
- public function getSqlNetworkArchitecture()
- {
- return isset($this->sql_network_architecture) ? $this->sql_network_architecture : 0;
- }
-
- public function hasSqlNetworkArchitecture()
- {
- return isset($this->sql_network_architecture);
- }
-
- public function clearSqlNetworkArchitecture()
- {
- unset($this->sql_network_architecture);
- }
-
- /**
- * Generated from protobuf field optional .google.cloud.sql.v1.DatabaseInstance.SqlNetworkArchitecture sql_network_architecture = 47;
- * @param int $var
- * @return $this
- */
- public function setSqlNetworkArchitecture($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\DatabaseInstance\SqlNetworkArchitecture::class);
- $this->sql_network_architecture = $var;
-
- return $this;
- }
-
- /**
- * Output only. The link to service attachment of PSC instance.
- *
- * Generated from protobuf field optional string psc_service_attachment_link = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getPscServiceAttachmentLink()
- {
- return isset($this->psc_service_attachment_link) ? $this->psc_service_attachment_link : '';
- }
-
- public function hasPscServiceAttachmentLink()
- {
- return isset($this->psc_service_attachment_link);
- }
-
- public function clearPscServiceAttachmentLink()
- {
- unset($this->psc_service_attachment_link);
- }
-
- /**
- * Output only. The link to service attachment of PSC instance.
- *
- * Generated from protobuf field optional string psc_service_attachment_link = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setPscServiceAttachmentLink($var)
- {
- GPBUtil::checkString($var, True);
- $this->psc_service_attachment_link = $var;
-
- return $this;
- }
-
- /**
- * Output only. The dns name of the instance.
- *
- * Generated from protobuf field optional string dns_name = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getDnsName()
- {
- return isset($this->dns_name) ? $this->dns_name : '';
- }
-
- public function hasDnsName()
- {
- return isset($this->dns_name);
- }
-
- public function clearDnsName()
- {
- unset($this->dns_name);
- }
-
- /**
- * Output only. The dns name of the instance.
- *
- * Generated from protobuf field optional string dns_name = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setDnsName($var)
- {
- GPBUtil::checkString($var, True);
- $this->dns_name = $var;
-
- return $this;
- }
-
- /**
- * Output only. DEPRECATED: please use write_endpoint instead.
- *
- * Generated from protobuf field optional string primary_dns_name = 51 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- * @deprecated
- */
- public function getPrimaryDnsName()
- {
- @trigger_error('primary_dns_name is deprecated.', E_USER_DEPRECATED);
- return isset($this->primary_dns_name) ? $this->primary_dns_name : '';
- }
-
- public function hasPrimaryDnsName()
- {
- @trigger_error('primary_dns_name is deprecated.', E_USER_DEPRECATED);
- return isset($this->primary_dns_name);
- }
-
- public function clearPrimaryDnsName()
- {
- @trigger_error('primary_dns_name is deprecated.', E_USER_DEPRECATED);
- unset($this->primary_dns_name);
- }
-
- /**
- * Output only. DEPRECATED: please use write_endpoint instead.
- *
- * Generated from protobuf field optional string primary_dns_name = 51 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setPrimaryDnsName($var)
- {
- @trigger_error('primary_dns_name is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->primary_dns_name = $var;
-
- return $this;
- }
-
- /**
- * Output only. The dns name of the primary instance in a replication group.
- *
- * Generated from protobuf field optional string write_endpoint = 52 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getWriteEndpoint()
- {
- return isset($this->write_endpoint) ? $this->write_endpoint : '';
- }
-
- public function hasWriteEndpoint()
- {
- return isset($this->write_endpoint);
- }
-
- public function clearWriteEndpoint()
- {
- unset($this->write_endpoint);
- }
-
- /**
- * Output only. The dns name of the primary instance in a replication group.
- *
- * Generated from protobuf field optional string write_endpoint = 52 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setWriteEndpoint($var)
- {
- GPBUtil::checkString($var, True);
- $this->write_endpoint = $var;
-
- return $this;
- }
-
- /**
- * Optional. The pair of a primary instance and disaster recovery (DR)
- * replica. A DR replica is a cross-region replica that you designate for
- * failover in the event that the primary instance has regional failure.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ReplicationCluster replication_cluster = 54 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Cloud\Sql\V1\ReplicationCluster|null
- */
- public function getReplicationCluster()
- {
- return $this->replication_cluster;
- }
-
- public function hasReplicationCluster()
- {
- return isset($this->replication_cluster);
- }
-
- public function clearReplicationCluster()
- {
- unset($this->replication_cluster);
- }
-
- /**
- * Optional. The pair of a primary instance and disaster recovery (DR)
- * replica. A DR replica is a cross-region replica that you designate for
- * failover in the event that the primary instance has regional failure.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ReplicationCluster replication_cluster = 54 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Cloud\Sql\V1\ReplicationCluster $var
- * @return $this
- */
- public function setReplicationCluster($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ReplicationCluster::class);
- $this->replication_cluster = $var;
-
- return $this;
- }
-
- /**
- * Gemini configuration.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.GeminiInstanceConfig gemini_config = 55;
- * @return \Google\Cloud\Sql\V1\GeminiInstanceConfig|null
- */
- public function getGeminiConfig()
- {
- return $this->gemini_config;
- }
-
- public function hasGeminiConfig()
- {
- return isset($this->gemini_config);
- }
-
- public function clearGeminiConfig()
- {
- unset($this->gemini_config);
- }
-
- /**
- * Gemini configuration.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.GeminiInstanceConfig gemini_config = 55;
- * @param \Google\Cloud\Sql\V1\GeminiInstanceConfig $var
- * @return $this
- */
- public function setGeminiConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\GeminiInstanceConfig::class);
- $this->gemini_config = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlFailoverReplica.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlFailoverReplica.php
deleted file mode 100644
index ee7d98530190..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlFailoverReplica.php
+++ /dev/null
@@ -1,159 +0,0 @@
-google.cloud.sql.v1.DatabaseInstance.SqlFailoverReplica
- */
-class SqlFailoverReplica extends \Google\Protobuf\Internal\Message
-{
- /**
- * The name of the failover replica. If specified at instance creation, a
- * failover replica is created for the instance. The name
- * doesn't include the project ID.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The availability status of the failover replica. A false status indicates
- * that the failover replica is out of sync. The primary instance can only
- * failover to the failover replica when the status is true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue available = 2;
- */
- protected $available = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The name of the failover replica. If specified at instance creation, a
- * failover replica is created for the instance. The name
- * doesn't include the project ID.
- * @type \Google\Protobuf\BoolValue $available
- * The availability status of the failover replica. A false status indicates
- * that the failover replica is out of sync. The primary instance can only
- * failover to the failover replica when the status is true.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The name of the failover replica. If specified at instance creation, a
- * failover replica is created for the instance. The name
- * doesn't include the project ID.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the failover replica. If specified at instance creation, a
- * failover replica is created for the instance. The name
- * doesn't include the project ID.
- *
- * Generated from protobuf field string name = 1;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The availability status of the failover replica. A false status indicates
- * that the failover replica is out of sync. The primary instance can only
- * failover to the failover replica when the status is true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue available = 2;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getAvailable()
- {
- return $this->available;
- }
-
- public function hasAvailable()
- {
- return isset($this->available);
- }
-
- public function clearAvailable()
- {
- unset($this->available);
- }
-
- /**
- * Returns the unboxed value from getAvailable()
-
- * The availability status of the failover replica. A false status indicates
- * that the failover replica is out of sync. The primary instance can only
- * failover to the failover replica when the status is true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue available = 2;
- * @return bool|null
- */
- public function getAvailableUnwrapped()
- {
- return $this->readWrapperValue("available");
- }
-
- /**
- * The availability status of the failover replica. A false status indicates
- * that the failover replica is out of sync. The primary instance can only
- * failover to the failover replica when the status is true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue available = 2;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setAvailable($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->available = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * The availability status of the failover replica. A false status indicates
- * that the failover replica is out of sync. The primary instance can only
- * failover to the failover replica when the status is true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue available = 2;
- * @param bool|null $var
- * @return $this
- */
- public function setAvailableUnwrapped($var)
- {
- $this->writeWrapperValue("available", $var);
- return $this;}
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlFailoverReplica::class, \Google\Cloud\Sql\V1\DatabaseInstance_SqlFailoverReplica::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlInstanceState.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlInstanceState.php
deleted file mode 100644
index a4a61d210edb..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlInstanceState.php
+++ /dev/null
@@ -1,100 +0,0 @@
-google.cloud.sql.v1.DatabaseInstance.SqlInstanceState
- */
-class SqlInstanceState
-{
- /**
- * The state of the instance is unknown.
- *
- * Generated from protobuf enum SQL_INSTANCE_STATE_UNSPECIFIED = 0;
- */
- const SQL_INSTANCE_STATE_UNSPECIFIED = 0;
- /**
- * The instance is running, or has been stopped by owner.
- *
- * Generated from protobuf enum RUNNABLE = 1;
- */
- const RUNNABLE = 1;
- /**
- * The instance is not available, for example due to problems with billing.
- *
- * Generated from protobuf enum SUSPENDED = 2;
- */
- const SUSPENDED = 2;
- /**
- * The instance is being deleted.
- *
- * Generated from protobuf enum PENDING_DELETE = 3;
- */
- const PENDING_DELETE = 3;
- /**
- * The instance is being created.
- *
- * Generated from protobuf enum PENDING_CREATE = 4;
- */
- const PENDING_CREATE = 4;
- /**
- * The instance is down for maintenance.
- *
- * Generated from protobuf enum MAINTENANCE = 5;
- */
- const MAINTENANCE = 5;
- /**
- * The creation of the instance failed or a fatal error occurred during
- * maintenance.
- *
- * Generated from protobuf enum FAILED = 6;
- */
- const FAILED = 6;
- /**
- * Deprecated
- *
- * Generated from protobuf enum ONLINE_MAINTENANCE = 7 [deprecated = true];
- */
- const ONLINE_MAINTENANCE = 7;
-
- private static $valueToName = [
- self::SQL_INSTANCE_STATE_UNSPECIFIED => 'SQL_INSTANCE_STATE_UNSPECIFIED',
- self::RUNNABLE => 'RUNNABLE',
- self::SUSPENDED => 'SUSPENDED',
- self::PENDING_DELETE => 'PENDING_DELETE',
- self::PENDING_CREATE => 'PENDING_CREATE',
- self::MAINTENANCE => 'MAINTENANCE',
- self::FAILED => 'FAILED',
- self::ONLINE_MAINTENANCE => 'ONLINE_MAINTENANCE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlInstanceState::class, \Google\Cloud\Sql\V1\DatabaseInstance_SqlInstanceState::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlNetworkArchitecture.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlNetworkArchitecture.php
deleted file mode 100644
index 78fb88c614f8..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlNetworkArchitecture.php
+++ /dev/null
@@ -1,62 +0,0 @@
-google.cloud.sql.v1.DatabaseInstance.SqlNetworkArchitecture
- */
-class SqlNetworkArchitecture
-{
- /**
- * Generated from protobuf enum SQL_NETWORK_ARCHITECTURE_UNSPECIFIED = 0;
- */
- const SQL_NETWORK_ARCHITECTURE_UNSPECIFIED = 0;
- /**
- * The instance uses the new network architecture.
- *
- * Generated from protobuf enum NEW_NETWORK_ARCHITECTURE = 1;
- */
- const NEW_NETWORK_ARCHITECTURE = 1;
- /**
- * The instance uses the old network architecture.
- *
- * Generated from protobuf enum OLD_NETWORK_ARCHITECTURE = 2;
- */
- const OLD_NETWORK_ARCHITECTURE = 2;
-
- private static $valueToName = [
- self::SQL_NETWORK_ARCHITECTURE_UNSPECIFIED => 'SQL_NETWORK_ARCHITECTURE_UNSPECIFIED',
- self::NEW_NETWORK_ARCHITECTURE => 'NEW_NETWORK_ARCHITECTURE',
- self::OLD_NETWORK_ARCHITECTURE => 'OLD_NETWORK_ARCHITECTURE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlNetworkArchitecture::class, \Google\Cloud\Sql\V1\DatabaseInstance_SqlNetworkArchitecture::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlOutOfDiskReport.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlOutOfDiskReport.php
deleted file mode 100644
index 8e07020085dd..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlOutOfDiskReport.php
+++ /dev/null
@@ -1,160 +0,0 @@
-google.cloud.sql.v1.DatabaseInstance.SqlOutOfDiskReport
- */
-class SqlOutOfDiskReport extends \Google\Protobuf\Internal\Message
-{
- /**
- * This field represents the state generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.DatabaseInstance.SqlOutOfDiskReport.SqlOutOfDiskState sql_out_of_disk_state = 1;
- */
- protected $sql_out_of_disk_state = null;
- /**
- * The minimum recommended increase size in GigaBytes
- * This field is consumed by the frontend
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- *
- * Generated from protobuf field optional int32 sql_min_recommended_increase_size_gb = 2;
- */
- protected $sql_min_recommended_increase_size_gb = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $sql_out_of_disk_state
- * This field represents the state generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- * @type int $sql_min_recommended_increase_size_gb
- * The minimum recommended increase size in GigaBytes
- * This field is consumed by the frontend
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This field represents the state generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.DatabaseInstance.SqlOutOfDiskReport.SqlOutOfDiskState sql_out_of_disk_state = 1;
- * @return int
- */
- public function getSqlOutOfDiskState()
- {
- return isset($this->sql_out_of_disk_state) ? $this->sql_out_of_disk_state : 0;
- }
-
- public function hasSqlOutOfDiskState()
- {
- return isset($this->sql_out_of_disk_state);
- }
-
- public function clearSqlOutOfDiskState()
- {
- unset($this->sql_out_of_disk_state);
- }
-
- /**
- * This field represents the state generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.DatabaseInstance.SqlOutOfDiskReport.SqlOutOfDiskState sql_out_of_disk_state = 1;
- * @param int $var
- * @return $this
- */
- public function setSqlOutOfDiskState($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\DatabaseInstance\SqlOutOfDiskReport\SqlOutOfDiskState::class);
- $this->sql_out_of_disk_state = $var;
-
- return $this;
- }
-
- /**
- * The minimum recommended increase size in GigaBytes
- * This field is consumed by the frontend
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- *
- * Generated from protobuf field optional int32 sql_min_recommended_increase_size_gb = 2;
- * @return int
- */
- public function getSqlMinRecommendedIncreaseSizeGb()
- {
- return isset($this->sql_min_recommended_increase_size_gb) ? $this->sql_min_recommended_increase_size_gb : 0;
- }
-
- public function hasSqlMinRecommendedIncreaseSizeGb()
- {
- return isset($this->sql_min_recommended_increase_size_gb);
- }
-
- public function clearSqlMinRecommendedIncreaseSizeGb()
- {
- unset($this->sql_min_recommended_increase_size_gb);
- }
-
- /**
- * The minimum recommended increase size in GigaBytes
- * This field is consumed by the frontend
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- *
- * Generated from protobuf field optional int32 sql_min_recommended_increase_size_gb = 2;
- * @param int $var
- * @return $this
- */
- public function setSqlMinRecommendedIncreaseSizeGb($var)
- {
- GPBUtil::checkInt32($var);
- $this->sql_min_recommended_increase_size_gb = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlOutOfDiskReport::class, \Google\Cloud\Sql\V1\DatabaseInstance_SqlOutOfDiskReport::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlOutOfDiskReport/SqlOutOfDiskState.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlOutOfDiskReport/SqlOutOfDiskState.php
deleted file mode 100644
index 5138c1304df8..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlOutOfDiskReport/SqlOutOfDiskState.php
+++ /dev/null
@@ -1,65 +0,0 @@
-google.cloud.sql.v1.DatabaseInstance.SqlOutOfDiskReport.SqlOutOfDiskState
- */
-class SqlOutOfDiskState
-{
- /**
- * Unspecified state
- *
- * Generated from protobuf enum SQL_OUT_OF_DISK_STATE_UNSPECIFIED = 0;
- */
- const SQL_OUT_OF_DISK_STATE_UNSPECIFIED = 0;
- /**
- * The instance has plenty space on data disk
- *
- * Generated from protobuf enum NORMAL = 1;
- */
- const NORMAL = 1;
- /**
- * Data disk is almost used up. It is shutdown to prevent data
- * corruption.
- *
- * Generated from protobuf enum SOFT_SHUTDOWN = 2;
- */
- const SOFT_SHUTDOWN = 2;
-
- private static $valueToName = [
- self::SQL_OUT_OF_DISK_STATE_UNSPECIFIED => 'SQL_OUT_OF_DISK_STATE_UNSPECIFIED',
- self::NORMAL => 'NORMAL',
- self::SOFT_SHUTDOWN => 'SOFT_SHUTDOWN',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlOutOfDiskState::class, \Google\Cloud\Sql\V1\DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlScheduledMaintenance.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlScheduledMaintenance.php
deleted file mode 100644
index 100d09af9e5a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabaseInstance/SqlScheduledMaintenance.php
+++ /dev/null
@@ -1,190 +0,0 @@
-google.cloud.sql.v1.DatabaseInstance.SqlScheduledMaintenance
- */
-class SqlScheduledMaintenance extends \Google\Protobuf\Internal\Message
-{
- /**
- * The start time of any upcoming scheduled maintenance for this instance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
- */
- protected $start_time = null;
- /**
- * Generated from protobuf field bool can_defer = 2 [deprecated = true];
- * @deprecated
- */
- protected $can_defer = false;
- /**
- * If the scheduled maintenance can be rescheduled.
- *
- * Generated from protobuf field bool can_reschedule = 3;
- */
- protected $can_reschedule = false;
- /**
- * Maintenance cannot be rescheduled to start beyond this deadline.
- *
- * Generated from protobuf field optional .google.protobuf.Timestamp schedule_deadline_time = 4;
- */
- protected $schedule_deadline_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Timestamp $start_time
- * The start time of any upcoming scheduled maintenance for this instance.
- * @type bool $can_defer
- * @type bool $can_reschedule
- * If the scheduled maintenance can be rescheduled.
- * @type \Google\Protobuf\Timestamp $schedule_deadline_time
- * Maintenance cannot be rescheduled to start beyond this deadline.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The start time of any upcoming scheduled maintenance for this instance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- public function hasStartTime()
- {
- return isset($this->start_time);
- }
-
- public function clearStartTime()
- {
- unset($this->start_time);
- }
-
- /**
- * The start time of any upcoming scheduled maintenance for this instance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field bool can_defer = 2 [deprecated = true];
- * @return bool
- * @deprecated
- */
- public function getCanDefer()
- {
- @trigger_error('can_defer is deprecated.', E_USER_DEPRECATED);
- return $this->can_defer;
- }
-
- /**
- * Generated from protobuf field bool can_defer = 2 [deprecated = true];
- * @param bool $var
- * @return $this
- * @deprecated
- */
- public function setCanDefer($var)
- {
- @trigger_error('can_defer is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkBool($var);
- $this->can_defer = $var;
-
- return $this;
- }
-
- /**
- * If the scheduled maintenance can be rescheduled.
- *
- * Generated from protobuf field bool can_reschedule = 3;
- * @return bool
- */
- public function getCanReschedule()
- {
- return $this->can_reschedule;
- }
-
- /**
- * If the scheduled maintenance can be rescheduled.
- *
- * Generated from protobuf field bool can_reschedule = 3;
- * @param bool $var
- * @return $this
- */
- public function setCanReschedule($var)
- {
- GPBUtil::checkBool($var);
- $this->can_reschedule = $var;
-
- return $this;
- }
-
- /**
- * Maintenance cannot be rescheduled to start beyond this deadline.
- *
- * Generated from protobuf field optional .google.protobuf.Timestamp schedule_deadline_time = 4;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getScheduleDeadlineTime()
- {
- return $this->schedule_deadline_time;
- }
-
- public function hasScheduleDeadlineTime()
- {
- return isset($this->schedule_deadline_time);
- }
-
- public function clearScheduleDeadlineTime()
- {
- unset($this->schedule_deadline_time);
- }
-
- /**
- * Maintenance cannot be rescheduled to start beyond this deadline.
- *
- * Generated from protobuf field optional .google.protobuf.Timestamp schedule_deadline_time = 4;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setScheduleDeadlineTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->schedule_deadline_time = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlScheduledMaintenance::class, \Google\Cloud\Sql\V1\DatabaseInstance_SqlScheduledMaintenance::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabasesListResponse.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabasesListResponse.php
deleted file mode 100644
index aadf490102b2..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DatabasesListResponse.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.DatabasesListResponse
- */
-class DatabasesListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#databasesList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of database resources in the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.Database items = 2;
- */
- private $items;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#databasesList`.
- * @type array<\Google\Cloud\Sql\V1\Database>|\Google\Protobuf\Internal\RepeatedField $items
- * List of database resources in the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlDatabases::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#databasesList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#databasesList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of database resources in the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.Database items = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * List of database resources in the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.Database items = 2;
- * @param array<\Google\Cloud\Sql\V1\Database>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\Database::class);
- $this->items = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DemoteContext.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DemoteContext.php
deleted file mode 100644
index 062b74cae1e8..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DemoteContext.php
+++ /dev/null
@@ -1,106 +0,0 @@
-google.cloud.sql.v1.DemoteContext
- */
-class DemoteContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#demoteContext`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Required. The name of the instance which acts as the on-premises primary
- * instance in the replication setup.
- *
- * Generated from protobuf field string source_representative_instance_name = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $source_representative_instance_name = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#demoteContext`.
- * @type string $source_representative_instance_name
- * Required. The name of the instance which acts as the on-premises primary
- * instance in the replication setup.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#demoteContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#demoteContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Required. The name of the instance which acts as the on-premises primary
- * instance in the replication setup.
- *
- * Generated from protobuf field string source_representative_instance_name = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getSourceRepresentativeInstanceName()
- {
- return $this->source_representative_instance_name;
- }
-
- /**
- * Required. The name of the instance which acts as the on-premises primary
- * instance in the replication setup.
- *
- * Generated from protobuf field string source_representative_instance_name = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setSourceRepresentativeInstanceName($var)
- {
- GPBUtil::checkString($var, True);
- $this->source_representative_instance_name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DemoteMasterConfiguration.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DemoteMasterConfiguration.php
deleted file mode 100644
index 7a13ebe2beda..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DemoteMasterConfiguration.php
+++ /dev/null
@@ -1,132 +0,0 @@
-google.cloud.sql.v1.DemoteMasterConfiguration
- */
-class DemoteMasterConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#demoteMasterConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DemoteMasterMySqlReplicaConfiguration mysql_replica_configuration = 2;
- */
- protected $mysql_replica_configuration = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#demoteMasterConfiguration`.
- * @type \Google\Cloud\Sql\V1\DemoteMasterMySqlReplicaConfiguration $mysql_replica_configuration
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#demoteMasterConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#demoteMasterConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DemoteMasterMySqlReplicaConfiguration mysql_replica_configuration = 2;
- * @return \Google\Cloud\Sql\V1\DemoteMasterMySqlReplicaConfiguration|null
- */
- public function getMysqlReplicaConfiguration()
- {
- return $this->mysql_replica_configuration;
- }
-
- public function hasMysqlReplicaConfiguration()
- {
- return isset($this->mysql_replica_configuration);
- }
-
- public function clearMysqlReplicaConfiguration()
- {
- unset($this->mysql_replica_configuration);
- }
-
- /**
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DemoteMasterMySqlReplicaConfiguration mysql_replica_configuration = 2;
- * @param \Google\Cloud\Sql\V1\DemoteMasterMySqlReplicaConfiguration $var
- * @return $this
- */
- public function setMysqlReplicaConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DemoteMasterMySqlReplicaConfiguration::class);
- $this->mysql_replica_configuration = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DemoteMasterContext.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DemoteMasterContext.php
deleted file mode 100644
index 89f01303456f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DemoteMasterContext.php
+++ /dev/null
@@ -1,294 +0,0 @@
-google.cloud.sql.v1.DemoteMasterContext
- */
-class DemoteMasterContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#demoteMasterContext`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Verify the GTID consistency for demote operation. Default value:
- * `True`. Setting this flag to `false` enables you to bypass the GTID
- * consistency check between on-premises primary instance and Cloud SQL
- * instance during the demotion operation but also exposes you to the risk of
- * future replication failures. Change the value only if you know the reason
- * for the GTID divergence and are confident that doing so will not cause any
- * replication issues.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_gtid_consistency = 2;
- */
- protected $verify_gtid_consistency = null;
- /**
- * The name of the instance which will act as on-premises primary instance
- * in the replication setup.
- *
- * Generated from protobuf field string master_instance_name = 3;
- */
- protected $master_instance_name = '';
- /**
- * Configuration specific to read-replicas replicating from the on-premises
- * primary instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DemoteMasterConfiguration replica_configuration = 4;
- */
- protected $replica_configuration = null;
- /**
- * Flag to skip replication setup on the instance.
- *
- * Generated from protobuf field bool skip_replication_setup = 5;
- */
- protected $skip_replication_setup = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#demoteMasterContext`.
- * @type \Google\Protobuf\BoolValue $verify_gtid_consistency
- * Verify the GTID consistency for demote operation. Default value:
- * `True`. Setting this flag to `false` enables you to bypass the GTID
- * consistency check between on-premises primary instance and Cloud SQL
- * instance during the demotion operation but also exposes you to the risk of
- * future replication failures. Change the value only if you know the reason
- * for the GTID divergence and are confident that doing so will not cause any
- * replication issues.
- * @type string $master_instance_name
- * The name of the instance which will act as on-premises primary instance
- * in the replication setup.
- * @type \Google\Cloud\Sql\V1\DemoteMasterConfiguration $replica_configuration
- * Configuration specific to read-replicas replicating from the on-premises
- * primary instance.
- * @type bool $skip_replication_setup
- * Flag to skip replication setup on the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#demoteMasterContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#demoteMasterContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Verify the GTID consistency for demote operation. Default value:
- * `True`. Setting this flag to `false` enables you to bypass the GTID
- * consistency check between on-premises primary instance and Cloud SQL
- * instance during the demotion operation but also exposes you to the risk of
- * future replication failures. Change the value only if you know the reason
- * for the GTID divergence and are confident that doing so will not cause any
- * replication issues.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_gtid_consistency = 2;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getVerifyGtidConsistency()
- {
- return $this->verify_gtid_consistency;
- }
-
- public function hasVerifyGtidConsistency()
- {
- return isset($this->verify_gtid_consistency);
- }
-
- public function clearVerifyGtidConsistency()
- {
- unset($this->verify_gtid_consistency);
- }
-
- /**
- * Returns the unboxed value from getVerifyGtidConsistency()
-
- * Verify the GTID consistency for demote operation. Default value:
- * `True`. Setting this flag to `false` enables you to bypass the GTID
- * consistency check between on-premises primary instance and Cloud SQL
- * instance during the demotion operation but also exposes you to the risk of
- * future replication failures. Change the value only if you know the reason
- * for the GTID divergence and are confident that doing so will not cause any
- * replication issues.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_gtid_consistency = 2;
- * @return bool|null
- */
- public function getVerifyGtidConsistencyUnwrapped()
- {
- return $this->readWrapperValue("verify_gtid_consistency");
- }
-
- /**
- * Verify the GTID consistency for demote operation. Default value:
- * `True`. Setting this flag to `false` enables you to bypass the GTID
- * consistency check between on-premises primary instance and Cloud SQL
- * instance during the demotion operation but also exposes you to the risk of
- * future replication failures. Change the value only if you know the reason
- * for the GTID divergence and are confident that doing so will not cause any
- * replication issues.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_gtid_consistency = 2;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setVerifyGtidConsistency($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->verify_gtid_consistency = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Verify the GTID consistency for demote operation. Default value:
- * `True`. Setting this flag to `false` enables you to bypass the GTID
- * consistency check between on-premises primary instance and Cloud SQL
- * instance during the demotion operation but also exposes you to the risk of
- * future replication failures. Change the value only if you know the reason
- * for the GTID divergence and are confident that doing so will not cause any
- * replication issues.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_gtid_consistency = 2;
- * @param bool|null $var
- * @return $this
- */
- public function setVerifyGtidConsistencyUnwrapped($var)
- {
- $this->writeWrapperValue("verify_gtid_consistency", $var);
- return $this;}
-
- /**
- * The name of the instance which will act as on-premises primary instance
- * in the replication setup.
- *
- * Generated from protobuf field string master_instance_name = 3;
- * @return string
- */
- public function getMasterInstanceName()
- {
- return $this->master_instance_name;
- }
-
- /**
- * The name of the instance which will act as on-premises primary instance
- * in the replication setup.
- *
- * Generated from protobuf field string master_instance_name = 3;
- * @param string $var
- * @return $this
- */
- public function setMasterInstanceName($var)
- {
- GPBUtil::checkString($var, True);
- $this->master_instance_name = $var;
-
- return $this;
- }
-
- /**
- * Configuration specific to read-replicas replicating from the on-premises
- * primary instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DemoteMasterConfiguration replica_configuration = 4;
- * @return \Google\Cloud\Sql\V1\DemoteMasterConfiguration|null
- */
- public function getReplicaConfiguration()
- {
- return $this->replica_configuration;
- }
-
- public function hasReplicaConfiguration()
- {
- return isset($this->replica_configuration);
- }
-
- public function clearReplicaConfiguration()
- {
- unset($this->replica_configuration);
- }
-
- /**
- * Configuration specific to read-replicas replicating from the on-premises
- * primary instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DemoteMasterConfiguration replica_configuration = 4;
- * @param \Google\Cloud\Sql\V1\DemoteMasterConfiguration $var
- * @return $this
- */
- public function setReplicaConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DemoteMasterConfiguration::class);
- $this->replica_configuration = $var;
-
- return $this;
- }
-
- /**
- * Flag to skip replication setup on the instance.
- *
- * Generated from protobuf field bool skip_replication_setup = 5;
- * @return bool
- */
- public function getSkipReplicationSetup()
- {
- return $this->skip_replication_setup;
- }
-
- /**
- * Flag to skip replication setup on the instance.
- *
- * Generated from protobuf field bool skip_replication_setup = 5;
- * @param bool $var
- * @return $this
- */
- public function setSkipReplicationSetup($var)
- {
- GPBUtil::checkBool($var);
- $this->skip_replication_setup = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DemoteMasterMySqlReplicaConfiguration.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DemoteMasterMySqlReplicaConfiguration.php
deleted file mode 100644
index 3c5d89aa32d2..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DemoteMasterMySqlReplicaConfiguration.php
+++ /dev/null
@@ -1,245 +0,0 @@
-google.cloud.sql.v1.DemoteMasterMySqlReplicaConfiguration
- */
-class DemoteMasterMySqlReplicaConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#demoteMasterMysqlReplicaConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The username for the replication connection.
- *
- * Generated from protobuf field string username = 2;
- */
- protected $username = '';
- /**
- * The password for the replication connection.
- *
- * Generated from protobuf field string password = 3;
- */
- protected $password = '';
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate. The format of the replica's
- * private key can be either PKCS #1 or PKCS #8.
- *
- * Generated from protobuf field string client_key = 4;
- */
- protected $client_key = '';
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 5;
- */
- protected $client_certificate = '';
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 6;
- */
- protected $ca_certificate = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#demoteMasterMysqlReplicaConfiguration`.
- * @type string $username
- * The username for the replication connection.
- * @type string $password
- * The password for the replication connection.
- * @type string $client_key
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate. The format of the replica's
- * private key can be either PKCS #1 or PKCS #8.
- * @type string $client_certificate
- * PEM representation of the replica's x509 certificate.
- * @type string $ca_certificate
- * PEM representation of the trusted CA's x509 certificate.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#demoteMasterMysqlReplicaConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#demoteMasterMysqlReplicaConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The username for the replication connection.
- *
- * Generated from protobuf field string username = 2;
- * @return string
- */
- public function getUsername()
- {
- return $this->username;
- }
-
- /**
- * The username for the replication connection.
- *
- * Generated from protobuf field string username = 2;
- * @param string $var
- * @return $this
- */
- public function setUsername($var)
- {
- GPBUtil::checkString($var, True);
- $this->username = $var;
-
- return $this;
- }
-
- /**
- * The password for the replication connection.
- *
- * Generated from protobuf field string password = 3;
- * @return string
- */
- public function getPassword()
- {
- return $this->password;
- }
-
- /**
- * The password for the replication connection.
- *
- * Generated from protobuf field string password = 3;
- * @param string $var
- * @return $this
- */
- public function setPassword($var)
- {
- GPBUtil::checkString($var, True);
- $this->password = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate. The format of the replica's
- * private key can be either PKCS #1 or PKCS #8.
- *
- * Generated from protobuf field string client_key = 4;
- * @return string
- */
- public function getClientKey()
- {
- return $this->client_key;
- }
-
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate. The format of the replica's
- * private key can be either PKCS #1 or PKCS #8.
- *
- * Generated from protobuf field string client_key = 4;
- * @param string $var
- * @return $this
- */
- public function setClientKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->client_key = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 5;
- * @return string
- */
- public function getClientCertificate()
- {
- return $this->client_certificate;
- }
-
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 5;
- * @param string $var
- * @return $this
- */
- public function setClientCertificate($var)
- {
- GPBUtil::checkString($var, True);
- $this->client_certificate = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 6;
- * @return string
- */
- public function getCaCertificate()
- {
- return $this->ca_certificate;
- }
-
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 6;
- * @param string $var
- * @return $this
- */
- public function setCaCertificate($var)
- {
- GPBUtil::checkString($var, True);
- $this->ca_certificate = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DenyMaintenancePeriod.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DenyMaintenancePeriod.php
deleted file mode 100644
index 74bae8b5cfdb..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DenyMaintenancePeriod.php
+++ /dev/null
@@ -1,164 +0,0 @@
-google.cloud.sql.v1.DenyMaintenancePeriod
- */
-class DenyMaintenancePeriod extends \Google\Protobuf\Internal\Message
-{
- /**
- * "deny maintenance period" start date. If the year of the start date is
- * empty, the year of the end date also must be empty. In this case, it means
- * the deny maintenance period recurs every year. The date is in format
- * yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- *
- * Generated from protobuf field string start_date = 1;
- */
- protected $start_date = '';
- /**
- * "deny maintenance period" end date. If the year of the end date is empty,
- * the year of the start date also must be empty. In this case, it means the
- * no maintenance interval recurs every year. The date is in format yyyy-mm-dd
- * i.e., 2020-11-01, or mm-dd, i.e., 11-01
- *
- * Generated from protobuf field string end_date = 2;
- */
- protected $end_date = '';
- /**
- * Time in UTC when the "deny maintenance period" starts on start_date and
- * ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
- *
- * Generated from protobuf field string time = 3;
- */
- protected $time = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $start_date
- * "deny maintenance period" start date. If the year of the start date is
- * empty, the year of the end date also must be empty. In this case, it means
- * the deny maintenance period recurs every year. The date is in format
- * yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- * @type string $end_date
- * "deny maintenance period" end date. If the year of the end date is empty,
- * the year of the start date also must be empty. In this case, it means the
- * no maintenance interval recurs every year. The date is in format yyyy-mm-dd
- * i.e., 2020-11-01, or mm-dd, i.e., 11-01
- * @type string $time
- * Time in UTC when the "deny maintenance period" starts on start_date and
- * ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * "deny maintenance period" start date. If the year of the start date is
- * empty, the year of the end date also must be empty. In this case, it means
- * the deny maintenance period recurs every year. The date is in format
- * yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- *
- * Generated from protobuf field string start_date = 1;
- * @return string
- */
- public function getStartDate()
- {
- return $this->start_date;
- }
-
- /**
- * "deny maintenance period" start date. If the year of the start date is
- * empty, the year of the end date also must be empty. In this case, it means
- * the deny maintenance period recurs every year. The date is in format
- * yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- *
- * Generated from protobuf field string start_date = 1;
- * @param string $var
- * @return $this
- */
- public function setStartDate($var)
- {
- GPBUtil::checkString($var, True);
- $this->start_date = $var;
-
- return $this;
- }
-
- /**
- * "deny maintenance period" end date. If the year of the end date is empty,
- * the year of the start date also must be empty. In this case, it means the
- * no maintenance interval recurs every year. The date is in format yyyy-mm-dd
- * i.e., 2020-11-01, or mm-dd, i.e., 11-01
- *
- * Generated from protobuf field string end_date = 2;
- * @return string
- */
- public function getEndDate()
- {
- return $this->end_date;
- }
-
- /**
- * "deny maintenance period" end date. If the year of the end date is empty,
- * the year of the start date also must be empty. In this case, it means the
- * no maintenance interval recurs every year. The date is in format yyyy-mm-dd
- * i.e., 2020-11-01, or mm-dd, i.e., 11-01
- *
- * Generated from protobuf field string end_date = 2;
- * @param string $var
- * @return $this
- */
- public function setEndDate($var)
- {
- GPBUtil::checkString($var, True);
- $this->end_date = $var;
-
- return $this;
- }
-
- /**
- * Time in UTC when the "deny maintenance period" starts on start_date and
- * ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
- *
- * Generated from protobuf field string time = 3;
- * @return string
- */
- public function getTime()
- {
- return $this->time;
- }
-
- /**
- * Time in UTC when the "deny maintenance period" starts on start_date and
- * ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
- *
- * Generated from protobuf field string time = 3;
- * @param string $var
- * @return $this
- */
- public function setTime($var)
- {
- GPBUtil::checkString($var, True);
- $this->time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DiskEncryptionConfiguration.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DiskEncryptionConfiguration.php
deleted file mode 100644
index cc5e86839a03..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DiskEncryptionConfiguration.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.DiskEncryptionConfiguration
- */
-class DiskEncryptionConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * Resource name of KMS key for disk encryption
- *
- * Generated from protobuf field string kms_key_name = 1;
- */
- protected $kms_key_name = '';
- /**
- * This is always `sql#diskEncryptionConfiguration`.
- *
- * Generated from protobuf field string kind = 2;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kms_key_name
- * Resource name of KMS key for disk encryption
- * @type string $kind
- * This is always `sql#diskEncryptionConfiguration`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Resource name of KMS key for disk encryption
- *
- * Generated from protobuf field string kms_key_name = 1;
- * @return string
- */
- public function getKmsKeyName()
- {
- return $this->kms_key_name;
- }
-
- /**
- * Resource name of KMS key for disk encryption
- *
- * Generated from protobuf field string kms_key_name = 1;
- * @param string $var
- * @return $this
- */
- public function setKmsKeyName($var)
- {
- GPBUtil::checkString($var, True);
- $this->kms_key_name = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#diskEncryptionConfiguration`.
- *
- * Generated from protobuf field string kind = 2;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#diskEncryptionConfiguration`.
- *
- * Generated from protobuf field string kind = 2;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DiskEncryptionStatus.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DiskEncryptionStatus.php
deleted file mode 100644
index 9d2eb56e3d7e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/DiskEncryptionStatus.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.DiskEncryptionStatus
- */
-class DiskEncryptionStatus extends \Google\Protobuf\Internal\Message
-{
- /**
- * KMS key version used to encrypt the Cloud SQL instance resource
- *
- * Generated from protobuf field string kms_key_version_name = 1;
- */
- protected $kms_key_version_name = '';
- /**
- * This is always `sql#diskEncryptionStatus`.
- *
- * Generated from protobuf field string kind = 2;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kms_key_version_name
- * KMS key version used to encrypt the Cloud SQL instance resource
- * @type string $kind
- * This is always `sql#diskEncryptionStatus`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * KMS key version used to encrypt the Cloud SQL instance resource
- *
- * Generated from protobuf field string kms_key_version_name = 1;
- * @return string
- */
- public function getKmsKeyVersionName()
- {
- return $this->kms_key_version_name;
- }
-
- /**
- * KMS key version used to encrypt the Cloud SQL instance resource
- *
- * Generated from protobuf field string kms_key_version_name = 1;
- * @param string $var
- * @return $this
- */
- public function setKmsKeyVersionName($var)
- {
- GPBUtil::checkString($var, True);
- $this->kms_key_version_name = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#diskEncryptionStatus`.
- *
- * Generated from protobuf field string kind = 2;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#diskEncryptionStatus`.
- *
- * Generated from protobuf field string kind = 2;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext.php
deleted file mode 100644
index 829e466796b3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext.php
+++ /dev/null
@@ -1,436 +0,0 @@
-google.cloud.sql.v1.ExportContext
- */
-class ExportContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * The path to the file in Google Cloud Storage where the export will be
- * stored. The URI is in the form `gs://bucketName/fileName`. If the file
- * already exists, the request succeeds, but the operation fails. If
- * `fileType` is `SQL` and the filename ends with .gz,
- * the contents are compressed.
- *
- * Generated from protobuf field string uri = 1;
- */
- protected $uri = '';
- /**
- * Databases to be exported.
`MySQL instances:` If
- * `fileType` is `SQL` and no database is specified, all
- * databases are exported, except for the `mysql` system database.
- * If `fileType` is `CSV`, you can specify one database,
- * either by using this property or by using the
- * `csvExportOptions.selectQuery` property, which takes precedence
- * over this property.
`PostgreSQL instances:` You must specify
- * one database to be exported. If `fileType` is `CSV`,
- * this database must match the one specified in the
- * `csvExportOptions.selectQuery` property.
`SQL Server
- * instances:` You must specify one database to be exported, and the
- * `fileType` must be `BAK`.
- *
- * Generated from protobuf field repeated string databases = 2;
- */
- private $databases;
- /**
- * This is always `sql#exportContext`.
- *
- * Generated from protobuf field string kind = 3;
- */
- protected $kind = '';
- /**
- * Options for exporting data as SQL statements.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext.SqlExportOptions sql_export_options = 4;
- */
- protected $sql_export_options = null;
- /**
- * Options for exporting data as CSV. `MySQL` and `PostgreSQL`
- * instances only.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext.SqlCsvExportOptions csv_export_options = 5;
- */
- protected $csv_export_options = null;
- /**
- * The file type for the specified uri.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlFileType file_type = 6;
- */
- protected $file_type = 0;
- /**
- * Option for export offload.
- *
- * Generated from protobuf field .google.protobuf.BoolValue offload = 8;
- */
- protected $offload = null;
- /**
- * Options for exporting data as BAK files.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext.SqlBakExportOptions bak_export_options = 9;
- */
- protected $bak_export_options = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $uri
- * The path to the file in Google Cloud Storage where the export will be
- * stored. The URI is in the form `gs://bucketName/fileName`. If the file
- * already exists, the request succeeds, but the operation fails. If
- * `fileType` is `SQL` and the filename ends with .gz,
- * the contents are compressed.
- * @type array|\Google\Protobuf\Internal\RepeatedField $databases
- * Databases to be exported.
`MySQL instances:` If
- * `fileType` is `SQL` and no database is specified, all
- * databases are exported, except for the `mysql` system database.
- * If `fileType` is `CSV`, you can specify one database,
- * either by using this property or by using the
- * `csvExportOptions.selectQuery` property, which takes precedence
- * over this property.
`PostgreSQL instances:` You must specify
- * one database to be exported. If `fileType` is `CSV`,
- * this database must match the one specified in the
- * `csvExportOptions.selectQuery` property.
`SQL Server
- * instances:` You must specify one database to be exported, and the
- * `fileType` must be `BAK`.
- * @type string $kind
- * This is always `sql#exportContext`.
- * @type \Google\Cloud\Sql\V1\ExportContext\SqlExportOptions $sql_export_options
- * Options for exporting data as SQL statements.
- * @type \Google\Cloud\Sql\V1\ExportContext\SqlCsvExportOptions $csv_export_options
- * Options for exporting data as CSV. `MySQL` and `PostgreSQL`
- * instances only.
- * @type int $file_type
- * The file type for the specified uri.
- * @type \Google\Protobuf\BoolValue $offload
- * Option for export offload.
- * @type \Google\Cloud\Sql\V1\ExportContext\SqlBakExportOptions $bak_export_options
- * Options for exporting data as BAK files.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The path to the file in Google Cloud Storage where the export will be
- * stored. The URI is in the form `gs://bucketName/fileName`. If the file
- * already exists, the request succeeds, but the operation fails. If
- * `fileType` is `SQL` and the filename ends with .gz,
- * the contents are compressed.
- *
- * Generated from protobuf field string uri = 1;
- * @return string
- */
- public function getUri()
- {
- return $this->uri;
- }
-
- /**
- * The path to the file in Google Cloud Storage where the export will be
- * stored. The URI is in the form `gs://bucketName/fileName`. If the file
- * already exists, the request succeeds, but the operation fails. If
- * `fileType` is `SQL` and the filename ends with .gz,
- * the contents are compressed.
- *
- * Generated from protobuf field string uri = 1;
- * @param string $var
- * @return $this
- */
- public function setUri($var)
- {
- GPBUtil::checkString($var, True);
- $this->uri = $var;
-
- return $this;
- }
-
- /**
- * Databases to be exported.
`MySQL instances:` If
- * `fileType` is `SQL` and no database is specified, all
- * databases are exported, except for the `mysql` system database.
- * If `fileType` is `CSV`, you can specify one database,
- * either by using this property or by using the
- * `csvExportOptions.selectQuery` property, which takes precedence
- * over this property.
`PostgreSQL instances:` You must specify
- * one database to be exported. If `fileType` is `CSV`,
- * this database must match the one specified in the
- * `csvExportOptions.selectQuery` property.
`SQL Server
- * instances:` You must specify one database to be exported, and the
- * `fileType` must be `BAK`.
- *
- * Generated from protobuf field repeated string databases = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDatabases()
- {
- return $this->databases;
- }
-
- /**
- * Databases to be exported.
`MySQL instances:` If
- * `fileType` is `SQL` and no database is specified, all
- * databases are exported, except for the `mysql` system database.
- * If `fileType` is `CSV`, you can specify one database,
- * either by using this property or by using the
- * `csvExportOptions.selectQuery` property, which takes precedence
- * over this property.
`PostgreSQL instances:` You must specify
- * one database to be exported. If `fileType` is `CSV`,
- * this database must match the one specified in the
- * `csvExportOptions.selectQuery` property.
`SQL Server
- * instances:` You must specify one database to be exported, and the
- * `fileType` must be `BAK`.
- *
- * Generated from protobuf field repeated string databases = 2;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setDatabases($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->databases = $arr;
-
- return $this;
- }
-
- /**
- * This is always `sql#exportContext`.
- *
- * Generated from protobuf field string kind = 3;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#exportContext`.
- *
- * Generated from protobuf field string kind = 3;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Options for exporting data as SQL statements.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext.SqlExportOptions sql_export_options = 4;
- * @return \Google\Cloud\Sql\V1\ExportContext\SqlExportOptions|null
- */
- public function getSqlExportOptions()
- {
- return $this->sql_export_options;
- }
-
- public function hasSqlExportOptions()
- {
- return isset($this->sql_export_options);
- }
-
- public function clearSqlExportOptions()
- {
- unset($this->sql_export_options);
- }
-
- /**
- * Options for exporting data as SQL statements.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext.SqlExportOptions sql_export_options = 4;
- * @param \Google\Cloud\Sql\V1\ExportContext\SqlExportOptions $var
- * @return $this
- */
- public function setSqlExportOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ExportContext\SqlExportOptions::class);
- $this->sql_export_options = $var;
-
- return $this;
- }
-
- /**
- * Options for exporting data as CSV. `MySQL` and `PostgreSQL`
- * instances only.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext.SqlCsvExportOptions csv_export_options = 5;
- * @return \Google\Cloud\Sql\V1\ExportContext\SqlCsvExportOptions|null
- */
- public function getCsvExportOptions()
- {
- return $this->csv_export_options;
- }
-
- public function hasCsvExportOptions()
- {
- return isset($this->csv_export_options);
- }
-
- public function clearCsvExportOptions()
- {
- unset($this->csv_export_options);
- }
-
- /**
- * Options for exporting data as CSV. `MySQL` and `PostgreSQL`
- * instances only.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext.SqlCsvExportOptions csv_export_options = 5;
- * @param \Google\Cloud\Sql\V1\ExportContext\SqlCsvExportOptions $var
- * @return $this
- */
- public function setCsvExportOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ExportContext\SqlCsvExportOptions::class);
- $this->csv_export_options = $var;
-
- return $this;
- }
-
- /**
- * The file type for the specified uri.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlFileType file_type = 6;
- * @return int
- */
- public function getFileType()
- {
- return $this->file_type;
- }
-
- /**
- * The file type for the specified uri.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlFileType file_type = 6;
- * @param int $var
- * @return $this
- */
- public function setFileType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlFileType::class);
- $this->file_type = $var;
-
- return $this;
- }
-
- /**
- * Option for export offload.
- *
- * Generated from protobuf field .google.protobuf.BoolValue offload = 8;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getOffload()
- {
- return $this->offload;
- }
-
- public function hasOffload()
- {
- return isset($this->offload);
- }
-
- public function clearOffload()
- {
- unset($this->offload);
- }
-
- /**
- * Returns the unboxed value from getOffload()
-
- * Option for export offload.
- *
- * Generated from protobuf field .google.protobuf.BoolValue offload = 8;
- * @return bool|null
- */
- public function getOffloadUnwrapped()
- {
- return $this->readWrapperValue("offload");
- }
-
- /**
- * Option for export offload.
- *
- * Generated from protobuf field .google.protobuf.BoolValue offload = 8;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setOffload($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->offload = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Option for export offload.
- *
- * Generated from protobuf field .google.protobuf.BoolValue offload = 8;
- * @param bool|null $var
- * @return $this
- */
- public function setOffloadUnwrapped($var)
- {
- $this->writeWrapperValue("offload", $var);
- return $this;}
-
- /**
- * Options for exporting data as BAK files.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext.SqlBakExportOptions bak_export_options = 9;
- * @return \Google\Cloud\Sql\V1\ExportContext\SqlBakExportOptions|null
- */
- public function getBakExportOptions()
- {
- return $this->bak_export_options;
- }
-
- public function hasBakExportOptions()
- {
- return isset($this->bak_export_options);
- }
-
- public function clearBakExportOptions()
- {
- unset($this->bak_export_options);
- }
-
- /**
- * Options for exporting data as BAK files.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext.SqlBakExportOptions bak_export_options = 9;
- * @param \Google\Cloud\Sql\V1\ExportContext\SqlBakExportOptions $var
- * @return $this
- */
- public function setBakExportOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ExportContext\SqlBakExportOptions::class);
- $this->bak_export_options = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext/SqlBakExportOptions.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext/SqlBakExportOptions.php
deleted file mode 100644
index 9eebf409ce5f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext/SqlBakExportOptions.php
+++ /dev/null
@@ -1,380 +0,0 @@
-google.cloud.sql.v1.ExportContext.SqlBakExportOptions
- */
-class SqlBakExportOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * Whether or not the export should be striped.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 1;
- */
- protected $striped = null;
- /**
- * Option for specifying how many stripes to use for the export.
- * If blank, and the value of the striped field is true,
- * the number of stripes is automatically chosen.
- *
- * Generated from protobuf field .google.protobuf.Int32Value stripe_count = 2;
- */
- protected $stripe_count = null;
- /**
- * Type of this bak file will be export, FULL or DIFF, SQL Server only
- *
- * Generated from protobuf field .google.cloud.sql.v1.BakType bak_type = 4;
- */
- protected $bak_type = 0;
- /**
- * Deprecated: copy_only is deprecated. Use differential_base instead
- *
- * Generated from protobuf field .google.protobuf.BoolValue copy_only = 5 [deprecated = true];
- * @deprecated
- */
- protected $copy_only = null;
- /**
- * Whether or not the backup can be used as a differential base
- * copy_only backup can not be served as differential base
- *
- * Generated from protobuf field .google.protobuf.BoolValue differential_base = 6;
- */
- protected $differential_base = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\BoolValue $striped
- * Whether or not the export should be striped.
- * @type \Google\Protobuf\Int32Value $stripe_count
- * Option for specifying how many stripes to use for the export.
- * If blank, and the value of the striped field is true,
- * the number of stripes is automatically chosen.
- * @type int $bak_type
- * Type of this bak file will be export, FULL or DIFF, SQL Server only
- * @type \Google\Protobuf\BoolValue $copy_only
- * Deprecated: copy_only is deprecated. Use differential_base instead
- * @type \Google\Protobuf\BoolValue $differential_base
- * Whether or not the backup can be used as a differential base
- * copy_only backup can not be served as differential base
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Whether or not the export should be striped.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 1;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getStriped()
- {
- return $this->striped;
- }
-
- public function hasStriped()
- {
- return isset($this->striped);
- }
-
- public function clearStriped()
- {
- unset($this->striped);
- }
-
- /**
- * Returns the unboxed value from getStriped()
-
- * Whether or not the export should be striped.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 1;
- * @return bool|null
- */
- public function getStripedUnwrapped()
- {
- return $this->readWrapperValue("striped");
- }
-
- /**
- * Whether or not the export should be striped.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 1;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setStriped($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->striped = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether or not the export should be striped.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 1;
- * @param bool|null $var
- * @return $this
- */
- public function setStripedUnwrapped($var)
- {
- $this->writeWrapperValue("striped", $var);
- return $this;}
-
- /**
- * Option for specifying how many stripes to use for the export.
- * If blank, and the value of the striped field is true,
- * the number of stripes is automatically chosen.
- *
- * Generated from protobuf field .google.protobuf.Int32Value stripe_count = 2;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getStripeCount()
- {
- return $this->stripe_count;
- }
-
- public function hasStripeCount()
- {
- return isset($this->stripe_count);
- }
-
- public function clearStripeCount()
- {
- unset($this->stripe_count);
- }
-
- /**
- * Returns the unboxed value from getStripeCount()
-
- * Option for specifying how many stripes to use for the export.
- * If blank, and the value of the striped field is true,
- * the number of stripes is automatically chosen.
- *
- * Generated from protobuf field .google.protobuf.Int32Value stripe_count = 2;
- * @return int|null
- */
- public function getStripeCountUnwrapped()
- {
- return $this->readWrapperValue("stripe_count");
- }
-
- /**
- * Option for specifying how many stripes to use for the export.
- * If blank, and the value of the striped field is true,
- * the number of stripes is automatically chosen.
- *
- * Generated from protobuf field .google.protobuf.Int32Value stripe_count = 2;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setStripeCount($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->stripe_count = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Option for specifying how many stripes to use for the export.
- * If blank, and the value of the striped field is true,
- * the number of stripes is automatically chosen.
- *
- * Generated from protobuf field .google.protobuf.Int32Value stripe_count = 2;
- * @param int|null $var
- * @return $this
- */
- public function setStripeCountUnwrapped($var)
- {
- $this->writeWrapperValue("stripe_count", $var);
- return $this;}
-
- /**
- * Type of this bak file will be export, FULL or DIFF, SQL Server only
- *
- * Generated from protobuf field .google.cloud.sql.v1.BakType bak_type = 4;
- * @return int
- */
- public function getBakType()
- {
- return $this->bak_type;
- }
-
- /**
- * Type of this bak file will be export, FULL or DIFF, SQL Server only
- *
- * Generated from protobuf field .google.cloud.sql.v1.BakType bak_type = 4;
- * @param int $var
- * @return $this
- */
- public function setBakType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\BakType::class);
- $this->bak_type = $var;
-
- return $this;
- }
-
- /**
- * Deprecated: copy_only is deprecated. Use differential_base instead
- *
- * Generated from protobuf field .google.protobuf.BoolValue copy_only = 5 [deprecated = true];
- * @return \Google\Protobuf\BoolValue|null
- * @deprecated
- */
- public function getCopyOnly()
- {
- @trigger_error('copy_only is deprecated.', E_USER_DEPRECATED);
- return $this->copy_only;
- }
-
- public function hasCopyOnly()
- {
- @trigger_error('copy_only is deprecated.', E_USER_DEPRECATED);
- return isset($this->copy_only);
- }
-
- public function clearCopyOnly()
- {
- @trigger_error('copy_only is deprecated.', E_USER_DEPRECATED);
- unset($this->copy_only);
- }
-
- /**
- * Returns the unboxed value from getCopyOnly()
-
- * Deprecated: copy_only is deprecated. Use differential_base instead
- *
- * Generated from protobuf field .google.protobuf.BoolValue copy_only = 5 [deprecated = true];
- * @return bool|null
- */
- public function getCopyOnlyUnwrapped()
- {
- @trigger_error('copy_only is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("copy_only");
- }
-
- /**
- * Deprecated: copy_only is deprecated. Use differential_base instead
- *
- * Generated from protobuf field .google.protobuf.BoolValue copy_only = 5 [deprecated = true];
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- * @deprecated
- */
- public function setCopyOnly($var)
- {
- @trigger_error('copy_only is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->copy_only = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Deprecated: copy_only is deprecated. Use differential_base instead
- *
- * Generated from protobuf field .google.protobuf.BoolValue copy_only = 5 [deprecated = true];
- * @param bool|null $var
- * @return $this
- */
- public function setCopyOnlyUnwrapped($var)
- {
- $this->writeWrapperValue("copy_only", $var);
- return $this;}
-
- /**
- * Whether or not the backup can be used as a differential base
- * copy_only backup can not be served as differential base
- *
- * Generated from protobuf field .google.protobuf.BoolValue differential_base = 6;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getDifferentialBase()
- {
- return $this->differential_base;
- }
-
- public function hasDifferentialBase()
- {
- return isset($this->differential_base);
- }
-
- public function clearDifferentialBase()
- {
- unset($this->differential_base);
- }
-
- /**
- * Returns the unboxed value from getDifferentialBase()
-
- * Whether or not the backup can be used as a differential base
- * copy_only backup can not be served as differential base
- *
- * Generated from protobuf field .google.protobuf.BoolValue differential_base = 6;
- * @return bool|null
- */
- public function getDifferentialBaseUnwrapped()
- {
- return $this->readWrapperValue("differential_base");
- }
-
- /**
- * Whether or not the backup can be used as a differential base
- * copy_only backup can not be served as differential base
- *
- * Generated from protobuf field .google.protobuf.BoolValue differential_base = 6;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setDifferentialBase($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->differential_base = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether or not the backup can be used as a differential base
- * copy_only backup can not be served as differential base
- *
- * Generated from protobuf field .google.protobuf.BoolValue differential_base = 6;
- * @param bool|null $var
- * @return $this
- */
- public function setDifferentialBaseUnwrapped($var)
- {
- $this->writeWrapperValue("differential_base", $var);
- return $this;}
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlBakExportOptions::class, \Google\Cloud\Sql\V1\ExportContext_SqlBakExportOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext/SqlCsvExportOptions.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext/SqlCsvExportOptions.php
deleted file mode 100644
index c73966c0af69..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext/SqlCsvExportOptions.php
+++ /dev/null
@@ -1,216 +0,0 @@
-google.cloud.sql.v1.ExportContext.SqlCsvExportOptions
- */
-class SqlCsvExportOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * The select query used to extract the data.
- *
- * Generated from protobuf field string select_query = 1;
- */
- protected $select_query = '';
- /**
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- *
- * Generated from protobuf field string escape_character = 2;
- */
- protected $escape_character = '';
- /**
- * Specifies the quoting character to be used when a data value is quoted.
- *
- * Generated from protobuf field string quote_character = 3;
- */
- protected $quote_character = '';
- /**
- * Specifies the character that separates columns within each row (line) of
- * the file.
- *
- * Generated from protobuf field string fields_terminated_by = 4;
- */
- protected $fields_terminated_by = '';
- /**
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- *
- * Generated from protobuf field string lines_terminated_by = 6;
- */
- protected $lines_terminated_by = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $select_query
- * The select query used to extract the data.
- * @type string $escape_character
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- * @type string $quote_character
- * Specifies the quoting character to be used when a data value is quoted.
- * @type string $fields_terminated_by
- * Specifies the character that separates columns within each row (line) of
- * the file.
- * @type string $lines_terminated_by
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The select query used to extract the data.
- *
- * Generated from protobuf field string select_query = 1;
- * @return string
- */
- public function getSelectQuery()
- {
- return $this->select_query;
- }
-
- /**
- * The select query used to extract the data.
- *
- * Generated from protobuf field string select_query = 1;
- * @param string $var
- * @return $this
- */
- public function setSelectQuery($var)
- {
- GPBUtil::checkString($var, True);
- $this->select_query = $var;
-
- return $this;
- }
-
- /**
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- *
- * Generated from protobuf field string escape_character = 2;
- * @return string
- */
- public function getEscapeCharacter()
- {
- return $this->escape_character;
- }
-
- /**
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- *
- * Generated from protobuf field string escape_character = 2;
- * @param string $var
- * @return $this
- */
- public function setEscapeCharacter($var)
- {
- GPBUtil::checkString($var, True);
- $this->escape_character = $var;
-
- return $this;
- }
-
- /**
- * Specifies the quoting character to be used when a data value is quoted.
- *
- * Generated from protobuf field string quote_character = 3;
- * @return string
- */
- public function getQuoteCharacter()
- {
- return $this->quote_character;
- }
-
- /**
- * Specifies the quoting character to be used when a data value is quoted.
- *
- * Generated from protobuf field string quote_character = 3;
- * @param string $var
- * @return $this
- */
- public function setQuoteCharacter($var)
- {
- GPBUtil::checkString($var, True);
- $this->quote_character = $var;
-
- return $this;
- }
-
- /**
- * Specifies the character that separates columns within each row (line) of
- * the file.
- *
- * Generated from protobuf field string fields_terminated_by = 4;
- * @return string
- */
- public function getFieldsTerminatedBy()
- {
- return $this->fields_terminated_by;
- }
-
- /**
- * Specifies the character that separates columns within each row (line) of
- * the file.
- *
- * Generated from protobuf field string fields_terminated_by = 4;
- * @param string $var
- * @return $this
- */
- public function setFieldsTerminatedBy($var)
- {
- GPBUtil::checkString($var, True);
- $this->fields_terminated_by = $var;
-
- return $this;
- }
-
- /**
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- *
- * Generated from protobuf field string lines_terminated_by = 6;
- * @return string
- */
- public function getLinesTerminatedBy()
- {
- return $this->lines_terminated_by;
- }
-
- /**
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- *
- * Generated from protobuf field string lines_terminated_by = 6;
- * @param string $var
- * @return $this
- */
- public function setLinesTerminatedBy($var)
- {
- GPBUtil::checkString($var, True);
- $this->lines_terminated_by = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlCsvExportOptions::class, \Google\Cloud\Sql\V1\ExportContext_SqlCsvExportOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext/SqlExportOptions.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext/SqlExportOptions.php
deleted file mode 100644
index 19ce46cfeb3e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext/SqlExportOptions.php
+++ /dev/null
@@ -1,326 +0,0 @@
-google.cloud.sql.v1.ExportContext.SqlExportOptions
- */
-class SqlExportOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * Tables to export, or that were exported, from the specified database. If
- * you specify tables, specify one and only one database. For PostgreSQL
- * instances, you can specify only one table.
- *
- * Generated from protobuf field repeated string tables = 1;
- */
- private $tables;
- /**
- * Export only schemas.
- *
- * Generated from protobuf field .google.protobuf.BoolValue schema_only = 2;
- */
- protected $schema_only = null;
- /**
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext.SqlExportOptions.MysqlExportOptions mysql_export_options = 3;
- */
- protected $mysql_export_options = null;
- /**
- * Optional. The number of threads to use for parallel export.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 4 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $threads = null;
- /**
- * Optional. Whether or not the export should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 5 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $parallel = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array|\Google\Protobuf\Internal\RepeatedField $tables
- * Tables to export, or that were exported, from the specified database. If
- * you specify tables, specify one and only one database. For PostgreSQL
- * instances, you can specify only one table.
- * @type \Google\Protobuf\BoolValue $schema_only
- * Export only schemas.
- * @type \Google\Cloud\Sql\V1\ExportContext\SqlExportOptions\MysqlExportOptions $mysql_export_options
- * @type \Google\Protobuf\Int32Value $threads
- * Optional. The number of threads to use for parallel export.
- * @type \Google\Protobuf\BoolValue $parallel
- * Optional. Whether or not the export should be parallel.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Tables to export, or that were exported, from the specified database. If
- * you specify tables, specify one and only one database. For PostgreSQL
- * instances, you can specify only one table.
- *
- * Generated from protobuf field repeated string tables = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getTables()
- {
- return $this->tables;
- }
-
- /**
- * Tables to export, or that were exported, from the specified database. If
- * you specify tables, specify one and only one database. For PostgreSQL
- * instances, you can specify only one table.
- *
- * Generated from protobuf field repeated string tables = 1;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setTables($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->tables = $arr;
-
- return $this;
- }
-
- /**
- * Export only schemas.
- *
- * Generated from protobuf field .google.protobuf.BoolValue schema_only = 2;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getSchemaOnly()
- {
- return $this->schema_only;
- }
-
- public function hasSchemaOnly()
- {
- return isset($this->schema_only);
- }
-
- public function clearSchemaOnly()
- {
- unset($this->schema_only);
- }
-
- /**
- * Returns the unboxed value from getSchemaOnly()
-
- * Export only schemas.
- *
- * Generated from protobuf field .google.protobuf.BoolValue schema_only = 2;
- * @return bool|null
- */
- public function getSchemaOnlyUnwrapped()
- {
- return $this->readWrapperValue("schema_only");
- }
-
- /**
- * Export only schemas.
- *
- * Generated from protobuf field .google.protobuf.BoolValue schema_only = 2;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setSchemaOnly($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->schema_only = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Export only schemas.
- *
- * Generated from protobuf field .google.protobuf.BoolValue schema_only = 2;
- * @param bool|null $var
- * @return $this
- */
- public function setSchemaOnlyUnwrapped($var)
- {
- $this->writeWrapperValue("schema_only", $var);
- return $this;}
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext.SqlExportOptions.MysqlExportOptions mysql_export_options = 3;
- * @return \Google\Cloud\Sql\V1\ExportContext\SqlExportOptions\MysqlExportOptions|null
- */
- public function getMysqlExportOptions()
- {
- return $this->mysql_export_options;
- }
-
- public function hasMysqlExportOptions()
- {
- return isset($this->mysql_export_options);
- }
-
- public function clearMysqlExportOptions()
- {
- unset($this->mysql_export_options);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext.SqlExportOptions.MysqlExportOptions mysql_export_options = 3;
- * @param \Google\Cloud\Sql\V1\ExportContext\SqlExportOptions\MysqlExportOptions $var
- * @return $this
- */
- public function setMysqlExportOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ExportContext\SqlExportOptions\MysqlExportOptions::class);
- $this->mysql_export_options = $var;
-
- return $this;
- }
-
- /**
- * Optional. The number of threads to use for parallel export.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getThreads()
- {
- return $this->threads;
- }
-
- public function hasThreads()
- {
- return isset($this->threads);
- }
-
- public function clearThreads()
- {
- unset($this->threads);
- }
-
- /**
- * Returns the unboxed value from getThreads()
-
- * Optional. The number of threads to use for parallel export.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return int|null
- */
- public function getThreadsUnwrapped()
- {
- return $this->readWrapperValue("threads");
- }
-
- /**
- * Optional. The number of threads to use for parallel export.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setThreads($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->threads = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Optional. The number of threads to use for parallel export.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param int|null $var
- * @return $this
- */
- public function setThreadsUnwrapped($var)
- {
- $this->writeWrapperValue("threads", $var);
- return $this;}
-
- /**
- * Optional. Whether or not the export should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getParallel()
- {
- return $this->parallel;
- }
-
- public function hasParallel()
- {
- return isset($this->parallel);
- }
-
- public function clearParallel()
- {
- unset($this->parallel);
- }
-
- /**
- * Returns the unboxed value from getParallel()
-
- * Optional. Whether or not the export should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool|null
- */
- public function getParallelUnwrapped()
- {
- return $this->readWrapperValue("parallel");
- }
-
- /**
- * Optional. Whether or not the export should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setParallel($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->parallel = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Optional. Whether or not the export should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool|null $var
- * @return $this
- */
- public function setParallelUnwrapped($var)
- {
- $this->writeWrapperValue("parallel", $var);
- return $this;}
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlExportOptions::class, \Google\Cloud\Sql\V1\ExportContext_SqlExportOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext/SqlExportOptions/MysqlExportOptions.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext/SqlExportOptions/MysqlExportOptions.php
deleted file mode 100644
index 113b82d013e4..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExportContext/SqlExportOptions/MysqlExportOptions.php
+++ /dev/null
@@ -1,137 +0,0 @@
-google.cloud.sql.v1.ExportContext.SqlExportOptions.MysqlExportOptions
- */
-class MysqlExportOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * Option to include SQL statement required to set up replication. If set
- * to `1`, the dump file includes a CHANGE MASTER TO statement with the
- * binary log coordinates, and --set-gtid-purged is set to ON. If set to
- * `2`, the CHANGE MASTER TO statement is written as a SQL comment and
- * has no effect. If set to any value other than `1`, --set-gtid-purged
- * is set to OFF.
- *
- * Generated from protobuf field .google.protobuf.Int32Value master_data = 1;
- */
- protected $master_data = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Int32Value $master_data
- * Option to include SQL statement required to set up replication. If set
- * to `1`, the dump file includes a CHANGE MASTER TO statement with the
- * binary log coordinates, and --set-gtid-purged is set to ON. If set to
- * `2`, the CHANGE MASTER TO statement is written as a SQL comment and
- * has no effect. If set to any value other than `1`, --set-gtid-purged
- * is set to OFF.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Option to include SQL statement required to set up replication. If set
- * to `1`, the dump file includes a CHANGE MASTER TO statement with the
- * binary log coordinates, and --set-gtid-purged is set to ON. If set to
- * `2`, the CHANGE MASTER TO statement is written as a SQL comment and
- * has no effect. If set to any value other than `1`, --set-gtid-purged
- * is set to OFF.
- *
- * Generated from protobuf field .google.protobuf.Int32Value master_data = 1;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getMasterData()
- {
- return $this->master_data;
- }
-
- public function hasMasterData()
- {
- return isset($this->master_data);
- }
-
- public function clearMasterData()
- {
- unset($this->master_data);
- }
-
- /**
- * Returns the unboxed value from getMasterData()
-
- * Option to include SQL statement required to set up replication. If set
- * to `1`, the dump file includes a CHANGE MASTER TO statement with the
- * binary log coordinates, and --set-gtid-purged is set to ON. If set to
- * `2`, the CHANGE MASTER TO statement is written as a SQL comment and
- * has no effect. If set to any value other than `1`, --set-gtid-purged
- * is set to OFF.
- *
- * Generated from protobuf field .google.protobuf.Int32Value master_data = 1;
- * @return int|null
- */
- public function getMasterDataUnwrapped()
- {
- return $this->readWrapperValue("master_data");
- }
-
- /**
- * Option to include SQL statement required to set up replication. If set
- * to `1`, the dump file includes a CHANGE MASTER TO statement with the
- * binary log coordinates, and --set-gtid-purged is set to ON. If set to
- * `2`, the CHANGE MASTER TO statement is written as a SQL comment and
- * has no effect. If set to any value other than `1`, --set-gtid-purged
- * is set to OFF.
- *
- * Generated from protobuf field .google.protobuf.Int32Value master_data = 1;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setMasterData($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->master_data = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Option to include SQL statement required to set up replication. If set
- * to `1`, the dump file includes a CHANGE MASTER TO statement with the
- * binary log coordinates, and --set-gtid-purged is set to ON. If set to
- * `2`, the CHANGE MASTER TO statement is written as a SQL comment and
- * has no effect. If set to any value other than `1`, --set-gtid-purged
- * is set to OFF.
- *
- * Generated from protobuf field .google.protobuf.Int32Value master_data = 1;
- * @param int|null $var
- * @return $this
- */
- public function setMasterDataUnwrapped($var)
- {
- $this->writeWrapperValue("master_data", $var);
- return $this;}
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(MysqlExportOptions::class, \Google\Cloud\Sql\V1\ExportContext_SqlExportOptions_MysqlExportOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExternalSyncParallelLevel.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExternalSyncParallelLevel.php
deleted file mode 100644
index c3d02dee27f5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ExternalSyncParallelLevel.php
+++ /dev/null
@@ -1,68 +0,0 @@
-google.cloud.sql.v1.ExternalSyncParallelLevel
- */
-class ExternalSyncParallelLevel
-{
- /**
- * Unknown sync parallel level. Will be defaulted to OPTIMAL.
- *
- * Generated from protobuf enum EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED = 0;
- */
- const EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED = 0;
- /**
- * Minimal parallel level.
- *
- * Generated from protobuf enum MIN = 1;
- */
- const MIN = 1;
- /**
- * Optimal parallel level.
- *
- * Generated from protobuf enum OPTIMAL = 2;
- */
- const OPTIMAL = 2;
- /**
- * Maximum parallel level.
- *
- * Generated from protobuf enum MAX = 3;
- */
- const MAX = 3;
-
- private static $valueToName = [
- self::EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED => 'EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED',
- self::MIN => 'MIN',
- self::OPTIMAL => 'OPTIMAL',
- self::MAX => 'MAX',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/FailoverContext.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/FailoverContext.php
deleted file mode 100644
index ca709f956f5d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/FailoverContext.php
+++ /dev/null
@@ -1,105 +0,0 @@
-google.cloud.sql.v1.FailoverContext
- */
-class FailoverContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * The current settings version of this instance. Request will be rejected if
- * this version doesn't match the current settings version.
- *
- * Generated from protobuf field int64 settings_version = 1;
- */
- protected $settings_version = 0;
- /**
- * This is always `sql#failoverContext`.
- *
- * Generated from protobuf field string kind = 2;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $settings_version
- * The current settings version of this instance. Request will be rejected if
- * this version doesn't match the current settings version.
- * @type string $kind
- * This is always `sql#failoverContext`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The current settings version of this instance. Request will be rejected if
- * this version doesn't match the current settings version.
- *
- * Generated from protobuf field int64 settings_version = 1;
- * @return int|string
- */
- public function getSettingsVersion()
- {
- return $this->settings_version;
- }
-
- /**
- * The current settings version of this instance. Request will be rejected if
- * this version doesn't match the current settings version.
- *
- * Generated from protobuf field int64 settings_version = 1;
- * @param int|string $var
- * @return $this
- */
- public function setSettingsVersion($var)
- {
- GPBUtil::checkInt64($var);
- $this->settings_version = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#failoverContext`.
- *
- * Generated from protobuf field string kind = 2;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#failoverContext`.
- *
- * Generated from protobuf field string kind = 2;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Flag.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Flag.php
deleted file mode 100644
index 3a0051417697..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Flag.php
+++ /dev/null
@@ -1,579 +0,0 @@
-google.cloud.sql.v1.Flag
- */
-class Flag extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is the name of the flag. Flag names always use underscores, not
- * hyphens, for example: `max_allowed_packet`
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`,
- * `INTEGER` or `NONE`. `NONE` is used for flags that do not take a
- * value, such as `skip_grant_tables`.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlFlagType type = 2;
- */
- protected $type = 0;
- /**
- * The database version this flag applies to. Can be
- * MySQL instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`,
- * or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11` or `POSTGRES_12`. SQL Server instances:
- * `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`,
- * `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- * See [the complete
- * list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SqlDatabaseVersion applies_to = 3;
- */
- private $applies_to;
- /**
- * For `STRING` flags, a list of strings that the value can be set to.
- *
- * Generated from protobuf field repeated string allowed_string_values = 4;
- */
- private $allowed_string_values;
- /**
- * For `INTEGER` flags, the minimum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value min_value = 5;
- */
- protected $min_value = null;
- /**
- * For `INTEGER` flags, the maximum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_value = 6;
- */
- protected $max_value = null;
- /**
- * Indicates whether changing this flag will trigger a database restart. Only
- * applicable to Second Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue requires_restart = 7;
- */
- protected $requires_restart = null;
- /**
- * This is always `sql#flag`.
- *
- * Generated from protobuf field string kind = 8;
- */
- protected $kind = '';
- /**
- * Whether or not the flag is considered in beta.
- *
- * Generated from protobuf field .google.protobuf.BoolValue in_beta = 9;
- */
- protected $in_beta = null;
- /**
- * Use this field if only certain integers are accepted. Can be combined
- * with min_value and max_value to add additional values.
- *
- * Generated from protobuf field repeated int64 allowed_int_values = 10;
- */
- private $allowed_int_values;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * This is the name of the flag. Flag names always use underscores, not
- * hyphens, for example: `max_allowed_packet`
- * @type int $type
- * The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`,
- * `INTEGER` or `NONE`. `NONE` is used for flags that do not take a
- * value, such as `skip_grant_tables`.
- * @type array|\Google\Protobuf\Internal\RepeatedField $applies_to
- * The database version this flag applies to. Can be
- * MySQL instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`,
- * or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11` or `POSTGRES_12`. SQL Server instances:
- * `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`,
- * `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- * See [the complete
- * list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
- * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_string_values
- * For `STRING` flags, a list of strings that the value can be set to.
- * @type \Google\Protobuf\Int64Value $min_value
- * For `INTEGER` flags, the minimum allowed value.
- * @type \Google\Protobuf\Int64Value $max_value
- * For `INTEGER` flags, the maximum allowed value.
- * @type \Google\Protobuf\BoolValue $requires_restart
- * Indicates whether changing this flag will trigger a database restart. Only
- * applicable to Second Generation instances.
- * @type string $kind
- * This is always `sql#flag`.
- * @type \Google\Protobuf\BoolValue $in_beta
- * Whether or not the flag is considered in beta.
- * @type array|array|\Google\Protobuf\Internal\RepeatedField $allowed_int_values
- * Use this field if only certain integers are accepted. Can be combined
- * with min_value and max_value to add additional values.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlFlags::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is the name of the flag. Flag names always use underscores, not
- * hyphens, for example: `max_allowed_packet`
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * This is the name of the flag. Flag names always use underscores, not
- * hyphens, for example: `max_allowed_packet`
- *
- * Generated from protobuf field string name = 1;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`,
- * `INTEGER` or `NONE`. `NONE` is used for flags that do not take a
- * value, such as `skip_grant_tables`.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlFlagType type = 2;
- * @return int
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`,
- * `INTEGER` or `NONE`. `NONE` is used for flags that do not take a
- * value, such as `skip_grant_tables`.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlFlagType type = 2;
- * @param int $var
- * @return $this
- */
- public function setType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlFlagType::class);
- $this->type = $var;
-
- return $this;
- }
-
- /**
- * The database version this flag applies to. Can be
- * MySQL instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`,
- * or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11` or `POSTGRES_12`. SQL Server instances:
- * `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`,
- * `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- * See [the complete
- * list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SqlDatabaseVersion applies_to = 3;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAppliesTo()
- {
- return $this->applies_to;
- }
-
- /**
- * The database version this flag applies to. Can be
- * MySQL instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`,
- * or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11` or `POSTGRES_12`. SQL Server instances:
- * `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`,
- * `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- * See [the complete
- * list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SqlDatabaseVersion applies_to = 3;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAppliesTo($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\Sql\V1\SqlDatabaseVersion::class);
- $this->applies_to = $arr;
-
- return $this;
- }
-
- /**
- * For `STRING` flags, a list of strings that the value can be set to.
- *
- * Generated from protobuf field repeated string allowed_string_values = 4;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAllowedStringValues()
- {
- return $this->allowed_string_values;
- }
-
- /**
- * For `STRING` flags, a list of strings that the value can be set to.
- *
- * Generated from protobuf field repeated string allowed_string_values = 4;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAllowedStringValues($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->allowed_string_values = $arr;
-
- return $this;
- }
-
- /**
- * For `INTEGER` flags, the minimum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value min_value = 5;
- * @return \Google\Protobuf\Int64Value|null
- */
- public function getMinValue()
- {
- return $this->min_value;
- }
-
- public function hasMinValue()
- {
- return isset($this->min_value);
- }
-
- public function clearMinValue()
- {
- unset($this->min_value);
- }
-
- /**
- * Returns the unboxed value from getMinValue()
-
- * For `INTEGER` flags, the minimum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value min_value = 5;
- * @return int|string|null
- */
- public function getMinValueUnwrapped()
- {
- return $this->readWrapperValue("min_value");
- }
-
- /**
- * For `INTEGER` flags, the minimum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value min_value = 5;
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- */
- public function setMinValue($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->min_value = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * For `INTEGER` flags, the minimum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value min_value = 5;
- * @param int|string|null $var
- * @return $this
- */
- public function setMinValueUnwrapped($var)
- {
- $this->writeWrapperValue("min_value", $var);
- return $this;}
-
- /**
- * For `INTEGER` flags, the maximum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_value = 6;
- * @return \Google\Protobuf\Int64Value|null
- */
- public function getMaxValue()
- {
- return $this->max_value;
- }
-
- public function hasMaxValue()
- {
- return isset($this->max_value);
- }
-
- public function clearMaxValue()
- {
- unset($this->max_value);
- }
-
- /**
- * Returns the unboxed value from getMaxValue()
-
- * For `INTEGER` flags, the maximum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_value = 6;
- * @return int|string|null
- */
- public function getMaxValueUnwrapped()
- {
- return $this->readWrapperValue("max_value");
- }
-
- /**
- * For `INTEGER` flags, the maximum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_value = 6;
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- */
- public function setMaxValue($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->max_value = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * For `INTEGER` flags, the maximum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_value = 6;
- * @param int|string|null $var
- * @return $this
- */
- public function setMaxValueUnwrapped($var)
- {
- $this->writeWrapperValue("max_value", $var);
- return $this;}
-
- /**
- * Indicates whether changing this flag will trigger a database restart. Only
- * applicable to Second Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue requires_restart = 7;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getRequiresRestart()
- {
- return $this->requires_restart;
- }
-
- public function hasRequiresRestart()
- {
- return isset($this->requires_restart);
- }
-
- public function clearRequiresRestart()
- {
- unset($this->requires_restart);
- }
-
- /**
- * Returns the unboxed value from getRequiresRestart()
-
- * Indicates whether changing this flag will trigger a database restart. Only
- * applicable to Second Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue requires_restart = 7;
- * @return bool|null
- */
- public function getRequiresRestartUnwrapped()
- {
- return $this->readWrapperValue("requires_restart");
- }
-
- /**
- * Indicates whether changing this flag will trigger a database restart. Only
- * applicable to Second Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue requires_restart = 7;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setRequiresRestart($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->requires_restart = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Indicates whether changing this flag will trigger a database restart. Only
- * applicable to Second Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue requires_restart = 7;
- * @param bool|null $var
- * @return $this
- */
- public function setRequiresRestartUnwrapped($var)
- {
- $this->writeWrapperValue("requires_restart", $var);
- return $this;}
-
- /**
- * This is always `sql#flag`.
- *
- * Generated from protobuf field string kind = 8;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#flag`.
- *
- * Generated from protobuf field string kind = 8;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Whether or not the flag is considered in beta.
- *
- * Generated from protobuf field .google.protobuf.BoolValue in_beta = 9;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getInBeta()
- {
- return $this->in_beta;
- }
-
- public function hasInBeta()
- {
- return isset($this->in_beta);
- }
-
- public function clearInBeta()
- {
- unset($this->in_beta);
- }
-
- /**
- * Returns the unboxed value from getInBeta()
-
- * Whether or not the flag is considered in beta.
- *
- * Generated from protobuf field .google.protobuf.BoolValue in_beta = 9;
- * @return bool|null
- */
- public function getInBetaUnwrapped()
- {
- return $this->readWrapperValue("in_beta");
- }
-
- /**
- * Whether or not the flag is considered in beta.
- *
- * Generated from protobuf field .google.protobuf.BoolValue in_beta = 9;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setInBeta($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->in_beta = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether or not the flag is considered in beta.
- *
- * Generated from protobuf field .google.protobuf.BoolValue in_beta = 9;
- * @param bool|null $var
- * @return $this
- */
- public function setInBetaUnwrapped($var)
- {
- $this->writeWrapperValue("in_beta", $var);
- return $this;}
-
- /**
- * Use this field if only certain integers are accepted. Can be combined
- * with min_value and max_value to add additional values.
- *
- * Generated from protobuf field repeated int64 allowed_int_values = 10;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAllowedIntValues()
- {
- return $this->allowed_int_values;
- }
-
- /**
- * Use this field if only certain integers are accepted. Can be combined
- * with min_value and max_value to add additional values.
- *
- * Generated from protobuf field repeated int64 allowed_int_values = 10;
- * @param array|array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAllowedIntValues($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64);
- $this->allowed_int_values = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/FlagsListResponse.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/FlagsListResponse.php
deleted file mode 100644
index a6691eeb2c74..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/FlagsListResponse.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.FlagsListResponse
- */
-class FlagsListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#flagsList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of flags.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.Flag items = 2;
- */
- private $items;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#flagsList`.
- * @type array<\Google\Cloud\Sql\V1\Flag>|\Google\Protobuf\Internal\RepeatedField $items
- * List of flags.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlFlags::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#flagsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#flagsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of flags.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.Flag items = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * List of flags.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.Flag items = 2;
- * @param array<\Google\Cloud\Sql\V1\Flag>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\Flag::class);
- $this->items = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/GenerateEphemeralCertRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/GenerateEphemeralCertRequest.php
deleted file mode 100644
index 8a1c5622df77..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/GenerateEphemeralCertRequest.php
+++ /dev/null
@@ -1,261 +0,0 @@
-google.cloud.sql.v1.GenerateEphemeralCertRequest
- */
-class GenerateEphemeralCertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * PEM encoded public key to include in the signed certificate.
- *
- * Generated from protobuf field string public_key = 3;
- */
- protected $public_key = '';
- /**
- * Optional. Access token to include in the signed certificate.
- *
- * Generated from protobuf field string access_token = 4 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $access_token = '';
- /**
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $read_time = null;
- /**
- * Optional. If set, it will contain the cert valid duration.
- *
- * Generated from protobuf field .google.protobuf.Duration valid_duration = 12 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $valid_duration = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type string $public_key
- * PEM encoded public key to include in the signed certificate.
- * @type string $access_token
- * Optional. Access token to include in the signed certificate.
- * @type \Google\Protobuf\Timestamp $read_time
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- * @type \Google\Protobuf\Duration $valid_duration
- * Optional. If set, it will contain the cert valid duration.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlConnect::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * PEM encoded public key to include in the signed certificate.
- *
- * Generated from protobuf field string public_key = 3;
- * @return string
- */
- public function getPublicKey()
- {
- return $this->public_key;
- }
-
- /**
- * PEM encoded public key to include in the signed certificate.
- *
- * Generated from protobuf field string public_key = 3;
- * @param string $var
- * @return $this
- */
- public function setPublicKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->public_key = $var;
-
- return $this;
- }
-
- /**
- * Optional. Access token to include in the signed certificate.
- *
- * Generated from protobuf field string access_token = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getAccessToken()
- {
- return $this->access_token;
- }
-
- /**
- * Optional. Access token to include in the signed certificate.
- *
- * Generated from protobuf field string access_token = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setAccessToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->access_token = $var;
-
- return $this;
- }
-
- /**
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getReadTime()
- {
- return $this->read_time;
- }
-
- public function hasReadTime()
- {
- return isset($this->read_time);
- }
-
- public function clearReadTime()
- {
- unset($this->read_time);
- }
-
- /**
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setReadTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->read_time = $var;
-
- return $this;
- }
-
- /**
- * Optional. If set, it will contain the cert valid duration.
- *
- * Generated from protobuf field .google.protobuf.Duration valid_duration = 12 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Duration|null
- */
- public function getValidDuration()
- {
- return $this->valid_duration;
- }
-
- public function hasValidDuration()
- {
- return isset($this->valid_duration);
- }
-
- public function clearValidDuration()
- {
- unset($this->valid_duration);
- }
-
- /**
- * Optional. If set, it will contain the cert valid duration.
- *
- * Generated from protobuf field .google.protobuf.Duration valid_duration = 12 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setValidDuration($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->valid_duration = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/GenerateEphemeralCertResponse.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/GenerateEphemeralCertResponse.php
deleted file mode 100644
index 8830de381056..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/GenerateEphemeralCertResponse.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1.GenerateEphemeralCertResponse
- */
-class GenerateEphemeralCertResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated cert
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert ephemeral_cert = 1;
- */
- protected $ephemeral_cert = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1\SslCert $ephemeral_cert
- * Generated cert
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlConnect::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated cert
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert ephemeral_cert = 1;
- * @return \Google\Cloud\Sql\V1\SslCert|null
- */
- public function getEphemeralCert()
- {
- return $this->ephemeral_cert;
- }
-
- public function hasEphemeralCert()
- {
- return isset($this->ephemeral_cert);
- }
-
- public function clearEphemeralCert()
- {
- unset($this->ephemeral_cert);
- }
-
- /**
- * Generated cert
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert ephemeral_cert = 1;
- * @param \Google\Cloud\Sql\V1\SslCert $var
- * @return $this
- */
- public function setEphemeralCert($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SslCert::class);
- $this->ephemeral_cert = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/GetConnectSettingsRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/GetConnectSettingsRequest.php
deleted file mode 100644
index 9e2eede2ac38..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/GetConnectSettingsRequest.php
+++ /dev/null
@@ -1,149 +0,0 @@
-google.cloud.sql.v1.GetConnectSettingsRequest
- */
-class GetConnectSettingsRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $read_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Protobuf\Timestamp $read_time
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlConnect::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getReadTime()
- {
- return $this->read_time;
- }
-
- public function hasReadTime()
- {
- return isset($this->read_time);
- }
-
- public function clearReadTime()
- {
- unset($this->read_time);
- }
-
- /**
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setReadTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->read_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext.php
deleted file mode 100644
index 06b90533ca26..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext.php
+++ /dev/null
@@ -1,363 +0,0 @@
-google.cloud.sql.v1.ImportContext
- */
-class ImportContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * Path to the import file in Cloud Storage, in the form
- * `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported
- * when `fileType` is `SQL`. The instance must have
- * write permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string uri = 1;
- */
- protected $uri = '';
- /**
- * The target database for the import. If `fileType` is `SQL`, this field
- * is required only if the import file does not specify a database, and is
- * overridden by any database specification in the import file. If
- * `fileType` is `CSV`, one database must be specified.
- *
- * Generated from protobuf field string database = 2;
- */
- protected $database = '';
- /**
- * This is always `sql#importContext`.
- *
- * Generated from protobuf field string kind = 3;
- */
- protected $kind = '';
- /**
- * The file type for the specified uri.\`SQL`: The file
- * contains SQL statements. \`CSV`: The file contains CSV data.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlFileType file_type = 4;
- */
- protected $file_type = 0;
- /**
- * Options for importing data as CSV.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlCsvImportOptions csv_import_options = 5;
- */
- protected $csv_import_options = null;
- /**
- * The PostgreSQL user for this import operation. PostgreSQL instances only.
- *
- * Generated from protobuf field string import_user = 6;
- */
- protected $import_user = '';
- /**
- * Import parameters specific to SQL Server .BAK files
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlBakImportOptions bak_import_options = 7;
- */
- protected $bak_import_options = null;
- /**
- * Optional. Options for importing data from SQL statements.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlImportOptions sql_import_options = 8 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $sql_import_options = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $uri
- * Path to the import file in Cloud Storage, in the form
- * `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported
- * when `fileType` is `SQL`. The instance must have
- * write permissions to the bucket and read access to the file.
- * @type string $database
- * The target database for the import. If `fileType` is `SQL`, this field
- * is required only if the import file does not specify a database, and is
- * overridden by any database specification in the import file. If
- * `fileType` is `CSV`, one database must be specified.
- * @type string $kind
- * This is always `sql#importContext`.
- * @type int $file_type
- * The file type for the specified uri.\`SQL`: The file
- * contains SQL statements. \`CSV`: The file contains CSV data.
- * @type \Google\Cloud\Sql\V1\ImportContext\SqlCsvImportOptions $csv_import_options
- * Options for importing data as CSV.
- * @type string $import_user
- * The PostgreSQL user for this import operation. PostgreSQL instances only.
- * @type \Google\Cloud\Sql\V1\ImportContext\SqlBakImportOptions $bak_import_options
- * Import parameters specific to SQL Server .BAK files
- * @type \Google\Cloud\Sql\V1\ImportContext\SqlImportOptions $sql_import_options
- * Optional. Options for importing data from SQL statements.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Path to the import file in Cloud Storage, in the form
- * `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported
- * when `fileType` is `SQL`. The instance must have
- * write permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string uri = 1;
- * @return string
- */
- public function getUri()
- {
- return $this->uri;
- }
-
- /**
- * Path to the import file in Cloud Storage, in the form
- * `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported
- * when `fileType` is `SQL`. The instance must have
- * write permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string uri = 1;
- * @param string $var
- * @return $this
- */
- public function setUri($var)
- {
- GPBUtil::checkString($var, True);
- $this->uri = $var;
-
- return $this;
- }
-
- /**
- * The target database for the import. If `fileType` is `SQL`, this field
- * is required only if the import file does not specify a database, and is
- * overridden by any database specification in the import file. If
- * `fileType` is `CSV`, one database must be specified.
- *
- * Generated from protobuf field string database = 2;
- * @return string
- */
- public function getDatabase()
- {
- return $this->database;
- }
-
- /**
- * The target database for the import. If `fileType` is `SQL`, this field
- * is required only if the import file does not specify a database, and is
- * overridden by any database specification in the import file. If
- * `fileType` is `CSV`, one database must be specified.
- *
- * Generated from protobuf field string database = 2;
- * @param string $var
- * @return $this
- */
- public function setDatabase($var)
- {
- GPBUtil::checkString($var, True);
- $this->database = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#importContext`.
- *
- * Generated from protobuf field string kind = 3;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#importContext`.
- *
- * Generated from protobuf field string kind = 3;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The file type for the specified uri.\`SQL`: The file
- * contains SQL statements. \`CSV`: The file contains CSV data.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlFileType file_type = 4;
- * @return int
- */
- public function getFileType()
- {
- return $this->file_type;
- }
-
- /**
- * The file type for the specified uri.\`SQL`: The file
- * contains SQL statements. \`CSV`: The file contains CSV data.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlFileType file_type = 4;
- * @param int $var
- * @return $this
- */
- public function setFileType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlFileType::class);
- $this->file_type = $var;
-
- return $this;
- }
-
- /**
- * Options for importing data as CSV.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlCsvImportOptions csv_import_options = 5;
- * @return \Google\Cloud\Sql\V1\ImportContext\SqlCsvImportOptions|null
- */
- public function getCsvImportOptions()
- {
- return $this->csv_import_options;
- }
-
- public function hasCsvImportOptions()
- {
- return isset($this->csv_import_options);
- }
-
- public function clearCsvImportOptions()
- {
- unset($this->csv_import_options);
- }
-
- /**
- * Options for importing data as CSV.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlCsvImportOptions csv_import_options = 5;
- * @param \Google\Cloud\Sql\V1\ImportContext\SqlCsvImportOptions $var
- * @return $this
- */
- public function setCsvImportOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ImportContext\SqlCsvImportOptions::class);
- $this->csv_import_options = $var;
-
- return $this;
- }
-
- /**
- * The PostgreSQL user for this import operation. PostgreSQL instances only.
- *
- * Generated from protobuf field string import_user = 6;
- * @return string
- */
- public function getImportUser()
- {
- return $this->import_user;
- }
-
- /**
- * The PostgreSQL user for this import operation. PostgreSQL instances only.
- *
- * Generated from protobuf field string import_user = 6;
- * @param string $var
- * @return $this
- */
- public function setImportUser($var)
- {
- GPBUtil::checkString($var, True);
- $this->import_user = $var;
-
- return $this;
- }
-
- /**
- * Import parameters specific to SQL Server .BAK files
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlBakImportOptions bak_import_options = 7;
- * @return \Google\Cloud\Sql\V1\ImportContext\SqlBakImportOptions|null
- */
- public function getBakImportOptions()
- {
- return $this->bak_import_options;
- }
-
- public function hasBakImportOptions()
- {
- return isset($this->bak_import_options);
- }
-
- public function clearBakImportOptions()
- {
- unset($this->bak_import_options);
- }
-
- /**
- * Import parameters specific to SQL Server .BAK files
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlBakImportOptions bak_import_options = 7;
- * @param \Google\Cloud\Sql\V1\ImportContext\SqlBakImportOptions $var
- * @return $this
- */
- public function setBakImportOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ImportContext\SqlBakImportOptions::class);
- $this->bak_import_options = $var;
-
- return $this;
- }
-
- /**
- * Optional. Options for importing data from SQL statements.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlImportOptions sql_import_options = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Cloud\Sql\V1\ImportContext\SqlImportOptions|null
- */
- public function getSqlImportOptions()
- {
- return $this->sql_import_options;
- }
-
- public function hasSqlImportOptions()
- {
- return isset($this->sql_import_options);
- }
-
- public function clearSqlImportOptions()
- {
- unset($this->sql_import_options);
- }
-
- /**
- * Optional. Options for importing data from SQL statements.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlImportOptions sql_import_options = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Cloud\Sql\V1\ImportContext\SqlImportOptions $var
- * @return $this
- */
- public function setSqlImportOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ImportContext\SqlImportOptions::class);
- $this->sql_import_options = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext/SqlBakImportOptions.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext/SqlBakImportOptions.php
deleted file mode 100644
index 5d36cba31680..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext/SqlBakImportOptions.php
+++ /dev/null
@@ -1,452 +0,0 @@
-google.cloud.sql.v1.ImportContext.SqlBakImportOptions
- */
-class SqlBakImportOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlBakImportOptions.EncryptionOptions encryption_options = 1;
- */
- protected $encryption_options = null;
- /**
- * Whether or not the backup set being restored is striped.
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 2;
- */
- protected $striped = null;
- /**
- * Whether or not the backup importing will restore database
- * with NORECOVERY option
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue no_recovery = 4;
- */
- protected $no_recovery = null;
- /**
- * Whether or not the backup importing request will just bring database
- * online without downloading Bak content only one of "no_recovery" and
- * "recovery_only" can be true otherwise error will return. Applies only to
- * Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue recovery_only = 5;
- */
- protected $recovery_only = null;
- /**
- * Type of the bak content, FULL or DIFF
- *
- * Generated from protobuf field .google.cloud.sql.v1.BakType bak_type = 6;
- */
- protected $bak_type = 0;
- /**
- * Optional. The timestamp when the import should stop. This timestamp is in
- * the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example,
- * `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT
- * keyword and applies to Cloud SQL for SQL Server only.
- *
- * Generated from protobuf field .google.protobuf.Timestamp stop_at = 7 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $stop_at = null;
- /**
- * Optional. The marked transaction where the import should stop. This field
- * is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL
- * Server only.
- *
- * Generated from protobuf field string stop_at_mark = 8 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $stop_at_mark = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1\ImportContext\SqlBakImportOptions\EncryptionOptions $encryption_options
- * @type \Google\Protobuf\BoolValue $striped
- * Whether or not the backup set being restored is striped.
- * Applies only to Cloud SQL for SQL Server.
- * @type \Google\Protobuf\BoolValue $no_recovery
- * Whether or not the backup importing will restore database
- * with NORECOVERY option
- * Applies only to Cloud SQL for SQL Server.
- * @type \Google\Protobuf\BoolValue $recovery_only
- * Whether or not the backup importing request will just bring database
- * online without downloading Bak content only one of "no_recovery" and
- * "recovery_only" can be true otherwise error will return. Applies only to
- * Cloud SQL for SQL Server.
- * @type int $bak_type
- * Type of the bak content, FULL or DIFF
- * @type \Google\Protobuf\Timestamp $stop_at
- * Optional. The timestamp when the import should stop. This timestamp is in
- * the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example,
- * `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT
- * keyword and applies to Cloud SQL for SQL Server only.
- * @type string $stop_at_mark
- * Optional. The marked transaction where the import should stop. This field
- * is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL
- * Server only.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlBakImportOptions.EncryptionOptions encryption_options = 1;
- * @return \Google\Cloud\Sql\V1\ImportContext\SqlBakImportOptions\EncryptionOptions|null
- */
- public function getEncryptionOptions()
- {
- return $this->encryption_options;
- }
-
- public function hasEncryptionOptions()
- {
- return isset($this->encryption_options);
- }
-
- public function clearEncryptionOptions()
- {
- unset($this->encryption_options);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext.SqlBakImportOptions.EncryptionOptions encryption_options = 1;
- * @param \Google\Cloud\Sql\V1\ImportContext\SqlBakImportOptions\EncryptionOptions $var
- * @return $this
- */
- public function setEncryptionOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ImportContext\SqlBakImportOptions\EncryptionOptions::class);
- $this->encryption_options = $var;
-
- return $this;
- }
-
- /**
- * Whether or not the backup set being restored is striped.
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 2;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getStriped()
- {
- return $this->striped;
- }
-
- public function hasStriped()
- {
- return isset($this->striped);
- }
-
- public function clearStriped()
- {
- unset($this->striped);
- }
-
- /**
- * Returns the unboxed value from getStriped()
-
- * Whether or not the backup set being restored is striped.
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 2;
- * @return bool|null
- */
- public function getStripedUnwrapped()
- {
- return $this->readWrapperValue("striped");
- }
-
- /**
- * Whether or not the backup set being restored is striped.
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 2;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setStriped($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->striped = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether or not the backup set being restored is striped.
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 2;
- * @param bool|null $var
- * @return $this
- */
- public function setStripedUnwrapped($var)
- {
- $this->writeWrapperValue("striped", $var);
- return $this;}
-
- /**
- * Whether or not the backup importing will restore database
- * with NORECOVERY option
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue no_recovery = 4;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getNoRecovery()
- {
- return $this->no_recovery;
- }
-
- public function hasNoRecovery()
- {
- return isset($this->no_recovery);
- }
-
- public function clearNoRecovery()
- {
- unset($this->no_recovery);
- }
-
- /**
- * Returns the unboxed value from getNoRecovery()
-
- * Whether or not the backup importing will restore database
- * with NORECOVERY option
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue no_recovery = 4;
- * @return bool|null
- */
- public function getNoRecoveryUnwrapped()
- {
- return $this->readWrapperValue("no_recovery");
- }
-
- /**
- * Whether or not the backup importing will restore database
- * with NORECOVERY option
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue no_recovery = 4;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setNoRecovery($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->no_recovery = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether or not the backup importing will restore database
- * with NORECOVERY option
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue no_recovery = 4;
- * @param bool|null $var
- * @return $this
- */
- public function setNoRecoveryUnwrapped($var)
- {
- $this->writeWrapperValue("no_recovery", $var);
- return $this;}
-
- /**
- * Whether or not the backup importing request will just bring database
- * online without downloading Bak content only one of "no_recovery" and
- * "recovery_only" can be true otherwise error will return. Applies only to
- * Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue recovery_only = 5;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getRecoveryOnly()
- {
- return $this->recovery_only;
- }
-
- public function hasRecoveryOnly()
- {
- return isset($this->recovery_only);
- }
-
- public function clearRecoveryOnly()
- {
- unset($this->recovery_only);
- }
-
- /**
- * Returns the unboxed value from getRecoveryOnly()
-
- * Whether or not the backup importing request will just bring database
- * online without downloading Bak content only one of "no_recovery" and
- * "recovery_only" can be true otherwise error will return. Applies only to
- * Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue recovery_only = 5;
- * @return bool|null
- */
- public function getRecoveryOnlyUnwrapped()
- {
- return $this->readWrapperValue("recovery_only");
- }
-
- /**
- * Whether or not the backup importing request will just bring database
- * online without downloading Bak content only one of "no_recovery" and
- * "recovery_only" can be true otherwise error will return. Applies only to
- * Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue recovery_only = 5;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setRecoveryOnly($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->recovery_only = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether or not the backup importing request will just bring database
- * online without downloading Bak content only one of "no_recovery" and
- * "recovery_only" can be true otherwise error will return. Applies only to
- * Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue recovery_only = 5;
- * @param bool|null $var
- * @return $this
- */
- public function setRecoveryOnlyUnwrapped($var)
- {
- $this->writeWrapperValue("recovery_only", $var);
- return $this;}
-
- /**
- * Type of the bak content, FULL or DIFF
- *
- * Generated from protobuf field .google.cloud.sql.v1.BakType bak_type = 6;
- * @return int
- */
- public function getBakType()
- {
- return $this->bak_type;
- }
-
- /**
- * Type of the bak content, FULL or DIFF
- *
- * Generated from protobuf field .google.cloud.sql.v1.BakType bak_type = 6;
- * @param int $var
- * @return $this
- */
- public function setBakType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\BakType::class);
- $this->bak_type = $var;
-
- return $this;
- }
-
- /**
- * Optional. The timestamp when the import should stop. This timestamp is in
- * the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example,
- * `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT
- * keyword and applies to Cloud SQL for SQL Server only.
- *
- * Generated from protobuf field .google.protobuf.Timestamp stop_at = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStopAt()
- {
- return $this->stop_at;
- }
-
- public function hasStopAt()
- {
- return isset($this->stop_at);
- }
-
- public function clearStopAt()
- {
- unset($this->stop_at);
- }
-
- /**
- * Optional. The timestamp when the import should stop. This timestamp is in
- * the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example,
- * `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT
- * keyword and applies to Cloud SQL for SQL Server only.
- *
- * Generated from protobuf field .google.protobuf.Timestamp stop_at = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStopAt($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->stop_at = $var;
-
- return $this;
- }
-
- /**
- * Optional. The marked transaction where the import should stop. This field
- * is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL
- * Server only.
- *
- * Generated from protobuf field string stop_at_mark = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getStopAtMark()
- {
- return $this->stop_at_mark;
- }
-
- /**
- * Optional. The marked transaction where the import should stop. This field
- * is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL
- * Server only.
- *
- * Generated from protobuf field string stop_at_mark = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setStopAtMark($var)
- {
- GPBUtil::checkString($var, True);
- $this->stop_at_mark = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlBakImportOptions::class, \Google\Cloud\Sql\V1\ImportContext_SqlBakImportOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext/SqlBakImportOptions/EncryptionOptions.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext/SqlBakImportOptions/EncryptionOptions.php
deleted file mode 100644
index 2e46dffcbc90..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext/SqlBakImportOptions/EncryptionOptions.php
+++ /dev/null
@@ -1,152 +0,0 @@
-google.cloud.sql.v1.ImportContext.SqlBakImportOptions.EncryptionOptions
- */
-class EncryptionOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * Path to the Certificate (.cer) in Cloud Storage, in the form
- * `gs://bucketName/fileName`. The instance must have
- * write permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string cert_path = 1;
- */
- protected $cert_path = '';
- /**
- * Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
- * form `gs://bucketName/fileName`. The instance must have
- * write permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string pvk_path = 2;
- */
- protected $pvk_path = '';
- /**
- * Password that encrypts the private key
- *
- * Generated from protobuf field string pvk_password = 3;
- */
- protected $pvk_password = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $cert_path
- * Path to the Certificate (.cer) in Cloud Storage, in the form
- * `gs://bucketName/fileName`. The instance must have
- * write permissions to the bucket and read access to the file.
- * @type string $pvk_path
- * Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
- * form `gs://bucketName/fileName`. The instance must have
- * write permissions to the bucket and read access to the file.
- * @type string $pvk_password
- * Password that encrypts the private key
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Path to the Certificate (.cer) in Cloud Storage, in the form
- * `gs://bucketName/fileName`. The instance must have
- * write permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string cert_path = 1;
- * @return string
- */
- public function getCertPath()
- {
- return $this->cert_path;
- }
-
- /**
- * Path to the Certificate (.cer) in Cloud Storage, in the form
- * `gs://bucketName/fileName`. The instance must have
- * write permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string cert_path = 1;
- * @param string $var
- * @return $this
- */
- public function setCertPath($var)
- {
- GPBUtil::checkString($var, True);
- $this->cert_path = $var;
-
- return $this;
- }
-
- /**
- * Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
- * form `gs://bucketName/fileName`. The instance must have
- * write permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string pvk_path = 2;
- * @return string
- */
- public function getPvkPath()
- {
- return $this->pvk_path;
- }
-
- /**
- * Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
- * form `gs://bucketName/fileName`. The instance must have
- * write permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string pvk_path = 2;
- * @param string $var
- * @return $this
- */
- public function setPvkPath($var)
- {
- GPBUtil::checkString($var, True);
- $this->pvk_path = $var;
-
- return $this;
- }
-
- /**
- * Password that encrypts the private key
- *
- * Generated from protobuf field string pvk_password = 3;
- * @return string
- */
- public function getPvkPassword()
- {
- return $this->pvk_password;
- }
-
- /**
- * Password that encrypts the private key
- *
- * Generated from protobuf field string pvk_password = 3;
- * @param string $var
- * @return $this
- */
- public function setPvkPassword($var)
- {
- GPBUtil::checkString($var, True);
- $this->pvk_password = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(EncryptionOptions::class, \Google\Cloud\Sql\V1\ImportContext_SqlBakImportOptions_EncryptionOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext/SqlCsvImportOptions.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext/SqlCsvImportOptions.php
deleted file mode 100644
index e320a13a1262..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ImportContext/SqlCsvImportOptions.php
+++ /dev/null
@@ -1,254 +0,0 @@
-google.cloud.sql.v1.ImportContext.SqlCsvImportOptions
- */
-class SqlCsvImportOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * The table to which CSV data is imported.
- *
- * Generated from protobuf field string table = 1;
- */
- protected $table = '';
- /**
- * The columns to which CSV data is imported. If not specified, all columns
- * of the database table are loaded with CSV data.
- *
- * Generated from protobuf field repeated string columns = 2;
- */
- private $columns;
- /**
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- *
- * Generated from protobuf field string escape_character = 4;
- */
- protected $escape_character = '';
- /**
- * Specifies the quoting character to be used when a data value is quoted.
- *
- * Generated from protobuf field string quote_character = 5;
- */
- protected $quote_character = '';
- /**
- * Specifies the character that separates columns within each row (line) of
- * the file.
- *
- * Generated from protobuf field string fields_terminated_by = 6;
- */
- protected $fields_terminated_by = '';
- /**
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- *
- * Generated from protobuf field string lines_terminated_by = 8;
- */
- protected $lines_terminated_by = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $table
- * The table to which CSV data is imported.
- * @type array|\Google\Protobuf\Internal\RepeatedField $columns
- * The columns to which CSV data is imported. If not specified, all columns
- * of the database table are loaded with CSV data.
- * @type string $escape_character
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- * @type string $quote_character
- * Specifies the quoting character to be used when a data value is quoted.
- * @type string $fields_terminated_by
- * Specifies the character that separates columns within each row (line) of
- * the file.
- * @type string $lines_terminated_by
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The table to which CSV data is imported.
- *
- * Generated from protobuf field string table = 1;
- * @return string
- */
- public function getTable()
- {
- return $this->table;
- }
-
- /**
- * The table to which CSV data is imported.
- *
- * Generated from protobuf field string table = 1;
- * @param string $var
- * @return $this
- */
- public function setTable($var)
- {
- GPBUtil::checkString($var, True);
- $this->table = $var;
-
- return $this;
- }
-
- /**
- * The columns to which CSV data is imported. If not specified, all columns
- * of the database table are loaded with CSV data.
- *
- * Generated from protobuf field repeated string columns = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getColumns()
- {
- return $this->columns;
- }
-
- /**
- * The columns to which CSV data is imported. If not specified, all columns
- * of the database table are loaded with CSV data.
- *
- * Generated from protobuf field repeated string columns = 2;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setColumns($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->columns = $arr;
-
- return $this;
- }
-
- /**
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- *
- * Generated from protobuf field string escape_character = 4;
- * @return string
- */
- public function getEscapeCharacter()
- {
- return $this->escape_character;
- }
-
- /**
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- *
- * Generated from protobuf field string escape_character = 4;
- * @param string $var
- * @return $this
- */
- public function setEscapeCharacter($var)
- {
- GPBUtil::checkString($var, True);
- $this->escape_character = $var;
-
- return $this;
- }
-
- /**
- * Specifies the quoting character to be used when a data value is quoted.
- *
- * Generated from protobuf field string quote_character = 5;
- * @return string
- */
- public function getQuoteCharacter()
- {
- return $this->quote_character;
- }
-
- /**
- * Specifies the quoting character to be used when a data value is quoted.
- *
- * Generated from protobuf field string quote_character = 5;
- * @param string $var
- * @return $this
- */
- public function setQuoteCharacter($var)
- {
- GPBUtil::checkString($var, True);
- $this->quote_character = $var;
-
- return $this;
- }
-
- /**
- * Specifies the character that separates columns within each row (line) of
- * the file.
- *
- * Generated from protobuf field string fields_terminated_by = 6;
- * @return string
- */
- public function getFieldsTerminatedBy()
- {
- return $this->fields_terminated_by;
- }
-
- /**
- * Specifies the character that separates columns within each row (line) of
- * the file.
- *
- * Generated from protobuf field string fields_terminated_by = 6;
- * @param string $var
- * @return $this
- */
- public function setFieldsTerminatedBy($var)
- {
- GPBUtil::checkString($var, True);
- $this->fields_terminated_by = $var;
-
- return $this;
- }
-
- /**
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- *
- * Generated from protobuf field string lines_terminated_by = 8;
- * @return string
- */
- public function getLinesTerminatedBy()
- {
- return $this->lines_terminated_by;
- }
-
- /**
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- *
- * Generated from protobuf field string lines_terminated_by = 8;
- * @param string $var
- * @return $this
- */
- public function setLinesTerminatedBy($var)
- {
- GPBUtil::checkString($var, True);
- $this->lines_terminated_by = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlCsvImportOptions::class, \Google\Cloud\Sql\V1\ImportContext_SqlCsvImportOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InsightsConfig.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InsightsConfig.php
deleted file mode 100644
index 0614d521e328..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InsightsConfig.php
+++ /dev/null
@@ -1,306 +0,0 @@
-google.cloud.sql.v1.InsightsConfig
- */
-class InsightsConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Whether Query Insights feature is enabled.
- *
- * Generated from protobuf field bool query_insights_enabled = 1;
- */
- protected $query_insights_enabled = false;
- /**
- * Whether Query Insights will record client address when enabled.
- *
- * Generated from protobuf field bool record_client_address = 2;
- */
- protected $record_client_address = false;
- /**
- * Whether Query Insights will record application tags from query when
- * enabled.
- *
- * Generated from protobuf field bool record_application_tags = 3;
- */
- protected $record_application_tags = false;
- /**
- * Maximum query length stored in bytes. Default value: 1024 bytes.
- * Range: 256-4500 bytes. Query length more than this field value will be
- * truncated to this value. When unset, query length will be the default
- * value. Changing query length will restart the database.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_string_length = 4;
- */
- protected $query_string_length = null;
- /**
- * Number of query execution plans captured by Insights per minute
- * for all queries combined. Default is 5.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_plans_per_minute = 5;
- */
- protected $query_plans_per_minute = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $query_insights_enabled
- * Whether Query Insights feature is enabled.
- * @type bool $record_client_address
- * Whether Query Insights will record client address when enabled.
- * @type bool $record_application_tags
- * Whether Query Insights will record application tags from query when
- * enabled.
- * @type \Google\Protobuf\Int32Value $query_string_length
- * Maximum query length stored in bytes. Default value: 1024 bytes.
- * Range: 256-4500 bytes. Query length more than this field value will be
- * truncated to this value. When unset, query length will be the default
- * value. Changing query length will restart the database.
- * @type \Google\Protobuf\Int32Value $query_plans_per_minute
- * Number of query execution plans captured by Insights per minute
- * for all queries combined. Default is 5.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Whether Query Insights feature is enabled.
- *
- * Generated from protobuf field bool query_insights_enabled = 1;
- * @return bool
- */
- public function getQueryInsightsEnabled()
- {
- return $this->query_insights_enabled;
- }
-
- /**
- * Whether Query Insights feature is enabled.
- *
- * Generated from protobuf field bool query_insights_enabled = 1;
- * @param bool $var
- * @return $this
- */
- public function setQueryInsightsEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->query_insights_enabled = $var;
-
- return $this;
- }
-
- /**
- * Whether Query Insights will record client address when enabled.
- *
- * Generated from protobuf field bool record_client_address = 2;
- * @return bool
- */
- public function getRecordClientAddress()
- {
- return $this->record_client_address;
- }
-
- /**
- * Whether Query Insights will record client address when enabled.
- *
- * Generated from protobuf field bool record_client_address = 2;
- * @param bool $var
- * @return $this
- */
- public function setRecordClientAddress($var)
- {
- GPBUtil::checkBool($var);
- $this->record_client_address = $var;
-
- return $this;
- }
-
- /**
- * Whether Query Insights will record application tags from query when
- * enabled.
- *
- * Generated from protobuf field bool record_application_tags = 3;
- * @return bool
- */
- public function getRecordApplicationTags()
- {
- return $this->record_application_tags;
- }
-
- /**
- * Whether Query Insights will record application tags from query when
- * enabled.
- *
- * Generated from protobuf field bool record_application_tags = 3;
- * @param bool $var
- * @return $this
- */
- public function setRecordApplicationTags($var)
- {
- GPBUtil::checkBool($var);
- $this->record_application_tags = $var;
-
- return $this;
- }
-
- /**
- * Maximum query length stored in bytes. Default value: 1024 bytes.
- * Range: 256-4500 bytes. Query length more than this field value will be
- * truncated to this value. When unset, query length will be the default
- * value. Changing query length will restart the database.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_string_length = 4;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getQueryStringLength()
- {
- return $this->query_string_length;
- }
-
- public function hasQueryStringLength()
- {
- return isset($this->query_string_length);
- }
-
- public function clearQueryStringLength()
- {
- unset($this->query_string_length);
- }
-
- /**
- * Returns the unboxed value from getQueryStringLength()
-
- * Maximum query length stored in bytes. Default value: 1024 bytes.
- * Range: 256-4500 bytes. Query length more than this field value will be
- * truncated to this value. When unset, query length will be the default
- * value. Changing query length will restart the database.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_string_length = 4;
- * @return int|null
- */
- public function getQueryStringLengthUnwrapped()
- {
- return $this->readWrapperValue("query_string_length");
- }
-
- /**
- * Maximum query length stored in bytes. Default value: 1024 bytes.
- * Range: 256-4500 bytes. Query length more than this field value will be
- * truncated to this value. When unset, query length will be the default
- * value. Changing query length will restart the database.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_string_length = 4;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setQueryStringLength($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->query_string_length = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Maximum query length stored in bytes. Default value: 1024 bytes.
- * Range: 256-4500 bytes. Query length more than this field value will be
- * truncated to this value. When unset, query length will be the default
- * value. Changing query length will restart the database.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_string_length = 4;
- * @param int|null $var
- * @return $this
- */
- public function setQueryStringLengthUnwrapped($var)
- {
- $this->writeWrapperValue("query_string_length", $var);
- return $this;}
-
- /**
- * Number of query execution plans captured by Insights per minute
- * for all queries combined. Default is 5.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_plans_per_minute = 5;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getQueryPlansPerMinute()
- {
- return $this->query_plans_per_minute;
- }
-
- public function hasQueryPlansPerMinute()
- {
- return isset($this->query_plans_per_minute);
- }
-
- public function clearQueryPlansPerMinute()
- {
- unset($this->query_plans_per_minute);
- }
-
- /**
- * Returns the unboxed value from getQueryPlansPerMinute()
-
- * Number of query execution plans captured by Insights per minute
- * for all queries combined. Default is 5.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_plans_per_minute = 5;
- * @return int|null
- */
- public function getQueryPlansPerMinuteUnwrapped()
- {
- return $this->readWrapperValue("query_plans_per_minute");
- }
-
- /**
- * Number of query execution plans captured by Insights per minute
- * for all queries combined. Default is 5.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_plans_per_minute = 5;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setQueryPlansPerMinute($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->query_plans_per_minute = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Number of query execution plans captured by Insights per minute
- * for all queries combined. Default is 5.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_plans_per_minute = 5;
- * @param int|null $var
- * @return $this
- */
- public function setQueryPlansPerMinuteUnwrapped($var)
- {
- $this->writeWrapperValue("query_plans_per_minute", $var);
- return $this;}
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstanceReference.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstanceReference.php
deleted file mode 100644
index 408946eab2e9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstanceReference.php
+++ /dev/null
@@ -1,143 +0,0 @@
-google.cloud.sql.v1.InstanceReference
- */
-class InstanceReference extends \Google\Protobuf\Internal\Message
-{
- /**
- * The name of the Cloud SQL instance being referenced.
- * This does not include the project ID.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The region of the Cloud SQL instance being referenced.
- *
- * Generated from protobuf field string region = 2;
- */
- protected $region = '';
- /**
- * The project ID of the Cloud SQL instance being referenced.
- * The default is the same project ID as the instance references it.
- *
- * Generated from protobuf field string project = 3;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The name of the Cloud SQL instance being referenced.
- * This does not include the project ID.
- * @type string $region
- * The region of the Cloud SQL instance being referenced.
- * @type string $project
- * The project ID of the Cloud SQL instance being referenced.
- * The default is the same project ID as the instance references it.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The name of the Cloud SQL instance being referenced.
- * This does not include the project ID.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the Cloud SQL instance being referenced.
- * This does not include the project ID.
- *
- * Generated from protobuf field string name = 1;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The region of the Cloud SQL instance being referenced.
- *
- * Generated from protobuf field string region = 2;
- * @return string
- */
- public function getRegion()
- {
- return $this->region;
- }
-
- /**
- * The region of the Cloud SQL instance being referenced.
- *
- * Generated from protobuf field string region = 2;
- * @param string $var
- * @return $this
- */
- public function setRegion($var)
- {
- GPBUtil::checkString($var, True);
- $this->region = $var;
-
- return $this;
- }
-
- /**
- * The project ID of the Cloud SQL instance being referenced.
- * The default is the same project ID as the instance references it.
- *
- * Generated from protobuf field string project = 3;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * The project ID of the Cloud SQL instance being referenced.
- * The default is the same project ID as the instance references it.
- *
- * Generated from protobuf field string project = 3;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesCloneRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesCloneRequest.php
deleted file mode 100644
index 966e8da45186..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesCloneRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1.InstancesCloneRequest
- */
-class InstancesCloneRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Contains details about the clone operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.CloneContext clone_context = 1;
- */
- protected $clone_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1\CloneContext $clone_context
- * Contains details about the clone operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Contains details about the clone operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.CloneContext clone_context = 1;
- * @return \Google\Cloud\Sql\V1\CloneContext|null
- */
- public function getCloneContext()
- {
- return $this->clone_context;
- }
-
- public function hasCloneContext()
- {
- return isset($this->clone_context);
- }
-
- public function clearCloneContext()
- {
- unset($this->clone_context);
- }
-
- /**
- * Contains details about the clone operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.CloneContext clone_context = 1;
- * @param \Google\Cloud\Sql\V1\CloneContext $var
- * @return $this
- */
- public function setCloneContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\CloneContext::class);
- $this->clone_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesDemoteMasterRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesDemoteMasterRequest.php
deleted file mode 100644
index eb523b01e5f6..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesDemoteMasterRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1.InstancesDemoteMasterRequest
- */
-class InstancesDemoteMasterRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Contains details about the demoteMaster operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DemoteMasterContext demote_master_context = 1;
- */
- protected $demote_master_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1\DemoteMasterContext $demote_master_context
- * Contains details about the demoteMaster operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Contains details about the demoteMaster operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DemoteMasterContext demote_master_context = 1;
- * @return \Google\Cloud\Sql\V1\DemoteMasterContext|null
- */
- public function getDemoteMasterContext()
- {
- return $this->demote_master_context;
- }
-
- public function hasDemoteMasterContext()
- {
- return isset($this->demote_master_context);
- }
-
- public function clearDemoteMasterContext()
- {
- unset($this->demote_master_context);
- }
-
- /**
- * Contains details about the demoteMaster operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DemoteMasterContext demote_master_context = 1;
- * @param \Google\Cloud\Sql\V1\DemoteMasterContext $var
- * @return $this
- */
- public function setDemoteMasterContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DemoteMasterContext::class);
- $this->demote_master_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesDemoteRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesDemoteRequest.php
deleted file mode 100644
index d2c405572a4c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesDemoteRequest.php
+++ /dev/null
@@ -1,78 +0,0 @@
-google.cloud.sql.v1.InstancesDemoteRequest
- */
-class InstancesDemoteRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. Contains details about the demote operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DemoteContext demote_context = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $demote_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1\DemoteContext $demote_context
- * Required. Contains details about the demote operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. Contains details about the demote operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DemoteContext demote_context = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Sql\V1\DemoteContext|null
- */
- public function getDemoteContext()
- {
- return $this->demote_context;
- }
-
- public function hasDemoteContext()
- {
- return isset($this->demote_context);
- }
-
- public function clearDemoteContext()
- {
- unset($this->demote_context);
- }
-
- /**
- * Required. Contains details about the demote operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DemoteContext demote_context = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Sql\V1\DemoteContext $var
- * @return $this
- */
- public function setDemoteContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DemoteContext::class);
- $this->demote_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesExportRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesExportRequest.php
deleted file mode 100644
index c5b961981af4..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesExportRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1.InstancesExportRequest
- */
-class InstancesExportRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Contains details about the export operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext export_context = 1;
- */
- protected $export_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1\ExportContext $export_context
- * Contains details about the export operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Contains details about the export operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext export_context = 1;
- * @return \Google\Cloud\Sql\V1\ExportContext|null
- */
- public function getExportContext()
- {
- return $this->export_context;
- }
-
- public function hasExportContext()
- {
- return isset($this->export_context);
- }
-
- public function clearExportContext()
- {
- unset($this->export_context);
- }
-
- /**
- * Contains details about the export operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext export_context = 1;
- * @param \Google\Cloud\Sql\V1\ExportContext $var
- * @return $this
- */
- public function setExportContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ExportContext::class);
- $this->export_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesFailoverRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesFailoverRequest.php
deleted file mode 100644
index 3fbccb780c2b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesFailoverRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1.InstancesFailoverRequest
- */
-class InstancesFailoverRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Failover Context.
- *
- * Generated from protobuf field .google.cloud.sql.v1.FailoverContext failover_context = 1;
- */
- protected $failover_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1\FailoverContext $failover_context
- * Failover Context.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Failover Context.
- *
- * Generated from protobuf field .google.cloud.sql.v1.FailoverContext failover_context = 1;
- * @return \Google\Cloud\Sql\V1\FailoverContext|null
- */
- public function getFailoverContext()
- {
- return $this->failover_context;
- }
-
- public function hasFailoverContext()
- {
- return isset($this->failover_context);
- }
-
- public function clearFailoverContext()
- {
- unset($this->failover_context);
- }
-
- /**
- * Failover Context.
- *
- * Generated from protobuf field .google.cloud.sql.v1.FailoverContext failover_context = 1;
- * @param \Google\Cloud\Sql\V1\FailoverContext $var
- * @return $this
- */
- public function setFailoverContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\FailoverContext::class);
- $this->failover_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesImportRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesImportRequest.php
deleted file mode 100644
index 68c3f5dc1b15..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesImportRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1.InstancesImportRequest
- */
-class InstancesImportRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Contains details about the import operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext import_context = 1;
- */
- protected $import_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1\ImportContext $import_context
- * Contains details about the import operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Contains details about the import operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext import_context = 1;
- * @return \Google\Cloud\Sql\V1\ImportContext|null
- */
- public function getImportContext()
- {
- return $this->import_context;
- }
-
- public function hasImportContext()
- {
- return isset($this->import_context);
- }
-
- public function clearImportContext()
- {
- unset($this->import_context);
- }
-
- /**
- * Contains details about the import operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext import_context = 1;
- * @param \Google\Cloud\Sql\V1\ImportContext $var
- * @return $this
- */
- public function setImportContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ImportContext::class);
- $this->import_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesListResponse.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesListResponse.php
deleted file mode 100644
index 8f182efcbb27..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesListResponse.php
+++ /dev/null
@@ -1,173 +0,0 @@
-google.cloud.sql.v1.InstancesListResponse
- */
-class InstancesListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#instancesList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of warnings that occurred while handling the request.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.ApiWarning warnings = 2;
- */
- private $warnings;
- /**
- * List of database instance resources.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.DatabaseInstance items = 3;
- */
- private $items;
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 4;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#instancesList`.
- * @type array<\Google\Cloud\Sql\V1\ApiWarning>|\Google\Protobuf\Internal\RepeatedField $warnings
- * List of warnings that occurred while handling the request.
- * @type array<\Google\Cloud\Sql\V1\DatabaseInstance>|\Google\Protobuf\Internal\RepeatedField $items
- * List of database instance resources.
- * @type string $next_page_token
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#instancesList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#instancesList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of warnings that occurred while handling the request.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.ApiWarning warnings = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getWarnings()
- {
- return $this->warnings;
- }
-
- /**
- * List of warnings that occurred while handling the request.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.ApiWarning warnings = 2;
- * @param array<\Google\Cloud\Sql\V1\ApiWarning>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setWarnings($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\ApiWarning::class);
- $this->warnings = $arr;
-
- return $this;
- }
-
- /**
- * List of database instance resources.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.DatabaseInstance items = 3;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * List of database instance resources.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.DatabaseInstance items = 3;
- * @param array<\Google\Cloud\Sql\V1\DatabaseInstance>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\DatabaseInstance::class);
- $this->items = $arr;
-
- return $this;
- }
-
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 4;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 4;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesListServerCasResponse.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesListServerCasResponse.php
deleted file mode 100644
index 488af9f2b7e7..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesListServerCasResponse.php
+++ /dev/null
@@ -1,128 +0,0 @@
-google.cloud.sql.v1.InstancesListServerCasResponse
- */
-class InstancesListServerCasResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * List of server CA certificates for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SslCert certs = 1;
- */
- private $certs;
- /**
- * Generated from protobuf field string active_version = 2;
- */
- protected $active_version = '';
- /**
- * This is always `sql#instancesListServerCas`.
- *
- * Generated from protobuf field string kind = 3;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Sql\V1\SslCert>|\Google\Protobuf\Internal\RepeatedField $certs
- * List of server CA certificates for the instance.
- * @type string $active_version
- * @type string $kind
- * This is always `sql#instancesListServerCas`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * List of server CA certificates for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SslCert certs = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getCerts()
- {
- return $this->certs;
- }
-
- /**
- * List of server CA certificates for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SslCert certs = 1;
- * @param array<\Google\Cloud\Sql\V1\SslCert>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setCerts($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\SslCert::class);
- $this->certs = $arr;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string active_version = 2;
- * @return string
- */
- public function getActiveVersion()
- {
- return $this->active_version;
- }
-
- /**
- * Generated from protobuf field string active_version = 2;
- * @param string $var
- * @return $this
- */
- public function setActiveVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->active_version = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#instancesListServerCas`.
- *
- * Generated from protobuf field string kind = 3;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#instancesListServerCas`.
- *
- * Generated from protobuf field string kind = 3;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesReencryptRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesReencryptRequest.php
deleted file mode 100644
index ffd45275fa43..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesReencryptRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1.InstancesReencryptRequest
- */
-class InstancesReencryptRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Configuration specific to backup re-encryption
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.BackupReencryptionConfig backup_reencryption_config = 1;
- */
- protected $backup_reencryption_config = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1\BackupReencryptionConfig $backup_reencryption_config
- * Configuration specific to backup re-encryption
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Configuration specific to backup re-encryption
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.BackupReencryptionConfig backup_reencryption_config = 1;
- * @return \Google\Cloud\Sql\V1\BackupReencryptionConfig|null
- */
- public function getBackupReencryptionConfig()
- {
- return $this->backup_reencryption_config;
- }
-
- public function hasBackupReencryptionConfig()
- {
- return isset($this->backup_reencryption_config);
- }
-
- public function clearBackupReencryptionConfig()
- {
- unset($this->backup_reencryption_config);
- }
-
- /**
- * Configuration specific to backup re-encryption
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.BackupReencryptionConfig backup_reencryption_config = 1;
- * @param \Google\Cloud\Sql\V1\BackupReencryptionConfig $var
- * @return $this
- */
- public function setBackupReencryptionConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\BackupReencryptionConfig::class);
- $this->backup_reencryption_config = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesRestoreBackupRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesRestoreBackupRequest.php
deleted file mode 100644
index 46c274d13f1b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesRestoreBackupRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1.InstancesRestoreBackupRequest
- */
-class InstancesRestoreBackupRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Parameters required to perform the restore backup operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.RestoreBackupContext restore_backup_context = 1;
- */
- protected $restore_backup_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1\RestoreBackupContext $restore_backup_context
- * Parameters required to perform the restore backup operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Parameters required to perform the restore backup operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.RestoreBackupContext restore_backup_context = 1;
- * @return \Google\Cloud\Sql\V1\RestoreBackupContext|null
- */
- public function getRestoreBackupContext()
- {
- return $this->restore_backup_context;
- }
-
- public function hasRestoreBackupContext()
- {
- return isset($this->restore_backup_context);
- }
-
- public function clearRestoreBackupContext()
- {
- unset($this->restore_backup_context);
- }
-
- /**
- * Parameters required to perform the restore backup operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.RestoreBackupContext restore_backup_context = 1;
- * @param \Google\Cloud\Sql\V1\RestoreBackupContext $var
- * @return $this
- */
- public function setRestoreBackupContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\RestoreBackupContext::class);
- $this->restore_backup_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesRotateServerCaRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesRotateServerCaRequest.php
deleted file mode 100644
index 74b58e53c479..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesRotateServerCaRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1.InstancesRotateServerCaRequest
- */
-class InstancesRotateServerCaRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Contains details about the rotate server CA operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.RotateServerCaContext rotate_server_ca_context = 1;
- */
- protected $rotate_server_ca_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1\RotateServerCaContext $rotate_server_ca_context
- * Contains details about the rotate server CA operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Contains details about the rotate server CA operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.RotateServerCaContext rotate_server_ca_context = 1;
- * @return \Google\Cloud\Sql\V1\RotateServerCaContext|null
- */
- public function getRotateServerCaContext()
- {
- return $this->rotate_server_ca_context;
- }
-
- public function hasRotateServerCaContext()
- {
- return isset($this->rotate_server_ca_context);
- }
-
- public function clearRotateServerCaContext()
- {
- unset($this->rotate_server_ca_context);
- }
-
- /**
- * Contains details about the rotate server CA operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.RotateServerCaContext rotate_server_ca_context = 1;
- * @param \Google\Cloud\Sql\V1\RotateServerCaContext $var
- * @return $this
- */
- public function setRotateServerCaContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\RotateServerCaContext::class);
- $this->rotate_server_ca_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesTruncateLogRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesTruncateLogRequest.php
deleted file mode 100644
index 2a0b469e871c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/InstancesTruncateLogRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1.InstancesTruncateLogRequest
- */
-class InstancesTruncateLogRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Contains details about the truncate log operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.TruncateLogContext truncate_log_context = 1;
- */
- protected $truncate_log_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1\TruncateLogContext $truncate_log_context
- * Contains details about the truncate log operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Contains details about the truncate log operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.TruncateLogContext truncate_log_context = 1;
- * @return \Google\Cloud\Sql\V1\TruncateLogContext|null
- */
- public function getTruncateLogContext()
- {
- return $this->truncate_log_context;
- }
-
- public function hasTruncateLogContext()
- {
- return isset($this->truncate_log_context);
- }
-
- public function clearTruncateLogContext()
- {
- unset($this->truncate_log_context);
- }
-
- /**
- * Contains details about the truncate log operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.TruncateLogContext truncate_log_context = 1;
- * @param \Google\Cloud\Sql\V1\TruncateLogContext $var
- * @return $this
- */
- public function setTruncateLogContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\TruncateLogContext::class);
- $this->truncate_log_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/IpConfiguration.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/IpConfiguration.php
deleted file mode 100644
index 4f1b72c50b2d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/IpConfiguration.php
+++ /dev/null
@@ -1,574 +0,0 @@
-google.cloud.sql.v1.IpConfiguration
- */
-class IpConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * Whether the instance is assigned a public IP address or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue ipv4_enabled = 1;
- */
- protected $ipv4_enabled = null;
- /**
- * The resource link for the VPC network from which the Cloud SQL instance is
- * accessible for private IP. For example,
- * `/projects/myProject/global/networks/default`. This setting can
- * be updated, but it cannot be removed after it is set.
- *
- * Generated from protobuf field string private_network = 2;
- */
- protected $private_network = '';
- /**
- * Use `ssl_mode` instead.
- * Whether SSL/TLS connections over IP are enforced.
- * If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
- * For SSL/TLS connections, the client certificate won't be verified. If
- * set to true, then only allow connections encrypted with SSL/TLS and with
- * valid client certificates. If you want to enforce SSL/TLS without enforcing
- * the requirement for valid client certificates, then use the `ssl_mode` flag
- * instead of the `require_ssl` flag.
- *
- * Generated from protobuf field .google.protobuf.BoolValue require_ssl = 3;
- */
- protected $require_ssl = null;
- /**
- * The list of external networks that are allowed to connect to the instance
- * using the IP. In 'CIDR' notation, also known as 'slash' notation (for
- * example: `157.197.200.0/24`).
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.AclEntry authorized_networks = 4;
- */
- private $authorized_networks;
- /**
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the instance ip
- * will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * `[a-z]([-a-z0-9]*[a-z0-9])?.`
- *
- * Generated from protobuf field string allocated_ip_range = 6;
- */
- protected $allocated_ip_range = '';
- /**
- * Controls connectivity to private IP instances from Google services,
- * such as BigQuery.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_private_path_for_google_cloud_services = 7;
- */
- protected $enable_private_path_for_google_cloud_services = null;
- /**
- * Specify how SSL/TLS is enforced in database connections. If you must use
- * the `require_ssl` flag for backward compatibility, then only the following
- * value pairs are valid:
- * For PostgreSQL and MySQL:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`
- * * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true`
- * For SQL Server:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true`
- * The value of `ssl_mode` gets priority over the value of `require_ssl`. For
- * example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`,
- * the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the
- * `require_ssl=false` means accept both non-SSL and SSL connections. MySQL
- * and PostgreSQL databases respect `ssl_mode` in this case and accept only
- * SSL connections.
- *
- * Generated from protobuf field .google.cloud.sql.v1.IpConfiguration.SslMode ssl_mode = 8;
- */
- protected $ssl_mode = 0;
- /**
- * PSC settings for this instance.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.PscConfig psc_config = 9;
- */
- protected $psc_config = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\BoolValue $ipv4_enabled
- * Whether the instance is assigned a public IP address or not.
- * @type string $private_network
- * The resource link for the VPC network from which the Cloud SQL instance is
- * accessible for private IP. For example,
- * `/projects/myProject/global/networks/default`. This setting can
- * be updated, but it cannot be removed after it is set.
- * @type \Google\Protobuf\BoolValue $require_ssl
- * Use `ssl_mode` instead.
- * Whether SSL/TLS connections over IP are enforced.
- * If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
- * For SSL/TLS connections, the client certificate won't be verified. If
- * set to true, then only allow connections encrypted with SSL/TLS and with
- * valid client certificates. If you want to enforce SSL/TLS without enforcing
- * the requirement for valid client certificates, then use the `ssl_mode` flag
- * instead of the `require_ssl` flag.
- * @type array<\Google\Cloud\Sql\V1\AclEntry>|\Google\Protobuf\Internal\RepeatedField $authorized_networks
- * The list of external networks that are allowed to connect to the instance
- * using the IP. In 'CIDR' notation, also known as 'slash' notation (for
- * example: `157.197.200.0/24`).
- * @type string $allocated_ip_range
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the instance ip
- * will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * `[a-z]([-a-z0-9]*[a-z0-9])?.`
- * @type \Google\Protobuf\BoolValue $enable_private_path_for_google_cloud_services
- * Controls connectivity to private IP instances from Google services,
- * such as BigQuery.
- * @type int $ssl_mode
- * Specify how SSL/TLS is enforced in database connections. If you must use
- * the `require_ssl` flag for backward compatibility, then only the following
- * value pairs are valid:
- * For PostgreSQL and MySQL:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`
- * * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true`
- * For SQL Server:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true`
- * The value of `ssl_mode` gets priority over the value of `require_ssl`. For
- * example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`,
- * the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the
- * `require_ssl=false` means accept both non-SSL and SSL connections. MySQL
- * and PostgreSQL databases respect `ssl_mode` in this case and accept only
- * SSL connections.
- * @type \Google\Cloud\Sql\V1\PscConfig $psc_config
- * PSC settings for this instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Whether the instance is assigned a public IP address or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue ipv4_enabled = 1;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getIpv4Enabled()
- {
- return $this->ipv4_enabled;
- }
-
- public function hasIpv4Enabled()
- {
- return isset($this->ipv4_enabled);
- }
-
- public function clearIpv4Enabled()
- {
- unset($this->ipv4_enabled);
- }
-
- /**
- * Returns the unboxed value from getIpv4Enabled()
-
- * Whether the instance is assigned a public IP address or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue ipv4_enabled = 1;
- * @return bool|null
- */
- public function getIpv4EnabledUnwrapped()
- {
- return $this->readWrapperValue("ipv4_enabled");
- }
-
- /**
- * Whether the instance is assigned a public IP address or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue ipv4_enabled = 1;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setIpv4Enabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->ipv4_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether the instance is assigned a public IP address or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue ipv4_enabled = 1;
- * @param bool|null $var
- * @return $this
- */
- public function setIpv4EnabledUnwrapped($var)
- {
- $this->writeWrapperValue("ipv4_enabled", $var);
- return $this;}
-
- /**
- * The resource link for the VPC network from which the Cloud SQL instance is
- * accessible for private IP. For example,
- * `/projects/myProject/global/networks/default`. This setting can
- * be updated, but it cannot be removed after it is set.
- *
- * Generated from protobuf field string private_network = 2;
- * @return string
- */
- public function getPrivateNetwork()
- {
- return $this->private_network;
- }
-
- /**
- * The resource link for the VPC network from which the Cloud SQL instance is
- * accessible for private IP. For example,
- * `/projects/myProject/global/networks/default`. This setting can
- * be updated, but it cannot be removed after it is set.
- *
- * Generated from protobuf field string private_network = 2;
- * @param string $var
- * @return $this
- */
- public function setPrivateNetwork($var)
- {
- GPBUtil::checkString($var, True);
- $this->private_network = $var;
-
- return $this;
- }
-
- /**
- * Use `ssl_mode` instead.
- * Whether SSL/TLS connections over IP are enforced.
- * If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
- * For SSL/TLS connections, the client certificate won't be verified. If
- * set to true, then only allow connections encrypted with SSL/TLS and with
- * valid client certificates. If you want to enforce SSL/TLS without enforcing
- * the requirement for valid client certificates, then use the `ssl_mode` flag
- * instead of the `require_ssl` flag.
- *
- * Generated from protobuf field .google.protobuf.BoolValue require_ssl = 3;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getRequireSsl()
- {
- return $this->require_ssl;
- }
-
- public function hasRequireSsl()
- {
- return isset($this->require_ssl);
- }
-
- public function clearRequireSsl()
- {
- unset($this->require_ssl);
- }
-
- /**
- * Returns the unboxed value from getRequireSsl()
-
- * Use `ssl_mode` instead.
- * Whether SSL/TLS connections over IP are enforced.
- * If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
- * For SSL/TLS connections, the client certificate won't be verified. If
- * set to true, then only allow connections encrypted with SSL/TLS and with
- * valid client certificates. If you want to enforce SSL/TLS without enforcing
- * the requirement for valid client certificates, then use the `ssl_mode` flag
- * instead of the `require_ssl` flag.
- *
- * Generated from protobuf field .google.protobuf.BoolValue require_ssl = 3;
- * @return bool|null
- */
- public function getRequireSslUnwrapped()
- {
- return $this->readWrapperValue("require_ssl");
- }
-
- /**
- * Use `ssl_mode` instead.
- * Whether SSL/TLS connections over IP are enforced.
- * If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
- * For SSL/TLS connections, the client certificate won't be verified. If
- * set to true, then only allow connections encrypted with SSL/TLS and with
- * valid client certificates. If you want to enforce SSL/TLS without enforcing
- * the requirement for valid client certificates, then use the `ssl_mode` flag
- * instead of the `require_ssl` flag.
- *
- * Generated from protobuf field .google.protobuf.BoolValue require_ssl = 3;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setRequireSsl($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->require_ssl = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Use `ssl_mode` instead.
- * Whether SSL/TLS connections over IP are enforced.
- * If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
- * For SSL/TLS connections, the client certificate won't be verified. If
- * set to true, then only allow connections encrypted with SSL/TLS and with
- * valid client certificates. If you want to enforce SSL/TLS without enforcing
- * the requirement for valid client certificates, then use the `ssl_mode` flag
- * instead of the `require_ssl` flag.
- *
- * Generated from protobuf field .google.protobuf.BoolValue require_ssl = 3;
- * @param bool|null $var
- * @return $this
- */
- public function setRequireSslUnwrapped($var)
- {
- $this->writeWrapperValue("require_ssl", $var);
- return $this;}
-
- /**
- * The list of external networks that are allowed to connect to the instance
- * using the IP. In 'CIDR' notation, also known as 'slash' notation (for
- * example: `157.197.200.0/24`).
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.AclEntry authorized_networks = 4;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAuthorizedNetworks()
- {
- return $this->authorized_networks;
- }
-
- /**
- * The list of external networks that are allowed to connect to the instance
- * using the IP. In 'CIDR' notation, also known as 'slash' notation (for
- * example: `157.197.200.0/24`).
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.AclEntry authorized_networks = 4;
- * @param array<\Google\Cloud\Sql\V1\AclEntry>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAuthorizedNetworks($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\AclEntry::class);
- $this->authorized_networks = $arr;
-
- return $this;
- }
-
- /**
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the instance ip
- * will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * `[a-z]([-a-z0-9]*[a-z0-9])?.`
- *
- * Generated from protobuf field string allocated_ip_range = 6;
- * @return string
- */
- public function getAllocatedIpRange()
- {
- return $this->allocated_ip_range;
- }
-
- /**
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the instance ip
- * will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * `[a-z]([-a-z0-9]*[a-z0-9])?.`
- *
- * Generated from protobuf field string allocated_ip_range = 6;
- * @param string $var
- * @return $this
- */
- public function setAllocatedIpRange($var)
- {
- GPBUtil::checkString($var, True);
- $this->allocated_ip_range = $var;
-
- return $this;
- }
-
- /**
- * Controls connectivity to private IP instances from Google services,
- * such as BigQuery.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_private_path_for_google_cloud_services = 7;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getEnablePrivatePathForGoogleCloudServices()
- {
- return $this->enable_private_path_for_google_cloud_services;
- }
-
- public function hasEnablePrivatePathForGoogleCloudServices()
- {
- return isset($this->enable_private_path_for_google_cloud_services);
- }
-
- public function clearEnablePrivatePathForGoogleCloudServices()
- {
- unset($this->enable_private_path_for_google_cloud_services);
- }
-
- /**
- * Returns the unboxed value from getEnablePrivatePathForGoogleCloudServices()
-
- * Controls connectivity to private IP instances from Google services,
- * such as BigQuery.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_private_path_for_google_cloud_services = 7;
- * @return bool|null
- */
- public function getEnablePrivatePathForGoogleCloudServicesUnwrapped()
- {
- return $this->readWrapperValue("enable_private_path_for_google_cloud_services");
- }
-
- /**
- * Controls connectivity to private IP instances from Google services,
- * such as BigQuery.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_private_path_for_google_cloud_services = 7;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setEnablePrivatePathForGoogleCloudServices($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->enable_private_path_for_google_cloud_services = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Controls connectivity to private IP instances from Google services,
- * such as BigQuery.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_private_path_for_google_cloud_services = 7;
- * @param bool|null $var
- * @return $this
- */
- public function setEnablePrivatePathForGoogleCloudServicesUnwrapped($var)
- {
- $this->writeWrapperValue("enable_private_path_for_google_cloud_services", $var);
- return $this;}
-
- /**
- * Specify how SSL/TLS is enforced in database connections. If you must use
- * the `require_ssl` flag for backward compatibility, then only the following
- * value pairs are valid:
- * For PostgreSQL and MySQL:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`
- * * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true`
- * For SQL Server:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true`
- * The value of `ssl_mode` gets priority over the value of `require_ssl`. For
- * example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`,
- * the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the
- * `require_ssl=false` means accept both non-SSL and SSL connections. MySQL
- * and PostgreSQL databases respect `ssl_mode` in this case and accept only
- * SSL connections.
- *
- * Generated from protobuf field .google.cloud.sql.v1.IpConfiguration.SslMode ssl_mode = 8;
- * @return int
- */
- public function getSslMode()
- {
- return $this->ssl_mode;
- }
-
- /**
- * Specify how SSL/TLS is enforced in database connections. If you must use
- * the `require_ssl` flag for backward compatibility, then only the following
- * value pairs are valid:
- * For PostgreSQL and MySQL:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`
- * * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true`
- * For SQL Server:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true`
- * The value of `ssl_mode` gets priority over the value of `require_ssl`. For
- * example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`,
- * the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the
- * `require_ssl=false` means accept both non-SSL and SSL connections. MySQL
- * and PostgreSQL databases respect `ssl_mode` in this case and accept only
- * SSL connections.
- *
- * Generated from protobuf field .google.cloud.sql.v1.IpConfiguration.SslMode ssl_mode = 8;
- * @param int $var
- * @return $this
- */
- public function setSslMode($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\IpConfiguration\SslMode::class);
- $this->ssl_mode = $var;
-
- return $this;
- }
-
- /**
- * PSC settings for this instance.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.PscConfig psc_config = 9;
- * @return \Google\Cloud\Sql\V1\PscConfig|null
- */
- public function getPscConfig()
- {
- return $this->psc_config;
- }
-
- public function hasPscConfig()
- {
- return isset($this->psc_config);
- }
-
- public function clearPscConfig()
- {
- unset($this->psc_config);
- }
-
- /**
- * PSC settings for this instance.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.PscConfig psc_config = 9;
- * @param \Google\Cloud\Sql\V1\PscConfig $var
- * @return $this
- */
- public function setPscConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\PscConfig::class);
- $this->psc_config = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/IpConfiguration/SslMode.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/IpConfiguration/SslMode.php
deleted file mode 100644
index 410a433031b9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/IpConfiguration/SslMode.php
+++ /dev/null
@@ -1,86 +0,0 @@
-google.cloud.sql.v1.IpConfiguration.SslMode
- */
-class SslMode
-{
- /**
- * The SSL mode is unknown.
- *
- * Generated from protobuf enum SSL_MODE_UNSPECIFIED = 0;
- */
- const SSL_MODE_UNSPECIFIED = 0;
- /**
- * Allow non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections,
- * the client certificate won't be verified.
- * When this value is used, the legacy `require_ssl` flag must be false or
- * cleared to avoid the conflict between values of two flags.
- *
- * Generated from protobuf enum ALLOW_UNENCRYPTED_AND_ENCRYPTED = 1;
- */
- const ALLOW_UNENCRYPTED_AND_ENCRYPTED = 1;
- /**
- * Only allow connections encrypted with SSL/TLS.
- * When this value is used, the legacy `require_ssl` flag must be false or
- * cleared to avoid the conflict between values of two flags.
- *
- * Generated from protobuf enum ENCRYPTED_ONLY = 2;
- */
- const ENCRYPTED_ONLY = 2;
- /**
- * Only allow connections encrypted with SSL/TLS and with valid
- * client certificates.
- * When this value is used, the legacy `require_ssl` flag must be true or
- * cleared to avoid the conflict between values of two flags.
- * PostgreSQL clients or users that connect using IAM database
- * authentication must use either the
- * [Cloud SQL Auth
- * Proxy](https://cloud.google.com/sql/docs/postgres/connect-auth-proxy) or
- * [Cloud SQL
- * Connectors](https://cloud.google.com/sql/docs/postgres/connect-connectors)
- * to enforce client identity verification.
- *
- * Generated from protobuf enum TRUSTED_CLIENT_CERTIFICATE_REQUIRED = 3;
- */
- const TRUSTED_CLIENT_CERTIFICATE_REQUIRED = 3;
-
- private static $valueToName = [
- self::SSL_MODE_UNSPECIFIED => 'SSL_MODE_UNSPECIFIED',
- self::ALLOW_UNENCRYPTED_AND_ENCRYPTED => 'ALLOW_UNENCRYPTED_AND_ENCRYPTED',
- self::ENCRYPTED_ONLY => 'ENCRYPTED_ONLY',
- self::TRUSTED_CLIENT_CERTIFICATE_REQUIRED => 'TRUSTED_CLIENT_CERTIFICATE_REQUIRED',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SslMode::class, \Google\Cloud\Sql\V1\IpConfiguration_SslMode::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/IpMapping.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/IpMapping.php
deleted file mode 100644
index c4b273578314..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/IpMapping.php
+++ /dev/null
@@ -1,169 +0,0 @@
-google.cloud.sql.v1.IpMapping
- */
-class IpMapping extends \Google\Protobuf\Internal\Message
-{
- /**
- * The type of this IP address. A `PRIMARY` address is a public address that
- * can accept incoming connections. A `PRIVATE` address is a private address
- * that can accept incoming connections. An `OUTGOING` address is the source
- * address of connections originating from the instance, if supported.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlIpAddressType type = 1;
- */
- protected $type = 0;
- /**
- * The IP address assigned.
- *
- * Generated from protobuf field string ip_address = 2;
- */
- protected $ip_address = '';
- /**
- * The due time for this IP to be retired in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`. This field is only available when
- * the IP is scheduled to be retired.
- *
- * Generated from protobuf field .google.protobuf.Timestamp time_to_retire = 3;
- */
- protected $time_to_retire = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $type
- * The type of this IP address. A `PRIMARY` address is a public address that
- * can accept incoming connections. A `PRIVATE` address is a private address
- * that can accept incoming connections. An `OUTGOING` address is the source
- * address of connections originating from the instance, if supported.
- * @type string $ip_address
- * The IP address assigned.
- * @type \Google\Protobuf\Timestamp $time_to_retire
- * The due time for this IP to be retired in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`. This field is only available when
- * the IP is scheduled to be retired.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The type of this IP address. A `PRIMARY` address is a public address that
- * can accept incoming connections. A `PRIVATE` address is a private address
- * that can accept incoming connections. An `OUTGOING` address is the source
- * address of connections originating from the instance, if supported.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlIpAddressType type = 1;
- * @return int
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * The type of this IP address. A `PRIMARY` address is a public address that
- * can accept incoming connections. A `PRIVATE` address is a private address
- * that can accept incoming connections. An `OUTGOING` address is the source
- * address of connections originating from the instance, if supported.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlIpAddressType type = 1;
- * @param int $var
- * @return $this
- */
- public function setType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlIpAddressType::class);
- $this->type = $var;
-
- return $this;
- }
-
- /**
- * The IP address assigned.
- *
- * Generated from protobuf field string ip_address = 2;
- * @return string
- */
- public function getIpAddress()
- {
- return $this->ip_address;
- }
-
- /**
- * The IP address assigned.
- *
- * Generated from protobuf field string ip_address = 2;
- * @param string $var
- * @return $this
- */
- public function setIpAddress($var)
- {
- GPBUtil::checkString($var, True);
- $this->ip_address = $var;
-
- return $this;
- }
-
- /**
- * The due time for this IP to be retired in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`. This field is only available when
- * the IP is scheduled to be retired.
- *
- * Generated from protobuf field .google.protobuf.Timestamp time_to_retire = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getTimeToRetire()
- {
- return $this->time_to_retire;
- }
-
- public function hasTimeToRetire()
- {
- return isset($this->time_to_retire);
- }
-
- public function clearTimeToRetire()
- {
- unset($this->time_to_retire);
- }
-
- /**
- * The due time for this IP to be retired in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`. This field is only available when
- * the IP is scheduled to be retired.
- *
- * Generated from protobuf field .google.protobuf.Timestamp time_to_retire = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setTimeToRetire($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->time_to_retire = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/LocationPreference.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/LocationPreference.php
deleted file mode 100644
index d7c676367daa..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/LocationPreference.php
+++ /dev/null
@@ -1,193 +0,0 @@
-google.cloud.sql.v1.LocationPreference
- */
-class LocationPreference extends \Google\Protobuf\Internal\Message
-{
- /**
- * The App Engine application to follow, it must be in the same region as the
- * Cloud SQL instance. WARNING: Changing this might restart the instance.
- *
- * Generated from protobuf field string follow_gae_application = 1 [deprecated = true];
- * @deprecated
- */
- protected $follow_gae_application = '';
- /**
- * The preferred Compute Engine zone (for example: us-central1-a,
- * us-central1-b, etc.). WARNING: Changing this might restart the instance.
- *
- * Generated from protobuf field string zone = 2;
- */
- protected $zone = '';
- /**
- * The preferred Compute Engine zone for the secondary/failover
- * (for example: us-central1-a, us-central1-b, etc.).
- * To disable this field, set it to 'no_secondary_zone'.
- *
- * Generated from protobuf field string secondary_zone = 4;
- */
- protected $secondary_zone = '';
- /**
- * This is always `sql#locationPreference`.
- *
- * Generated from protobuf field string kind = 3;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $follow_gae_application
- * The App Engine application to follow, it must be in the same region as the
- * Cloud SQL instance. WARNING: Changing this might restart the instance.
- * @type string $zone
- * The preferred Compute Engine zone (for example: us-central1-a,
- * us-central1-b, etc.). WARNING: Changing this might restart the instance.
- * @type string $secondary_zone
- * The preferred Compute Engine zone for the secondary/failover
- * (for example: us-central1-a, us-central1-b, etc.).
- * To disable this field, set it to 'no_secondary_zone'.
- * @type string $kind
- * This is always `sql#locationPreference`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The App Engine application to follow, it must be in the same region as the
- * Cloud SQL instance. WARNING: Changing this might restart the instance.
- *
- * Generated from protobuf field string follow_gae_application = 1 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getFollowGaeApplication()
- {
- @trigger_error('follow_gae_application is deprecated.', E_USER_DEPRECATED);
- return $this->follow_gae_application;
- }
-
- /**
- * The App Engine application to follow, it must be in the same region as the
- * Cloud SQL instance. WARNING: Changing this might restart the instance.
- *
- * Generated from protobuf field string follow_gae_application = 1 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setFollowGaeApplication($var)
- {
- @trigger_error('follow_gae_application is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->follow_gae_application = $var;
-
- return $this;
- }
-
- /**
- * The preferred Compute Engine zone (for example: us-central1-a,
- * us-central1-b, etc.). WARNING: Changing this might restart the instance.
- *
- * Generated from protobuf field string zone = 2;
- * @return string
- */
- public function getZone()
- {
- return $this->zone;
- }
-
- /**
- * The preferred Compute Engine zone (for example: us-central1-a,
- * us-central1-b, etc.). WARNING: Changing this might restart the instance.
- *
- * Generated from protobuf field string zone = 2;
- * @param string $var
- * @return $this
- */
- public function setZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->zone = $var;
-
- return $this;
- }
-
- /**
- * The preferred Compute Engine zone for the secondary/failover
- * (for example: us-central1-a, us-central1-b, etc.).
- * To disable this field, set it to 'no_secondary_zone'.
- *
- * Generated from protobuf field string secondary_zone = 4;
- * @return string
- */
- public function getSecondaryZone()
- {
- return $this->secondary_zone;
- }
-
- /**
- * The preferred Compute Engine zone for the secondary/failover
- * (for example: us-central1-a, us-central1-b, etc.).
- * To disable this field, set it to 'no_secondary_zone'.
- *
- * Generated from protobuf field string secondary_zone = 4;
- * @param string $var
- * @return $this
- */
- public function setSecondaryZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->secondary_zone = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#locationPreference`.
- *
- * Generated from protobuf field string kind = 3;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#locationPreference`.
- *
- * Generated from protobuf field string kind = 3;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/MaintenanceWindow.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/MaintenanceWindow.php
deleted file mode 100644
index e33837d44c42..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/MaintenanceWindow.php
+++ /dev/null
@@ -1,252 +0,0 @@
-google.cloud.sql.v1.MaintenanceWindow
- */
-class MaintenanceWindow extends \Google\Protobuf\Internal\Message
-{
- /**
- * hour of day - 0 to 23.
- *
- * Generated from protobuf field .google.protobuf.Int32Value hour = 1;
- */
- protected $hour = null;
- /**
- * day of week (1-7), starting on Monday.
- *
- * Generated from protobuf field .google.protobuf.Int32Value day = 2;
- */
- protected $day = null;
- /**
- * Maintenance timing setting: `canary` (Earlier) or `stable` (Later).
- * [Learn
- * more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlUpdateTrack update_track = 3;
- */
- protected $update_track = 0;
- /**
- * This is always `sql#maintenanceWindow`.
- *
- * Generated from protobuf field string kind = 4;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Int32Value $hour
- * hour of day - 0 to 23.
- * @type \Google\Protobuf\Int32Value $day
- * day of week (1-7), starting on Monday.
- * @type int $update_track
- * Maintenance timing setting: `canary` (Earlier) or `stable` (Later).
- * [Learn
- * more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).
- * @type string $kind
- * This is always `sql#maintenanceWindow`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * hour of day - 0 to 23.
- *
- * Generated from protobuf field .google.protobuf.Int32Value hour = 1;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getHour()
- {
- return $this->hour;
- }
-
- public function hasHour()
- {
- return isset($this->hour);
- }
-
- public function clearHour()
- {
- unset($this->hour);
- }
-
- /**
- * Returns the unboxed value from getHour()
-
- * hour of day - 0 to 23.
- *
- * Generated from protobuf field .google.protobuf.Int32Value hour = 1;
- * @return int|null
- */
- public function getHourUnwrapped()
- {
- return $this->readWrapperValue("hour");
- }
-
- /**
- * hour of day - 0 to 23.
- *
- * Generated from protobuf field .google.protobuf.Int32Value hour = 1;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setHour($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->hour = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * hour of day - 0 to 23.
- *
- * Generated from protobuf field .google.protobuf.Int32Value hour = 1;
- * @param int|null $var
- * @return $this
- */
- public function setHourUnwrapped($var)
- {
- $this->writeWrapperValue("hour", $var);
- return $this;}
-
- /**
- * day of week (1-7), starting on Monday.
- *
- * Generated from protobuf field .google.protobuf.Int32Value day = 2;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getDay()
- {
- return $this->day;
- }
-
- public function hasDay()
- {
- return isset($this->day);
- }
-
- public function clearDay()
- {
- unset($this->day);
- }
-
- /**
- * Returns the unboxed value from getDay()
-
- * day of week (1-7), starting on Monday.
- *
- * Generated from protobuf field .google.protobuf.Int32Value day = 2;
- * @return int|null
- */
- public function getDayUnwrapped()
- {
- return $this->readWrapperValue("day");
- }
-
- /**
- * day of week (1-7), starting on Monday.
- *
- * Generated from protobuf field .google.protobuf.Int32Value day = 2;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setDay($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->day = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * day of week (1-7), starting on Monday.
- *
- * Generated from protobuf field .google.protobuf.Int32Value day = 2;
- * @param int|null $var
- * @return $this
- */
- public function setDayUnwrapped($var)
- {
- $this->writeWrapperValue("day", $var);
- return $this;}
-
- /**
- * Maintenance timing setting: `canary` (Earlier) or `stable` (Later).
- * [Learn
- * more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlUpdateTrack update_track = 3;
- * @return int
- */
- public function getUpdateTrack()
- {
- return $this->update_track;
- }
-
- /**
- * Maintenance timing setting: `canary` (Earlier) or `stable` (Later).
- * [Learn
- * more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlUpdateTrack update_track = 3;
- * @param int $var
- * @return $this
- */
- public function setUpdateTrack($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlUpdateTrack::class);
- $this->update_track = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#maintenanceWindow`.
- *
- * Generated from protobuf field string kind = 4;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#maintenanceWindow`.
- *
- * Generated from protobuf field string kind = 4;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/MySqlReplicaConfiguration.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/MySqlReplicaConfiguration.php
deleted file mode 100644
index f341b4701919..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/MySqlReplicaConfiguration.php
+++ /dev/null
@@ -1,548 +0,0 @@
-google.cloud.sql.v1.MySqlReplicaConfiguration
- */
-class MySqlReplicaConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * Path to a SQL dump file in Google Cloud Storage from which the replica
- * instance is to be created. The URI is in the form gs://bucketName/fileName.
- * Compressed gzip files (.gz) are also supported.
- * Dumps have the binlog co-ordinates from which replication
- * begins. This can be accomplished by setting --master-data to 1 when using
- * mysqldump.
- *
- * Generated from protobuf field string dump_file_path = 1;
- */
- protected $dump_file_path = '';
- /**
- * The username for the replication connection.
- *
- * Generated from protobuf field string username = 2;
- */
- protected $username = '';
- /**
- * The password for the replication connection.
- *
- * Generated from protobuf field string password = 3;
- */
- protected $password = '';
- /**
- * Seconds to wait between connect retries. MySQL's default is 60 seconds.
- *
- * Generated from protobuf field .google.protobuf.Int32Value connect_retry_interval = 4;
- */
- protected $connect_retry_interval = null;
- /**
- * Interval in milliseconds between replication heartbeats.
- *
- * Generated from protobuf field .google.protobuf.Int64Value master_heartbeat_period = 5;
- */
- protected $master_heartbeat_period = null;
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 6;
- */
- protected $ca_certificate = '';
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 7;
- */
- protected $client_certificate = '';
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- *
- * Generated from protobuf field string client_key = 8;
- */
- protected $client_key = '';
- /**
- * A list of permissible ciphers to use for SSL encryption.
- *
- * Generated from protobuf field string ssl_cipher = 9;
- */
- protected $ssl_cipher = '';
- /**
- * Whether or not to check the primary instance's Common Name value in the
- * certificate that it sends during the SSL handshake.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_server_certificate = 10;
- */
- protected $verify_server_certificate = null;
- /**
- * This is always `sql#mysqlReplicaConfiguration`.
- *
- * Generated from protobuf field string kind = 11;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $dump_file_path
- * Path to a SQL dump file in Google Cloud Storage from which the replica
- * instance is to be created. The URI is in the form gs://bucketName/fileName.
- * Compressed gzip files (.gz) are also supported.
- * Dumps have the binlog co-ordinates from which replication
- * begins. This can be accomplished by setting --master-data to 1 when using
- * mysqldump.
- * @type string $username
- * The username for the replication connection.
- * @type string $password
- * The password for the replication connection.
- * @type \Google\Protobuf\Int32Value $connect_retry_interval
- * Seconds to wait between connect retries. MySQL's default is 60 seconds.
- * @type \Google\Protobuf\Int64Value $master_heartbeat_period
- * Interval in milliseconds between replication heartbeats.
- * @type string $ca_certificate
- * PEM representation of the trusted CA's x509 certificate.
- * @type string $client_certificate
- * PEM representation of the replica's x509 certificate.
- * @type string $client_key
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- * @type string $ssl_cipher
- * A list of permissible ciphers to use for SSL encryption.
- * @type \Google\Protobuf\BoolValue $verify_server_certificate
- * Whether or not to check the primary instance's Common Name value in the
- * certificate that it sends during the SSL handshake.
- * @type string $kind
- * This is always `sql#mysqlReplicaConfiguration`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Path to a SQL dump file in Google Cloud Storage from which the replica
- * instance is to be created. The URI is in the form gs://bucketName/fileName.
- * Compressed gzip files (.gz) are also supported.
- * Dumps have the binlog co-ordinates from which replication
- * begins. This can be accomplished by setting --master-data to 1 when using
- * mysqldump.
- *
- * Generated from protobuf field string dump_file_path = 1;
- * @return string
- */
- public function getDumpFilePath()
- {
- return $this->dump_file_path;
- }
-
- /**
- * Path to a SQL dump file in Google Cloud Storage from which the replica
- * instance is to be created. The URI is in the form gs://bucketName/fileName.
- * Compressed gzip files (.gz) are also supported.
- * Dumps have the binlog co-ordinates from which replication
- * begins. This can be accomplished by setting --master-data to 1 when using
- * mysqldump.
- *
- * Generated from protobuf field string dump_file_path = 1;
- * @param string $var
- * @return $this
- */
- public function setDumpFilePath($var)
- {
- GPBUtil::checkString($var, True);
- $this->dump_file_path = $var;
-
- return $this;
- }
-
- /**
- * The username for the replication connection.
- *
- * Generated from protobuf field string username = 2;
- * @return string
- */
- public function getUsername()
- {
- return $this->username;
- }
-
- /**
- * The username for the replication connection.
- *
- * Generated from protobuf field string username = 2;
- * @param string $var
- * @return $this
- */
- public function setUsername($var)
- {
- GPBUtil::checkString($var, True);
- $this->username = $var;
-
- return $this;
- }
-
- /**
- * The password for the replication connection.
- *
- * Generated from protobuf field string password = 3;
- * @return string
- */
- public function getPassword()
- {
- return $this->password;
- }
-
- /**
- * The password for the replication connection.
- *
- * Generated from protobuf field string password = 3;
- * @param string $var
- * @return $this
- */
- public function setPassword($var)
- {
- GPBUtil::checkString($var, True);
- $this->password = $var;
-
- return $this;
- }
-
- /**
- * Seconds to wait between connect retries. MySQL's default is 60 seconds.
- *
- * Generated from protobuf field .google.protobuf.Int32Value connect_retry_interval = 4;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getConnectRetryInterval()
- {
- return $this->connect_retry_interval;
- }
-
- public function hasConnectRetryInterval()
- {
- return isset($this->connect_retry_interval);
- }
-
- public function clearConnectRetryInterval()
- {
- unset($this->connect_retry_interval);
- }
-
- /**
- * Returns the unboxed value from getConnectRetryInterval()
-
- * Seconds to wait between connect retries. MySQL's default is 60 seconds.
- *
- * Generated from protobuf field .google.protobuf.Int32Value connect_retry_interval = 4;
- * @return int|null
- */
- public function getConnectRetryIntervalUnwrapped()
- {
- return $this->readWrapperValue("connect_retry_interval");
- }
-
- /**
- * Seconds to wait between connect retries. MySQL's default is 60 seconds.
- *
- * Generated from protobuf field .google.protobuf.Int32Value connect_retry_interval = 4;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setConnectRetryInterval($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->connect_retry_interval = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Seconds to wait between connect retries. MySQL's default is 60 seconds.
- *
- * Generated from protobuf field .google.protobuf.Int32Value connect_retry_interval = 4;
- * @param int|null $var
- * @return $this
- */
- public function setConnectRetryIntervalUnwrapped($var)
- {
- $this->writeWrapperValue("connect_retry_interval", $var);
- return $this;}
-
- /**
- * Interval in milliseconds between replication heartbeats.
- *
- * Generated from protobuf field .google.protobuf.Int64Value master_heartbeat_period = 5;
- * @return \Google\Protobuf\Int64Value|null
- */
- public function getMasterHeartbeatPeriod()
- {
- return $this->master_heartbeat_period;
- }
-
- public function hasMasterHeartbeatPeriod()
- {
- return isset($this->master_heartbeat_period);
- }
-
- public function clearMasterHeartbeatPeriod()
- {
- unset($this->master_heartbeat_period);
- }
-
- /**
- * Returns the unboxed value from getMasterHeartbeatPeriod()
-
- * Interval in milliseconds between replication heartbeats.
- *
- * Generated from protobuf field .google.protobuf.Int64Value master_heartbeat_period = 5;
- * @return int|string|null
- */
- public function getMasterHeartbeatPeriodUnwrapped()
- {
- return $this->readWrapperValue("master_heartbeat_period");
- }
-
- /**
- * Interval in milliseconds between replication heartbeats.
- *
- * Generated from protobuf field .google.protobuf.Int64Value master_heartbeat_period = 5;
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- */
- public function setMasterHeartbeatPeriod($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->master_heartbeat_period = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * Interval in milliseconds between replication heartbeats.
- *
- * Generated from protobuf field .google.protobuf.Int64Value master_heartbeat_period = 5;
- * @param int|string|null $var
- * @return $this
- */
- public function setMasterHeartbeatPeriodUnwrapped($var)
- {
- $this->writeWrapperValue("master_heartbeat_period", $var);
- return $this;}
-
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 6;
- * @return string
- */
- public function getCaCertificate()
- {
- return $this->ca_certificate;
- }
-
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 6;
- * @param string $var
- * @return $this
- */
- public function setCaCertificate($var)
- {
- GPBUtil::checkString($var, True);
- $this->ca_certificate = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 7;
- * @return string
- */
- public function getClientCertificate()
- {
- return $this->client_certificate;
- }
-
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 7;
- * @param string $var
- * @return $this
- */
- public function setClientCertificate($var)
- {
- GPBUtil::checkString($var, True);
- $this->client_certificate = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- *
- * Generated from protobuf field string client_key = 8;
- * @return string
- */
- public function getClientKey()
- {
- return $this->client_key;
- }
-
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- *
- * Generated from protobuf field string client_key = 8;
- * @param string $var
- * @return $this
- */
- public function setClientKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->client_key = $var;
-
- return $this;
- }
-
- /**
- * A list of permissible ciphers to use for SSL encryption.
- *
- * Generated from protobuf field string ssl_cipher = 9;
- * @return string
- */
- public function getSslCipher()
- {
- return $this->ssl_cipher;
- }
-
- /**
- * A list of permissible ciphers to use for SSL encryption.
- *
- * Generated from protobuf field string ssl_cipher = 9;
- * @param string $var
- * @return $this
- */
- public function setSslCipher($var)
- {
- GPBUtil::checkString($var, True);
- $this->ssl_cipher = $var;
-
- return $this;
- }
-
- /**
- * Whether or not to check the primary instance's Common Name value in the
- * certificate that it sends during the SSL handshake.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_server_certificate = 10;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getVerifyServerCertificate()
- {
- return $this->verify_server_certificate;
- }
-
- public function hasVerifyServerCertificate()
- {
- return isset($this->verify_server_certificate);
- }
-
- public function clearVerifyServerCertificate()
- {
- unset($this->verify_server_certificate);
- }
-
- /**
- * Returns the unboxed value from getVerifyServerCertificate()
-
- * Whether or not to check the primary instance's Common Name value in the
- * certificate that it sends during the SSL handshake.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_server_certificate = 10;
- * @return bool|null
- */
- public function getVerifyServerCertificateUnwrapped()
- {
- return $this->readWrapperValue("verify_server_certificate");
- }
-
- /**
- * Whether or not to check the primary instance's Common Name value in the
- * certificate that it sends during the SSL handshake.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_server_certificate = 10;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setVerifyServerCertificate($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->verify_server_certificate = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether or not to check the primary instance's Common Name value in the
- * certificate that it sends during the SSL handshake.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_server_certificate = 10;
- * @param bool|null $var
- * @return $this
- */
- public function setVerifyServerCertificateUnwrapped($var)
- {
- $this->writeWrapperValue("verify_server_certificate", $var);
- return $this;}
-
- /**
- * This is always `sql#mysqlReplicaConfiguration`.
- *
- * Generated from protobuf field string kind = 11;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#mysqlReplicaConfiguration`.
- *
- * Generated from protobuf field string kind = 11;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/MySqlSyncConfig.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/MySqlSyncConfig.php
deleted file mode 100644
index bc03053dd3ac..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/MySqlSyncConfig.php
+++ /dev/null
@@ -1,67 +0,0 @@
-google.cloud.sql.v1.MySqlSyncConfig
- */
-class MySqlSyncConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Flags to use for the initial dump.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SyncFlags initial_sync_flags = 1;
- */
- private $initial_sync_flags;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Sql\V1\SyncFlags>|\Google\Protobuf\Internal\RepeatedField $initial_sync_flags
- * Flags to use for the initial dump.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Flags to use for the initial dump.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SyncFlags initial_sync_flags = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getInitialSyncFlags()
- {
- return $this->initial_sync_flags;
- }
-
- /**
- * Flags to use for the initial dump.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SyncFlags initial_sync_flags = 1;
- * @param array<\Google\Cloud\Sql\V1\SyncFlags>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setInitialSyncFlags($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\SyncFlags::class);
- $this->initial_sync_flags = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/OnPremisesConfiguration.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/OnPremisesConfiguration.php
deleted file mode 100644
index 23b8294b885a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/OnPremisesConfiguration.php
+++ /dev/null
@@ -1,353 +0,0 @@
-google.cloud.sql.v1.OnPremisesConfiguration
- */
-class OnPremisesConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * The host and port of the on-premises instance in host:port format
- *
- * Generated from protobuf field string host_port = 1;
- */
- protected $host_port = '';
- /**
- * This is always `sql#onPremisesConfiguration`.
- *
- * Generated from protobuf field string kind = 2;
- */
- protected $kind = '';
- /**
- * The username for connecting to on-premises instance.
- *
- * Generated from protobuf field string username = 3;
- */
- protected $username = '';
- /**
- * The password for connecting to on-premises instance.
- *
- * Generated from protobuf field string password = 4;
- */
- protected $password = '';
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 5;
- */
- protected $ca_certificate = '';
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 6;
- */
- protected $client_certificate = '';
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- *
- * Generated from protobuf field string client_key = 7;
- */
- protected $client_key = '';
- /**
- * The dump file to create the Cloud SQL replica.
- *
- * Generated from protobuf field string dump_file_path = 8;
- */
- protected $dump_file_path = '';
- /**
- * The reference to Cloud SQL instance if the source is Cloud SQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1.InstanceReference source_instance = 15;
- */
- protected $source_instance = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $host_port
- * The host and port of the on-premises instance in host:port format
- * @type string $kind
- * This is always `sql#onPremisesConfiguration`.
- * @type string $username
- * The username for connecting to on-premises instance.
- * @type string $password
- * The password for connecting to on-premises instance.
- * @type string $ca_certificate
- * PEM representation of the trusted CA's x509 certificate.
- * @type string $client_certificate
- * PEM representation of the replica's x509 certificate.
- * @type string $client_key
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- * @type string $dump_file_path
- * The dump file to create the Cloud SQL replica.
- * @type \Google\Cloud\Sql\V1\InstanceReference $source_instance
- * The reference to Cloud SQL instance if the source is Cloud SQL.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The host and port of the on-premises instance in host:port format
- *
- * Generated from protobuf field string host_port = 1;
- * @return string
- */
- public function getHostPort()
- {
- return $this->host_port;
- }
-
- /**
- * The host and port of the on-premises instance in host:port format
- *
- * Generated from protobuf field string host_port = 1;
- * @param string $var
- * @return $this
- */
- public function setHostPort($var)
- {
- GPBUtil::checkString($var, True);
- $this->host_port = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#onPremisesConfiguration`.
- *
- * Generated from protobuf field string kind = 2;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#onPremisesConfiguration`.
- *
- * Generated from protobuf field string kind = 2;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The username for connecting to on-premises instance.
- *
- * Generated from protobuf field string username = 3;
- * @return string
- */
- public function getUsername()
- {
- return $this->username;
- }
-
- /**
- * The username for connecting to on-premises instance.
- *
- * Generated from protobuf field string username = 3;
- * @param string $var
- * @return $this
- */
- public function setUsername($var)
- {
- GPBUtil::checkString($var, True);
- $this->username = $var;
-
- return $this;
- }
-
- /**
- * The password for connecting to on-premises instance.
- *
- * Generated from protobuf field string password = 4;
- * @return string
- */
- public function getPassword()
- {
- return $this->password;
- }
-
- /**
- * The password for connecting to on-premises instance.
- *
- * Generated from protobuf field string password = 4;
- * @param string $var
- * @return $this
- */
- public function setPassword($var)
- {
- GPBUtil::checkString($var, True);
- $this->password = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 5;
- * @return string
- */
- public function getCaCertificate()
- {
- return $this->ca_certificate;
- }
-
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 5;
- * @param string $var
- * @return $this
- */
- public function setCaCertificate($var)
- {
- GPBUtil::checkString($var, True);
- $this->ca_certificate = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 6;
- * @return string
- */
- public function getClientCertificate()
- {
- return $this->client_certificate;
- }
-
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 6;
- * @param string $var
- * @return $this
- */
- public function setClientCertificate($var)
- {
- GPBUtil::checkString($var, True);
- $this->client_certificate = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- *
- * Generated from protobuf field string client_key = 7;
- * @return string
- */
- public function getClientKey()
- {
- return $this->client_key;
- }
-
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- *
- * Generated from protobuf field string client_key = 7;
- * @param string $var
- * @return $this
- */
- public function setClientKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->client_key = $var;
-
- return $this;
- }
-
- /**
- * The dump file to create the Cloud SQL replica.
- *
- * Generated from protobuf field string dump_file_path = 8;
- * @return string
- */
- public function getDumpFilePath()
- {
- return $this->dump_file_path;
- }
-
- /**
- * The dump file to create the Cloud SQL replica.
- *
- * Generated from protobuf field string dump_file_path = 8;
- * @param string $var
- * @return $this
- */
- public function setDumpFilePath($var)
- {
- GPBUtil::checkString($var, True);
- $this->dump_file_path = $var;
-
- return $this;
- }
-
- /**
- * The reference to Cloud SQL instance if the source is Cloud SQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1.InstanceReference source_instance = 15;
- * @return \Google\Cloud\Sql\V1\InstanceReference|null
- */
- public function getSourceInstance()
- {
- return $this->source_instance;
- }
-
- public function hasSourceInstance()
- {
- return isset($this->source_instance);
- }
-
- public function clearSourceInstance()
- {
- unset($this->source_instance);
- }
-
- /**
- * The reference to Cloud SQL instance if the source is Cloud SQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1.InstanceReference source_instance = 15;
- * @param \Google\Cloud\Sql\V1\InstanceReference $var
- * @return $this
- */
- public function setSourceInstance($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\InstanceReference::class);
- $this->source_instance = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Operation.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Operation.php
deleted file mode 100644
index ed7f1506f616..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Operation.php
+++ /dev/null
@@ -1,814 +0,0 @@
-google.cloud.sql.v1.Operation
- */
-class Operation extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#operation`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Generated from protobuf field string target_link = 2;
- */
- protected $target_link = '';
- /**
- * The status of an operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Operation.SqlOperationStatus status = 3;
- */
- protected $status = 0;
- /**
- * The email address of the user who initiated this operation.
- *
- * Generated from protobuf field string user = 4;
- */
- protected $user = '';
- /**
- * The time this operation was enqueued in UTC timezone in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp insert_time = 5;
- */
- protected $insert_time = null;
- /**
- * The time this operation actually started in UTC timezone in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 6;
- */
- protected $start_time = null;
- /**
- * The time this operation finished in UTC timezone in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 7;
- */
- protected $end_time = null;
- /**
- * If errors occurred during processing of this operation, this field will be
- * populated.
- *
- * Generated from protobuf field .google.cloud.sql.v1.OperationErrors error = 8;
- */
- protected $error = null;
- /**
- * An Admin API warning message.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ApiWarning api_warning = 19;
- */
- protected $api_warning = null;
- /**
- * The type of the operation. Valid values are:
- * * `CREATE`
- * * `DELETE`
- * * `UPDATE`
- * * `RESTART`
- * * `IMPORT`
- * * `EXPORT`
- * * `BACKUP_VOLUME`
- * * `RESTORE_VOLUME`
- * * `CREATE_USER`
- * * `DELETE_USER`
- * * `CREATE_DATABASE`
- * * `DELETE_DATABASE`
- *
- * Generated from protobuf field .google.cloud.sql.v1.Operation.SqlOperationType operation_type = 9;
- */
- protected $operation_type = 0;
- /**
- * The context for import operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext import_context = 10;
- */
- protected $import_context = null;
- /**
- * The context for export operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext export_context = 11;
- */
- protected $export_context = null;
- /**
- * The context for backup operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BackupContext backup_context = 17;
- */
- protected $backup_context = null;
- /**
- * An identifier that uniquely identifies the operation. You can use this
- * identifier to retrieve the Operations resource that has information about
- * the operation.
- *
- * Generated from protobuf field string name = 12;
- */
- protected $name = '';
- /**
- * Name of the database instance related to this operation.
- *
- * Generated from protobuf field string target_id = 13;
- */
- protected $target_id = '';
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 14;
- */
- protected $self_link = '';
- /**
- * The project ID of the target instance related to this operation.
- *
- * Generated from protobuf field string target_project = 15;
- */
- protected $target_project = '';
- /**
- * The context for acquire SSRS lease operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 20;
- */
- protected $acquire_ssrs_lease_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#operation`.
- * @type string $target_link
- * @type int $status
- * The status of an operation.
- * @type string $user
- * The email address of the user who initiated this operation.
- * @type \Google\Protobuf\Timestamp $insert_time
- * The time this operation was enqueued in UTC timezone in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type \Google\Protobuf\Timestamp $start_time
- * The time this operation actually started in UTC timezone in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type \Google\Protobuf\Timestamp $end_time
- * The time this operation finished in UTC timezone in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type \Google\Cloud\Sql\V1\OperationErrors $error
- * If errors occurred during processing of this operation, this field will be
- * populated.
- * @type \Google\Cloud\Sql\V1\ApiWarning $api_warning
- * An Admin API warning message.
- * @type int $operation_type
- * The type of the operation. Valid values are:
- * * `CREATE`
- * * `DELETE`
- * * `UPDATE`
- * * `RESTART`
- * * `IMPORT`
- * * `EXPORT`
- * * `BACKUP_VOLUME`
- * * `RESTORE_VOLUME`
- * * `CREATE_USER`
- * * `DELETE_USER`
- * * `CREATE_DATABASE`
- * * `DELETE_DATABASE`
- * @type \Google\Cloud\Sql\V1\ImportContext $import_context
- * The context for import operation, if applicable.
- * @type \Google\Cloud\Sql\V1\ExportContext $export_context
- * The context for export operation, if applicable.
- * @type \Google\Cloud\Sql\V1\BackupContext $backup_context
- * The context for backup operation, if applicable.
- * @type string $name
- * An identifier that uniquely identifies the operation. You can use this
- * identifier to retrieve the Operations resource that has information about
- * the operation.
- * @type string $target_id
- * Name of the database instance related to this operation.
- * @type string $self_link
- * The URI of this resource.
- * @type string $target_project
- * The project ID of the target instance related to this operation.
- * @type \Google\Cloud\Sql\V1\AcquireSsrsLeaseContext $acquire_ssrs_lease_context
- * The context for acquire SSRS lease operation, if applicable.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#operation`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#operation`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string target_link = 2;
- * @return string
- */
- public function getTargetLink()
- {
- return $this->target_link;
- }
-
- /**
- * Generated from protobuf field string target_link = 2;
- * @param string $var
- * @return $this
- */
- public function setTargetLink($var)
- {
- GPBUtil::checkString($var, True);
- $this->target_link = $var;
-
- return $this;
- }
-
- /**
- * The status of an operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Operation.SqlOperationStatus status = 3;
- * @return int
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * The status of an operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Operation.SqlOperationStatus status = 3;
- * @param int $var
- * @return $this
- */
- public function setStatus($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\Operation\SqlOperationStatus::class);
- $this->status = $var;
-
- return $this;
- }
-
- /**
- * The email address of the user who initiated this operation.
- *
- * Generated from protobuf field string user = 4;
- * @return string
- */
- public function getUser()
- {
- return $this->user;
- }
-
- /**
- * The email address of the user who initiated this operation.
- *
- * Generated from protobuf field string user = 4;
- * @param string $var
- * @return $this
- */
- public function setUser($var)
- {
- GPBUtil::checkString($var, True);
- $this->user = $var;
-
- return $this;
- }
-
- /**
- * The time this operation was enqueued in UTC timezone in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp insert_time = 5;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getInsertTime()
- {
- return $this->insert_time;
- }
-
- public function hasInsertTime()
- {
- return isset($this->insert_time);
- }
-
- public function clearInsertTime()
- {
- unset($this->insert_time);
- }
-
- /**
- * The time this operation was enqueued in UTC timezone in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp insert_time = 5;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setInsertTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->insert_time = $var;
-
- return $this;
- }
-
- /**
- * The time this operation actually started in UTC timezone in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 6;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- public function hasStartTime()
- {
- return isset($this->start_time);
- }
-
- public function clearStartTime()
- {
- unset($this->start_time);
- }
-
- /**
- * The time this operation actually started in UTC timezone in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 6;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * The time this operation finished in UTC timezone in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 7;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEndTime()
- {
- return $this->end_time;
- }
-
- public function hasEndTime()
- {
- return isset($this->end_time);
- }
-
- public function clearEndTime()
- {
- unset($this->end_time);
- }
-
- /**
- * The time this operation finished in UTC timezone in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 7;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEndTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->end_time = $var;
-
- return $this;
- }
-
- /**
- * If errors occurred during processing of this operation, this field will be
- * populated.
- *
- * Generated from protobuf field .google.cloud.sql.v1.OperationErrors error = 8;
- * @return \Google\Cloud\Sql\V1\OperationErrors|null
- */
- public function getError()
- {
- return $this->error;
- }
-
- public function hasError()
- {
- return isset($this->error);
- }
-
- public function clearError()
- {
- unset($this->error);
- }
-
- /**
- * If errors occurred during processing of this operation, this field will be
- * populated.
- *
- * Generated from protobuf field .google.cloud.sql.v1.OperationErrors error = 8;
- * @param \Google\Cloud\Sql\V1\OperationErrors $var
- * @return $this
- */
- public function setError($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\OperationErrors::class);
- $this->error = $var;
-
- return $this;
- }
-
- /**
- * An Admin API warning message.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ApiWarning api_warning = 19;
- * @return \Google\Cloud\Sql\V1\ApiWarning|null
- */
- public function getApiWarning()
- {
- return $this->api_warning;
- }
-
- public function hasApiWarning()
- {
- return isset($this->api_warning);
- }
-
- public function clearApiWarning()
- {
- unset($this->api_warning);
- }
-
- /**
- * An Admin API warning message.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ApiWarning api_warning = 19;
- * @param \Google\Cloud\Sql\V1\ApiWarning $var
- * @return $this
- */
- public function setApiWarning($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ApiWarning::class);
- $this->api_warning = $var;
-
- return $this;
- }
-
- /**
- * The type of the operation. Valid values are:
- * * `CREATE`
- * * `DELETE`
- * * `UPDATE`
- * * `RESTART`
- * * `IMPORT`
- * * `EXPORT`
- * * `BACKUP_VOLUME`
- * * `RESTORE_VOLUME`
- * * `CREATE_USER`
- * * `DELETE_USER`
- * * `CREATE_DATABASE`
- * * `DELETE_DATABASE`
- *
- * Generated from protobuf field .google.cloud.sql.v1.Operation.SqlOperationType operation_type = 9;
- * @return int
- */
- public function getOperationType()
- {
- return $this->operation_type;
- }
-
- /**
- * The type of the operation. Valid values are:
- * * `CREATE`
- * * `DELETE`
- * * `UPDATE`
- * * `RESTART`
- * * `IMPORT`
- * * `EXPORT`
- * * `BACKUP_VOLUME`
- * * `RESTORE_VOLUME`
- * * `CREATE_USER`
- * * `DELETE_USER`
- * * `CREATE_DATABASE`
- * * `DELETE_DATABASE`
- *
- * Generated from protobuf field .google.cloud.sql.v1.Operation.SqlOperationType operation_type = 9;
- * @param int $var
- * @return $this
- */
- public function setOperationType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\Operation\SqlOperationType::class);
- $this->operation_type = $var;
-
- return $this;
- }
-
- /**
- * The context for import operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext import_context = 10;
- * @return \Google\Cloud\Sql\V1\ImportContext|null
- */
- public function getImportContext()
- {
- return $this->import_context;
- }
-
- public function hasImportContext()
- {
- return isset($this->import_context);
- }
-
- public function clearImportContext()
- {
- unset($this->import_context);
- }
-
- /**
- * The context for import operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ImportContext import_context = 10;
- * @param \Google\Cloud\Sql\V1\ImportContext $var
- * @return $this
- */
- public function setImportContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ImportContext::class);
- $this->import_context = $var;
-
- return $this;
- }
-
- /**
- * The context for export operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext export_context = 11;
- * @return \Google\Cloud\Sql\V1\ExportContext|null
- */
- public function getExportContext()
- {
- return $this->export_context;
- }
-
- public function hasExportContext()
- {
- return isset($this->export_context);
- }
-
- public function clearExportContext()
- {
- unset($this->export_context);
- }
-
- /**
- * The context for export operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExportContext export_context = 11;
- * @param \Google\Cloud\Sql\V1\ExportContext $var
- * @return $this
- */
- public function setExportContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ExportContext::class);
- $this->export_context = $var;
-
- return $this;
- }
-
- /**
- * The context for backup operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BackupContext backup_context = 17;
- * @return \Google\Cloud\Sql\V1\BackupContext|null
- */
- public function getBackupContext()
- {
- return $this->backup_context;
- }
-
- public function hasBackupContext()
- {
- return isset($this->backup_context);
- }
-
- public function clearBackupContext()
- {
- unset($this->backup_context);
- }
-
- /**
- * The context for backup operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BackupContext backup_context = 17;
- * @param \Google\Cloud\Sql\V1\BackupContext $var
- * @return $this
- */
- public function setBackupContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\BackupContext::class);
- $this->backup_context = $var;
-
- return $this;
- }
-
- /**
- * An identifier that uniquely identifies the operation. You can use this
- * identifier to retrieve the Operations resource that has information about
- * the operation.
- *
- * Generated from protobuf field string name = 12;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * An identifier that uniquely identifies the operation. You can use this
- * identifier to retrieve the Operations resource that has information about
- * the operation.
- *
- * Generated from protobuf field string name = 12;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Name of the database instance related to this operation.
- *
- * Generated from protobuf field string target_id = 13;
- * @return string
- */
- public function getTargetId()
- {
- return $this->target_id;
- }
-
- /**
- * Name of the database instance related to this operation.
- *
- * Generated from protobuf field string target_id = 13;
- * @param string $var
- * @return $this
- */
- public function setTargetId($var)
- {
- GPBUtil::checkString($var, True);
- $this->target_id = $var;
-
- return $this;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 14;
- * @return string
- */
- public function getSelfLink()
- {
- return $this->self_link;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 14;
- * @param string $var
- * @return $this
- */
- public function setSelfLink($var)
- {
- GPBUtil::checkString($var, True);
- $this->self_link = $var;
-
- return $this;
- }
-
- /**
- * The project ID of the target instance related to this operation.
- *
- * Generated from protobuf field string target_project = 15;
- * @return string
- */
- public function getTargetProject()
- {
- return $this->target_project;
- }
-
- /**
- * The project ID of the target instance related to this operation.
- *
- * Generated from protobuf field string target_project = 15;
- * @param string $var
- * @return $this
- */
- public function setTargetProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->target_project = $var;
-
- return $this;
- }
-
- /**
- * The context for acquire SSRS lease operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 20;
- * @return \Google\Cloud\Sql\V1\AcquireSsrsLeaseContext|null
- */
- public function getAcquireSsrsLeaseContext()
- {
- return $this->acquire_ssrs_lease_context;
- }
-
- public function hasAcquireSsrsLeaseContext()
- {
- return isset($this->acquire_ssrs_lease_context);
- }
-
- public function clearAcquireSsrsLeaseContext()
- {
- unset($this->acquire_ssrs_lease_context);
- }
-
- /**
- * The context for acquire SSRS lease operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 20;
- * @param \Google\Cloud\Sql\V1\AcquireSsrsLeaseContext $var
- * @return $this
- */
- public function setAcquireSsrsLeaseContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\AcquireSsrsLeaseContext::class);
- $this->acquire_ssrs_lease_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Operation/SqlOperationStatus.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Operation/SqlOperationStatus.php
deleted file mode 100644
index 424ad5206f10..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Operation/SqlOperationStatus.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.cloud.sql.v1.Operation.SqlOperationStatus
- */
-class SqlOperationStatus
-{
- /**
- * The state of the operation is unknown.
- *
- * Generated from protobuf enum SQL_OPERATION_STATUS_UNSPECIFIED = 0;
- */
- const SQL_OPERATION_STATUS_UNSPECIFIED = 0;
- /**
- * The operation has been queued, but has not started yet.
- *
- * Generated from protobuf enum PENDING = 1;
- */
- const PENDING = 1;
- /**
- * The operation is running.
- *
- * Generated from protobuf enum RUNNING = 2;
- */
- const RUNNING = 2;
- /**
- * The operation completed.
- *
- * Generated from protobuf enum DONE = 3;
- */
- const DONE = 3;
-
- private static $valueToName = [
- self::SQL_OPERATION_STATUS_UNSPECIFIED => 'SQL_OPERATION_STATUS_UNSPECIFIED',
- self::PENDING => 'PENDING',
- self::RUNNING => 'RUNNING',
- self::DONE => 'DONE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlOperationStatus::class, \Google\Cloud\Sql\V1\Operation_SqlOperationStatus::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Operation/SqlOperationType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Operation/SqlOperationType.php
deleted file mode 100644
index 08f1749a7de5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Operation/SqlOperationType.php
+++ /dev/null
@@ -1,342 +0,0 @@
-google.cloud.sql.v1.Operation.SqlOperationType
- */
-class SqlOperationType
-{
- /**
- * Unknown operation type.
- *
- * Generated from protobuf enum SQL_OPERATION_TYPE_UNSPECIFIED = 0;
- */
- const SQL_OPERATION_TYPE_UNSPECIFIED = 0;
- /**
- * Imports data into a Cloud SQL instance.
- *
- * Generated from protobuf enum IMPORT = 1;
- */
- const IMPORT = 1;
- /**
- * Exports data from a Cloud SQL instance to a Cloud Storage
- * bucket.
- *
- * Generated from protobuf enum EXPORT = 2;
- */
- const EXPORT = 2;
- /**
- * Creates a new Cloud SQL instance.
- *
- * Generated from protobuf enum CREATE = 3;
- */
- const CREATE = 3;
- /**
- * Updates the settings of a Cloud SQL instance.
- *
- * Generated from protobuf enum UPDATE = 4;
- */
- const UPDATE = 4;
- /**
- * Deletes a Cloud SQL instance.
- *
- * Generated from protobuf enum DELETE = 5;
- */
- const DELETE = 5;
- /**
- * Restarts the Cloud SQL instance.
- *
- * Generated from protobuf enum RESTART = 6;
- */
- const RESTART = 6;
- /**
- * Generated from protobuf enum BACKUP = 7 [deprecated = true];
- */
- const BACKUP = 7;
- /**
- * Generated from protobuf enum SNAPSHOT = 8 [deprecated = true];
- */
- const SNAPSHOT = 8;
- /**
- * Performs instance backup.
- *
- * Generated from protobuf enum BACKUP_VOLUME = 9;
- */
- const BACKUP_VOLUME = 9;
- /**
- * Deletes an instance backup.
- *
- * Generated from protobuf enum DELETE_VOLUME = 10;
- */
- const DELETE_VOLUME = 10;
- /**
- * Restores an instance backup.
- *
- * Generated from protobuf enum RESTORE_VOLUME = 11;
- */
- const RESTORE_VOLUME = 11;
- /**
- * Injects a privileged user in mysql for MOB instances.
- *
- * Generated from protobuf enum INJECT_USER = 12;
- */
- const INJECT_USER = 12;
- /**
- * Clones a Cloud SQL instance.
- *
- * Generated from protobuf enum CLONE = 14;
- */
- const PBCLONE = 14;
- /**
- * Stops replication on a Cloud SQL read replica instance.
- *
- * Generated from protobuf enum STOP_REPLICA = 15;
- */
- const STOP_REPLICA = 15;
- /**
- * Starts replication on a Cloud SQL read replica instance.
- *
- * Generated from protobuf enum START_REPLICA = 16;
- */
- const START_REPLICA = 16;
- /**
- * Promotes a Cloud SQL replica instance.
- *
- * Generated from protobuf enum PROMOTE_REPLICA = 17;
- */
- const PROMOTE_REPLICA = 17;
- /**
- * Creates a Cloud SQL replica instance.
- *
- * Generated from protobuf enum CREATE_REPLICA = 18;
- */
- const CREATE_REPLICA = 18;
- /**
- * Creates a new user in a Cloud SQL instance.
- *
- * Generated from protobuf enum CREATE_USER = 19;
- */
- const CREATE_USER = 19;
- /**
- * Deletes a user from a Cloud SQL instance.
- *
- * Generated from protobuf enum DELETE_USER = 20;
- */
- const DELETE_USER = 20;
- /**
- * Updates an existing user in a Cloud SQL instance.
- *
- * Generated from protobuf enum UPDATE_USER = 21;
- */
- const UPDATE_USER = 21;
- /**
- * Creates a database in the Cloud SQL instance.
- *
- * Generated from protobuf enum CREATE_DATABASE = 22;
- */
- const CREATE_DATABASE = 22;
- /**
- * Deletes a database in the Cloud SQL instance.
- *
- * Generated from protobuf enum DELETE_DATABASE = 23;
- */
- const DELETE_DATABASE = 23;
- /**
- * Updates a database in the Cloud SQL instance.
- *
- * Generated from protobuf enum UPDATE_DATABASE = 24;
- */
- const UPDATE_DATABASE = 24;
- /**
- * Performs failover of an HA-enabled Cloud SQL
- * failover replica.
- *
- * Generated from protobuf enum FAILOVER = 25;
- */
- const FAILOVER = 25;
- /**
- * Deletes the backup taken by a backup run.
- *
- * Generated from protobuf enum DELETE_BACKUP = 26;
- */
- const DELETE_BACKUP = 26;
- /**
- * Generated from protobuf enum RECREATE_REPLICA = 27;
- */
- const RECREATE_REPLICA = 27;
- /**
- * Truncates a general or slow log table in MySQL.
- *
- * Generated from protobuf enum TRUNCATE_LOG = 28;
- */
- const TRUNCATE_LOG = 28;
- /**
- * Demotes the stand-alone instance to be a Cloud SQL
- * read replica for an external database server.
- *
- * Generated from protobuf enum DEMOTE_MASTER = 29;
- */
- const DEMOTE_MASTER = 29;
- /**
- * Indicates that the instance is currently in maintenance. Maintenance
- * typically causes the instance to be unavailable for 1-3 minutes.
- *
- * Generated from protobuf enum MAINTENANCE = 30;
- */
- const MAINTENANCE = 30;
- /**
- * This field is deprecated, and will be removed in future version of API.
- *
- * Generated from protobuf enum ENABLE_PRIVATE_IP = 31 [deprecated = true];
- */
- const ENABLE_PRIVATE_IP = 31;
- /**
- * Generated from protobuf enum DEFER_MAINTENANCE = 32 [deprecated = true];
- */
- const DEFER_MAINTENANCE = 32;
- /**
- * Creates clone instance.
- *
- * Generated from protobuf enum CREATE_CLONE = 33 [deprecated = true];
- */
- const CREATE_CLONE = 33;
- /**
- * Reschedule maintenance to another time.
- *
- * Generated from protobuf enum RESCHEDULE_MAINTENANCE = 34;
- */
- const RESCHEDULE_MAINTENANCE = 34;
- /**
- * Starts external sync of a Cloud SQL EM replica to an external primary
- * instance.
- *
- * Generated from protobuf enum START_EXTERNAL_SYNC = 35;
- */
- const START_EXTERNAL_SYNC = 35;
- /**
- * Recovers logs from an instance's old data disk.
- *
- * Generated from protobuf enum LOG_CLEANUP = 36;
- */
- const LOG_CLEANUP = 36;
- /**
- * Performs auto-restart of an HA-enabled Cloud SQL database for auto
- * recovery.
- *
- * Generated from protobuf enum AUTO_RESTART = 37;
- */
- const AUTO_RESTART = 37;
- /**
- * Re-encrypts CMEK instances with latest key version.
- *
- * Generated from protobuf enum REENCRYPT = 38;
- */
- const REENCRYPT = 38;
- /**
- * Switches over to replica instance from primary.
- *
- * Generated from protobuf enum SWITCHOVER = 39;
- */
- const SWITCHOVER = 39;
- /**
- * Acquire a lease for the setup of SQL Server Reporting Services (SSRS).
- *
- * Generated from protobuf enum ACQUIRE_SSRS_LEASE = 42;
- */
- const ACQUIRE_SSRS_LEASE = 42;
- /**
- * Release a lease for the setup of SQL Server Reporting Services (SSRS).
- *
- * Generated from protobuf enum RELEASE_SSRS_LEASE = 43;
- */
- const RELEASE_SSRS_LEASE = 43;
- /**
- * Reconfigures old primary after a promote replica operation. Effect of a
- * promote operation to the old primary is executed in this operation,
- * asynchronously from the promote replica operation executed to the
- * replica.
- *
- * Generated from protobuf enum RECONFIGURE_OLD_PRIMARY = 44;
- */
- const RECONFIGURE_OLD_PRIMARY = 44;
-
- private static $valueToName = [
- self::SQL_OPERATION_TYPE_UNSPECIFIED => 'SQL_OPERATION_TYPE_UNSPECIFIED',
- self::IMPORT => 'IMPORT',
- self::EXPORT => 'EXPORT',
- self::CREATE => 'CREATE',
- self::UPDATE => 'UPDATE',
- self::DELETE => 'DELETE',
- self::RESTART => 'RESTART',
- self::BACKUP => 'BACKUP',
- self::SNAPSHOT => 'SNAPSHOT',
- self::BACKUP_VOLUME => 'BACKUP_VOLUME',
- self::DELETE_VOLUME => 'DELETE_VOLUME',
- self::RESTORE_VOLUME => 'RESTORE_VOLUME',
- self::INJECT_USER => 'INJECT_USER',
- self::PBCLONE => 'CLONE',
- self::STOP_REPLICA => 'STOP_REPLICA',
- self::START_REPLICA => 'START_REPLICA',
- self::PROMOTE_REPLICA => 'PROMOTE_REPLICA',
- self::CREATE_REPLICA => 'CREATE_REPLICA',
- self::CREATE_USER => 'CREATE_USER',
- self::DELETE_USER => 'DELETE_USER',
- self::UPDATE_USER => 'UPDATE_USER',
- self::CREATE_DATABASE => 'CREATE_DATABASE',
- self::DELETE_DATABASE => 'DELETE_DATABASE',
- self::UPDATE_DATABASE => 'UPDATE_DATABASE',
- self::FAILOVER => 'FAILOVER',
- self::DELETE_BACKUP => 'DELETE_BACKUP',
- self::RECREATE_REPLICA => 'RECREATE_REPLICA',
- self::TRUNCATE_LOG => 'TRUNCATE_LOG',
- self::DEMOTE_MASTER => 'DEMOTE_MASTER',
- self::MAINTENANCE => 'MAINTENANCE',
- self::ENABLE_PRIVATE_IP => 'ENABLE_PRIVATE_IP',
- self::DEFER_MAINTENANCE => 'DEFER_MAINTENANCE',
- self::CREATE_CLONE => 'CREATE_CLONE',
- self::RESCHEDULE_MAINTENANCE => 'RESCHEDULE_MAINTENANCE',
- self::START_EXTERNAL_SYNC => 'START_EXTERNAL_SYNC',
- self::LOG_CLEANUP => 'LOG_CLEANUP',
- self::AUTO_RESTART => 'AUTO_RESTART',
- self::REENCRYPT => 'REENCRYPT',
- self::SWITCHOVER => 'SWITCHOVER',
- self::ACQUIRE_SSRS_LEASE => 'ACQUIRE_SSRS_LEASE',
- self::RELEASE_SSRS_LEASE => 'RELEASE_SSRS_LEASE',
- self::RECONFIGURE_OLD_PRIMARY => 'RECONFIGURE_OLD_PRIMARY',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- $pbconst = __CLASS__. '::PB' . strtoupper($name);
- if (!defined($pbconst)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($pbconst);
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlOperationType::class, \Google\Cloud\Sql\V1\Operation_SqlOperationType::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/OperationError.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/OperationError.php
deleted file mode 100644
index 9983939c0bda..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/OperationError.php
+++ /dev/null
@@ -1,135 +0,0 @@
-google.cloud.sql.v1.OperationError
- */
-class OperationError extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#operationError`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Identifies the specific error that occurred.
- *
- * Generated from protobuf field string code = 2;
- */
- protected $code = '';
- /**
- * Additional information about the error encountered.
- *
- * Generated from protobuf field string message = 3;
- */
- protected $message = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#operationError`.
- * @type string $code
- * Identifies the specific error that occurred.
- * @type string $message
- * Additional information about the error encountered.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#operationError`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#operationError`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Identifies the specific error that occurred.
- *
- * Generated from protobuf field string code = 2;
- * @return string
- */
- public function getCode()
- {
- return $this->code;
- }
-
- /**
- * Identifies the specific error that occurred.
- *
- * Generated from protobuf field string code = 2;
- * @param string $var
- * @return $this
- */
- public function setCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->code = $var;
-
- return $this;
- }
-
- /**
- * Additional information about the error encountered.
- *
- * Generated from protobuf field string message = 3;
- * @return string
- */
- public function getMessage()
- {
- return $this->message;
- }
-
- /**
- * Additional information about the error encountered.
- *
- * Generated from protobuf field string message = 3;
- * @param string $var
- * @return $this
- */
- public function setMessage($var)
- {
- GPBUtil::checkString($var, True);
- $this->message = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/OperationErrors.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/OperationErrors.php
deleted file mode 100644
index 6e439bac00ad..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/OperationErrors.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.OperationErrors
- */
-class OperationErrors extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#operationErrors`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The list of errors encountered while processing this operation.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.OperationError errors = 2;
- */
- private $errors;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#operationErrors`.
- * @type array<\Google\Cloud\Sql\V1\OperationError>|\Google\Protobuf\Internal\RepeatedField $errors
- * The list of errors encountered while processing this operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#operationErrors`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#operationErrors`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The list of errors encountered while processing this operation.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.OperationError errors = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getErrors()
- {
- return $this->errors;
- }
-
- /**
- * The list of errors encountered while processing this operation.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.OperationError errors = 2;
- * @param array<\Google\Cloud\Sql\V1\OperationError>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setErrors($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\OperationError::class);
- $this->errors = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/OperationsListResponse.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/OperationsListResponse.php
deleted file mode 100644
index cfa3c41fcd72..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/OperationsListResponse.php
+++ /dev/null
@@ -1,139 +0,0 @@
-google.cloud.sql.v1.OperationsListResponse
- */
-class OperationsListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#operationsList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of operation resources.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.Operation items = 2;
- */
- private $items;
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 3;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#operationsList`.
- * @type array<\Google\Cloud\Sql\V1\Operation>|\Google\Protobuf\Internal\RepeatedField $items
- * List of operation resources.
- * @type string $next_page_token
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlOperations::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#operationsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#operationsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of operation resources.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.Operation items = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * List of operation resources.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.Operation items = 2;
- * @param array<\Google\Cloud\Sql\V1\Operation>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\Operation::class);
- $this->items = $arr;
-
- return $this;
- }
-
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 3;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 3;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PasswordStatus.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PasswordStatus.php
deleted file mode 100644
index 04e5de0765ce..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PasswordStatus.php
+++ /dev/null
@@ -1,111 +0,0 @@
-google.cloud.sql.v1.PasswordStatus
- */
-class PasswordStatus extends \Google\Protobuf\Internal\Message
-{
- /**
- * If true, user does not have login privileges.
- *
- * Generated from protobuf field bool locked = 1;
- */
- protected $locked = false;
- /**
- * The expiration time of the current password.
- *
- * Generated from protobuf field .google.protobuf.Timestamp password_expiration_time = 2;
- */
- protected $password_expiration_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $locked
- * If true, user does not have login privileges.
- * @type \Google\Protobuf\Timestamp $password_expiration_time
- * The expiration time of the current password.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * If true, user does not have login privileges.
- *
- * Generated from protobuf field bool locked = 1;
- * @return bool
- */
- public function getLocked()
- {
- return $this->locked;
- }
-
- /**
- * If true, user does not have login privileges.
- *
- * Generated from protobuf field bool locked = 1;
- * @param bool $var
- * @return $this
- */
- public function setLocked($var)
- {
- GPBUtil::checkBool($var);
- $this->locked = $var;
-
- return $this;
- }
-
- /**
- * The expiration time of the current password.
- *
- * Generated from protobuf field .google.protobuf.Timestamp password_expiration_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getPasswordExpirationTime()
- {
- return $this->password_expiration_time;
- }
-
- public function hasPasswordExpirationTime()
- {
- return isset($this->password_expiration_time);
- }
-
- public function clearPasswordExpirationTime()
- {
- unset($this->password_expiration_time);
- }
-
- /**
- * The expiration time of the current password.
- *
- * Generated from protobuf field .google.protobuf.Timestamp password_expiration_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setPasswordExpirationTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->password_expiration_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PasswordValidationPolicy.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PasswordValidationPolicy.php
deleted file mode 100644
index 41c3210abebc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PasswordValidationPolicy.php
+++ /dev/null
@@ -1,484 +0,0 @@
-google.cloud.sql.v1.PasswordValidationPolicy
- */
-class PasswordValidationPolicy extends \Google\Protobuf\Internal\Message
-{
- /**
- * Minimum number of characters allowed.
- *
- * Generated from protobuf field .google.protobuf.Int32Value min_length = 1;
- */
- protected $min_length = null;
- /**
- * The complexity of the password.
- *
- * Generated from protobuf field .google.cloud.sql.v1.PasswordValidationPolicy.Complexity complexity = 2;
- */
- protected $complexity = 0;
- /**
- * Number of previous passwords that cannot be reused.
- *
- * Generated from protobuf field .google.protobuf.Int32Value reuse_interval = 3;
- */
- protected $reuse_interval = null;
- /**
- * Disallow username as a part of the password.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_username_substring = 4;
- */
- protected $disallow_username_substring = null;
- /**
- * Minimum interval after which the password can be changed. This flag is only
- * supported for PostgreSQL.
- *
- * Generated from protobuf field .google.protobuf.Duration password_change_interval = 5;
- */
- protected $password_change_interval = null;
- /**
- * Whether the password policy is enabled or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_password_policy = 6;
- */
- protected $enable_password_policy = null;
- /**
- * This field is deprecated and will be removed in a future version of the
- * API.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_compromised_credentials = 7 [deprecated = true];
- * @deprecated
- */
- protected $disallow_compromised_credentials = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Int32Value $min_length
- * Minimum number of characters allowed.
- * @type int $complexity
- * The complexity of the password.
- * @type \Google\Protobuf\Int32Value $reuse_interval
- * Number of previous passwords that cannot be reused.
- * @type \Google\Protobuf\BoolValue $disallow_username_substring
- * Disallow username as a part of the password.
- * @type \Google\Protobuf\Duration $password_change_interval
- * Minimum interval after which the password can be changed. This flag is only
- * supported for PostgreSQL.
- * @type \Google\Protobuf\BoolValue $enable_password_policy
- * Whether the password policy is enabled or not.
- * @type \Google\Protobuf\BoolValue $disallow_compromised_credentials
- * This field is deprecated and will be removed in a future version of the
- * API.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Minimum number of characters allowed.
- *
- * Generated from protobuf field .google.protobuf.Int32Value min_length = 1;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getMinLength()
- {
- return $this->min_length;
- }
-
- public function hasMinLength()
- {
- return isset($this->min_length);
- }
-
- public function clearMinLength()
- {
- unset($this->min_length);
- }
-
- /**
- * Returns the unboxed value from getMinLength()
-
- * Minimum number of characters allowed.
- *
- * Generated from protobuf field .google.protobuf.Int32Value min_length = 1;
- * @return int|null
- */
- public function getMinLengthUnwrapped()
- {
- return $this->readWrapperValue("min_length");
- }
-
- /**
- * Minimum number of characters allowed.
- *
- * Generated from protobuf field .google.protobuf.Int32Value min_length = 1;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setMinLength($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->min_length = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Minimum number of characters allowed.
- *
- * Generated from protobuf field .google.protobuf.Int32Value min_length = 1;
- * @param int|null $var
- * @return $this
- */
- public function setMinLengthUnwrapped($var)
- {
- $this->writeWrapperValue("min_length", $var);
- return $this;}
-
- /**
- * The complexity of the password.
- *
- * Generated from protobuf field .google.cloud.sql.v1.PasswordValidationPolicy.Complexity complexity = 2;
- * @return int
- */
- public function getComplexity()
- {
- return $this->complexity;
- }
-
- /**
- * The complexity of the password.
- *
- * Generated from protobuf field .google.cloud.sql.v1.PasswordValidationPolicy.Complexity complexity = 2;
- * @param int $var
- * @return $this
- */
- public function setComplexity($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\PasswordValidationPolicy\Complexity::class);
- $this->complexity = $var;
-
- return $this;
- }
-
- /**
- * Number of previous passwords that cannot be reused.
- *
- * Generated from protobuf field .google.protobuf.Int32Value reuse_interval = 3;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getReuseInterval()
- {
- return $this->reuse_interval;
- }
-
- public function hasReuseInterval()
- {
- return isset($this->reuse_interval);
- }
-
- public function clearReuseInterval()
- {
- unset($this->reuse_interval);
- }
-
- /**
- * Returns the unboxed value from getReuseInterval()
-
- * Number of previous passwords that cannot be reused.
- *
- * Generated from protobuf field .google.protobuf.Int32Value reuse_interval = 3;
- * @return int|null
- */
- public function getReuseIntervalUnwrapped()
- {
- return $this->readWrapperValue("reuse_interval");
- }
-
- /**
- * Number of previous passwords that cannot be reused.
- *
- * Generated from protobuf field .google.protobuf.Int32Value reuse_interval = 3;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setReuseInterval($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->reuse_interval = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Number of previous passwords that cannot be reused.
- *
- * Generated from protobuf field .google.protobuf.Int32Value reuse_interval = 3;
- * @param int|null $var
- * @return $this
- */
- public function setReuseIntervalUnwrapped($var)
- {
- $this->writeWrapperValue("reuse_interval", $var);
- return $this;}
-
- /**
- * Disallow username as a part of the password.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_username_substring = 4;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getDisallowUsernameSubstring()
- {
- return $this->disallow_username_substring;
- }
-
- public function hasDisallowUsernameSubstring()
- {
- return isset($this->disallow_username_substring);
- }
-
- public function clearDisallowUsernameSubstring()
- {
- unset($this->disallow_username_substring);
- }
-
- /**
- * Returns the unboxed value from getDisallowUsernameSubstring()
-
- * Disallow username as a part of the password.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_username_substring = 4;
- * @return bool|null
- */
- public function getDisallowUsernameSubstringUnwrapped()
- {
- return $this->readWrapperValue("disallow_username_substring");
- }
-
- /**
- * Disallow username as a part of the password.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_username_substring = 4;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setDisallowUsernameSubstring($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->disallow_username_substring = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Disallow username as a part of the password.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_username_substring = 4;
- * @param bool|null $var
- * @return $this
- */
- public function setDisallowUsernameSubstringUnwrapped($var)
- {
- $this->writeWrapperValue("disallow_username_substring", $var);
- return $this;}
-
- /**
- * Minimum interval after which the password can be changed. This flag is only
- * supported for PostgreSQL.
- *
- * Generated from protobuf field .google.protobuf.Duration password_change_interval = 5;
- * @return \Google\Protobuf\Duration|null
- */
- public function getPasswordChangeInterval()
- {
- return $this->password_change_interval;
- }
-
- public function hasPasswordChangeInterval()
- {
- return isset($this->password_change_interval);
- }
-
- public function clearPasswordChangeInterval()
- {
- unset($this->password_change_interval);
- }
-
- /**
- * Minimum interval after which the password can be changed. This flag is only
- * supported for PostgreSQL.
- *
- * Generated from protobuf field .google.protobuf.Duration password_change_interval = 5;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setPasswordChangeInterval($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->password_change_interval = $var;
-
- return $this;
- }
-
- /**
- * Whether the password policy is enabled or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_password_policy = 6;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getEnablePasswordPolicy()
- {
- return $this->enable_password_policy;
- }
-
- public function hasEnablePasswordPolicy()
- {
- return isset($this->enable_password_policy);
- }
-
- public function clearEnablePasswordPolicy()
- {
- unset($this->enable_password_policy);
- }
-
- /**
- * Returns the unboxed value from getEnablePasswordPolicy()
-
- * Whether the password policy is enabled or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_password_policy = 6;
- * @return bool|null
- */
- public function getEnablePasswordPolicyUnwrapped()
- {
- return $this->readWrapperValue("enable_password_policy");
- }
-
- /**
- * Whether the password policy is enabled or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_password_policy = 6;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setEnablePasswordPolicy($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->enable_password_policy = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether the password policy is enabled or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_password_policy = 6;
- * @param bool|null $var
- * @return $this
- */
- public function setEnablePasswordPolicyUnwrapped($var)
- {
- $this->writeWrapperValue("enable_password_policy", $var);
- return $this;}
-
- /**
- * This field is deprecated and will be removed in a future version of the
- * API.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_compromised_credentials = 7 [deprecated = true];
- * @return \Google\Protobuf\BoolValue|null
- * @deprecated
- */
- public function getDisallowCompromisedCredentials()
- {
- @trigger_error('disallow_compromised_credentials is deprecated.', E_USER_DEPRECATED);
- return $this->disallow_compromised_credentials;
- }
-
- public function hasDisallowCompromisedCredentials()
- {
- @trigger_error('disallow_compromised_credentials is deprecated.', E_USER_DEPRECATED);
- return isset($this->disallow_compromised_credentials);
- }
-
- public function clearDisallowCompromisedCredentials()
- {
- @trigger_error('disallow_compromised_credentials is deprecated.', E_USER_DEPRECATED);
- unset($this->disallow_compromised_credentials);
- }
-
- /**
- * Returns the unboxed value from getDisallowCompromisedCredentials()
-
- * This field is deprecated and will be removed in a future version of the
- * API.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_compromised_credentials = 7 [deprecated = true];
- * @return bool|null
- */
- public function getDisallowCompromisedCredentialsUnwrapped()
- {
- @trigger_error('disallow_compromised_credentials is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("disallow_compromised_credentials");
- }
-
- /**
- * This field is deprecated and will be removed in a future version of the
- * API.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_compromised_credentials = 7 [deprecated = true];
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- * @deprecated
- */
- public function setDisallowCompromisedCredentials($var)
- {
- @trigger_error('disallow_compromised_credentials is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->disallow_compromised_credentials = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * This field is deprecated and will be removed in a future version of the
- * API.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_compromised_credentials = 7 [deprecated = true];
- * @param bool|null $var
- * @return $this
- */
- public function setDisallowCompromisedCredentialsUnwrapped($var)
- {
- $this->writeWrapperValue("disallow_compromised_credentials", $var);
- return $this;}
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PasswordValidationPolicy/Complexity.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PasswordValidationPolicy/Complexity.php
deleted file mode 100644
index 30292b5fb504..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PasswordValidationPolicy/Complexity.php
+++ /dev/null
@@ -1,58 +0,0 @@
-google.cloud.sql.v1.PasswordValidationPolicy.Complexity
- */
-class Complexity
-{
- /**
- * Complexity check is not specified.
- *
- * Generated from protobuf enum COMPLEXITY_UNSPECIFIED = 0;
- */
- const COMPLEXITY_UNSPECIFIED = 0;
- /**
- * A combination of lowercase, uppercase, numeric, and non-alphanumeric
- * characters.
- *
- * Generated from protobuf enum COMPLEXITY_DEFAULT = 1;
- */
- const COMPLEXITY_DEFAULT = 1;
-
- private static $valueToName = [
- self::COMPLEXITY_UNSPECIFIED => 'COMPLEXITY_UNSPECIFIED',
- self::COMPLEXITY_DEFAULT => 'COMPLEXITY_DEFAULT',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Complexity::class, \Google\Cloud\Sql\V1\PasswordValidationPolicy_Complexity::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PerformDiskShrinkContext.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PerformDiskShrinkContext.php
deleted file mode 100644
index 9b78ebbaf0a0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PerformDiskShrinkContext.php
+++ /dev/null
@@ -1,67 +0,0 @@
-google.cloud.sql.v1.PerformDiskShrinkContext
- */
-class PerformDiskShrinkContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * The target disk shrink size in GigaBytes.
- *
- * Generated from protobuf field int64 target_size_gb = 1;
- */
- protected $target_size_gb = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $target_size_gb
- * The target disk shrink size in GigaBytes.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The target disk shrink size in GigaBytes.
- *
- * Generated from protobuf field int64 target_size_gb = 1;
- * @return int|string
- */
- public function getTargetSizeGb()
- {
- return $this->target_size_gb;
- }
-
- /**
- * The target disk shrink size in GigaBytes.
- *
- * Generated from protobuf field int64 target_size_gb = 1;
- * @param int|string $var
- * @return $this
- */
- public function setTargetSizeGb($var)
- {
- GPBUtil::checkInt64($var);
- $this->target_size_gb = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PscConfig.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PscConfig.php
deleted file mode 100644
index 9d8bb9a95229..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/PscConfig.php
+++ /dev/null
@@ -1,127 +0,0 @@
-google.cloud.sql.v1.PscConfig
- */
-class PscConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Whether PSC connectivity is enabled for this instance.
- *
- * Generated from protobuf field optional bool psc_enabled = 1;
- */
- protected $psc_enabled = null;
- /**
- * Optional. The list of consumer projects that are allow-listed for PSC
- * connections to this instance. This instance can be connected to with PSC
- * from any network in these projects.
- * Each consumer project in this list may be represented by a project number
- * (numeric) or by a project id (alphanumeric).
- *
- * Generated from protobuf field repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- private $allowed_consumer_projects;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $psc_enabled
- * Whether PSC connectivity is enabled for this instance.
- * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_consumer_projects
- * Optional. The list of consumer projects that are allow-listed for PSC
- * connections to this instance. This instance can be connected to with PSC
- * from any network in these projects.
- * Each consumer project in this list may be represented by a project number
- * (numeric) or by a project id (alphanumeric).
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Whether PSC connectivity is enabled for this instance.
- *
- * Generated from protobuf field optional bool psc_enabled = 1;
- * @return bool
- */
- public function getPscEnabled()
- {
- return isset($this->psc_enabled) ? $this->psc_enabled : false;
- }
-
- public function hasPscEnabled()
- {
- return isset($this->psc_enabled);
- }
-
- public function clearPscEnabled()
- {
- unset($this->psc_enabled);
- }
-
- /**
- * Whether PSC connectivity is enabled for this instance.
- *
- * Generated from protobuf field optional bool psc_enabled = 1;
- * @param bool $var
- * @return $this
- */
- public function setPscEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->psc_enabled = $var;
-
- return $this;
- }
-
- /**
- * Optional. The list of consumer projects that are allow-listed for PSC
- * connections to this instance. This instance can be connected to with PSC
- * from any network in these projects.
- * Each consumer project in this list may be represented by a project number
- * (numeric) or by a project id (alphanumeric).
- *
- * Generated from protobuf field repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAllowedConsumerProjects()
- {
- return $this->allowed_consumer_projects;
- }
-
- /**
- * Optional. The list of consumer projects that are allow-listed for PSC
- * connections to this instance. This instance can be connected to with PSC
- * from any network in these projects.
- * Each consumer project in this list may be represented by a project number
- * (numeric) or by a project id (alphanumeric).
- *
- * Generated from protobuf field repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAllowedConsumerProjects($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->allowed_consumer_projects = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ReplicaConfiguration.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ReplicaConfiguration.php
deleted file mode 100644
index 98e162465cd0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/ReplicaConfiguration.php
+++ /dev/null
@@ -1,309 +0,0 @@
-google.cloud.sql.v1.ReplicaConfiguration
- */
-class ReplicaConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#replicaConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- *
- * Generated from protobuf field .google.cloud.sql.v1.MySqlReplicaConfiguration mysql_replica_configuration = 2;
- */
- protected $mysql_replica_configuration = null;
- /**
- * Specifies if the replica is the failover target. If the field is set to
- * `true`, the replica will be designated as a failover replica. In case the
- * primary instance fails, the replica instance will be promoted as the new
- * primary instance. Only one replica can be specified as failover target, and
- * the replica has to be in different zone with the primary instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue failover_target = 3;
- */
- protected $failover_target = null;
- /**
- * Optional. Specifies if a SQL Server replica is a cascadable replica. A
- * cascadable replica is a SQL Server cross region replica that supports
- * replica(s) under it.
- *
- * Generated from protobuf field .google.protobuf.BoolValue cascadable_replica = 5 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $cascadable_replica = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#replicaConfiguration`.
- * @type \Google\Cloud\Sql\V1\MySqlReplicaConfiguration $mysql_replica_configuration
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- * @type \Google\Protobuf\BoolValue $failover_target
- * Specifies if the replica is the failover target. If the field is set to
- * `true`, the replica will be designated as a failover replica. In case the
- * primary instance fails, the replica instance will be promoted as the new
- * primary instance. Only one replica can be specified as failover target, and
- * the replica has to be in different zone with the primary instance.
- * @type \Google\Protobuf\BoolValue $cascadable_replica
- * Optional. Specifies if a SQL Server replica is a cascadable replica. A
- * cascadable replica is a SQL Server cross region replica that supports
- * replica(s) under it.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#replicaConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#replicaConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- *
- * Generated from protobuf field .google.cloud.sql.v1.MySqlReplicaConfiguration mysql_replica_configuration = 2;
- * @return \Google\Cloud\Sql\V1\MySqlReplicaConfiguration|null
- */
- public function getMysqlReplicaConfiguration()
- {
- return $this->mysql_replica_configuration;
- }
-
- public function hasMysqlReplicaConfiguration()
- {
- return isset($this->mysql_replica_configuration);
- }
-
- public function clearMysqlReplicaConfiguration()
- {
- unset($this->mysql_replica_configuration);
- }
-
- /**
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- *
- * Generated from protobuf field .google.cloud.sql.v1.MySqlReplicaConfiguration mysql_replica_configuration = 2;
- * @param \Google\Cloud\Sql\V1\MySqlReplicaConfiguration $var
- * @return $this
- */
- public function setMysqlReplicaConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\MySqlReplicaConfiguration::class);
- $this->mysql_replica_configuration = $var;
-
- return $this;
- }
-
- /**
- * Specifies if the replica is the failover target. If the field is set to
- * `true`, the replica will be designated as a failover replica. In case the
- * primary instance fails, the replica instance will be promoted as the new
- * primary instance. Only one replica can be specified as failover target, and
- * the replica has to be in different zone with the primary instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue failover_target = 3;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getFailoverTarget()
- {
- return $this->failover_target;
- }
-
- public function hasFailoverTarget()
- {
- return isset($this->failover_target);
- }
-
- public function clearFailoverTarget()
- {
- unset($this->failover_target);
- }
-
- /**
- * Returns the unboxed value from getFailoverTarget()
-
- * Specifies if the replica is the failover target. If the field is set to
- * `true`, the replica will be designated as a failover replica. In case the
- * primary instance fails, the replica instance will be promoted as the new
- * primary instance. Only one replica can be specified as failover target, and
- * the replica has to be in different zone with the primary instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue failover_target = 3;
- * @return bool|null
- */
- public function getFailoverTargetUnwrapped()
- {
- return $this->readWrapperValue("failover_target");
- }
-
- /**
- * Specifies if the replica is the failover target. If the field is set to
- * `true`, the replica will be designated as a failover replica. In case the
- * primary instance fails, the replica instance will be promoted as the new
- * primary instance. Only one replica can be specified as failover target, and
- * the replica has to be in different zone with the primary instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue failover_target = 3;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setFailoverTarget($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->failover_target = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Specifies if the replica is the failover target. If the field is set to
- * `true`, the replica will be designated as a failover replica. In case the
- * primary instance fails, the replica instance will be promoted as the new
- * primary instance. Only one replica can be specified as failover target, and
- * the replica has to be in different zone with the primary instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue failover_target = 3;
- * @param bool|null $var
- * @return $this
- */
- public function setFailoverTargetUnwrapped($var)
- {
- $this->writeWrapperValue("failover_target", $var);
- return $this;}
-
- /**
- * Optional. Specifies if a SQL Server replica is a cascadable replica. A
- * cascadable replica is a SQL Server cross region replica that supports
- * replica(s) under it.
- *
- * Generated from protobuf field .google.protobuf.BoolValue cascadable_replica = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getCascadableReplica()
- {
- return $this->cascadable_replica;
- }
-
- public function hasCascadableReplica()
- {
- return isset($this->cascadable_replica);
- }
-
- public function clearCascadableReplica()
- {
- unset($this->cascadable_replica);
- }
-
- /**
- * Returns the unboxed value from getCascadableReplica()
-
- * Optional. Specifies if a SQL Server replica is a cascadable replica. A
- * cascadable replica is a SQL Server cross region replica that supports
- * replica(s) under it.
- *
- * Generated from protobuf field .google.protobuf.BoolValue cascadable_replica = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool|null
- */
- public function getCascadableReplicaUnwrapped()
- {
- return $this->readWrapperValue("cascadable_replica");
- }
-
- /**
- * Optional. Specifies if a SQL Server replica is a cascadable replica. A
- * cascadable replica is a SQL Server cross region replica that supports
- * replica(s) under it.
- *
- * Generated from protobuf field .google.protobuf.BoolValue cascadable_replica = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setCascadableReplica($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->cascadable_replica = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Optional. Specifies if a SQL Server replica is a cascadable replica. A
- * cascadable replica is a SQL Server cross region replica that supports
- * replica(s) under it.
- *
- * Generated from protobuf field .google.protobuf.BoolValue cascadable_replica = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool|null $var
- * @return $this
- */
- public function setCascadableReplicaUnwrapped($var)
- {
- $this->writeWrapperValue("cascadable_replica", $var);
- return $this;}
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/RestoreBackupContext.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/RestoreBackupContext.php
deleted file mode 100644
index 181d00941303..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/RestoreBackupContext.php
+++ /dev/null
@@ -1,170 +0,0 @@
-google.cloud.sql.v1.RestoreBackupContext
- */
-class RestoreBackupContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#restoreBackupContext`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The ID of the backup run to restore from.
- *
- * Generated from protobuf field int64 backup_run_id = 2;
- */
- protected $backup_run_id = 0;
- /**
- * The ID of the instance that the backup was taken from.
- *
- * Generated from protobuf field string instance_id = 3;
- */
- protected $instance_id = '';
- /**
- * The full project ID of the source instance.
- *
- * Generated from protobuf field string project = 4;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#restoreBackupContext`.
- * @type int|string $backup_run_id
- * The ID of the backup run to restore from.
- * @type string $instance_id
- * The ID of the instance that the backup was taken from.
- * @type string $project
- * The full project ID of the source instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#restoreBackupContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#restoreBackupContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The ID of the backup run to restore from.
- *
- * Generated from protobuf field int64 backup_run_id = 2;
- * @return int|string
- */
- public function getBackupRunId()
- {
- return $this->backup_run_id;
- }
-
- /**
- * The ID of the backup run to restore from.
- *
- * Generated from protobuf field int64 backup_run_id = 2;
- * @param int|string $var
- * @return $this
- */
- public function setBackupRunId($var)
- {
- GPBUtil::checkInt64($var);
- $this->backup_run_id = $var;
-
- return $this;
- }
-
- /**
- * The ID of the instance that the backup was taken from.
- *
- * Generated from protobuf field string instance_id = 3;
- * @return string
- */
- public function getInstanceId()
- {
- return $this->instance_id;
- }
-
- /**
- * The ID of the instance that the backup was taken from.
- *
- * Generated from protobuf field string instance_id = 3;
- * @param string $var
- * @return $this
- */
- public function setInstanceId($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance_id = $var;
-
- return $this;
- }
-
- /**
- * The full project ID of the source instance.
- *
- * Generated from protobuf field string project = 4;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * The full project ID of the source instance.
- *
- * Generated from protobuf field string project = 4;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/RotateServerCaContext.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/RotateServerCaContext.php
deleted file mode 100644
index ae676d1af208..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/RotateServerCaContext.php
+++ /dev/null
@@ -1,105 +0,0 @@
-google.cloud.sql.v1.RotateServerCaContext
- */
-class RotateServerCaContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#rotateServerCaContext`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The fingerprint of the next version to be rotated to. If left unspecified,
- * will be rotated to the most recently added server CA version.
- *
- * Generated from protobuf field string next_version = 2;
- */
- protected $next_version = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#rotateServerCaContext`.
- * @type string $next_version
- * The fingerprint of the next version to be rotated to. If left unspecified,
- * will be rotated to the most recently added server CA version.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#rotateServerCaContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#rotateServerCaContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The fingerprint of the next version to be rotated to. If left unspecified,
- * will be rotated to the most recently added server CA version.
- *
- * Generated from protobuf field string next_version = 2;
- * @return string
- */
- public function getNextVersion()
- {
- return $this->next_version;
- }
-
- /**
- * The fingerprint of the next version to be rotated to. If left unspecified,
- * will be rotated to the most recently added server CA version.
- *
- * Generated from protobuf field string next_version = 2;
- * @param string $var
- * @return $this
- */
- public function setNextVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_version = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Settings.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Settings.php
deleted file mode 100644
index 4340c53e19b6..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Settings.php
+++ /dev/null
@@ -1,1773 +0,0 @@
-google.cloud.sql.v1.Settings
- */
-class Settings extends \Google\Protobuf\Internal\Message
-{
- /**
- * The version of instance settings. This is a required field for update
- * method to make sure concurrent updates are handled properly. During update,
- * use the most recent settingsVersion value for this instance and do not try
- * to update this value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value settings_version = 1;
- */
- protected $settings_version = null;
- /**
- * The App Engine app IDs that can access this instance.
- * (Deprecated) Applied to First Generation instances only.
- *
- * Generated from protobuf field repeated string authorized_gae_applications = 2 [deprecated = true];
- * @deprecated
- */
- private $authorized_gae_applications;
- /**
- * The tier (or machine type) for this instance, for example
- * `db-custom-1-3840`. WARNING: Changing this restarts the instance.
- *
- * Generated from protobuf field string tier = 3;
- */
- protected $tier = '';
- /**
- * This is always `sql#settings`.
- *
- * Generated from protobuf field string kind = 4;
- */
- protected $kind = '';
- /**
- * User-provided labels, represented as a dictionary where each label is a
- * single key value pair.
- *
- * Generated from protobuf field map user_labels = 5;
- */
- private $user_labels;
- /**
- * Availability type. Potential values:
- * * `ZONAL`: The instance serves data from only one zone. Outages in that
- * zone affect data accessibility.
- * * `REGIONAL`: The instance can serve data from more than one zone in a
- * region (it is highly available)./
- * For more information, see [Overview of the High Availability
- * Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlAvailabilityType availability_type = 6;
- */
- protected $availability_type = 0;
- /**
- * The pricing plan for this instance. This can be either `PER_USE` or
- * `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlPricingPlan pricing_plan = 7;
- */
- protected $pricing_plan = 0;
- /**
- * The type of replication this instance uses. This can be either
- * `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only
- * applicable to First Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlReplicationType replication_type = 8 [deprecated = true];
- * @deprecated
- */
- protected $replication_type = 0;
- /**
- * The maximum size to which storage capacity can be automatically increased.
- * The default value is 0, which specifies that there is no limit.
- *
- * Generated from protobuf field .google.protobuf.Int64Value storage_auto_resize_limit = 9;
- */
- protected $storage_auto_resize_limit = null;
- /**
- * The activation policy specifies when the instance is activated; it is
- * applicable only when the instance state is RUNNABLE. Valid values:
- * * `ALWAYS`: The instance is on, and remains so even in the absence of
- * connection requests.
- * * `NEVER`: The instance is off; it is not activated, even if a
- * connection request arrives.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Settings.SqlActivationPolicy activation_policy = 10;
- */
- protected $activation_policy = 0;
- /**
- * The settings for IP Management. This allows to enable or disable the
- * instance IP and manage which external networks can connect to the instance.
- * The IPv4 address cannot be disabled for Second Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.IpConfiguration ip_configuration = 11;
- */
- protected $ip_configuration = null;
- /**
- * Configuration to increase storage size automatically. The default value is
- * true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue storage_auto_resize = 12;
- */
- protected $storage_auto_resize = null;
- /**
- * The location preference settings. This allows the instance to be located as
- * near as possible to either an App Engine app or Compute Engine zone for
- * better performance. App Engine co-location was only applicable to First
- * Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.LocationPreference location_preference = 13;
- */
- protected $location_preference = null;
- /**
- * The database flags passed to the instance at startup.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.DatabaseFlags database_flags = 14;
- */
- private $database_flags;
- /**
- * The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for
- * First Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlDataDiskType data_disk_type = 15;
- */
- protected $data_disk_type = 0;
- /**
- * The maintenance window for this instance. This specifies when the instance
- * can be restarted for maintenance purposes.
- *
- * Generated from protobuf field .google.cloud.sql.v1.MaintenanceWindow maintenance_window = 16;
- */
- protected $maintenance_window = null;
- /**
- * The daily backup configuration for the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BackupConfiguration backup_configuration = 17;
- */
- protected $backup_configuration = null;
- /**
- * Configuration specific to read replica instances. Indicates whether
- * replication is enabled or not. WARNING: Changing this restarts the
- * instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue database_replication_enabled = 18;
- */
- protected $database_replication_enabled = null;
- /**
- * Configuration specific to read replica instances. Indicates whether
- * database flags for crash-safe replication are enabled. This property was
- * only applicable to First Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true];
- * @deprecated
- */
- protected $crash_safe_replication_enabled = null;
- /**
- * The size of data disk, in GB. The data disk size minimum is 10GB.
- *
- * Generated from protobuf field .google.protobuf.Int64Value data_disk_size_gb = 20;
- */
- protected $data_disk_size_gb = null;
- /**
- * Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlActiveDirectoryConfig active_directory_config = 22;
- */
- protected $active_directory_config = null;
- /**
- * The name of server Instance collation.
- *
- * Generated from protobuf field string collation = 23;
- */
- protected $collation = '';
- /**
- * Deny maintenance periods
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.DenyMaintenancePeriod deny_maintenance_periods = 24;
- */
- private $deny_maintenance_periods;
- /**
- * Insights configuration, for now relevant only for Postgres.
- *
- * Generated from protobuf field .google.cloud.sql.v1.InsightsConfig insights_config = 25;
- */
- protected $insights_config = null;
- /**
- * The local user password validation policy of the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.PasswordValidationPolicy password_validation_policy = 27;
- */
- protected $password_validation_policy = null;
- /**
- * SQL Server specific audit configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlServerAuditConfig sql_server_audit_config = 29;
- */
- protected $sql_server_audit_config = null;
- /**
- * Optional. The edition of the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Settings.Edition edition = 38 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $edition = 0;
- /**
- * Specifies if connections must use Cloud SQL connectors.
- * Option values include the following: `NOT_REQUIRED` (Cloud SQL instances
- * can be connected without Cloud SQL
- * Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL
- * Connectors).
- * Note that using REQUIRED disables all existing authorized networks. If
- * this field is not specified when creating a new instance, NOT_REQUIRED is
- * used. If this field is not specified when patching or updating an existing
- * instance, it is left unchanged in the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Settings.ConnectorEnforcement connector_enforcement = 32;
- */
- protected $connector_enforcement = 0;
- /**
- * Configuration to protect against accidental instance deletion.
- *
- * Generated from protobuf field .google.protobuf.BoolValue deletion_protection_enabled = 33;
- */
- protected $deletion_protection_enabled = null;
- /**
- * Server timezone, relevant only for Cloud SQL for SQL Server.
- *
- * Generated from protobuf field string time_zone = 34;
- */
- protected $time_zone = '';
- /**
- * Specifies advance machine configuration for the instance
- * relevant only for SQL Server.
- *
- * Generated from protobuf field .google.cloud.sql.v1.AdvancedMachineFeatures advanced_machine_features = 35;
- */
- protected $advanced_machine_features = null;
- /**
- * Configuration for data cache.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DataCacheConfig data_cache_config = 37;
- */
- protected $data_cache_config = null;
- /**
- * Optional. When this parameter is set to true, Cloud SQL instances can
- * connect to Vertex AI to pass requests for real-time predictions and
- * insights to the AI. The default value is false. This applies only to Cloud
- * SQL for PostgreSQL instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $enable_google_ml_integration = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Int64Value $settings_version
- * The version of instance settings. This is a required field for update
- * method to make sure concurrent updates are handled properly. During update,
- * use the most recent settingsVersion value for this instance and do not try
- * to update this value.
- * @type array|\Google\Protobuf\Internal\RepeatedField $authorized_gae_applications
- * The App Engine app IDs that can access this instance.
- * (Deprecated) Applied to First Generation instances only.
- * @type string $tier
- * The tier (or machine type) for this instance, for example
- * `db-custom-1-3840`. WARNING: Changing this restarts the instance.
- * @type string $kind
- * This is always `sql#settings`.
- * @type array|\Google\Protobuf\Internal\MapField $user_labels
- * User-provided labels, represented as a dictionary where each label is a
- * single key value pair.
- * @type int $availability_type
- * Availability type. Potential values:
- * * `ZONAL`: The instance serves data from only one zone. Outages in that
- * zone affect data accessibility.
- * * `REGIONAL`: The instance can serve data from more than one zone in a
- * region (it is highly available)./
- * For more information, see [Overview of the High Availability
- * Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).
- * @type int $pricing_plan
- * The pricing plan for this instance. This can be either `PER_USE` or
- * `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
- * @type int $replication_type
- * The type of replication this instance uses. This can be either
- * `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only
- * applicable to First Generation instances.
- * @type \Google\Protobuf\Int64Value $storage_auto_resize_limit
- * The maximum size to which storage capacity can be automatically increased.
- * The default value is 0, which specifies that there is no limit.
- * @type int $activation_policy
- * The activation policy specifies when the instance is activated; it is
- * applicable only when the instance state is RUNNABLE. Valid values:
- * * `ALWAYS`: The instance is on, and remains so even in the absence of
- * connection requests.
- * * `NEVER`: The instance is off; it is not activated, even if a
- * connection request arrives.
- * @type \Google\Cloud\Sql\V1\IpConfiguration $ip_configuration
- * The settings for IP Management. This allows to enable or disable the
- * instance IP and manage which external networks can connect to the instance.
- * The IPv4 address cannot be disabled for Second Generation instances.
- * @type \Google\Protobuf\BoolValue $storage_auto_resize
- * Configuration to increase storage size automatically. The default value is
- * true.
- * @type \Google\Cloud\Sql\V1\LocationPreference $location_preference
- * The location preference settings. This allows the instance to be located as
- * near as possible to either an App Engine app or Compute Engine zone for
- * better performance. App Engine co-location was only applicable to First
- * Generation instances.
- * @type array<\Google\Cloud\Sql\V1\DatabaseFlags>|\Google\Protobuf\Internal\RepeatedField $database_flags
- * The database flags passed to the instance at startup.
- * @type int $data_disk_type
- * The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for
- * First Generation instances.
- * @type \Google\Cloud\Sql\V1\MaintenanceWindow $maintenance_window
- * The maintenance window for this instance. This specifies when the instance
- * can be restarted for maintenance purposes.
- * @type \Google\Cloud\Sql\V1\BackupConfiguration $backup_configuration
- * The daily backup configuration for the instance.
- * @type \Google\Protobuf\BoolValue $database_replication_enabled
- * Configuration specific to read replica instances. Indicates whether
- * replication is enabled or not. WARNING: Changing this restarts the
- * instance.
- * @type \Google\Protobuf\BoolValue $crash_safe_replication_enabled
- * Configuration specific to read replica instances. Indicates whether
- * database flags for crash-safe replication are enabled. This property was
- * only applicable to First Generation instances.
- * @type \Google\Protobuf\Int64Value $data_disk_size_gb
- * The size of data disk, in GB. The data disk size minimum is 10GB.
- * @type \Google\Cloud\Sql\V1\SqlActiveDirectoryConfig $active_directory_config
- * Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- * @type string $collation
- * The name of server Instance collation.
- * @type array<\Google\Cloud\Sql\V1\DenyMaintenancePeriod>|\Google\Protobuf\Internal\RepeatedField $deny_maintenance_periods
- * Deny maintenance periods
- * @type \Google\Cloud\Sql\V1\InsightsConfig $insights_config
- * Insights configuration, for now relevant only for Postgres.
- * @type \Google\Cloud\Sql\V1\PasswordValidationPolicy $password_validation_policy
- * The local user password validation policy of the instance.
- * @type \Google\Cloud\Sql\V1\SqlServerAuditConfig $sql_server_audit_config
- * SQL Server specific audit configuration.
- * @type int $edition
- * Optional. The edition of the instance.
- * @type int $connector_enforcement
- * Specifies if connections must use Cloud SQL connectors.
- * Option values include the following: `NOT_REQUIRED` (Cloud SQL instances
- * can be connected without Cloud SQL
- * Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL
- * Connectors).
- * Note that using REQUIRED disables all existing authorized networks. If
- * this field is not specified when creating a new instance, NOT_REQUIRED is
- * used. If this field is not specified when patching or updating an existing
- * instance, it is left unchanged in the instance.
- * @type \Google\Protobuf\BoolValue $deletion_protection_enabled
- * Configuration to protect against accidental instance deletion.
- * @type string $time_zone
- * Server timezone, relevant only for Cloud SQL for SQL Server.
- * @type \Google\Cloud\Sql\V1\AdvancedMachineFeatures $advanced_machine_features
- * Specifies advance machine configuration for the instance
- * relevant only for SQL Server.
- * @type \Google\Cloud\Sql\V1\DataCacheConfig $data_cache_config
- * Configuration for data cache.
- * @type \Google\Protobuf\BoolValue $enable_google_ml_integration
- * Optional. When this parameter is set to true, Cloud SQL instances can
- * connect to Vertex AI to pass requests for real-time predictions and
- * insights to the AI. The default value is false. This applies only to Cloud
- * SQL for PostgreSQL instances.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The version of instance settings. This is a required field for update
- * method to make sure concurrent updates are handled properly. During update,
- * use the most recent settingsVersion value for this instance and do not try
- * to update this value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value settings_version = 1;
- * @return \Google\Protobuf\Int64Value|null
- */
- public function getSettingsVersion()
- {
- return $this->settings_version;
- }
-
- public function hasSettingsVersion()
- {
- return isset($this->settings_version);
- }
-
- public function clearSettingsVersion()
- {
- unset($this->settings_version);
- }
-
- /**
- * Returns the unboxed value from getSettingsVersion()
-
- * The version of instance settings. This is a required field for update
- * method to make sure concurrent updates are handled properly. During update,
- * use the most recent settingsVersion value for this instance and do not try
- * to update this value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value settings_version = 1;
- * @return int|string|null
- */
- public function getSettingsVersionUnwrapped()
- {
- return $this->readWrapperValue("settings_version");
- }
-
- /**
- * The version of instance settings. This is a required field for update
- * method to make sure concurrent updates are handled properly. During update,
- * use the most recent settingsVersion value for this instance and do not try
- * to update this value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value settings_version = 1;
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- */
- public function setSettingsVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->settings_version = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * The version of instance settings. This is a required field for update
- * method to make sure concurrent updates are handled properly. During update,
- * use the most recent settingsVersion value for this instance and do not try
- * to update this value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value settings_version = 1;
- * @param int|string|null $var
- * @return $this
- */
- public function setSettingsVersionUnwrapped($var)
- {
- $this->writeWrapperValue("settings_version", $var);
- return $this;}
-
- /**
- * The App Engine app IDs that can access this instance.
- * (Deprecated) Applied to First Generation instances only.
- *
- * Generated from protobuf field repeated string authorized_gae_applications = 2 [deprecated = true];
- * @return \Google\Protobuf\Internal\RepeatedField
- * @deprecated
- */
- public function getAuthorizedGaeApplications()
- {
- @trigger_error('authorized_gae_applications is deprecated.', E_USER_DEPRECATED);
- return $this->authorized_gae_applications;
- }
-
- /**
- * The App Engine app IDs that can access this instance.
- * (Deprecated) Applied to First Generation instances only.
- *
- * Generated from protobuf field repeated string authorized_gae_applications = 2 [deprecated = true];
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- * @deprecated
- */
- public function setAuthorizedGaeApplications($var)
- {
- @trigger_error('authorized_gae_applications is deprecated.', E_USER_DEPRECATED);
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->authorized_gae_applications = $arr;
-
- return $this;
- }
-
- /**
- * The tier (or machine type) for this instance, for example
- * `db-custom-1-3840`. WARNING: Changing this restarts the instance.
- *
- * Generated from protobuf field string tier = 3;
- * @return string
- */
- public function getTier()
- {
- return $this->tier;
- }
-
- /**
- * The tier (or machine type) for this instance, for example
- * `db-custom-1-3840`. WARNING: Changing this restarts the instance.
- *
- * Generated from protobuf field string tier = 3;
- * @param string $var
- * @return $this
- */
- public function setTier($var)
- {
- GPBUtil::checkString($var, True);
- $this->tier = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#settings`.
- *
- * Generated from protobuf field string kind = 4;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#settings`.
- *
- * Generated from protobuf field string kind = 4;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * User-provided labels, represented as a dictionary where each label is a
- * single key value pair.
- *
- * Generated from protobuf field map user_labels = 5;
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getUserLabels()
- {
- return $this->user_labels;
- }
-
- /**
- * User-provided labels, represented as a dictionary where each label is a
- * single key value pair.
- *
- * Generated from protobuf field map user_labels = 5;
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setUserLabels($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
- $this->user_labels = $arr;
-
- return $this;
- }
-
- /**
- * Availability type. Potential values:
- * * `ZONAL`: The instance serves data from only one zone. Outages in that
- * zone affect data accessibility.
- * * `REGIONAL`: The instance can serve data from more than one zone in a
- * region (it is highly available)./
- * For more information, see [Overview of the High Availability
- * Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlAvailabilityType availability_type = 6;
- * @return int
- */
- public function getAvailabilityType()
- {
- return $this->availability_type;
- }
-
- /**
- * Availability type. Potential values:
- * * `ZONAL`: The instance serves data from only one zone. Outages in that
- * zone affect data accessibility.
- * * `REGIONAL`: The instance can serve data from more than one zone in a
- * region (it is highly available)./
- * For more information, see [Overview of the High Availability
- * Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlAvailabilityType availability_type = 6;
- * @param int $var
- * @return $this
- */
- public function setAvailabilityType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlAvailabilityType::class);
- $this->availability_type = $var;
-
- return $this;
- }
-
- /**
- * The pricing plan for this instance. This can be either `PER_USE` or
- * `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlPricingPlan pricing_plan = 7;
- * @return int
- */
- public function getPricingPlan()
- {
- return $this->pricing_plan;
- }
-
- /**
- * The pricing plan for this instance. This can be either `PER_USE` or
- * `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlPricingPlan pricing_plan = 7;
- * @param int $var
- * @return $this
- */
- public function setPricingPlan($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlPricingPlan::class);
- $this->pricing_plan = $var;
-
- return $this;
- }
-
- /**
- * The type of replication this instance uses. This can be either
- * `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only
- * applicable to First Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlReplicationType replication_type = 8 [deprecated = true];
- * @return int
- * @deprecated
- */
- public function getReplicationType()
- {
- @trigger_error('replication_type is deprecated.', E_USER_DEPRECATED);
- return $this->replication_type;
- }
-
- /**
- * The type of replication this instance uses. This can be either
- * `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only
- * applicable to First Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlReplicationType replication_type = 8 [deprecated = true];
- * @param int $var
- * @return $this
- * @deprecated
- */
- public function setReplicationType($var)
- {
- @trigger_error('replication_type is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlReplicationType::class);
- $this->replication_type = $var;
-
- return $this;
- }
-
- /**
- * The maximum size to which storage capacity can be automatically increased.
- * The default value is 0, which specifies that there is no limit.
- *
- * Generated from protobuf field .google.protobuf.Int64Value storage_auto_resize_limit = 9;
- * @return \Google\Protobuf\Int64Value|null
- */
- public function getStorageAutoResizeLimit()
- {
- return $this->storage_auto_resize_limit;
- }
-
- public function hasStorageAutoResizeLimit()
- {
- return isset($this->storage_auto_resize_limit);
- }
-
- public function clearStorageAutoResizeLimit()
- {
- unset($this->storage_auto_resize_limit);
- }
-
- /**
- * Returns the unboxed value from getStorageAutoResizeLimit()
-
- * The maximum size to which storage capacity can be automatically increased.
- * The default value is 0, which specifies that there is no limit.
- *
- * Generated from protobuf field .google.protobuf.Int64Value storage_auto_resize_limit = 9;
- * @return int|string|null
- */
- public function getStorageAutoResizeLimitUnwrapped()
- {
- return $this->readWrapperValue("storage_auto_resize_limit");
- }
-
- /**
- * The maximum size to which storage capacity can be automatically increased.
- * The default value is 0, which specifies that there is no limit.
- *
- * Generated from protobuf field .google.protobuf.Int64Value storage_auto_resize_limit = 9;
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- */
- public function setStorageAutoResizeLimit($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->storage_auto_resize_limit = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * The maximum size to which storage capacity can be automatically increased.
- * The default value is 0, which specifies that there is no limit.
- *
- * Generated from protobuf field .google.protobuf.Int64Value storage_auto_resize_limit = 9;
- * @param int|string|null $var
- * @return $this
- */
- public function setStorageAutoResizeLimitUnwrapped($var)
- {
- $this->writeWrapperValue("storage_auto_resize_limit", $var);
- return $this;}
-
- /**
- * The activation policy specifies when the instance is activated; it is
- * applicable only when the instance state is RUNNABLE. Valid values:
- * * `ALWAYS`: The instance is on, and remains so even in the absence of
- * connection requests.
- * * `NEVER`: The instance is off; it is not activated, even if a
- * connection request arrives.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Settings.SqlActivationPolicy activation_policy = 10;
- * @return int
- */
- public function getActivationPolicy()
- {
- return $this->activation_policy;
- }
-
- /**
- * The activation policy specifies when the instance is activated; it is
- * applicable only when the instance state is RUNNABLE. Valid values:
- * * `ALWAYS`: The instance is on, and remains so even in the absence of
- * connection requests.
- * * `NEVER`: The instance is off; it is not activated, even if a
- * connection request arrives.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Settings.SqlActivationPolicy activation_policy = 10;
- * @param int $var
- * @return $this
- */
- public function setActivationPolicy($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\Settings\SqlActivationPolicy::class);
- $this->activation_policy = $var;
-
- return $this;
- }
-
- /**
- * The settings for IP Management. This allows to enable or disable the
- * instance IP and manage which external networks can connect to the instance.
- * The IPv4 address cannot be disabled for Second Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.IpConfiguration ip_configuration = 11;
- * @return \Google\Cloud\Sql\V1\IpConfiguration|null
- */
- public function getIpConfiguration()
- {
- return $this->ip_configuration;
- }
-
- public function hasIpConfiguration()
- {
- return isset($this->ip_configuration);
- }
-
- public function clearIpConfiguration()
- {
- unset($this->ip_configuration);
- }
-
- /**
- * The settings for IP Management. This allows to enable or disable the
- * instance IP and manage which external networks can connect to the instance.
- * The IPv4 address cannot be disabled for Second Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.IpConfiguration ip_configuration = 11;
- * @param \Google\Cloud\Sql\V1\IpConfiguration $var
- * @return $this
- */
- public function setIpConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\IpConfiguration::class);
- $this->ip_configuration = $var;
-
- return $this;
- }
-
- /**
- * Configuration to increase storage size automatically. The default value is
- * true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue storage_auto_resize = 12;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getStorageAutoResize()
- {
- return $this->storage_auto_resize;
- }
-
- public function hasStorageAutoResize()
- {
- return isset($this->storage_auto_resize);
- }
-
- public function clearStorageAutoResize()
- {
- unset($this->storage_auto_resize);
- }
-
- /**
- * Returns the unboxed value from getStorageAutoResize()
-
- * Configuration to increase storage size automatically. The default value is
- * true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue storage_auto_resize = 12;
- * @return bool|null
- */
- public function getStorageAutoResizeUnwrapped()
- {
- return $this->readWrapperValue("storage_auto_resize");
- }
-
- /**
- * Configuration to increase storage size automatically. The default value is
- * true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue storage_auto_resize = 12;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setStorageAutoResize($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->storage_auto_resize = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Configuration to increase storage size automatically. The default value is
- * true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue storage_auto_resize = 12;
- * @param bool|null $var
- * @return $this
- */
- public function setStorageAutoResizeUnwrapped($var)
- {
- $this->writeWrapperValue("storage_auto_resize", $var);
- return $this;}
-
- /**
- * The location preference settings. This allows the instance to be located as
- * near as possible to either an App Engine app or Compute Engine zone for
- * better performance. App Engine co-location was only applicable to First
- * Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.LocationPreference location_preference = 13;
- * @return \Google\Cloud\Sql\V1\LocationPreference|null
- */
- public function getLocationPreference()
- {
- return $this->location_preference;
- }
-
- public function hasLocationPreference()
- {
- return isset($this->location_preference);
- }
-
- public function clearLocationPreference()
- {
- unset($this->location_preference);
- }
-
- /**
- * The location preference settings. This allows the instance to be located as
- * near as possible to either an App Engine app or Compute Engine zone for
- * better performance. App Engine co-location was only applicable to First
- * Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.LocationPreference location_preference = 13;
- * @param \Google\Cloud\Sql\V1\LocationPreference $var
- * @return $this
- */
- public function setLocationPreference($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\LocationPreference::class);
- $this->location_preference = $var;
-
- return $this;
- }
-
- /**
- * The database flags passed to the instance at startup.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.DatabaseFlags database_flags = 14;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDatabaseFlags()
- {
- return $this->database_flags;
- }
-
- /**
- * The database flags passed to the instance at startup.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.DatabaseFlags database_flags = 14;
- * @param array<\Google\Cloud\Sql\V1\DatabaseFlags>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setDatabaseFlags($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\DatabaseFlags::class);
- $this->database_flags = $arr;
-
- return $this;
- }
-
- /**
- * The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for
- * First Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlDataDiskType data_disk_type = 15;
- * @return int
- */
- public function getDataDiskType()
- {
- return $this->data_disk_type;
- }
-
- /**
- * The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for
- * First Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlDataDiskType data_disk_type = 15;
- * @param int $var
- * @return $this
- */
- public function setDataDiskType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlDataDiskType::class);
- $this->data_disk_type = $var;
-
- return $this;
- }
-
- /**
- * The maintenance window for this instance. This specifies when the instance
- * can be restarted for maintenance purposes.
- *
- * Generated from protobuf field .google.cloud.sql.v1.MaintenanceWindow maintenance_window = 16;
- * @return \Google\Cloud\Sql\V1\MaintenanceWindow|null
- */
- public function getMaintenanceWindow()
- {
- return $this->maintenance_window;
- }
-
- public function hasMaintenanceWindow()
- {
- return isset($this->maintenance_window);
- }
-
- public function clearMaintenanceWindow()
- {
- unset($this->maintenance_window);
- }
-
- /**
- * The maintenance window for this instance. This specifies when the instance
- * can be restarted for maintenance purposes.
- *
- * Generated from protobuf field .google.cloud.sql.v1.MaintenanceWindow maintenance_window = 16;
- * @param \Google\Cloud\Sql\V1\MaintenanceWindow $var
- * @return $this
- */
- public function setMaintenanceWindow($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\MaintenanceWindow::class);
- $this->maintenance_window = $var;
-
- return $this;
- }
-
- /**
- * The daily backup configuration for the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BackupConfiguration backup_configuration = 17;
- * @return \Google\Cloud\Sql\V1\BackupConfiguration|null
- */
- public function getBackupConfiguration()
- {
- return $this->backup_configuration;
- }
-
- public function hasBackupConfiguration()
- {
- return isset($this->backup_configuration);
- }
-
- public function clearBackupConfiguration()
- {
- unset($this->backup_configuration);
- }
-
- /**
- * The daily backup configuration for the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.BackupConfiguration backup_configuration = 17;
- * @param \Google\Cloud\Sql\V1\BackupConfiguration $var
- * @return $this
- */
- public function setBackupConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\BackupConfiguration::class);
- $this->backup_configuration = $var;
-
- return $this;
- }
-
- /**
- * Configuration specific to read replica instances. Indicates whether
- * replication is enabled or not. WARNING: Changing this restarts the
- * instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue database_replication_enabled = 18;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getDatabaseReplicationEnabled()
- {
- return $this->database_replication_enabled;
- }
-
- public function hasDatabaseReplicationEnabled()
- {
- return isset($this->database_replication_enabled);
- }
-
- public function clearDatabaseReplicationEnabled()
- {
- unset($this->database_replication_enabled);
- }
-
- /**
- * Returns the unboxed value from getDatabaseReplicationEnabled()
-
- * Configuration specific to read replica instances. Indicates whether
- * replication is enabled or not. WARNING: Changing this restarts the
- * instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue database_replication_enabled = 18;
- * @return bool|null
- */
- public function getDatabaseReplicationEnabledUnwrapped()
- {
- return $this->readWrapperValue("database_replication_enabled");
- }
-
- /**
- * Configuration specific to read replica instances. Indicates whether
- * replication is enabled or not. WARNING: Changing this restarts the
- * instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue database_replication_enabled = 18;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setDatabaseReplicationEnabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->database_replication_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Configuration specific to read replica instances. Indicates whether
- * replication is enabled or not. WARNING: Changing this restarts the
- * instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue database_replication_enabled = 18;
- * @param bool|null $var
- * @return $this
- */
- public function setDatabaseReplicationEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("database_replication_enabled", $var);
- return $this;}
-
- /**
- * Configuration specific to read replica instances. Indicates whether
- * database flags for crash-safe replication are enabled. This property was
- * only applicable to First Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true];
- * @return \Google\Protobuf\BoolValue|null
- * @deprecated
- */
- public function getCrashSafeReplicationEnabled()
- {
- @trigger_error('crash_safe_replication_enabled is deprecated.', E_USER_DEPRECATED);
- return $this->crash_safe_replication_enabled;
- }
-
- public function hasCrashSafeReplicationEnabled()
- {
- @trigger_error('crash_safe_replication_enabled is deprecated.', E_USER_DEPRECATED);
- return isset($this->crash_safe_replication_enabled);
- }
-
- public function clearCrashSafeReplicationEnabled()
- {
- @trigger_error('crash_safe_replication_enabled is deprecated.', E_USER_DEPRECATED);
- unset($this->crash_safe_replication_enabled);
- }
-
- /**
- * Returns the unboxed value from getCrashSafeReplicationEnabled()
-
- * Configuration specific to read replica instances. Indicates whether
- * database flags for crash-safe replication are enabled. This property was
- * only applicable to First Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true];
- * @return bool|null
- */
- public function getCrashSafeReplicationEnabledUnwrapped()
- {
- @trigger_error('crash_safe_replication_enabled is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("crash_safe_replication_enabled");
- }
-
- /**
- * Configuration specific to read replica instances. Indicates whether
- * database flags for crash-safe replication are enabled. This property was
- * only applicable to First Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true];
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- * @deprecated
- */
- public function setCrashSafeReplicationEnabled($var)
- {
- @trigger_error('crash_safe_replication_enabled is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->crash_safe_replication_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Configuration specific to read replica instances. Indicates whether
- * database flags for crash-safe replication are enabled. This property was
- * only applicable to First Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true];
- * @param bool|null $var
- * @return $this
- */
- public function setCrashSafeReplicationEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("crash_safe_replication_enabled", $var);
- return $this;}
-
- /**
- * The size of data disk, in GB. The data disk size minimum is 10GB.
- *
- * Generated from protobuf field .google.protobuf.Int64Value data_disk_size_gb = 20;
- * @return \Google\Protobuf\Int64Value|null
- */
- public function getDataDiskSizeGb()
- {
- return $this->data_disk_size_gb;
- }
-
- public function hasDataDiskSizeGb()
- {
- return isset($this->data_disk_size_gb);
- }
-
- public function clearDataDiskSizeGb()
- {
- unset($this->data_disk_size_gb);
- }
-
- /**
- * Returns the unboxed value from getDataDiskSizeGb()
-
- * The size of data disk, in GB. The data disk size minimum is 10GB.
- *
- * Generated from protobuf field .google.protobuf.Int64Value data_disk_size_gb = 20;
- * @return int|string|null
- */
- public function getDataDiskSizeGbUnwrapped()
- {
- return $this->readWrapperValue("data_disk_size_gb");
- }
-
- /**
- * The size of data disk, in GB. The data disk size minimum is 10GB.
- *
- * Generated from protobuf field .google.protobuf.Int64Value data_disk_size_gb = 20;
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- */
- public function setDataDiskSizeGb($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->data_disk_size_gb = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * The size of data disk, in GB. The data disk size minimum is 10GB.
- *
- * Generated from protobuf field .google.protobuf.Int64Value data_disk_size_gb = 20;
- * @param int|string|null $var
- * @return $this
- */
- public function setDataDiskSizeGbUnwrapped($var)
- {
- $this->writeWrapperValue("data_disk_size_gb", $var);
- return $this;}
-
- /**
- * Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlActiveDirectoryConfig active_directory_config = 22;
- * @return \Google\Cloud\Sql\V1\SqlActiveDirectoryConfig|null
- */
- public function getActiveDirectoryConfig()
- {
- return $this->active_directory_config;
- }
-
- public function hasActiveDirectoryConfig()
- {
- return isset($this->active_directory_config);
- }
-
- public function clearActiveDirectoryConfig()
- {
- unset($this->active_directory_config);
- }
-
- /**
- * Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlActiveDirectoryConfig active_directory_config = 22;
- * @param \Google\Cloud\Sql\V1\SqlActiveDirectoryConfig $var
- * @return $this
- */
- public function setActiveDirectoryConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SqlActiveDirectoryConfig::class);
- $this->active_directory_config = $var;
-
- return $this;
- }
-
- /**
- * The name of server Instance collation.
- *
- * Generated from protobuf field string collation = 23;
- * @return string
- */
- public function getCollation()
- {
- return $this->collation;
- }
-
- /**
- * The name of server Instance collation.
- *
- * Generated from protobuf field string collation = 23;
- * @param string $var
- * @return $this
- */
- public function setCollation($var)
- {
- GPBUtil::checkString($var, True);
- $this->collation = $var;
-
- return $this;
- }
-
- /**
- * Deny maintenance periods
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.DenyMaintenancePeriod deny_maintenance_periods = 24;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDenyMaintenancePeriods()
- {
- return $this->deny_maintenance_periods;
- }
-
- /**
- * Deny maintenance periods
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.DenyMaintenancePeriod deny_maintenance_periods = 24;
- * @param array<\Google\Cloud\Sql\V1\DenyMaintenancePeriod>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setDenyMaintenancePeriods($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\DenyMaintenancePeriod::class);
- $this->deny_maintenance_periods = $arr;
-
- return $this;
- }
-
- /**
- * Insights configuration, for now relevant only for Postgres.
- *
- * Generated from protobuf field .google.cloud.sql.v1.InsightsConfig insights_config = 25;
- * @return \Google\Cloud\Sql\V1\InsightsConfig|null
- */
- public function getInsightsConfig()
- {
- return $this->insights_config;
- }
-
- public function hasInsightsConfig()
- {
- return isset($this->insights_config);
- }
-
- public function clearInsightsConfig()
- {
- unset($this->insights_config);
- }
-
- /**
- * Insights configuration, for now relevant only for Postgres.
- *
- * Generated from protobuf field .google.cloud.sql.v1.InsightsConfig insights_config = 25;
- * @param \Google\Cloud\Sql\V1\InsightsConfig $var
- * @return $this
- */
- public function setInsightsConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\InsightsConfig::class);
- $this->insights_config = $var;
-
- return $this;
- }
-
- /**
- * The local user password validation policy of the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.PasswordValidationPolicy password_validation_policy = 27;
- * @return \Google\Cloud\Sql\V1\PasswordValidationPolicy|null
- */
- public function getPasswordValidationPolicy()
- {
- return $this->password_validation_policy;
- }
-
- public function hasPasswordValidationPolicy()
- {
- return isset($this->password_validation_policy);
- }
-
- public function clearPasswordValidationPolicy()
- {
- unset($this->password_validation_policy);
- }
-
- /**
- * The local user password validation policy of the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.PasswordValidationPolicy password_validation_policy = 27;
- * @param \Google\Cloud\Sql\V1\PasswordValidationPolicy $var
- * @return $this
- */
- public function setPasswordValidationPolicy($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\PasswordValidationPolicy::class);
- $this->password_validation_policy = $var;
-
- return $this;
- }
-
- /**
- * SQL Server specific audit configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlServerAuditConfig sql_server_audit_config = 29;
- * @return \Google\Cloud\Sql\V1\SqlServerAuditConfig|null
- */
- public function getSqlServerAuditConfig()
- {
- return $this->sql_server_audit_config;
- }
-
- public function hasSqlServerAuditConfig()
- {
- return isset($this->sql_server_audit_config);
- }
-
- public function clearSqlServerAuditConfig()
- {
- unset($this->sql_server_audit_config);
- }
-
- /**
- * SQL Server specific audit configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlServerAuditConfig sql_server_audit_config = 29;
- * @param \Google\Cloud\Sql\V1\SqlServerAuditConfig $var
- * @return $this
- */
- public function setSqlServerAuditConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SqlServerAuditConfig::class);
- $this->sql_server_audit_config = $var;
-
- return $this;
- }
-
- /**
- * Optional. The edition of the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Settings.Edition edition = 38 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getEdition()
- {
- return $this->edition;
- }
-
- /**
- * Optional. The edition of the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Settings.Edition edition = 38 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setEdition($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\Settings\Edition::class);
- $this->edition = $var;
-
- return $this;
- }
-
- /**
- * Specifies if connections must use Cloud SQL connectors.
- * Option values include the following: `NOT_REQUIRED` (Cloud SQL instances
- * can be connected without Cloud SQL
- * Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL
- * Connectors).
- * Note that using REQUIRED disables all existing authorized networks. If
- * this field is not specified when creating a new instance, NOT_REQUIRED is
- * used. If this field is not specified when patching or updating an existing
- * instance, it is left unchanged in the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Settings.ConnectorEnforcement connector_enforcement = 32;
- * @return int
- */
- public function getConnectorEnforcement()
- {
- return $this->connector_enforcement;
- }
-
- /**
- * Specifies if connections must use Cloud SQL connectors.
- * Option values include the following: `NOT_REQUIRED` (Cloud SQL instances
- * can be connected without Cloud SQL
- * Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL
- * Connectors).
- * Note that using REQUIRED disables all existing authorized networks. If
- * this field is not specified when creating a new instance, NOT_REQUIRED is
- * used. If this field is not specified when patching or updating an existing
- * instance, it is left unchanged in the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Settings.ConnectorEnforcement connector_enforcement = 32;
- * @param int $var
- * @return $this
- */
- public function setConnectorEnforcement($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\Settings\ConnectorEnforcement::class);
- $this->connector_enforcement = $var;
-
- return $this;
- }
-
- /**
- * Configuration to protect against accidental instance deletion.
- *
- * Generated from protobuf field .google.protobuf.BoolValue deletion_protection_enabled = 33;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getDeletionProtectionEnabled()
- {
- return $this->deletion_protection_enabled;
- }
-
- public function hasDeletionProtectionEnabled()
- {
- return isset($this->deletion_protection_enabled);
- }
-
- public function clearDeletionProtectionEnabled()
- {
- unset($this->deletion_protection_enabled);
- }
-
- /**
- * Returns the unboxed value from getDeletionProtectionEnabled()
-
- * Configuration to protect against accidental instance deletion.
- *
- * Generated from protobuf field .google.protobuf.BoolValue deletion_protection_enabled = 33;
- * @return bool|null
- */
- public function getDeletionProtectionEnabledUnwrapped()
- {
- return $this->readWrapperValue("deletion_protection_enabled");
- }
-
- /**
- * Configuration to protect against accidental instance deletion.
- *
- * Generated from protobuf field .google.protobuf.BoolValue deletion_protection_enabled = 33;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setDeletionProtectionEnabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->deletion_protection_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Configuration to protect against accidental instance deletion.
- *
- * Generated from protobuf field .google.protobuf.BoolValue deletion_protection_enabled = 33;
- * @param bool|null $var
- * @return $this
- */
- public function setDeletionProtectionEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("deletion_protection_enabled", $var);
- return $this;}
-
- /**
- * Server timezone, relevant only for Cloud SQL for SQL Server.
- *
- * Generated from protobuf field string time_zone = 34;
- * @return string
- */
- public function getTimeZone()
- {
- return $this->time_zone;
- }
-
- /**
- * Server timezone, relevant only for Cloud SQL for SQL Server.
- *
- * Generated from protobuf field string time_zone = 34;
- * @param string $var
- * @return $this
- */
- public function setTimeZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->time_zone = $var;
-
- return $this;
- }
-
- /**
- * Specifies advance machine configuration for the instance
- * relevant only for SQL Server.
- *
- * Generated from protobuf field .google.cloud.sql.v1.AdvancedMachineFeatures advanced_machine_features = 35;
- * @return \Google\Cloud\Sql\V1\AdvancedMachineFeatures|null
- */
- public function getAdvancedMachineFeatures()
- {
- return $this->advanced_machine_features;
- }
-
- public function hasAdvancedMachineFeatures()
- {
- return isset($this->advanced_machine_features);
- }
-
- public function clearAdvancedMachineFeatures()
- {
- unset($this->advanced_machine_features);
- }
-
- /**
- * Specifies advance machine configuration for the instance
- * relevant only for SQL Server.
- *
- * Generated from protobuf field .google.cloud.sql.v1.AdvancedMachineFeatures advanced_machine_features = 35;
- * @param \Google\Cloud\Sql\V1\AdvancedMachineFeatures $var
- * @return $this
- */
- public function setAdvancedMachineFeatures($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\AdvancedMachineFeatures::class);
- $this->advanced_machine_features = $var;
-
- return $this;
- }
-
- /**
- * Configuration for data cache.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DataCacheConfig data_cache_config = 37;
- * @return \Google\Cloud\Sql\V1\DataCacheConfig|null
- */
- public function getDataCacheConfig()
- {
- return $this->data_cache_config;
- }
-
- public function hasDataCacheConfig()
- {
- return isset($this->data_cache_config);
- }
-
- public function clearDataCacheConfig()
- {
- unset($this->data_cache_config);
- }
-
- /**
- * Configuration for data cache.
- *
- * Generated from protobuf field .google.cloud.sql.v1.DataCacheConfig data_cache_config = 37;
- * @param \Google\Cloud\Sql\V1\DataCacheConfig $var
- * @return $this
- */
- public function setDataCacheConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DataCacheConfig::class);
- $this->data_cache_config = $var;
-
- return $this;
- }
-
- /**
- * Optional. When this parameter is set to true, Cloud SQL instances can
- * connect to Vertex AI to pass requests for real-time predictions and
- * insights to the AI. The default value is false. This applies only to Cloud
- * SQL for PostgreSQL instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getEnableGoogleMlIntegration()
- {
- return $this->enable_google_ml_integration;
- }
-
- public function hasEnableGoogleMlIntegration()
- {
- return isset($this->enable_google_ml_integration);
- }
-
- public function clearEnableGoogleMlIntegration()
- {
- unset($this->enable_google_ml_integration);
- }
-
- /**
- * Returns the unboxed value from getEnableGoogleMlIntegration()
-
- * Optional. When this parameter is set to true, Cloud SQL instances can
- * connect to Vertex AI to pass requests for real-time predictions and
- * insights to the AI. The default value is false. This applies only to Cloud
- * SQL for PostgreSQL instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool|null
- */
- public function getEnableGoogleMlIntegrationUnwrapped()
- {
- return $this->readWrapperValue("enable_google_ml_integration");
- }
-
- /**
- * Optional. When this parameter is set to true, Cloud SQL instances can
- * connect to Vertex AI to pass requests for real-time predictions and
- * insights to the AI. The default value is false. This applies only to Cloud
- * SQL for PostgreSQL instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setEnableGoogleMlIntegration($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->enable_google_ml_integration = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Optional. When this parameter is set to true, Cloud SQL instances can
- * connect to Vertex AI to pass requests for real-time predictions and
- * insights to the AI. The default value is false. This applies only to Cloud
- * SQL for PostgreSQL instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool|null $var
- * @return $this
- */
- public function setEnableGoogleMlIntegrationUnwrapped($var)
- {
- $this->writeWrapperValue("enable_google_ml_integration", $var);
- return $this;}
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Settings/ConnectorEnforcement.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Settings/ConnectorEnforcement.php
deleted file mode 100644
index b5e20e282ce4..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Settings/ConnectorEnforcement.php
+++ /dev/null
@@ -1,66 +0,0 @@
-google.cloud.sql.v1.Settings.ConnectorEnforcement
- */
-class ConnectorEnforcement
-{
- /**
- * The requirement for Cloud SQL connectors is unknown.
- *
- * Generated from protobuf enum CONNECTOR_ENFORCEMENT_UNSPECIFIED = 0;
- */
- const CONNECTOR_ENFORCEMENT_UNSPECIFIED = 0;
- /**
- * Do not require Cloud SQL connectors.
- *
- * Generated from protobuf enum NOT_REQUIRED = 1;
- */
- const NOT_REQUIRED = 1;
- /**
- * Require all connections to use Cloud SQL connectors, including the
- * Cloud SQL Auth Proxy and Cloud SQL Java, Python, and Go connectors.
- * Note: This disables all existing authorized networks.
- *
- * Generated from protobuf enum REQUIRED = 2;
- */
- const REQUIRED = 2;
-
- private static $valueToName = [
- self::CONNECTOR_ENFORCEMENT_UNSPECIFIED => 'CONNECTOR_ENFORCEMENT_UNSPECIFIED',
- self::NOT_REQUIRED => 'NOT_REQUIRED',
- self::REQUIRED => 'REQUIRED',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(ConnectorEnforcement::class, \Google\Cloud\Sql\V1\Settings_ConnectorEnforcement::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Settings/Edition.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Settings/Edition.php
deleted file mode 100644
index 5c3af9f7ac03..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Settings/Edition.php
+++ /dev/null
@@ -1,64 +0,0 @@
-google.cloud.sql.v1.Settings.Edition
- */
-class Edition
-{
- /**
- * The instance did not specify the edition.
- *
- * Generated from protobuf enum EDITION_UNSPECIFIED = 0;
- */
- const EDITION_UNSPECIFIED = 0;
- /**
- * The instance is an enterprise edition.
- *
- * Generated from protobuf enum ENTERPRISE = 2;
- */
- const ENTERPRISE = 2;
- /**
- * The instance is an Enterprise Plus edition.
- *
- * Generated from protobuf enum ENTERPRISE_PLUS = 3;
- */
- const ENTERPRISE_PLUS = 3;
-
- private static $valueToName = [
- self::EDITION_UNSPECIFIED => 'EDITION_UNSPECIFIED',
- self::ENTERPRISE => 'ENTERPRISE',
- self::ENTERPRISE_PLUS => 'ENTERPRISE_PLUS',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Edition::class, \Google\Cloud\Sql\V1\Settings_Edition::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Settings/SqlActivationPolicy.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Settings/SqlActivationPolicy.php
deleted file mode 100644
index 3e387860df63..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Settings/SqlActivationPolicy.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.cloud.sql.v1.Settings.SqlActivationPolicy
- */
-class SqlActivationPolicy
-{
- /**
- * Unknown activation plan.
- *
- * Generated from protobuf enum SQL_ACTIVATION_POLICY_UNSPECIFIED = 0;
- */
- const SQL_ACTIVATION_POLICY_UNSPECIFIED = 0;
- /**
- * The instance is always up and running.
- *
- * Generated from protobuf enum ALWAYS = 1;
- */
- const ALWAYS = 1;
- /**
- * The instance never starts.
- *
- * Generated from protobuf enum NEVER = 2;
- */
- const NEVER = 2;
- /**
- * The instance starts upon receiving requests.
- *
- * Generated from protobuf enum ON_DEMAND = 3 [deprecated = true];
- */
- const ON_DEMAND = 3;
-
- private static $valueToName = [
- self::SQL_ACTIVATION_POLICY_UNSPECIFIED => 'SQL_ACTIVATION_POLICY_UNSPECIFIED',
- self::ALWAYS => 'ALWAYS',
- self::NEVER => 'NEVER',
- self::ON_DEMAND => 'ON_DEMAND',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlActivationPolicy::class, \Google\Cloud\Sql\V1\Settings_SqlActivationPolicy::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlActiveDirectoryConfig.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlActiveDirectoryConfig.php
deleted file mode 100644
index 1ce7310f6dca..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlActiveDirectoryConfig.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlActiveDirectoryConfig
- */
-class SqlActiveDirectoryConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always sql#activeDirectoryConfig.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The name of the domain (e.g., mydomain.com).
- *
- * Generated from protobuf field string domain = 2;
- */
- protected $domain = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always sql#activeDirectoryConfig.
- * @type string $domain
- * The name of the domain (e.g., mydomain.com).
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always sql#activeDirectoryConfig.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always sql#activeDirectoryConfig.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The name of the domain (e.g., mydomain.com).
- *
- * Generated from protobuf field string domain = 2;
- * @return string
- */
- public function getDomain()
- {
- return $this->domain;
- }
-
- /**
- * The name of the domain (e.g., mydomain.com).
- *
- * Generated from protobuf field string domain = 2;
- * @param string $var
- * @return $this
- */
- public function setDomain($var)
- {
- GPBUtil::checkString($var, True);
- $this->domain = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlAvailabilityType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlAvailabilityType.php
deleted file mode 100644
index 31a166e7bd1e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlAvailabilityType.php
+++ /dev/null
@@ -1,61 +0,0 @@
-google.cloud.sql.v1.SqlAvailabilityType
- */
-class SqlAvailabilityType
-{
- /**
- * This is an unknown Availability type.
- *
- * Generated from protobuf enum SQL_AVAILABILITY_TYPE_UNSPECIFIED = 0;
- */
- const SQL_AVAILABILITY_TYPE_UNSPECIFIED = 0;
- /**
- * Zonal available instance.
- *
- * Generated from protobuf enum ZONAL = 1;
- */
- const ZONAL = 1;
- /**
- * Regional available instance.
- *
- * Generated from protobuf enum REGIONAL = 2;
- */
- const REGIONAL = 2;
-
- private static $valueToName = [
- self::SQL_AVAILABILITY_TYPE_UNSPECIFIED => 'SQL_AVAILABILITY_TYPE_UNSPECIFIED',
- self::ZONAL => 'ZONAL',
- self::REGIONAL => 'REGIONAL',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackendType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackendType.php
deleted file mode 100644
index 83410c24b301..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackendType.php
+++ /dev/null
@@ -1,66 +0,0 @@
-google.cloud.sql.v1.SqlBackendType
- */
-class SqlBackendType
-{
- /**
- * This is an unknown backend type for instance.
- *
- * Generated from protobuf enum SQL_BACKEND_TYPE_UNSPECIFIED = 0;
- */
- const SQL_BACKEND_TYPE_UNSPECIFIED = 0;
- /**
- * V1 speckle instance.
- *
- * Generated from protobuf enum FIRST_GEN = 1 [deprecated = true];
- */
- const FIRST_GEN = 1;
- /**
- * V2 speckle instance.
- *
- * Generated from protobuf enum SECOND_GEN = 2;
- */
- const SECOND_GEN = 2;
- /**
- * On premises instance.
- *
- * Generated from protobuf enum EXTERNAL = 3;
- */
- const EXTERNAL = 3;
-
- private static $valueToName = [
- self::SQL_BACKEND_TYPE_UNSPECIFIED => 'SQL_BACKEND_TYPE_UNSPECIFIED',
- self::FIRST_GEN => 'FIRST_GEN',
- self::SECOND_GEN => 'SECOND_GEN',
- self::EXTERNAL => 'EXTERNAL',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupKind.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupKind.php
deleted file mode 100644
index c4c169c2f790..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupKind.php
+++ /dev/null
@@ -1,61 +0,0 @@
-google.cloud.sql.v1.SqlBackupKind
- */
-class SqlBackupKind
-{
- /**
- * This is an unknown BackupKind.
- *
- * Generated from protobuf enum SQL_BACKUP_KIND_UNSPECIFIED = 0;
- */
- const SQL_BACKUP_KIND_UNSPECIFIED = 0;
- /**
- * The snapshot based backups
- *
- * Generated from protobuf enum SNAPSHOT = 1;
- */
- const SNAPSHOT = 1;
- /**
- * Physical backups
- *
- * Generated from protobuf enum PHYSICAL = 2;
- */
- const PHYSICAL = 2;
-
- private static $valueToName = [
- self::SQL_BACKUP_KIND_UNSPECIFIED => 'SQL_BACKUP_KIND_UNSPECIFIED',
- self::SNAPSHOT => 'SNAPSHOT',
- self::PHYSICAL => 'PHYSICAL',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunStatus.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunStatus.php
deleted file mode 100644
index e7d2d6b71be2..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunStatus.php
+++ /dev/null
@@ -1,113 +0,0 @@
-google.cloud.sql.v1.SqlBackupRunStatus
- */
-class SqlBackupRunStatus
-{
- /**
- * The status of the run is unknown.
- *
- * Generated from protobuf enum SQL_BACKUP_RUN_STATUS_UNSPECIFIED = 0;
- */
- const SQL_BACKUP_RUN_STATUS_UNSPECIFIED = 0;
- /**
- * The backup operation was enqueued.
- *
- * Generated from protobuf enum ENQUEUED = 1;
- */
- const ENQUEUED = 1;
- /**
- * The backup is overdue across a given backup window. Indicates a
- * problem. Example: Long-running operation in progress during
- * the whole window.
- *
- * Generated from protobuf enum OVERDUE = 2;
- */
- const OVERDUE = 2;
- /**
- * The backup is in progress.
- *
- * Generated from protobuf enum RUNNING = 3;
- */
- const RUNNING = 3;
- /**
- * The backup failed.
- *
- * Generated from protobuf enum FAILED = 4;
- */
- const FAILED = 4;
- /**
- * The backup was successful.
- *
- * Generated from protobuf enum SUCCESSFUL = 5;
- */
- const SUCCESSFUL = 5;
- /**
- * The backup was skipped (without problems) for a given backup
- * window. Example: Instance was idle.
- *
- * Generated from protobuf enum SKIPPED = 6;
- */
- const SKIPPED = 6;
- /**
- * The backup is about to be deleted.
- *
- * Generated from protobuf enum DELETION_PENDING = 7;
- */
- const DELETION_PENDING = 7;
- /**
- * The backup deletion failed.
- *
- * Generated from protobuf enum DELETION_FAILED = 8;
- */
- const DELETION_FAILED = 8;
- /**
- * The backup has been deleted.
- *
- * Generated from protobuf enum DELETED = 9;
- */
- const DELETED = 9;
-
- private static $valueToName = [
- self::SQL_BACKUP_RUN_STATUS_UNSPECIFIED => 'SQL_BACKUP_RUN_STATUS_UNSPECIFIED',
- self::ENQUEUED => 'ENQUEUED',
- self::OVERDUE => 'OVERDUE',
- self::RUNNING => 'RUNNING',
- self::FAILED => 'FAILED',
- self::SUCCESSFUL => 'SUCCESSFUL',
- self::SKIPPED => 'SKIPPED',
- self::DELETION_PENDING => 'DELETION_PENDING',
- self::DELETION_FAILED => 'DELETION_FAILED',
- self::DELETED => 'DELETED',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunType.php
deleted file mode 100644
index af9710f16b4b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunType.php
+++ /dev/null
@@ -1,61 +0,0 @@
-google.cloud.sql.v1.SqlBackupRunType
- */
-class SqlBackupRunType
-{
- /**
- * This is an unknown BackupRun type.
- *
- * Generated from protobuf enum SQL_BACKUP_RUN_TYPE_UNSPECIFIED = 0;
- */
- const SQL_BACKUP_RUN_TYPE_UNSPECIFIED = 0;
- /**
- * The backup schedule automatically triggers a backup.
- *
- * Generated from protobuf enum AUTOMATED = 1;
- */
- const AUTOMATED = 1;
- /**
- * The user manually triggers a backup.
- *
- * Generated from protobuf enum ON_DEMAND = 2;
- */
- const ON_DEMAND = 2;
-
- private static $valueToName = [
- self::SQL_BACKUP_RUN_TYPE_UNSPECIFIED => 'SQL_BACKUP_RUN_TYPE_UNSPECIFIED',
- self::AUTOMATED => 'AUTOMATED',
- self::ON_DEMAND => 'ON_DEMAND',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunsDeleteRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunsDeleteRequest.php
deleted file mode 100644
index 3ac692b31491..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunsDeleteRequest.php
+++ /dev/null
@@ -1,143 +0,0 @@
-google.cloud.sql.v1.SqlBackupRunsDeleteRequest
- */
-class SqlBackupRunsDeleteRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The ID of the backup run to delete. To find a backup run ID, use the
- * [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/backupRuns/list)
- * method.
- *
- * Generated from protobuf field int64 id = 1;
- */
- protected $id = 0;
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $id
- * The ID of the backup run to delete. To find a backup run ID, use the
- * [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/backupRuns/list)
- * method.
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlBackupRuns::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The ID of the backup run to delete. To find a backup run ID, use the
- * [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/backupRuns/list)
- * method.
- *
- * Generated from protobuf field int64 id = 1;
- * @return int|string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * The ID of the backup run to delete. To find a backup run ID, use the
- * [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/backupRuns/list)
- * method.
- *
- * Generated from protobuf field int64 id = 1;
- * @param int|string $var
- * @return $this
- */
- public function setId($var)
- {
- GPBUtil::checkInt64($var);
- $this->id = $var;
-
- return $this;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunsGetRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunsGetRequest.php
deleted file mode 100644
index eb84e91a6924..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunsGetRequest.php
+++ /dev/null
@@ -1,135 +0,0 @@
-google.cloud.sql.v1.SqlBackupRunsGetRequest
- */
-class SqlBackupRunsGetRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The ID of this backup run.
- *
- * Generated from protobuf field int64 id = 1;
- */
- protected $id = 0;
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $id
- * The ID of this backup run.
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlBackupRuns::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The ID of this backup run.
- *
- * Generated from protobuf field int64 id = 1;
- * @return int|string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * The ID of this backup run.
- *
- * Generated from protobuf field int64 id = 1;
- * @param int|string $var
- * @return $this
- */
- public function setId($var)
- {
- GPBUtil::checkInt64($var);
- $this->id = $var;
-
- return $this;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunsInsertRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunsInsertRequest.php
deleted file mode 100644
index a65e8e21c3d4..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunsInsertRequest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-google.cloud.sql.v1.SqlBackupRunsInsertRequest
- */
-class SqlBackupRunsInsertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.BackupRun body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\BackupRun $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlBackupRuns::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.BackupRun body = 100;
- * @return \Google\Cloud\Sql\V1\BackupRun|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.BackupRun body = 100;
- * @param \Google\Cloud\Sql\V1\BackupRun $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\BackupRun::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunsListRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunsListRequest.php
deleted file mode 100644
index b674e837dd0c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlBackupRunsListRequest.php
+++ /dev/null
@@ -1,177 +0,0 @@
-google.cloud.sql.v1.SqlBackupRunsListRequest
- */
-class SqlBackupRunsListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID, or "-" for all instances. This does not include
- * the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Maximum number of backup runs per response.
- *
- * Generated from protobuf field int32 max_results = 2;
- */
- protected $max_results = 0;
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- */
- protected $page_token = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID, or "-" for all instances. This does not include
- * the project ID.
- * @type int $max_results
- * Maximum number of backup runs per response.
- * @type string $page_token
- * A previously-returned page token representing part of the larger set of
- * results to view.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlBackupRuns::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID, or "-" for all instances. This does not include
- * the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID, or "-" for all instances. This does not include
- * the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Maximum number of backup runs per response.
- *
- * Generated from protobuf field int32 max_results = 2;
- * @return int
- */
- public function getMaxResults()
- {
- return $this->max_results;
- }
-
- /**
- * Maximum number of backup runs per response.
- *
- * Generated from protobuf field int32 max_results = 2;
- * @param int $var
- * @return $this
- */
- public function setMaxResults($var)
- {
- GPBUtil::checkInt32($var);
- $this->max_results = $var;
-
- return $this;
- }
-
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDataDiskType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDataDiskType.php
deleted file mode 100644
index e1ac52150431..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDataDiskType.php
+++ /dev/null
@@ -1,69 +0,0 @@
-google.cloud.sql.v1.SqlDataDiskType
- */
-class SqlDataDiskType
-{
- /**
- * This is an unknown data disk type.
- *
- * Generated from protobuf enum SQL_DATA_DISK_TYPE_UNSPECIFIED = 0;
- */
- const SQL_DATA_DISK_TYPE_UNSPECIFIED = 0;
- /**
- * An SSD data disk.
- *
- * Generated from protobuf enum PD_SSD = 1;
- */
- const PD_SSD = 1;
- /**
- * An HDD data disk.
- *
- * Generated from protobuf enum PD_HDD = 2;
- */
- const PD_HDD = 2;
- /**
- * This field is deprecated and will be removed from a future version of the
- * API.
- *
- * Generated from protobuf enum OBSOLETE_LOCAL_SSD = 3 [deprecated = true];
- */
- const OBSOLETE_LOCAL_SSD = 3;
-
- private static $valueToName = [
- self::SQL_DATA_DISK_TYPE_UNSPECIFIED => 'SQL_DATA_DISK_TYPE_UNSPECIFIED',
- self::PD_SSD => 'PD_SSD',
- self::PD_HDD => 'PD_HDD',
- self::OBSOLETE_LOCAL_SSD => 'OBSOLETE_LOCAL_SSD',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabaseVersion.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabaseVersion.php
deleted file mode 100644
index 98b70d4298d9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabaseVersion.php
+++ /dev/null
@@ -1,327 +0,0 @@
-google.cloud.sql.v1.SqlDatabaseVersion
- */
-class SqlDatabaseVersion
-{
- /**
- * This is an unknown database version.
- *
- * Generated from protobuf enum SQL_DATABASE_VERSION_UNSPECIFIED = 0;
- */
- const SQL_DATABASE_VERSION_UNSPECIFIED = 0;
- /**
- * The database version is MySQL 5.1.
- *
- * Generated from protobuf enum MYSQL_5_1 = 2 [deprecated = true];
- */
- const MYSQL_5_1 = 2;
- /**
- * The database version is MySQL 5.5.
- *
- * Generated from protobuf enum MYSQL_5_5 = 3 [deprecated = true];
- */
- const MYSQL_5_5 = 3;
- /**
- * The database version is MySQL 5.6.
- *
- * Generated from protobuf enum MYSQL_5_6 = 5;
- */
- const MYSQL_5_6 = 5;
- /**
- * The database version is MySQL 5.7.
- *
- * Generated from protobuf enum MYSQL_5_7 = 6;
- */
- const MYSQL_5_7 = 6;
- /**
- * The database version is SQL Server 2017 Standard.
- *
- * Generated from protobuf enum SQLSERVER_2017_STANDARD = 11;
- */
- const SQLSERVER_2017_STANDARD = 11;
- /**
- * The database version is SQL Server 2017 Enterprise.
- *
- * Generated from protobuf enum SQLSERVER_2017_ENTERPRISE = 14;
- */
- const SQLSERVER_2017_ENTERPRISE = 14;
- /**
- * The database version is SQL Server 2017 Express.
- *
- * Generated from protobuf enum SQLSERVER_2017_EXPRESS = 15;
- */
- const SQLSERVER_2017_EXPRESS = 15;
- /**
- * The database version is SQL Server 2017 Web.
- *
- * Generated from protobuf enum SQLSERVER_2017_WEB = 16;
- */
- const SQLSERVER_2017_WEB = 16;
- /**
- * The database version is PostgreSQL 9.6.
- *
- * Generated from protobuf enum POSTGRES_9_6 = 9;
- */
- const POSTGRES_9_6 = 9;
- /**
- * The database version is PostgreSQL 10.
- *
- * Generated from protobuf enum POSTGRES_10 = 18;
- */
- const POSTGRES_10 = 18;
- /**
- * The database version is PostgreSQL 11.
- *
- * Generated from protobuf enum POSTGRES_11 = 10;
- */
- const POSTGRES_11 = 10;
- /**
- * The database version is PostgreSQL 12.
- *
- * Generated from protobuf enum POSTGRES_12 = 19;
- */
- const POSTGRES_12 = 19;
- /**
- * The database version is PostgreSQL 13.
- *
- * Generated from protobuf enum POSTGRES_13 = 23;
- */
- const POSTGRES_13 = 23;
- /**
- * The database version is PostgreSQL 14.
- *
- * Generated from protobuf enum POSTGRES_14 = 110;
- */
- const POSTGRES_14 = 110;
- /**
- * The database version is PostgreSQL 15.
- *
- * Generated from protobuf enum POSTGRES_15 = 172;
- */
- const POSTGRES_15 = 172;
- /**
- * The database version is MySQL 8.
- *
- * Generated from protobuf enum MYSQL_8_0 = 20;
- */
- const MYSQL_8_0 = 20;
- /**
- * The database major version is MySQL 8.0 and the minor version is 18.
- *
- * Generated from protobuf enum MYSQL_8_0_18 = 41;
- */
- const MYSQL_8_0_18 = 41;
- /**
- * The database major version is MySQL 8.0 and the minor version is 26.
- *
- * Generated from protobuf enum MYSQL_8_0_26 = 85;
- */
- const MYSQL_8_0_26 = 85;
- /**
- * The database major version is MySQL 8.0 and the minor version is 27.
- *
- * Generated from protobuf enum MYSQL_8_0_27 = 111;
- */
- const MYSQL_8_0_27 = 111;
- /**
- * The database major version is MySQL 8.0 and the minor version is 28.
- *
- * Generated from protobuf enum MYSQL_8_0_28 = 132;
- */
- const MYSQL_8_0_28 = 132;
- /**
- * The database major version is MySQL 8.0 and the minor version is 29.
- *
- * Generated from protobuf enum MYSQL_8_0_29 = 148 [deprecated = true];
- */
- const MYSQL_8_0_29 = 148;
- /**
- * The database major version is MySQL 8.0 and the minor version is 30.
- *
- * Generated from protobuf enum MYSQL_8_0_30 = 174;
- */
- const MYSQL_8_0_30 = 174;
- /**
- * The database major version is MySQL 8.0 and the minor version is 31.
- *
- * Generated from protobuf enum MYSQL_8_0_31 = 197;
- */
- const MYSQL_8_0_31 = 197;
- /**
- * The database major version is MySQL 8.0 and the minor version is 32.
- *
- * Generated from protobuf enum MYSQL_8_0_32 = 213;
- */
- const MYSQL_8_0_32 = 213;
- /**
- * The database major version is MySQL 8.0 and the minor version is 33.
- *
- * Generated from protobuf enum MYSQL_8_0_33 = 238;
- */
- const MYSQL_8_0_33 = 238;
- /**
- * The database major version is MySQL 8.0 and the minor version is 34.
- *
- * Generated from protobuf enum MYSQL_8_0_34 = 239;
- */
- const MYSQL_8_0_34 = 239;
- /**
- * The database major version is MySQL 8.0 and the minor version is 35.
- *
- * Generated from protobuf enum MYSQL_8_0_35 = 240;
- */
- const MYSQL_8_0_35 = 240;
- /**
- * The database major version is MySQL 8.0 and the minor version is 36.
- *
- * Generated from protobuf enum MYSQL_8_0_36 = 241;
- */
- const MYSQL_8_0_36 = 241;
- /**
- * The database major version is MySQL 8.0 and the minor version is 37.
- *
- * Generated from protobuf enum MYSQL_8_0_37 = 355;
- */
- const MYSQL_8_0_37 = 355;
- /**
- * The database major version is MySQL 8.0 and the minor version is 38.
- *
- * Generated from protobuf enum MYSQL_8_0_38 = 356;
- */
- const MYSQL_8_0_38 = 356;
- /**
- * The database major version is MySQL 8.0 and the minor version is 39.
- *
- * Generated from protobuf enum MYSQL_8_0_39 = 357;
- */
- const MYSQL_8_0_39 = 357;
- /**
- * The database major version is MySQL 8.0 and the minor version is 40.
- *
- * Generated from protobuf enum MYSQL_8_0_40 = 358;
- */
- const MYSQL_8_0_40 = 358;
- /**
- * The database version is SQL Server 2019 Standard.
- *
- * Generated from protobuf enum SQLSERVER_2019_STANDARD = 26;
- */
- const SQLSERVER_2019_STANDARD = 26;
- /**
- * The database version is SQL Server 2019 Enterprise.
- *
- * Generated from protobuf enum SQLSERVER_2019_ENTERPRISE = 27;
- */
- const SQLSERVER_2019_ENTERPRISE = 27;
- /**
- * The database version is SQL Server 2019 Express.
- *
- * Generated from protobuf enum SQLSERVER_2019_EXPRESS = 28;
- */
- const SQLSERVER_2019_EXPRESS = 28;
- /**
- * The database version is SQL Server 2019 Web.
- *
- * Generated from protobuf enum SQLSERVER_2019_WEB = 29;
- */
- const SQLSERVER_2019_WEB = 29;
- /**
- * The database version is SQL Server 2022 Standard.
- *
- * Generated from protobuf enum SQLSERVER_2022_STANDARD = 199;
- */
- const SQLSERVER_2022_STANDARD = 199;
- /**
- * The database version is SQL Server 2022 Enterprise.
- *
- * Generated from protobuf enum SQLSERVER_2022_ENTERPRISE = 200;
- */
- const SQLSERVER_2022_ENTERPRISE = 200;
- /**
- * The database version is SQL Server 2022 Express.
- *
- * Generated from protobuf enum SQLSERVER_2022_EXPRESS = 201;
- */
- const SQLSERVER_2022_EXPRESS = 201;
- /**
- * The database version is SQL Server 2022 Web.
- *
- * Generated from protobuf enum SQLSERVER_2022_WEB = 202;
- */
- const SQLSERVER_2022_WEB = 202;
-
- private static $valueToName = [
- self::SQL_DATABASE_VERSION_UNSPECIFIED => 'SQL_DATABASE_VERSION_UNSPECIFIED',
- self::MYSQL_5_1 => 'MYSQL_5_1',
- self::MYSQL_5_5 => 'MYSQL_5_5',
- self::MYSQL_5_6 => 'MYSQL_5_6',
- self::MYSQL_5_7 => 'MYSQL_5_7',
- self::SQLSERVER_2017_STANDARD => 'SQLSERVER_2017_STANDARD',
- self::SQLSERVER_2017_ENTERPRISE => 'SQLSERVER_2017_ENTERPRISE',
- self::SQLSERVER_2017_EXPRESS => 'SQLSERVER_2017_EXPRESS',
- self::SQLSERVER_2017_WEB => 'SQLSERVER_2017_WEB',
- self::POSTGRES_9_6 => 'POSTGRES_9_6',
- self::POSTGRES_10 => 'POSTGRES_10',
- self::POSTGRES_11 => 'POSTGRES_11',
- self::POSTGRES_12 => 'POSTGRES_12',
- self::POSTGRES_13 => 'POSTGRES_13',
- self::POSTGRES_14 => 'POSTGRES_14',
- self::POSTGRES_15 => 'POSTGRES_15',
- self::MYSQL_8_0 => 'MYSQL_8_0',
- self::MYSQL_8_0_18 => 'MYSQL_8_0_18',
- self::MYSQL_8_0_26 => 'MYSQL_8_0_26',
- self::MYSQL_8_0_27 => 'MYSQL_8_0_27',
- self::MYSQL_8_0_28 => 'MYSQL_8_0_28',
- self::MYSQL_8_0_29 => 'MYSQL_8_0_29',
- self::MYSQL_8_0_30 => 'MYSQL_8_0_30',
- self::MYSQL_8_0_31 => 'MYSQL_8_0_31',
- self::MYSQL_8_0_32 => 'MYSQL_8_0_32',
- self::MYSQL_8_0_33 => 'MYSQL_8_0_33',
- self::MYSQL_8_0_34 => 'MYSQL_8_0_34',
- self::MYSQL_8_0_35 => 'MYSQL_8_0_35',
- self::MYSQL_8_0_36 => 'MYSQL_8_0_36',
- self::MYSQL_8_0_37 => 'MYSQL_8_0_37',
- self::MYSQL_8_0_38 => 'MYSQL_8_0_38',
- self::MYSQL_8_0_39 => 'MYSQL_8_0_39',
- self::MYSQL_8_0_40 => 'MYSQL_8_0_40',
- self::SQLSERVER_2019_STANDARD => 'SQLSERVER_2019_STANDARD',
- self::SQLSERVER_2019_ENTERPRISE => 'SQLSERVER_2019_ENTERPRISE',
- self::SQLSERVER_2019_EXPRESS => 'SQLSERVER_2019_EXPRESS',
- self::SQLSERVER_2019_WEB => 'SQLSERVER_2019_WEB',
- self::SQLSERVER_2022_STANDARD => 'SQLSERVER_2022_STANDARD',
- self::SQLSERVER_2022_ENTERPRISE => 'SQLSERVER_2022_ENTERPRISE',
- self::SQLSERVER_2022_EXPRESS => 'SQLSERVER_2022_EXPRESS',
- self::SQLSERVER_2022_WEB => 'SQLSERVER_2022_WEB',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesDeleteRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesDeleteRequest.php
deleted file mode 100644
index 503872be9d28..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesDeleteRequest.php
+++ /dev/null
@@ -1,135 +0,0 @@
-google.cloud.sql.v1.SqlDatabasesDeleteRequest
- */
-class SqlDatabasesDeleteRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Name of the database to be deleted in the instance.
- *
- * Generated from protobuf field string database = 1;
- */
- protected $database = '';
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $database
- * Name of the database to be deleted in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlDatabases::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Name of the database to be deleted in the instance.
- *
- * Generated from protobuf field string database = 1;
- * @return string
- */
- public function getDatabase()
- {
- return $this->database;
- }
-
- /**
- * Name of the database to be deleted in the instance.
- *
- * Generated from protobuf field string database = 1;
- * @param string $var
- * @return $this
- */
- public function setDatabase($var)
- {
- GPBUtil::checkString($var, True);
- $this->database = $var;
-
- return $this;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesGetRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesGetRequest.php
deleted file mode 100644
index b208cae08bf2..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesGetRequest.php
+++ /dev/null
@@ -1,135 +0,0 @@
-google.cloud.sql.v1.SqlDatabasesGetRequest
- */
-class SqlDatabasesGetRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Name of the database in the instance.
- *
- * Generated from protobuf field string database = 1;
- */
- protected $database = '';
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $database
- * Name of the database in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlDatabases::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Name of the database in the instance.
- *
- * Generated from protobuf field string database = 1;
- * @return string
- */
- public function getDatabase()
- {
- return $this->database;
- }
-
- /**
- * Name of the database in the instance.
- *
- * Generated from protobuf field string database = 1;
- * @param string $var
- * @return $this
- */
- public function setDatabase($var)
- {
- GPBUtil::checkString($var, True);
- $this->database = $var;
-
- return $this;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesInsertRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesInsertRequest.php
deleted file mode 100644
index c2537d9d5edc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesInsertRequest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-google.cloud.sql.v1.SqlDatabasesInsertRequest
- */
-class SqlDatabasesInsertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.Database body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\Database $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlDatabases::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.Database body = 100;
- * @return \Google\Cloud\Sql\V1\Database|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.Database body = 100;
- * @param \Google\Cloud\Sql\V1\Database $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\Database::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesListRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesListRequest.php
deleted file mode 100644
index e9163885e1c2..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesListRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlDatabasesListRequest
- */
-class SqlDatabasesListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlDatabases::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesUpdateRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesUpdateRequest.php
deleted file mode 100644
index c8f2042a8b84..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlDatabasesUpdateRequest.php
+++ /dev/null
@@ -1,172 +0,0 @@
-google.cloud.sql.v1.SqlDatabasesUpdateRequest
- */
-class SqlDatabasesUpdateRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Name of the database to be updated in the instance.
- *
- * Generated from protobuf field string database = 1;
- */
- protected $database = '';
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.Database body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $database
- * Name of the database to be updated in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\Database $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlDatabases::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Name of the database to be updated in the instance.
- *
- * Generated from protobuf field string database = 1;
- * @return string
- */
- public function getDatabase()
- {
- return $this->database;
- }
-
- /**
- * Name of the database to be updated in the instance.
- *
- * Generated from protobuf field string database = 1;
- * @param string $var
- * @return $this
- */
- public function setDatabase($var)
- {
- GPBUtil::checkString($var, True);
- $this->database = $var;
-
- return $this;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.Database body = 100;
- * @return \Google\Cloud\Sql\V1\Database|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.Database body = 100;
- * @param \Google\Cloud\Sql\V1\Database $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\Database::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlExternalSyncSettingError.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlExternalSyncSettingError.php
deleted file mode 100644
index 2bfbb89ddbc3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlExternalSyncSettingError.php
+++ /dev/null
@@ -1,139 +0,0 @@
-google.cloud.sql.v1.SqlExternalSyncSettingError
- */
-class SqlExternalSyncSettingError extends \Google\Protobuf\Internal\Message
-{
- /**
- * Can be `sql#externalSyncSettingError` or
- * `sql#externalSyncSettingWarning`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Identifies the specific error that occurred.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlExternalSyncSettingError.SqlExternalSyncSettingErrorType type = 2;
- */
- protected $type = 0;
- /**
- * Additional information about the error encountered.
- *
- * Generated from protobuf field string detail = 3;
- */
- protected $detail = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * Can be `sql#externalSyncSettingError` or
- * `sql#externalSyncSettingWarning`.
- * @type int $type
- * Identifies the specific error that occurred.
- * @type string $detail
- * Additional information about the error encountered.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Can be `sql#externalSyncSettingError` or
- * `sql#externalSyncSettingWarning`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * Can be `sql#externalSyncSettingError` or
- * `sql#externalSyncSettingWarning`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Identifies the specific error that occurred.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlExternalSyncSettingError.SqlExternalSyncSettingErrorType type = 2;
- * @return int
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * Identifies the specific error that occurred.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlExternalSyncSettingError.SqlExternalSyncSettingErrorType type = 2;
- * @param int $var
- * @return $this
- */
- public function setType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlExternalSyncSettingError\SqlExternalSyncSettingErrorType::class);
- $this->type = $var;
-
- return $this;
- }
-
- /**
- * Additional information about the error encountered.
- *
- * Generated from protobuf field string detail = 3;
- * @return string
- */
- public function getDetail()
- {
- return $this->detail;
- }
-
- /**
- * Additional information about the error encountered.
- *
- * Generated from protobuf field string detail = 3;
- * @param string $var
- * @return $this
- */
- public function setDetail($var)
- {
- GPBUtil::checkString($var, True);
- $this->detail = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php
deleted file mode 100644
index fee8f53d3200..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php
+++ /dev/null
@@ -1,360 +0,0 @@
-google.cloud.sql.v1.SqlExternalSyncSettingError.SqlExternalSyncSettingErrorType
- */
-class SqlExternalSyncSettingErrorType
-{
- /**
- * Generated from protobuf enum SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED = 0;
- */
- const SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED = 0;
- /**
- * Generated from protobuf enum CONNECTION_FAILURE = 1;
- */
- const CONNECTION_FAILURE = 1;
- /**
- * Generated from protobuf enum BINLOG_NOT_ENABLED = 2;
- */
- const BINLOG_NOT_ENABLED = 2;
- /**
- * Generated from protobuf enum INCOMPATIBLE_DATABASE_VERSION = 3;
- */
- const INCOMPATIBLE_DATABASE_VERSION = 3;
- /**
- * Generated from protobuf enum REPLICA_ALREADY_SETUP = 4;
- */
- const REPLICA_ALREADY_SETUP = 4;
- /**
- * The replication user is missing privileges that are required.
- *
- * Generated from protobuf enum INSUFFICIENT_PRIVILEGE = 5;
- */
- const INSUFFICIENT_PRIVILEGE = 5;
- /**
- * Unsupported migration type.
- *
- * Generated from protobuf enum UNSUPPORTED_MIGRATION_TYPE = 6;
- */
- const UNSUPPORTED_MIGRATION_TYPE = 6;
- /**
- * No pglogical extension installed on databases, applicable for postgres.
- *
- * Generated from protobuf enum NO_PGLOGICAL_INSTALLED = 7;
- */
- const NO_PGLOGICAL_INSTALLED = 7;
- /**
- * pglogical node already exists on databases, applicable for postgres.
- *
- * Generated from protobuf enum PGLOGICAL_NODE_ALREADY_EXISTS = 8;
- */
- const PGLOGICAL_NODE_ALREADY_EXISTS = 8;
- /**
- * The value of parameter wal_level is not set to logical.
- *
- * Generated from protobuf enum INVALID_WAL_LEVEL = 9;
- */
- const INVALID_WAL_LEVEL = 9;
- /**
- * The value of parameter shared_preload_libraries does not include
- * pglogical.
- *
- * Generated from protobuf enum INVALID_SHARED_PRELOAD_LIBRARY = 10;
- */
- const INVALID_SHARED_PRELOAD_LIBRARY = 10;
- /**
- * The value of parameter max_replication_slots is not sufficient.
- *
- * Generated from protobuf enum INSUFFICIENT_MAX_REPLICATION_SLOTS = 11;
- */
- const INSUFFICIENT_MAX_REPLICATION_SLOTS = 11;
- /**
- * The value of parameter max_wal_senders is not sufficient.
- *
- * Generated from protobuf enum INSUFFICIENT_MAX_WAL_SENDERS = 12;
- */
- const INSUFFICIENT_MAX_WAL_SENDERS = 12;
- /**
- * The value of parameter max_worker_processes is not sufficient.
- *
- * Generated from protobuf enum INSUFFICIENT_MAX_WORKER_PROCESSES = 13;
- */
- const INSUFFICIENT_MAX_WORKER_PROCESSES = 13;
- /**
- * Extensions installed are either not supported or having unsupported
- * versions.
- *
- * Generated from protobuf enum UNSUPPORTED_EXTENSIONS = 14;
- */
- const UNSUPPORTED_EXTENSIONS = 14;
- /**
- * The value of parameter rds.logical_replication is not set to 1.
- *
- * Generated from protobuf enum INVALID_RDS_LOGICAL_REPLICATION = 15;
- */
- const INVALID_RDS_LOGICAL_REPLICATION = 15;
- /**
- * The primary instance logging setup doesn't allow EM sync.
- *
- * Generated from protobuf enum INVALID_LOGGING_SETUP = 16;
- */
- const INVALID_LOGGING_SETUP = 16;
- /**
- * The primary instance database parameter setup doesn't allow EM sync.
- *
- * Generated from protobuf enum INVALID_DB_PARAM = 17;
- */
- const INVALID_DB_PARAM = 17;
- /**
- * The gtid_mode is not supported, applicable for MySQL.
- *
- * Generated from protobuf enum UNSUPPORTED_GTID_MODE = 18;
- */
- const UNSUPPORTED_GTID_MODE = 18;
- /**
- * SQL Server Agent is not running.
- *
- * Generated from protobuf enum SQLSERVER_AGENT_NOT_RUNNING = 19;
- */
- const SQLSERVER_AGENT_NOT_RUNNING = 19;
- /**
- * The table definition is not support due to missing primary key or replica
- * identity, applicable for postgres.
- *
- * Generated from protobuf enum UNSUPPORTED_TABLE_DEFINITION = 20;
- */
- const UNSUPPORTED_TABLE_DEFINITION = 20;
- /**
- * The customer has a definer that will break EM setup.
- *
- * Generated from protobuf enum UNSUPPORTED_DEFINER = 21;
- */
- const UNSUPPORTED_DEFINER = 21;
- /**
- * SQL Server @@SERVERNAME does not match actual host name.
- *
- * Generated from protobuf enum SQLSERVER_SERVERNAME_MISMATCH = 22;
- */
- const SQLSERVER_SERVERNAME_MISMATCH = 22;
- /**
- * The primary instance has been setup and will fail the setup.
- *
- * Generated from protobuf enum PRIMARY_ALREADY_SETUP = 23;
- */
- const PRIMARY_ALREADY_SETUP = 23;
- /**
- * The primary instance has unsupported binary log format.
- *
- * Generated from protobuf enum UNSUPPORTED_BINLOG_FORMAT = 24;
- */
- const UNSUPPORTED_BINLOG_FORMAT = 24;
- /**
- * The primary instance's binary log retention setting.
- *
- * Generated from protobuf enum BINLOG_RETENTION_SETTING = 25;
- */
- const BINLOG_RETENTION_SETTING = 25;
- /**
- * The primary instance has tables with unsupported storage engine.
- *
- * Generated from protobuf enum UNSUPPORTED_STORAGE_ENGINE = 26;
- */
- const UNSUPPORTED_STORAGE_ENGINE = 26;
- /**
- * Source has tables with limited support
- * eg: PostgreSQL tables without primary keys.
- *
- * Generated from protobuf enum LIMITED_SUPPORT_TABLES = 27;
- */
- const LIMITED_SUPPORT_TABLES = 27;
- /**
- * The replica instance contains existing data.
- *
- * Generated from protobuf enum EXISTING_DATA_IN_REPLICA = 28;
- */
- const EXISTING_DATA_IN_REPLICA = 28;
- /**
- * The replication user is missing privileges that are optional.
- *
- * Generated from protobuf enum MISSING_OPTIONAL_PRIVILEGES = 29;
- */
- const MISSING_OPTIONAL_PRIVILEGES = 29;
- /**
- * Additional BACKUP_ADMIN privilege is granted to the replication user
- * which may lock source MySQL 8 instance for DDLs during initial sync.
- *
- * Generated from protobuf enum RISKY_BACKUP_ADMIN_PRIVILEGE = 30;
- */
- const RISKY_BACKUP_ADMIN_PRIVILEGE = 30;
- /**
- * The Cloud Storage bucket is missing necessary permissions.
- *
- * Generated from protobuf enum INSUFFICIENT_GCS_PERMISSIONS = 31;
- */
- const INSUFFICIENT_GCS_PERMISSIONS = 31;
- /**
- * The Cloud Storage bucket has an error in the file or contains invalid
- * file information.
- *
- * Generated from protobuf enum INVALID_FILE_INFO = 32;
- */
- const INVALID_FILE_INFO = 32;
- /**
- * The source instance has unsupported database settings for migration.
- *
- * Generated from protobuf enum UNSUPPORTED_DATABASE_SETTINGS = 33;
- */
- const UNSUPPORTED_DATABASE_SETTINGS = 33;
- /**
- * The replication user is missing parallel import specific privileges.
- * (e.g. LOCK TABLES) for MySQL.
- *
- * Generated from protobuf enum MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 34;
- */
- const MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 34;
- /**
- * The global variable local_infile is off on external server replica.
- *
- * Generated from protobuf enum LOCAL_INFILE_OFF = 35;
- */
- const LOCAL_INFILE_OFF = 35;
- /**
- * This code instructs customers to turn on point-in-time recovery manually
- * for the instance after promoting the Cloud SQL for PostgreSQL instance.
- *
- * Generated from protobuf enum TURN_ON_PITR_AFTER_PROMOTE = 36;
- */
- const TURN_ON_PITR_AFTER_PROMOTE = 36;
- /**
- * The minor version of replica database is incompatible with the source.
- *
- * Generated from protobuf enum INCOMPATIBLE_DATABASE_MINOR_VERSION = 37;
- */
- const INCOMPATIBLE_DATABASE_MINOR_VERSION = 37;
- /**
- * This warning message indicates that Cloud SQL uses the maximum number of
- * subscriptions to migrate data from the source to the destination.
- *
- * Generated from protobuf enum SOURCE_MAX_SUBSCRIPTIONS = 38;
- */
- const SOURCE_MAX_SUBSCRIPTIONS = 38;
- /**
- * Unable to verify definers on the source for MySQL.
- *
- * Generated from protobuf enum UNABLE_TO_VERIFY_DEFINERS = 39;
- */
- const UNABLE_TO_VERIFY_DEFINERS = 39;
- /**
- * If a time out occurs while the subscription counts are calculated, then
- * this value is set to 1. Otherwise, this value is set to 2.
- *
- * Generated from protobuf enum SUBSCRIPTION_CALCULATION_STATUS = 40;
- */
- const SUBSCRIPTION_CALCULATION_STATUS = 40;
- /**
- * Count of subscriptions needed to sync source data for PostgreSQL
- * database.
- *
- * Generated from protobuf enum PG_SUBSCRIPTION_COUNT = 41;
- */
- const PG_SUBSCRIPTION_COUNT = 41;
- /**
- * Final parallel level that is used to do migration.
- *
- * Generated from protobuf enum PG_SYNC_PARALLEL_LEVEL = 42;
- */
- const PG_SYNC_PARALLEL_LEVEL = 42;
- /**
- * The disk size of the replica instance is smaller than the data size of
- * the source instance.
- *
- * Generated from protobuf enum INSUFFICIENT_DISK_SIZE = 43;
- */
- const INSUFFICIENT_DISK_SIZE = 43;
- /**
- * The data size of the source instance is greater than 1 TB, the number of
- * cores of the replica instance is less than 8, and the memory of the
- * replica is less than 32 GB.
- *
- * Generated from protobuf enum INSUFFICIENT_MACHINE_TIER = 44;
- */
- const INSUFFICIENT_MACHINE_TIER = 44;
-
- private static $valueToName = [
- self::SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED => 'SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED',
- self::CONNECTION_FAILURE => 'CONNECTION_FAILURE',
- self::BINLOG_NOT_ENABLED => 'BINLOG_NOT_ENABLED',
- self::INCOMPATIBLE_DATABASE_VERSION => 'INCOMPATIBLE_DATABASE_VERSION',
- self::REPLICA_ALREADY_SETUP => 'REPLICA_ALREADY_SETUP',
- self::INSUFFICIENT_PRIVILEGE => 'INSUFFICIENT_PRIVILEGE',
- self::UNSUPPORTED_MIGRATION_TYPE => 'UNSUPPORTED_MIGRATION_TYPE',
- self::NO_PGLOGICAL_INSTALLED => 'NO_PGLOGICAL_INSTALLED',
- self::PGLOGICAL_NODE_ALREADY_EXISTS => 'PGLOGICAL_NODE_ALREADY_EXISTS',
- self::INVALID_WAL_LEVEL => 'INVALID_WAL_LEVEL',
- self::INVALID_SHARED_PRELOAD_LIBRARY => 'INVALID_SHARED_PRELOAD_LIBRARY',
- self::INSUFFICIENT_MAX_REPLICATION_SLOTS => 'INSUFFICIENT_MAX_REPLICATION_SLOTS',
- self::INSUFFICIENT_MAX_WAL_SENDERS => 'INSUFFICIENT_MAX_WAL_SENDERS',
- self::INSUFFICIENT_MAX_WORKER_PROCESSES => 'INSUFFICIENT_MAX_WORKER_PROCESSES',
- self::UNSUPPORTED_EXTENSIONS => 'UNSUPPORTED_EXTENSIONS',
- self::INVALID_RDS_LOGICAL_REPLICATION => 'INVALID_RDS_LOGICAL_REPLICATION',
- self::INVALID_LOGGING_SETUP => 'INVALID_LOGGING_SETUP',
- self::INVALID_DB_PARAM => 'INVALID_DB_PARAM',
- self::UNSUPPORTED_GTID_MODE => 'UNSUPPORTED_GTID_MODE',
- self::SQLSERVER_AGENT_NOT_RUNNING => 'SQLSERVER_AGENT_NOT_RUNNING',
- self::UNSUPPORTED_TABLE_DEFINITION => 'UNSUPPORTED_TABLE_DEFINITION',
- self::UNSUPPORTED_DEFINER => 'UNSUPPORTED_DEFINER',
- self::SQLSERVER_SERVERNAME_MISMATCH => 'SQLSERVER_SERVERNAME_MISMATCH',
- self::PRIMARY_ALREADY_SETUP => 'PRIMARY_ALREADY_SETUP',
- self::UNSUPPORTED_BINLOG_FORMAT => 'UNSUPPORTED_BINLOG_FORMAT',
- self::BINLOG_RETENTION_SETTING => 'BINLOG_RETENTION_SETTING',
- self::UNSUPPORTED_STORAGE_ENGINE => 'UNSUPPORTED_STORAGE_ENGINE',
- self::LIMITED_SUPPORT_TABLES => 'LIMITED_SUPPORT_TABLES',
- self::EXISTING_DATA_IN_REPLICA => 'EXISTING_DATA_IN_REPLICA',
- self::MISSING_OPTIONAL_PRIVILEGES => 'MISSING_OPTIONAL_PRIVILEGES',
- self::RISKY_BACKUP_ADMIN_PRIVILEGE => 'RISKY_BACKUP_ADMIN_PRIVILEGE',
- self::INSUFFICIENT_GCS_PERMISSIONS => 'INSUFFICIENT_GCS_PERMISSIONS',
- self::INVALID_FILE_INFO => 'INVALID_FILE_INFO',
- self::UNSUPPORTED_DATABASE_SETTINGS => 'UNSUPPORTED_DATABASE_SETTINGS',
- self::MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE => 'MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE',
- self::LOCAL_INFILE_OFF => 'LOCAL_INFILE_OFF',
- self::TURN_ON_PITR_AFTER_PROMOTE => 'TURN_ON_PITR_AFTER_PROMOTE',
- self::INCOMPATIBLE_DATABASE_MINOR_VERSION => 'INCOMPATIBLE_DATABASE_MINOR_VERSION',
- self::SOURCE_MAX_SUBSCRIPTIONS => 'SOURCE_MAX_SUBSCRIPTIONS',
- self::UNABLE_TO_VERIFY_DEFINERS => 'UNABLE_TO_VERIFY_DEFINERS',
- self::SUBSCRIPTION_CALCULATION_STATUS => 'SUBSCRIPTION_CALCULATION_STATUS',
- self::PG_SUBSCRIPTION_COUNT => 'PG_SUBSCRIPTION_COUNT',
- self::PG_SYNC_PARALLEL_LEVEL => 'PG_SYNC_PARALLEL_LEVEL',
- self::INSUFFICIENT_DISK_SIZE => 'INSUFFICIENT_DISK_SIZE',
- self::INSUFFICIENT_MACHINE_TIER => 'INSUFFICIENT_MACHINE_TIER',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlExternalSyncSettingErrorType::class, \Google\Cloud\Sql\V1\SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlFileType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlFileType.php
deleted file mode 100644
index 724da57f17ba..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlFileType.php
+++ /dev/null
@@ -1,64 +0,0 @@
-google.cloud.sql.v1.SqlFileType
- */
-class SqlFileType
-{
- /**
- * Unknown file type.
- *
- * Generated from protobuf enum SQL_FILE_TYPE_UNSPECIFIED = 0;
- */
- const SQL_FILE_TYPE_UNSPECIFIED = 0;
- /**
- * File containing SQL statements.
- *
- * Generated from protobuf enum SQL = 1;
- */
- const SQL = 1;
- /**
- * File in CSV format.
- *
- * Generated from protobuf enum CSV = 2;
- */
- const CSV = 2;
- /**
- * Generated from protobuf enum BAK = 4;
- */
- const BAK = 4;
-
- private static $valueToName = [
- self::SQL_FILE_TYPE_UNSPECIFIED => 'SQL_FILE_TYPE_UNSPECIFIED',
- self::SQL => 'SQL',
- self::CSV => 'CSV',
- self::BAK => 'BAK',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlFlagType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlFlagType.php
deleted file mode 100644
index 7c6f2f5685a9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlFlagType.php
+++ /dev/null
@@ -1,95 +0,0 @@
-google.cloud.sql.v1.SqlFlagType
- */
-class SqlFlagType
-{
- /**
- * This is an unknown flag type.
- *
- * Generated from protobuf enum SQL_FLAG_TYPE_UNSPECIFIED = 0;
- */
- const SQL_FLAG_TYPE_UNSPECIFIED = 0;
- /**
- * Boolean type flag.
- *
- * Generated from protobuf enum BOOLEAN = 1;
- */
- const BOOLEAN = 1;
- /**
- * String type flag.
- *
- * Generated from protobuf enum STRING = 2;
- */
- const STRING = 2;
- /**
- * Integer type flag.
- *
- * Generated from protobuf enum INTEGER = 3;
- */
- const INTEGER = 3;
- /**
- * Flag type used for a server startup option.
- *
- * Generated from protobuf enum NONE = 4;
- */
- const NONE = 4;
- /**
- * Type introduced specially for MySQL TimeZone offset. Accept a string value
- * with the format [-12:59, 13:00].
- *
- * Generated from protobuf enum MYSQL_TIMEZONE_OFFSET = 5;
- */
- const MYSQL_TIMEZONE_OFFSET = 5;
- /**
- * Float type flag.
- *
- * Generated from protobuf enum FLOAT = 6;
- */
- const FLOAT = 6;
- /**
- * Comma-separated list of the strings in a SqlFlagType enum.
- *
- * Generated from protobuf enum REPEATED_STRING = 7;
- */
- const REPEATED_STRING = 7;
-
- private static $valueToName = [
- self::SQL_FLAG_TYPE_UNSPECIFIED => 'SQL_FLAG_TYPE_UNSPECIFIED',
- self::BOOLEAN => 'BOOLEAN',
- self::STRING => 'STRING',
- self::INTEGER => 'INTEGER',
- self::NONE => 'NONE',
- self::MYSQL_TIMEZONE_OFFSET => 'MYSQL_TIMEZONE_OFFSET',
- self::FLOAT => 'FLOAT',
- self::REPEATED_STRING => 'REPEATED_STRING',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlFlagsListRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlFlagsListRequest.php
deleted file mode 100644
index 329b62db5183..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlFlagsListRequest.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.cloud.sql.v1.SqlFlagsListRequest
- */
-class SqlFlagsListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Database type and version you want to retrieve flags for. By default, this
- * method returns flags for all database types and versions.
- *
- * Generated from protobuf field string database_version = 1;
- */
- protected $database_version = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $database_version
- * Database type and version you want to retrieve flags for. By default, this
- * method returns flags for all database types and versions.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlFlags::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Database type and version you want to retrieve flags for. By default, this
- * method returns flags for all database types and versions.
- *
- * Generated from protobuf field string database_version = 1;
- * @return string
- */
- public function getDatabaseVersion()
- {
- return $this->database_version;
- }
-
- /**
- * Database type and version you want to retrieve flags for. By default, this
- * method returns flags for all database types and versions.
- *
- * Generated from protobuf field string database_version = 1;
- * @param string $var
- * @return $this
- */
- public function setDatabaseVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->database_version = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstanceType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstanceType.php
deleted file mode 100644
index 983f95a0d726..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstanceType.php
+++ /dev/null
@@ -1,68 +0,0 @@
-google.cloud.sql.v1.SqlInstanceType
- */
-class SqlInstanceType
-{
- /**
- * This is an unknown Cloud SQL instance type.
- *
- * Generated from protobuf enum SQL_INSTANCE_TYPE_UNSPECIFIED = 0;
- */
- const SQL_INSTANCE_TYPE_UNSPECIFIED = 0;
- /**
- * A regular Cloud SQL instance that is not replicating from a primary
- * instance.
- *
- * Generated from protobuf enum CLOUD_SQL_INSTANCE = 1;
- */
- const CLOUD_SQL_INSTANCE = 1;
- /**
- * An instance running on the customer's premises that is not managed by
- * Cloud SQL.
- *
- * Generated from protobuf enum ON_PREMISES_INSTANCE = 2;
- */
- const ON_PREMISES_INSTANCE = 2;
- /**
- * A Cloud SQL instance acting as a read-replica.
- *
- * Generated from protobuf enum READ_REPLICA_INSTANCE = 3;
- */
- const READ_REPLICA_INSTANCE = 3;
-
- private static $valueToName = [
- self::SQL_INSTANCE_TYPE_UNSPECIFIED => 'SQL_INSTANCE_TYPE_UNSPECIFIED',
- self::CLOUD_SQL_INSTANCE => 'CLOUD_SQL_INSTANCE',
- self::ON_PREMISES_INSTANCE => 'ON_PREMISES_INSTANCE',
- self::READ_REPLICA_INSTANCE => 'READ_REPLICA_INSTANCE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesAddServerCaRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesAddServerCaRequest.php
deleted file mode 100644
index 3fd7548f2b0f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesAddServerCaRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlInstancesAddServerCaRequest
- */
-class SqlInstancesAddServerCaRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesCloneRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesCloneRequest.php
deleted file mode 100644
index f7ca7510d738..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesCloneRequest.php
+++ /dev/null
@@ -1,142 +0,0 @@
-google.cloud.sql.v1.SqlInstancesCloneRequest
- */
-class SqlInstancesCloneRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The ID of the Cloud SQL instance to be cloned (source). This does not
- * include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the source as well as the clone Cloud SQL instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesCloneRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * The ID of the Cloud SQL instance to be cloned (source). This does not
- * include the project ID.
- * @type string $project
- * Project ID of the source as well as the clone Cloud SQL instance.
- * @type \Google\Cloud\Sql\V1\InstancesCloneRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The ID of the Cloud SQL instance to be cloned (source). This does not
- * include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * The ID of the Cloud SQL instance to be cloned (source). This does not
- * include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the source as well as the clone Cloud SQL instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the source as well as the clone Cloud SQL instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesCloneRequest body = 100;
- * @return \Google\Cloud\Sql\V1\InstancesCloneRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesCloneRequest body = 100;
- * @param \Google\Cloud\Sql\V1\InstancesCloneRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\InstancesCloneRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesCreateEphemeralCertRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesCreateEphemeralCertRequest.php
deleted file mode 100644
index c86fb60cbadf..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesCreateEphemeralCertRequest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-google.cloud.sql.v1.SqlInstancesCreateEphemeralCertRequest
- */
-class SqlInstancesCreateEphemeralCertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the Cloud SQL project.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.SslCertsCreateEphemeralRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the Cloud SQL project.
- * @type \Google\Cloud\Sql\V1\SslCertsCreateEphemeralRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the Cloud SQL project.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the Cloud SQL project.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.SslCertsCreateEphemeralRequest body = 100;
- * @return \Google\Cloud\Sql\V1\SslCertsCreateEphemeralRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.SslCertsCreateEphemeralRequest body = 100;
- * @param \Google\Cloud\Sql\V1\SslCertsCreateEphemeralRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SslCertsCreateEphemeralRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesDeleteRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesDeleteRequest.php
deleted file mode 100644
index f3a80ccc7e80..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesDeleteRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlInstancesDeleteRequest
- */
-class SqlInstancesDeleteRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance to be deleted.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance to be deleted.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance to be deleted.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance to be deleted.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesDemoteMasterRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesDemoteMasterRequest.php
deleted file mode 100644
index 3b87034db915..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesDemoteMasterRequest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-google.cloud.sql.v1.SqlInstancesDemoteMasterRequest
- */
-class SqlInstancesDemoteMasterRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance name.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesDemoteMasterRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance name.
- * @type string $project
- * ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\InstancesDemoteMasterRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesDemoteMasterRequest body = 100;
- * @return \Google\Cloud\Sql\V1\InstancesDemoteMasterRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesDemoteMasterRequest body = 100;
- * @param \Google\Cloud\Sql\V1\InstancesDemoteMasterRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\InstancesDemoteMasterRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesDemoteRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesDemoteRequest.php
deleted file mode 100644
index e014b469ecbf..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesDemoteRequest.php
+++ /dev/null
@@ -1,145 +0,0 @@
-google.cloud.sql.v1.SqlInstancesDemoteRequest
- */
-class SqlInstancesDemoteRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. Cloud SQL instance name.
- *
- * Generated from protobuf field string instance = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $instance = '';
- /**
- * Required. ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $project = '';
- /**
- * Required. The request body.
- *
- * Generated from protobuf field .google.cloud.sql.v1.InstancesDemoteRequest body = 100 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Required. Cloud SQL instance name.
- * @type string $project
- * Required. ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\InstancesDemoteRequest $body
- * Required. The request body.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. Cloud SQL instance name.
- *
- * Generated from protobuf field string instance = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Required. Cloud SQL instance name.
- *
- * Generated from protobuf field string instance = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Required. ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Required. ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Required. The request body.
- *
- * Generated from protobuf field .google.cloud.sql.v1.InstancesDemoteRequest body = 100 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Sql\V1\InstancesDemoteRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Required. The request body.
- *
- * Generated from protobuf field .google.cloud.sql.v1.InstancesDemoteRequest body = 100 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Sql\V1\InstancesDemoteRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\InstancesDemoteRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesExportRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesExportRequest.php
deleted file mode 100644
index 501b530aab43..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesExportRequest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-google.cloud.sql.v1.SqlInstancesExportRequest
- */
-class SqlInstancesExportRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance to be exported.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesExportRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance to be exported.
- * @type \Google\Cloud\Sql\V1\InstancesExportRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance to be exported.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance to be exported.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesExportRequest body = 100;
- * @return \Google\Cloud\Sql\V1\InstancesExportRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesExportRequest body = 100;
- * @param \Google\Cloud\Sql\V1\InstancesExportRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\InstancesExportRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesFailoverRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesFailoverRequest.php
deleted file mode 100644
index f443137e24a0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesFailoverRequest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-google.cloud.sql.v1.SqlInstancesFailoverRequest
- */
-class SqlInstancesFailoverRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesFailoverRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * ID of the project that contains the read replica.
- * @type \Google\Cloud\Sql\V1\InstancesFailoverRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesFailoverRequest body = 100;
- * @return \Google\Cloud\Sql\V1\InstancesFailoverRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesFailoverRequest body = 100;
- * @param \Google\Cloud\Sql\V1\InstancesFailoverRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\InstancesFailoverRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetDiskShrinkConfigRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetDiskShrinkConfigRequest.php
deleted file mode 100644
index 647f3647e66c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetDiskShrinkConfigRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlInstancesGetDiskShrinkConfigRequest
- */
-class SqlInstancesGetDiskShrinkConfigRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetDiskShrinkConfigResponse.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetDiskShrinkConfigResponse.php
deleted file mode 100644
index 56f64db0042d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetDiskShrinkConfigResponse.php
+++ /dev/null
@@ -1,135 +0,0 @@
-google.cloud.sql.v1.SqlInstancesGetDiskShrinkConfigResponse
- */
-class SqlInstancesGetDiskShrinkConfigResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#getDiskShrinkConfig`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The minimum size to which a disk can be shrunk in GigaBytes.
- *
- * Generated from protobuf field int64 minimal_target_size_gb = 2;
- */
- protected $minimal_target_size_gb = 0;
- /**
- * Additional message to customers.
- *
- * Generated from protobuf field string message = 3;
- */
- protected $message = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#getDiskShrinkConfig`.
- * @type int|string $minimal_target_size_gb
- * The minimum size to which a disk can be shrunk in GigaBytes.
- * @type string $message
- * Additional message to customers.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#getDiskShrinkConfig`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#getDiskShrinkConfig`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The minimum size to which a disk can be shrunk in GigaBytes.
- *
- * Generated from protobuf field int64 minimal_target_size_gb = 2;
- * @return int|string
- */
- public function getMinimalTargetSizeGb()
- {
- return $this->minimal_target_size_gb;
- }
-
- /**
- * The minimum size to which a disk can be shrunk in GigaBytes.
- *
- * Generated from protobuf field int64 minimal_target_size_gb = 2;
- * @param int|string $var
- * @return $this
- */
- public function setMinimalTargetSizeGb($var)
- {
- GPBUtil::checkInt64($var);
- $this->minimal_target_size_gb = $var;
-
- return $this;
- }
-
- /**
- * Additional message to customers.
- *
- * Generated from protobuf field string message = 3;
- * @return string
- */
- public function getMessage()
- {
- return $this->message;
- }
-
- /**
- * Additional message to customers.
- *
- * Generated from protobuf field string message = 3;
- * @param string $var
- * @return $this
- */
- public function setMessage($var)
- {
- GPBUtil::checkString($var, True);
- $this->message = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetLatestRecoveryTimeRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetLatestRecoveryTimeRequest.php
deleted file mode 100644
index 0cf92a769961..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetLatestRecoveryTimeRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlInstancesGetLatestRecoveryTimeRequest
- */
-class SqlInstancesGetLatestRecoveryTimeRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetLatestRecoveryTimeResponse.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetLatestRecoveryTimeResponse.php
deleted file mode 100644
index 9a5bfafef504..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetLatestRecoveryTimeResponse.php
+++ /dev/null
@@ -1,111 +0,0 @@
-google.cloud.sql.v1.SqlInstancesGetLatestRecoveryTimeResponse
- */
-class SqlInstancesGetLatestRecoveryTimeResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#getLatestRecoveryTime`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Timestamp, identifies the latest recovery time of the source instance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp latest_recovery_time = 2;
- */
- protected $latest_recovery_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#getLatestRecoveryTime`.
- * @type \Google\Protobuf\Timestamp $latest_recovery_time
- * Timestamp, identifies the latest recovery time of the source instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#getLatestRecoveryTime`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#getLatestRecoveryTime`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Timestamp, identifies the latest recovery time of the source instance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp latest_recovery_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getLatestRecoveryTime()
- {
- return $this->latest_recovery_time;
- }
-
- public function hasLatestRecoveryTime()
- {
- return isset($this->latest_recovery_time);
- }
-
- public function clearLatestRecoveryTime()
- {
- unset($this->latest_recovery_time);
- }
-
- /**
- * Timestamp, identifies the latest recovery time of the source instance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp latest_recovery_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setLatestRecoveryTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->latest_recovery_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetRequest.php
deleted file mode 100644
index 5d2e86246d5a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesGetRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlInstancesGetRequest
- */
-class SqlInstancesGetRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesImportRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesImportRequest.php
deleted file mode 100644
index 6a9167d840f5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesImportRequest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-google.cloud.sql.v1.SqlInstancesImportRequest
- */
-class SqlInstancesImportRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesImportRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\InstancesImportRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesImportRequest body = 100;
- * @return \Google\Cloud\Sql\V1\InstancesImportRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesImportRequest body = 100;
- * @param \Google\Cloud\Sql\V1\InstancesImportRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\InstancesImportRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesInsertRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesInsertRequest.php
deleted file mode 100644
index 572d4c1dd354..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesInsertRequest.php
+++ /dev/null
@@ -1,108 +0,0 @@
-google.cloud.sql.v1.SqlInstancesInsertRequest
- */
-class SqlInstancesInsertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Project ID of the project to which the newly created Cloud SQL instances
- * should belong.
- *
- * Generated from protobuf field string project = 1;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $project
- * Project ID of the project to which the newly created Cloud SQL instances
- * should belong.
- * @type \Google\Cloud\Sql\V1\DatabaseInstance $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Project ID of the project to which the newly created Cloud SQL instances
- * should belong.
- *
- * Generated from protobuf field string project = 1;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project to which the newly created Cloud SQL instances
- * should belong.
- *
- * Generated from protobuf field string project = 1;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance body = 100;
- * @return \Google\Cloud\Sql\V1\DatabaseInstance|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance body = 100;
- * @param \Google\Cloud\Sql\V1\DatabaseInstance $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DatabaseInstance::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesListRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesListRequest.php
deleted file mode 100644
index 335999acd233..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesListRequest.php
+++ /dev/null
@@ -1,213 +0,0 @@
-google.cloud.sql.v1.SqlInstancesListRequest
- */
-class SqlInstancesListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * A filter expression that filters resources listed in the response.
- * The expression is in the form of field:value. For example,
- * 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per
- * their JSON representation, such as 'settings.userLabels.auto_start:true'.
- * Multiple filter queries are space-separated. For example.
- * 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each
- * expression is an AND expression. However, you can include AND and OR
- * expressions explicitly.
- *
- * Generated from protobuf field string filter = 1;
- */
- protected $filter = '';
- /**
- * The maximum number of instances to return. The service may return fewer
- * than this value.
- * If unspecified, at most 500 instances are returned.
- * The maximum value is 1000; values above 1000 are coerced to 1000.
- *
- * Generated from protobuf field uint32 max_results = 2;
- */
- protected $max_results = 0;
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- */
- protected $page_token = '';
- /**
- * Project ID of the project for which to list Cloud SQL instances.
- *
- * Generated from protobuf field string project = 4;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $filter
- * A filter expression that filters resources listed in the response.
- * The expression is in the form of field:value. For example,
- * 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per
- * their JSON representation, such as 'settings.userLabels.auto_start:true'.
- * Multiple filter queries are space-separated. For example.
- * 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each
- * expression is an AND expression. However, you can include AND and OR
- * expressions explicitly.
- * @type int $max_results
- * The maximum number of instances to return. The service may return fewer
- * than this value.
- * If unspecified, at most 500 instances are returned.
- * The maximum value is 1000; values above 1000 are coerced to 1000.
- * @type string $page_token
- * A previously-returned page token representing part of the larger set of
- * results to view.
- * @type string $project
- * Project ID of the project for which to list Cloud SQL instances.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * A filter expression that filters resources listed in the response.
- * The expression is in the form of field:value. For example,
- * 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per
- * their JSON representation, such as 'settings.userLabels.auto_start:true'.
- * Multiple filter queries are space-separated. For example.
- * 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each
- * expression is an AND expression. However, you can include AND and OR
- * expressions explicitly.
- *
- * Generated from protobuf field string filter = 1;
- * @return string
- */
- public function getFilter()
- {
- return $this->filter;
- }
-
- /**
- * A filter expression that filters resources listed in the response.
- * The expression is in the form of field:value. For example,
- * 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per
- * their JSON representation, such as 'settings.userLabels.auto_start:true'.
- * Multiple filter queries are space-separated. For example.
- * 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each
- * expression is an AND expression. However, you can include AND and OR
- * expressions explicitly.
- *
- * Generated from protobuf field string filter = 1;
- * @param string $var
- * @return $this
- */
- public function setFilter($var)
- {
- GPBUtil::checkString($var, True);
- $this->filter = $var;
-
- return $this;
- }
-
- /**
- * The maximum number of instances to return. The service may return fewer
- * than this value.
- * If unspecified, at most 500 instances are returned.
- * The maximum value is 1000; values above 1000 are coerced to 1000.
- *
- * Generated from protobuf field uint32 max_results = 2;
- * @return int
- */
- public function getMaxResults()
- {
- return $this->max_results;
- }
-
- /**
- * The maximum number of instances to return. The service may return fewer
- * than this value.
- * If unspecified, at most 500 instances are returned.
- * The maximum value is 1000; values above 1000 are coerced to 1000.
- *
- * Generated from protobuf field uint32 max_results = 2;
- * @param int $var
- * @return $this
- */
- public function setMaxResults($var)
- {
- GPBUtil::checkUint32($var);
- $this->max_results = $var;
-
- return $this;
- }
-
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project for which to list Cloud SQL instances.
- *
- * Generated from protobuf field string project = 4;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project for which to list Cloud SQL instances.
- *
- * Generated from protobuf field string project = 4;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesListServerCasRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesListServerCasRequest.php
deleted file mode 100644
index 8ab5a35297cc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesListServerCasRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlInstancesListServerCasRequest
- */
-class SqlInstancesListServerCasRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesPatchRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesPatchRequest.php
deleted file mode 100644
index 5fbb01eaea97..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesPatchRequest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-google.cloud.sql.v1.SqlInstancesPatchRequest
- */
-class SqlInstancesPatchRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\DatabaseInstance $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance body = 100;
- * @return \Google\Cloud\Sql\V1\DatabaseInstance|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance body = 100;
- * @param \Google\Cloud\Sql\V1\DatabaseInstance $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DatabaseInstance::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesPerformDiskShrinkRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesPerformDiskShrinkRequest.php
deleted file mode 100644
index 8614588e5314..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesPerformDiskShrinkRequest.php
+++ /dev/null
@@ -1,145 +0,0 @@
-google.cloud.sql.v1.SqlInstancesPerformDiskShrinkRequest
- */
-class SqlInstancesPerformDiskShrinkRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Perform disk shrink context.
- *
- * Generated from protobuf field .google.cloud.sql.v1.PerformDiskShrinkContext body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\PerformDiskShrinkContext $body
- * Perform disk shrink context.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Perform disk shrink context.
- *
- * Generated from protobuf field .google.cloud.sql.v1.PerformDiskShrinkContext body = 100;
- * @return \Google\Cloud\Sql\V1\PerformDiskShrinkContext|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Perform disk shrink context.
- *
- * Generated from protobuf field .google.cloud.sql.v1.PerformDiskShrinkContext body = 100;
- * @param \Google\Cloud\Sql\V1\PerformDiskShrinkContext $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\PerformDiskShrinkContext::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesPromoteReplicaRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesPromoteReplicaRequest.php
deleted file mode 100644
index 6decb87feeb4..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesPromoteReplicaRequest.php
+++ /dev/null
@@ -1,143 +0,0 @@
-google.cloud.sql.v1.SqlInstancesPromoteReplicaRequest
- */
-class SqlInstancesPromoteReplicaRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Set to true if the promote operation should attempt to re-add the original
- * primary as a replica when it comes back online. Otherwise, if this value is
- * false or not set, the original primary will be a standalone instance.
- *
- * Generated from protobuf field bool failover = 3;
- */
- protected $failover = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the read replica.
- * @type bool $failover
- * Set to true if the promote operation should attempt to re-add the original
- * primary as a replica when it comes back online. Otherwise, if this value is
- * false or not set, the original primary will be a standalone instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Set to true if the promote operation should attempt to re-add the original
- * primary as a replica when it comes back online. Otherwise, if this value is
- * false or not set, the original primary will be a standalone instance.
- *
- * Generated from protobuf field bool failover = 3;
- * @return bool
- */
- public function getFailover()
- {
- return $this->failover;
- }
-
- /**
- * Set to true if the promote operation should attempt to re-add the original
- * primary as a replica when it comes back online. Otherwise, if this value is
- * false or not set, the original primary will be a standalone instance.
- *
- * Generated from protobuf field bool failover = 3;
- * @param bool $var
- * @return $this
- */
- public function setFailover($var)
- {
- GPBUtil::checkBool($var);
- $this->failover = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesReencryptRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesReencryptRequest.php
deleted file mode 100644
index be4171d47bc2..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesReencryptRequest.php
+++ /dev/null
@@ -1,145 +0,0 @@
-google.cloud.sql.v1.SqlInstancesReencryptRequest
- */
-class SqlInstancesReencryptRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Reencrypt body that users request
- *
- * Generated from protobuf field .google.cloud.sql.v1.InstancesReencryptRequest body = 3;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\InstancesReencryptRequest $body
- * Reencrypt body that users request
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Reencrypt body that users request
- *
- * Generated from protobuf field .google.cloud.sql.v1.InstancesReencryptRequest body = 3;
- * @return \Google\Cloud\Sql\V1\InstancesReencryptRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Reencrypt body that users request
- *
- * Generated from protobuf field .google.cloud.sql.v1.InstancesReencryptRequest body = 3;
- * @param \Google\Cloud\Sql\V1\InstancesReencryptRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\InstancesReencryptRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRescheduleMaintenanceRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRescheduleMaintenanceRequest.php
deleted file mode 100644
index a761f690b0c0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRescheduleMaintenanceRequest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-google.cloud.sql.v1.SqlInstancesRescheduleMaintenanceRequest
- */
-class SqlInstancesRescheduleMaintenanceRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesRescheduleMaintenanceRequestBody body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\SqlInstancesRescheduleMaintenanceRequestBody $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesRescheduleMaintenanceRequestBody body = 100;
- * @return \Google\Cloud\Sql\V1\SqlInstancesRescheduleMaintenanceRequestBody|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesRescheduleMaintenanceRequestBody body = 100;
- * @param \Google\Cloud\Sql\V1\SqlInstancesRescheduleMaintenanceRequestBody $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SqlInstancesRescheduleMaintenanceRequestBody::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRescheduleMaintenanceRequestBody.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRescheduleMaintenanceRequestBody.php
deleted file mode 100644
index 62b51d5bb1e4..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRescheduleMaintenanceRequestBody.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1.SqlInstancesRescheduleMaintenanceRequestBody
- */
-class SqlInstancesRescheduleMaintenanceRequestBody extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The type of the reschedule the user wants.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesRescheduleMaintenanceRequestBody.Reschedule reschedule = 3;
- */
- protected $reschedule = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1\SqlInstancesRescheduleMaintenanceRequestBody\Reschedule $reschedule
- * Required. The type of the reschedule the user wants.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The type of the reschedule the user wants.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesRescheduleMaintenanceRequestBody.Reschedule reschedule = 3;
- * @return \Google\Cloud\Sql\V1\SqlInstancesRescheduleMaintenanceRequestBody\Reschedule|null
- */
- public function getReschedule()
- {
- return $this->reschedule;
- }
-
- public function hasReschedule()
- {
- return isset($this->reschedule);
- }
-
- public function clearReschedule()
- {
- unset($this->reschedule);
- }
-
- /**
- * Required. The type of the reschedule the user wants.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesRescheduleMaintenanceRequestBody.Reschedule reschedule = 3;
- * @param \Google\Cloud\Sql\V1\SqlInstancesRescheduleMaintenanceRequestBody\Reschedule $var
- * @return $this
- */
- public function setReschedule($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SqlInstancesRescheduleMaintenanceRequestBody\Reschedule::class);
- $this->reschedule = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRescheduleMaintenanceRequestBody/Reschedule.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRescheduleMaintenanceRequestBody/Reschedule.php
deleted file mode 100644
index cb830fe36b1d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRescheduleMaintenanceRequestBody/Reschedule.php
+++ /dev/null
@@ -1,124 +0,0 @@
-google.cloud.sql.v1.SqlInstancesRescheduleMaintenanceRequestBody.Reschedule
- */
-class Reschedule extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The type of the reschedule.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesRescheduleMaintenanceRequestBody.RescheduleType reschedule_type = 1;
- */
- protected $reschedule_type = 0;
- /**
- * Optional. Timestamp when the maintenance shall be rescheduled to if
- * reschedule_type=SPECIFIC_TIME, in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $schedule_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $reschedule_type
- * Required. The type of the reschedule.
- * @type \Google\Protobuf\Timestamp $schedule_time
- * Optional. Timestamp when the maintenance shall be rescheduled to if
- * reschedule_type=SPECIFIC_TIME, in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The type of the reschedule.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesRescheduleMaintenanceRequestBody.RescheduleType reschedule_type = 1;
- * @return int
- */
- public function getRescheduleType()
- {
- return $this->reschedule_type;
- }
-
- /**
- * Required. The type of the reschedule.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesRescheduleMaintenanceRequestBody.RescheduleType reschedule_type = 1;
- * @param int $var
- * @return $this
- */
- public function setRescheduleType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlInstancesRescheduleMaintenanceRequestBody\RescheduleType::class);
- $this->reschedule_type = $var;
-
- return $this;
- }
-
- /**
- * Optional. Timestamp when the maintenance shall be rescheduled to if
- * reschedule_type=SPECIFIC_TIME, in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getScheduleTime()
- {
- return $this->schedule_time;
- }
-
- public function hasScheduleTime()
- {
- return isset($this->schedule_time);
- }
-
- public function clearScheduleTime()
- {
- unset($this->schedule_time);
- }
-
- /**
- * Optional. Timestamp when the maintenance shall be rescheduled to if
- * reschedule_type=SPECIFIC_TIME, in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setScheduleTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->schedule_time = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Reschedule::class, \Google\Cloud\Sql\V1\SqlInstancesRescheduleMaintenanceRequestBody_Reschedule::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRescheduleMaintenanceRequestBody/RescheduleType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRescheduleMaintenanceRequestBody/RescheduleType.php
deleted file mode 100644
index 8b8109bca17b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRescheduleMaintenanceRequestBody/RescheduleType.php
+++ /dev/null
@@ -1,68 +0,0 @@
-google.cloud.sql.v1.SqlInstancesRescheduleMaintenanceRequestBody.RescheduleType
- */
-class RescheduleType
-{
- /**
- * Generated from protobuf enum RESCHEDULE_TYPE_UNSPECIFIED = 0;
- */
- const RESCHEDULE_TYPE_UNSPECIFIED = 0;
- /**
- * Reschedules maintenance to happen now (within 5 minutes).
- *
- * Generated from protobuf enum IMMEDIATE = 1;
- */
- const IMMEDIATE = 1;
- /**
- * Reschedules maintenance to occur within one week from the originally
- * scheduled day and time.
- *
- * Generated from protobuf enum NEXT_AVAILABLE_WINDOW = 2;
- */
- const NEXT_AVAILABLE_WINDOW = 2;
- /**
- * Reschedules maintenance to a specific time and day.
- *
- * Generated from protobuf enum SPECIFIC_TIME = 3;
- */
- const SPECIFIC_TIME = 3;
-
- private static $valueToName = [
- self::RESCHEDULE_TYPE_UNSPECIFIED => 'RESCHEDULE_TYPE_UNSPECIFIED',
- self::IMMEDIATE => 'IMMEDIATE',
- self::NEXT_AVAILABLE_WINDOW => 'NEXT_AVAILABLE_WINDOW',
- self::SPECIFIC_TIME => 'SPECIFIC_TIME',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(RescheduleType::class, \Google\Cloud\Sql\V1\SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesResetReplicaSizeRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesResetReplicaSizeRequest.php
deleted file mode 100644
index b8779a814c01..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesResetReplicaSizeRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlInstancesResetReplicaSizeRequest
- */
-class SqlInstancesResetReplicaSizeRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the read replica.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesResetSslConfigRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesResetSslConfigRequest.php
deleted file mode 100644
index 4fd11700c853..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesResetSslConfigRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlInstancesResetSslConfigRequest
- */
-class SqlInstancesResetSslConfigRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRestartRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRestartRequest.php
deleted file mode 100644
index fd65741f020a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRestartRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlInstancesRestartRequest
- */
-class SqlInstancesRestartRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance to be restarted.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance to be restarted.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance to be restarted.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance to be restarted.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRestoreBackupRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRestoreBackupRequest.php
deleted file mode 100644
index 203876cdec69..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRestoreBackupRequest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-google.cloud.sql.v1.SqlInstancesRestoreBackupRequest
- */
-class SqlInstancesRestoreBackupRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesRestoreBackupRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\InstancesRestoreBackupRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesRestoreBackupRequest body = 100;
- * @return \Google\Cloud\Sql\V1\InstancesRestoreBackupRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesRestoreBackupRequest body = 100;
- * @param \Google\Cloud\Sql\V1\InstancesRestoreBackupRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\InstancesRestoreBackupRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRotateServerCaRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRotateServerCaRequest.php
deleted file mode 100644
index 0f0c1a5593fa..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesRotateServerCaRequest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-google.cloud.sql.v1.SqlInstancesRotateServerCaRequest
- */
-class SqlInstancesRotateServerCaRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesRotateServerCaRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\InstancesRotateServerCaRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesRotateServerCaRequest body = 100;
- * @return \Google\Cloud\Sql\V1\InstancesRotateServerCaRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesRotateServerCaRequest body = 100;
- * @param \Google\Cloud\Sql\V1\InstancesRotateServerCaRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\InstancesRotateServerCaRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesStartExternalSyncRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesStartExternalSyncRequest.php
deleted file mode 100644
index 564740e83e4e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesStartExternalSyncRequest.php
+++ /dev/null
@@ -1,287 +0,0 @@
-google.cloud.sql.v1.SqlInstancesStartExternalSyncRequest
- */
-class SqlInstancesStartExternalSyncRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * External sync mode.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 3;
- */
- protected $sync_mode = 0;
- /**
- * Whether to skip the verification step (VESS).
- *
- * Generated from protobuf field bool skip_verification = 4;
- */
- protected $skip_verification = false;
- /**
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for MySQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExternalSyncParallelLevel sync_parallel_level = 7 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $sync_parallel_level = 0;
- /**
- * Optional. MigrationType decides if the migration is a physical file based
- * migration or logical migration.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 8 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $migration_type = 0;
- protected $sync_config;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * ID of the project that contains the instance.
- * @type int $sync_mode
- * External sync mode.
- * @type bool $skip_verification
- * Whether to skip the verification step (VESS).
- * @type \Google\Cloud\Sql\V1\MySqlSyncConfig $mysql_sync_config
- * MySQL-specific settings for start external sync.
- * @type int $sync_parallel_level
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for MySQL.
- * @type int $migration_type
- * Optional. MigrationType decides if the migration is a physical file based
- * migration or logical migration.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * External sync mode.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 3;
- * @return int
- */
- public function getSyncMode()
- {
- return $this->sync_mode;
- }
-
- /**
- * External sync mode.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 3;
- * @param int $var
- * @return $this
- */
- public function setSyncMode($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlInstancesVerifyExternalSyncSettingsRequest\ExternalSyncMode::class);
- $this->sync_mode = $var;
-
- return $this;
- }
-
- /**
- * Whether to skip the verification step (VESS).
- *
- * Generated from protobuf field bool skip_verification = 4;
- * @return bool
- */
- public function getSkipVerification()
- {
- return $this->skip_verification;
- }
-
- /**
- * Whether to skip the verification step (VESS).
- *
- * Generated from protobuf field bool skip_verification = 4;
- * @param bool $var
- * @return $this
- */
- public function setSkipVerification($var)
- {
- GPBUtil::checkBool($var);
- $this->skip_verification = $var;
-
- return $this;
- }
-
- /**
- * MySQL-specific settings for start external sync.
- *
- * Generated from protobuf field .google.cloud.sql.v1.MySqlSyncConfig mysql_sync_config = 6;
- * @return \Google\Cloud\Sql\V1\MySqlSyncConfig|null
- */
- public function getMysqlSyncConfig()
- {
- return $this->readOneof(6);
- }
-
- public function hasMysqlSyncConfig()
- {
- return $this->hasOneof(6);
- }
-
- /**
- * MySQL-specific settings for start external sync.
- *
- * Generated from protobuf field .google.cloud.sql.v1.MySqlSyncConfig mysql_sync_config = 6;
- * @param \Google\Cloud\Sql\V1\MySqlSyncConfig $var
- * @return $this
- */
- public function setMysqlSyncConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\MySqlSyncConfig::class);
- $this->writeOneof(6, $var);
-
- return $this;
- }
-
- /**
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for MySQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExternalSyncParallelLevel sync_parallel_level = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getSyncParallelLevel()
- {
- return $this->sync_parallel_level;
- }
-
- /**
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for MySQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExternalSyncParallelLevel sync_parallel_level = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setSyncParallelLevel($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\ExternalSyncParallelLevel::class);
- $this->sync_parallel_level = $var;
-
- return $this;
- }
-
- /**
- * Optional. MigrationType decides if the migration is a physical file based
- * migration or logical migration.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getMigrationType()
- {
- return $this->migration_type;
- }
-
- /**
- * Optional. MigrationType decides if the migration is a physical file based
- * migration or logical migration.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setMigrationType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlInstancesVerifyExternalSyncSettingsRequest\MigrationType::class);
- $this->migration_type = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getSyncConfig()
- {
- return $this->whichOneof("sync_config");
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesStartReplicaRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesStartReplicaRequest.php
deleted file mode 100644
index cd9d636bd47d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesStartReplicaRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlInstancesStartReplicaRequest
- */
-class SqlInstancesStartReplicaRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the read replica.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesStopReplicaRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesStopReplicaRequest.php
deleted file mode 100644
index 8460b58e74e7..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesStopReplicaRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlInstancesStopReplicaRequest
- */
-class SqlInstancesStopReplicaRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the read replica.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesSwitchoverRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesSwitchoverRequest.php
deleted file mode 100644
index d2194c9f7ac0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesSwitchoverRequest.php
+++ /dev/null
@@ -1,153 +0,0 @@
-google.cloud.sql.v1.SqlInstancesSwitchoverRequest
- */
-class SqlInstancesSwitchoverRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the replica.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Optional. (MySQL only) Cloud SQL instance operations timeout, which is a
- * sum of all database operations. Default value is 10 minutes and can be
- * modified to a maximum value of 24 hours.
- *
- * Generated from protobuf field .google.protobuf.Duration db_timeout = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $db_timeout = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the replica.
- * @type \Google\Protobuf\Duration $db_timeout
- * Optional. (MySQL only) Cloud SQL instance operations timeout, which is a
- * sum of all database operations. Default value is 10 minutes and can be
- * modified to a maximum value of 24 hours.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the replica.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the replica.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Optional. (MySQL only) Cloud SQL instance operations timeout, which is a
- * sum of all database operations. Default value is 10 minutes and can be
- * modified to a maximum value of 24 hours.
- *
- * Generated from protobuf field .google.protobuf.Duration db_timeout = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Duration|null
- */
- public function getDbTimeout()
- {
- return $this->db_timeout;
- }
-
- public function hasDbTimeout()
- {
- return isset($this->db_timeout);
- }
-
- public function clearDbTimeout()
- {
- unset($this->db_timeout);
- }
-
- /**
- * Optional. (MySQL only) Cloud SQL instance operations timeout, which is a
- * sum of all database operations. Default value is 10 minutes and can be
- * modified to a maximum value of 24 hours.
- *
- * Generated from protobuf field .google.protobuf.Duration db_timeout = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setDbTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->db_timeout = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesTruncateLogRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesTruncateLogRequest.php
deleted file mode 100644
index 902c6634648a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesTruncateLogRequest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-google.cloud.sql.v1.SqlInstancesTruncateLogRequest
- */
-class SqlInstancesTruncateLogRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the Cloud SQL project.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesTruncateLogRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the Cloud SQL project.
- * @type \Google\Cloud\Sql\V1\InstancesTruncateLogRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the Cloud SQL project.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the Cloud SQL project.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesTruncateLogRequest body = 100;
- * @return \Google\Cloud\Sql\V1\InstancesTruncateLogRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.InstancesTruncateLogRequest body = 100;
- * @param \Google\Cloud\Sql\V1\InstancesTruncateLogRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\InstancesTruncateLogRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesUpdateRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesUpdateRequest.php
deleted file mode 100644
index a1835cce803e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesUpdateRequest.php
+++ /dev/null
@@ -1,138 +0,0 @@
-google.cloud.sql.v1.SqlInstancesUpdateRequest
- */
-class SqlInstancesUpdateRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\DatabaseInstance $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance body = 100;
- * @return \Google\Cloud\Sql\V1\DatabaseInstance|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.DatabaseInstance body = 100;
- * @param \Google\Cloud\Sql\V1\DatabaseInstance $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\DatabaseInstance::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesVerifyExternalSyncSettingsRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesVerifyExternalSyncSettingsRequest.php
deleted file mode 100644
index 85a3bda3af9a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesVerifyExternalSyncSettingsRequest.php
+++ /dev/null
@@ -1,321 +0,0 @@
-google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest
- */
-class SqlInstancesVerifyExternalSyncSettingsRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Flag to enable verifying connection only
- *
- * Generated from protobuf field bool verify_connection_only = 3;
- */
- protected $verify_connection_only = false;
- /**
- * External sync mode
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 4;
- */
- protected $sync_mode = 0;
- /**
- * Optional. Flag to verify settings required by replication setup only
- *
- * Generated from protobuf field bool verify_replication_only = 5 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $verify_replication_only = false;
- /**
- * Optional. MigrationType decides if the migration is a physical file based
- * migration or logical migration
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $migration_type = 0;
- /**
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for PostgreSQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExternalSyncParallelLevel sync_parallel_level = 8 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $sync_parallel_level = 0;
- protected $sync_config;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type bool $verify_connection_only
- * Flag to enable verifying connection only
- * @type int $sync_mode
- * External sync mode
- * @type bool $verify_replication_only
- * Optional. Flag to verify settings required by replication setup only
- * @type \Google\Cloud\Sql\V1\MySqlSyncConfig $mysql_sync_config
- * Optional. MySQL-specific settings for start external sync.
- * @type int $migration_type
- * Optional. MigrationType decides if the migration is a physical file based
- * migration or logical migration
- * @type int $sync_parallel_level
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for PostgreSQL.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Flag to enable verifying connection only
- *
- * Generated from protobuf field bool verify_connection_only = 3;
- * @return bool
- */
- public function getVerifyConnectionOnly()
- {
- return $this->verify_connection_only;
- }
-
- /**
- * Flag to enable verifying connection only
- *
- * Generated from protobuf field bool verify_connection_only = 3;
- * @param bool $var
- * @return $this
- */
- public function setVerifyConnectionOnly($var)
- {
- GPBUtil::checkBool($var);
- $this->verify_connection_only = $var;
-
- return $this;
- }
-
- /**
- * External sync mode
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 4;
- * @return int
- */
- public function getSyncMode()
- {
- return $this->sync_mode;
- }
-
- /**
- * External sync mode
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 4;
- * @param int $var
- * @return $this
- */
- public function setSyncMode($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlInstancesVerifyExternalSyncSettingsRequest\ExternalSyncMode::class);
- $this->sync_mode = $var;
-
- return $this;
- }
-
- /**
- * Optional. Flag to verify settings required by replication setup only
- *
- * Generated from protobuf field bool verify_replication_only = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool
- */
- public function getVerifyReplicationOnly()
- {
- return $this->verify_replication_only;
- }
-
- /**
- * Optional. Flag to verify settings required by replication setup only
- *
- * Generated from protobuf field bool verify_replication_only = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool $var
- * @return $this
- */
- public function setVerifyReplicationOnly($var)
- {
- GPBUtil::checkBool($var);
- $this->verify_replication_only = $var;
-
- return $this;
- }
-
- /**
- * Optional. MySQL-specific settings for start external sync.
- *
- * Generated from protobuf field .google.cloud.sql.v1.MySqlSyncConfig mysql_sync_config = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Cloud\Sql\V1\MySqlSyncConfig|null
- */
- public function getMysqlSyncConfig()
- {
- return $this->readOneof(6);
- }
-
- public function hasMysqlSyncConfig()
- {
- return $this->hasOneof(6);
- }
-
- /**
- * Optional. MySQL-specific settings for start external sync.
- *
- * Generated from protobuf field .google.cloud.sql.v1.MySqlSyncConfig mysql_sync_config = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Cloud\Sql\V1\MySqlSyncConfig $var
- * @return $this
- */
- public function setMysqlSyncConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\MySqlSyncConfig::class);
- $this->writeOneof(6, $var);
-
- return $this;
- }
-
- /**
- * Optional. MigrationType decides if the migration is a physical file based
- * migration or logical migration
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getMigrationType()
- {
- return $this->migration_type;
- }
-
- /**
- * Optional. MigrationType decides if the migration is a physical file based
- * migration or logical migration
- *
- * Generated from protobuf field .google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setMigrationType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlInstancesVerifyExternalSyncSettingsRequest\MigrationType::class);
- $this->migration_type = $var;
-
- return $this;
- }
-
- /**
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for PostgreSQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExternalSyncParallelLevel sync_parallel_level = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getSyncParallelLevel()
- {
- return $this->sync_parallel_level;
- }
-
- /**
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for PostgreSQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1.ExternalSyncParallelLevel sync_parallel_level = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setSyncParallelLevel($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\ExternalSyncParallelLevel::class);
- $this->sync_parallel_level = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getSyncConfig()
- {
- return $this->whichOneof("sync_config");
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesVerifyExternalSyncSettingsRequest/ExternalSyncMode.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesVerifyExternalSyncSettingsRequest/ExternalSyncMode.php
deleted file mode 100644
index 81bc7e811bfc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesVerifyExternalSyncSettingsRequest/ExternalSyncMode.php
+++ /dev/null
@@ -1,64 +0,0 @@
-google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode
- */
-class ExternalSyncMode
-{
- /**
- * Unknown external sync mode, will be defaulted to ONLINE mode
- *
- * Generated from protobuf enum EXTERNAL_SYNC_MODE_UNSPECIFIED = 0;
- */
- const EXTERNAL_SYNC_MODE_UNSPECIFIED = 0;
- /**
- * Online external sync will set up replication after initial data external
- * sync
- *
- * Generated from protobuf enum ONLINE = 1;
- */
- const ONLINE = 1;
- /**
- * Offline external sync only dumps and loads a one-time snapshot of
- * the primary instance's data
- *
- * Generated from protobuf enum OFFLINE = 2;
- */
- const OFFLINE = 2;
-
- private static $valueToName = [
- self::EXTERNAL_SYNC_MODE_UNSPECIFIED => 'EXTERNAL_SYNC_MODE_UNSPECIFIED',
- self::ONLINE => 'ONLINE',
- self::OFFLINE => 'OFFLINE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(ExternalSyncMode::class, \Google\Cloud\Sql\V1\SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesVerifyExternalSyncSettingsResponse.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesVerifyExternalSyncSettingsResponse.php
deleted file mode 100644
index 9765ba2aa15c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlInstancesVerifyExternalSyncSettingsResponse.php
+++ /dev/null
@@ -1,135 +0,0 @@
-google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsResponse
- */
-class SqlInstancesVerifyExternalSyncSettingsResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#migrationSettingErrorList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of migration violations.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SqlExternalSyncSettingError errors = 2;
- */
- private $errors;
- /**
- * List of migration warnings.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SqlExternalSyncSettingError warnings = 3;
- */
- private $warnings;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#migrationSettingErrorList`.
- * @type array<\Google\Cloud\Sql\V1\SqlExternalSyncSettingError>|\Google\Protobuf\Internal\RepeatedField $errors
- * List of migration violations.
- * @type array<\Google\Cloud\Sql\V1\SqlExternalSyncSettingError>|\Google\Protobuf\Internal\RepeatedField $warnings
- * List of migration warnings.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#migrationSettingErrorList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#migrationSettingErrorList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of migration violations.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SqlExternalSyncSettingError errors = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getErrors()
- {
- return $this->errors;
- }
-
- /**
- * List of migration violations.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SqlExternalSyncSettingError errors = 2;
- * @param array<\Google\Cloud\Sql\V1\SqlExternalSyncSettingError>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setErrors($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\SqlExternalSyncSettingError::class);
- $this->errors = $arr;
-
- return $this;
- }
-
- /**
- * List of migration warnings.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SqlExternalSyncSettingError warnings = 3;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getWarnings()
- {
- return $this->warnings;
- }
-
- /**
- * List of migration warnings.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SqlExternalSyncSettingError warnings = 3;
- * @param array<\Google\Cloud\Sql\V1\SqlExternalSyncSettingError>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setWarnings($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\SqlExternalSyncSettingError::class);
- $this->warnings = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlIpAddressType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlIpAddressType.php
deleted file mode 100644
index a4db37dc4140..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlIpAddressType.php
+++ /dev/null
@@ -1,83 +0,0 @@
-google.cloud.sql.v1.SqlIpAddressType
- */
-class SqlIpAddressType
-{
- /**
- * This is an unknown IP address type.
- *
- * Generated from protobuf enum SQL_IP_ADDRESS_TYPE_UNSPECIFIED = 0;
- */
- const SQL_IP_ADDRESS_TYPE_UNSPECIFIED = 0;
- /**
- * IP address the customer is supposed to connect to. Usually this is the
- * load balancer's IP address
- *
- * Generated from protobuf enum PRIMARY = 1;
- */
- const PRIMARY = 1;
- /**
- * Source IP address of the connection a read replica establishes to its
- * external primary instance. This IP address can be allowlisted by the
- * customer in case it has a firewall that filters incoming connection to its
- * on premises primary instance.
- *
- * Generated from protobuf enum OUTGOING = 2;
- */
- const OUTGOING = 2;
- /**
- * Private IP used when using private IPs and network peering.
- *
- * Generated from protobuf enum PRIVATE = 3;
- */
- const PBPRIVATE = 3;
- /**
- * V1 IP of a migrated instance. We want the user to
- * decommission this IP as soon as the migration is complete.
- * Note: V1 instances with V1 ip addresses will be counted as PRIMARY.
- *
- * Generated from protobuf enum MIGRATED_1ST_GEN = 4;
- */
- const MIGRATED_1ST_GEN = 4;
-
- private static $valueToName = [
- self::SQL_IP_ADDRESS_TYPE_UNSPECIFIED => 'SQL_IP_ADDRESS_TYPE_UNSPECIFIED',
- self::PRIMARY => 'PRIMARY',
- self::OUTGOING => 'OUTGOING',
- self::PBPRIVATE => 'PRIVATE',
- self::MIGRATED_1ST_GEN => 'MIGRATED_1ST_GEN',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- $pbconst = __CLASS__. '::PB' . strtoupper($name);
- if (!defined($pbconst)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($pbconst);
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlOperationsCancelRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlOperationsCancelRequest.php
deleted file mode 100644
index 6f519700a0f1..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlOperationsCancelRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlOperationsCancelRequest
- */
-class SqlOperationsCancelRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Instance operation ID.
- *
- * Generated from protobuf field string operation = 1;
- */
- protected $operation = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $operation
- * Instance operation ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlOperations::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Instance operation ID.
- *
- * Generated from protobuf field string operation = 1;
- * @return string
- */
- public function getOperation()
- {
- return $this->operation;
- }
-
- /**
- * Instance operation ID.
- *
- * Generated from protobuf field string operation = 1;
- * @param string $var
- * @return $this
- */
- public function setOperation($var)
- {
- GPBUtil::checkString($var, True);
- $this->operation = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlOperationsGetRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlOperationsGetRequest.php
deleted file mode 100644
index 3d8bb11843ab..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlOperationsGetRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlOperationsGetRequest
- */
-class SqlOperationsGetRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Instance operation ID.
- *
- * Generated from protobuf field string operation = 1;
- */
- protected $operation = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $operation
- * Instance operation ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlOperations::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Instance operation ID.
- *
- * Generated from protobuf field string operation = 1;
- * @return string
- */
- public function getOperation()
- {
- return $this->operation;
- }
-
- /**
- * Instance operation ID.
- *
- * Generated from protobuf field string operation = 1;
- * @param string $var
- * @return $this
- */
- public function setOperation($var)
- {
- GPBUtil::checkString($var, True);
- $this->operation = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlOperationsListRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlOperationsListRequest.php
deleted file mode 100644
index 7824a1ca0552..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlOperationsListRequest.php
+++ /dev/null
@@ -1,173 +0,0 @@
-google.cloud.sql.v1.SqlOperationsListRequest
- */
-class SqlOperationsListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Maximum number of operations per response.
- *
- * Generated from protobuf field uint32 max_results = 2;
- */
- protected $max_results = 0;
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- */
- protected $page_token = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type int $max_results
- * Maximum number of operations per response.
- * @type string $page_token
- * A previously-returned page token representing part of the larger set of
- * results to view.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlOperations::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Maximum number of operations per response.
- *
- * Generated from protobuf field uint32 max_results = 2;
- * @return int
- */
- public function getMaxResults()
- {
- return $this->max_results;
- }
-
- /**
- * Maximum number of operations per response.
- *
- * Generated from protobuf field uint32 max_results = 2;
- * @param int $var
- * @return $this
- */
- public function setMaxResults($var)
- {
- GPBUtil::checkUint32($var);
- $this->max_results = $var;
-
- return $this;
- }
-
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlPricingPlan.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlPricingPlan.php
deleted file mode 100644
index 2752c3156e60..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlPricingPlan.php
+++ /dev/null
@@ -1,61 +0,0 @@
-google.cloud.sql.v1.SqlPricingPlan
- */
-class SqlPricingPlan
-{
- /**
- * This is an unknown pricing plan for this instance.
- *
- * Generated from protobuf enum SQL_PRICING_PLAN_UNSPECIFIED = 0;
- */
- const SQL_PRICING_PLAN_UNSPECIFIED = 0;
- /**
- * The instance is billed at a monthly flat rate.
- *
- * Generated from protobuf enum PACKAGE = 1;
- */
- const PACKAGE = 1;
- /**
- * The instance is billed per usage.
- *
- * Generated from protobuf enum PER_USE = 2;
- */
- const PER_USE = 2;
-
- private static $valueToName = [
- self::SQL_PRICING_PLAN_UNSPECIFIED => 'SQL_PRICING_PLAN_UNSPECIFIED',
- self::PACKAGE => 'PACKAGE',
- self::PER_USE => 'PER_USE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlReplicationType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlReplicationType.php
deleted file mode 100644
index d96c9de2d50f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlReplicationType.php
+++ /dev/null
@@ -1,63 +0,0 @@
-google.cloud.sql.v1.SqlReplicationType
- */
-class SqlReplicationType
-{
- /**
- * This is an unknown replication type for a Cloud SQL instance.
- *
- * Generated from protobuf enum SQL_REPLICATION_TYPE_UNSPECIFIED = 0;
- */
- const SQL_REPLICATION_TYPE_UNSPECIFIED = 0;
- /**
- * The synchronous replication mode for First Generation instances. It is the
- * default value.
- *
- * Generated from protobuf enum SYNCHRONOUS = 1;
- */
- const SYNCHRONOUS = 1;
- /**
- * The asynchronous replication mode for First Generation instances. It
- * provides a slight performance gain, but if an outage occurs while this
- * option is set to asynchronous, you can lose up to a few seconds of updates
- * to your data.
- *
- * Generated from protobuf enum ASYNCHRONOUS = 2;
- */
- const ASYNCHRONOUS = 2;
-
- private static $valueToName = [
- self::SQL_REPLICATION_TYPE_UNSPECIFIED => 'SQL_REPLICATION_TYPE_UNSPECIFIED',
- self::SYNCHRONOUS => 'SYNCHRONOUS',
- self::ASYNCHRONOUS => 'ASYNCHRONOUS',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlServerAuditConfig.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlServerAuditConfig.php
deleted file mode 100644
index 6f65acfdf334..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlServerAuditConfig.php
+++ /dev/null
@@ -1,189 +0,0 @@
-google.cloud.sql.v1.SqlServerAuditConfig
- */
-class SqlServerAuditConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always sql#sqlServerAuditConfig
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The name of the destination bucket (e.g., gs://mybucket).
- *
- * Generated from protobuf field string bucket = 2;
- */
- protected $bucket = '';
- /**
- * How long to keep generated audit files.
- *
- * Generated from protobuf field .google.protobuf.Duration retention_interval = 3;
- */
- protected $retention_interval = null;
- /**
- * How often to upload generated audit files.
- *
- * Generated from protobuf field .google.protobuf.Duration upload_interval = 4;
- */
- protected $upload_interval = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always sql#sqlServerAuditConfig
- * @type string $bucket
- * The name of the destination bucket (e.g., gs://mybucket).
- * @type \Google\Protobuf\Duration $retention_interval
- * How long to keep generated audit files.
- * @type \Google\Protobuf\Duration $upload_interval
- * How often to upload generated audit files.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always sql#sqlServerAuditConfig
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always sql#sqlServerAuditConfig
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The name of the destination bucket (e.g., gs://mybucket).
- *
- * Generated from protobuf field string bucket = 2;
- * @return string
- */
- public function getBucket()
- {
- return $this->bucket;
- }
-
- /**
- * The name of the destination bucket (e.g., gs://mybucket).
- *
- * Generated from protobuf field string bucket = 2;
- * @param string $var
- * @return $this
- */
- public function setBucket($var)
- {
- GPBUtil::checkString($var, True);
- $this->bucket = $var;
-
- return $this;
- }
-
- /**
- * How long to keep generated audit files.
- *
- * Generated from protobuf field .google.protobuf.Duration retention_interval = 3;
- * @return \Google\Protobuf\Duration|null
- */
- public function getRetentionInterval()
- {
- return $this->retention_interval;
- }
-
- public function hasRetentionInterval()
- {
- return isset($this->retention_interval);
- }
-
- public function clearRetentionInterval()
- {
- unset($this->retention_interval);
- }
-
- /**
- * How long to keep generated audit files.
- *
- * Generated from protobuf field .google.protobuf.Duration retention_interval = 3;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setRetentionInterval($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->retention_interval = $var;
-
- return $this;
- }
-
- /**
- * How often to upload generated audit files.
- *
- * Generated from protobuf field .google.protobuf.Duration upload_interval = 4;
- * @return \Google\Protobuf\Duration|null
- */
- public function getUploadInterval()
- {
- return $this->upload_interval;
- }
-
- public function hasUploadInterval()
- {
- return isset($this->upload_interval);
- }
-
- public function clearUploadInterval()
- {
- unset($this->upload_interval);
- }
-
- /**
- * How often to upload generated audit files.
- *
- * Generated from protobuf field .google.protobuf.Duration upload_interval = 4;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setUploadInterval($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->upload_interval = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlServerDatabaseDetails.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlServerDatabaseDetails.php
deleted file mode 100644
index 98d2b10fb0aa..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlServerDatabaseDetails.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlServerDatabaseDetails
- */
-class SqlServerDatabaseDetails extends \Google\Protobuf\Internal\Message
-{
- /**
- * The version of SQL Server with which the database is to be made compatible
- *
- * Generated from protobuf field int32 compatibility_level = 1;
- */
- protected $compatibility_level = 0;
- /**
- * The recovery model of a SQL Server database
- *
- * Generated from protobuf field string recovery_model = 2;
- */
- protected $recovery_model = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $compatibility_level
- * The version of SQL Server with which the database is to be made compatible
- * @type string $recovery_model
- * The recovery model of a SQL Server database
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The version of SQL Server with which the database is to be made compatible
- *
- * Generated from protobuf field int32 compatibility_level = 1;
- * @return int
- */
- public function getCompatibilityLevel()
- {
- return $this->compatibility_level;
- }
-
- /**
- * The version of SQL Server with which the database is to be made compatible
- *
- * Generated from protobuf field int32 compatibility_level = 1;
- * @param int $var
- * @return $this
- */
- public function setCompatibilityLevel($var)
- {
- GPBUtil::checkInt32($var);
- $this->compatibility_level = $var;
-
- return $this;
- }
-
- /**
- * The recovery model of a SQL Server database
- *
- * Generated from protobuf field string recovery_model = 2;
- * @return string
- */
- public function getRecoveryModel()
- {
- return $this->recovery_model;
- }
-
- /**
- * The recovery model of a SQL Server database
- *
- * Generated from protobuf field string recovery_model = 2;
- * @param string $var
- * @return $this
- */
- public function setRecoveryModel($var)
- {
- GPBUtil::checkString($var, True);
- $this->recovery_model = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlServerUserDetails.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlServerUserDetails.php
deleted file mode 100644
index 3b85c94c2bab..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlServerUserDetails.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SqlServerUserDetails
- */
-class SqlServerUserDetails extends \Google\Protobuf\Internal\Message
-{
- /**
- * If the user has been disabled
- *
- * Generated from protobuf field bool disabled = 1;
- */
- protected $disabled = false;
- /**
- * The server roles for this user
- *
- * Generated from protobuf field repeated string server_roles = 2;
- */
- private $server_roles;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $disabled
- * If the user has been disabled
- * @type array|\Google\Protobuf\Internal\RepeatedField $server_roles
- * The server roles for this user
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * If the user has been disabled
- *
- * Generated from protobuf field bool disabled = 1;
- * @return bool
- */
- public function getDisabled()
- {
- return $this->disabled;
- }
-
- /**
- * If the user has been disabled
- *
- * Generated from protobuf field bool disabled = 1;
- * @param bool $var
- * @return $this
- */
- public function setDisabled($var)
- {
- GPBUtil::checkBool($var);
- $this->disabled = $var;
-
- return $this;
- }
-
- /**
- * The server roles for this user
- *
- * Generated from protobuf field repeated string server_roles = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getServerRoles()
- {
- return $this->server_roles;
- }
-
- /**
- * The server roles for this user
- *
- * Generated from protobuf field repeated string server_roles = 2;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setServerRoles($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->server_roles = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSslCertsDeleteRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSslCertsDeleteRequest.php
deleted file mode 100644
index 56c21ca3bac9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSslCertsDeleteRequest.php
+++ /dev/null
@@ -1,133 +0,0 @@
-google.cloud.sql.v1.SqlSslCertsDeleteRequest
- */
-class SqlSslCertsDeleteRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Sha1 FingerPrint.
- *
- * Generated from protobuf field string sha1_fingerprint = 3;
- */
- protected $sha1_fingerprint = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type string $sha1_fingerprint
- * Sha1 FingerPrint.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlSslCerts::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Sha1 FingerPrint.
- *
- * Generated from protobuf field string sha1_fingerprint = 3;
- * @return string
- */
- public function getSha1Fingerprint()
- {
- return $this->sha1_fingerprint;
- }
-
- /**
- * Sha1 FingerPrint.
- *
- * Generated from protobuf field string sha1_fingerprint = 3;
- * @param string $var
- * @return $this
- */
- public function setSha1Fingerprint($var)
- {
- GPBUtil::checkString($var, True);
- $this->sha1_fingerprint = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSslCertsGetRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSslCertsGetRequest.php
deleted file mode 100644
index bf1d185a176f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSslCertsGetRequest.php
+++ /dev/null
@@ -1,133 +0,0 @@
-google.cloud.sql.v1.SqlSslCertsGetRequest
- */
-class SqlSslCertsGetRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Sha1 FingerPrint.
- *
- * Generated from protobuf field string sha1_fingerprint = 3;
- */
- protected $sha1_fingerprint = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type string $sha1_fingerprint
- * Sha1 FingerPrint.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlSslCerts::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Sha1 FingerPrint.
- *
- * Generated from protobuf field string sha1_fingerprint = 3;
- * @return string
- */
- public function getSha1Fingerprint()
- {
- return $this->sha1_fingerprint;
- }
-
- /**
- * Sha1 FingerPrint.
- *
- * Generated from protobuf field string sha1_fingerprint = 3;
- * @param string $var
- * @return $this
- */
- public function setSha1Fingerprint($var)
- {
- GPBUtil::checkString($var, True);
- $this->sha1_fingerprint = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSslCertsInsertRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSslCertsInsertRequest.php
deleted file mode 100644
index 534e0d079f27..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSslCertsInsertRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1.SqlSslCertsInsertRequest
- */
-class SqlSslCertsInsertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.SslCertsInsertRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\SslCertsInsertRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlSslCerts::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.SslCertsInsertRequest body = 100;
- * @return \Google\Cloud\Sql\V1\SslCertsInsertRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.SslCertsInsertRequest body = 100;
- * @param \Google\Cloud\Sql\V1\SslCertsInsertRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SslCertsInsertRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSslCertsListRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSslCertsListRequest.php
deleted file mode 100644
index 1d17b4d8f053..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSslCertsListRequest.php
+++ /dev/null
@@ -1,99 +0,0 @@
-google.cloud.sql.v1.SqlSslCertsListRequest
- */
-class SqlSslCertsListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlSslCerts::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSuspensionReason.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSuspensionReason.php
deleted file mode 100644
index 0cd862973ac3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlSuspensionReason.php
+++ /dev/null
@@ -1,78 +0,0 @@
-google.cloud.sql.v1.SqlSuspensionReason
- */
-class SqlSuspensionReason
-{
- /**
- * This is an unknown suspension reason.
- *
- * Generated from protobuf enum SQL_SUSPENSION_REASON_UNSPECIFIED = 0;
- */
- const SQL_SUSPENSION_REASON_UNSPECIFIED = 0;
- /**
- * The instance is suspended due to billing issues (for example:, GCP account
- * issue)
- *
- * Generated from protobuf enum BILLING_ISSUE = 2;
- */
- const BILLING_ISSUE = 2;
- /**
- * The instance is suspended due to illegal content (for example:, child
- * pornography, copyrighted material, etc.).
- *
- * Generated from protobuf enum LEGAL_ISSUE = 3;
- */
- const LEGAL_ISSUE = 3;
- /**
- * The instance is causing operational issues (for example:, causing the
- * database to crash).
- *
- * Generated from protobuf enum OPERATIONAL_ISSUE = 4;
- */
- const OPERATIONAL_ISSUE = 4;
- /**
- * The KMS key used by the instance is either revoked or denied access to
- *
- * Generated from protobuf enum KMS_KEY_ISSUE = 5;
- */
- const KMS_KEY_ISSUE = 5;
-
- private static $valueToName = [
- self::SQL_SUSPENSION_REASON_UNSPECIFIED => 'SQL_SUSPENSION_REASON_UNSPECIFIED',
- self::BILLING_ISSUE => 'BILLING_ISSUE',
- self::LEGAL_ISSUE => 'LEGAL_ISSUE',
- self::OPERATIONAL_ISSUE => 'OPERATIONAL_ISSUE',
- self::KMS_KEY_ISSUE => 'KMS_KEY_ISSUE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlTiersListRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlTiersListRequest.php
deleted file mode 100644
index 37497ea9de91..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlTiersListRequest.php
+++ /dev/null
@@ -1,67 +0,0 @@
-google.cloud.sql.v1.SqlTiersListRequest
- */
-class SqlTiersListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Project ID of the project for which to list tiers.
- *
- * Generated from protobuf field string project = 1;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $project
- * Project ID of the project for which to list tiers.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlTiers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Project ID of the project for which to list tiers.
- *
- * Generated from protobuf field string project = 1;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project for which to list tiers.
- *
- * Generated from protobuf field string project = 1;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUpdateTrack.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUpdateTrack.php
deleted file mode 100644
index 88e415c33b22..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUpdateTrack.php
+++ /dev/null
@@ -1,73 +0,0 @@
-google.cloud.sql.v1.SqlUpdateTrack
- */
-class SqlUpdateTrack
-{
- /**
- * This is an unknown maintenance timing preference.
- *
- * Generated from protobuf enum SQL_UPDATE_TRACK_UNSPECIFIED = 0;
- */
- const SQL_UPDATE_TRACK_UNSPECIFIED = 0;
- /**
- * For instance update that requires a restart, this update track indicates
- * your instance prefer to restart for new version early in maintenance
- * window.
- *
- * Generated from protobuf enum canary = 1;
- */
- const canary = 1;
- /**
- * For instance update that requires a restart, this update track indicates
- * your instance prefer to let Cloud SQL choose the timing of restart (within
- * its Maintenance window, if applicable).
- *
- * Generated from protobuf enum stable = 2;
- */
- const stable = 2;
- /**
- * For instance update that requires a restart, this update track indicates
- * your instance prefer to let Cloud SQL choose the timing of restart (within
- * its Maintenance window, if applicable) to be at least 5 weeks after the
- * notification.
- *
- * Generated from protobuf enum week5 = 3;
- */
- const week5 = 3;
-
- private static $valueToName = [
- self::SQL_UPDATE_TRACK_UNSPECIFIED => 'SQL_UPDATE_TRACK_UNSPECIFIED',
- self::canary => 'canary',
- self::stable => 'stable',
- self::week5 => 'week5',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersDeleteRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersDeleteRequest.php
deleted file mode 100644
index 5c934f9681fb..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersDeleteRequest.php
+++ /dev/null
@@ -1,167 +0,0 @@
-google.cloud.sql.v1.SqlUsersDeleteRequest
- */
-class SqlUsersDeleteRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Host of the user in the instance.
- *
- * Generated from protobuf field string host = 1;
- */
- protected $host = '';
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- */
- protected $instance = '';
- /**
- * Name of the user in the instance.
- *
- * Generated from protobuf field string name = 3;
- */
- protected $name = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $host
- * Host of the user in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $name
- * Name of the user in the instance.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Host of the user in the instance.
- *
- * Generated from protobuf field string host = 1;
- * @return string
- */
- public function getHost()
- {
- return $this->host;
- }
-
- /**
- * Host of the user in the instance.
- *
- * Generated from protobuf field string host = 1;
- * @param string $var
- * @return $this
- */
- public function setHost($var)
- {
- GPBUtil::checkString($var, True);
- $this->host = $var;
-
- return $this;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Name of the user in the instance.
- *
- * Generated from protobuf field string name = 3;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Name of the user in the instance.
- *
- * Generated from protobuf field string name = 3;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersGetRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersGetRequest.php
deleted file mode 100644
index b018b7342a5e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersGetRequest.php
+++ /dev/null
@@ -1,169 +0,0 @@
-google.cloud.sql.v1.SqlUsersGetRequest
- */
-class SqlUsersGetRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * User of the instance.
- *
- * Generated from protobuf field string name = 2;
- */
- protected $name = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- */
- protected $project = '';
- /**
- * Host of a user of the instance.
- *
- * Generated from protobuf field string host = 4;
- */
- protected $host = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $name
- * User of the instance.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type string $host
- * Host of a user of the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * User of the instance.
- *
- * Generated from protobuf field string name = 2;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * User of the instance.
- *
- * Generated from protobuf field string name = 2;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Host of a user of the instance.
- *
- * Generated from protobuf field string host = 4;
- * @return string
- */
- public function getHost()
- {
- return $this->host;
- }
-
- /**
- * Host of a user of the instance.
- *
- * Generated from protobuf field string host = 4;
- * @param string $var
- * @return $this
- */
- public function setHost($var)
- {
- GPBUtil::checkString($var, True);
- $this->host = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersInsertRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersInsertRequest.php
deleted file mode 100644
index 98e3d15e852a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersInsertRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1.SqlUsersInsertRequest
- */
-class SqlUsersInsertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.User body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\User $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.User body = 100;
- * @return \Google\Cloud\Sql\V1\User|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.User body = 100;
- * @param \Google\Cloud\Sql\V1\User $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\User::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersListRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersListRequest.php
deleted file mode 100644
index 5b1872f2a7c5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersListRequest.php
+++ /dev/null
@@ -1,99 +0,0 @@
-google.cloud.sql.v1.SqlUsersListRequest
- */
-class SqlUsersListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersUpdateRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersUpdateRequest.php
deleted file mode 100644
index b1e560c6a665..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SqlUsersUpdateRequest.php
+++ /dev/null
@@ -1,204 +0,0 @@
-google.cloud.sql.v1.SqlUsersUpdateRequest
- */
-class SqlUsersUpdateRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Optional. Host of the user in the instance.
- *
- * Generated from protobuf field string host = 1 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $host = '';
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- */
- protected $instance = '';
- /**
- * Name of the user in the instance.
- *
- * Generated from protobuf field string name = 3;
- */
- protected $name = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1.User body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $host
- * Optional. Host of the user in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $name
- * Name of the user in the instance.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1\User $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Optional. Host of the user in the instance.
- *
- * Generated from protobuf field string host = 1 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getHost()
- {
- return $this->host;
- }
-
- /**
- * Optional. Host of the user in the instance.
- *
- * Generated from protobuf field string host = 1 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setHost($var)
- {
- GPBUtil::checkString($var, True);
- $this->host = $var;
-
- return $this;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Name of the user in the instance.
- *
- * Generated from protobuf field string name = 3;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Name of the user in the instance.
- *
- * Generated from protobuf field string name = 3;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.User body = 100;
- * @return \Google\Cloud\Sql\V1\User|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.User body = 100;
- * @param \Google\Cloud\Sql\V1\User $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\User::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCert.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCert.php
deleted file mode 100644
index 1f6d18839eeb..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCert.php
+++ /dev/null
@@ -1,375 +0,0 @@
-google.cloud.sql.v1.SslCert
- */
-class SslCert extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#sslCert`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Serial number, as extracted from the certificate.
- *
- * Generated from protobuf field string cert_serial_number = 2;
- */
- protected $cert_serial_number = '';
- /**
- * PEM representation.
- *
- * Generated from protobuf field string cert = 3;
- */
- protected $cert = '';
- /**
- * The time when the certificate was created in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 4;
- */
- protected $create_time = null;
- /**
- * User supplied name. Constrained to [a-zA-Z.-_ ]+.
- *
- * Generated from protobuf field string common_name = 5;
- */
- protected $common_name = '';
- /**
- * The time when the certificate expires in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expiration_time = 6;
- */
- protected $expiration_time = null;
- /**
- * Sha1 Fingerprint.
- *
- * Generated from protobuf field string sha1_fingerprint = 7;
- */
- protected $sha1_fingerprint = '';
- /**
- * Name of the database instance.
- *
- * Generated from protobuf field string instance = 8;
- */
- protected $instance = '';
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 9;
- */
- protected $self_link = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#sslCert`.
- * @type string $cert_serial_number
- * Serial number, as extracted from the certificate.
- * @type string $cert
- * PEM representation.
- * @type \Google\Protobuf\Timestamp $create_time
- * The time when the certificate was created in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`
- * @type string $common_name
- * User supplied name. Constrained to [a-zA-Z.-_ ]+.
- * @type \Google\Protobuf\Timestamp $expiration_time
- * The time when the certificate expires in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type string $sha1_fingerprint
- * Sha1 Fingerprint.
- * @type string $instance
- * Name of the database instance.
- * @type string $self_link
- * The URI of this resource.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#sslCert`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#sslCert`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Serial number, as extracted from the certificate.
- *
- * Generated from protobuf field string cert_serial_number = 2;
- * @return string
- */
- public function getCertSerialNumber()
- {
- return $this->cert_serial_number;
- }
-
- /**
- * Serial number, as extracted from the certificate.
- *
- * Generated from protobuf field string cert_serial_number = 2;
- * @param string $var
- * @return $this
- */
- public function setCertSerialNumber($var)
- {
- GPBUtil::checkString($var, True);
- $this->cert_serial_number = $var;
-
- return $this;
- }
-
- /**
- * PEM representation.
- *
- * Generated from protobuf field string cert = 3;
- * @return string
- */
- public function getCert()
- {
- return $this->cert;
- }
-
- /**
- * PEM representation.
- *
- * Generated from protobuf field string cert = 3;
- * @param string $var
- * @return $this
- */
- public function setCert($var)
- {
- GPBUtil::checkString($var, True);
- $this->cert = $var;
-
- return $this;
- }
-
- /**
- * The time when the certificate was created in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 4;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- public function hasCreateTime()
- {
- return isset($this->create_time);
- }
-
- public function clearCreateTime()
- {
- unset($this->create_time);
- }
-
- /**
- * The time when the certificate was created in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 4;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setCreateTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->create_time = $var;
-
- return $this;
- }
-
- /**
- * User supplied name. Constrained to [a-zA-Z.-_ ]+.
- *
- * Generated from protobuf field string common_name = 5;
- * @return string
- */
- public function getCommonName()
- {
- return $this->common_name;
- }
-
- /**
- * User supplied name. Constrained to [a-zA-Z.-_ ]+.
- *
- * Generated from protobuf field string common_name = 5;
- * @param string $var
- * @return $this
- */
- public function setCommonName($var)
- {
- GPBUtil::checkString($var, True);
- $this->common_name = $var;
-
- return $this;
- }
-
- /**
- * The time when the certificate expires in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expiration_time = 6;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getExpirationTime()
- {
- return $this->expiration_time;
- }
-
- public function hasExpirationTime()
- {
- return isset($this->expiration_time);
- }
-
- public function clearExpirationTime()
- {
- unset($this->expiration_time);
- }
-
- /**
- * The time when the certificate expires in [RFC
- * 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expiration_time = 6;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setExpirationTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->expiration_time = $var;
-
- return $this;
- }
-
- /**
- * Sha1 Fingerprint.
- *
- * Generated from protobuf field string sha1_fingerprint = 7;
- * @return string
- */
- public function getSha1Fingerprint()
- {
- return $this->sha1_fingerprint;
- }
-
- /**
- * Sha1 Fingerprint.
- *
- * Generated from protobuf field string sha1_fingerprint = 7;
- * @param string $var
- * @return $this
- */
- public function setSha1Fingerprint($var)
- {
- GPBUtil::checkString($var, True);
- $this->sha1_fingerprint = $var;
-
- return $this;
- }
-
- /**
- * Name of the database instance.
- *
- * Generated from protobuf field string instance = 8;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Name of the database instance.
- *
- * Generated from protobuf field string instance = 8;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 9;
- * @return string
- */
- public function getSelfLink()
- {
- return $this->self_link;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 9;
- * @param string $var
- * @return $this
- */
- public function setSelfLink($var)
- {
- GPBUtil::checkString($var, True);
- $this->self_link = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertDetail.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertDetail.php
deleted file mode 100644
index 4d9eb12d3397..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertDetail.php
+++ /dev/null
@@ -1,115 +0,0 @@
-google.cloud.sql.v1.SslCertDetail
- */
-class SslCertDetail extends \Google\Protobuf\Internal\Message
-{
- /**
- * The public information about the cert.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert cert_info = 1;
- */
- protected $cert_info = null;
- /**
- * The private key for the client cert, in pem format. Keep private in order
- * to protect your security.
- *
- * Generated from protobuf field string cert_private_key = 2;
- */
- protected $cert_private_key = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1\SslCert $cert_info
- * The public information about the cert.
- * @type string $cert_private_key
- * The private key for the client cert, in pem format. Keep private in order
- * to protect your security.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The public information about the cert.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert cert_info = 1;
- * @return \Google\Cloud\Sql\V1\SslCert|null
- */
- public function getCertInfo()
- {
- return $this->cert_info;
- }
-
- public function hasCertInfo()
- {
- return isset($this->cert_info);
- }
-
- public function clearCertInfo()
- {
- unset($this->cert_info);
- }
-
- /**
- * The public information about the cert.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert cert_info = 1;
- * @param \Google\Cloud\Sql\V1\SslCert $var
- * @return $this
- */
- public function setCertInfo($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SslCert::class);
- $this->cert_info = $var;
-
- return $this;
- }
-
- /**
- * The private key for the client cert, in pem format. Keep private in order
- * to protect your security.
- *
- * Generated from protobuf field string cert_private_key = 2;
- * @return string
- */
- public function getCertPrivateKey()
- {
- return $this->cert_private_key;
- }
-
- /**
- * The private key for the client cert, in pem format. Keep private in order
- * to protect your security.
- *
- * Generated from protobuf field string cert_private_key = 2;
- * @param string $var
- * @return $this
- */
- public function setCertPrivateKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->cert_private_key = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertsCreateEphemeralRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertsCreateEphemeralRequest.php
deleted file mode 100644
index 3652c5694a2a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertsCreateEphemeralRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SslCertsCreateEphemeralRequest
- */
-class SslCertsCreateEphemeralRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * PEM encoded public key to include in the signed certificate.
- *
- * Generated from protobuf field string public_key = 1;
- */
- protected $public_key = '';
- /**
- * Access token to include in the signed certificate.
- *
- * Generated from protobuf field string access_token = 2;
- */
- protected $access_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $public_key
- * PEM encoded public key to include in the signed certificate.
- * @type string $access_token
- * Access token to include in the signed certificate.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * PEM encoded public key to include in the signed certificate.
- *
- * Generated from protobuf field string public_key = 1;
- * @return string
- */
- public function getPublicKey()
- {
- return $this->public_key;
- }
-
- /**
- * PEM encoded public key to include in the signed certificate.
- *
- * Generated from protobuf field string public_key = 1;
- * @param string $var
- * @return $this
- */
- public function setPublicKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->public_key = $var;
-
- return $this;
- }
-
- /**
- * Access token to include in the signed certificate.
- *
- * Generated from protobuf field string access_token = 2;
- * @return string
- */
- public function getAccessToken()
- {
- return $this->access_token;
- }
-
- /**
- * Access token to include in the signed certificate.
- *
- * Generated from protobuf field string access_token = 2;
- * @param string $var
- * @return $this
- */
- public function setAccessToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->access_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertsInsertRequest.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertsInsertRequest.php
deleted file mode 100644
index ee4048262803..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertsInsertRequest.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.cloud.sql.v1.SslCertsInsertRequest
- */
-class SslCertsInsertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * User supplied name. Must be a distinct name from the other certificates
- * for this instance.
- *
- * Generated from protobuf field string common_name = 1;
- */
- protected $common_name = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $common_name
- * User supplied name. Must be a distinct name from the other certificates
- * for this instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlSslCerts::initOnce();
- parent::__construct($data);
- }
-
- /**
- * User supplied name. Must be a distinct name from the other certificates
- * for this instance.
- *
- * Generated from protobuf field string common_name = 1;
- * @return string
- */
- public function getCommonName()
- {
- return $this->common_name;
- }
-
- /**
- * User supplied name. Must be a distinct name from the other certificates
- * for this instance.
- *
- * Generated from protobuf field string common_name = 1;
- * @param string $var
- * @return $this
- */
- public function setCommonName($var)
- {
- GPBUtil::checkString($var, True);
- $this->common_name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertsInsertResponse.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertsInsertResponse.php
deleted file mode 100644
index 8c78bd59278f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertsInsertResponse.php
+++ /dev/null
@@ -1,207 +0,0 @@
-google.cloud.sql.v1.SslCertsInsertResponse
- */
-class SslCertsInsertResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#sslCertsInsert`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The operation to track the ssl certs insert request.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Operation operation = 2;
- */
- protected $operation = null;
- /**
- * The server Certificate Authority's certificate. If this is missing you can
- * force a new one to be generated by calling resetSslConfig method on
- * instances resource.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert server_ca_cert = 3;
- */
- protected $server_ca_cert = null;
- /**
- * The new client certificate and private key.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCertDetail client_cert = 4;
- */
- protected $client_cert = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#sslCertsInsert`.
- * @type \Google\Cloud\Sql\V1\Operation $operation
- * The operation to track the ssl certs insert request.
- * @type \Google\Cloud\Sql\V1\SslCert $server_ca_cert
- * The server Certificate Authority's certificate. If this is missing you can
- * force a new one to be generated by calling resetSslConfig method on
- * instances resource.
- * @type \Google\Cloud\Sql\V1\SslCertDetail $client_cert
- * The new client certificate and private key.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlSslCerts::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#sslCertsInsert`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#sslCertsInsert`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The operation to track the ssl certs insert request.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Operation operation = 2;
- * @return \Google\Cloud\Sql\V1\Operation|null
- */
- public function getOperation()
- {
- return $this->operation;
- }
-
- public function hasOperation()
- {
- return isset($this->operation);
- }
-
- public function clearOperation()
- {
- unset($this->operation);
- }
-
- /**
- * The operation to track the ssl certs insert request.
- *
- * Generated from protobuf field .google.cloud.sql.v1.Operation operation = 2;
- * @param \Google\Cloud\Sql\V1\Operation $var
- * @return $this
- */
- public function setOperation($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\Operation::class);
- $this->operation = $var;
-
- return $this;
- }
-
- /**
- * The server Certificate Authority's certificate. If this is missing you can
- * force a new one to be generated by calling resetSslConfig method on
- * instances resource.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert server_ca_cert = 3;
- * @return \Google\Cloud\Sql\V1\SslCert|null
- */
- public function getServerCaCert()
- {
- return $this->server_ca_cert;
- }
-
- public function hasServerCaCert()
- {
- return isset($this->server_ca_cert);
- }
-
- public function clearServerCaCert()
- {
- unset($this->server_ca_cert);
- }
-
- /**
- * The server Certificate Authority's certificate. If this is missing you can
- * force a new one to be generated by calling resetSslConfig method on
- * instances resource.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCert server_ca_cert = 3;
- * @param \Google\Cloud\Sql\V1\SslCert $var
- * @return $this
- */
- public function setServerCaCert($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SslCert::class);
- $this->server_ca_cert = $var;
-
- return $this;
- }
-
- /**
- * The new client certificate and private key.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCertDetail client_cert = 4;
- * @return \Google\Cloud\Sql\V1\SslCertDetail|null
- */
- public function getClientCert()
- {
- return $this->client_cert;
- }
-
- public function hasClientCert()
- {
- return isset($this->client_cert);
- }
-
- public function clearClientCert()
- {
- unset($this->client_cert);
- }
-
- /**
- * The new client certificate and private key.
- *
- * Generated from protobuf field .google.cloud.sql.v1.SslCertDetail client_cert = 4;
- * @param \Google\Cloud\Sql\V1\SslCertDetail $var
- * @return $this
- */
- public function setClientCert($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SslCertDetail::class);
- $this->client_cert = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertsListResponse.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertsListResponse.php
deleted file mode 100644
index 7ecb980459f4..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SslCertsListResponse.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.SslCertsListResponse
- */
-class SslCertsListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#sslCertsList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of client certificates for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SslCert items = 2;
- */
- private $items;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#sslCertsList`.
- * @type array<\Google\Cloud\Sql\V1\SslCert>|\Google\Protobuf\Internal\RepeatedField $items
- * List of client certificates for the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlSslCerts::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#sslCertsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#sslCertsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of client certificates for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SslCert items = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * List of client certificates for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.SslCert items = 2;
- * @param array<\Google\Cloud\Sql\V1\SslCert>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\SslCert::class);
- $this->items = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SyncFlags.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SyncFlags.php
deleted file mode 100644
index cf7b01c0902d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/SyncFlags.php
+++ /dev/null
@@ -1,106 +0,0 @@
-google.cloud.sql.v1.SyncFlags
- */
-class SyncFlags extends \Google\Protobuf\Internal\Message
-{
- /**
- * The name of the flag.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The value of the flag. This field must be omitted if the flag
- * doesn't take a value.
- *
- * Generated from protobuf field string value = 2;
- */
- protected $value = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The name of the flag.
- * @type string $value
- * The value of the flag. This field must be omitted if the flag
- * doesn't take a value.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The name of the flag.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the flag.
- *
- * Generated from protobuf field string name = 1;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The value of the flag. This field must be omitted if the flag
- * doesn't take a value.
- *
- * Generated from protobuf field string value = 2;
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The value of the flag. This field must be omitted if the flag
- * doesn't take a value.
- *
- * Generated from protobuf field string value = 2;
- * @param string $var
- * @return $this
- */
- public function setValue($var)
- {
- GPBUtil::checkString($var, True);
- $this->value = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Tier.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Tier.php
deleted file mode 100644
index 7be60ec5d8bd..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/Tier.php
+++ /dev/null
@@ -1,207 +0,0 @@
-google.cloud.sql.v1.Tier
- */
-class Tier extends \Google\Protobuf\Internal\Message
-{
- /**
- * An identifier for the machine type, for example, `db-custom-1-3840`. For
- * related information, see [Pricing](/sql/pricing).
- *
- * Generated from protobuf field string tier = 1;
- */
- protected $tier = '';
- /**
- * The maximum RAM usage of this tier in bytes.
- *
- * Generated from protobuf field int64 RAM = 2;
- */
- protected $RAM = 0;
- /**
- * This is always `sql#tier`.
- *
- * Generated from protobuf field string kind = 3;
- */
- protected $kind = '';
- /**
- * The maximum disk size of this tier in bytes.
- *
- * Generated from protobuf field int64 Disk_Quota = 4;
- */
- protected $Disk_Quota = 0;
- /**
- * The applicable regions for this tier.
- *
- * Generated from protobuf field repeated string region = 5;
- */
- private $region;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $tier
- * An identifier for the machine type, for example, `db-custom-1-3840`. For
- * related information, see [Pricing](/sql/pricing).
- * @type int|string $RAM
- * The maximum RAM usage of this tier in bytes.
- * @type string $kind
- * This is always `sql#tier`.
- * @type int|string $Disk_Quota
- * The maximum disk size of this tier in bytes.
- * @type array|\Google\Protobuf\Internal\RepeatedField $region
- * The applicable regions for this tier.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlTiers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * An identifier for the machine type, for example, `db-custom-1-3840`. For
- * related information, see [Pricing](/sql/pricing).
- *
- * Generated from protobuf field string tier = 1;
- * @return string
- */
- public function getTier()
- {
- return $this->tier;
- }
-
- /**
- * An identifier for the machine type, for example, `db-custom-1-3840`. For
- * related information, see [Pricing](/sql/pricing).
- *
- * Generated from protobuf field string tier = 1;
- * @param string $var
- * @return $this
- */
- public function setTier($var)
- {
- GPBUtil::checkString($var, True);
- $this->tier = $var;
-
- return $this;
- }
-
- /**
- * The maximum RAM usage of this tier in bytes.
- *
- * Generated from protobuf field int64 RAM = 2;
- * @return int|string
- */
- public function getRAM()
- {
- return $this->RAM;
- }
-
- /**
- * The maximum RAM usage of this tier in bytes.
- *
- * Generated from protobuf field int64 RAM = 2;
- * @param int|string $var
- * @return $this
- */
- public function setRAM($var)
- {
- GPBUtil::checkInt64($var);
- $this->RAM = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#tier`.
- *
- * Generated from protobuf field string kind = 3;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#tier`.
- *
- * Generated from protobuf field string kind = 3;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The maximum disk size of this tier in bytes.
- *
- * Generated from protobuf field int64 Disk_Quota = 4;
- * @return int|string
- */
- public function getDiskQuota()
- {
- return $this->Disk_Quota;
- }
-
- /**
- * The maximum disk size of this tier in bytes.
- *
- * Generated from protobuf field int64 Disk_Quota = 4;
- * @param int|string $var
- * @return $this
- */
- public function setDiskQuota($var)
- {
- GPBUtil::checkInt64($var);
- $this->Disk_Quota = $var;
-
- return $this;
- }
-
- /**
- * The applicable regions for this tier.
- *
- * Generated from protobuf field repeated string region = 5;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRegion()
- {
- return $this->region;
- }
-
- /**
- * The applicable regions for this tier.
- *
- * Generated from protobuf field repeated string region = 5;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setRegion($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->region = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/TiersListResponse.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/TiersListResponse.php
deleted file mode 100644
index f43549e0960f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/TiersListResponse.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1.TiersListResponse
- */
-class TiersListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#tiersList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of tiers.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.Tier items = 2;
- */
- private $items;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#tiersList`.
- * @type array<\Google\Cloud\Sql\V1\Tier>|\Google\Protobuf\Internal\RepeatedField $items
- * List of tiers.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlTiers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#tiersList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#tiersList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of tiers.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.Tier items = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * List of tiers.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.Tier items = 2;
- * @param array<\Google\Cloud\Sql\V1\Tier>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\Tier::class);
- $this->items = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/TruncateLogContext.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/TruncateLogContext.php
deleted file mode 100644
index e97d8dbfdb71..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/TruncateLogContext.php
+++ /dev/null
@@ -1,105 +0,0 @@
-google.cloud.sql.v1.TruncateLogContext
- */
-class TruncateLogContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#truncateLogContext`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and
- * `MYSQL_SLOW_TABLE`.
- *
- * Generated from protobuf field string log_type = 2;
- */
- protected $log_type = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#truncateLogContext`.
- * @type string $log_type
- * The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and
- * `MYSQL_SLOW_TABLE`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#truncateLogContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#truncateLogContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and
- * `MYSQL_SLOW_TABLE`.
- *
- * Generated from protobuf field string log_type = 2;
- * @return string
- */
- public function getLogType()
- {
- return $this->log_type;
- }
-
- /**
- * The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and
- * `MYSQL_SLOW_TABLE`.
- *
- * Generated from protobuf field string log_type = 2;
- * @param string $var
- * @return $this
- */
- public function setLogType($var)
- {
- GPBUtil::checkString($var, True);
- $this->log_type = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/User.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/User.php
deleted file mode 100644
index d77a1fd3563c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/User.php
+++ /dev/null
@@ -1,474 +0,0 @@
-google.cloud.sql.v1.User
- */
-class User extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#user`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The password for the user.
- *
- * Generated from protobuf field string password = 2;
- */
- protected $password = '';
- /**
- * This field is deprecated and will be removed from a future version of the
- * API.
- *
- * Generated from protobuf field string etag = 3;
- */
- protected $etag = '';
- /**
- * The name of the user in the Cloud SQL instance. Can be omitted for
- * `update` because it is already specified in the URL.
- *
- * Generated from protobuf field string name = 4;
- */
- protected $name = '';
- /**
- * Optional. The host from which the user can connect. For `insert`
- * operations, host defaults to an empty string. For `update`
- * operations, host is specified as part of the request URL. The host name
- * cannot be updated after insertion. For a MySQL instance, it's required;
- * for a PostgreSQL or SQL Server instance, it's optional.
- *
- * Generated from protobuf field string host = 5 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $host = '';
- /**
- * The name of the Cloud SQL instance. This does not include the project ID.
- * Can be omitted for `update` because it is already specified on the
- * URL.
- *
- * Generated from protobuf field string instance = 6;
- */
- protected $instance = '';
- /**
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable. Can be omitted for `update` because
- * it is already specified on the URL.
- *
- * Generated from protobuf field string project = 7;
- */
- protected $project = '';
- /**
- * The user type. It determines the method to authenticate the user during
- * login. The default is the database's built-in user type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.User.SqlUserType type = 8;
- */
- protected $type = 0;
- /**
- * User level password validation policy.
- *
- * Generated from protobuf field .google.cloud.sql.v1.UserPasswordValidationPolicy password_policy = 12;
- */
- protected $password_policy = null;
- /**
- * Dual password status for the user.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.User.DualPasswordType dual_password_type = 13;
- */
- protected $dual_password_type = null;
- protected $user_details;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#user`.
- * @type string $password
- * The password for the user.
- * @type string $etag
- * This field is deprecated and will be removed from a future version of the
- * API.
- * @type string $name
- * The name of the user in the Cloud SQL instance. Can be omitted for
- * `update` because it is already specified in the URL.
- * @type string $host
- * Optional. The host from which the user can connect. For `insert`
- * operations, host defaults to an empty string. For `update`
- * operations, host is specified as part of the request URL. The host name
- * cannot be updated after insertion. For a MySQL instance, it's required;
- * for a PostgreSQL or SQL Server instance, it's optional.
- * @type string $instance
- * The name of the Cloud SQL instance. This does not include the project ID.
- * Can be omitted for `update` because it is already specified on the
- * URL.
- * @type string $project
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable. Can be omitted for `update` because
- * it is already specified on the URL.
- * @type int $type
- * The user type. It determines the method to authenticate the user during
- * login. The default is the database's built-in user type.
- * @type \Google\Cloud\Sql\V1\SqlServerUserDetails $sqlserver_user_details
- * @type \Google\Cloud\Sql\V1\UserPasswordValidationPolicy $password_policy
- * User level password validation policy.
- * @type int $dual_password_type
- * Dual password status for the user.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#user`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#user`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The password for the user.
- *
- * Generated from protobuf field string password = 2;
- * @return string
- */
- public function getPassword()
- {
- return $this->password;
- }
-
- /**
- * The password for the user.
- *
- * Generated from protobuf field string password = 2;
- * @param string $var
- * @return $this
- */
- public function setPassword($var)
- {
- GPBUtil::checkString($var, True);
- $this->password = $var;
-
- return $this;
- }
-
- /**
- * This field is deprecated and will be removed from a future version of the
- * API.
- *
- * Generated from protobuf field string etag = 3;
- * @return string
- */
- public function getEtag()
- {
- return $this->etag;
- }
-
- /**
- * This field is deprecated and will be removed from a future version of the
- * API.
- *
- * Generated from protobuf field string etag = 3;
- * @param string $var
- * @return $this
- */
- public function setEtag($var)
- {
- GPBUtil::checkString($var, True);
- $this->etag = $var;
-
- return $this;
- }
-
- /**
- * The name of the user in the Cloud SQL instance. Can be omitted for
- * `update` because it is already specified in the URL.
- *
- * Generated from protobuf field string name = 4;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the user in the Cloud SQL instance. Can be omitted for
- * `update` because it is already specified in the URL.
- *
- * Generated from protobuf field string name = 4;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Optional. The host from which the user can connect. For `insert`
- * operations, host defaults to an empty string. For `update`
- * operations, host is specified as part of the request URL. The host name
- * cannot be updated after insertion. For a MySQL instance, it's required;
- * for a PostgreSQL or SQL Server instance, it's optional.
- *
- * Generated from protobuf field string host = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getHost()
- {
- return $this->host;
- }
-
- /**
- * Optional. The host from which the user can connect. For `insert`
- * operations, host defaults to an empty string. For `update`
- * operations, host is specified as part of the request URL. The host name
- * cannot be updated after insertion. For a MySQL instance, it's required;
- * for a PostgreSQL or SQL Server instance, it's optional.
- *
- * Generated from protobuf field string host = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setHost($var)
- {
- GPBUtil::checkString($var, True);
- $this->host = $var;
-
- return $this;
- }
-
- /**
- * The name of the Cloud SQL instance. This does not include the project ID.
- * Can be omitted for `update` because it is already specified on the
- * URL.
- *
- * Generated from protobuf field string instance = 6;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * The name of the Cloud SQL instance. This does not include the project ID.
- * Can be omitted for `update` because it is already specified on the
- * URL.
- *
- * Generated from protobuf field string instance = 6;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable. Can be omitted for `update` because
- * it is already specified on the URL.
- *
- * Generated from protobuf field string project = 7;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable. Can be omitted for `update` because
- * it is already specified on the URL.
- *
- * Generated from protobuf field string project = 7;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * The user type. It determines the method to authenticate the user during
- * login. The default is the database's built-in user type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.User.SqlUserType type = 8;
- * @return int
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * The user type. It determines the method to authenticate the user during
- * login. The default is the database's built-in user type.
- *
- * Generated from protobuf field .google.cloud.sql.v1.User.SqlUserType type = 8;
- * @param int $var
- * @return $this
- */
- public function setType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\User\SqlUserType::class);
- $this->type = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.SqlServerUserDetails sqlserver_user_details = 9;
- * @return \Google\Cloud\Sql\V1\SqlServerUserDetails|null
- */
- public function getSqlserverUserDetails()
- {
- return $this->readOneof(9);
- }
-
- public function hasSqlserverUserDetails()
- {
- return $this->hasOneof(9);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1.SqlServerUserDetails sqlserver_user_details = 9;
- * @param \Google\Cloud\Sql\V1\SqlServerUserDetails $var
- * @return $this
- */
- public function setSqlserverUserDetails($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SqlServerUserDetails::class);
- $this->writeOneof(9, $var);
-
- return $this;
- }
-
- /**
- * User level password validation policy.
- *
- * Generated from protobuf field .google.cloud.sql.v1.UserPasswordValidationPolicy password_policy = 12;
- * @return \Google\Cloud\Sql\V1\UserPasswordValidationPolicy|null
- */
- public function getPasswordPolicy()
- {
- return $this->password_policy;
- }
-
- public function hasPasswordPolicy()
- {
- return isset($this->password_policy);
- }
-
- public function clearPasswordPolicy()
- {
- unset($this->password_policy);
- }
-
- /**
- * User level password validation policy.
- *
- * Generated from protobuf field .google.cloud.sql.v1.UserPasswordValidationPolicy password_policy = 12;
- * @param \Google\Cloud\Sql\V1\UserPasswordValidationPolicy $var
- * @return $this
- */
- public function setPasswordPolicy($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\UserPasswordValidationPolicy::class);
- $this->password_policy = $var;
-
- return $this;
- }
-
- /**
- * Dual password status for the user.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.User.DualPasswordType dual_password_type = 13;
- * @return int
- */
- public function getDualPasswordType()
- {
- return isset($this->dual_password_type) ? $this->dual_password_type : 0;
- }
-
- public function hasDualPasswordType()
- {
- return isset($this->dual_password_type);
- }
-
- public function clearDualPasswordType()
- {
- unset($this->dual_password_type);
- }
-
- /**
- * Dual password status for the user.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1.User.DualPasswordType dual_password_type = 13;
- * @param int $var
- * @return $this
- */
- public function setDualPasswordType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\User\DualPasswordType::class);
- $this->dual_password_type = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getUserDetails()
- {
- return $this->whichOneof("user_details");
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/User/DualPasswordType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/User/DualPasswordType.php
deleted file mode 100644
index 02da08dd9a1f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/User/DualPasswordType.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.cloud.sql.v1.User.DualPasswordType
- */
-class DualPasswordType
-{
- /**
- * The default value.
- *
- * Generated from protobuf enum DUAL_PASSWORD_TYPE_UNSPECIFIED = 0;
- */
- const DUAL_PASSWORD_TYPE_UNSPECIFIED = 0;
- /**
- * Do not update the user's dual password status.
- *
- * Generated from protobuf enum NO_MODIFY_DUAL_PASSWORD = 1;
- */
- const NO_MODIFY_DUAL_PASSWORD = 1;
- /**
- * No dual password usable for connecting using this user.
- *
- * Generated from protobuf enum NO_DUAL_PASSWORD = 2;
- */
- const NO_DUAL_PASSWORD = 2;
- /**
- * Dual password usable for connecting using this user.
- *
- * Generated from protobuf enum DUAL_PASSWORD = 3;
- */
- const DUAL_PASSWORD = 3;
-
- private static $valueToName = [
- self::DUAL_PASSWORD_TYPE_UNSPECIFIED => 'DUAL_PASSWORD_TYPE_UNSPECIFIED',
- self::NO_MODIFY_DUAL_PASSWORD => 'NO_MODIFY_DUAL_PASSWORD',
- self::NO_DUAL_PASSWORD => 'NO_DUAL_PASSWORD',
- self::DUAL_PASSWORD => 'DUAL_PASSWORD',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(DualPasswordType::class, \Google\Cloud\Sql\V1\User_DualPasswordType::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/User/SqlUserType.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/User/SqlUserType.php
deleted file mode 100644
index 4f6c75f172b9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/User/SqlUserType.php
+++ /dev/null
@@ -1,85 +0,0 @@
-google.cloud.sql.v1.User.SqlUserType
- */
-class SqlUserType
-{
- /**
- * The database's built-in user type.
- *
- * Generated from protobuf enum BUILT_IN = 0;
- */
- const BUILT_IN = 0;
- /**
- * Cloud IAM user.
- *
- * Generated from protobuf enum CLOUD_IAM_USER = 1;
- */
- const CLOUD_IAM_USER = 1;
- /**
- * Cloud IAM service account.
- *
- * Generated from protobuf enum CLOUD_IAM_SERVICE_ACCOUNT = 2;
- */
- const CLOUD_IAM_SERVICE_ACCOUNT = 2;
- /**
- * Cloud IAM group non-login user.
- *
- * Generated from protobuf enum CLOUD_IAM_GROUP = 3;
- */
- const CLOUD_IAM_GROUP = 3;
- /**
- * Cloud IAM group login user.
- *
- * Generated from protobuf enum CLOUD_IAM_GROUP_USER = 4;
- */
- const CLOUD_IAM_GROUP_USER = 4;
- /**
- * Cloud IAM group login service account.
- *
- * Generated from protobuf enum CLOUD_IAM_GROUP_SERVICE_ACCOUNT = 5;
- */
- const CLOUD_IAM_GROUP_SERVICE_ACCOUNT = 5;
-
- private static $valueToName = [
- self::BUILT_IN => 'BUILT_IN',
- self::CLOUD_IAM_USER => 'CLOUD_IAM_USER',
- self::CLOUD_IAM_SERVICE_ACCOUNT => 'CLOUD_IAM_SERVICE_ACCOUNT',
- self::CLOUD_IAM_GROUP => 'CLOUD_IAM_GROUP',
- self::CLOUD_IAM_GROUP_USER => 'CLOUD_IAM_GROUP_USER',
- self::CLOUD_IAM_GROUP_SERVICE_ACCOUNT => 'CLOUD_IAM_GROUP_SERVICE_ACCOUNT',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlUserType::class, \Google\Cloud\Sql\V1\User_SqlUserType::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/UserPasswordValidationPolicy.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/UserPasswordValidationPolicy.php
deleted file mode 100644
index 5db3484ac7c2..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/UserPasswordValidationPolicy.php
+++ /dev/null
@@ -1,227 +0,0 @@
-google.cloud.sql.v1.UserPasswordValidationPolicy
- */
-class UserPasswordValidationPolicy extends \Google\Protobuf\Internal\Message
-{
- /**
- * Number of failed login attempts allowed before user get locked.
- *
- * Generated from protobuf field int32 allowed_failed_attempts = 1;
- */
- protected $allowed_failed_attempts = 0;
- /**
- * Expiration duration after password is updated.
- *
- * Generated from protobuf field .google.protobuf.Duration password_expiration_duration = 2;
- */
- protected $password_expiration_duration = null;
- /**
- * If true, failed login attempts check will be enabled.
- *
- * Generated from protobuf field bool enable_failed_attempts_check = 3;
- */
- protected $enable_failed_attempts_check = false;
- /**
- * Output only. Read-only password status.
- *
- * Generated from protobuf field .google.cloud.sql.v1.PasswordStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $status = null;
- /**
- * If true, the user must specify the current password before changing the
- * password. This flag is supported only for MySQL.
- *
- * Generated from protobuf field bool enable_password_verification = 5;
- */
- protected $enable_password_verification = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $allowed_failed_attempts
- * Number of failed login attempts allowed before user get locked.
- * @type \Google\Protobuf\Duration $password_expiration_duration
- * Expiration duration after password is updated.
- * @type bool $enable_failed_attempts_check
- * If true, failed login attempts check will be enabled.
- * @type \Google\Cloud\Sql\V1\PasswordStatus $status
- * Output only. Read-only password status.
- * @type bool $enable_password_verification
- * If true, the user must specify the current password before changing the
- * password. This flag is supported only for MySQL.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Number of failed login attempts allowed before user get locked.
- *
- * Generated from protobuf field int32 allowed_failed_attempts = 1;
- * @return int
- */
- public function getAllowedFailedAttempts()
- {
- return $this->allowed_failed_attempts;
- }
-
- /**
- * Number of failed login attempts allowed before user get locked.
- *
- * Generated from protobuf field int32 allowed_failed_attempts = 1;
- * @param int $var
- * @return $this
- */
- public function setAllowedFailedAttempts($var)
- {
- GPBUtil::checkInt32($var);
- $this->allowed_failed_attempts = $var;
-
- return $this;
- }
-
- /**
- * Expiration duration after password is updated.
- *
- * Generated from protobuf field .google.protobuf.Duration password_expiration_duration = 2;
- * @return \Google\Protobuf\Duration|null
- */
- public function getPasswordExpirationDuration()
- {
- return $this->password_expiration_duration;
- }
-
- public function hasPasswordExpirationDuration()
- {
- return isset($this->password_expiration_duration);
- }
-
- public function clearPasswordExpirationDuration()
- {
- unset($this->password_expiration_duration);
- }
-
- /**
- * Expiration duration after password is updated.
- *
- * Generated from protobuf field .google.protobuf.Duration password_expiration_duration = 2;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setPasswordExpirationDuration($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->password_expiration_duration = $var;
-
- return $this;
- }
-
- /**
- * If true, failed login attempts check will be enabled.
- *
- * Generated from protobuf field bool enable_failed_attempts_check = 3;
- * @return bool
- */
- public function getEnableFailedAttemptsCheck()
- {
- return $this->enable_failed_attempts_check;
- }
-
- /**
- * If true, failed login attempts check will be enabled.
- *
- * Generated from protobuf field bool enable_failed_attempts_check = 3;
- * @param bool $var
- * @return $this
- */
- public function setEnableFailedAttemptsCheck($var)
- {
- GPBUtil::checkBool($var);
- $this->enable_failed_attempts_check = $var;
-
- return $this;
- }
-
- /**
- * Output only. Read-only password status.
- *
- * Generated from protobuf field .google.cloud.sql.v1.PasswordStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Cloud\Sql\V1\PasswordStatus|null
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- public function hasStatus()
- {
- return isset($this->status);
- }
-
- public function clearStatus()
- {
- unset($this->status);
- }
-
- /**
- * Output only. Read-only password status.
- *
- * Generated from protobuf field .google.cloud.sql.v1.PasswordStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Cloud\Sql\V1\PasswordStatus $var
- * @return $this
- */
- public function setStatus($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\PasswordStatus::class);
- $this->status = $var;
-
- return $this;
- }
-
- /**
- * If true, the user must specify the current password before changing the
- * password. This flag is supported only for MySQL.
- *
- * Generated from protobuf field bool enable_password_verification = 5;
- * @return bool
- */
- public function getEnablePasswordVerification()
- {
- return $this->enable_password_verification;
- }
-
- /**
- * If true, the user must specify the current password before changing the
- * password. This flag is supported only for MySQL.
- *
- * Generated from protobuf field bool enable_password_verification = 5;
- * @param bool $var
- * @return $this
- */
- public function setEnablePasswordVerification($var)
- {
- GPBUtil::checkBool($var);
- $this->enable_password_verification = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/UsersListResponse.php b/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/UsersListResponse.php
deleted file mode 100644
index 4023ff5fc2bf..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/proto/src/Google/Cloud/Sql/V1/UsersListResponse.php
+++ /dev/null
@@ -1,140 +0,0 @@
-google.cloud.sql.v1.UsersListResponse
- */
-class UsersListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#usersList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of user resources in the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.User items = 2;
- */
- private $items;
- /**
- * Unused.
- *
- * Generated from protobuf field string next_page_token = 3 [deprecated = true];
- * @deprecated
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#usersList`.
- * @type array<\Google\Cloud\Sql\V1\User>|\Google\Protobuf\Internal\RepeatedField $items
- * List of user resources in the instance.
- * @type string $next_page_token
- * Unused.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#usersList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#usersList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of user resources in the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.User items = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * List of user resources in the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1.User items = 2;
- * @param array<\Google\Cloud\Sql\V1\User>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\User::class);
- $this->items = $arr;
-
- return $this;
- }
-
- /**
- * Unused.
- *
- * Generated from protobuf field string next_page_token = 3 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getNextPageToken()
- {
- @trigger_error('next_page_token is deprecated.', E_USER_DEPRECATED);
- return $this->next_page_token;
- }
-
- /**
- * Unused.
- *
- * Generated from protobuf field string next_page_token = 3 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setNextPageToken($var)
- {
- @trigger_error('next_page_token is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlBackupRunsServiceClient/delete.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlBackupRunsServiceClient/delete.php
deleted file mode 100644
index 3c14bb21208a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlBackupRunsServiceClient/delete.php
+++ /dev/null
@@ -1,57 +0,0 @@
-delete($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlBackupRunsService_Delete_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlBackupRunsServiceClient/get.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlBackupRunsServiceClient/get.php
deleted file mode 100644
index afa9913adb03..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlBackupRunsServiceClient/get.php
+++ /dev/null
@@ -1,57 +0,0 @@
-get($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlBackupRunsService_Get_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlBackupRunsServiceClient/insert.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlBackupRunsServiceClient/insert.php
deleted file mode 100644
index ea1b4c617c63..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlBackupRunsServiceClient/insert.php
+++ /dev/null
@@ -1,57 +0,0 @@
-insert($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlBackupRunsService_Insert_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlBackupRunsServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlBackupRunsServiceClient/list.php
deleted file mode 100644
index 8b8a1d8bfdfc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlBackupRunsServiceClient/list.php
+++ /dev/null
@@ -1,59 +0,0 @@
-list($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlBackupRunsService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlConnectServiceClient/generate_ephemeral_cert.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlConnectServiceClient/generate_ephemeral_cert.php
deleted file mode 100644
index c2425b500411..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlConnectServiceClient/generate_ephemeral_cert.php
+++ /dev/null
@@ -1,60 +0,0 @@
-generateEphemeralCert($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlConnectService_GenerateEphemeralCert_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlConnectServiceClient/get_connect_settings.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlConnectServiceClient/get_connect_settings.php
deleted file mode 100644
index b170636acde3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlConnectServiceClient/get_connect_settings.php
+++ /dev/null
@@ -1,57 +0,0 @@
-getConnectSettings($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlConnectService_GetConnectSettings_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/delete.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/delete.php
deleted file mode 100644
index e99a3f2bf791..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/delete.php
+++ /dev/null
@@ -1,57 +0,0 @@
-delete($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlDatabasesService_Delete_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/get.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/get.php
deleted file mode 100644
index bf33a4db331d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/get.php
+++ /dev/null
@@ -1,58 +0,0 @@
-get($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlDatabasesService_Get_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/insert.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/insert.php
deleted file mode 100644
index 215022a1cd3a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/insert.php
+++ /dev/null
@@ -1,60 +0,0 @@
-insert($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlDatabasesService_Insert_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/list.php
deleted file mode 100644
index d2f9f97c5542..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/list.php
+++ /dev/null
@@ -1,57 +0,0 @@
-list($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlDatabasesService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/patch.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/patch.php
deleted file mode 100644
index 71d182cb0137..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/patch.php
+++ /dev/null
@@ -1,58 +0,0 @@
-patch($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlDatabasesService_Patch_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/update.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/update.php
deleted file mode 100644
index 68601967795d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlDatabasesServiceClient/update.php
+++ /dev/null
@@ -1,58 +0,0 @@
-update($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlDatabasesService_Update_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlFlagsServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlFlagsServiceClient/list.php
deleted file mode 100644
index d129c9b22da1..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlFlagsServiceClient/list.php
+++ /dev/null
@@ -1,57 +0,0 @@
-list($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlFlagsService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/add_server_ca.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/add_server_ca.php
deleted file mode 100644
index 3f365b95cca6..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/add_server_ca.php
+++ /dev/null
@@ -1,61 +0,0 @@
-addServerCa($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_AddServerCa_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/clone.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/clone.php
deleted file mode 100644
index 50edbc47572f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/clone.php
+++ /dev/null
@@ -1,58 +0,0 @@
-clone($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_Clone_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/create_ephemeral.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/create_ephemeral.php
deleted file mode 100644
index c207649669a3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/create_ephemeral.php
+++ /dev/null
@@ -1,60 +0,0 @@
-createEphemeral($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_CreateEphemeral_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/delete.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/delete.php
deleted file mode 100644
index a4b275b5844f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/delete.php
+++ /dev/null
@@ -1,57 +0,0 @@
-delete($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_Delete_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/demote.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/demote.php
deleted file mode 100644
index 01a4b26624b6..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/demote.php
+++ /dev/null
@@ -1,87 +0,0 @@
-setSourceRepresentativeInstanceName($bodyDemoteContextSourceRepresentativeInstanceName);
- $body = (new InstancesDemoteRequest())
- ->setDemoteContext($bodyDemoteContext);
- $request = (new SqlInstancesDemoteRequest())
- ->setInstance($instance)
- ->setProject($project)
- ->setBody($body);
-
- // Call the API and handle any network failures.
- try {
- /** @var Operation $response */
- $response = $sqlInstancesServiceClient->demote($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $instance = '[INSTANCE]';
- $project = '[PROJECT]';
- $bodyDemoteContextSourceRepresentativeInstanceName = '[SOURCE_REPRESENTATIVE_INSTANCE_NAME]';
-
- demote_sample($instance, $project, $bodyDemoteContextSourceRepresentativeInstanceName);
-}
-// [END sqladmin_v1_generated_SqlInstancesService_Demote_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/demote_master.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/demote_master.php
deleted file mode 100644
index dbf950be9fb1..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/demote_master.php
+++ /dev/null
@@ -1,58 +0,0 @@
-demoteMaster($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_DemoteMaster_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/export.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/export.php
deleted file mode 100644
index 070a2ceaf657..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/export.php
+++ /dev/null
@@ -1,58 +0,0 @@
-export($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_Export_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/failover.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/failover.php
deleted file mode 100644
index 4882dda8ba22..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/failover.php
+++ /dev/null
@@ -1,64 +0,0 @@
-failover($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_Failover_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/get.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/get.php
deleted file mode 100644
index 743f86f11906..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/get.php
+++ /dev/null
@@ -1,57 +0,0 @@
-get($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_Get_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/get_disk_shrink_config.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/get_disk_shrink_config.php
deleted file mode 100644
index e97c4fa67898..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/get_disk_shrink_config.php
+++ /dev/null
@@ -1,57 +0,0 @@
-getDiskShrinkConfig($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_GetDiskShrinkConfig_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/get_latest_recovery_time.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/get_latest_recovery_time.php
deleted file mode 100644
index 5ffd507acd8f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/get_latest_recovery_time.php
+++ /dev/null
@@ -1,57 +0,0 @@
-getLatestRecoveryTime($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_GetLatestRecoveryTime_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/import.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/import.php
deleted file mode 100644
index 864538ad14a1..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/import.php
+++ /dev/null
@@ -1,58 +0,0 @@
-import($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_Import_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/insert.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/insert.php
deleted file mode 100644
index 6ee9257924c0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/insert.php
+++ /dev/null
@@ -1,57 +0,0 @@
-insert($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_Insert_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/list.php
deleted file mode 100644
index 03b89adf9d92..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/list.php
+++ /dev/null
@@ -1,57 +0,0 @@
-list($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/list_server_cas.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/list_server_cas.php
deleted file mode 100644
index d0497d3b2482..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/list_server_cas.php
+++ /dev/null
@@ -1,61 +0,0 @@
-listServerCas($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_ListServerCas_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/patch.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/patch.php
deleted file mode 100644
index fadfac70c04c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/patch.php
+++ /dev/null
@@ -1,58 +0,0 @@
-patch($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_Patch_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/perform_disk_shrink.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/perform_disk_shrink.php
deleted file mode 100644
index 77a2c96ddcf1..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/perform_disk_shrink.php
+++ /dev/null
@@ -1,57 +0,0 @@
-performDiskShrink($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_PerformDiskShrink_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/promote_replica.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/promote_replica.php
deleted file mode 100644
index ab955063415c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/promote_replica.php
+++ /dev/null
@@ -1,58 +0,0 @@
-promoteReplica($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_PromoteReplica_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/reencrypt.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/reencrypt.php
deleted file mode 100644
index a4175c69217c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/reencrypt.php
+++ /dev/null
@@ -1,57 +0,0 @@
-reencrypt($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_Reencrypt_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/reschedule_maintenance.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/reschedule_maintenance.php
deleted file mode 100644
index 43a7a8a7b2f8..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/reschedule_maintenance.php
+++ /dev/null
@@ -1,57 +0,0 @@
-rescheduleMaintenance($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_RescheduleMaintenance_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/reset_replica_size.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/reset_replica_size.php
deleted file mode 100644
index 6d249f20d66c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/reset_replica_size.php
+++ /dev/null
@@ -1,57 +0,0 @@
-resetReplicaSize($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_ResetReplicaSize_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/reset_ssl_config.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/reset_ssl_config.php
deleted file mode 100644
index 2b70c2126902..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/reset_ssl_config.php
+++ /dev/null
@@ -1,58 +0,0 @@
-resetSslConfig($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_ResetSslConfig_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/restart.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/restart.php
deleted file mode 100644
index d633b1d763a7..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/restart.php
+++ /dev/null
@@ -1,57 +0,0 @@
-restart($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_Restart_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/restore_backup.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/restore_backup.php
deleted file mode 100644
index ab1ba29f1674..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/restore_backup.php
+++ /dev/null
@@ -1,58 +0,0 @@
-restoreBackup($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_RestoreBackup_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/rotate_server_ca.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/rotate_server_ca.php
deleted file mode 100644
index 143288df84f4..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/rotate_server_ca.php
+++ /dev/null
@@ -1,58 +0,0 @@
-rotateServerCa($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_RotateServerCa_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/start_external_sync.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/start_external_sync.php
deleted file mode 100644
index 9fc1ced4b130..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/start_external_sync.php
+++ /dev/null
@@ -1,57 +0,0 @@
-startExternalSync($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_StartExternalSync_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/start_replica.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/start_replica.php
deleted file mode 100644
index f97637c106f5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/start_replica.php
+++ /dev/null
@@ -1,57 +0,0 @@
-startReplica($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_StartReplica_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/stop_replica.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/stop_replica.php
deleted file mode 100644
index 4b12bda8ef2c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/stop_replica.php
+++ /dev/null
@@ -1,57 +0,0 @@
-stopReplica($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_StopReplica_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/switchover.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/switchover.php
deleted file mode 100644
index d8bd94cda419..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/switchover.php
+++ /dev/null
@@ -1,57 +0,0 @@
-switchover($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_Switchover_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/truncate_log.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/truncate_log.php
deleted file mode 100644
index 0e6f130dc788..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/truncate_log.php
+++ /dev/null
@@ -1,58 +0,0 @@
-truncateLog($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_TruncateLog_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/update.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/update.php
deleted file mode 100644
index 8df4adfa6f43..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/update.php
+++ /dev/null
@@ -1,58 +0,0 @@
-update($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_Update_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/verify_external_sync_settings.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/verify_external_sync_settings.php
deleted file mode 100644
index 98e058a44c75..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlInstancesServiceClient/verify_external_sync_settings.php
+++ /dev/null
@@ -1,57 +0,0 @@
-verifyExternalSyncSettings($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlInstancesService_VerifyExternalSyncSettings_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlOperationsServiceClient/cancel.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlOperationsServiceClient/cancel.php
deleted file mode 100644
index 3666a907132b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlOperationsServiceClient/cancel.php
+++ /dev/null
@@ -1,55 +0,0 @@
-cancel($request);
- printf('Call completed successfully.' . PHP_EOL);
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlOperationsService_Cancel_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlOperationsServiceClient/get.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlOperationsServiceClient/get.php
deleted file mode 100644
index 52eb3c62d29e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlOperationsServiceClient/get.php
+++ /dev/null
@@ -1,57 +0,0 @@
-get($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlOperationsService_Get_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlOperationsServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlOperationsServiceClient/list.php
deleted file mode 100644
index 0beed7105897..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlOperationsServiceClient/list.php
+++ /dev/null
@@ -1,58 +0,0 @@
-list($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlOperationsService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlSslCertsServiceClient/delete.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlSslCertsServiceClient/delete.php
deleted file mode 100644
index 0d6646e07dcc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlSslCertsServiceClient/delete.php
+++ /dev/null
@@ -1,58 +0,0 @@
-delete($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlSslCertsService_Delete_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlSslCertsServiceClient/get.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlSslCertsServiceClient/get.php
deleted file mode 100644
index 3f462a607ecd..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlSslCertsServiceClient/get.php
+++ /dev/null
@@ -1,59 +0,0 @@
-get($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlSslCertsService_Get_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlSslCertsServiceClient/insert.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlSslCertsServiceClient/insert.php
deleted file mode 100644
index 092fb4ef8c79..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlSslCertsServiceClient/insert.php
+++ /dev/null
@@ -1,59 +0,0 @@
-insert($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlSslCertsService_Insert_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlSslCertsServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlSslCertsServiceClient/list.php
deleted file mode 100644
index 4e69956a2289..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlSslCertsServiceClient/list.php
+++ /dev/null
@@ -1,57 +0,0 @@
-list($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlSslCertsService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlTiersServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlTiersServiceClient/list.php
deleted file mode 100644
index e2d320dddaa3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlTiersServiceClient/list.php
+++ /dev/null
@@ -1,59 +0,0 @@
-list($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlTiersService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/delete.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/delete.php
deleted file mode 100644
index 0dcccbd25a60..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/delete.php
+++ /dev/null
@@ -1,57 +0,0 @@
-delete($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlUsersService_Delete_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/get.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/get.php
deleted file mode 100644
index b1f9784cbc43..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/get.php
+++ /dev/null
@@ -1,57 +0,0 @@
-get($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlUsersService_Get_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/insert.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/insert.php
deleted file mode 100644
index 4c09243fc801..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/insert.php
+++ /dev/null
@@ -1,57 +0,0 @@
-insert($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlUsersService_Insert_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/list.php
deleted file mode 100644
index 90925d6bc614..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/list.php
+++ /dev/null
@@ -1,57 +0,0 @@
-list($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlUsersService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/update.php b/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/update.php
deleted file mode 100644
index 8c2584251ae9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/samples/V1/SqlUsersServiceClient/update.php
+++ /dev/null
@@ -1,57 +0,0 @@
-update($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1_generated_SqlUsersService_Update_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlAvailableDatabaseVersionsServiceClient.php b/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlAvailableDatabaseVersionsServiceClient.php
deleted file mode 100644
index 6dac880c0a7d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlAvailableDatabaseVersionsServiceClient.php
+++ /dev/null
@@ -1,144 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_available_database_versions_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_available_database_versions_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_available_database_versions_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_available_database_versions_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlBackupRunsServiceClient.php b/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlBackupRunsServiceClient.php
deleted file mode 100644
index 18245ffda299..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlBackupRunsServiceClient.php
+++ /dev/null
@@ -1,278 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_backup_runs_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_backup_runs_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_backup_runs_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_backup_runs_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /** Handles execution of the async variants for each documented method. */
- public function __call($method, $args)
- {
- if (substr($method, -5) !== 'Async') {
- trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR);
- }
-
- array_unshift($args, substr($method, 0, -5));
- return call_user_func_array([$this, 'startAsyncCall'], $args);
- }
-
- /**
- * Deletes the backup taken by a backup run.
- *
- * The async variant is {@see SqlBackupRunsServiceClient::deleteAsync()} .
- *
- * @example samples/V1/SqlBackupRunsServiceClient/delete.php
- *
- * @param SqlBackupRunsDeleteRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function delete(SqlBackupRunsDeleteRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Delete', $request, $callOptions)->wait();
- }
-
- /**
- * Retrieves a resource containing information about a backup run.
- *
- * The async variant is {@see SqlBackupRunsServiceClient::getAsync()} .
- *
- * @example samples/V1/SqlBackupRunsServiceClient/get.php
- *
- * @param SqlBackupRunsGetRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return BackupRun
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function get(SqlBackupRunsGetRequest $request, array $callOptions = []): BackupRun
- {
- return $this->startApiCall('Get', $request, $callOptions)->wait();
- }
-
- /**
- * Creates a new backup run on demand.
- *
- * The async variant is {@see SqlBackupRunsServiceClient::insertAsync()} .
- *
- * @example samples/V1/SqlBackupRunsServiceClient/insert.php
- *
- * @param SqlBackupRunsInsertRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function insert(SqlBackupRunsInsertRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Insert', $request, $callOptions)->wait();
- }
-
- /**
- * Lists all backup runs associated with the project or a given instance
- * and configuration in the reverse chronological order of the backup
- * initiation time.
- *
- * The async variant is {@see SqlBackupRunsServiceClient::listAsync()} .
- *
- * @example samples/V1/SqlBackupRunsServiceClient/list.php
- *
- * @param SqlBackupRunsListRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return BackupRunsListResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function list(SqlBackupRunsListRequest $request, array $callOptions = []): BackupRunsListResponse
- {
- return $this->startApiCall('List', $request, $callOptions)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlConnectServiceClient.php b/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlConnectServiceClient.php
deleted file mode 100644
index f12ce1affd24..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlConnectServiceClient.php
+++ /dev/null
@@ -1,223 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_connect_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_connect_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_connect_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_connect_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /** Handles execution of the async variants for each documented method. */
- public function __call($method, $args)
- {
- if (substr($method, -5) !== 'Async') {
- trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR);
- }
-
- array_unshift($args, substr($method, 0, -5));
- return call_user_func_array([$this, 'startAsyncCall'], $args);
- }
-
- /**
- * Generates a short-lived X509 certificate containing the provided public key
- * and signed by a private key specific to the target instance. Users may use
- * the certificate to authenticate as themselves when connecting to the
- * database.
- *
- * The async variant is
- * {@see SqlConnectServiceClient::generateEphemeralCertAsync()} .
- *
- * @example samples/V1/SqlConnectServiceClient/generate_ephemeral_cert.php
- *
- * @param GenerateEphemeralCertRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return GenerateEphemeralCertResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function generateEphemeralCert(GenerateEphemeralCertRequest $request, array $callOptions = []): GenerateEphemeralCertResponse
- {
- return $this->startApiCall('GenerateEphemeralCert', $request, $callOptions)->wait();
- }
-
- /**
- * Retrieves connect settings about a Cloud SQL instance.
- *
- * The async variant is {@see SqlConnectServiceClient::getConnectSettingsAsync()} .
- *
- * @example samples/V1/SqlConnectServiceClient/get_connect_settings.php
- *
- * @param GetConnectSettingsRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return ConnectSettings
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function getConnectSettings(GetConnectSettingsRequest $request, array $callOptions = []): ConnectSettings
- {
- return $this->startApiCall('GetConnectSettings', $request, $callOptions)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlDatabasesServiceClient.php b/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlDatabasesServiceClient.php
deleted file mode 100644
index 30e27179fc91..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlDatabasesServiceClient.php
+++ /dev/null
@@ -1,337 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_databases_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_databases_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_databases_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_databases_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /** Handles execution of the async variants for each documented method. */
- public function __call($method, $args)
- {
- if (substr($method, -5) !== 'Async') {
- trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR);
- }
-
- array_unshift($args, substr($method, 0, -5));
- return call_user_func_array([$this, 'startAsyncCall'], $args);
- }
-
- /**
- * Deletes a database from a Cloud SQL instance.
- *
- * The async variant is {@see SqlDatabasesServiceClient::deleteAsync()} .
- *
- * @example samples/V1/SqlDatabasesServiceClient/delete.php
- *
- * @param SqlDatabasesDeleteRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function delete(SqlDatabasesDeleteRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Delete', $request, $callOptions)->wait();
- }
-
- /**
- * Retrieves a resource containing information about a database inside a Cloud
- * SQL instance.
- *
- * The async variant is {@see SqlDatabasesServiceClient::getAsync()} .
- *
- * @example samples/V1/SqlDatabasesServiceClient/get.php
- *
- * @param SqlDatabasesGetRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Database
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function get(SqlDatabasesGetRequest $request, array $callOptions = []): Database
- {
- return $this->startApiCall('Get', $request, $callOptions)->wait();
- }
-
- /**
- * Inserts a resource containing information about a database inside a Cloud
- * SQL instance.
- *
- * **Note:** You can't modify the default character set and collation.
- *
- * The async variant is {@see SqlDatabasesServiceClient::insertAsync()} .
- *
- * @example samples/V1/SqlDatabasesServiceClient/insert.php
- *
- * @param SqlDatabasesInsertRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function insert(SqlDatabasesInsertRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Insert', $request, $callOptions)->wait();
- }
-
- /**
- * Lists databases in the specified Cloud SQL instance.
- *
- * The async variant is {@see SqlDatabasesServiceClient::listAsync()} .
- *
- * @example samples/V1/SqlDatabasesServiceClient/list.php
- *
- * @param SqlDatabasesListRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return DatabasesListResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function list(SqlDatabasesListRequest $request, array $callOptions = []): DatabasesListResponse
- {
- return $this->startApiCall('List', $request, $callOptions)->wait();
- }
-
- /**
- * Partially updates a resource containing information about a database inside
- * a Cloud SQL instance. This method supports patch semantics.
- *
- * The async variant is {@see SqlDatabasesServiceClient::patchAsync()} .
- *
- * @example samples/V1/SqlDatabasesServiceClient/patch.php
- *
- * @param SqlDatabasesUpdateRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function patch(SqlDatabasesUpdateRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Patch', $request, $callOptions)->wait();
- }
-
- /**
- * Updates a resource containing information about a database inside a Cloud
- * SQL instance.
- *
- * The async variant is {@see SqlDatabasesServiceClient::updateAsync()} .
- *
- * @example samples/V1/SqlDatabasesServiceClient/update.php
- *
- * @param SqlDatabasesUpdateRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function update(SqlDatabasesUpdateRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Update', $request, $callOptions)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlEventsServiceClient.php b/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlEventsServiceClient.php
deleted file mode 100644
index 8c66b8e93d57..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlEventsServiceClient.php
+++ /dev/null
@@ -1,144 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_events_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_events_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_events_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_events_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlFlagsServiceClient.php b/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlFlagsServiceClient.php
deleted file mode 100644
index 6b2f951b8d37..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlFlagsServiceClient.php
+++ /dev/null
@@ -1,190 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_flags_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_flags_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_flags_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_flags_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /** Handles execution of the async variants for each documented method. */
- public function __call($method, $args)
- {
- if (substr($method, -5) !== 'Async') {
- trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR);
- }
-
- array_unshift($args, substr($method, 0, -5));
- return call_user_func_array([$this, 'startAsyncCall'], $args);
- }
-
- /**
- * Lists all available database flags for Cloud SQL instances.
- *
- * The async variant is {@see SqlFlagsServiceClient::listAsync()} .
- *
- * @example samples/V1/SqlFlagsServiceClient/list.php
- *
- * @param SqlFlagsListRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return FlagsListResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function list(SqlFlagsListRequest $request, array $callOptions = []): FlagsListResponse
- {
- return $this->startApiCall('List', $request, $callOptions)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlIamPoliciesServiceClient.php b/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlIamPoliciesServiceClient.php
deleted file mode 100644
index c6372946e40a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlIamPoliciesServiceClient.php
+++ /dev/null
@@ -1,143 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_iam_policies_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_iam_policies_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_iam_policies_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_iam_policies_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlInstanceNamesServiceClient.php b/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlInstanceNamesServiceClient.php
deleted file mode 100644
index b14a6ad7fc16..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlInstanceNamesServiceClient.php
+++ /dev/null
@@ -1,143 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_instance_names_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_instance_names_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_instance_names_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_instance_names_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlInstancesServiceClient.php b/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlInstancesServiceClient.php
deleted file mode 100644
index 182379edcd32..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlInstancesServiceClient.php
+++ /dev/null
@@ -1,1159 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_instances_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_instances_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_instances_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_instances_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /** Handles execution of the async variants for each documented method. */
- public function __call($method, $args)
- {
- if (substr($method, -5) !== 'Async') {
- trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR);
- }
-
- array_unshift($args, substr($method, 0, -5));
- return call_user_func_array([$this, 'startAsyncCall'], $args);
- }
-
- /**
- * Acquire a lease for the setup of SQL Server Reporting Services (SSRS).
- *
- * The async variant is {@see SqlInstancesServiceClient::acquireSsrsLeaseAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/acquire_ssrs_lease.php
- *
- * @param SqlInstancesAcquireSsrsLeaseRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return SqlInstancesAcquireSsrsLeaseResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function acquireSsrsLease(SqlInstancesAcquireSsrsLeaseRequest $request, array $callOptions = []): SqlInstancesAcquireSsrsLeaseResponse
- {
- return $this->startApiCall('AcquireSsrsLease', $request, $callOptions)->wait();
- }
-
- /**
- * Adds a new trusted Certificate Authority (CA) version for the specified
- * instance. Required to prepare for a certificate rotation. If a CA version
- * was previously added but never used in a certificate rotation, this
- * operation replaces that version. There cannot be more than one CA version
- * waiting to be rotated in.
- *
- * The async variant is {@see SqlInstancesServiceClient::addServerCaAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/add_server_ca.php
- *
- * @param SqlInstancesAddServerCaRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function addServerCa(SqlInstancesAddServerCaRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('AddServerCa', $request, $callOptions)->wait();
- }
-
- /**
- * Creates a Cloud SQL instance as a clone of the source instance. Using this
- * operation might cause your instance to restart.
- *
- * The async variant is {@see SqlInstancesServiceClient::cloneAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/clone.php
- *
- * @param SqlInstancesCloneRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function clone(SqlInstancesCloneRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Clone', $request, $callOptions)->wait();
- }
-
- /**
- * Generates a short-lived X509 certificate containing the provided public key
- * and signed by a private key specific to the target instance. Users may use
- * the certificate to authenticate as themselves when connecting to the
- * database.
- *
- * The async variant is {@see SqlInstancesServiceClient::createEphemeralAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/create_ephemeral.php
- *
- * @param SqlInstancesCreateEphemeralCertRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return SslCert
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function createEphemeral(SqlInstancesCreateEphemeralCertRequest $request, array $callOptions = []): SslCert
- {
- return $this->startApiCall('CreateEphemeral', $request, $callOptions)->wait();
- }
-
- /**
- * Deletes a Cloud SQL instance.
- *
- * The async variant is {@see SqlInstancesServiceClient::deleteAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/delete.php
- *
- * @param SqlInstancesDeleteRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function delete(SqlInstancesDeleteRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Delete', $request, $callOptions)->wait();
- }
-
- /**
- * Demotes an existing standalone instance to be a Cloud SQL read replica
- * for an external database server.
- *
- * The async variant is {@see SqlInstancesServiceClient::demoteAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/demote.php
- *
- * @param SqlInstancesDemoteRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function demote(SqlInstancesDemoteRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Demote', $request, $callOptions)->wait();
- }
-
- /**
- * Demotes the stand-alone instance to be a Cloud SQL read replica for an
- * external database server.
- *
- * The async variant is {@see SqlInstancesServiceClient::demoteMasterAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/demote_master.php
- *
- * @param SqlInstancesDemoteMasterRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function demoteMaster(SqlInstancesDemoteMasterRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('DemoteMaster', $request, $callOptions)->wait();
- }
-
- /**
- * Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL
- * dump or CSV file.
- *
- * The async variant is {@see SqlInstancesServiceClient::exportAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/export.php
- *
- * @param SqlInstancesExportRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function export(SqlInstancesExportRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Export', $request, $callOptions)->wait();
- }
-
- /**
- * Initiates a manual failover of a high availability (HA) primary instance
- * to a standby instance, which becomes the primary instance. Users are
- * then rerouted to the new primary. For more information, see the
- * [Overview of high
- * availability](https://cloud.google.com/sql/docs/mysql/high-availability)
- * page in the Cloud SQL documentation.
- * If using Legacy HA (MySQL only), this causes the instance to failover to
- * its failover replica instance.
- *
- * The async variant is {@see SqlInstancesServiceClient::failoverAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/failover.php
- *
- * @param SqlInstancesFailoverRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function failover(SqlInstancesFailoverRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Failover', $request, $callOptions)->wait();
- }
-
- /**
- * Retrieves a resource containing information about a Cloud SQL instance.
- *
- * The async variant is {@see SqlInstancesServiceClient::getAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/get.php
- *
- * @param SqlInstancesGetRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return DatabaseInstance
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function get(SqlInstancesGetRequest $request, array $callOptions = []): DatabaseInstance
- {
- return $this->startApiCall('Get', $request, $callOptions)->wait();
- }
-
- /**
- * Get Disk Shrink Config for a given instance.
- *
- * The async variant is
- * {@see SqlInstancesServiceClient::getDiskShrinkConfigAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/get_disk_shrink_config.php
- *
- * @param SqlInstancesGetDiskShrinkConfigRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return SqlInstancesGetDiskShrinkConfigResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function getDiskShrinkConfig(SqlInstancesGetDiskShrinkConfigRequest $request, array $callOptions = []): SqlInstancesGetDiskShrinkConfigResponse
- {
- return $this->startApiCall('GetDiskShrinkConfig', $request, $callOptions)->wait();
- }
-
- /**
- * Get Latest Recovery Time for a given instance.
- *
- * The async variant is
- * {@see SqlInstancesServiceClient::getLatestRecoveryTimeAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/get_latest_recovery_time.php
- *
- * @param SqlInstancesGetLatestRecoveryTimeRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return SqlInstancesGetLatestRecoveryTimeResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function getLatestRecoveryTime(SqlInstancesGetLatestRecoveryTimeRequest $request, array $callOptions = []): SqlInstancesGetLatestRecoveryTimeResponse
- {
- return $this->startApiCall('GetLatestRecoveryTime', $request, $callOptions)->wait();
- }
-
- /**
- * Imports data into a Cloud SQL instance from a SQL dump or CSV file in
- * Cloud Storage.
- *
- * The async variant is {@see SqlInstancesServiceClient::importAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/import.php
- *
- * @param SqlInstancesImportRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function import(SqlInstancesImportRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Import', $request, $callOptions)->wait();
- }
-
- /**
- * Creates a new Cloud SQL instance.
- *
- * The async variant is {@see SqlInstancesServiceClient::insertAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/insert.php
- *
- * @param SqlInstancesInsertRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function insert(SqlInstancesInsertRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Insert', $request, $callOptions)->wait();
- }
-
- /**
- * Lists instances under a given project.
- *
- * The async variant is {@see SqlInstancesServiceClient::listAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/list.php
- *
- * @param SqlInstancesListRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return InstancesListResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function list(SqlInstancesListRequest $request, array $callOptions = []): InstancesListResponse
- {
- return $this->startApiCall('List', $request, $callOptions)->wait();
- }
-
- /**
- * Lists all of the trusted Certificate Authorities (CAs) for the specified
- * instance. There can be up to three CAs listed: the CA that was used to sign
- * the certificate that is currently in use, a CA that has been added but not
- * yet used to sign a certificate, and a CA used to sign a certificate that
- * has previously rotated out.
- *
- * The async variant is {@see SqlInstancesServiceClient::listServerCasAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/list_server_cas.php
- *
- * @param SqlInstancesListServerCasRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return InstancesListServerCasResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function listServerCas(SqlInstancesListServerCasRequest $request, array $callOptions = []): InstancesListServerCasResponse
- {
- return $this->startApiCall('ListServerCas', $request, $callOptions)->wait();
- }
-
- /**
- * Partially updates settings of a Cloud SQL instance by merging the request
- * with the current configuration. This method supports patch semantics.
- *
- * The async variant is {@see SqlInstancesServiceClient::patchAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/patch.php
- *
- * @param SqlInstancesPatchRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function patch(SqlInstancesPatchRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Patch', $request, $callOptions)->wait();
- }
-
- /**
- * Perform Disk Shrink on primary instance.
- *
- * The async variant is {@see SqlInstancesServiceClient::performDiskShrinkAsync()}
- * .
- *
- * @example samples/V1/SqlInstancesServiceClient/perform_disk_shrink.php
- *
- * @param SqlInstancesPerformDiskShrinkRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function performDiskShrink(SqlInstancesPerformDiskShrinkRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('PerformDiskShrink', $request, $callOptions)->wait();
- }
-
- /**
- * Promotes the read replica instance to be a stand-alone Cloud SQL instance.
- * Using this operation might cause your instance to restart.
- *
- * The async variant is {@see SqlInstancesServiceClient::promoteReplicaAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/promote_replica.php
- *
- * @param SqlInstancesPromoteReplicaRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function promoteReplica(SqlInstancesPromoteReplicaRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('PromoteReplica', $request, $callOptions)->wait();
- }
-
- /**
- * Reencrypt CMEK instance with latest key version.
- *
- * The async variant is {@see SqlInstancesServiceClient::reencryptAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/reencrypt.php
- *
- * @param SqlInstancesReencryptRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function reencrypt(SqlInstancesReencryptRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Reencrypt', $request, $callOptions)->wait();
- }
-
- /**
- * Release a lease for the setup of SQL Server Reporting Services (SSRS).
- *
- * The async variant is {@see SqlInstancesServiceClient::releaseSsrsLeaseAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/release_ssrs_lease.php
- *
- * @param SqlInstancesReleaseSsrsLeaseRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return SqlInstancesReleaseSsrsLeaseResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function releaseSsrsLease(SqlInstancesReleaseSsrsLeaseRequest $request, array $callOptions = []): SqlInstancesReleaseSsrsLeaseResponse
- {
- return $this->startApiCall('ReleaseSsrsLease', $request, $callOptions)->wait();
- }
-
- /**
- * Reschedules the maintenance on the given instance.
- *
- * The async variant is
- * {@see SqlInstancesServiceClient::rescheduleMaintenanceAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/reschedule_maintenance.php
- *
- * @param SqlInstancesRescheduleMaintenanceRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function rescheduleMaintenance(SqlInstancesRescheduleMaintenanceRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('RescheduleMaintenance', $request, $callOptions)->wait();
- }
-
- /**
- * Reset Replica Size to primary instance disk size.
- *
- * The async variant is {@see SqlInstancesServiceClient::resetReplicaSizeAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/reset_replica_size.php
- *
- * @param SqlInstancesResetReplicaSizeRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function resetReplicaSize(SqlInstancesResetReplicaSizeRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('ResetReplicaSize', $request, $callOptions)->wait();
- }
-
- /**
- * Deletes all client certificates and generates a new server SSL certificate
- * for the instance.
- *
- * The async variant is {@see SqlInstancesServiceClient::resetSslConfigAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/reset_ssl_config.php
- *
- * @param SqlInstancesResetSslConfigRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function resetSslConfig(SqlInstancesResetSslConfigRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('ResetSslConfig', $request, $callOptions)->wait();
- }
-
- /**
- * Restarts a Cloud SQL instance.
- *
- * The async variant is {@see SqlInstancesServiceClient::restartAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/restart.php
- *
- * @param SqlInstancesRestartRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function restart(SqlInstancesRestartRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Restart', $request, $callOptions)->wait();
- }
-
- /**
- * Restores a backup of a Cloud SQL instance. Using this operation might cause
- * your instance to restart.
- *
- * The async variant is {@see SqlInstancesServiceClient::restoreBackupAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/restore_backup.php
- *
- * @param SqlInstancesRestoreBackupRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function restoreBackup(SqlInstancesRestoreBackupRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('RestoreBackup', $request, $callOptions)->wait();
- }
-
- /**
- * Rotates the server certificate to one signed by the Certificate Authority
- * (CA) version previously added with the addServerCA method.
- *
- * The async variant is {@see SqlInstancesServiceClient::rotateServerCaAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/rotate_server_ca.php
- *
- * @param SqlInstancesRotateServerCaRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function rotateServerCa(SqlInstancesRotateServerCaRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('RotateServerCa', $request, $callOptions)->wait();
- }
-
- /**
- * Start External primary instance migration.
- *
- * The async variant is {@see SqlInstancesServiceClient::startExternalSyncAsync()}
- * .
- *
- * @example samples/V1/SqlInstancesServiceClient/start_external_sync.php
- *
- * @param SqlInstancesStartExternalSyncRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function startExternalSync(SqlInstancesStartExternalSyncRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('StartExternalSync', $request, $callOptions)->wait();
- }
-
- /**
- * Starts the replication in the read replica instance.
- *
- * The async variant is {@see SqlInstancesServiceClient::startReplicaAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/start_replica.php
- *
- * @param SqlInstancesStartReplicaRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function startReplica(SqlInstancesStartReplicaRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('StartReplica', $request, $callOptions)->wait();
- }
-
- /**
- * Stops the replication in the read replica instance.
- *
- * The async variant is {@see SqlInstancesServiceClient::stopReplicaAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/stop_replica.php
- *
- * @param SqlInstancesStopReplicaRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function stopReplica(SqlInstancesStopReplicaRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('StopReplica', $request, $callOptions)->wait();
- }
-
- /**
- * Switches over from the primary instance to the replica instance.
- *
- * The async variant is {@see SqlInstancesServiceClient::switchoverAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/switchover.php
- *
- * @param SqlInstancesSwitchoverRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function switchover(SqlInstancesSwitchoverRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Switchover', $request, $callOptions)->wait();
- }
-
- /**
- * Truncate MySQL general and slow query log tables
- * MySQL only.
- *
- * The async variant is {@see SqlInstancesServiceClient::truncateLogAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/truncate_log.php
- *
- * @param SqlInstancesTruncateLogRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function truncateLog(SqlInstancesTruncateLogRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('TruncateLog', $request, $callOptions)->wait();
- }
-
- /**
- * Updates settings of a Cloud SQL instance. Using this operation might cause
- * your instance to restart.
- *
- * The async variant is {@see SqlInstancesServiceClient::updateAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/update.php
- *
- * @param SqlInstancesUpdateRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function update(SqlInstancesUpdateRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Update', $request, $callOptions)->wait();
- }
-
- /**
- * Verify External primary instance external sync settings.
- *
- * The async variant is
- * {@see SqlInstancesServiceClient::verifyExternalSyncSettingsAsync()} .
- *
- * @example samples/V1/SqlInstancesServiceClient/verify_external_sync_settings.php
- *
- * @param SqlInstancesVerifyExternalSyncSettingsRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return SqlInstancesVerifyExternalSyncSettingsResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function verifyExternalSyncSettings(SqlInstancesVerifyExternalSyncSettingsRequest $request, array $callOptions = []): SqlInstancesVerifyExternalSyncSettingsResponse
- {
- return $this->startApiCall('VerifyExternalSyncSettings', $request, $callOptions)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlOperationsServiceClient.php b/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlOperationsServiceClient.php
deleted file mode 100644
index 076b9c0fbbd4..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlOperationsServiceClient.php
+++ /dev/null
@@ -1,246 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_operations_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_operations_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_operations_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_operations_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /** Handles execution of the async variants for each documented method. */
- public function __call($method, $args)
- {
- if (substr($method, -5) !== 'Async') {
- trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR);
- }
-
- array_unshift($args, substr($method, 0, -5));
- return call_user_func_array([$this, 'startAsyncCall'], $args);
- }
-
- /**
- * Cancels an instance operation that has been performed on an instance.
- *
- * The async variant is {@see SqlOperationsServiceClient::cancelAsync()} .
- *
- * @example samples/V1/SqlOperationsServiceClient/cancel.php
- *
- * @param SqlOperationsCancelRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function cancel(SqlOperationsCancelRequest $request, array $callOptions = []): void
- {
- $this->startApiCall('Cancel', $request, $callOptions)->wait();
- }
-
- /**
- * Retrieves an instance operation that has been performed on an instance.
- *
- * The async variant is {@see SqlOperationsServiceClient::getAsync()} .
- *
- * @example samples/V1/SqlOperationsServiceClient/get.php
- *
- * @param SqlOperationsGetRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function get(SqlOperationsGetRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Get', $request, $callOptions)->wait();
- }
-
- /**
- * Lists all instance operations that have been performed on the given Cloud
- * SQL instance in the reverse chronological order of the start time.
- *
- * The async variant is {@see SqlOperationsServiceClient::listAsync()} .
- *
- * @example samples/V1/SqlOperationsServiceClient/list.php
- *
- * @param SqlOperationsListRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return OperationsListResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function list(SqlOperationsListRequest $request, array $callOptions = []): OperationsListResponse
- {
- return $this->startApiCall('List', $request, $callOptions)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlRegionsServiceClient.php b/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlRegionsServiceClient.php
deleted file mode 100644
index 242dbb55bbc9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlRegionsServiceClient.php
+++ /dev/null
@@ -1,144 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_regions_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_regions_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_regions_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_regions_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlSslCertsServiceClient.php b/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlSslCertsServiceClient.php
deleted file mode 100644
index a9773610c7b4..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlSslCertsServiceClient.php
+++ /dev/null
@@ -1,282 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_ssl_certs_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_ssl_certs_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_ssl_certs_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_ssl_certs_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /** Handles execution of the async variants for each documented method. */
- public function __call($method, $args)
- {
- if (substr($method, -5) !== 'Async') {
- trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR);
- }
-
- array_unshift($args, substr($method, 0, -5));
- return call_user_func_array([$this, 'startAsyncCall'], $args);
- }
-
- /**
- * Deletes the SSL certificate. For First Generation instances, the
- * certificate remains valid until the instance is restarted.
- *
- * The async variant is {@see SqlSslCertsServiceClient::deleteAsync()} .
- *
- * @example samples/V1/SqlSslCertsServiceClient/delete.php
- *
- * @param SqlSslCertsDeleteRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function delete(SqlSslCertsDeleteRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Delete', $request, $callOptions)->wait();
- }
-
- /**
- * Retrieves a particular SSL certificate. Does not include the private key
- * (required for usage). The private key must be saved from the response to
- * initial creation.
- *
- * The async variant is {@see SqlSslCertsServiceClient::getAsync()} .
- *
- * @example samples/V1/SqlSslCertsServiceClient/get.php
- *
- * @param SqlSslCertsGetRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return SslCert
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function get(SqlSslCertsGetRequest $request, array $callOptions = []): SslCert
- {
- return $this->startApiCall('Get', $request, $callOptions)->wait();
- }
-
- /**
- * Creates an SSL certificate and returns it along with the private key and
- * server certificate authority. The new certificate will not be usable until
- * the instance is restarted.
- *
- * The async variant is {@see SqlSslCertsServiceClient::insertAsync()} .
- *
- * @example samples/V1/SqlSslCertsServiceClient/insert.php
- *
- * @param SqlSslCertsInsertRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return SslCertsInsertResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function insert(SqlSslCertsInsertRequest $request, array $callOptions = []): SslCertsInsertResponse
- {
- return $this->startApiCall('Insert', $request, $callOptions)->wait();
- }
-
- /**
- * Lists all of the current SSL certificates for the instance.
- *
- * The async variant is {@see SqlSslCertsServiceClient::listAsync()} .
- *
- * @example samples/V1/SqlSslCertsServiceClient/list.php
- *
- * @param SqlSslCertsListRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return SslCertsListResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function list(SqlSslCertsListRequest $request, array $callOptions = []): SslCertsListResponse
- {
- return $this->startApiCall('List', $request, $callOptions)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlTiersServiceClient.php b/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlTiersServiceClient.php
deleted file mode 100644
index 0b502852ef6f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlTiersServiceClient.php
+++ /dev/null
@@ -1,192 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_tiers_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_tiers_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_tiers_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_tiers_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /** Handles execution of the async variants for each documented method. */
- public function __call($method, $args)
- {
- if (substr($method, -5) !== 'Async') {
- trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR);
- }
-
- array_unshift($args, substr($method, 0, -5));
- return call_user_func_array([$this, 'startAsyncCall'], $args);
- }
-
- /**
- * Lists all available machine types (tiers) for Cloud SQL, for example,
- * `db-custom-1-3840`. For more information, see
- * https://cloud.google.com/sql/pricing.
- *
- * The async variant is {@see SqlTiersServiceClient::listAsync()} .
- *
- * @example samples/V1/SqlTiersServiceClient/list.php
- *
- * @param SqlTiersListRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return TiersListResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function list(SqlTiersListRequest $request, array $callOptions = []): TiersListResponse
- {
- return $this->startApiCall('List', $request, $callOptions)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlUsersServiceClient.php b/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlUsersServiceClient.php
deleted file mode 100644
index 52302bb14f97..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/Client/SqlUsersServiceClient.php
+++ /dev/null
@@ -1,304 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_users_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_users_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_users_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_users_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /** Handles execution of the async variants for each documented method. */
- public function __call($method, $args)
- {
- if (substr($method, -5) !== 'Async') {
- trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR);
- }
-
- array_unshift($args, substr($method, 0, -5));
- return call_user_func_array([$this, 'startAsyncCall'], $args);
- }
-
- /**
- * Deletes a user from a Cloud SQL instance.
- *
- * The async variant is {@see SqlUsersServiceClient::deleteAsync()} .
- *
- * @example samples/V1/SqlUsersServiceClient/delete.php
- *
- * @param SqlUsersDeleteRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function delete(SqlUsersDeleteRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Delete', $request, $callOptions)->wait();
- }
-
- /**
- * Retrieves a resource containing information about a user.
- *
- * The async variant is {@see SqlUsersServiceClient::getAsync()} .
- *
- * @example samples/V1/SqlUsersServiceClient/get.php
- *
- * @param SqlUsersGetRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return User
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function get(SqlUsersGetRequest $request, array $callOptions = []): User
- {
- return $this->startApiCall('Get', $request, $callOptions)->wait();
- }
-
- /**
- * Creates a new user in a Cloud SQL instance.
- *
- * The async variant is {@see SqlUsersServiceClient::insertAsync()} .
- *
- * @example samples/V1/SqlUsersServiceClient/insert.php
- *
- * @param SqlUsersInsertRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function insert(SqlUsersInsertRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Insert', $request, $callOptions)->wait();
- }
-
- /**
- * Lists users in the specified Cloud SQL instance.
- *
- * The async variant is {@see SqlUsersServiceClient::listAsync()} .
- *
- * @example samples/V1/SqlUsersServiceClient/list.php
- *
- * @param SqlUsersListRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return UsersListResponse
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function list(SqlUsersListRequest $request, array $callOptions = []): UsersListResponse
- {
- return $this->startApiCall('List', $request, $callOptions)->wait();
- }
-
- /**
- * Updates an existing user in a Cloud SQL instance.
- *
- * The async variant is {@see SqlUsersServiceClient::updateAsync()} .
- *
- * @example samples/V1/SqlUsersServiceClient/update.php
- *
- * @param SqlUsersUpdateRequest $request A request to house fields associated with the call.
- * @param array $callOptions {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return Operation
- *
- * @throws ApiException Thrown if the API call fails.
- */
- public function update(SqlUsersUpdateRequest $request, array $callOptions = []): Operation
- {
- return $this->startApiCall('Update', $request, $callOptions)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/gapic_metadata.json b/owl-bot-staging/SqlAdmin/v1/src/V1/gapic_metadata.json
deleted file mode 100644
index a32b84c89910..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/gapic_metadata.json
+++ /dev/null
@@ -1,425 +0,0 @@
-{
- "schema": "1.0",
- "comment": "This file maps proto services\/RPCs to the corresponding library clients\/methods",
- "language": "php",
- "protoPackage": "google.cloud.sql.v1",
- "libraryPackage": "Google\\Cloud\\Sql\\V1",
- "services": {
- "SqlAvailableDatabaseVersionsService": {
- "clients": {
- "grpc": {
- "libraryClient": "SqlAvailableDatabaseVersionsServiceGapicClient"
- }
- }
- },
- "SqlBackupRunsService": {
- "clients": {
- "grpc": {
- "libraryClient": "SqlBackupRunsServiceGapicClient",
- "rpcs": {
- "Delete": {
- "methods": [
- "delete"
- ]
- },
- "Get": {
- "methods": [
- "get"
- ]
- },
- "Insert": {
- "methods": [
- "insert"
- ]
- },
- "List": {
- "methods": [
- "list"
- ]
- }
- }
- }
- }
- },
- "SqlConnectService": {
- "clients": {
- "grpc": {
- "libraryClient": "SqlConnectServiceGapicClient",
- "rpcs": {
- "GenerateEphemeralCert": {
- "methods": [
- "generateEphemeralCert"
- ]
- },
- "GetConnectSettings": {
- "methods": [
- "getConnectSettings"
- ]
- }
- }
- }
- }
- },
- "SqlDatabasesService": {
- "clients": {
- "grpc": {
- "libraryClient": "SqlDatabasesServiceGapicClient",
- "rpcs": {
- "Delete": {
- "methods": [
- "delete"
- ]
- },
- "Get": {
- "methods": [
- "get"
- ]
- },
- "Insert": {
- "methods": [
- "insert"
- ]
- },
- "List": {
- "methods": [
- "list"
- ]
- },
- "Patch": {
- "methods": [
- "patch"
- ]
- },
- "Update": {
- "methods": [
- "update"
- ]
- }
- }
- }
- }
- },
- "SqlEventsService": {
- "clients": {
- "grpc": {
- "libraryClient": "SqlEventsServiceGapicClient"
- }
- }
- },
- "SqlFlagsService": {
- "clients": {
- "grpc": {
- "libraryClient": "SqlFlagsServiceGapicClient",
- "rpcs": {
- "List": {
- "methods": [
- "list"
- ]
- }
- }
- }
- }
- },
- "SqlIamPoliciesService": {
- "clients": {
- "grpc": {
- "libraryClient": "SqlIamPoliciesServiceGapicClient"
- }
- }
- },
- "SqlInstanceNamesService": {
- "clients": {
- "grpc": {
- "libraryClient": "SqlInstanceNamesServiceGapicClient"
- }
- }
- },
- "SqlInstancesService": {
- "clients": {
- "grpc": {
- "libraryClient": "SqlInstancesServiceGapicClient",
- "rpcs": {
- "AcquireSsrsLease": {
- "methods": [
- "acquireSsrsLease"
- ]
- },
- "AddServerCa": {
- "methods": [
- "addServerCa"
- ]
- },
- "Clone": {
- "methods": [
- "clone"
- ]
- },
- "CreateEphemeral": {
- "methods": [
- "createEphemeral"
- ]
- },
- "Delete": {
- "methods": [
- "delete"
- ]
- },
- "Demote": {
- "methods": [
- "demote"
- ]
- },
- "DemoteMaster": {
- "methods": [
- "demoteMaster"
- ]
- },
- "Export": {
- "methods": [
- "export"
- ]
- },
- "Failover": {
- "methods": [
- "failover"
- ]
- },
- "Get": {
- "methods": [
- "get"
- ]
- },
- "GetDiskShrinkConfig": {
- "methods": [
- "getDiskShrinkConfig"
- ]
- },
- "GetLatestRecoveryTime": {
- "methods": [
- "getLatestRecoveryTime"
- ]
- },
- "Import": {
- "methods": [
- "import"
- ]
- },
- "Insert": {
- "methods": [
- "insert"
- ]
- },
- "List": {
- "methods": [
- "list"
- ]
- },
- "ListServerCas": {
- "methods": [
- "listServerCas"
- ]
- },
- "Patch": {
- "methods": [
- "patch"
- ]
- },
- "PerformDiskShrink": {
- "methods": [
- "performDiskShrink"
- ]
- },
- "PromoteReplica": {
- "methods": [
- "promoteReplica"
- ]
- },
- "Reencrypt": {
- "methods": [
- "reencrypt"
- ]
- },
- "ReleaseSsrsLease": {
- "methods": [
- "releaseSsrsLease"
- ]
- },
- "RescheduleMaintenance": {
- "methods": [
- "rescheduleMaintenance"
- ]
- },
- "ResetReplicaSize": {
- "methods": [
- "resetReplicaSize"
- ]
- },
- "ResetSslConfig": {
- "methods": [
- "resetSslConfig"
- ]
- },
- "Restart": {
- "methods": [
- "restart"
- ]
- },
- "RestoreBackup": {
- "methods": [
- "restoreBackup"
- ]
- },
- "RotateServerCa": {
- "methods": [
- "rotateServerCa"
- ]
- },
- "StartExternalSync": {
- "methods": [
- "startExternalSync"
- ]
- },
- "StartReplica": {
- "methods": [
- "startReplica"
- ]
- },
- "StopReplica": {
- "methods": [
- "stopReplica"
- ]
- },
- "Switchover": {
- "methods": [
- "switchover"
- ]
- },
- "TruncateLog": {
- "methods": [
- "truncateLog"
- ]
- },
- "Update": {
- "methods": [
- "update"
- ]
- },
- "VerifyExternalSyncSettings": {
- "methods": [
- "verifyExternalSyncSettings"
- ]
- }
- }
- }
- }
- },
- "SqlOperationsService": {
- "clients": {
- "grpc": {
- "libraryClient": "SqlOperationsServiceGapicClient",
- "rpcs": {
- "Cancel": {
- "methods": [
- "cancel"
- ]
- },
- "Get": {
- "methods": [
- "get"
- ]
- },
- "List": {
- "methods": [
- "list"
- ]
- }
- }
- }
- }
- },
- "SqlRegionsService": {
- "clients": {
- "grpc": {
- "libraryClient": "SqlRegionsServiceGapicClient"
- }
- }
- },
- "SqlSslCertsService": {
- "clients": {
- "grpc": {
- "libraryClient": "SqlSslCertsServiceGapicClient",
- "rpcs": {
- "Delete": {
- "methods": [
- "delete"
- ]
- },
- "Get": {
- "methods": [
- "get"
- ]
- },
- "Insert": {
- "methods": [
- "insert"
- ]
- },
- "List": {
- "methods": [
- "list"
- ]
- }
- }
- }
- }
- },
- "SqlTiersService": {
- "clients": {
- "grpc": {
- "libraryClient": "SqlTiersServiceGapicClient",
- "rpcs": {
- "List": {
- "methods": [
- "list"
- ]
- }
- }
- }
- }
- },
- "SqlUsersService": {
- "clients": {
- "grpc": {
- "libraryClient": "SqlUsersServiceGapicClient",
- "rpcs": {
- "Delete": {
- "methods": [
- "delete"
- ]
- },
- "Get": {
- "methods": [
- "get"
- ]
- },
- "Insert": {
- "methods": [
- "insert"
- ]
- },
- "List": {
- "methods": [
- "list"
- ]
- },
- "Update": {
- "methods": [
- "update"
- ]
- }
- }
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_available_database_versions_service_client_config.json b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_available_database_versions_service_client_config.json
deleted file mode 100644
index 67533dc18e0f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_available_database_versions_service_client_config.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1.SqlAvailableDatabaseVersionsService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": []
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_available_database_versions_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_available_database_versions_service_descriptor_config.php
deleted file mode 100644
index 356e7981b252..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_available_database_versions_service_descriptor_config.php
+++ /dev/null
@@ -1,27 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlAvailableDatabaseVersionsService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_available_database_versions_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_available_database_versions_service_rest_client_config.php
deleted file mode 100644
index b33f57959be3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_available_database_versions_service_rest_client_config.php
+++ /dev/null
@@ -1,26 +0,0 @@
- [],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_backup_runs_service_client_config.json b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_backup_runs_service_client_config.json
deleted file mode 100644
index b69646a9f35d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_backup_runs_service_client_config.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1.SqlBackupRunsService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "Delete": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Get": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Insert": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_backup_runs_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_backup_runs_service_descriptor_config.php
deleted file mode 100644
index afda4d34224e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_backup_runs_service_descriptor_config.php
+++ /dev/null
@@ -1,112 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlBackupRunsService' => [
- 'Delete' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- [
- 'keyName' => 'id',
- 'fieldAccessors' => [
- 'getId',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\BackupRun',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- [
- 'keyName' => 'id',
- 'fieldAccessors' => [
- 'getId',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'List' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\BackupRunsListResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- ],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_backup_runs_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_backup_runs_service_rest_client_config.php
deleted file mode 100644
index 88a3920f7733..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_backup_runs_service_rest_client_config.php
+++ /dev/null
@@ -1,104 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlBackupRunsService' => [
- 'Delete' => [
- 'method' => 'delete',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/backupRuns/{id}',
- 'placeholders' => [
- 'id' => [
- 'getters' => [
- 'getId',
- ],
- ],
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/backupRuns/{id}',
- 'placeholders' => [
- 'id' => [
- 'getters' => [
- 'getId',
- ],
- ],
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/backupRuns',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/backupRuns',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_connect_service_client_config.json b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_connect_service_client_config.json
deleted file mode 100644
index 4c1986cfb3a9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_connect_service_client_config.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1.SqlConnectService": {
- "retry_codes": {
- "no_retry_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- }
- },
- "methods": {
- "GenerateEphemeralCert": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_codes",
- "retry_params_name": "no_retry_params"
- },
- "GetConnectSettings": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_codes",
- "retry_params_name": "no_retry_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_connect_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_connect_service_descriptor_config.php
deleted file mode 100644
index 24ec469afcb7..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_connect_service_descriptor_config.php
+++ /dev/null
@@ -1,64 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlConnectService' => [
- 'GenerateEphemeralCert' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\GenerateEphemeralCertResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'GetConnectSettings' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\ConnectSettings',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- ],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_connect_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_connect_service_rest_client_config.php
deleted file mode 100644
index b68bacc8b395..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_connect_service_rest_client_config.php
+++ /dev/null
@@ -1,62 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlConnectService' => [
- 'GenerateEphemeralCert' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}:generateEphemeralCert',
- 'body' => '*',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'GetConnectSettings' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/connectSettings',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_databases_service_client_config.json b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_databases_service_client_config.json
deleted file mode 100644
index 6542ee505199..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_databases_service_client_config.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1.SqlDatabasesService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "Delete": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Get": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Insert": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Patch": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Update": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_databases_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_databases_service_descriptor_config.php
deleted file mode 100644
index 5484e5243370..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_databases_service_descriptor_config.php
+++ /dev/null
@@ -1,160 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlDatabasesService' => [
- 'Delete' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- [
- 'keyName' => 'database',
- 'fieldAccessors' => [
- 'getDatabase',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Database',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- [
- 'keyName' => 'database',
- 'fieldAccessors' => [
- 'getDatabase',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'List' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\DatabasesListResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Patch' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- [
- 'keyName' => 'database',
- 'fieldAccessors' => [
- 'getDatabase',
- ],
- ],
- ],
- ],
- 'Update' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- [
- 'keyName' => 'database',
- 'fieldAccessors' => [
- 'getDatabase',
- ],
- ],
- ],
- ],
- ],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_databases_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_databases_service_rest_client_config.php
deleted file mode 100644
index 92ed62735309..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_databases_service_rest_client_config.php
+++ /dev/null
@@ -1,148 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlDatabasesService' => [
- 'Delete' => [
- 'method' => 'delete',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/databases/{database}',
- 'placeholders' => [
- 'database' => [
- 'getters' => [
- 'getDatabase',
- ],
- ],
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/databases/{database}',
- 'placeholders' => [
- 'database' => [
- 'getters' => [
- 'getDatabase',
- ],
- ],
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/databases',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/databases',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Patch' => [
- 'method' => 'patch',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/databases/{database}',
- 'body' => 'body',
- 'placeholders' => [
- 'database' => [
- 'getters' => [
- 'getDatabase',
- ],
- ],
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Update' => [
- 'method' => 'put',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/databases/{database}',
- 'body' => 'body',
- 'placeholders' => [
- 'database' => [
- 'getters' => [
- 'getDatabase',
- ],
- ],
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_events_service_client_config.json b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_events_service_client_config.json
deleted file mode 100644
index cb52d4e16a1f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_events_service_client_config.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1.SqlEventsService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": []
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_events_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_events_service_descriptor_config.php
deleted file mode 100644
index 55d525ef6df8..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_events_service_descriptor_config.php
+++ /dev/null
@@ -1,27 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlEventsService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_events_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_events_service_rest_client_config.php
deleted file mode 100644
index b33f57959be3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_events_service_rest_client_config.php
+++ /dev/null
@@ -1,26 +0,0 @@
- [],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_flags_service_client_config.json b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_flags_service_client_config.json
deleted file mode 100644
index ae3b5f2ee3d0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_flags_service_client_config.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1.SqlFlagsService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_flags_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_flags_service_descriptor_config.php
deleted file mode 100644
index 34f76073b652..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_flags_service_descriptor_config.php
+++ /dev/null
@@ -1,32 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlFlagsService' => [
- 'List' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\FlagsListResponse',
- ],
- ],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_flags_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_flags_service_rest_client_config.php
deleted file mode 100644
index caa3c0daf149..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_flags_service_rest_client_config.php
+++ /dev/null
@@ -1,33 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlFlagsService' => [
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/flags',
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_iam_policies_service_client_config.json b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_iam_policies_service_client_config.json
deleted file mode 100644
index c14bc6174db0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_iam_policies_service_client_config.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1.SqlIamPoliciesService": {
- "retry_codes": {
- "no_retry_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- }
- },
- "methods": []
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_iam_policies_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_iam_policies_service_descriptor_config.php
deleted file mode 100644
index 45c8076dd07f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_iam_policies_service_descriptor_config.php
+++ /dev/null
@@ -1,27 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlIamPoliciesService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_iam_policies_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_iam_policies_service_rest_client_config.php
deleted file mode 100644
index b33f57959be3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_iam_policies_service_rest_client_config.php
+++ /dev/null
@@ -1,26 +0,0 @@
- [],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instance_names_service_client_config.json b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instance_names_service_client_config.json
deleted file mode 100644
index a6173faa203a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instance_names_service_client_config.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1.SqlInstanceNamesService": {
- "retry_codes": {
- "no_retry_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- }
- },
- "methods": []
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instance_names_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instance_names_service_descriptor_config.php
deleted file mode 100644
index 0c94603c1c35..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instance_names_service_descriptor_config.php
+++ /dev/null
@@ -1,27 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlInstanceNamesService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instance_names_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instance_names_service_rest_client_config.php
deleted file mode 100644
index b33f57959be3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instance_names_service_rest_client_config.php
+++ /dev/null
@@ -1,26 +0,0 @@
- [],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instances_service_client_config.json b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instances_service_client_config.json
deleted file mode 100644
index acab843eb19f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instances_service_client_config.json
+++ /dev/null
@@ -1,202 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1.SqlInstancesService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "AcquireSsrsLease": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "AddServerCa": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Clone": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "CreateEphemeral": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Delete": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Demote": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "DemoteMaster": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Export": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Failover": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Get": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "GetDiskShrinkConfig": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "GetLatestRecoveryTime": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Import": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Insert": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "ListServerCas": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Patch": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "PerformDiskShrink": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "PromoteReplica": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Reencrypt": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "ReleaseSsrsLease": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "RescheduleMaintenance": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "ResetReplicaSize": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "ResetSslConfig": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Restart": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "RestoreBackup": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "RotateServerCa": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "StartExternalSync": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "StartReplica": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "StopReplica": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Switchover": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "TruncateLog": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Update": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "VerifyExternalSyncSettings": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instances_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instances_service_descriptor_config.php
deleted file mode 100644
index 8a91a4186997..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instances_service_descriptor_config.php
+++ /dev/null
@@ -1,628 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlInstancesService' => [
- 'AcquireSsrsLease' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\SqlInstancesAcquireSsrsLeaseResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'AddServerCa' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Clone' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'CreateEphemeral' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\SslCert',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Delete' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Demote' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'DemoteMaster' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Export' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Failover' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\DatabaseInstance',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'GetDiskShrinkConfig' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\SqlInstancesGetDiskShrinkConfigResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'GetLatestRecoveryTime' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\SqlInstancesGetLatestRecoveryTimeResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Import' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'List' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\InstancesListResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'ListServerCas' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\InstancesListServerCasResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Patch' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'PerformDiskShrink' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'PromoteReplica' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Reencrypt' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'ReleaseSsrsLease' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\SqlInstancesReleaseSsrsLeaseResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'RescheduleMaintenance' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'ResetReplicaSize' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'ResetSslConfig' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Restart' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'RestoreBackup' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'RotateServerCa' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'StartExternalSync' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'StartReplica' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'StopReplica' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Switchover' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'TruncateLog' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Update' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'VerifyExternalSyncSettings' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\SqlInstancesVerifyExternalSyncSettingsResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- ],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instances_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instances_service_rest_client_config.php
deleted file mode 100644
index 29c60fc1eb5c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_instances_service_rest_client_config.php
+++ /dev/null
@@ -1,583 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlInstancesService' => [
- 'AcquireSsrsLease' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/acquireSsrsLease',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'AddServerCa' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/addServerCa',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Clone' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/clone',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'CreateEphemeral' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/createEphemeral',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Delete' => [
- 'method' => 'delete',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Demote' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/demote',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'DemoteMaster' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/demoteMaster',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Export' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/export',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Failover' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/failover',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'GetDiskShrinkConfig' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/getDiskShrinkConfig',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'GetLatestRecoveryTime' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/getLatestRecoveryTime',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Import' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/import',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances',
- 'body' => 'body',
- 'placeholders' => [
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/instances',
- 'placeholders' => [
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'ListServerCas' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/listServerCas',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Patch' => [
- 'method' => 'patch',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'PerformDiskShrink' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/performDiskShrink',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'PromoteReplica' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/promoteReplica',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Reencrypt' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/reencrypt',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'ReleaseSsrsLease' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/releaseSsrsLease',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'RescheduleMaintenance' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/rescheduleMaintenance',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'ResetReplicaSize' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/resetReplicaSize',
- 'body' => '*',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'ResetSslConfig' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/resetSslConfig',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Restart' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/restart',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'RestoreBackup' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/restoreBackup',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'RotateServerCa' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/rotateServerCa',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'StartExternalSync' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/startExternalSync',
- 'body' => '*',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'StartReplica' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/startReplica',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'StopReplica' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/stopReplica',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Switchover' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/switchover',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'TruncateLog' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/truncateLog',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Update' => [
- 'method' => 'put',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'VerifyExternalSyncSettings' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/verifyExternalSyncSettings',
- 'body' => '*',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_operations_service_client_config.json b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_operations_service_client_config.json
deleted file mode 100644
index 5ce164fb9ef6..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_operations_service_client_config.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1.SqlOperationsService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "Cancel": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Get": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_operations_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_operations_service_descriptor_config.php
deleted file mode 100644
index c10561a60717..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_operations_service_descriptor_config.php
+++ /dev/null
@@ -1,76 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlOperationsService' => [
- 'Cancel' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Protobuf\GPBEmpty',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'operation',
- 'fieldAccessors' => [
- 'getOperation',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'operation',
- 'fieldAccessors' => [
- 'getOperation',
- ],
- ],
- ],
- ],
- 'List' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\OperationsListResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_operations_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_operations_service_rest_client_config.php
deleted file mode 100644
index 1f90139216f3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_operations_service_rest_client_config.php
+++ /dev/null
@@ -1,72 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlOperationsService' => [
- 'Cancel' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/operations/{operation}/cancel',
- 'placeholders' => [
- 'operation' => [
- 'getters' => [
- 'getOperation',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/operations/{operation}',
- 'placeholders' => [
- 'operation' => [
- 'getters' => [
- 'getOperation',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/operations',
- 'placeholders' => [
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_regions_service_client_config.json b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_regions_service_client_config.json
deleted file mode 100644
index 174e56eb3b97..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_regions_service_client_config.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1.SqlRegionsService": {
- "retry_codes": {
- "no_retry_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- }
- },
- "methods": []
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_regions_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_regions_service_descriptor_config.php
deleted file mode 100644
index d3311811274a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_regions_service_descriptor_config.php
+++ /dev/null
@@ -1,27 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlRegionsService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_regions_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_regions_service_rest_client_config.php
deleted file mode 100644
index b33f57959be3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_regions_service_rest_client_config.php
+++ /dev/null
@@ -1,26 +0,0 @@
- [],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_ssl_certs_service_client_config.json b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_ssl_certs_service_client_config.json
deleted file mode 100644
index 46ceaef63718..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_ssl_certs_service_client_config.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1.SqlSslCertsService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "Delete": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Get": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Insert": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_ssl_certs_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_ssl_certs_service_descriptor_config.php
deleted file mode 100644
index 2fd9e63e4e12..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_ssl_certs_service_descriptor_config.php
+++ /dev/null
@@ -1,112 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlSslCertsService' => [
- 'Delete' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- [
- 'keyName' => 'sha1_fingerprint',
- 'fieldAccessors' => [
- 'getSha1Fingerprint',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\SslCert',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- [
- 'keyName' => 'sha1_fingerprint',
- 'fieldAccessors' => [
- 'getSha1Fingerprint',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\SslCertsInsertResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'List' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\SslCertsListResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- ],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_ssl_certs_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_ssl_certs_service_rest_client_config.php
deleted file mode 100644
index 293461e0404a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_ssl_certs_service_rest_client_config.php
+++ /dev/null
@@ -1,104 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlSslCertsService' => [
- 'Delete' => [
- 'method' => 'delete',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- 'sha1_fingerprint' => [
- 'getters' => [
- 'getSha1Fingerprint',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- 'sha1_fingerprint' => [
- 'getters' => [
- 'getSha1Fingerprint',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/sslCerts',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/sslCerts',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_tiers_service_client_config.json b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_tiers_service_client_config.json
deleted file mode 100644
index 5cb74b67df4b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_tiers_service_client_config.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1.SqlTiersService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_tiers_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_tiers_service_descriptor_config.php
deleted file mode 100644
index 0b40da39b6bc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_tiers_service_descriptor_config.php
+++ /dev/null
@@ -1,40 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlTiersService' => [
- 'List' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\TiersListResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_tiers_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_tiers_service_rest_client_config.php
deleted file mode 100644
index e983b43d09d9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_tiers_service_rest_client_config.php
+++ /dev/null
@@ -1,40 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlTiersService' => [
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/tiers',
- 'placeholders' => [
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_users_service_client_config.json b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_users_service_client_config.json
deleted file mode 100644
index b9b8a36e8ce7..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_users_service_client_config.json
+++ /dev/null
@@ -1,57 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1.SqlUsersService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "Delete": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Get": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Insert": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Update": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_users_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_users_service_descriptor_config.php
deleted file mode 100644
index d998757a81db..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_users_service_descriptor_config.php
+++ /dev/null
@@ -1,124 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlUsersService' => [
- 'Delete' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\User',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- [
- 'keyName' => 'name',
- 'fieldAccessors' => [
- 'getName',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'List' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\UsersListResponse',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- 'Update' => [
- 'callType' => \Google\ApiCore\Call::UNARY_CALL,
- 'responseType' => 'Google\Cloud\Sql\V1\Operation',
- 'headerParams' => [
- [
- 'keyName' => 'project',
- 'fieldAccessors' => [
- 'getProject',
- ],
- ],
- [
- 'keyName' => 'instance',
- 'fieldAccessors' => [
- 'getInstance',
- ],
- ],
- ],
- ],
- ],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_users_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_users_service_rest_client_config.php
deleted file mode 100644
index 1ce8c4a32f35..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/src/V1/resources/sql_users_service_rest_client_config.php
+++ /dev/null
@@ -1,116 +0,0 @@
- [
- 'google.cloud.sql.v1.SqlUsersService' => [
- 'Delete' => [
- 'method' => 'delete',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/users',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/users/{name}',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'method' => 'post',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/users',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/users',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Update' => [
- 'method' => 'put',
- 'uriTemplate' => '/v1/projects/{project}/instances/{instance}/users',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlAvailableDatabaseVersionsServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlAvailableDatabaseVersionsServiceClientTest.php
deleted file mode 100644
index 9715a06bdc6d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlAvailableDatabaseVersionsServiceClientTest.php
+++ /dev/null
@@ -1,56 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlAvailableDatabaseVersionsServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlAvailableDatabaseVersionsServiceClient($options);
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlBackupRunsServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlBackupRunsServiceClientTest.php
deleted file mode 100644
index 21106acc0178..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlBackupRunsServiceClientTest.php
+++ /dev/null
@@ -1,365 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlBackupRunsServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlBackupRunsServiceClient($options);
- }
-
- /** @test */
- public function deleteTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlBackupRunsDeleteRequest();
- $response = $gapicClient->delete($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlBackupRunsService/Delete', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlBackupRunsDeleteRequest();
- try {
- $gapicClient->delete($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $id2 = 3227150;
- $description = 'description-1724546052';
- $instance2 = 'instance2902024968';
- $selfLink = 'selfLink-1691268851';
- $location = 'location1901043637';
- $timeZone = 'timeZone36848094';
- $expectedResponse = new BackupRun();
- $expectedResponse->setKind($kind);
- $expectedResponse->setId($id2);
- $expectedResponse->setDescription($description);
- $expectedResponse->setInstance($instance2);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setLocation($location);
- $expectedResponse->setTimeZone($timeZone);
- $transport->addResponse($expectedResponse);
- $request = new SqlBackupRunsGetRequest();
- $response = $gapicClient->get($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlBackupRunsService/Get', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlBackupRunsGetRequest();
- try {
- $gapicClient->get($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlBackupRunsInsertRequest();
- $response = $gapicClient->insert($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlBackupRunsService/Insert', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlBackupRunsInsertRequest();
- try {
- $gapicClient->insert($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $nextPageToken = 'nextPageToken-1530815211';
- $expectedResponse = new BackupRunsListResponse();
- $expectedResponse->setKind($kind);
- $expectedResponse->setNextPageToken($nextPageToken);
- $transport->addResponse($expectedResponse);
- $request = new SqlBackupRunsListRequest();
- $response = $gapicClient->list($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlBackupRunsService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlBackupRunsListRequest();
- try {
- $gapicClient->list($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteAsyncTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlBackupRunsDeleteRequest();
- $response = $gapicClient->deleteAsync($request)->wait();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlBackupRunsService/Delete', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlConnectServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlConnectServiceClientTest.php
deleted file mode 100644
index 7463ad765f89..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlConnectServiceClientTest.php
+++ /dev/null
@@ -1,202 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlConnectServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlConnectServiceClient($options);
- }
-
- /** @test */
- public function generateEphemeralCertTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new GenerateEphemeralCertResponse();
- $transport->addResponse($expectedResponse);
- $request = new GenerateEphemeralCertRequest();
- $response = $gapicClient->generateEphemeralCert($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlConnectService/GenerateEphemeralCert', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function generateEphemeralCertExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new GenerateEphemeralCertRequest();
- try {
- $gapicClient->generateEphemeralCert($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getConnectSettingsTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $region = 'region-934795532';
- $pscEnabled = true;
- $dnsName = 'dnsName411992033';
- $expectedResponse = new ConnectSettings();
- $expectedResponse->setKind($kind);
- $expectedResponse->setRegion($region);
- $expectedResponse->setPscEnabled($pscEnabled);
- $expectedResponse->setDnsName($dnsName);
- $transport->addResponse($expectedResponse);
- $request = new GetConnectSettingsRequest();
- $response = $gapicClient->getConnectSettings($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlConnectService/GetConnectSettings', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getConnectSettingsExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new GetConnectSettingsRequest();
- try {
- $gapicClient->getConnectSettings($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function generateEphemeralCertAsyncTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new GenerateEphemeralCertResponse();
- $transport->addResponse($expectedResponse);
- $request = new GenerateEphemeralCertRequest();
- $response = $gapicClient->generateEphemeralCertAsync($request)->wait();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlConnectService/GenerateEphemeralCert', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlDatabasesServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlDatabasesServiceClientTest.php
deleted file mode 100644
index 217b77521648..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlDatabasesServiceClientTest.php
+++ /dev/null
@@ -1,502 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlDatabasesServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlDatabasesServiceClient($options);
- }
-
- /** @test */
- public function deleteTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlDatabasesDeleteRequest();
- $response = $gapicClient->delete($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlDatabasesService/Delete', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlDatabasesDeleteRequest();
- try {
- $gapicClient->delete($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $charset = 'charset739074380';
- $collation = 'collation1880293257';
- $etag = 'etag3123477';
- $name = 'name3373707';
- $instance2 = 'instance2902024968';
- $selfLink = 'selfLink-1691268851';
- $project2 = 'project2-894831476';
- $expectedResponse = new Database();
- $expectedResponse->setKind($kind);
- $expectedResponse->setCharset($charset);
- $expectedResponse->setCollation($collation);
- $expectedResponse->setEtag($etag);
- $expectedResponse->setName($name);
- $expectedResponse->setInstance($instance2);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setProject($project2);
- $transport->addResponse($expectedResponse);
- $request = new SqlDatabasesGetRequest();
- $response = $gapicClient->get($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlDatabasesService/Get', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlDatabasesGetRequest();
- try {
- $gapicClient->get($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlDatabasesInsertRequest();
- $response = $gapicClient->insert($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlDatabasesService/Insert', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlDatabasesInsertRequest();
- try {
- $gapicClient->insert($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new DatabasesListResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $request = new SqlDatabasesListRequest();
- $response = $gapicClient->list($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlDatabasesService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlDatabasesListRequest();
- try {
- $gapicClient->list($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function patchTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlDatabasesUpdateRequest();
- $response = $gapicClient->patch($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlDatabasesService/Patch', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function patchExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlDatabasesUpdateRequest();
- try {
- $gapicClient->patch($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlDatabasesUpdateRequest();
- $response = $gapicClient->update($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlDatabasesService/Update', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlDatabasesUpdateRequest();
- try {
- $gapicClient->update($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteAsyncTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlDatabasesDeleteRequest();
- $response = $gapicClient->deleteAsync($request)->wait();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlDatabasesService/Delete', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlEventsServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlEventsServiceClientTest.php
deleted file mode 100644
index 25ef5a2c273c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlEventsServiceClientTest.php
+++ /dev/null
@@ -1,56 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlEventsServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlEventsServiceClient($options);
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlFlagsServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlFlagsServiceClientTest.php
deleted file mode 100644
index 3a540339561b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlFlagsServiceClientTest.php
+++ /dev/null
@@ -1,142 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlFlagsServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlFlagsServiceClient($options);
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new FlagsListResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $request = new SqlFlagsListRequest();
- $response = $gapicClient->list($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlFlagsService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlFlagsListRequest();
- try {
- $gapicClient->list($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listAsyncTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new FlagsListResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $request = new SqlFlagsListRequest();
- $response = $gapicClient->listAsync($request)->wait();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlFlagsService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlIamPoliciesServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlIamPoliciesServiceClientTest.php
deleted file mode 100644
index ecde531e3f3e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlIamPoliciesServiceClientTest.php
+++ /dev/null
@@ -1,56 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlIamPoliciesServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlIamPoliciesServiceClient($options);
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlInstanceNamesServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlInstanceNamesServiceClientTest.php
deleted file mode 100644
index 64aed46c7dc5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlInstanceNamesServiceClientTest.php
+++ /dev/null
@@ -1,56 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlInstanceNamesServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlInstanceNamesServiceClient($options);
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlInstancesServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlInstancesServiceClientTest.php
deleted file mode 100644
index 09956e8eeb12..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlInstancesServiceClientTest.php
+++ /dev/null
@@ -1,2466 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlInstancesServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlInstancesServiceClient($options);
- }
-
- /** @test */
- public function acquireSsrsLeaseTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $operationId = 'operationId-274116877';
- $expectedResponse = new SqlInstancesAcquireSsrsLeaseResponse();
- $expectedResponse->setOperationId($operationId);
- $transport->addResponse($expectedResponse);
- // Mock request
- $instance = 'instance555127957';
- $project = 'project-309310695';
- $body = new InstancesAcquireSsrsLeaseRequest();
- $request = (new SqlInstancesAcquireSsrsLeaseRequest())
- ->setInstance($instance)
- ->setProject($project)
- ->setBody($body);
- $response = $gapicClient->acquireSsrsLease($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/AcquireSsrsLease', $actualFuncCall);
- $actualValue = $actualRequestObject->getInstance();
- $this->assertProtobufEquals($instance, $actualValue);
- $actualValue = $actualRequestObject->getProject();
- $this->assertProtobufEquals($project, $actualValue);
- $actualValue = $actualRequestObject->getBody();
- $this->assertProtobufEquals($body, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function acquireSsrsLeaseExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $instance = 'instance555127957';
- $project = 'project-309310695';
- $body = new InstancesAcquireSsrsLeaseRequest();
- $request = (new SqlInstancesAcquireSsrsLeaseRequest())
- ->setInstance($instance)
- ->setProject($project)
- ->setBody($body);
- try {
- $gapicClient->acquireSsrsLease($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function addServerCaTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesAddServerCaRequest();
- $response = $gapicClient->addServerCa($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/AddServerCa', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function addServerCaExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesAddServerCaRequest();
- try {
- $gapicClient->addServerCa($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function cloneTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesCloneRequest();
- $response = $gapicClient->clone($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/Clone', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function cloneExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesCloneRequest();
- try {
- $gapicClient->clone($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function createEphemeralTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $certSerialNumber = 'certSerialNumber-440611559';
- $cert = 'cert3050020';
- $commonName = 'commonName-1924955041';
- $sha1Fingerprint = 'sha1Fingerprint-1699692374';
- $instance2 = 'instance2902024968';
- $selfLink = 'selfLink-1691268851';
- $expectedResponse = new SslCert();
- $expectedResponse->setKind($kind);
- $expectedResponse->setCertSerialNumber($certSerialNumber);
- $expectedResponse->setCert($cert);
- $expectedResponse->setCommonName($commonName);
- $expectedResponse->setSha1Fingerprint($sha1Fingerprint);
- $expectedResponse->setInstance($instance2);
- $expectedResponse->setSelfLink($selfLink);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesCreateEphemeralCertRequest();
- $response = $gapicClient->createEphemeral($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/CreateEphemeral', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function createEphemeralExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesCreateEphemeralCertRequest();
- try {
- $gapicClient->createEphemeral($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesDeleteRequest();
- $response = $gapicClient->delete($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/Delete', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesDeleteRequest();
- try {
- $gapicClient->delete($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function demoteTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- // Mock request
- $instance = 'instance555127957';
- $project = 'project-309310695';
- $body = new InstancesDemoteRequest();
- $bodyDemoteContext = new DemoteContext();
- $demoteContextSourceRepresentativeInstanceName = 'demoteContextSourceRepresentativeInstanceName1566063379';
- $bodyDemoteContext->setSourceRepresentativeInstanceName($demoteContextSourceRepresentativeInstanceName);
- $body->setDemoteContext($bodyDemoteContext);
- $request = (new SqlInstancesDemoteRequest())
- ->setInstance($instance)
- ->setProject($project)
- ->setBody($body);
- $response = $gapicClient->demote($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/Demote', $actualFuncCall);
- $actualValue = $actualRequestObject->getInstance();
- $this->assertProtobufEquals($instance, $actualValue);
- $actualValue = $actualRequestObject->getProject();
- $this->assertProtobufEquals($project, $actualValue);
- $actualValue = $actualRequestObject->getBody();
- $this->assertProtobufEquals($body, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function demoteExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $instance = 'instance555127957';
- $project = 'project-309310695';
- $body = new InstancesDemoteRequest();
- $bodyDemoteContext = new DemoteContext();
- $demoteContextSourceRepresentativeInstanceName = 'demoteContextSourceRepresentativeInstanceName1566063379';
- $bodyDemoteContext->setSourceRepresentativeInstanceName($demoteContextSourceRepresentativeInstanceName);
- $body->setDemoteContext($bodyDemoteContext);
- $request = (new SqlInstancesDemoteRequest())
- ->setInstance($instance)
- ->setProject($project)
- ->setBody($body);
- try {
- $gapicClient->demote($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function demoteMasterTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesDemoteMasterRequest();
- $response = $gapicClient->demoteMaster($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/DemoteMaster', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function demoteMasterExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesDemoteMasterRequest();
- try {
- $gapicClient->demoteMaster($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function exportTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesExportRequest();
- $response = $gapicClient->export($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/Export', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function exportExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesExportRequest();
- try {
- $gapicClient->export($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function failoverTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesFailoverRequest();
- $response = $gapicClient->failover($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/Failover', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function failoverExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesFailoverRequest();
- try {
- $gapicClient->failover($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $etag = 'etag3123477';
- $masterInstanceName = 'masterInstanceName-383886120';
- $project2 = 'project2-894831476';
- $ipv6Address = 'ipv6Address1952176540';
- $serviceAccountEmailAddress = 'serviceAccountEmailAddress303603125';
- $selfLink = 'selfLink-1691268851';
- $connectionName = 'connectionName731664204';
- $name = 'name3373707';
- $region = 'region-934795532';
- $gceZone = 'gceZone-227587294';
- $secondaryGceZone = 'secondaryGceZone826699149';
- $rootPassword = 'rootPassword448743768';
- $databaseInstalledVersion = 'databaseInstalledVersion-1701014705';
- $maintenanceVersion = 'maintenanceVersion-588975188';
- $pscServiceAttachmentLink = 'pscServiceAttachmentLink309057421';
- $dnsName = 'dnsName411992033';
- $primaryDnsName = 'primaryDnsName-1306966658';
- $writeEndpoint = 'writeEndpoint-1575656971';
- $expectedResponse = new DatabaseInstance();
- $expectedResponse->setKind($kind);
- $expectedResponse->setEtag($etag);
- $expectedResponse->setMasterInstanceName($masterInstanceName);
- $expectedResponse->setProject($project2);
- $expectedResponse->setIpv6Address($ipv6Address);
- $expectedResponse->setServiceAccountEmailAddress($serviceAccountEmailAddress);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setConnectionName($connectionName);
- $expectedResponse->setName($name);
- $expectedResponse->setRegion($region);
- $expectedResponse->setGceZone($gceZone);
- $expectedResponse->setSecondaryGceZone($secondaryGceZone);
- $expectedResponse->setRootPassword($rootPassword);
- $expectedResponse->setDatabaseInstalledVersion($databaseInstalledVersion);
- $expectedResponse->setMaintenanceVersion($maintenanceVersion);
- $expectedResponse->setPscServiceAttachmentLink($pscServiceAttachmentLink);
- $expectedResponse->setDnsName($dnsName);
- $expectedResponse->setPrimaryDnsName($primaryDnsName);
- $expectedResponse->setWriteEndpoint($writeEndpoint);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesGetRequest();
- $response = $gapicClient->get($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/Get', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesGetRequest();
- try {
- $gapicClient->get($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getDiskShrinkConfigTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $minimalTargetSizeGb = 1076246647;
- $message = 'message954925063';
- $expectedResponse = new SqlInstancesGetDiskShrinkConfigResponse();
- $expectedResponse->setKind($kind);
- $expectedResponse->setMinimalTargetSizeGb($minimalTargetSizeGb);
- $expectedResponse->setMessage($message);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesGetDiskShrinkConfigRequest();
- $response = $gapicClient->getDiskShrinkConfig($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/GetDiskShrinkConfig', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getDiskShrinkConfigExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesGetDiskShrinkConfigRequest();
- try {
- $gapicClient->getDiskShrinkConfig($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getLatestRecoveryTimeTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new SqlInstancesGetLatestRecoveryTimeResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesGetLatestRecoveryTimeRequest();
- $response = $gapicClient->getLatestRecoveryTime($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/GetLatestRecoveryTime', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getLatestRecoveryTimeExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesGetLatestRecoveryTimeRequest();
- try {
- $gapicClient->getLatestRecoveryTime($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function importTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesImportRequest();
- $response = $gapicClient->import($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/Import', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function importExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesImportRequest();
- try {
- $gapicClient->import($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesInsertRequest();
- $response = $gapicClient->insert($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/Insert', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesInsertRequest();
- try {
- $gapicClient->insert($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $nextPageToken = 'nextPageToken-1530815211';
- $expectedResponse = new InstancesListResponse();
- $expectedResponse->setKind($kind);
- $expectedResponse->setNextPageToken($nextPageToken);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesListRequest();
- $response = $gapicClient->list($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesListRequest();
- try {
- $gapicClient->list($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listServerCasTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $activeVersion = 'activeVersion442490015';
- $kind = 'kind3292052';
- $expectedResponse = new InstancesListServerCasResponse();
- $expectedResponse->setActiveVersion($activeVersion);
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesListServerCasRequest();
- $response = $gapicClient->listServerCas($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/ListServerCas', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listServerCasExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesListServerCasRequest();
- try {
- $gapicClient->listServerCas($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function patchTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesPatchRequest();
- $response = $gapicClient->patch($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/Patch', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function patchExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesPatchRequest();
- try {
- $gapicClient->patch($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function performDiskShrinkTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesPerformDiskShrinkRequest();
- $response = $gapicClient->performDiskShrink($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/PerformDiskShrink', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function performDiskShrinkExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesPerformDiskShrinkRequest();
- try {
- $gapicClient->performDiskShrink($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function promoteReplicaTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesPromoteReplicaRequest();
- $response = $gapicClient->promoteReplica($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/PromoteReplica', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function promoteReplicaExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesPromoteReplicaRequest();
- try {
- $gapicClient->promoteReplica($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function reencryptTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesReencryptRequest();
- $response = $gapicClient->reencrypt($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/Reencrypt', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function reencryptExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesReencryptRequest();
- try {
- $gapicClient->reencrypt($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function releaseSsrsLeaseTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $operationId = 'operationId-274116877';
- $expectedResponse = new SqlInstancesReleaseSsrsLeaseResponse();
- $expectedResponse->setOperationId($operationId);
- $transport->addResponse($expectedResponse);
- // Mock request
- $instance = 'instance555127957';
- $project = 'project-309310695';
- $request = (new SqlInstancesReleaseSsrsLeaseRequest())
- ->setInstance($instance)
- ->setProject($project);
- $response = $gapicClient->releaseSsrsLease($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/ReleaseSsrsLease', $actualFuncCall);
- $actualValue = $actualRequestObject->getInstance();
- $this->assertProtobufEquals($instance, $actualValue);
- $actualValue = $actualRequestObject->getProject();
- $this->assertProtobufEquals($project, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function releaseSsrsLeaseExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $instance = 'instance555127957';
- $project = 'project-309310695';
- $request = (new SqlInstancesReleaseSsrsLeaseRequest())
- ->setInstance($instance)
- ->setProject($project);
- try {
- $gapicClient->releaseSsrsLease($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function rescheduleMaintenanceTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesRescheduleMaintenanceRequest();
- $response = $gapicClient->rescheduleMaintenance($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/RescheduleMaintenance', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function rescheduleMaintenanceExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesRescheduleMaintenanceRequest();
- try {
- $gapicClient->rescheduleMaintenance($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function resetReplicaSizeTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesResetReplicaSizeRequest();
- $response = $gapicClient->resetReplicaSize($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/ResetReplicaSize', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function resetReplicaSizeExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesResetReplicaSizeRequest();
- try {
- $gapicClient->resetReplicaSize($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function resetSslConfigTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesResetSslConfigRequest();
- $response = $gapicClient->resetSslConfig($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/ResetSslConfig', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function resetSslConfigExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesResetSslConfigRequest();
- try {
- $gapicClient->resetSslConfig($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function restartTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesRestartRequest();
- $response = $gapicClient->restart($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/Restart', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function restartExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesRestartRequest();
- try {
- $gapicClient->restart($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function restoreBackupTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesRestoreBackupRequest();
- $response = $gapicClient->restoreBackup($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/RestoreBackup', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function restoreBackupExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesRestoreBackupRequest();
- try {
- $gapicClient->restoreBackup($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function rotateServerCaTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesRotateServerCaRequest();
- $response = $gapicClient->rotateServerCa($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/RotateServerCa', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function rotateServerCaExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesRotateServerCaRequest();
- try {
- $gapicClient->rotateServerCa($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function startExternalSyncTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesStartExternalSyncRequest();
- $response = $gapicClient->startExternalSync($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/StartExternalSync', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function startExternalSyncExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesStartExternalSyncRequest();
- try {
- $gapicClient->startExternalSync($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function startReplicaTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesStartReplicaRequest();
- $response = $gapicClient->startReplica($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/StartReplica', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function startReplicaExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesStartReplicaRequest();
- try {
- $gapicClient->startReplica($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function stopReplicaTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesStopReplicaRequest();
- $response = $gapicClient->stopReplica($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/StopReplica', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function stopReplicaExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesStopReplicaRequest();
- try {
- $gapicClient->stopReplica($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function switchoverTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesSwitchoverRequest();
- $response = $gapicClient->switchover($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/Switchover', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function switchoverExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesSwitchoverRequest();
- try {
- $gapicClient->switchover($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function truncateLogTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesTruncateLogRequest();
- $response = $gapicClient->truncateLog($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/TruncateLog', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function truncateLogExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesTruncateLogRequest();
- try {
- $gapicClient->truncateLog($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesUpdateRequest();
- $response = $gapicClient->update($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/Update', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesUpdateRequest();
- try {
- $gapicClient->update($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function verifyExternalSyncSettingsTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new SqlInstancesVerifyExternalSyncSettingsResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $request = new SqlInstancesVerifyExternalSyncSettingsRequest();
- $response = $gapicClient->verifyExternalSyncSettings($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/VerifyExternalSyncSettings', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function verifyExternalSyncSettingsExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlInstancesVerifyExternalSyncSettingsRequest();
- try {
- $gapicClient->verifyExternalSyncSettings($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function acquireSsrsLeaseAsyncTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $operationId = 'operationId-274116877';
- $expectedResponse = new SqlInstancesAcquireSsrsLeaseResponse();
- $expectedResponse->setOperationId($operationId);
- $transport->addResponse($expectedResponse);
- // Mock request
- $instance = 'instance555127957';
- $project = 'project-309310695';
- $body = new InstancesAcquireSsrsLeaseRequest();
- $request = (new SqlInstancesAcquireSsrsLeaseRequest())
- ->setInstance($instance)
- ->setProject($project)
- ->setBody($body);
- $response = $gapicClient->acquireSsrsLeaseAsync($request)->wait();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlInstancesService/AcquireSsrsLease', $actualFuncCall);
- $actualValue = $actualRequestObject->getInstance();
- $this->assertProtobufEquals($instance, $actualValue);
- $actualValue = $actualRequestObject->getProject();
- $this->assertProtobufEquals($project, $actualValue);
- $actualValue = $actualRequestObject->getBody();
- $this->assertProtobufEquals($body, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlOperationsServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlOperationsServiceClientTest.php
deleted file mode 100644
index 49cb2ed5b4d0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlOperationsServiceClientTest.php
+++ /dev/null
@@ -1,266 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlOperationsServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlOperationsServiceClient($options);
- }
-
- /** @test */
- public function cancelTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new GPBEmpty();
- $transport->addResponse($expectedResponse);
- $request = new SqlOperationsCancelRequest();
- $gapicClient->cancel($request);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlOperationsService/Cancel', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function cancelExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlOperationsCancelRequest();
- try {
- $gapicClient->cancel($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlOperationsGetRequest();
- $response = $gapicClient->get($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlOperationsService/Get', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlOperationsGetRequest();
- try {
- $gapicClient->get($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $nextPageToken = 'nextPageToken-1530815211';
- $expectedResponse = new OperationsListResponse();
- $expectedResponse->setKind($kind);
- $expectedResponse->setNextPageToken($nextPageToken);
- $transport->addResponse($expectedResponse);
- $request = new SqlOperationsListRequest();
- $response = $gapicClient->list($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlOperationsService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlOperationsListRequest();
- try {
- $gapicClient->list($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function cancelAsyncTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new GPBEmpty();
- $transport->addResponse($expectedResponse);
- $request = new SqlOperationsCancelRequest();
- $gapicClient->cancelAsync($request)->wait();
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlOperationsService/Cancel', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlRegionsServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlRegionsServiceClientTest.php
deleted file mode 100644
index 7bc1ce6c6762..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlRegionsServiceClientTest.php
+++ /dev/null
@@ -1,56 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlRegionsServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlRegionsServiceClient($options);
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlSslCertsServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlSslCertsServiceClientTest.php
deleted file mode 100644
index a89591d72e4b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlSslCertsServiceClientTest.php
+++ /dev/null
@@ -1,352 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlSslCertsServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlSslCertsServiceClient($options);
- }
-
- /** @test */
- public function deleteTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlSslCertsDeleteRequest();
- $response = $gapicClient->delete($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlSslCertsService/Delete', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlSslCertsDeleteRequest();
- try {
- $gapicClient->delete($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $certSerialNumber = 'certSerialNumber-440611559';
- $cert = 'cert3050020';
- $commonName = 'commonName-1924955041';
- $sha1Fingerprint2 = 'sha1Fingerprint2-1316795939';
- $instance2 = 'instance2902024968';
- $selfLink = 'selfLink-1691268851';
- $expectedResponse = new SslCert();
- $expectedResponse->setKind($kind);
- $expectedResponse->setCertSerialNumber($certSerialNumber);
- $expectedResponse->setCert($cert);
- $expectedResponse->setCommonName($commonName);
- $expectedResponse->setSha1Fingerprint($sha1Fingerprint2);
- $expectedResponse->setInstance($instance2);
- $expectedResponse->setSelfLink($selfLink);
- $transport->addResponse($expectedResponse);
- $request = new SqlSslCertsGetRequest();
- $response = $gapicClient->get($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlSslCertsService/Get', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlSslCertsGetRequest();
- try {
- $gapicClient->get($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new SslCertsInsertResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $request = new SqlSslCertsInsertRequest();
- $response = $gapicClient->insert($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlSslCertsService/Insert', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlSslCertsInsertRequest();
- try {
- $gapicClient->insert($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new SslCertsListResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $request = new SqlSslCertsListRequest();
- $response = $gapicClient->list($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlSslCertsService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlSslCertsListRequest();
- try {
- $gapicClient->list($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteAsyncTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlSslCertsDeleteRequest();
- $response = $gapicClient->deleteAsync($request)->wait();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlSslCertsService/Delete', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlTiersServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlTiersServiceClientTest.php
deleted file mode 100644
index 02f50f531d47..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlTiersServiceClientTest.php
+++ /dev/null
@@ -1,142 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlTiersServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlTiersServiceClient($options);
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new TiersListResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $request = new SqlTiersListRequest();
- $response = $gapicClient->list($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlTiersService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlTiersListRequest();
- try {
- $gapicClient->list($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listAsyncTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new TiersListResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $request = new SqlTiersListRequest();
- $response = $gapicClient->listAsync($request)->wait();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlTiersService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlUsersServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlUsersServiceClientTest.php
deleted file mode 100644
index 0defde537e8e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1/tests/Unit/V1/Client/SqlUsersServiceClientTest.php
+++ /dev/null
@@ -1,434 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlUsersServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlUsersServiceClient($options);
- }
-
- /** @test */
- public function deleteTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name2 = 'name2-1052831874';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name2);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlUsersDeleteRequest();
- $response = $gapicClient->delete($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlUsersService/Delete', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlUsersDeleteRequest();
- try {
- $gapicClient->delete($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $password = 'password1216985755';
- $etag = 'etag3123477';
- $name2 = 'name2-1052831874';
- $host2 = 'host2-1211484325';
- $instance2 = 'instance2902024968';
- $project2 = 'project2-894831476';
- $expectedResponse = new User();
- $expectedResponse->setKind($kind);
- $expectedResponse->setPassword($password);
- $expectedResponse->setEtag($etag);
- $expectedResponse->setName($name2);
- $expectedResponse->setHost($host2);
- $expectedResponse->setInstance($instance2);
- $expectedResponse->setProject($project2);
- $transport->addResponse($expectedResponse);
- $request = new SqlUsersGetRequest();
- $response = $gapicClient->get($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlUsersService/Get', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlUsersGetRequest();
- try {
- $gapicClient->get($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlUsersInsertRequest();
- $response = $gapicClient->insert($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlUsersService/Insert', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlUsersInsertRequest();
- try {
- $gapicClient->insert($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $nextPageToken = 'nextPageToken-1530815211';
- $expectedResponse = new UsersListResponse();
- $expectedResponse->setKind($kind);
- $expectedResponse->setNextPageToken($nextPageToken);
- $transport->addResponse($expectedResponse);
- $request = new SqlUsersListRequest();
- $response = $gapicClient->list($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlUsersService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlUsersListRequest();
- try {
- $gapicClient->list($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name2 = 'name2-1052831874';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name2);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlUsersUpdateRequest();
- $response = $gapicClient->update($request);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlUsersService/Update', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- $request = new SqlUsersUpdateRequest();
- try {
- $gapicClient->update($request);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteAsyncTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name2 = 'name2-1052831874';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name2);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $request = new SqlUsersDeleteRequest();
- $response = $gapicClient->deleteAsync($request)->wait();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1.SqlUsersService/Delete', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSql.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSql.php
deleted file mode 100644
index d3ee36266ae2..000000000000
Binary files a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSql.php and /dev/null differ
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlConnect.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlConnect.php
deleted file mode 100644
index e1d5c708637f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlConnect.php
+++ /dev/null
@@ -1,59 +0,0 @@
-internalAddGeneratedFile(
- '
-¬
-0google/cloud/sql/v1beta4/cloud_sql_connect.protogoogle.cloud.sql.v1beta4google/api/client.protogoogle/api/field_behavior.proto2google/cloud/sql/v1beta4/cloud_sql_resources.protogoogle/protobuf/duration.protogoogle/protobuf/timestamp.proto"r
-GetConnectSettingsRequest
-instance (
-project ( 2
- read_time (2.google.protobuf.TimestampBàA"Ô
-ConnectSettings
-kind ( 9
-server_ca_cert (2!.google.cloud.sql.v1beta4.SslCert9
-ip_addresses (2#.google.cloud.sql.v1beta4.IpMapping
-region ( F
-database_version (2,.google.cloud.sql.v1beta4.SqlDatabaseVersion>
-backend_type (2(.google.cloud.sql.v1beta4.SqlBackendType
-psc_enabled! (
-dns_name" ( "Ü
-GenerateEphemeralCertRequest
-instance (
-project (
-
-public_key (
-access_token ( BàA2
- read_time (2.google.protobuf.TimestampBàA6
-valid_duration (2.google.protobuf.DurationBàA"Z
-GenerateEphemeralCertResponse9
-ephemeral_cert (2!.google.cloud.sql.v1beta4.SslCert2¸
-SqlConnectServiceÂ
-GetConnectSettings3.google.cloud.sql.v1beta4.GetConnectSettingsRequest).google.cloud.sql.v1beta4.ConnectSettings"L‚Óä“FD/sql/v1beta4/projects/{project}/instances/{instance}/connectSettingsß
-GenerateEphemeralCert6.google.cloud.sql.v1beta4.GenerateEphemeralCertRequest7.google.cloud.sql.v1beta4.GenerateEphemeralCertResponse"U‚Óä“O"J/sql/v1beta4/projects/{project}/instances/{instance}:generateEphemeralCert:*|ÊAsqladmin.googleapis.comÒA_https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/sqlservice.adminBf
-com.google.cloud.sql.v1beta4BCloudSqlConnectProtoPZ.cloud.google.com/go/sql/apiv1beta4/sqlpb;sqlpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlIamPolicies.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlIamPolicies.php
deleted file mode 100644
index 018b72547dbd..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlIamPolicies.php
+++ /dev/null
@@ -1,30 +0,0 @@
-internalAddGeneratedFile(
- '
-“
-5google/cloud/sql/v1beta4/cloud_sql_iam_policies.protogoogle.cloud.sql.v1beta4google/api/client.proto23
-SqlIamPoliciesServiceÊAsqladmin.googleapis.comBj
-com.google.cloud.sql.v1beta4BCloudSqlIamPoliciesProtoPZ.cloud.google.com/go/sql/apiv1beta4/sqlpb;sqlpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlResources.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlResources.php
deleted file mode 100644
index bac030aa61ad..000000000000
Binary files a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlResources.php and /dev/null differ
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlTiers.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlTiers.php
deleted file mode 100644
index daadb43d14f7..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlTiers.php
+++ /dev/null
@@ -1,43 +0,0 @@
-internalAddGeneratedFile(
- '
-Æ
-.google/cloud/sql/v1beta4/cloud_sql_tiers.protogoogle.cloud.sql.v1beta4google/api/client.proto"&
-SqlTiersListRequest
-project ( "P
-TiersListResponse
-kind ( -
-items (2.google.cloud.sql.v1beta4.Tier"S
-Tier
-tier (
-RAM (
-kind (
-
-Disk_Quota (
-region ( 2£
-SqlTiersService‘
-List-.google.cloud.sql.v1beta4.SqlTiersListRequest+.google.cloud.sql.v1beta4.TiersListResponse"-‚Óä“\'%/sql/v1beta4/projects/{project}/tiers|ÊAsqladmin.googleapis.comÒA_https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/sqlservice.adminBd
-com.google.cloud.sql.v1beta4BCloudSqlTiersProtoPZ.cloud.google.com/go/sql/apiv1beta4/sqlpb;sqlpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlUsers.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlUsers.php
deleted file mode 100644
index 5f3dba80e27d..000000000000
Binary files a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/GPBMetadata/Google/Cloud/Sql/V1Beta4/CloudSqlUsers.php and /dev/null differ
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/AclEntry.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/AclEntry.php
deleted file mode 100644
index 0b1a3bfed6eb..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/AclEntry.php
+++ /dev/null
@@ -1,187 +0,0 @@
-google.cloud.sql.v1beta4.AclEntry
- */
-class AclEntry extends \Google\Protobuf\Internal\Message
-{
- /**
- * The allowlisted value for the access control list.
- *
- * Generated from protobuf field string value = 1;
- */
- protected $value = '';
- /**
- * The time when this access control entry expires in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expiration_time = 2;
- */
- protected $expiration_time = null;
- /**
- * Optional. A label to identify this entry.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $name = '';
- /**
- * This is always `sql#aclEntry`.
- *
- * Generated from protobuf field string kind = 4;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $value
- * The allowlisted value for the access control list.
- * @type \Google\Protobuf\Timestamp $expiration_time
- * The time when this access control entry expires in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type string $name
- * Optional. A label to identify this entry.
- * @type string $kind
- * This is always `sql#aclEntry`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The allowlisted value for the access control list.
- *
- * Generated from protobuf field string value = 1;
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The allowlisted value for the access control list.
- *
- * Generated from protobuf field string value = 1;
- * @param string $var
- * @return $this
- */
- public function setValue($var)
- {
- GPBUtil::checkString($var, True);
- $this->value = $var;
-
- return $this;
- }
-
- /**
- * The time when this access control entry expires in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expiration_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getExpirationTime()
- {
- return $this->expiration_time;
- }
-
- public function hasExpirationTime()
- {
- return isset($this->expiration_time);
- }
-
- public function clearExpirationTime()
- {
- unset($this->expiration_time);
- }
-
- /**
- * The time when this access control entry expires in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expiration_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setExpirationTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->expiration_time = $var;
-
- return $this;
- }
-
- /**
- * Optional. A label to identify this entry.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Optional. A label to identify this entry.
- *
- * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#aclEntry`.
- *
- * Generated from protobuf field string kind = 4;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#aclEntry`.
- *
- * Generated from protobuf field string kind = 4;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/AcquireSsrsLeaseContext.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/AcquireSsrsLeaseContext.php
deleted file mode 100644
index 514202dc57a2..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/AcquireSsrsLeaseContext.php
+++ /dev/null
@@ -1,217 +0,0 @@
-google.cloud.sql.v1beta4.AcquireSsrsLeaseContext
- */
-class AcquireSsrsLeaseContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * The username to be used as the setup login to connect to the database
- * server for SSRS setup.
- *
- * Generated from protobuf field optional string setup_login = 1;
- */
- protected $setup_login = null;
- /**
- * The username to be used as the service login to connect to the report
- * database for SSRS setup.
- *
- * Generated from protobuf field optional string service_login = 2;
- */
- protected $service_login = null;
- /**
- * The report database to be used for the SSRS setup.
- *
- * Generated from protobuf field optional string report_database = 3;
- */
- protected $report_database = null;
- /**
- * Lease duration needed for the SSRS setup.
- *
- * Generated from protobuf field optional .google.protobuf.Duration duration = 4;
- */
- protected $duration = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $setup_login
- * The username to be used as the setup login to connect to the database
- * server for SSRS setup.
- * @type string $service_login
- * The username to be used as the service login to connect to the report
- * database for SSRS setup.
- * @type string $report_database
- * The report database to be used for the SSRS setup.
- * @type \Google\Protobuf\Duration $duration
- * Lease duration needed for the SSRS setup.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The username to be used as the setup login to connect to the database
- * server for SSRS setup.
- *
- * Generated from protobuf field optional string setup_login = 1;
- * @return string
- */
- public function getSetupLogin()
- {
- return isset($this->setup_login) ? $this->setup_login : '';
- }
-
- public function hasSetupLogin()
- {
- return isset($this->setup_login);
- }
-
- public function clearSetupLogin()
- {
- unset($this->setup_login);
- }
-
- /**
- * The username to be used as the setup login to connect to the database
- * server for SSRS setup.
- *
- * Generated from protobuf field optional string setup_login = 1;
- * @param string $var
- * @return $this
- */
- public function setSetupLogin($var)
- {
- GPBUtil::checkString($var, True);
- $this->setup_login = $var;
-
- return $this;
- }
-
- /**
- * The username to be used as the service login to connect to the report
- * database for SSRS setup.
- *
- * Generated from protobuf field optional string service_login = 2;
- * @return string
- */
- public function getServiceLogin()
- {
- return isset($this->service_login) ? $this->service_login : '';
- }
-
- public function hasServiceLogin()
- {
- return isset($this->service_login);
- }
-
- public function clearServiceLogin()
- {
- unset($this->service_login);
- }
-
- /**
- * The username to be used as the service login to connect to the report
- * database for SSRS setup.
- *
- * Generated from protobuf field optional string service_login = 2;
- * @param string $var
- * @return $this
- */
- public function setServiceLogin($var)
- {
- GPBUtil::checkString($var, True);
- $this->service_login = $var;
-
- return $this;
- }
-
- /**
- * The report database to be used for the SSRS setup.
- *
- * Generated from protobuf field optional string report_database = 3;
- * @return string
- */
- public function getReportDatabase()
- {
- return isset($this->report_database) ? $this->report_database : '';
- }
-
- public function hasReportDatabase()
- {
- return isset($this->report_database);
- }
-
- public function clearReportDatabase()
- {
- unset($this->report_database);
- }
-
- /**
- * The report database to be used for the SSRS setup.
- *
- * Generated from protobuf field optional string report_database = 3;
- * @param string $var
- * @return $this
- */
- public function setReportDatabase($var)
- {
- GPBUtil::checkString($var, True);
- $this->report_database = $var;
-
- return $this;
- }
-
- /**
- * Lease duration needed for the SSRS setup.
- *
- * Generated from protobuf field optional .google.protobuf.Duration duration = 4;
- * @return \Google\Protobuf\Duration|null
- */
- public function getDuration()
- {
- return $this->duration;
- }
-
- public function hasDuration()
- {
- return isset($this->duration);
- }
-
- public function clearDuration()
- {
- unset($this->duration);
- }
-
- /**
- * Lease duration needed for the SSRS setup.
- *
- * Generated from protobuf field optional .google.protobuf.Duration duration = 4;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setDuration($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->duration = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/AdvancedMachineFeatures.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/AdvancedMachineFeatures.php
deleted file mode 100644
index 48a96759a302..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/AdvancedMachineFeatures.php
+++ /dev/null
@@ -1,67 +0,0 @@
-google.cloud.sql.v1beta4.AdvancedMachineFeatures
- */
-class AdvancedMachineFeatures extends \Google\Protobuf\Internal\Message
-{
- /**
- * The number of threads per physical core.
- *
- * Generated from protobuf field int32 threads_per_core = 1;
- */
- protected $threads_per_core = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $threads_per_core
- * The number of threads per physical core.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The number of threads per physical core.
- *
- * Generated from protobuf field int32 threads_per_core = 1;
- * @return int
- */
- public function getThreadsPerCore()
- {
- return $this->threads_per_core;
- }
-
- /**
- * The number of threads per physical core.
- *
- * Generated from protobuf field int32 threads_per_core = 1;
- * @param int $var
- * @return $this
- */
- public function setThreadsPerCore($var)
- {
- GPBUtil::checkInt32($var);
- $this->threads_per_core = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ApiWarning.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ApiWarning.php
deleted file mode 100644
index ddaa9c4e73f5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ApiWarning.php
+++ /dev/null
@@ -1,135 +0,0 @@
-google.cloud.sql.v1beta4.ApiWarning
- */
-class ApiWarning extends \Google\Protobuf\Internal\Message
-{
- /**
- * Code to uniquely identify the warning type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ApiWarning.SqlApiWarningCode code = 1;
- */
- protected $code = 0;
- /**
- * The warning message.
- *
- * Generated from protobuf field string message = 2;
- */
- protected $message = '';
- /**
- * The region name for REGION_UNREACHABLE warning.
- *
- * Generated from protobuf field string region = 3;
- */
- protected $region = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $code
- * Code to uniquely identify the warning type.
- * @type string $message
- * The warning message.
- * @type string $region
- * The region name for REGION_UNREACHABLE warning.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Code to uniquely identify the warning type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ApiWarning.SqlApiWarningCode code = 1;
- * @return int
- */
- public function getCode()
- {
- return $this->code;
- }
-
- /**
- * Code to uniquely identify the warning type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ApiWarning.SqlApiWarningCode code = 1;
- * @param int $var
- * @return $this
- */
- public function setCode($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\ApiWarning\SqlApiWarningCode::class);
- $this->code = $var;
-
- return $this;
- }
-
- /**
- * The warning message.
- *
- * Generated from protobuf field string message = 2;
- * @return string
- */
- public function getMessage()
- {
- return $this->message;
- }
-
- /**
- * The warning message.
- *
- * Generated from protobuf field string message = 2;
- * @param string $var
- * @return $this
- */
- public function setMessage($var)
- {
- GPBUtil::checkString($var, True);
- $this->message = $var;
-
- return $this;
- }
-
- /**
- * The region name for REGION_UNREACHABLE warning.
- *
- * Generated from protobuf field string region = 3;
- * @return string
- */
- public function getRegion()
- {
- return $this->region;
- }
-
- /**
- * The region name for REGION_UNREACHABLE warning.
- *
- * Generated from protobuf field string region = 3;
- * @param string $var
- * @return $this
- */
- public function setRegion($var)
- {
- GPBUtil::checkString($var, True);
- $this->region = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ApiWarning/SqlApiWarningCode.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ApiWarning/SqlApiWarningCode.php
deleted file mode 100644
index 7a35989dc5e0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ApiWarning/SqlApiWarningCode.php
+++ /dev/null
@@ -1,80 +0,0 @@
-google.cloud.sql.v1beta4.ApiWarning.SqlApiWarningCode
- */
-class SqlApiWarningCode
-{
- /**
- * An unknown or unset warning type from Cloud SQL API.
- *
- * Generated from protobuf enum SQL_API_WARNING_CODE_UNSPECIFIED = 0;
- */
- const SQL_API_WARNING_CODE_UNSPECIFIED = 0;
- /**
- * Warning when one or more regions are not reachable. The returned result
- * set may be incomplete.
- *
- * Generated from protobuf enum REGION_UNREACHABLE = 1;
- */
- const REGION_UNREACHABLE = 1;
- /**
- * Warning when user provided maxResults parameter exceeds the limit. The
- * returned result set may be incomplete.
- *
- * Generated from protobuf enum MAX_RESULTS_EXCEEDS_LIMIT = 2;
- */
- const MAX_RESULTS_EXCEEDS_LIMIT = 2;
- /**
- * Warning when user tries to create/update a user with credentials that
- * have previously been compromised by a public data breach.
- *
- * Generated from protobuf enum COMPROMISED_CREDENTIALS = 3;
- */
- const COMPROMISED_CREDENTIALS = 3;
- /**
- * Warning when the operation succeeds but some non-critical workflow state
- * failed.
- *
- * Generated from protobuf enum INTERNAL_STATE_FAILURE = 4;
- */
- const INTERNAL_STATE_FAILURE = 4;
-
- private static $valueToName = [
- self::SQL_API_WARNING_CODE_UNSPECIFIED => 'SQL_API_WARNING_CODE_UNSPECIFIED',
- self::REGION_UNREACHABLE => 'REGION_UNREACHABLE',
- self::MAX_RESULTS_EXCEEDS_LIMIT => 'MAX_RESULTS_EXCEEDS_LIMIT',
- self::COMPROMISED_CREDENTIALS => 'COMPROMISED_CREDENTIALS',
- self::INTERNAL_STATE_FAILURE => 'INTERNAL_STATE_FAILURE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlApiWarningCode::class, \Google\Cloud\Sql\V1beta4\ApiWarning_SqlApiWarningCode::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupConfiguration.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupConfiguration.php
deleted file mode 100644
index 0b06ef62600a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupConfiguration.php
+++ /dev/null
@@ -1,598 +0,0 @@
-google.cloud.sql.v1beta4.BackupConfiguration
- */
-class BackupConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * Start time for the daily backup configuration in UTC timezone in the 24
- * hour format - `HH:MM`.
- *
- * Generated from protobuf field string start_time = 1;
- */
- protected $start_time = '';
- /**
- * Whether this configuration is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enabled = 2;
- */
- protected $enabled = null;
- /**
- * This is always `sql#backupConfiguration`.
- *
- * Generated from protobuf field string kind = 3;
- */
- protected $kind = '';
- /**
- * (MySQL only) Whether binary log is enabled. If backup configuration is
- * disabled, binarylog must be disabled as well.
- *
- * Generated from protobuf field .google.protobuf.BoolValue binary_log_enabled = 4;
- */
- protected $binary_log_enabled = null;
- /**
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue replication_log_archiving_enabled = 5;
- */
- protected $replication_log_archiving_enabled = null;
- /**
- * Location of the backup
- *
- * Generated from protobuf field string location = 6;
- */
- protected $location = '';
- /**
- * Whether point in time recovery is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue point_in_time_recovery_enabled = 7;
- */
- protected $point_in_time_recovery_enabled = null;
- /**
- * The number of days of transaction logs we retain for point in time
- * restore, from 1-7.
- *
- * Generated from protobuf field .google.protobuf.Int32Value transaction_log_retention_days = 9;
- */
- protected $transaction_log_retention_days = null;
- /**
- * Backup retention settings.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupRetentionSettings backup_retention_settings = 10;
- */
- protected $backup_retention_settings = null;
- /**
- * Output only. This value contains the storage location of transactional logs
- * for the database for point-in-time recovery.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.BackupConfiguration.TransactionalLogStorageState transactional_log_storage_state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $transactional_log_storage_state = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $start_time
- * Start time for the daily backup configuration in UTC timezone in the 24
- * hour format - `HH:MM`.
- * @type \Google\Protobuf\BoolValue $enabled
- * Whether this configuration is enabled.
- * @type string $kind
- * This is always `sql#backupConfiguration`.
- * @type \Google\Protobuf\BoolValue $binary_log_enabled
- * (MySQL only) Whether binary log is enabled. If backup configuration is
- * disabled, binarylog must be disabled as well.
- * @type \Google\Protobuf\BoolValue $replication_log_archiving_enabled
- * Reserved for future use.
- * @type string $location
- * Location of the backup
- * @type \Google\Protobuf\BoolValue $point_in_time_recovery_enabled
- * Whether point in time recovery is enabled.
- * @type \Google\Protobuf\Int32Value $transaction_log_retention_days
- * The number of days of transaction logs we retain for point in time
- * restore, from 1-7.
- * @type \Google\Cloud\Sql\V1beta4\BackupRetentionSettings $backup_retention_settings
- * Backup retention settings.
- * @type int $transactional_log_storage_state
- * Output only. This value contains the storage location of transactional logs
- * for the database for point-in-time recovery.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Start time for the daily backup configuration in UTC timezone in the 24
- * hour format - `HH:MM`.
- *
- * Generated from protobuf field string start_time = 1;
- * @return string
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- /**
- * Start time for the daily backup configuration in UTC timezone in the 24
- * hour format - `HH:MM`.
- *
- * Generated from protobuf field string start_time = 1;
- * @param string $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkString($var, True);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * Whether this configuration is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enabled = 2;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getEnabled()
- {
- return $this->enabled;
- }
-
- public function hasEnabled()
- {
- return isset($this->enabled);
- }
-
- public function clearEnabled()
- {
- unset($this->enabled);
- }
-
- /**
- * Returns the unboxed value from getEnabled()
-
- * Whether this configuration is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enabled = 2;
- * @return bool|null
- */
- public function getEnabledUnwrapped()
- {
- return $this->readWrapperValue("enabled");
- }
-
- /**
- * Whether this configuration is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enabled = 2;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setEnabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether this configuration is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enabled = 2;
- * @param bool|null $var
- * @return $this
- */
- public function setEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("enabled", $var);
- return $this;}
-
- /**
- * This is always `sql#backupConfiguration`.
- *
- * Generated from protobuf field string kind = 3;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#backupConfiguration`.
- *
- * Generated from protobuf field string kind = 3;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * (MySQL only) Whether binary log is enabled. If backup configuration is
- * disabled, binarylog must be disabled as well.
- *
- * Generated from protobuf field .google.protobuf.BoolValue binary_log_enabled = 4;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getBinaryLogEnabled()
- {
- return $this->binary_log_enabled;
- }
-
- public function hasBinaryLogEnabled()
- {
- return isset($this->binary_log_enabled);
- }
-
- public function clearBinaryLogEnabled()
- {
- unset($this->binary_log_enabled);
- }
-
- /**
- * Returns the unboxed value from getBinaryLogEnabled()
-
- * (MySQL only) Whether binary log is enabled. If backup configuration is
- * disabled, binarylog must be disabled as well.
- *
- * Generated from protobuf field .google.protobuf.BoolValue binary_log_enabled = 4;
- * @return bool|null
- */
- public function getBinaryLogEnabledUnwrapped()
- {
- return $this->readWrapperValue("binary_log_enabled");
- }
-
- /**
- * (MySQL only) Whether binary log is enabled. If backup configuration is
- * disabled, binarylog must be disabled as well.
- *
- * Generated from protobuf field .google.protobuf.BoolValue binary_log_enabled = 4;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setBinaryLogEnabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->binary_log_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * (MySQL only) Whether binary log is enabled. If backup configuration is
- * disabled, binarylog must be disabled as well.
- *
- * Generated from protobuf field .google.protobuf.BoolValue binary_log_enabled = 4;
- * @param bool|null $var
- * @return $this
- */
- public function setBinaryLogEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("binary_log_enabled", $var);
- return $this;}
-
- /**
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue replication_log_archiving_enabled = 5;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getReplicationLogArchivingEnabled()
- {
- return $this->replication_log_archiving_enabled;
- }
-
- public function hasReplicationLogArchivingEnabled()
- {
- return isset($this->replication_log_archiving_enabled);
- }
-
- public function clearReplicationLogArchivingEnabled()
- {
- unset($this->replication_log_archiving_enabled);
- }
-
- /**
- * Returns the unboxed value from getReplicationLogArchivingEnabled()
-
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue replication_log_archiving_enabled = 5;
- * @return bool|null
- */
- public function getReplicationLogArchivingEnabledUnwrapped()
- {
- return $this->readWrapperValue("replication_log_archiving_enabled");
- }
-
- /**
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue replication_log_archiving_enabled = 5;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setReplicationLogArchivingEnabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->replication_log_archiving_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue replication_log_archiving_enabled = 5;
- * @param bool|null $var
- * @return $this
- */
- public function setReplicationLogArchivingEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("replication_log_archiving_enabled", $var);
- return $this;}
-
- /**
- * Location of the backup
- *
- * Generated from protobuf field string location = 6;
- * @return string
- */
- public function getLocation()
- {
- return $this->location;
- }
-
- /**
- * Location of the backup
- *
- * Generated from protobuf field string location = 6;
- * @param string $var
- * @return $this
- */
- public function setLocation($var)
- {
- GPBUtil::checkString($var, True);
- $this->location = $var;
-
- return $this;
- }
-
- /**
- * Whether point in time recovery is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue point_in_time_recovery_enabled = 7;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getPointInTimeRecoveryEnabled()
- {
- return $this->point_in_time_recovery_enabled;
- }
-
- public function hasPointInTimeRecoveryEnabled()
- {
- return isset($this->point_in_time_recovery_enabled);
- }
-
- public function clearPointInTimeRecoveryEnabled()
- {
- unset($this->point_in_time_recovery_enabled);
- }
-
- /**
- * Returns the unboxed value from getPointInTimeRecoveryEnabled()
-
- * Whether point in time recovery is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue point_in_time_recovery_enabled = 7;
- * @return bool|null
- */
- public function getPointInTimeRecoveryEnabledUnwrapped()
- {
- return $this->readWrapperValue("point_in_time_recovery_enabled");
- }
-
- /**
- * Whether point in time recovery is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue point_in_time_recovery_enabled = 7;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setPointInTimeRecoveryEnabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->point_in_time_recovery_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether point in time recovery is enabled.
- *
- * Generated from protobuf field .google.protobuf.BoolValue point_in_time_recovery_enabled = 7;
- * @param bool|null $var
- * @return $this
- */
- public function setPointInTimeRecoveryEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("point_in_time_recovery_enabled", $var);
- return $this;}
-
- /**
- * The number of days of transaction logs we retain for point in time
- * restore, from 1-7.
- *
- * Generated from protobuf field .google.protobuf.Int32Value transaction_log_retention_days = 9;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getTransactionLogRetentionDays()
- {
- return $this->transaction_log_retention_days;
- }
-
- public function hasTransactionLogRetentionDays()
- {
- return isset($this->transaction_log_retention_days);
- }
-
- public function clearTransactionLogRetentionDays()
- {
- unset($this->transaction_log_retention_days);
- }
-
- /**
- * Returns the unboxed value from getTransactionLogRetentionDays()
-
- * The number of days of transaction logs we retain for point in time
- * restore, from 1-7.
- *
- * Generated from protobuf field .google.protobuf.Int32Value transaction_log_retention_days = 9;
- * @return int|null
- */
- public function getTransactionLogRetentionDaysUnwrapped()
- {
- return $this->readWrapperValue("transaction_log_retention_days");
- }
-
- /**
- * The number of days of transaction logs we retain for point in time
- * restore, from 1-7.
- *
- * Generated from protobuf field .google.protobuf.Int32Value transaction_log_retention_days = 9;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setTransactionLogRetentionDays($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->transaction_log_retention_days = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * The number of days of transaction logs we retain for point in time
- * restore, from 1-7.
- *
- * Generated from protobuf field .google.protobuf.Int32Value transaction_log_retention_days = 9;
- * @param int|null $var
- * @return $this
- */
- public function setTransactionLogRetentionDaysUnwrapped($var)
- {
- $this->writeWrapperValue("transaction_log_retention_days", $var);
- return $this;}
-
- /**
- * Backup retention settings.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupRetentionSettings backup_retention_settings = 10;
- * @return \Google\Cloud\Sql\V1beta4\BackupRetentionSettings|null
- */
- public function getBackupRetentionSettings()
- {
- return $this->backup_retention_settings;
- }
-
- public function hasBackupRetentionSettings()
- {
- return isset($this->backup_retention_settings);
- }
-
- public function clearBackupRetentionSettings()
- {
- unset($this->backup_retention_settings);
- }
-
- /**
- * Backup retention settings.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupRetentionSettings backup_retention_settings = 10;
- * @param \Google\Cloud\Sql\V1beta4\BackupRetentionSettings $var
- * @return $this
- */
- public function setBackupRetentionSettings($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\BackupRetentionSettings::class);
- $this->backup_retention_settings = $var;
-
- return $this;
- }
-
- /**
- * Output only. This value contains the storage location of transactional logs
- * for the database for point-in-time recovery.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.BackupConfiguration.TransactionalLogStorageState transactional_log_storage_state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return int
- */
- public function getTransactionalLogStorageState()
- {
- return isset($this->transactional_log_storage_state) ? $this->transactional_log_storage_state : 0;
- }
-
- public function hasTransactionalLogStorageState()
- {
- return isset($this->transactional_log_storage_state);
- }
-
- public function clearTransactionalLogStorageState()
- {
- unset($this->transactional_log_storage_state);
- }
-
- /**
- * Output only. This value contains the storage location of transactional logs
- * for the database for point-in-time recovery.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.BackupConfiguration.TransactionalLogStorageState transactional_log_storage_state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param int $var
- * @return $this
- */
- public function setTransactionalLogStorageState($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\BackupConfiguration\TransactionalLogStorageState::class);
- $this->transactional_log_storage_state = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupConfiguration/TransactionalLogStorageState.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupConfiguration/TransactionalLogStorageState.php
deleted file mode 100644
index 9f5125b47358..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupConfiguration/TransactionalLogStorageState.php
+++ /dev/null
@@ -1,81 +0,0 @@
-google.cloud.sql.v1beta4.BackupConfiguration.TransactionalLogStorageState
- */
-class TransactionalLogStorageState
-{
- /**
- * Unspecified.
- *
- * Generated from protobuf enum TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED = 0;
- */
- const TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED = 0;
- /**
- * The transaction logs for the instance are stored on a data disk.
- *
- * Generated from protobuf enum DISK = 1;
- */
- const DISK = 1;
- /**
- * The transaction logs for the instance are switching from being stored on
- * a data disk to being stored in Cloud Storage.
- *
- * Generated from protobuf enum SWITCHING_TO_CLOUD_STORAGE = 2;
- */
- const SWITCHING_TO_CLOUD_STORAGE = 2;
- /**
- * The transaction logs for the instance are now stored in Cloud Storage.
- * Previously, they were stored on a data disk.
- *
- * Generated from protobuf enum SWITCHED_TO_CLOUD_STORAGE = 3;
- */
- const SWITCHED_TO_CLOUD_STORAGE = 3;
- /**
- * The transaction logs for the instance are stored in Cloud Storage.
- *
- * Generated from protobuf enum CLOUD_STORAGE = 4;
- */
- const CLOUD_STORAGE = 4;
-
- private static $valueToName = [
- self::TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED => 'TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED',
- self::DISK => 'DISK',
- self::SWITCHING_TO_CLOUD_STORAGE => 'SWITCHING_TO_CLOUD_STORAGE',
- self::SWITCHED_TO_CLOUD_STORAGE => 'SWITCHED_TO_CLOUD_STORAGE',
- self::CLOUD_STORAGE => 'CLOUD_STORAGE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(TransactionalLogStorageState::class, \Google\Cloud\Sql\V1beta4\BackupConfiguration_TransactionalLogStorageState::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupContext.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupContext.php
deleted file mode 100644
index da33b34fb49d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupContext.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.BackupContext
- */
-class BackupContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * The identifier of the backup.
- *
- * Generated from protobuf field int64 backup_id = 1;
- */
- protected $backup_id = 0;
- /**
- * This is always `sql#backupContext`.
- *
- * Generated from protobuf field string kind = 2;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $backup_id
- * The identifier of the backup.
- * @type string $kind
- * This is always `sql#backupContext`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The identifier of the backup.
- *
- * Generated from protobuf field int64 backup_id = 1;
- * @return int|string
- */
- public function getBackupId()
- {
- return $this->backup_id;
- }
-
- /**
- * The identifier of the backup.
- *
- * Generated from protobuf field int64 backup_id = 1;
- * @param int|string $var
- * @return $this
- */
- public function setBackupId($var)
- {
- GPBUtil::checkInt64($var);
- $this->backup_id = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#backupContext`.
- *
- * Generated from protobuf field string kind = 2;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#backupContext`.
- *
- * Generated from protobuf field string kind = 2;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupReencryptionConfig.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupReencryptionConfig.php
deleted file mode 100644
index 9f03d432711e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupReencryptionConfig.php
+++ /dev/null
@@ -1,121 +0,0 @@
-google.cloud.sql.v1beta4.BackupReencryptionConfig
- */
-class BackupReencryptionConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Backup re-encryption limit
- *
- * Generated from protobuf field optional int32 backup_limit = 1;
- */
- protected $backup_limit = null;
- /**
- * Type of backups users want to re-encrypt.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.BackupReencryptionConfig.BackupType backup_type = 2;
- */
- protected $backup_type = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $backup_limit
- * Backup re-encryption limit
- * @type int $backup_type
- * Type of backups users want to re-encrypt.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Backup re-encryption limit
- *
- * Generated from protobuf field optional int32 backup_limit = 1;
- * @return int
- */
- public function getBackupLimit()
- {
- return isset($this->backup_limit) ? $this->backup_limit : 0;
- }
-
- public function hasBackupLimit()
- {
- return isset($this->backup_limit);
- }
-
- public function clearBackupLimit()
- {
- unset($this->backup_limit);
- }
-
- /**
- * Backup re-encryption limit
- *
- * Generated from protobuf field optional int32 backup_limit = 1;
- * @param int $var
- * @return $this
- */
- public function setBackupLimit($var)
- {
- GPBUtil::checkInt32($var);
- $this->backup_limit = $var;
-
- return $this;
- }
-
- /**
- * Type of backups users want to re-encrypt.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.BackupReencryptionConfig.BackupType backup_type = 2;
- * @return int
- */
- public function getBackupType()
- {
- return isset($this->backup_type) ? $this->backup_type : 0;
- }
-
- public function hasBackupType()
- {
- return isset($this->backup_type);
- }
-
- public function clearBackupType()
- {
- unset($this->backup_type);
- }
-
- /**
- * Type of backups users want to re-encrypt.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.BackupReencryptionConfig.BackupType backup_type = 2;
- * @param int $var
- * @return $this
- */
- public function setBackupType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\BackupReencryptionConfig\BackupType::class);
- $this->backup_type = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupReencryptionConfig/BackupType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupReencryptionConfig/BackupType.php
deleted file mode 100644
index f46867d9ff5c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupReencryptionConfig/BackupType.php
+++ /dev/null
@@ -1,64 +0,0 @@
-google.cloud.sql.v1beta4.BackupReencryptionConfig.BackupType
- */
-class BackupType
-{
- /**
- * Unknown backup type, will be defaulted to AUTOMATIC backup type
- *
- * Generated from protobuf enum BACKUP_TYPE_UNSPECIFIED = 0;
- */
- const BACKUP_TYPE_UNSPECIFIED = 0;
- /**
- * Reencrypt automatic backups
- *
- * Generated from protobuf enum AUTOMATED = 1;
- */
- const AUTOMATED = 1;
- /**
- * Reencrypt on-demand backups
- *
- * Generated from protobuf enum ON_DEMAND = 2;
- */
- const ON_DEMAND = 2;
-
- private static $valueToName = [
- self::BACKUP_TYPE_UNSPECIFIED => 'BACKUP_TYPE_UNSPECIFIED',
- self::AUTOMATED => 'AUTOMATED',
- self::ON_DEMAND => 'ON_DEMAND',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(BackupType::class, \Google\Cloud\Sql\V1beta4\BackupReencryptionConfig_BackupType::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupRetentionSettings.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupRetentionSettings.php
deleted file mode 100644
index e66f1ef3024d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupRetentionSettings.php
+++ /dev/null
@@ -1,151 +0,0 @@
-google.cloud.sql.v1beta4.BackupRetentionSettings
- */
-class BackupRetentionSettings extends \Google\Protobuf\Internal\Message
-{
- /**
- * The unit that 'retained_backups' represents.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupRetentionSettings.RetentionUnit retention_unit = 1;
- */
- protected $retention_unit = 0;
- /**
- * Depending on the value of retention_unit, this is used to determine
- * if a backup needs to be deleted. If retention_unit is 'COUNT', we will
- * retain this many backups.
- *
- * Generated from protobuf field .google.protobuf.Int32Value retained_backups = 2;
- */
- protected $retained_backups = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $retention_unit
- * The unit that 'retained_backups' represents.
- * @type \Google\Protobuf\Int32Value $retained_backups
- * Depending on the value of retention_unit, this is used to determine
- * if a backup needs to be deleted. If retention_unit is 'COUNT', we will
- * retain this many backups.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The unit that 'retained_backups' represents.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupRetentionSettings.RetentionUnit retention_unit = 1;
- * @return int
- */
- public function getRetentionUnit()
- {
- return $this->retention_unit;
- }
-
- /**
- * The unit that 'retained_backups' represents.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupRetentionSettings.RetentionUnit retention_unit = 1;
- * @param int $var
- * @return $this
- */
- public function setRetentionUnit($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\BackupRetentionSettings\RetentionUnit::class);
- $this->retention_unit = $var;
-
- return $this;
- }
-
- /**
- * Depending on the value of retention_unit, this is used to determine
- * if a backup needs to be deleted. If retention_unit is 'COUNT', we will
- * retain this many backups.
- *
- * Generated from protobuf field .google.protobuf.Int32Value retained_backups = 2;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getRetainedBackups()
- {
- return $this->retained_backups;
- }
-
- public function hasRetainedBackups()
- {
- return isset($this->retained_backups);
- }
-
- public function clearRetainedBackups()
- {
- unset($this->retained_backups);
- }
-
- /**
- * Returns the unboxed value from getRetainedBackups()
-
- * Depending on the value of retention_unit, this is used to determine
- * if a backup needs to be deleted. If retention_unit is 'COUNT', we will
- * retain this many backups.
- *
- * Generated from protobuf field .google.protobuf.Int32Value retained_backups = 2;
- * @return int|null
- */
- public function getRetainedBackupsUnwrapped()
- {
- return $this->readWrapperValue("retained_backups");
- }
-
- /**
- * Depending on the value of retention_unit, this is used to determine
- * if a backup needs to be deleted. If retention_unit is 'COUNT', we will
- * retain this many backups.
- *
- * Generated from protobuf field .google.protobuf.Int32Value retained_backups = 2;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setRetainedBackups($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->retained_backups = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Depending on the value of retention_unit, this is used to determine
- * if a backup needs to be deleted. If retention_unit is 'COUNT', we will
- * retain this many backups.
- *
- * Generated from protobuf field .google.protobuf.Int32Value retained_backups = 2;
- * @param int|null $var
- * @return $this
- */
- public function setRetainedBackupsUnwrapped($var)
- {
- $this->writeWrapperValue("retained_backups", $var);
- return $this;}
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupRetentionSettings/RetentionUnit.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupRetentionSettings/RetentionUnit.php
deleted file mode 100644
index 858a8921b72a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupRetentionSettings/RetentionUnit.php
+++ /dev/null
@@ -1,57 +0,0 @@
-google.cloud.sql.v1beta4.BackupRetentionSettings.RetentionUnit
- */
-class RetentionUnit
-{
- /**
- * Backup retention unit is unspecified, will be treated as COUNT.
- *
- * Generated from protobuf enum RETENTION_UNIT_UNSPECIFIED = 0;
- */
- const RETENTION_UNIT_UNSPECIFIED = 0;
- /**
- * Retention will be by count, eg. "retain the most recent 7 backups".
- *
- * Generated from protobuf enum COUNT = 1;
- */
- const COUNT = 1;
-
- private static $valueToName = [
- self::RETENTION_UNIT_UNSPECIFIED => 'RETENTION_UNIT_UNSPECIFIED',
- self::COUNT => 'COUNT',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(RetentionUnit::class, \Google\Cloud\Sql\V1beta4\BackupRetentionSettings_RetentionUnit::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupRun.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupRun.php
deleted file mode 100644
index 595dc3994852..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupRun.php
+++ /dev/null
@@ -1,733 +0,0 @@
-google.cloud.sql.v1beta4.BackupRun
- */
-class BackupRun extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#backupRun`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The status of this run.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackupRunStatus status = 2;
- */
- protected $status = 0;
- /**
- * The time the run was enqueued in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp enqueued_time = 3;
- */
- protected $enqueued_time = null;
- /**
- * The identifier for this backup run. Unique only for a specific Cloud SQL
- * instance.
- *
- * Generated from protobuf field int64 id = 4;
- */
- protected $id = 0;
- /**
- * The time the backup operation actually started in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 5;
- */
- protected $start_time = null;
- /**
- * The time the backup operation completed in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 6;
- */
- protected $end_time = null;
- /**
- * Information about why the backup operation failed. This is only present if
- * the run has the FAILED status.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.OperationError error = 7;
- */
- protected $error = null;
- /**
- * The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL".
- * This field defaults to "ON_DEMAND" and is ignored, when specified for
- * insert requests.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackupRunType type = 8;
- */
- protected $type = 0;
- /**
- * The description of this run, only applicable to on-demand backups.
- *
- * Generated from protobuf field string description = 9;
- */
- protected $description = '';
- /**
- * The start time of the backup window during which this the backup was
- * attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for
- * example `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp window_start_time = 10;
- */
- protected $window_start_time = null;
- /**
- * Name of the database instance.
- *
- * Generated from protobuf field string instance = 11;
- */
- protected $instance = '';
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 12;
- */
- protected $self_link = '';
- /**
- * Location of the backups.
- *
- * Generated from protobuf field string location = 13;
- */
- protected $location = '';
- /**
- * Encryption configuration specific to a backup.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DiskEncryptionConfiguration disk_encryption_configuration = 16;
- */
- protected $disk_encryption_configuration = null;
- /**
- * Encryption status specific to a backup.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DiskEncryptionStatus disk_encryption_status = 17;
- */
- protected $disk_encryption_status = null;
- /**
- * Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackupKind backup_kind = 19;
- */
- protected $backup_kind = 0;
- /**
- * Backup time zone to prevent restores to an instance with
- * a different time zone. Now relevant only for SQL Server.
- *
- * Generated from protobuf field string time_zone = 23;
- */
- protected $time_zone = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#backupRun`.
- * @type int $status
- * The status of this run.
- * @type \Google\Protobuf\Timestamp $enqueued_time
- * The time the run was enqueued in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type int|string $id
- * The identifier for this backup run. Unique only for a specific Cloud SQL
- * instance.
- * @type \Google\Protobuf\Timestamp $start_time
- * The time the backup operation actually started in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type \Google\Protobuf\Timestamp $end_time
- * The time the backup operation completed in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type \Google\Cloud\Sql\V1beta4\OperationError $error
- * Information about why the backup operation failed. This is only present if
- * the run has the FAILED status.
- * @type int $type
- * The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL".
- * This field defaults to "ON_DEMAND" and is ignored, when specified for
- * insert requests.
- * @type string $description
- * The description of this run, only applicable to on-demand backups.
- * @type \Google\Protobuf\Timestamp $window_start_time
- * The start time of the backup window during which this the backup was
- * attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for
- * example `2012-11-15T16:19:00.094Z`.
- * @type string $instance
- * Name of the database instance.
- * @type string $self_link
- * The URI of this resource.
- * @type string $location
- * Location of the backups.
- * @type \Google\Cloud\Sql\V1beta4\DiskEncryptionConfiguration $disk_encryption_configuration
- * Encryption configuration specific to a backup.
- * @type \Google\Cloud\Sql\V1beta4\DiskEncryptionStatus $disk_encryption_status
- * Encryption status specific to a backup.
- * @type int $backup_kind
- * Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- * @type string $time_zone
- * Backup time zone to prevent restores to an instance with
- * a different time zone. Now relevant only for SQL Server.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#backupRun`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#backupRun`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The status of this run.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackupRunStatus status = 2;
- * @return int
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * The status of this run.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackupRunStatus status = 2;
- * @param int $var
- * @return $this
- */
- public function setStatus($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlBackupRunStatus::class);
- $this->status = $var;
-
- return $this;
- }
-
- /**
- * The time the run was enqueued in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp enqueued_time = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEnqueuedTime()
- {
- return $this->enqueued_time;
- }
-
- public function hasEnqueuedTime()
- {
- return isset($this->enqueued_time);
- }
-
- public function clearEnqueuedTime()
- {
- unset($this->enqueued_time);
- }
-
- /**
- * The time the run was enqueued in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp enqueued_time = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEnqueuedTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->enqueued_time = $var;
-
- return $this;
- }
-
- /**
- * The identifier for this backup run. Unique only for a specific Cloud SQL
- * instance.
- *
- * Generated from protobuf field int64 id = 4;
- * @return int|string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * The identifier for this backup run. Unique only for a specific Cloud SQL
- * instance.
- *
- * Generated from protobuf field int64 id = 4;
- * @param int|string $var
- * @return $this
- */
- public function setId($var)
- {
- GPBUtil::checkInt64($var);
- $this->id = $var;
-
- return $this;
- }
-
- /**
- * The time the backup operation actually started in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 5;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- public function hasStartTime()
- {
- return isset($this->start_time);
- }
-
- public function clearStartTime()
- {
- unset($this->start_time);
- }
-
- /**
- * The time the backup operation actually started in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 5;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * The time the backup operation completed in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 6;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEndTime()
- {
- return $this->end_time;
- }
-
- public function hasEndTime()
- {
- return isset($this->end_time);
- }
-
- public function clearEndTime()
- {
- unset($this->end_time);
- }
-
- /**
- * The time the backup operation completed in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 6;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEndTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->end_time = $var;
-
- return $this;
- }
-
- /**
- * Information about why the backup operation failed. This is only present if
- * the run has the FAILED status.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.OperationError error = 7;
- * @return \Google\Cloud\Sql\V1beta4\OperationError|null
- */
- public function getError()
- {
- return $this->error;
- }
-
- public function hasError()
- {
- return isset($this->error);
- }
-
- public function clearError()
- {
- unset($this->error);
- }
-
- /**
- * Information about why the backup operation failed. This is only present if
- * the run has the FAILED status.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.OperationError error = 7;
- * @param \Google\Cloud\Sql\V1beta4\OperationError $var
- * @return $this
- */
- public function setError($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\OperationError::class);
- $this->error = $var;
-
- return $this;
- }
-
- /**
- * The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL".
- * This field defaults to "ON_DEMAND" and is ignored, when specified for
- * insert requests.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackupRunType type = 8;
- * @return int
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL".
- * This field defaults to "ON_DEMAND" and is ignored, when specified for
- * insert requests.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackupRunType type = 8;
- * @param int $var
- * @return $this
- */
- public function setType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlBackupRunType::class);
- $this->type = $var;
-
- return $this;
- }
-
- /**
- * The description of this run, only applicable to on-demand backups.
- *
- * Generated from protobuf field string description = 9;
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * The description of this run, only applicable to on-demand backups.
- *
- * Generated from protobuf field string description = 9;
- * @param string $var
- * @return $this
- */
- public function setDescription($var)
- {
- GPBUtil::checkString($var, True);
- $this->description = $var;
-
- return $this;
- }
-
- /**
- * The start time of the backup window during which this the backup was
- * attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for
- * example `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp window_start_time = 10;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getWindowStartTime()
- {
- return $this->window_start_time;
- }
-
- public function hasWindowStartTime()
- {
- return isset($this->window_start_time);
- }
-
- public function clearWindowStartTime()
- {
- unset($this->window_start_time);
- }
-
- /**
- * The start time of the backup window during which this the backup was
- * attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for
- * example `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp window_start_time = 10;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setWindowStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->window_start_time = $var;
-
- return $this;
- }
-
- /**
- * Name of the database instance.
- *
- * Generated from protobuf field string instance = 11;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Name of the database instance.
- *
- * Generated from protobuf field string instance = 11;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 12;
- * @return string
- */
- public function getSelfLink()
- {
- return $this->self_link;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 12;
- * @param string $var
- * @return $this
- */
- public function setSelfLink($var)
- {
- GPBUtil::checkString($var, True);
- $this->self_link = $var;
-
- return $this;
- }
-
- /**
- * Location of the backups.
- *
- * Generated from protobuf field string location = 13;
- * @return string
- */
- public function getLocation()
- {
- return $this->location;
- }
-
- /**
- * Location of the backups.
- *
- * Generated from protobuf field string location = 13;
- * @param string $var
- * @return $this
- */
- public function setLocation($var)
- {
- GPBUtil::checkString($var, True);
- $this->location = $var;
-
- return $this;
- }
-
- /**
- * Encryption configuration specific to a backup.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DiskEncryptionConfiguration disk_encryption_configuration = 16;
- * @return \Google\Cloud\Sql\V1beta4\DiskEncryptionConfiguration|null
- */
- public function getDiskEncryptionConfiguration()
- {
- return $this->disk_encryption_configuration;
- }
-
- public function hasDiskEncryptionConfiguration()
- {
- return isset($this->disk_encryption_configuration);
- }
-
- public function clearDiskEncryptionConfiguration()
- {
- unset($this->disk_encryption_configuration);
- }
-
- /**
- * Encryption configuration specific to a backup.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DiskEncryptionConfiguration disk_encryption_configuration = 16;
- * @param \Google\Cloud\Sql\V1beta4\DiskEncryptionConfiguration $var
- * @return $this
- */
- public function setDiskEncryptionConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DiskEncryptionConfiguration::class);
- $this->disk_encryption_configuration = $var;
-
- return $this;
- }
-
- /**
- * Encryption status specific to a backup.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DiskEncryptionStatus disk_encryption_status = 17;
- * @return \Google\Cloud\Sql\V1beta4\DiskEncryptionStatus|null
- */
- public function getDiskEncryptionStatus()
- {
- return $this->disk_encryption_status;
- }
-
- public function hasDiskEncryptionStatus()
- {
- return isset($this->disk_encryption_status);
- }
-
- public function clearDiskEncryptionStatus()
- {
- unset($this->disk_encryption_status);
- }
-
- /**
- * Encryption status specific to a backup.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DiskEncryptionStatus disk_encryption_status = 17;
- * @param \Google\Cloud\Sql\V1beta4\DiskEncryptionStatus $var
- * @return $this
- */
- public function setDiskEncryptionStatus($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DiskEncryptionStatus::class);
- $this->disk_encryption_status = $var;
-
- return $this;
- }
-
- /**
- * Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackupKind backup_kind = 19;
- * @return int
- */
- public function getBackupKind()
- {
- return $this->backup_kind;
- }
-
- /**
- * Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackupKind backup_kind = 19;
- * @param int $var
- * @return $this
- */
- public function setBackupKind($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlBackupKind::class);
- $this->backup_kind = $var;
-
- return $this;
- }
-
- /**
- * Backup time zone to prevent restores to an instance with
- * a different time zone. Now relevant only for SQL Server.
- *
- * Generated from protobuf field string time_zone = 23;
- * @return string
- */
- public function getTimeZone()
- {
- return $this->time_zone;
- }
-
- /**
- * Backup time zone to prevent restores to an instance with
- * a different time zone. Now relevant only for SQL Server.
- *
- * Generated from protobuf field string time_zone = 23;
- * @param string $var
- * @return $this
- */
- public function setTimeZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->time_zone = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupRunsListResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupRunsListResponse.php
deleted file mode 100644
index 30ce78329cc9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BackupRunsListResponse.php
+++ /dev/null
@@ -1,139 +0,0 @@
-google.cloud.sql.v1beta4.BackupRunsListResponse
- */
-class BackupRunsListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#backupRunsList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * A list of backup runs in reverse chronological order of the enqueued time.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.BackupRun items = 2;
- */
- private $items;
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 3;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#backupRunsList`.
- * @type array<\Google\Cloud\Sql\V1beta4\BackupRun>|\Google\Protobuf\Internal\RepeatedField $items
- * A list of backup runs in reverse chronological order of the enqueued time.
- * @type string $next_page_token
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#backupRunsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#backupRunsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * A list of backup runs in reverse chronological order of the enqueued time.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.BackupRun items = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * A list of backup runs in reverse chronological order of the enqueued time.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.BackupRun items = 2;
- * @param array<\Google\Cloud\Sql\V1beta4\BackupRun>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\BackupRun::class);
- $this->items = $arr;
-
- return $this;
- }
-
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 3;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 3;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BakType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BakType.php
deleted file mode 100644
index c237b0afdb9b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BakType.php
+++ /dev/null
@@ -1,66 +0,0 @@
-google.cloud.sql.v1beta4.BakType
- */
-class BakType
-{
- /**
- * Default type.
- *
- * Generated from protobuf enum BAK_TYPE_UNSPECIFIED = 0;
- */
- const BAK_TYPE_UNSPECIFIED = 0;
- /**
- * Full backup.
- *
- * Generated from protobuf enum FULL = 1;
- */
- const FULL = 1;
- /**
- * Differential backup.
- *
- * Generated from protobuf enum DIFF = 2;
- */
- const DIFF = 2;
- /**
- * SQL Server Transaction Log
- *
- * Generated from protobuf enum TLOG = 3;
- */
- const TLOG = 3;
-
- private static $valueToName = [
- self::BAK_TYPE_UNSPECIFIED => 'BAK_TYPE_UNSPECIFIED',
- self::FULL => 'FULL',
- self::DIFF => 'DIFF',
- self::TLOG => 'TLOG',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BinLogCoordinates.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BinLogCoordinates.php
deleted file mode 100644
index 52d7709cff07..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/BinLogCoordinates.php
+++ /dev/null
@@ -1,135 +0,0 @@
-google.cloud.sql.v1beta4.BinLogCoordinates
- */
-class BinLogCoordinates extends \Google\Protobuf\Internal\Message
-{
- /**
- * Name of the binary log file for a Cloud SQL instance.
- *
- * Generated from protobuf field string bin_log_file_name = 1;
- */
- protected $bin_log_file_name = '';
- /**
- * Position (offset) within the binary log file.
- *
- * Generated from protobuf field int64 bin_log_position = 2;
- */
- protected $bin_log_position = 0;
- /**
- * This is always `sql#binLogCoordinates`.
- *
- * Generated from protobuf field string kind = 3;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $bin_log_file_name
- * Name of the binary log file for a Cloud SQL instance.
- * @type int|string $bin_log_position
- * Position (offset) within the binary log file.
- * @type string $kind
- * This is always `sql#binLogCoordinates`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Name of the binary log file for a Cloud SQL instance.
- *
- * Generated from protobuf field string bin_log_file_name = 1;
- * @return string
- */
- public function getBinLogFileName()
- {
- return $this->bin_log_file_name;
- }
-
- /**
- * Name of the binary log file for a Cloud SQL instance.
- *
- * Generated from protobuf field string bin_log_file_name = 1;
- * @param string $var
- * @return $this
- */
- public function setBinLogFileName($var)
- {
- GPBUtil::checkString($var, True);
- $this->bin_log_file_name = $var;
-
- return $this;
- }
-
- /**
- * Position (offset) within the binary log file.
- *
- * Generated from protobuf field int64 bin_log_position = 2;
- * @return int|string
- */
- public function getBinLogPosition()
- {
- return $this->bin_log_position;
- }
-
- /**
- * Position (offset) within the binary log file.
- *
- * Generated from protobuf field int64 bin_log_position = 2;
- * @param int|string $var
- * @return $this
- */
- public function setBinLogPosition($var)
- {
- GPBUtil::checkInt64($var);
- $this->bin_log_position = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#binLogCoordinates`.
- *
- * Generated from protobuf field string kind = 3;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#binLogCoordinates`.
- *
- * Generated from protobuf field string kind = 3;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/CloneContext.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/CloneContext.php
deleted file mode 100644
index f6cdba97c963..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/CloneContext.php
+++ /dev/null
@@ -1,383 +0,0 @@
-google.cloud.sql.v1beta4.CloneContext
- */
-class CloneContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#cloneContext`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Reserved for future use.
- *
- * Generated from protobuf field int64 pitr_timestamp_ms = 2;
- */
- protected $pitr_timestamp_ms = 0;
- /**
- * Name of the Cloud SQL instance to be created as a clone.
- *
- * Generated from protobuf field string destination_instance_name = 3;
- */
- protected $destination_instance_name = '';
- /**
- * Binary log coordinates, if specified, identify the position up to which the
- * source instance is cloned. If not specified, the source instance is
- * cloned up to the most recent binary log coordinates.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BinLogCoordinates bin_log_coordinates = 4;
- */
- protected $bin_log_coordinates = null;
- /**
- * Timestamp, if specified, identifies the time to which the source instance
- * is cloned.
- *
- * Generated from protobuf field .google.protobuf.Timestamp point_in_time = 5;
- */
- protected $point_in_time = null;
- /**
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the cloned instance
- * ip will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * [a-z]([-a-z0-9]*[a-z0-9])?.
- * Reserved for future use.
- *
- * Generated from protobuf field string allocated_ip_range = 6;
- */
- protected $allocated_ip_range = '';
- /**
- * (SQL Server only) Clone only the specified databases from the source
- * instance. Clone all databases if empty.
- *
- * Generated from protobuf field repeated string database_names = 9;
- */
- private $database_names;
- /**
- * Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance
- * in the specified zone. If no zone is specified, clone to the same zone as
- * the source instance.
- *
- * Generated from protobuf field optional string preferred_zone = 10 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $preferred_zone = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#cloneContext`.
- * @type int|string $pitr_timestamp_ms
- * Reserved for future use.
- * @type string $destination_instance_name
- * Name of the Cloud SQL instance to be created as a clone.
- * @type \Google\Cloud\Sql\V1beta4\BinLogCoordinates $bin_log_coordinates
- * Binary log coordinates, if specified, identify the position up to which the
- * source instance is cloned. If not specified, the source instance is
- * cloned up to the most recent binary log coordinates.
- * @type \Google\Protobuf\Timestamp $point_in_time
- * Timestamp, if specified, identifies the time to which the source instance
- * is cloned.
- * @type string $allocated_ip_range
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the cloned instance
- * ip will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * [a-z]([-a-z0-9]*[a-z0-9])?.
- * Reserved for future use.
- * @type array|\Google\Protobuf\Internal\RepeatedField $database_names
- * (SQL Server only) Clone only the specified databases from the source
- * instance. Clone all databases if empty.
- * @type string $preferred_zone
- * Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance
- * in the specified zone. If no zone is specified, clone to the same zone as
- * the source instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#cloneContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#cloneContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Reserved for future use.
- *
- * Generated from protobuf field int64 pitr_timestamp_ms = 2;
- * @return int|string
- */
- public function getPitrTimestampMs()
- {
- return $this->pitr_timestamp_ms;
- }
-
- /**
- * Reserved for future use.
- *
- * Generated from protobuf field int64 pitr_timestamp_ms = 2;
- * @param int|string $var
- * @return $this
- */
- public function setPitrTimestampMs($var)
- {
- GPBUtil::checkInt64($var);
- $this->pitr_timestamp_ms = $var;
-
- return $this;
- }
-
- /**
- * Name of the Cloud SQL instance to be created as a clone.
- *
- * Generated from protobuf field string destination_instance_name = 3;
- * @return string
- */
- public function getDestinationInstanceName()
- {
- return $this->destination_instance_name;
- }
-
- /**
- * Name of the Cloud SQL instance to be created as a clone.
- *
- * Generated from protobuf field string destination_instance_name = 3;
- * @param string $var
- * @return $this
- */
- public function setDestinationInstanceName($var)
- {
- GPBUtil::checkString($var, True);
- $this->destination_instance_name = $var;
-
- return $this;
- }
-
- /**
- * Binary log coordinates, if specified, identify the position up to which the
- * source instance is cloned. If not specified, the source instance is
- * cloned up to the most recent binary log coordinates.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BinLogCoordinates bin_log_coordinates = 4;
- * @return \Google\Cloud\Sql\V1beta4\BinLogCoordinates|null
- */
- public function getBinLogCoordinates()
- {
- return $this->bin_log_coordinates;
- }
-
- public function hasBinLogCoordinates()
- {
- return isset($this->bin_log_coordinates);
- }
-
- public function clearBinLogCoordinates()
- {
- unset($this->bin_log_coordinates);
- }
-
- /**
- * Binary log coordinates, if specified, identify the position up to which the
- * source instance is cloned. If not specified, the source instance is
- * cloned up to the most recent binary log coordinates.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BinLogCoordinates bin_log_coordinates = 4;
- * @param \Google\Cloud\Sql\V1beta4\BinLogCoordinates $var
- * @return $this
- */
- public function setBinLogCoordinates($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\BinLogCoordinates::class);
- $this->bin_log_coordinates = $var;
-
- return $this;
- }
-
- /**
- * Timestamp, if specified, identifies the time to which the source instance
- * is cloned.
- *
- * Generated from protobuf field .google.protobuf.Timestamp point_in_time = 5;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getPointInTime()
- {
- return $this->point_in_time;
- }
-
- public function hasPointInTime()
- {
- return isset($this->point_in_time);
- }
-
- public function clearPointInTime()
- {
- unset($this->point_in_time);
- }
-
- /**
- * Timestamp, if specified, identifies the time to which the source instance
- * is cloned.
- *
- * Generated from protobuf field .google.protobuf.Timestamp point_in_time = 5;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setPointInTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->point_in_time = $var;
-
- return $this;
- }
-
- /**
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the cloned instance
- * ip will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * [a-z]([-a-z0-9]*[a-z0-9])?.
- * Reserved for future use.
- *
- * Generated from protobuf field string allocated_ip_range = 6;
- * @return string
- */
- public function getAllocatedIpRange()
- {
- return $this->allocated_ip_range;
- }
-
- /**
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the cloned instance
- * ip will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * [a-z]([-a-z0-9]*[a-z0-9])?.
- * Reserved for future use.
- *
- * Generated from protobuf field string allocated_ip_range = 6;
- * @param string $var
- * @return $this
- */
- public function setAllocatedIpRange($var)
- {
- GPBUtil::checkString($var, True);
- $this->allocated_ip_range = $var;
-
- return $this;
- }
-
- /**
- * (SQL Server only) Clone only the specified databases from the source
- * instance. Clone all databases if empty.
- *
- * Generated from protobuf field repeated string database_names = 9;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDatabaseNames()
- {
- return $this->database_names;
- }
-
- /**
- * (SQL Server only) Clone only the specified databases from the source
- * instance. Clone all databases if empty.
- *
- * Generated from protobuf field repeated string database_names = 9;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setDatabaseNames($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->database_names = $arr;
-
- return $this;
- }
-
- /**
- * Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance
- * in the specified zone. If no zone is specified, clone to the same zone as
- * the source instance.
- *
- * Generated from protobuf field optional string preferred_zone = 10 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getPreferredZone()
- {
- return isset($this->preferred_zone) ? $this->preferred_zone : '';
- }
-
- public function hasPreferredZone()
- {
- return isset($this->preferred_zone);
- }
-
- public function clearPreferredZone()
- {
- unset($this->preferred_zone);
- }
-
- /**
- * Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance
- * in the specified zone. If no zone is specified, clone to the same zone as
- * the source instance.
- *
- * Generated from protobuf field optional string preferred_zone = 10 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setPreferredZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->preferred_zone = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ConnectSettings.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ConnectSettings.php
deleted file mode 100644
index a15d68493510..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ConnectSettings.php
+++ /dev/null
@@ -1,371 +0,0 @@
-google.cloud.sql.v1beta4.ConnectSettings
- */
-class ConnectSettings extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#connectSettings`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * SSL configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert server_ca_cert = 2;
- */
- protected $server_ca_cert = null;
- /**
- * The assigned IP addresses for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 3;
- */
- private $ip_addresses;
- /**
- * The cloud region for the instance. e.g. `us-central1`, `europe-west1`.
- * The region cannot be changed after instance creation.
- *
- * Generated from protobuf field string region = 4;
- */
- protected $region = '';
- /**
- * The database engine type and version. The `databaseVersion`
- * field cannot be changed after instance creation.
- * MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default),
- * or `MYSQL_5_6`.
- * PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11` or `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`.
- * SQL Server instances: `SQLSERVER_2017_STANDARD` (default),
- * `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`,
- * `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlDatabaseVersion database_version = 31;
- */
- protected $database_version = 0;
- /**
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackendType backend_type = 32;
- */
- protected $backend_type = 0;
- /**
- * Whether PSC connectivity is enabled for this instance.
- *
- * Generated from protobuf field bool psc_enabled = 33;
- */
- protected $psc_enabled = false;
- /**
- * The dns name of the instance.
- *
- * Generated from protobuf field string dns_name = 34;
- */
- protected $dns_name = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#connectSettings`.
- * @type \Google\Cloud\Sql\V1beta4\SslCert $server_ca_cert
- * SSL configuration.
- * @type array<\Google\Cloud\Sql\V1beta4\IpMapping>|\Google\Protobuf\Internal\RepeatedField $ip_addresses
- * The assigned IP addresses for the instance.
- * @type string $region
- * The cloud region for the instance. e.g. `us-central1`, `europe-west1`.
- * The region cannot be changed after instance creation.
- * @type int $database_version
- * The database engine type and version. The `databaseVersion`
- * field cannot be changed after instance creation.
- * MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default),
- * or `MYSQL_5_6`.
- * PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11` or `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`.
- * SQL Server instances: `SQLSERVER_2017_STANDARD` (default),
- * `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`,
- * `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- * @type int $backend_type
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- * @type bool $psc_enabled
- * Whether PSC connectivity is enabled for this instance.
- * @type string $dns_name
- * The dns name of the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlConnect::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#connectSettings`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#connectSettings`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * SSL configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert server_ca_cert = 2;
- * @return \Google\Cloud\Sql\V1beta4\SslCert|null
- */
- public function getServerCaCert()
- {
- return $this->server_ca_cert;
- }
-
- public function hasServerCaCert()
- {
- return isset($this->server_ca_cert);
- }
-
- public function clearServerCaCert()
- {
- unset($this->server_ca_cert);
- }
-
- /**
- * SSL configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert server_ca_cert = 2;
- * @param \Google\Cloud\Sql\V1beta4\SslCert $var
- * @return $this
- */
- public function setServerCaCert($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\SslCert::class);
- $this->server_ca_cert = $var;
-
- return $this;
- }
-
- /**
- * The assigned IP addresses for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 3;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getIpAddresses()
- {
- return $this->ip_addresses;
- }
-
- /**
- * The assigned IP addresses for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 3;
- * @param array<\Google\Cloud\Sql\V1beta4\IpMapping>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setIpAddresses($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\IpMapping::class);
- $this->ip_addresses = $arr;
-
- return $this;
- }
-
- /**
- * The cloud region for the instance. e.g. `us-central1`, `europe-west1`.
- * The region cannot be changed after instance creation.
- *
- * Generated from protobuf field string region = 4;
- * @return string
- */
- public function getRegion()
- {
- return $this->region;
- }
-
- /**
- * The cloud region for the instance. e.g. `us-central1`, `europe-west1`.
- * The region cannot be changed after instance creation.
- *
- * Generated from protobuf field string region = 4;
- * @param string $var
- * @return $this
- */
- public function setRegion($var)
- {
- GPBUtil::checkString($var, True);
- $this->region = $var;
-
- return $this;
- }
-
- /**
- * The database engine type and version. The `databaseVersion`
- * field cannot be changed after instance creation.
- * MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default),
- * or `MYSQL_5_6`.
- * PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11` or `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`.
- * SQL Server instances: `SQLSERVER_2017_STANDARD` (default),
- * `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`,
- * `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlDatabaseVersion database_version = 31;
- * @return int
- */
- public function getDatabaseVersion()
- {
- return $this->database_version;
- }
-
- /**
- * The database engine type and version. The `databaseVersion`
- * field cannot be changed after instance creation.
- * MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default),
- * or `MYSQL_5_6`.
- * PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11` or `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`.
- * SQL Server instances: `SQLSERVER_2017_STANDARD` (default),
- * `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`,
- * `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlDatabaseVersion database_version = 31;
- * @param int $var
- * @return $this
- */
- public function setDatabaseVersion($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlDatabaseVersion::class);
- $this->database_version = $var;
-
- return $this;
- }
-
- /**
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackendType backend_type = 32;
- * @return int
- */
- public function getBackendType()
- {
- return $this->backend_type;
- }
-
- /**
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackendType backend_type = 32;
- * @param int $var
- * @return $this
- */
- public function setBackendType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlBackendType::class);
- $this->backend_type = $var;
-
- return $this;
- }
-
- /**
- * Whether PSC connectivity is enabled for this instance.
- *
- * Generated from protobuf field bool psc_enabled = 33;
- * @return bool
- */
- public function getPscEnabled()
- {
- return $this->psc_enabled;
- }
-
- /**
- * Whether PSC connectivity is enabled for this instance.
- *
- * Generated from protobuf field bool psc_enabled = 33;
- * @param bool $var
- * @return $this
- */
- public function setPscEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->psc_enabled = $var;
-
- return $this;
- }
-
- /**
- * The dns name of the instance.
- *
- * Generated from protobuf field string dns_name = 34;
- * @return string
- */
- public function getDnsName()
- {
- return $this->dns_name;
- }
-
- /**
- * The dns name of the instance.
- *
- * Generated from protobuf field string dns_name = 34;
- * @param string $var
- * @return $this
- */
- public function setDnsName($var)
- {
- GPBUtil::checkString($var, True);
- $this->dns_name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DataCacheConfig.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DataCacheConfig.php
deleted file mode 100644
index 95cc34c9ca75..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DataCacheConfig.php
+++ /dev/null
@@ -1,67 +0,0 @@
-google.cloud.sql.v1beta4.DataCacheConfig
- */
-class DataCacheConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Whether data cache is enabled for the instance.
- *
- * Generated from protobuf field bool data_cache_enabled = 1;
- */
- protected $data_cache_enabled = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $data_cache_enabled
- * Whether data cache is enabled for the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Whether data cache is enabled for the instance.
- *
- * Generated from protobuf field bool data_cache_enabled = 1;
- * @return bool
- */
- public function getDataCacheEnabled()
- {
- return $this->data_cache_enabled;
- }
-
- /**
- * Whether data cache is enabled for the instance.
- *
- * Generated from protobuf field bool data_cache_enabled = 1;
- * @param bool $var
- * @return $this
- */
- public function setDataCacheEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->data_cache_enabled = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Database.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Database.php
deleted file mode 100644
index 2bc71cf0248d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Database.php
+++ /dev/null
@@ -1,354 +0,0 @@
-google.cloud.sql.v1beta4.Database
- */
-class Database extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#database`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The Cloud SQL charset value.
- *
- * Generated from protobuf field string charset = 2;
- */
- protected $charset = '';
- /**
- * The Cloud SQL collation value.
- *
- * Generated from protobuf field string collation = 3;
- */
- protected $collation = '';
- /**
- * This field is deprecated and will be removed from a future version of the
- * API.
- *
- * Generated from protobuf field string etag = 4;
- */
- protected $etag = '';
- /**
- * The name of the database in the Cloud SQL instance. This does not include
- * the project ID or instance name.
- *
- * Generated from protobuf field string name = 5;
- */
- protected $name = '';
- /**
- * The name of the Cloud SQL instance. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 6;
- */
- protected $instance = '';
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 7;
- */
- protected $self_link = '';
- /**
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable.
- *
- * Generated from protobuf field string project = 8;
- */
- protected $project = '';
- protected $database_details;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#database`.
- * @type string $charset
- * The Cloud SQL charset value.
- * @type string $collation
- * The Cloud SQL collation value.
- * @type string $etag
- * This field is deprecated and will be removed from a future version of the
- * API.
- * @type string $name
- * The name of the database in the Cloud SQL instance. This does not include
- * the project ID or instance name.
- * @type string $instance
- * The name of the Cloud SQL instance. This does not include the project ID.
- * @type string $self_link
- * The URI of this resource.
- * @type string $project
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable.
- * @type \Google\Cloud\Sql\V1beta4\SqlServerDatabaseDetails $sqlserver_database_details
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#database`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#database`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The Cloud SQL charset value.
- *
- * Generated from protobuf field string charset = 2;
- * @return string
- */
- public function getCharset()
- {
- return $this->charset;
- }
-
- /**
- * The Cloud SQL charset value.
- *
- * Generated from protobuf field string charset = 2;
- * @param string $var
- * @return $this
- */
- public function setCharset($var)
- {
- GPBUtil::checkString($var, True);
- $this->charset = $var;
-
- return $this;
- }
-
- /**
- * The Cloud SQL collation value.
- *
- * Generated from protobuf field string collation = 3;
- * @return string
- */
- public function getCollation()
- {
- return $this->collation;
- }
-
- /**
- * The Cloud SQL collation value.
- *
- * Generated from protobuf field string collation = 3;
- * @param string $var
- * @return $this
- */
- public function setCollation($var)
- {
- GPBUtil::checkString($var, True);
- $this->collation = $var;
-
- return $this;
- }
-
- /**
- * This field is deprecated and will be removed from a future version of the
- * API.
- *
- * Generated from protobuf field string etag = 4;
- * @return string
- */
- public function getEtag()
- {
- return $this->etag;
- }
-
- /**
- * This field is deprecated and will be removed from a future version of the
- * API.
- *
- * Generated from protobuf field string etag = 4;
- * @param string $var
- * @return $this
- */
- public function setEtag($var)
- {
- GPBUtil::checkString($var, True);
- $this->etag = $var;
-
- return $this;
- }
-
- /**
- * The name of the database in the Cloud SQL instance. This does not include
- * the project ID or instance name.
- *
- * Generated from protobuf field string name = 5;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the database in the Cloud SQL instance. This does not include
- * the project ID or instance name.
- *
- * Generated from protobuf field string name = 5;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The name of the Cloud SQL instance. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 6;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * The name of the Cloud SQL instance. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 6;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 7;
- * @return string
- */
- public function getSelfLink()
- {
- return $this->self_link;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 7;
- * @param string $var
- * @return $this
- */
- public function setSelfLink($var)
- {
- GPBUtil::checkString($var, True);
- $this->self_link = $var;
-
- return $this;
- }
-
- /**
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable.
- *
- * Generated from protobuf field string project = 8;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable.
- *
- * Generated from protobuf field string project = 8;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlServerDatabaseDetails sqlserver_database_details = 9;
- * @return \Google\Cloud\Sql\V1beta4\SqlServerDatabaseDetails|null
- */
- public function getSqlserverDatabaseDetails()
- {
- return $this->readOneof(9);
- }
-
- public function hasSqlserverDatabaseDetails()
- {
- return $this->hasOneof(9);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlServerDatabaseDetails sqlserver_database_details = 9;
- * @param \Google\Cloud\Sql\V1beta4\SqlServerDatabaseDetails $var
- * @return $this
- */
- public function setSqlserverDatabaseDetails($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\SqlServerDatabaseDetails::class);
- $this->writeOneof(9, $var);
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getDatabaseDetails()
- {
- return $this->whichOneof("database_details");
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseFlags.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseFlags.php
deleted file mode 100644
index 61b3a307543b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseFlags.php
+++ /dev/null
@@ -1,125 +0,0 @@
-google.cloud.sql.v1beta4.DatabaseFlags
- */
-class DatabaseFlags extends \Google\Protobuf\Internal\Message
-{
- /**
- * The name of the flag. These flags are passed at instance startup, so
- * include both server options and system variables. Flags are
- * specified with underscores, not hyphens. For more information, see
- * [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags)
- * in the Cloud SQL documentation.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The value of the flag. Boolean flags are set to `on` for true
- * and `off` for false. This field must be omitted if the flag
- * doesn't take a value.
- *
- * Generated from protobuf field string value = 2;
- */
- protected $value = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The name of the flag. These flags are passed at instance startup, so
- * include both server options and system variables. Flags are
- * specified with underscores, not hyphens. For more information, see
- * [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags)
- * in the Cloud SQL documentation.
- * @type string $value
- * The value of the flag. Boolean flags are set to `on` for true
- * and `off` for false. This field must be omitted if the flag
- * doesn't take a value.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The name of the flag. These flags are passed at instance startup, so
- * include both server options and system variables. Flags are
- * specified with underscores, not hyphens. For more information, see
- * [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags)
- * in the Cloud SQL documentation.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the flag. These flags are passed at instance startup, so
- * include both server options and system variables. Flags are
- * specified with underscores, not hyphens. For more information, see
- * [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags)
- * in the Cloud SQL documentation.
- *
- * Generated from protobuf field string name = 1;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The value of the flag. Boolean flags are set to `on` for true
- * and `off` for false. This field must be omitted if the flag
- * doesn't take a value.
- *
- * Generated from protobuf field string value = 2;
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The value of the flag. Boolean flags are set to `on` for true
- * and `off` for false. This field must be omitted if the flag
- * doesn't take a value.
- *
- * Generated from protobuf field string value = 2;
- * @param string $var
- * @return $this
- */
- public function setValue($var)
- {
- GPBUtil::checkString($var, True);
- $this->value = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance.php
deleted file mode 100644
index d62b0a2ea82b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance.php
+++ /dev/null
@@ -1,1976 +0,0 @@
-google.cloud.sql.v1beta4.DatabaseInstance
- */
-class DatabaseInstance extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#instance`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The current serving state of the Cloud SQL instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance.SqlInstanceState state = 2;
- */
- protected $state = 0;
- /**
- * The database engine type and version. The `databaseVersion` field cannot
- * be changed after instance creation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlDatabaseVersion database_version = 3;
- */
- protected $database_version = 0;
- /**
- * The user settings.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Settings settings = 4;
- */
- protected $settings = null;
- /**
- * This field is deprecated and will be removed from a future version of the
- * API. Use the `settings.settingsVersion` field instead.
- *
- * Generated from protobuf field string etag = 5;
- */
- protected $etag = '';
- /**
- * The name and status of the failover replica.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance.SqlFailoverReplica failover_replica = 6;
- */
- protected $failover_replica = null;
- /**
- * The name of the instance which will act as primary in the replication
- * setup.
- *
- * Generated from protobuf field string master_instance_name = 7;
- */
- protected $master_instance_name = '';
- /**
- * The replicas of the instance.
- *
- * Generated from protobuf field repeated string replica_names = 8;
- */
- private $replica_names;
- /**
- * The maximum disk size of the instance in bytes.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_disk_size = 9 [deprecated = true];
- * @deprecated
- */
- protected $max_disk_size = null;
- /**
- * The current disk usage of the instance in bytes. This property has been
- * deprecated. Use the
- * "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
- * Monitoring API instead. Please see [this
- * announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ)
- * for details.
- *
- * Generated from protobuf field .google.protobuf.Int64Value current_disk_size = 10 [deprecated = true];
- * @deprecated
- */
- protected $current_disk_size = null;
- /**
- * The assigned IP addresses for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 11;
- */
- private $ip_addresses;
- /**
- * SSL configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert server_ca_cert = 12;
- */
- protected $server_ca_cert = null;
- /**
- * The instance type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstanceType instance_type = 13;
- */
- protected $instance_type = 0;
- /**
- * The project ID of the project containing the Cloud SQL instance. The Google
- * apps domain is prefixed if applicable.
- *
- * Generated from protobuf field string project = 14;
- */
- protected $project = '';
- /**
- * The IPv6 address assigned to the instance.
- * (Deprecated) This property was applicable only
- * to First Generation instances.
- *
- * Generated from protobuf field string ipv6_address = 15 [deprecated = true];
- * @deprecated
- */
- protected $ipv6_address = '';
- /**
- * The service account email address assigned to the instance. \This
- * property is read-only.
- *
- * Generated from protobuf field string service_account_email_address = 16;
- */
- protected $service_account_email_address = '';
- /**
- * Configuration specific to on-premises instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.OnPremisesConfiguration on_premises_configuration = 17;
- */
- protected $on_premises_configuration = null;
- /**
- * Configuration specific to failover replicas and read replicas.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ReplicaConfiguration replica_configuration = 18;
- */
- protected $replica_configuration = null;
- /**
- * The backend type.
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackendType backend_type = 19;
- */
- protected $backend_type = 0;
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 20;
- */
- protected $self_link = '';
- /**
- * If the instance state is SUSPENDED, the reason for the suspension.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SqlSuspensionReason suspension_reason = 21;
- */
- private $suspension_reason;
- /**
- * Connection name of the Cloud SQL instance used in connection strings.
- *
- * Generated from protobuf field string connection_name = 22;
- */
- protected $connection_name = '';
- /**
- * Name of the Cloud SQL instance. This does not include the project ID.
- *
- * Generated from protobuf field string name = 23;
- */
- protected $name = '';
- /**
- * The geographical region of the Cloud SQL instance.
- * It can be one of the
- * [regions](https://cloud.google.com/sql/docs/mysql/locations#location-r)
- * where Cloud SQL operates:
- * For example, `asia-east1`, `europe-west1`, and `us-central1`.
- * The default value is `us-central1`.
- *
- * Generated from protobuf field string region = 24;
- */
- protected $region = '';
- /**
- * The Compute Engine zone that the instance is currently serving from. This
- * value could be different from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary zone. WARNING:
- * Changing this might restart the instance.
- *
- * Generated from protobuf field string gce_zone = 25;
- */
- protected $gce_zone = '';
- /**
- * The Compute Engine zone that the failover instance is currently serving
- * from for a regional instance. This value could be different
- * from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary/failover zone.
- *
- * Generated from protobuf field string secondary_gce_zone = 34;
- */
- protected $secondary_gce_zone = '';
- /**
- * Disk encryption configuration specific to an instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DiskEncryptionConfiguration disk_encryption_configuration = 26;
- */
- protected $disk_encryption_configuration = null;
- /**
- * Disk encryption status specific to an instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DiskEncryptionStatus disk_encryption_status = 27;
- */
- protected $disk_encryption_status = null;
- /**
- * Initial root password. Use only on creation. You must set root passwords
- * before you can connect to PostgreSQL instances.
- *
- * Generated from protobuf field string root_password = 29;
- */
- protected $root_password = '';
- /**
- * The start time of any upcoming scheduled maintenance for this instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance.SqlScheduledMaintenance scheduled_maintenance = 30;
- */
- protected $scheduled_maintenance = null;
- /**
- * The status indicating if instance satisfiesPzs.
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue satisfies_pzs = 35;
- */
- protected $satisfies_pzs = null;
- /**
- * Output only. Stores the current database version running on the instance
- * including minor version such as `MYSQL_8_0_18`.
- *
- * Generated from protobuf field string database_installed_version = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $database_installed_version = '';
- /**
- * This field represents the report generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlOutOfDiskReport out_of_disk_report = 38;
- */
- protected $out_of_disk_report = null;
- /**
- * Output only. The time when the instance was created in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $create_time = null;
- /**
- * Output only. List all maintenance versions applicable on the instance
- *
- * Generated from protobuf field repeated string available_maintenance_versions = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- private $available_maintenance_versions;
- /**
- * The current software version on the instance.
- *
- * Generated from protobuf field string maintenance_version = 42;
- */
- protected $maintenance_version = '';
- /**
- * The SQL network architecture for the instance.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlNetworkArchitecture sql_network_architecture = 47;
- */
- protected $sql_network_architecture = null;
- /**
- * Output only. The link to service attachment of PSC instance.
- *
- * Generated from protobuf field optional string psc_service_attachment_link = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $psc_service_attachment_link = null;
- /**
- * Output only. The dns name of the instance.
- *
- * Generated from protobuf field optional string dns_name = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $dns_name = null;
- /**
- * Output only. DEPRECATED: please use write_endpoint instead.
- *
- * Generated from protobuf field optional string primary_dns_name = 51 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
- * @deprecated
- */
- protected $primary_dns_name = null;
- /**
- * Output only. The dns name of the primary instance in a replication group.
- *
- * Generated from protobuf field optional string write_endpoint = 52 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $write_endpoint = null;
- /**
- * The pair of a primary instance and disaster recovery (DR) replica.
- * A DR replica is a cross-region replica that you designate
- * for failover in the event that the primary instance
- * has regional failure.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.ReplicationCluster replication_cluster = 54;
- */
- protected $replication_cluster = null;
- /**
- * Gemini instance configuration.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.GeminiInstanceConfig gemini_config = 55;
- */
- protected $gemini_config = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#instance`.
- * @type int $state
- * The current serving state of the Cloud SQL instance.
- * @type int $database_version
- * The database engine type and version. The `databaseVersion` field cannot
- * be changed after instance creation.
- * @type \Google\Cloud\Sql\V1beta4\Settings $settings
- * The user settings.
- * @type string $etag
- * This field is deprecated and will be removed from a future version of the
- * API. Use the `settings.settingsVersion` field instead.
- * @type \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlFailoverReplica $failover_replica
- * The name and status of the failover replica.
- * @type string $master_instance_name
- * The name of the instance which will act as primary in the replication
- * setup.
- * @type array|\Google\Protobuf\Internal\RepeatedField $replica_names
- * The replicas of the instance.
- * @type \Google\Protobuf\Int64Value $max_disk_size
- * The maximum disk size of the instance in bytes.
- * @type \Google\Protobuf\Int64Value $current_disk_size
- * The current disk usage of the instance in bytes. This property has been
- * deprecated. Use the
- * "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
- * Monitoring API instead. Please see [this
- * announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ)
- * for details.
- * @type array<\Google\Cloud\Sql\V1beta4\IpMapping>|\Google\Protobuf\Internal\RepeatedField $ip_addresses
- * The assigned IP addresses for the instance.
- * @type \Google\Cloud\Sql\V1beta4\SslCert $server_ca_cert
- * SSL configuration.
- * @type int $instance_type
- * The instance type.
- * @type string $project
- * The project ID of the project containing the Cloud SQL instance. The Google
- * apps domain is prefixed if applicable.
- * @type string $ipv6_address
- * The IPv6 address assigned to the instance.
- * (Deprecated) This property was applicable only
- * to First Generation instances.
- * @type string $service_account_email_address
- * The service account email address assigned to the instance. \This
- * property is read-only.
- * @type \Google\Cloud\Sql\V1beta4\OnPremisesConfiguration $on_premises_configuration
- * Configuration specific to on-premises instances.
- * @type \Google\Cloud\Sql\V1beta4\ReplicaConfiguration $replica_configuration
- * Configuration specific to failover replicas and read replicas.
- * @type int $backend_type
- * The backend type.
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- * @type string $self_link
- * The URI of this resource.
- * @type array|\Google\Protobuf\Internal\RepeatedField $suspension_reason
- * If the instance state is SUSPENDED, the reason for the suspension.
- * @type string $connection_name
- * Connection name of the Cloud SQL instance used in connection strings.
- * @type string $name
- * Name of the Cloud SQL instance. This does not include the project ID.
- * @type string $region
- * The geographical region of the Cloud SQL instance.
- * It can be one of the
- * [regions](https://cloud.google.com/sql/docs/mysql/locations#location-r)
- * where Cloud SQL operates:
- * For example, `asia-east1`, `europe-west1`, and `us-central1`.
- * The default value is `us-central1`.
- * @type string $gce_zone
- * The Compute Engine zone that the instance is currently serving from. This
- * value could be different from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary zone. WARNING:
- * Changing this might restart the instance.
- * @type string $secondary_gce_zone
- * The Compute Engine zone that the failover instance is currently serving
- * from for a regional instance. This value could be different
- * from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary/failover zone.
- * @type \Google\Cloud\Sql\V1beta4\DiskEncryptionConfiguration $disk_encryption_configuration
- * Disk encryption configuration specific to an instance.
- * @type \Google\Cloud\Sql\V1beta4\DiskEncryptionStatus $disk_encryption_status
- * Disk encryption status specific to an instance.
- * @type string $root_password
- * Initial root password. Use only on creation. You must set root passwords
- * before you can connect to PostgreSQL instances.
- * @type \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlScheduledMaintenance $scheduled_maintenance
- * The start time of any upcoming scheduled maintenance for this instance.
- * @type \Google\Protobuf\BoolValue $satisfies_pzs
- * The status indicating if instance satisfiesPzs.
- * Reserved for future use.
- * @type string $database_installed_version
- * Output only. Stores the current database version running on the instance
- * including minor version such as `MYSQL_8_0_18`.
- * @type \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlOutOfDiskReport $out_of_disk_report
- * This field represents the report generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- * @type \Google\Protobuf\Timestamp $create_time
- * Output only. The time when the instance was created in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type array|\Google\Protobuf\Internal\RepeatedField $available_maintenance_versions
- * Output only. List all maintenance versions applicable on the instance
- * @type string $maintenance_version
- * The current software version on the instance.
- * @type int $sql_network_architecture
- * The SQL network architecture for the instance.
- * @type string $psc_service_attachment_link
- * Output only. The link to service attachment of PSC instance.
- * @type string $dns_name
- * Output only. The dns name of the instance.
- * @type string $primary_dns_name
- * Output only. DEPRECATED: please use write_endpoint instead.
- * @type string $write_endpoint
- * Output only. The dns name of the primary instance in a replication group.
- * @type \Google\Cloud\Sql\V1beta4\ReplicationCluster $replication_cluster
- * The pair of a primary instance and disaster recovery (DR) replica.
- * A DR replica is a cross-region replica that you designate
- * for failover in the event that the primary instance
- * has regional failure.
- * @type \Google\Cloud\Sql\V1beta4\GeminiInstanceConfig $gemini_config
- * Gemini instance configuration.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#instance`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#instance`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The current serving state of the Cloud SQL instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance.SqlInstanceState state = 2;
- * @return int
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * The current serving state of the Cloud SQL instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance.SqlInstanceState state = 2;
- * @param int $var
- * @return $this
- */
- public function setState($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlInstanceState::class);
- $this->state = $var;
-
- return $this;
- }
-
- /**
- * The database engine type and version. The `databaseVersion` field cannot
- * be changed after instance creation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlDatabaseVersion database_version = 3;
- * @return int
- */
- public function getDatabaseVersion()
- {
- return $this->database_version;
- }
-
- /**
- * The database engine type and version. The `databaseVersion` field cannot
- * be changed after instance creation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlDatabaseVersion database_version = 3;
- * @param int $var
- * @return $this
- */
- public function setDatabaseVersion($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlDatabaseVersion::class);
- $this->database_version = $var;
-
- return $this;
- }
-
- /**
- * The user settings.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Settings settings = 4;
- * @return \Google\Cloud\Sql\V1beta4\Settings|null
- */
- public function getSettings()
- {
- return $this->settings;
- }
-
- public function hasSettings()
- {
- return isset($this->settings);
- }
-
- public function clearSettings()
- {
- unset($this->settings);
- }
-
- /**
- * The user settings.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Settings settings = 4;
- * @param \Google\Cloud\Sql\V1beta4\Settings $var
- * @return $this
- */
- public function setSettings($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\Settings::class);
- $this->settings = $var;
-
- return $this;
- }
-
- /**
- * This field is deprecated and will be removed from a future version of the
- * API. Use the `settings.settingsVersion` field instead.
- *
- * Generated from protobuf field string etag = 5;
- * @return string
- */
- public function getEtag()
- {
- return $this->etag;
- }
-
- /**
- * This field is deprecated and will be removed from a future version of the
- * API. Use the `settings.settingsVersion` field instead.
- *
- * Generated from protobuf field string etag = 5;
- * @param string $var
- * @return $this
- */
- public function setEtag($var)
- {
- GPBUtil::checkString($var, True);
- $this->etag = $var;
-
- return $this;
- }
-
- /**
- * The name and status of the failover replica.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance.SqlFailoverReplica failover_replica = 6;
- * @return \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlFailoverReplica|null
- */
- public function getFailoverReplica()
- {
- return $this->failover_replica;
- }
-
- public function hasFailoverReplica()
- {
- return isset($this->failover_replica);
- }
-
- public function clearFailoverReplica()
- {
- unset($this->failover_replica);
- }
-
- /**
- * The name and status of the failover replica.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance.SqlFailoverReplica failover_replica = 6;
- * @param \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlFailoverReplica $var
- * @return $this
- */
- public function setFailoverReplica($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlFailoverReplica::class);
- $this->failover_replica = $var;
-
- return $this;
- }
-
- /**
- * The name of the instance which will act as primary in the replication
- * setup.
- *
- * Generated from protobuf field string master_instance_name = 7;
- * @return string
- */
- public function getMasterInstanceName()
- {
- return $this->master_instance_name;
- }
-
- /**
- * The name of the instance which will act as primary in the replication
- * setup.
- *
- * Generated from protobuf field string master_instance_name = 7;
- * @param string $var
- * @return $this
- */
- public function setMasterInstanceName($var)
- {
- GPBUtil::checkString($var, True);
- $this->master_instance_name = $var;
-
- return $this;
- }
-
- /**
- * The replicas of the instance.
- *
- * Generated from protobuf field repeated string replica_names = 8;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getReplicaNames()
- {
- return $this->replica_names;
- }
-
- /**
- * The replicas of the instance.
- *
- * Generated from protobuf field repeated string replica_names = 8;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setReplicaNames($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->replica_names = $arr;
-
- return $this;
- }
-
- /**
- * The maximum disk size of the instance in bytes.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_disk_size = 9 [deprecated = true];
- * @return \Google\Protobuf\Int64Value|null
- * @deprecated
- */
- public function getMaxDiskSize()
- {
- @trigger_error('max_disk_size is deprecated.', E_USER_DEPRECATED);
- return $this->max_disk_size;
- }
-
- public function hasMaxDiskSize()
- {
- @trigger_error('max_disk_size is deprecated.', E_USER_DEPRECATED);
- return isset($this->max_disk_size);
- }
-
- public function clearMaxDiskSize()
- {
- @trigger_error('max_disk_size is deprecated.', E_USER_DEPRECATED);
- unset($this->max_disk_size);
- }
-
- /**
- * Returns the unboxed value from getMaxDiskSize()
-
- * The maximum disk size of the instance in bytes.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_disk_size = 9 [deprecated = true];
- * @return int|string|null
- */
- public function getMaxDiskSizeUnwrapped()
- {
- @trigger_error('max_disk_size is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("max_disk_size");
- }
-
- /**
- * The maximum disk size of the instance in bytes.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_disk_size = 9 [deprecated = true];
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- * @deprecated
- */
- public function setMaxDiskSize($var)
- {
- @trigger_error('max_disk_size is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->max_disk_size = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * The maximum disk size of the instance in bytes.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_disk_size = 9 [deprecated = true];
- * @param int|string|null $var
- * @return $this
- */
- public function setMaxDiskSizeUnwrapped($var)
- {
- $this->writeWrapperValue("max_disk_size", $var);
- return $this;}
-
- /**
- * The current disk usage of the instance in bytes. This property has been
- * deprecated. Use the
- * "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
- * Monitoring API instead. Please see [this
- * announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ)
- * for details.
- *
- * Generated from protobuf field .google.protobuf.Int64Value current_disk_size = 10 [deprecated = true];
- * @return \Google\Protobuf\Int64Value|null
- * @deprecated
- */
- public function getCurrentDiskSize()
- {
- @trigger_error('current_disk_size is deprecated.', E_USER_DEPRECATED);
- return $this->current_disk_size;
- }
-
- public function hasCurrentDiskSize()
- {
- @trigger_error('current_disk_size is deprecated.', E_USER_DEPRECATED);
- return isset($this->current_disk_size);
- }
-
- public function clearCurrentDiskSize()
- {
- @trigger_error('current_disk_size is deprecated.', E_USER_DEPRECATED);
- unset($this->current_disk_size);
- }
-
- /**
- * Returns the unboxed value from getCurrentDiskSize()
-
- * The current disk usage of the instance in bytes. This property has been
- * deprecated. Use the
- * "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
- * Monitoring API instead. Please see [this
- * announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ)
- * for details.
- *
- * Generated from protobuf field .google.protobuf.Int64Value current_disk_size = 10 [deprecated = true];
- * @return int|string|null
- */
- public function getCurrentDiskSizeUnwrapped()
- {
- @trigger_error('current_disk_size is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("current_disk_size");
- }
-
- /**
- * The current disk usage of the instance in bytes. This property has been
- * deprecated. Use the
- * "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
- * Monitoring API instead. Please see [this
- * announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ)
- * for details.
- *
- * Generated from protobuf field .google.protobuf.Int64Value current_disk_size = 10 [deprecated = true];
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- * @deprecated
- */
- public function setCurrentDiskSize($var)
- {
- @trigger_error('current_disk_size is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->current_disk_size = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * The current disk usage of the instance in bytes. This property has been
- * deprecated. Use the
- * "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
- * Monitoring API instead. Please see [this
- * announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ)
- * for details.
- *
- * Generated from protobuf field .google.protobuf.Int64Value current_disk_size = 10 [deprecated = true];
- * @param int|string|null $var
- * @return $this
- */
- public function setCurrentDiskSizeUnwrapped($var)
- {
- $this->writeWrapperValue("current_disk_size", $var);
- return $this;}
-
- /**
- * The assigned IP addresses for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 11;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getIpAddresses()
- {
- return $this->ip_addresses;
- }
-
- /**
- * The assigned IP addresses for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.IpMapping ip_addresses = 11;
- * @param array<\Google\Cloud\Sql\V1beta4\IpMapping>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setIpAddresses($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\IpMapping::class);
- $this->ip_addresses = $arr;
-
- return $this;
- }
-
- /**
- * SSL configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert server_ca_cert = 12;
- * @return \Google\Cloud\Sql\V1beta4\SslCert|null
- */
- public function getServerCaCert()
- {
- return $this->server_ca_cert;
- }
-
- public function hasServerCaCert()
- {
- return isset($this->server_ca_cert);
- }
-
- public function clearServerCaCert()
- {
- unset($this->server_ca_cert);
- }
-
- /**
- * SSL configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert server_ca_cert = 12;
- * @param \Google\Cloud\Sql\V1beta4\SslCert $var
- * @return $this
- */
- public function setServerCaCert($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\SslCert::class);
- $this->server_ca_cert = $var;
-
- return $this;
- }
-
- /**
- * The instance type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstanceType instance_type = 13;
- * @return int
- */
- public function getInstanceType()
- {
- return $this->instance_type;
- }
-
- /**
- * The instance type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstanceType instance_type = 13;
- * @param int $var
- * @return $this
- */
- public function setInstanceType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlInstanceType::class);
- $this->instance_type = $var;
-
- return $this;
- }
-
- /**
- * The project ID of the project containing the Cloud SQL instance. The Google
- * apps domain is prefixed if applicable.
- *
- * Generated from protobuf field string project = 14;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * The project ID of the project containing the Cloud SQL instance. The Google
- * apps domain is prefixed if applicable.
- *
- * Generated from protobuf field string project = 14;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * The IPv6 address assigned to the instance.
- * (Deprecated) This property was applicable only
- * to First Generation instances.
- *
- * Generated from protobuf field string ipv6_address = 15 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getIpv6Address()
- {
- @trigger_error('ipv6_address is deprecated.', E_USER_DEPRECATED);
- return $this->ipv6_address;
- }
-
- /**
- * The IPv6 address assigned to the instance.
- * (Deprecated) This property was applicable only
- * to First Generation instances.
- *
- * Generated from protobuf field string ipv6_address = 15 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setIpv6Address($var)
- {
- @trigger_error('ipv6_address is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->ipv6_address = $var;
-
- return $this;
- }
-
- /**
- * The service account email address assigned to the instance. \This
- * property is read-only.
- *
- * Generated from protobuf field string service_account_email_address = 16;
- * @return string
- */
- public function getServiceAccountEmailAddress()
- {
- return $this->service_account_email_address;
- }
-
- /**
- * The service account email address assigned to the instance. \This
- * property is read-only.
- *
- * Generated from protobuf field string service_account_email_address = 16;
- * @param string $var
- * @return $this
- */
- public function setServiceAccountEmailAddress($var)
- {
- GPBUtil::checkString($var, True);
- $this->service_account_email_address = $var;
-
- return $this;
- }
-
- /**
- * Configuration specific to on-premises instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.OnPremisesConfiguration on_premises_configuration = 17;
- * @return \Google\Cloud\Sql\V1beta4\OnPremisesConfiguration|null
- */
- public function getOnPremisesConfiguration()
- {
- return $this->on_premises_configuration;
- }
-
- public function hasOnPremisesConfiguration()
- {
- return isset($this->on_premises_configuration);
- }
-
- public function clearOnPremisesConfiguration()
- {
- unset($this->on_premises_configuration);
- }
-
- /**
- * Configuration specific to on-premises instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.OnPremisesConfiguration on_premises_configuration = 17;
- * @param \Google\Cloud\Sql\V1beta4\OnPremisesConfiguration $var
- * @return $this
- */
- public function setOnPremisesConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\OnPremisesConfiguration::class);
- $this->on_premises_configuration = $var;
-
- return $this;
- }
-
- /**
- * Configuration specific to failover replicas and read replicas.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ReplicaConfiguration replica_configuration = 18;
- * @return \Google\Cloud\Sql\V1beta4\ReplicaConfiguration|null
- */
- public function getReplicaConfiguration()
- {
- return $this->replica_configuration;
- }
-
- public function hasReplicaConfiguration()
- {
- return isset($this->replica_configuration);
- }
-
- public function clearReplicaConfiguration()
- {
- unset($this->replica_configuration);
- }
-
- /**
- * Configuration specific to failover replicas and read replicas.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ReplicaConfiguration replica_configuration = 18;
- * @param \Google\Cloud\Sql\V1beta4\ReplicaConfiguration $var
- * @return $this
- */
- public function setReplicaConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ReplicaConfiguration::class);
- $this->replica_configuration = $var;
-
- return $this;
- }
-
- /**
- * The backend type.
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackendType backend_type = 19;
- * @return int
- */
- public function getBackendType()
- {
- return $this->backend_type;
- }
-
- /**
- * The backend type.
- * `SECOND_GEN`: Cloud SQL database instance.
- * `EXTERNAL`: A database server that is not managed by Google.
- * This property is read-only; use the `tier` property in the `settings`
- * object to determine the database type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlBackendType backend_type = 19;
- * @param int $var
- * @return $this
- */
- public function setBackendType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlBackendType::class);
- $this->backend_type = $var;
-
- return $this;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 20;
- * @return string
- */
- public function getSelfLink()
- {
- return $this->self_link;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 20;
- * @param string $var
- * @return $this
- */
- public function setSelfLink($var)
- {
- GPBUtil::checkString($var, True);
- $this->self_link = $var;
-
- return $this;
- }
-
- /**
- * If the instance state is SUSPENDED, the reason for the suspension.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SqlSuspensionReason suspension_reason = 21;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getSuspensionReason()
- {
- return $this->suspension_reason;
- }
-
- /**
- * If the instance state is SUSPENDED, the reason for the suspension.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SqlSuspensionReason suspension_reason = 21;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setSuspensionReason($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\Sql\V1beta4\SqlSuspensionReason::class);
- $this->suspension_reason = $arr;
-
- return $this;
- }
-
- /**
- * Connection name of the Cloud SQL instance used in connection strings.
- *
- * Generated from protobuf field string connection_name = 22;
- * @return string
- */
- public function getConnectionName()
- {
- return $this->connection_name;
- }
-
- /**
- * Connection name of the Cloud SQL instance used in connection strings.
- *
- * Generated from protobuf field string connection_name = 22;
- * @param string $var
- * @return $this
- */
- public function setConnectionName($var)
- {
- GPBUtil::checkString($var, True);
- $this->connection_name = $var;
-
- return $this;
- }
-
- /**
- * Name of the Cloud SQL instance. This does not include the project ID.
- *
- * Generated from protobuf field string name = 23;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Name of the Cloud SQL instance. This does not include the project ID.
- *
- * Generated from protobuf field string name = 23;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The geographical region of the Cloud SQL instance.
- * It can be one of the
- * [regions](https://cloud.google.com/sql/docs/mysql/locations#location-r)
- * where Cloud SQL operates:
- * For example, `asia-east1`, `europe-west1`, and `us-central1`.
- * The default value is `us-central1`.
- *
- * Generated from protobuf field string region = 24;
- * @return string
- */
- public function getRegion()
- {
- return $this->region;
- }
-
- /**
- * The geographical region of the Cloud SQL instance.
- * It can be one of the
- * [regions](https://cloud.google.com/sql/docs/mysql/locations#location-r)
- * where Cloud SQL operates:
- * For example, `asia-east1`, `europe-west1`, and `us-central1`.
- * The default value is `us-central1`.
- *
- * Generated from protobuf field string region = 24;
- * @param string $var
- * @return $this
- */
- public function setRegion($var)
- {
- GPBUtil::checkString($var, True);
- $this->region = $var;
-
- return $this;
- }
-
- /**
- * The Compute Engine zone that the instance is currently serving from. This
- * value could be different from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary zone. WARNING:
- * Changing this might restart the instance.
- *
- * Generated from protobuf field string gce_zone = 25;
- * @return string
- */
- public function getGceZone()
- {
- return $this->gce_zone;
- }
-
- /**
- * The Compute Engine zone that the instance is currently serving from. This
- * value could be different from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary zone. WARNING:
- * Changing this might restart the instance.
- *
- * Generated from protobuf field string gce_zone = 25;
- * @param string $var
- * @return $this
- */
- public function setGceZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->gce_zone = $var;
-
- return $this;
- }
-
- /**
- * The Compute Engine zone that the failover instance is currently serving
- * from for a regional instance. This value could be different
- * from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary/failover zone.
- *
- * Generated from protobuf field string secondary_gce_zone = 34;
- * @return string
- */
- public function getSecondaryGceZone()
- {
- return $this->secondary_gce_zone;
- }
-
- /**
- * The Compute Engine zone that the failover instance is currently serving
- * from for a regional instance. This value could be different
- * from the zone that was specified when the instance
- * was created if the instance has failed over to its secondary/failover zone.
- *
- * Generated from protobuf field string secondary_gce_zone = 34;
- * @param string $var
- * @return $this
- */
- public function setSecondaryGceZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->secondary_gce_zone = $var;
-
- return $this;
- }
-
- /**
- * Disk encryption configuration specific to an instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DiskEncryptionConfiguration disk_encryption_configuration = 26;
- * @return \Google\Cloud\Sql\V1beta4\DiskEncryptionConfiguration|null
- */
- public function getDiskEncryptionConfiguration()
- {
- return $this->disk_encryption_configuration;
- }
-
- public function hasDiskEncryptionConfiguration()
- {
- return isset($this->disk_encryption_configuration);
- }
-
- public function clearDiskEncryptionConfiguration()
- {
- unset($this->disk_encryption_configuration);
- }
-
- /**
- * Disk encryption configuration specific to an instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DiskEncryptionConfiguration disk_encryption_configuration = 26;
- * @param \Google\Cloud\Sql\V1beta4\DiskEncryptionConfiguration $var
- * @return $this
- */
- public function setDiskEncryptionConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DiskEncryptionConfiguration::class);
- $this->disk_encryption_configuration = $var;
-
- return $this;
- }
-
- /**
- * Disk encryption status specific to an instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DiskEncryptionStatus disk_encryption_status = 27;
- * @return \Google\Cloud\Sql\V1beta4\DiskEncryptionStatus|null
- */
- public function getDiskEncryptionStatus()
- {
- return $this->disk_encryption_status;
- }
-
- public function hasDiskEncryptionStatus()
- {
- return isset($this->disk_encryption_status);
- }
-
- public function clearDiskEncryptionStatus()
- {
- unset($this->disk_encryption_status);
- }
-
- /**
- * Disk encryption status specific to an instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DiskEncryptionStatus disk_encryption_status = 27;
- * @param \Google\Cloud\Sql\V1beta4\DiskEncryptionStatus $var
- * @return $this
- */
- public function setDiskEncryptionStatus($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DiskEncryptionStatus::class);
- $this->disk_encryption_status = $var;
-
- return $this;
- }
-
- /**
- * Initial root password. Use only on creation. You must set root passwords
- * before you can connect to PostgreSQL instances.
- *
- * Generated from protobuf field string root_password = 29;
- * @return string
- */
- public function getRootPassword()
- {
- return $this->root_password;
- }
-
- /**
- * Initial root password. Use only on creation. You must set root passwords
- * before you can connect to PostgreSQL instances.
- *
- * Generated from protobuf field string root_password = 29;
- * @param string $var
- * @return $this
- */
- public function setRootPassword($var)
- {
- GPBUtil::checkString($var, True);
- $this->root_password = $var;
-
- return $this;
- }
-
- /**
- * The start time of any upcoming scheduled maintenance for this instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance.SqlScheduledMaintenance scheduled_maintenance = 30;
- * @return \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlScheduledMaintenance|null
- */
- public function getScheduledMaintenance()
- {
- return $this->scheduled_maintenance;
- }
-
- public function hasScheduledMaintenance()
- {
- return isset($this->scheduled_maintenance);
- }
-
- public function clearScheduledMaintenance()
- {
- unset($this->scheduled_maintenance);
- }
-
- /**
- * The start time of any upcoming scheduled maintenance for this instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance.SqlScheduledMaintenance scheduled_maintenance = 30;
- * @param \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlScheduledMaintenance $var
- * @return $this
- */
- public function setScheduledMaintenance($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlScheduledMaintenance::class);
- $this->scheduled_maintenance = $var;
-
- return $this;
- }
-
- /**
- * The status indicating if instance satisfiesPzs.
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue satisfies_pzs = 35;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getSatisfiesPzs()
- {
- return $this->satisfies_pzs;
- }
-
- public function hasSatisfiesPzs()
- {
- return isset($this->satisfies_pzs);
- }
-
- public function clearSatisfiesPzs()
- {
- unset($this->satisfies_pzs);
- }
-
- /**
- * Returns the unboxed value from getSatisfiesPzs()
-
- * The status indicating if instance satisfiesPzs.
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue satisfies_pzs = 35;
- * @return bool|null
- */
- public function getSatisfiesPzsUnwrapped()
- {
- return $this->readWrapperValue("satisfies_pzs");
- }
-
- /**
- * The status indicating if instance satisfiesPzs.
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue satisfies_pzs = 35;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setSatisfiesPzs($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->satisfies_pzs = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * The status indicating if instance satisfiesPzs.
- * Reserved for future use.
- *
- * Generated from protobuf field .google.protobuf.BoolValue satisfies_pzs = 35;
- * @param bool|null $var
- * @return $this
- */
- public function setSatisfiesPzsUnwrapped($var)
- {
- $this->writeWrapperValue("satisfies_pzs", $var);
- return $this;}
-
- /**
- * Output only. Stores the current database version running on the instance
- * including minor version such as `MYSQL_8_0_18`.
- *
- * Generated from protobuf field string database_installed_version = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getDatabaseInstalledVersion()
- {
- return $this->database_installed_version;
- }
-
- /**
- * Output only. Stores the current database version running on the instance
- * including minor version such as `MYSQL_8_0_18`.
- *
- * Generated from protobuf field string database_installed_version = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setDatabaseInstalledVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->database_installed_version = $var;
-
- return $this;
- }
-
- /**
- * This field represents the report generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlOutOfDiskReport out_of_disk_report = 38;
- * @return \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlOutOfDiskReport|null
- */
- public function getOutOfDiskReport()
- {
- return $this->out_of_disk_report;
- }
-
- public function hasOutOfDiskReport()
- {
- return isset($this->out_of_disk_report);
- }
-
- public function clearOutOfDiskReport()
- {
- unset($this->out_of_disk_report);
- }
-
- /**
- * This field represents the report generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlOutOfDiskReport out_of_disk_report = 38;
- * @param \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlOutOfDiskReport $var
- * @return $this
- */
- public function setOutOfDiskReport($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlOutOfDiskReport::class);
- $this->out_of_disk_report = $var;
-
- return $this;
- }
-
- /**
- * Output only. The time when the instance was created in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- public function hasCreateTime()
- {
- return isset($this->create_time);
- }
-
- public function clearCreateTime()
- {
- unset($this->create_time);
- }
-
- /**
- * Output only. The time when the instance was created in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setCreateTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->create_time = $var;
-
- return $this;
- }
-
- /**
- * Output only. List all maintenance versions applicable on the instance
- *
- * Generated from protobuf field repeated string available_maintenance_versions = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAvailableMaintenanceVersions()
- {
- return $this->available_maintenance_versions;
- }
-
- /**
- * Output only. List all maintenance versions applicable on the instance
- *
- * Generated from protobuf field repeated string available_maintenance_versions = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAvailableMaintenanceVersions($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->available_maintenance_versions = $arr;
-
- return $this;
- }
-
- /**
- * The current software version on the instance.
- *
- * Generated from protobuf field string maintenance_version = 42;
- * @return string
- */
- public function getMaintenanceVersion()
- {
- return $this->maintenance_version;
- }
-
- /**
- * The current software version on the instance.
- *
- * Generated from protobuf field string maintenance_version = 42;
- * @param string $var
- * @return $this
- */
- public function setMaintenanceVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->maintenance_version = $var;
-
- return $this;
- }
-
- /**
- * The SQL network architecture for the instance.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlNetworkArchitecture sql_network_architecture = 47;
- * @return int
- */
- public function getSqlNetworkArchitecture()
- {
- return isset($this->sql_network_architecture) ? $this->sql_network_architecture : 0;
- }
-
- public function hasSqlNetworkArchitecture()
- {
- return isset($this->sql_network_architecture);
- }
-
- public function clearSqlNetworkArchitecture()
- {
- unset($this->sql_network_architecture);
- }
-
- /**
- * The SQL network architecture for the instance.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlNetworkArchitecture sql_network_architecture = 47;
- * @param int $var
- * @return $this
- */
- public function setSqlNetworkArchitecture($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlNetworkArchitecture::class);
- $this->sql_network_architecture = $var;
-
- return $this;
- }
-
- /**
- * Output only. The link to service attachment of PSC instance.
- *
- * Generated from protobuf field optional string psc_service_attachment_link = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getPscServiceAttachmentLink()
- {
- return isset($this->psc_service_attachment_link) ? $this->psc_service_attachment_link : '';
- }
-
- public function hasPscServiceAttachmentLink()
- {
- return isset($this->psc_service_attachment_link);
- }
-
- public function clearPscServiceAttachmentLink()
- {
- unset($this->psc_service_attachment_link);
- }
-
- /**
- * Output only. The link to service attachment of PSC instance.
- *
- * Generated from protobuf field optional string psc_service_attachment_link = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setPscServiceAttachmentLink($var)
- {
- GPBUtil::checkString($var, True);
- $this->psc_service_attachment_link = $var;
-
- return $this;
- }
-
- /**
- * Output only. The dns name of the instance.
- *
- * Generated from protobuf field optional string dns_name = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getDnsName()
- {
- return isset($this->dns_name) ? $this->dns_name : '';
- }
-
- public function hasDnsName()
- {
- return isset($this->dns_name);
- }
-
- public function clearDnsName()
- {
- unset($this->dns_name);
- }
-
- /**
- * Output only. The dns name of the instance.
- *
- * Generated from protobuf field optional string dns_name = 49 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setDnsName($var)
- {
- GPBUtil::checkString($var, True);
- $this->dns_name = $var;
-
- return $this;
- }
-
- /**
- * Output only. DEPRECATED: please use write_endpoint instead.
- *
- * Generated from protobuf field optional string primary_dns_name = 51 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- * @deprecated
- */
- public function getPrimaryDnsName()
- {
- @trigger_error('primary_dns_name is deprecated.', E_USER_DEPRECATED);
- return isset($this->primary_dns_name) ? $this->primary_dns_name : '';
- }
-
- public function hasPrimaryDnsName()
- {
- @trigger_error('primary_dns_name is deprecated.', E_USER_DEPRECATED);
- return isset($this->primary_dns_name);
- }
-
- public function clearPrimaryDnsName()
- {
- @trigger_error('primary_dns_name is deprecated.', E_USER_DEPRECATED);
- unset($this->primary_dns_name);
- }
-
- /**
- * Output only. DEPRECATED: please use write_endpoint instead.
- *
- * Generated from protobuf field optional string primary_dns_name = 51 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setPrimaryDnsName($var)
- {
- @trigger_error('primary_dns_name is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->primary_dns_name = $var;
-
- return $this;
- }
-
- /**
- * Output only. The dns name of the primary instance in a replication group.
- *
- * Generated from protobuf field optional string write_endpoint = 52 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return string
- */
- public function getWriteEndpoint()
- {
- return isset($this->write_endpoint) ? $this->write_endpoint : '';
- }
-
- public function hasWriteEndpoint()
- {
- return isset($this->write_endpoint);
- }
-
- public function clearWriteEndpoint()
- {
- unset($this->write_endpoint);
- }
-
- /**
- * Output only. The dns name of the primary instance in a replication group.
- *
- * Generated from protobuf field optional string write_endpoint = 52 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param string $var
- * @return $this
- */
- public function setWriteEndpoint($var)
- {
- GPBUtil::checkString($var, True);
- $this->write_endpoint = $var;
-
- return $this;
- }
-
- /**
- * The pair of a primary instance and disaster recovery (DR) replica.
- * A DR replica is a cross-region replica that you designate
- * for failover in the event that the primary instance
- * has regional failure.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.ReplicationCluster replication_cluster = 54;
- * @return \Google\Cloud\Sql\V1beta4\ReplicationCluster|null
- */
- public function getReplicationCluster()
- {
- return $this->replication_cluster;
- }
-
- public function hasReplicationCluster()
- {
- return isset($this->replication_cluster);
- }
-
- public function clearReplicationCluster()
- {
- unset($this->replication_cluster);
- }
-
- /**
- * The pair of a primary instance and disaster recovery (DR) replica.
- * A DR replica is a cross-region replica that you designate
- * for failover in the event that the primary instance
- * has regional failure.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.ReplicationCluster replication_cluster = 54;
- * @param \Google\Cloud\Sql\V1beta4\ReplicationCluster $var
- * @return $this
- */
- public function setReplicationCluster($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ReplicationCluster::class);
- $this->replication_cluster = $var;
-
- return $this;
- }
-
- /**
- * Gemini instance configuration.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.GeminiInstanceConfig gemini_config = 55;
- * @return \Google\Cloud\Sql\V1beta4\GeminiInstanceConfig|null
- */
- public function getGeminiConfig()
- {
- return $this->gemini_config;
- }
-
- public function hasGeminiConfig()
- {
- return isset($this->gemini_config);
- }
-
- public function clearGeminiConfig()
- {
- unset($this->gemini_config);
- }
-
- /**
- * Gemini instance configuration.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.GeminiInstanceConfig gemini_config = 55;
- * @param \Google\Cloud\Sql\V1beta4\GeminiInstanceConfig $var
- * @return $this
- */
- public function setGeminiConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\GeminiInstanceConfig::class);
- $this->gemini_config = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlFailoverReplica.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlFailoverReplica.php
deleted file mode 100644
index 66fb0d075a29..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlFailoverReplica.php
+++ /dev/null
@@ -1,159 +0,0 @@
-google.cloud.sql.v1beta4.DatabaseInstance.SqlFailoverReplica
- */
-class SqlFailoverReplica extends \Google\Protobuf\Internal\Message
-{
- /**
- * The name of the failover replica. If specified at instance creation, a
- * failover replica is created for the instance. The name
- * doesn't include the project ID.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The availability status of the failover replica. A false status indicates
- * that the failover replica is out of sync. The primary instance can only
- * failover to the failover replica when the status is true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue available = 2;
- */
- protected $available = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The name of the failover replica. If specified at instance creation, a
- * failover replica is created for the instance. The name
- * doesn't include the project ID.
- * @type \Google\Protobuf\BoolValue $available
- * The availability status of the failover replica. A false status indicates
- * that the failover replica is out of sync. The primary instance can only
- * failover to the failover replica when the status is true.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The name of the failover replica. If specified at instance creation, a
- * failover replica is created for the instance. The name
- * doesn't include the project ID.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the failover replica. If specified at instance creation, a
- * failover replica is created for the instance. The name
- * doesn't include the project ID.
- *
- * Generated from protobuf field string name = 1;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The availability status of the failover replica. A false status indicates
- * that the failover replica is out of sync. The primary instance can only
- * failover to the failover replica when the status is true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue available = 2;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getAvailable()
- {
- return $this->available;
- }
-
- public function hasAvailable()
- {
- return isset($this->available);
- }
-
- public function clearAvailable()
- {
- unset($this->available);
- }
-
- /**
- * Returns the unboxed value from getAvailable()
-
- * The availability status of the failover replica. A false status indicates
- * that the failover replica is out of sync. The primary instance can only
- * failover to the failover replica when the status is true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue available = 2;
- * @return bool|null
- */
- public function getAvailableUnwrapped()
- {
- return $this->readWrapperValue("available");
- }
-
- /**
- * The availability status of the failover replica. A false status indicates
- * that the failover replica is out of sync. The primary instance can only
- * failover to the failover replica when the status is true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue available = 2;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setAvailable($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->available = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * The availability status of the failover replica. A false status indicates
- * that the failover replica is out of sync. The primary instance can only
- * failover to the failover replica when the status is true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue available = 2;
- * @param bool|null $var
- * @return $this
- */
- public function setAvailableUnwrapped($var)
- {
- $this->writeWrapperValue("available", $var);
- return $this;}
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlFailoverReplica::class, \Google\Cloud\Sql\V1beta4\DatabaseInstance_SqlFailoverReplica::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlInstanceState.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlInstanceState.php
deleted file mode 100644
index 7a120981a060..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlInstanceState.php
+++ /dev/null
@@ -1,100 +0,0 @@
-google.cloud.sql.v1beta4.DatabaseInstance.SqlInstanceState
- */
-class SqlInstanceState
-{
- /**
- * The state of the instance is unknown.
- *
- * Generated from protobuf enum SQL_INSTANCE_STATE_UNSPECIFIED = 0;
- */
- const SQL_INSTANCE_STATE_UNSPECIFIED = 0;
- /**
- * The instance is running, or has been stopped by owner.
- *
- * Generated from protobuf enum RUNNABLE = 1;
- */
- const RUNNABLE = 1;
- /**
- * The instance is not available, for example due to problems with billing.
- *
- * Generated from protobuf enum SUSPENDED = 2;
- */
- const SUSPENDED = 2;
- /**
- * The instance is being deleted.
- *
- * Generated from protobuf enum PENDING_DELETE = 3;
- */
- const PENDING_DELETE = 3;
- /**
- * The instance is being created.
- *
- * Generated from protobuf enum PENDING_CREATE = 4;
- */
- const PENDING_CREATE = 4;
- /**
- * The instance is down for maintenance.
- *
- * Generated from protobuf enum MAINTENANCE = 5;
- */
- const MAINTENANCE = 5;
- /**
- * The creation of the instance failed or a fatal error occurred during
- * maintenance.
- *
- * Generated from protobuf enum FAILED = 6;
- */
- const FAILED = 6;
- /**
- * Deprecated
- *
- * Generated from protobuf enum ONLINE_MAINTENANCE = 7 [deprecated = true];
- */
- const ONLINE_MAINTENANCE = 7;
-
- private static $valueToName = [
- self::SQL_INSTANCE_STATE_UNSPECIFIED => 'SQL_INSTANCE_STATE_UNSPECIFIED',
- self::RUNNABLE => 'RUNNABLE',
- self::SUSPENDED => 'SUSPENDED',
- self::PENDING_DELETE => 'PENDING_DELETE',
- self::PENDING_CREATE => 'PENDING_CREATE',
- self::MAINTENANCE => 'MAINTENANCE',
- self::FAILED => 'FAILED',
- self::ONLINE_MAINTENANCE => 'ONLINE_MAINTENANCE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlInstanceState::class, \Google\Cloud\Sql\V1beta4\DatabaseInstance_SqlInstanceState::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlNetworkArchitecture.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlNetworkArchitecture.php
deleted file mode 100644
index 39510019b90d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlNetworkArchitecture.php
+++ /dev/null
@@ -1,62 +0,0 @@
-google.cloud.sql.v1beta4.DatabaseInstance.SqlNetworkArchitecture
- */
-class SqlNetworkArchitecture
-{
- /**
- * Generated from protobuf enum SQL_NETWORK_ARCHITECTURE_UNSPECIFIED = 0;
- */
- const SQL_NETWORK_ARCHITECTURE_UNSPECIFIED = 0;
- /**
- * The instance uses the new network architecture.
- *
- * Generated from protobuf enum NEW_NETWORK_ARCHITECTURE = 1;
- */
- const NEW_NETWORK_ARCHITECTURE = 1;
- /**
- * The instance uses the old network architecture.
- *
- * Generated from protobuf enum OLD_NETWORK_ARCHITECTURE = 2;
- */
- const OLD_NETWORK_ARCHITECTURE = 2;
-
- private static $valueToName = [
- self::SQL_NETWORK_ARCHITECTURE_UNSPECIFIED => 'SQL_NETWORK_ARCHITECTURE_UNSPECIFIED',
- self::NEW_NETWORK_ARCHITECTURE => 'NEW_NETWORK_ARCHITECTURE',
- self::OLD_NETWORK_ARCHITECTURE => 'OLD_NETWORK_ARCHITECTURE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlNetworkArchitecture::class, \Google\Cloud\Sql\V1beta4\DatabaseInstance_SqlNetworkArchitecture::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlOutOfDiskReport.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlOutOfDiskReport.php
deleted file mode 100644
index 1e8c43981415..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlOutOfDiskReport.php
+++ /dev/null
@@ -1,160 +0,0 @@
-google.cloud.sql.v1beta4.DatabaseInstance.SqlOutOfDiskReport
- */
-class SqlOutOfDiskReport extends \Google\Protobuf\Internal\Message
-{
- /**
- * This field represents the state generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlOutOfDiskReport.SqlOutOfDiskState sql_out_of_disk_state = 1;
- */
- protected $sql_out_of_disk_state = null;
- /**
- * The minimum recommended increase size in GigaBytes
- * This field is consumed by the frontend
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- *
- * Generated from protobuf field optional int32 sql_min_recommended_increase_size_gb = 2;
- */
- protected $sql_min_recommended_increase_size_gb = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $sql_out_of_disk_state
- * This field represents the state generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- * @type int $sql_min_recommended_increase_size_gb
- * The minimum recommended increase size in GigaBytes
- * This field is consumed by the frontend
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This field represents the state generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlOutOfDiskReport.SqlOutOfDiskState sql_out_of_disk_state = 1;
- * @return int
- */
- public function getSqlOutOfDiskState()
- {
- return isset($this->sql_out_of_disk_state) ? $this->sql_out_of_disk_state : 0;
- }
-
- public function hasSqlOutOfDiskState()
- {
- return isset($this->sql_out_of_disk_state);
- }
-
- public function clearSqlOutOfDiskState()
- {
- unset($this->sql_out_of_disk_state);
- }
-
- /**
- * This field represents the state generated by the proactive database
- * wellness job for OutOfDisk issues.
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- * * the proactive database wellness job
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.DatabaseInstance.SqlOutOfDiskReport.SqlOutOfDiskState sql_out_of_disk_state = 1;
- * @param int $var
- * @return $this
- */
- public function setSqlOutOfDiskState($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\DatabaseInstance\SqlOutOfDiskReport\SqlOutOfDiskState::class);
- $this->sql_out_of_disk_state = $var;
-
- return $this;
- }
-
- /**
- * The minimum recommended increase size in GigaBytes
- * This field is consumed by the frontend
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- *
- * Generated from protobuf field optional int32 sql_min_recommended_increase_size_gb = 2;
- * @return int
- */
- public function getSqlMinRecommendedIncreaseSizeGb()
- {
- return isset($this->sql_min_recommended_increase_size_gb) ? $this->sql_min_recommended_increase_size_gb : 0;
- }
-
- public function hasSqlMinRecommendedIncreaseSizeGb()
- {
- return isset($this->sql_min_recommended_increase_size_gb);
- }
-
- public function clearSqlMinRecommendedIncreaseSizeGb()
- {
- unset($this->sql_min_recommended_increase_size_gb);
- }
-
- /**
- * The minimum recommended increase size in GigaBytes
- * This field is consumed by the frontend
- * * Writers:
- * * the proactive database wellness job for OOD.
- * * Readers:
- *
- * Generated from protobuf field optional int32 sql_min_recommended_increase_size_gb = 2;
- * @param int $var
- * @return $this
- */
- public function setSqlMinRecommendedIncreaseSizeGb($var)
- {
- GPBUtil::checkInt32($var);
- $this->sql_min_recommended_increase_size_gb = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlOutOfDiskReport::class, \Google\Cloud\Sql\V1beta4\DatabaseInstance_SqlOutOfDiskReport::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlOutOfDiskReport/SqlOutOfDiskState.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlOutOfDiskReport/SqlOutOfDiskState.php
deleted file mode 100644
index 86b573dc3c0b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlOutOfDiskReport/SqlOutOfDiskState.php
+++ /dev/null
@@ -1,65 +0,0 @@
-google.cloud.sql.v1beta4.DatabaseInstance.SqlOutOfDiskReport.SqlOutOfDiskState
- */
-class SqlOutOfDiskState
-{
- /**
- * Unspecified state
- *
- * Generated from protobuf enum SQL_OUT_OF_DISK_STATE_UNSPECIFIED = 0;
- */
- const SQL_OUT_OF_DISK_STATE_UNSPECIFIED = 0;
- /**
- * The instance has plenty space on data disk
- *
- * Generated from protobuf enum NORMAL = 1;
- */
- const NORMAL = 1;
- /**
- * Data disk is almost used up. It is shutdown to prevent data
- * corruption.
- *
- * Generated from protobuf enum SOFT_SHUTDOWN = 2;
- */
- const SOFT_SHUTDOWN = 2;
-
- private static $valueToName = [
- self::SQL_OUT_OF_DISK_STATE_UNSPECIFIED => 'SQL_OUT_OF_DISK_STATE_UNSPECIFIED',
- self::NORMAL => 'NORMAL',
- self::SOFT_SHUTDOWN => 'SOFT_SHUTDOWN',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlOutOfDiskState::class, \Google\Cloud\Sql\V1beta4\DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlScheduledMaintenance.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlScheduledMaintenance.php
deleted file mode 100644
index cba44e1034a5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabaseInstance/SqlScheduledMaintenance.php
+++ /dev/null
@@ -1,190 +0,0 @@
-google.cloud.sql.v1beta4.DatabaseInstance.SqlScheduledMaintenance
- */
-class SqlScheduledMaintenance extends \Google\Protobuf\Internal\Message
-{
- /**
- * The start time of any upcoming scheduled maintenance for this instance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
- */
- protected $start_time = null;
- /**
- * Generated from protobuf field bool can_defer = 2 [deprecated = true];
- * @deprecated
- */
- protected $can_defer = false;
- /**
- * If the scheduled maintenance can be rescheduled.
- *
- * Generated from protobuf field bool can_reschedule = 3;
- */
- protected $can_reschedule = false;
- /**
- * Maintenance cannot be rescheduled to start beyond this deadline.
- *
- * Generated from protobuf field optional .google.protobuf.Timestamp schedule_deadline_time = 4;
- */
- protected $schedule_deadline_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Timestamp $start_time
- * The start time of any upcoming scheduled maintenance for this instance.
- * @type bool $can_defer
- * @type bool $can_reschedule
- * If the scheduled maintenance can be rescheduled.
- * @type \Google\Protobuf\Timestamp $schedule_deadline_time
- * Maintenance cannot be rescheduled to start beyond this deadline.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The start time of any upcoming scheduled maintenance for this instance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- public function hasStartTime()
- {
- return isset($this->start_time);
- }
-
- public function clearStartTime()
- {
- unset($this->start_time);
- }
-
- /**
- * The start time of any upcoming scheduled maintenance for this instance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field bool can_defer = 2 [deprecated = true];
- * @return bool
- * @deprecated
- */
- public function getCanDefer()
- {
- @trigger_error('can_defer is deprecated.', E_USER_DEPRECATED);
- return $this->can_defer;
- }
-
- /**
- * Generated from protobuf field bool can_defer = 2 [deprecated = true];
- * @param bool $var
- * @return $this
- * @deprecated
- */
- public function setCanDefer($var)
- {
- @trigger_error('can_defer is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkBool($var);
- $this->can_defer = $var;
-
- return $this;
- }
-
- /**
- * If the scheduled maintenance can be rescheduled.
- *
- * Generated from protobuf field bool can_reschedule = 3;
- * @return bool
- */
- public function getCanReschedule()
- {
- return $this->can_reschedule;
- }
-
- /**
- * If the scheduled maintenance can be rescheduled.
- *
- * Generated from protobuf field bool can_reschedule = 3;
- * @param bool $var
- * @return $this
- */
- public function setCanReschedule($var)
- {
- GPBUtil::checkBool($var);
- $this->can_reschedule = $var;
-
- return $this;
- }
-
- /**
- * Maintenance cannot be rescheduled to start beyond this deadline.
- *
- * Generated from protobuf field optional .google.protobuf.Timestamp schedule_deadline_time = 4;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getScheduleDeadlineTime()
- {
- return $this->schedule_deadline_time;
- }
-
- public function hasScheduleDeadlineTime()
- {
- return isset($this->schedule_deadline_time);
- }
-
- public function clearScheduleDeadlineTime()
- {
- unset($this->schedule_deadline_time);
- }
-
- /**
- * Maintenance cannot be rescheduled to start beyond this deadline.
- *
- * Generated from protobuf field optional .google.protobuf.Timestamp schedule_deadline_time = 4;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setScheduleDeadlineTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->schedule_deadline_time = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlScheduledMaintenance::class, \Google\Cloud\Sql\V1beta4\DatabaseInstance_SqlScheduledMaintenance::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabasesListResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabasesListResponse.php
deleted file mode 100644
index dba79c1d9d80..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DatabasesListResponse.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.DatabasesListResponse
- */
-class DatabasesListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#databasesList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of database resources in the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.Database items = 2;
- */
- private $items;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#databasesList`.
- * @type array<\Google\Cloud\Sql\V1beta4\Database>|\Google\Protobuf\Internal\RepeatedField $items
- * List of database resources in the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#databasesList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#databasesList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of database resources in the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.Database items = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * List of database resources in the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.Database items = 2;
- * @param array<\Google\Cloud\Sql\V1beta4\Database>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\Database::class);
- $this->items = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DemoteContext.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DemoteContext.php
deleted file mode 100644
index e2cc9cfdfa7c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DemoteContext.php
+++ /dev/null
@@ -1,106 +0,0 @@
-google.cloud.sql.v1beta4.DemoteContext
- */
-class DemoteContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#demoteContext`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Required. The name of the instance which acts as an on-premises primary
- * instance in the replication setup.
- *
- * Generated from protobuf field string source_representative_instance_name = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $source_representative_instance_name = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#demoteContext`.
- * @type string $source_representative_instance_name
- * Required. The name of the instance which acts as an on-premises primary
- * instance in the replication setup.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#demoteContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#demoteContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Required. The name of the instance which acts as an on-premises primary
- * instance in the replication setup.
- *
- * Generated from protobuf field string source_representative_instance_name = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getSourceRepresentativeInstanceName()
- {
- return $this->source_representative_instance_name;
- }
-
- /**
- * Required. The name of the instance which acts as an on-premises primary
- * instance in the replication setup.
- *
- * Generated from protobuf field string source_representative_instance_name = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setSourceRepresentativeInstanceName($var)
- {
- GPBUtil::checkString($var, True);
- $this->source_representative_instance_name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DemoteMasterConfiguration.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DemoteMasterConfiguration.php
deleted file mode 100644
index c673d876b592..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DemoteMasterConfiguration.php
+++ /dev/null
@@ -1,132 +0,0 @@
-google.cloud.sql.v1beta4.DemoteMasterConfiguration
- */
-class DemoteMasterConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#demoteMasterConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DemoteMasterMySqlReplicaConfiguration mysql_replica_configuration = 2;
- */
- protected $mysql_replica_configuration = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#demoteMasterConfiguration`.
- * @type \Google\Cloud\Sql\V1beta4\DemoteMasterMySqlReplicaConfiguration $mysql_replica_configuration
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#demoteMasterConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#demoteMasterConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DemoteMasterMySqlReplicaConfiguration mysql_replica_configuration = 2;
- * @return \Google\Cloud\Sql\V1beta4\DemoteMasterMySqlReplicaConfiguration|null
- */
- public function getMysqlReplicaConfiguration()
- {
- return $this->mysql_replica_configuration;
- }
-
- public function hasMysqlReplicaConfiguration()
- {
- return isset($this->mysql_replica_configuration);
- }
-
- public function clearMysqlReplicaConfiguration()
- {
- unset($this->mysql_replica_configuration);
- }
-
- /**
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DemoteMasterMySqlReplicaConfiguration mysql_replica_configuration = 2;
- * @param \Google\Cloud\Sql\V1beta4\DemoteMasterMySqlReplicaConfiguration $var
- * @return $this
- */
- public function setMysqlReplicaConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DemoteMasterMySqlReplicaConfiguration::class);
- $this->mysql_replica_configuration = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DemoteMasterContext.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DemoteMasterContext.php
deleted file mode 100644
index 99aa7ad7ae82..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DemoteMasterContext.php
+++ /dev/null
@@ -1,294 +0,0 @@
-google.cloud.sql.v1beta4.DemoteMasterContext
- */
-class DemoteMasterContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#demoteMasterContext`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Verify the GTID consistency for demote operation. Default value:
- * `True`. Setting this flag to `false` enables you to bypass the GTID
- * consistency check between on-premises primary instance and Cloud SQL
- * instance during the demotion operation but also exposes you to the risk of
- * future replication failures. Change the value only if you know the reason
- * for the GTID divergence and are confident that doing so will not cause any
- * replication issues.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_gtid_consistency = 2;
- */
- protected $verify_gtid_consistency = null;
- /**
- * The name of the instance which will act as on-premises primary instance
- * in the replication setup.
- *
- * Generated from protobuf field string master_instance_name = 3;
- */
- protected $master_instance_name = '';
- /**
- * Configuration specific to read-replicas replicating from the on-premises
- * primary instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DemoteMasterConfiguration replica_configuration = 4;
- */
- protected $replica_configuration = null;
- /**
- * Flag to skip replication setup on the instance.
- *
- * Generated from protobuf field bool skip_replication_setup = 5;
- */
- protected $skip_replication_setup = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#demoteMasterContext`.
- * @type \Google\Protobuf\BoolValue $verify_gtid_consistency
- * Verify the GTID consistency for demote operation. Default value:
- * `True`. Setting this flag to `false` enables you to bypass the GTID
- * consistency check between on-premises primary instance and Cloud SQL
- * instance during the demotion operation but also exposes you to the risk of
- * future replication failures. Change the value only if you know the reason
- * for the GTID divergence and are confident that doing so will not cause any
- * replication issues.
- * @type string $master_instance_name
- * The name of the instance which will act as on-premises primary instance
- * in the replication setup.
- * @type \Google\Cloud\Sql\V1beta4\DemoteMasterConfiguration $replica_configuration
- * Configuration specific to read-replicas replicating from the on-premises
- * primary instance.
- * @type bool $skip_replication_setup
- * Flag to skip replication setup on the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#demoteMasterContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#demoteMasterContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Verify the GTID consistency for demote operation. Default value:
- * `True`. Setting this flag to `false` enables you to bypass the GTID
- * consistency check between on-premises primary instance and Cloud SQL
- * instance during the demotion operation but also exposes you to the risk of
- * future replication failures. Change the value only if you know the reason
- * for the GTID divergence and are confident that doing so will not cause any
- * replication issues.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_gtid_consistency = 2;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getVerifyGtidConsistency()
- {
- return $this->verify_gtid_consistency;
- }
-
- public function hasVerifyGtidConsistency()
- {
- return isset($this->verify_gtid_consistency);
- }
-
- public function clearVerifyGtidConsistency()
- {
- unset($this->verify_gtid_consistency);
- }
-
- /**
- * Returns the unboxed value from getVerifyGtidConsistency()
-
- * Verify the GTID consistency for demote operation. Default value:
- * `True`. Setting this flag to `false` enables you to bypass the GTID
- * consistency check between on-premises primary instance and Cloud SQL
- * instance during the demotion operation but also exposes you to the risk of
- * future replication failures. Change the value only if you know the reason
- * for the GTID divergence and are confident that doing so will not cause any
- * replication issues.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_gtid_consistency = 2;
- * @return bool|null
- */
- public function getVerifyGtidConsistencyUnwrapped()
- {
- return $this->readWrapperValue("verify_gtid_consistency");
- }
-
- /**
- * Verify the GTID consistency for demote operation. Default value:
- * `True`. Setting this flag to `false` enables you to bypass the GTID
- * consistency check between on-premises primary instance and Cloud SQL
- * instance during the demotion operation but also exposes you to the risk of
- * future replication failures. Change the value only if you know the reason
- * for the GTID divergence and are confident that doing so will not cause any
- * replication issues.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_gtid_consistency = 2;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setVerifyGtidConsistency($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->verify_gtid_consistency = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Verify the GTID consistency for demote operation. Default value:
- * `True`. Setting this flag to `false` enables you to bypass the GTID
- * consistency check between on-premises primary instance and Cloud SQL
- * instance during the demotion operation but also exposes you to the risk of
- * future replication failures. Change the value only if you know the reason
- * for the GTID divergence and are confident that doing so will not cause any
- * replication issues.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_gtid_consistency = 2;
- * @param bool|null $var
- * @return $this
- */
- public function setVerifyGtidConsistencyUnwrapped($var)
- {
- $this->writeWrapperValue("verify_gtid_consistency", $var);
- return $this;}
-
- /**
- * The name of the instance which will act as on-premises primary instance
- * in the replication setup.
- *
- * Generated from protobuf field string master_instance_name = 3;
- * @return string
- */
- public function getMasterInstanceName()
- {
- return $this->master_instance_name;
- }
-
- /**
- * The name of the instance which will act as on-premises primary instance
- * in the replication setup.
- *
- * Generated from protobuf field string master_instance_name = 3;
- * @param string $var
- * @return $this
- */
- public function setMasterInstanceName($var)
- {
- GPBUtil::checkString($var, True);
- $this->master_instance_name = $var;
-
- return $this;
- }
-
- /**
- * Configuration specific to read-replicas replicating from the on-premises
- * primary instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DemoteMasterConfiguration replica_configuration = 4;
- * @return \Google\Cloud\Sql\V1beta4\DemoteMasterConfiguration|null
- */
- public function getReplicaConfiguration()
- {
- return $this->replica_configuration;
- }
-
- public function hasReplicaConfiguration()
- {
- return isset($this->replica_configuration);
- }
-
- public function clearReplicaConfiguration()
- {
- unset($this->replica_configuration);
- }
-
- /**
- * Configuration specific to read-replicas replicating from the on-premises
- * primary instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DemoteMasterConfiguration replica_configuration = 4;
- * @param \Google\Cloud\Sql\V1beta4\DemoteMasterConfiguration $var
- * @return $this
- */
- public function setReplicaConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DemoteMasterConfiguration::class);
- $this->replica_configuration = $var;
-
- return $this;
- }
-
- /**
- * Flag to skip replication setup on the instance.
- *
- * Generated from protobuf field bool skip_replication_setup = 5;
- * @return bool
- */
- public function getSkipReplicationSetup()
- {
- return $this->skip_replication_setup;
- }
-
- /**
- * Flag to skip replication setup on the instance.
- *
- * Generated from protobuf field bool skip_replication_setup = 5;
- * @param bool $var
- * @return $this
- */
- public function setSkipReplicationSetup($var)
- {
- GPBUtil::checkBool($var);
- $this->skip_replication_setup = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DemoteMasterMySqlReplicaConfiguration.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DemoteMasterMySqlReplicaConfiguration.php
deleted file mode 100644
index 1aeef5e677c9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DemoteMasterMySqlReplicaConfiguration.php
+++ /dev/null
@@ -1,245 +0,0 @@
-google.cloud.sql.v1beta4.DemoteMasterMySqlReplicaConfiguration
- */
-class DemoteMasterMySqlReplicaConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#demoteMasterMysqlReplicaConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The username for the replication connection.
- *
- * Generated from protobuf field string username = 2;
- */
- protected $username = '';
- /**
- * The password for the replication connection.
- *
- * Generated from protobuf field string password = 3;
- */
- protected $password = '';
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate. The format of the replica's
- * private key can be either PKCS #1 or PKCS #8.
- *
- * Generated from protobuf field string client_key = 4;
- */
- protected $client_key = '';
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 5;
- */
- protected $client_certificate = '';
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 6;
- */
- protected $ca_certificate = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#demoteMasterMysqlReplicaConfiguration`.
- * @type string $username
- * The username for the replication connection.
- * @type string $password
- * The password for the replication connection.
- * @type string $client_key
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate. The format of the replica's
- * private key can be either PKCS #1 or PKCS #8.
- * @type string $client_certificate
- * PEM representation of the replica's x509 certificate.
- * @type string $ca_certificate
- * PEM representation of the trusted CA's x509 certificate.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#demoteMasterMysqlReplicaConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#demoteMasterMysqlReplicaConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The username for the replication connection.
- *
- * Generated from protobuf field string username = 2;
- * @return string
- */
- public function getUsername()
- {
- return $this->username;
- }
-
- /**
- * The username for the replication connection.
- *
- * Generated from protobuf field string username = 2;
- * @param string $var
- * @return $this
- */
- public function setUsername($var)
- {
- GPBUtil::checkString($var, True);
- $this->username = $var;
-
- return $this;
- }
-
- /**
- * The password for the replication connection.
- *
- * Generated from protobuf field string password = 3;
- * @return string
- */
- public function getPassword()
- {
- return $this->password;
- }
-
- /**
- * The password for the replication connection.
- *
- * Generated from protobuf field string password = 3;
- * @param string $var
- * @return $this
- */
- public function setPassword($var)
- {
- GPBUtil::checkString($var, True);
- $this->password = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate. The format of the replica's
- * private key can be either PKCS #1 or PKCS #8.
- *
- * Generated from protobuf field string client_key = 4;
- * @return string
- */
- public function getClientKey()
- {
- return $this->client_key;
- }
-
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate. The format of the replica's
- * private key can be either PKCS #1 or PKCS #8.
- *
- * Generated from protobuf field string client_key = 4;
- * @param string $var
- * @return $this
- */
- public function setClientKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->client_key = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 5;
- * @return string
- */
- public function getClientCertificate()
- {
- return $this->client_certificate;
- }
-
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 5;
- * @param string $var
- * @return $this
- */
- public function setClientCertificate($var)
- {
- GPBUtil::checkString($var, True);
- $this->client_certificate = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 6;
- * @return string
- */
- public function getCaCertificate()
- {
- return $this->ca_certificate;
- }
-
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 6;
- * @param string $var
- * @return $this
- */
- public function setCaCertificate($var)
- {
- GPBUtil::checkString($var, True);
- $this->ca_certificate = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DenyMaintenancePeriod.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DenyMaintenancePeriod.php
deleted file mode 100644
index 28e3ebdb329d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DenyMaintenancePeriod.php
+++ /dev/null
@@ -1,164 +0,0 @@
-google.cloud.sql.v1beta4.DenyMaintenancePeriod
- */
-class DenyMaintenancePeriod extends \Google\Protobuf\Internal\Message
-{
- /**
- * "deny maintenance period" start date. If the year of the start date is
- * empty, the year of the end date also must be empty. In this case, it means
- * the deny maintenance period recurs every year. The date is in format
- * yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- *
- * Generated from protobuf field string start_date = 1;
- */
- protected $start_date = '';
- /**
- * "deny maintenance period" end date. If the year of the end date is empty,
- * the year of the start date also must be empty. In this case, it means the
- * deny maintenance period recurs every year. The date is in format yyyy-mm-dd
- * i.e., 2020-11-01, or mm-dd, i.e., 11-01
- *
- * Generated from protobuf field string end_date = 2;
- */
- protected $end_date = '';
- /**
- * Time in UTC when the "deny maintenance period" starts on start_date and
- * ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
- *
- * Generated from protobuf field string time = 3;
- */
- protected $time = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $start_date
- * "deny maintenance period" start date. If the year of the start date is
- * empty, the year of the end date also must be empty. In this case, it means
- * the deny maintenance period recurs every year. The date is in format
- * yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- * @type string $end_date
- * "deny maintenance period" end date. If the year of the end date is empty,
- * the year of the start date also must be empty. In this case, it means the
- * deny maintenance period recurs every year. The date is in format yyyy-mm-dd
- * i.e., 2020-11-01, or mm-dd, i.e., 11-01
- * @type string $time
- * Time in UTC when the "deny maintenance period" starts on start_date and
- * ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * "deny maintenance period" start date. If the year of the start date is
- * empty, the year of the end date also must be empty. In this case, it means
- * the deny maintenance period recurs every year. The date is in format
- * yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- *
- * Generated from protobuf field string start_date = 1;
- * @return string
- */
- public function getStartDate()
- {
- return $this->start_date;
- }
-
- /**
- * "deny maintenance period" start date. If the year of the start date is
- * empty, the year of the end date also must be empty. In this case, it means
- * the deny maintenance period recurs every year. The date is in format
- * yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- *
- * Generated from protobuf field string start_date = 1;
- * @param string $var
- * @return $this
- */
- public function setStartDate($var)
- {
- GPBUtil::checkString($var, True);
- $this->start_date = $var;
-
- return $this;
- }
-
- /**
- * "deny maintenance period" end date. If the year of the end date is empty,
- * the year of the start date also must be empty. In this case, it means the
- * deny maintenance period recurs every year. The date is in format yyyy-mm-dd
- * i.e., 2020-11-01, or mm-dd, i.e., 11-01
- *
- * Generated from protobuf field string end_date = 2;
- * @return string
- */
- public function getEndDate()
- {
- return $this->end_date;
- }
-
- /**
- * "deny maintenance period" end date. If the year of the end date is empty,
- * the year of the start date also must be empty. In this case, it means the
- * deny maintenance period recurs every year. The date is in format yyyy-mm-dd
- * i.e., 2020-11-01, or mm-dd, i.e., 11-01
- *
- * Generated from protobuf field string end_date = 2;
- * @param string $var
- * @return $this
- */
- public function setEndDate($var)
- {
- GPBUtil::checkString($var, True);
- $this->end_date = $var;
-
- return $this;
- }
-
- /**
- * Time in UTC when the "deny maintenance period" starts on start_date and
- * ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
- *
- * Generated from protobuf field string time = 3;
- * @return string
- */
- public function getTime()
- {
- return $this->time;
- }
-
- /**
- * Time in UTC when the "deny maintenance period" starts on start_date and
- * ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
- *
- * Generated from protobuf field string time = 3;
- * @param string $var
- * @return $this
- */
- public function setTime($var)
- {
- GPBUtil::checkString($var, True);
- $this->time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DiskEncryptionConfiguration.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DiskEncryptionConfiguration.php
deleted file mode 100644
index 175d70be2f14..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DiskEncryptionConfiguration.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.DiskEncryptionConfiguration
- */
-class DiskEncryptionConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * Resource name of KMS key for disk encryption
- *
- * Generated from protobuf field string kms_key_name = 1;
- */
- protected $kms_key_name = '';
- /**
- * This is always `sql#diskEncryptionConfiguration`.
- *
- * Generated from protobuf field string kind = 2;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kms_key_name
- * Resource name of KMS key for disk encryption
- * @type string $kind
- * This is always `sql#diskEncryptionConfiguration`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Resource name of KMS key for disk encryption
- *
- * Generated from protobuf field string kms_key_name = 1;
- * @return string
- */
- public function getKmsKeyName()
- {
- return $this->kms_key_name;
- }
-
- /**
- * Resource name of KMS key for disk encryption
- *
- * Generated from protobuf field string kms_key_name = 1;
- * @param string $var
- * @return $this
- */
- public function setKmsKeyName($var)
- {
- GPBUtil::checkString($var, True);
- $this->kms_key_name = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#diskEncryptionConfiguration`.
- *
- * Generated from protobuf field string kind = 2;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#diskEncryptionConfiguration`.
- *
- * Generated from protobuf field string kind = 2;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DiskEncryptionStatus.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DiskEncryptionStatus.php
deleted file mode 100644
index 668762abc4ab..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/DiskEncryptionStatus.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.DiskEncryptionStatus
- */
-class DiskEncryptionStatus extends \Google\Protobuf\Internal\Message
-{
- /**
- * KMS key version used to encrypt the Cloud SQL instance resource
- *
- * Generated from protobuf field string kms_key_version_name = 1;
- */
- protected $kms_key_version_name = '';
- /**
- * This is always `sql#diskEncryptionStatus`.
- *
- * Generated from protobuf field string kind = 2;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kms_key_version_name
- * KMS key version used to encrypt the Cloud SQL instance resource
- * @type string $kind
- * This is always `sql#diskEncryptionStatus`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * KMS key version used to encrypt the Cloud SQL instance resource
- *
- * Generated from protobuf field string kms_key_version_name = 1;
- * @return string
- */
- public function getKmsKeyVersionName()
- {
- return $this->kms_key_version_name;
- }
-
- /**
- * KMS key version used to encrypt the Cloud SQL instance resource
- *
- * Generated from protobuf field string kms_key_version_name = 1;
- * @param string $var
- * @return $this
- */
- public function setKmsKeyVersionName($var)
- {
- GPBUtil::checkString($var, True);
- $this->kms_key_version_name = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#diskEncryptionStatus`.
- *
- * Generated from protobuf field string kind = 2;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#diskEncryptionStatus`.
- *
- * Generated from protobuf field string kind = 2;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext.php
deleted file mode 100644
index 870fde36941e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext.php
+++ /dev/null
@@ -1,436 +0,0 @@
-google.cloud.sql.v1beta4.ExportContext
- */
-class ExportContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * The path to the file in Google Cloud Storage where the export will be
- * stored. The URI is in the form `gs://bucketName/fileName`. If the file
- * already exists, the request succeeds, but the operation fails. If
- * `fileType` is `SQL` and the filename ends with .gz,
- * the contents are compressed.
- *
- * Generated from protobuf field string uri = 1;
- */
- protected $uri = '';
- /**
- * Databases to be exported.
`MySQL instances:` If
- * `fileType` is `SQL` and no database is specified, all
- * databases are exported, except for the `mysql` system database.
- * If `fileType` is `CSV`, you can specify one database,
- * either by using this property or by using the
- * `csvExportOptions.selectQuery` property, which takes precedence
- * over this property.
`PostgreSQL instances:` You must specify
- * one database to be exported. If `fileType` is `CSV`,
- * this database must match the one specified in the
- * `csvExportOptions.selectQuery` property.
`SQL Server
- * instances:` You must specify one database to be exported, and the
- * `fileType` must be `BAK`.
- *
- * Generated from protobuf field repeated string databases = 2;
- */
- private $databases;
- /**
- * This is always `sql#exportContext`.
- *
- * Generated from protobuf field string kind = 3;
- */
- protected $kind = '';
- /**
- * Options for exporting data as SQL statements.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext.SqlExportOptions sql_export_options = 4;
- */
- protected $sql_export_options = null;
- /**
- * Options for exporting data as CSV. `MySQL` and `PostgreSQL`
- * instances only.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext.SqlCsvExportOptions csv_export_options = 5;
- */
- protected $csv_export_options = null;
- /**
- * The file type for the specified uri.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlFileType file_type = 6;
- */
- protected $file_type = 0;
- /**
- * Option for export offload.
- *
- * Generated from protobuf field .google.protobuf.BoolValue offload = 8;
- */
- protected $offload = null;
- /**
- * Options for exporting data as BAK files.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext.SqlBakExportOptions bak_export_options = 9;
- */
- protected $bak_export_options = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $uri
- * The path to the file in Google Cloud Storage where the export will be
- * stored. The URI is in the form `gs://bucketName/fileName`. If the file
- * already exists, the request succeeds, but the operation fails. If
- * `fileType` is `SQL` and the filename ends with .gz,
- * the contents are compressed.
- * @type array|\Google\Protobuf\Internal\RepeatedField $databases
- * Databases to be exported.
`MySQL instances:` If
- * `fileType` is `SQL` and no database is specified, all
- * databases are exported, except for the `mysql` system database.
- * If `fileType` is `CSV`, you can specify one database,
- * either by using this property or by using the
- * `csvExportOptions.selectQuery` property, which takes precedence
- * over this property.
`PostgreSQL instances:` You must specify
- * one database to be exported. If `fileType` is `CSV`,
- * this database must match the one specified in the
- * `csvExportOptions.selectQuery` property.
`SQL Server
- * instances:` You must specify one database to be exported, and the
- * `fileType` must be `BAK`.
- * @type string $kind
- * This is always `sql#exportContext`.
- * @type \Google\Cloud\Sql\V1beta4\ExportContext\SqlExportOptions $sql_export_options
- * Options for exporting data as SQL statements.
- * @type \Google\Cloud\Sql\V1beta4\ExportContext\SqlCsvExportOptions $csv_export_options
- * Options for exporting data as CSV. `MySQL` and `PostgreSQL`
- * instances only.
- * @type int $file_type
- * The file type for the specified uri.
- * @type \Google\Protobuf\BoolValue $offload
- * Option for export offload.
- * @type \Google\Cloud\Sql\V1beta4\ExportContext\SqlBakExportOptions $bak_export_options
- * Options for exporting data as BAK files.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The path to the file in Google Cloud Storage where the export will be
- * stored. The URI is in the form `gs://bucketName/fileName`. If the file
- * already exists, the request succeeds, but the operation fails. If
- * `fileType` is `SQL` and the filename ends with .gz,
- * the contents are compressed.
- *
- * Generated from protobuf field string uri = 1;
- * @return string
- */
- public function getUri()
- {
- return $this->uri;
- }
-
- /**
- * The path to the file in Google Cloud Storage where the export will be
- * stored. The URI is in the form `gs://bucketName/fileName`. If the file
- * already exists, the request succeeds, but the operation fails. If
- * `fileType` is `SQL` and the filename ends with .gz,
- * the contents are compressed.
- *
- * Generated from protobuf field string uri = 1;
- * @param string $var
- * @return $this
- */
- public function setUri($var)
- {
- GPBUtil::checkString($var, True);
- $this->uri = $var;
-
- return $this;
- }
-
- /**
- * Databases to be exported.
`MySQL instances:` If
- * `fileType` is `SQL` and no database is specified, all
- * databases are exported, except for the `mysql` system database.
- * If `fileType` is `CSV`, you can specify one database,
- * either by using this property or by using the
- * `csvExportOptions.selectQuery` property, which takes precedence
- * over this property.
`PostgreSQL instances:` You must specify
- * one database to be exported. If `fileType` is `CSV`,
- * this database must match the one specified in the
- * `csvExportOptions.selectQuery` property.
`SQL Server
- * instances:` You must specify one database to be exported, and the
- * `fileType` must be `BAK`.
- *
- * Generated from protobuf field repeated string databases = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDatabases()
- {
- return $this->databases;
- }
-
- /**
- * Databases to be exported.
`MySQL instances:` If
- * `fileType` is `SQL` and no database is specified, all
- * databases are exported, except for the `mysql` system database.
- * If `fileType` is `CSV`, you can specify one database,
- * either by using this property or by using the
- * `csvExportOptions.selectQuery` property, which takes precedence
- * over this property.
`PostgreSQL instances:` You must specify
- * one database to be exported. If `fileType` is `CSV`,
- * this database must match the one specified in the
- * `csvExportOptions.selectQuery` property.
`SQL Server
- * instances:` You must specify one database to be exported, and the
- * `fileType` must be `BAK`.
- *
- * Generated from protobuf field repeated string databases = 2;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setDatabases($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->databases = $arr;
-
- return $this;
- }
-
- /**
- * This is always `sql#exportContext`.
- *
- * Generated from protobuf field string kind = 3;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#exportContext`.
- *
- * Generated from protobuf field string kind = 3;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Options for exporting data as SQL statements.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext.SqlExportOptions sql_export_options = 4;
- * @return \Google\Cloud\Sql\V1beta4\ExportContext\SqlExportOptions|null
- */
- public function getSqlExportOptions()
- {
- return $this->sql_export_options;
- }
-
- public function hasSqlExportOptions()
- {
- return isset($this->sql_export_options);
- }
-
- public function clearSqlExportOptions()
- {
- unset($this->sql_export_options);
- }
-
- /**
- * Options for exporting data as SQL statements.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext.SqlExportOptions sql_export_options = 4;
- * @param \Google\Cloud\Sql\V1beta4\ExportContext\SqlExportOptions $var
- * @return $this
- */
- public function setSqlExportOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ExportContext\SqlExportOptions::class);
- $this->sql_export_options = $var;
-
- return $this;
- }
-
- /**
- * Options for exporting data as CSV. `MySQL` and `PostgreSQL`
- * instances only.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext.SqlCsvExportOptions csv_export_options = 5;
- * @return \Google\Cloud\Sql\V1beta4\ExportContext\SqlCsvExportOptions|null
- */
- public function getCsvExportOptions()
- {
- return $this->csv_export_options;
- }
-
- public function hasCsvExportOptions()
- {
- return isset($this->csv_export_options);
- }
-
- public function clearCsvExportOptions()
- {
- unset($this->csv_export_options);
- }
-
- /**
- * Options for exporting data as CSV. `MySQL` and `PostgreSQL`
- * instances only.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext.SqlCsvExportOptions csv_export_options = 5;
- * @param \Google\Cloud\Sql\V1beta4\ExportContext\SqlCsvExportOptions $var
- * @return $this
- */
- public function setCsvExportOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ExportContext\SqlCsvExportOptions::class);
- $this->csv_export_options = $var;
-
- return $this;
- }
-
- /**
- * The file type for the specified uri.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlFileType file_type = 6;
- * @return int
- */
- public function getFileType()
- {
- return $this->file_type;
- }
-
- /**
- * The file type for the specified uri.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlFileType file_type = 6;
- * @param int $var
- * @return $this
- */
- public function setFileType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlFileType::class);
- $this->file_type = $var;
-
- return $this;
- }
-
- /**
- * Option for export offload.
- *
- * Generated from protobuf field .google.protobuf.BoolValue offload = 8;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getOffload()
- {
- return $this->offload;
- }
-
- public function hasOffload()
- {
- return isset($this->offload);
- }
-
- public function clearOffload()
- {
- unset($this->offload);
- }
-
- /**
- * Returns the unboxed value from getOffload()
-
- * Option for export offload.
- *
- * Generated from protobuf field .google.protobuf.BoolValue offload = 8;
- * @return bool|null
- */
- public function getOffloadUnwrapped()
- {
- return $this->readWrapperValue("offload");
- }
-
- /**
- * Option for export offload.
- *
- * Generated from protobuf field .google.protobuf.BoolValue offload = 8;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setOffload($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->offload = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Option for export offload.
- *
- * Generated from protobuf field .google.protobuf.BoolValue offload = 8;
- * @param bool|null $var
- * @return $this
- */
- public function setOffloadUnwrapped($var)
- {
- $this->writeWrapperValue("offload", $var);
- return $this;}
-
- /**
- * Options for exporting data as BAK files.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext.SqlBakExportOptions bak_export_options = 9;
- * @return \Google\Cloud\Sql\V1beta4\ExportContext\SqlBakExportOptions|null
- */
- public function getBakExportOptions()
- {
- return $this->bak_export_options;
- }
-
- public function hasBakExportOptions()
- {
- return isset($this->bak_export_options);
- }
-
- public function clearBakExportOptions()
- {
- unset($this->bak_export_options);
- }
-
- /**
- * Options for exporting data as BAK files.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext.SqlBakExportOptions bak_export_options = 9;
- * @param \Google\Cloud\Sql\V1beta4\ExportContext\SqlBakExportOptions $var
- * @return $this
- */
- public function setBakExportOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ExportContext\SqlBakExportOptions::class);
- $this->bak_export_options = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext/SqlBakExportOptions.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext/SqlBakExportOptions.php
deleted file mode 100644
index eb66b55a1362..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext/SqlBakExportOptions.php
+++ /dev/null
@@ -1,380 +0,0 @@
-google.cloud.sql.v1beta4.ExportContext.SqlBakExportOptions
- */
-class SqlBakExportOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * Whether or not the export should be striped.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 1;
- */
- protected $striped = null;
- /**
- * Option for specifying how many stripes to use for the export.
- * If blank, and the value of the striped field is true,
- * the number of stripes is automatically chosen.
- *
- * Generated from protobuf field .google.protobuf.Int32Value stripe_count = 2;
- */
- protected $stripe_count = null;
- /**
- * Type of this bak file will be export, FULL or DIFF, SQL Server only
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BakType bak_type = 4;
- */
- protected $bak_type = 0;
- /**
- * Deprecated: copy_only is deprecated. Use differential_base instead
- *
- * Generated from protobuf field .google.protobuf.BoolValue copy_only = 5 [deprecated = true];
- * @deprecated
- */
- protected $copy_only = null;
- /**
- * Whether or not the backup can be used as a differential base
- * copy_only backup can not be served as differential base
- *
- * Generated from protobuf field .google.protobuf.BoolValue differential_base = 6;
- */
- protected $differential_base = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\BoolValue $striped
- * Whether or not the export should be striped.
- * @type \Google\Protobuf\Int32Value $stripe_count
- * Option for specifying how many stripes to use for the export.
- * If blank, and the value of the striped field is true,
- * the number of stripes is automatically chosen.
- * @type int $bak_type
- * Type of this bak file will be export, FULL or DIFF, SQL Server only
- * @type \Google\Protobuf\BoolValue $copy_only
- * Deprecated: copy_only is deprecated. Use differential_base instead
- * @type \Google\Protobuf\BoolValue $differential_base
- * Whether or not the backup can be used as a differential base
- * copy_only backup can not be served as differential base
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Whether or not the export should be striped.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 1;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getStriped()
- {
- return $this->striped;
- }
-
- public function hasStriped()
- {
- return isset($this->striped);
- }
-
- public function clearStriped()
- {
- unset($this->striped);
- }
-
- /**
- * Returns the unboxed value from getStriped()
-
- * Whether or not the export should be striped.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 1;
- * @return bool|null
- */
- public function getStripedUnwrapped()
- {
- return $this->readWrapperValue("striped");
- }
-
- /**
- * Whether or not the export should be striped.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 1;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setStriped($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->striped = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether or not the export should be striped.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 1;
- * @param bool|null $var
- * @return $this
- */
- public function setStripedUnwrapped($var)
- {
- $this->writeWrapperValue("striped", $var);
- return $this;}
-
- /**
- * Option for specifying how many stripes to use for the export.
- * If blank, and the value of the striped field is true,
- * the number of stripes is automatically chosen.
- *
- * Generated from protobuf field .google.protobuf.Int32Value stripe_count = 2;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getStripeCount()
- {
- return $this->stripe_count;
- }
-
- public function hasStripeCount()
- {
- return isset($this->stripe_count);
- }
-
- public function clearStripeCount()
- {
- unset($this->stripe_count);
- }
-
- /**
- * Returns the unboxed value from getStripeCount()
-
- * Option for specifying how many stripes to use for the export.
- * If blank, and the value of the striped field is true,
- * the number of stripes is automatically chosen.
- *
- * Generated from protobuf field .google.protobuf.Int32Value stripe_count = 2;
- * @return int|null
- */
- public function getStripeCountUnwrapped()
- {
- return $this->readWrapperValue("stripe_count");
- }
-
- /**
- * Option for specifying how many stripes to use for the export.
- * If blank, and the value of the striped field is true,
- * the number of stripes is automatically chosen.
- *
- * Generated from protobuf field .google.protobuf.Int32Value stripe_count = 2;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setStripeCount($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->stripe_count = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Option for specifying how many stripes to use for the export.
- * If blank, and the value of the striped field is true,
- * the number of stripes is automatically chosen.
- *
- * Generated from protobuf field .google.protobuf.Int32Value stripe_count = 2;
- * @param int|null $var
- * @return $this
- */
- public function setStripeCountUnwrapped($var)
- {
- $this->writeWrapperValue("stripe_count", $var);
- return $this;}
-
- /**
- * Type of this bak file will be export, FULL or DIFF, SQL Server only
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BakType bak_type = 4;
- * @return int
- */
- public function getBakType()
- {
- return $this->bak_type;
- }
-
- /**
- * Type of this bak file will be export, FULL or DIFF, SQL Server only
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BakType bak_type = 4;
- * @param int $var
- * @return $this
- */
- public function setBakType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\BakType::class);
- $this->bak_type = $var;
-
- return $this;
- }
-
- /**
- * Deprecated: copy_only is deprecated. Use differential_base instead
- *
- * Generated from protobuf field .google.protobuf.BoolValue copy_only = 5 [deprecated = true];
- * @return \Google\Protobuf\BoolValue|null
- * @deprecated
- */
- public function getCopyOnly()
- {
- @trigger_error('copy_only is deprecated.', E_USER_DEPRECATED);
- return $this->copy_only;
- }
-
- public function hasCopyOnly()
- {
- @trigger_error('copy_only is deprecated.', E_USER_DEPRECATED);
- return isset($this->copy_only);
- }
-
- public function clearCopyOnly()
- {
- @trigger_error('copy_only is deprecated.', E_USER_DEPRECATED);
- unset($this->copy_only);
- }
-
- /**
- * Returns the unboxed value from getCopyOnly()
-
- * Deprecated: copy_only is deprecated. Use differential_base instead
- *
- * Generated from protobuf field .google.protobuf.BoolValue copy_only = 5 [deprecated = true];
- * @return bool|null
- */
- public function getCopyOnlyUnwrapped()
- {
- @trigger_error('copy_only is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("copy_only");
- }
-
- /**
- * Deprecated: copy_only is deprecated. Use differential_base instead
- *
- * Generated from protobuf field .google.protobuf.BoolValue copy_only = 5 [deprecated = true];
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- * @deprecated
- */
- public function setCopyOnly($var)
- {
- @trigger_error('copy_only is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->copy_only = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Deprecated: copy_only is deprecated. Use differential_base instead
- *
- * Generated from protobuf field .google.protobuf.BoolValue copy_only = 5 [deprecated = true];
- * @param bool|null $var
- * @return $this
- */
- public function setCopyOnlyUnwrapped($var)
- {
- $this->writeWrapperValue("copy_only", $var);
- return $this;}
-
- /**
- * Whether or not the backup can be used as a differential base
- * copy_only backup can not be served as differential base
- *
- * Generated from protobuf field .google.protobuf.BoolValue differential_base = 6;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getDifferentialBase()
- {
- return $this->differential_base;
- }
-
- public function hasDifferentialBase()
- {
- return isset($this->differential_base);
- }
-
- public function clearDifferentialBase()
- {
- unset($this->differential_base);
- }
-
- /**
- * Returns the unboxed value from getDifferentialBase()
-
- * Whether or not the backup can be used as a differential base
- * copy_only backup can not be served as differential base
- *
- * Generated from protobuf field .google.protobuf.BoolValue differential_base = 6;
- * @return bool|null
- */
- public function getDifferentialBaseUnwrapped()
- {
- return $this->readWrapperValue("differential_base");
- }
-
- /**
- * Whether or not the backup can be used as a differential base
- * copy_only backup can not be served as differential base
- *
- * Generated from protobuf field .google.protobuf.BoolValue differential_base = 6;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setDifferentialBase($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->differential_base = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether or not the backup can be used as a differential base
- * copy_only backup can not be served as differential base
- *
- * Generated from protobuf field .google.protobuf.BoolValue differential_base = 6;
- * @param bool|null $var
- * @return $this
- */
- public function setDifferentialBaseUnwrapped($var)
- {
- $this->writeWrapperValue("differential_base", $var);
- return $this;}
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlBakExportOptions::class, \Google\Cloud\Sql\V1beta4\ExportContext_SqlBakExportOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext/SqlCsvExportOptions.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext/SqlCsvExportOptions.php
deleted file mode 100644
index db6922d62fce..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext/SqlCsvExportOptions.php
+++ /dev/null
@@ -1,216 +0,0 @@
-google.cloud.sql.v1beta4.ExportContext.SqlCsvExportOptions
- */
-class SqlCsvExportOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * The select query used to extract the data.
- *
- * Generated from protobuf field string select_query = 1;
- */
- protected $select_query = '';
- /**
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- *
- * Generated from protobuf field string escape_character = 2;
- */
- protected $escape_character = '';
- /**
- * Specifies the quoting character to be used when a data value is quoted.
- *
- * Generated from protobuf field string quote_character = 3;
- */
- protected $quote_character = '';
- /**
- * Specifies the character that separates columns within each row (line) of
- * the file.
- *
- * Generated from protobuf field string fields_terminated_by = 4;
- */
- protected $fields_terminated_by = '';
- /**
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- *
- * Generated from protobuf field string lines_terminated_by = 6;
- */
- protected $lines_terminated_by = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $select_query
- * The select query used to extract the data.
- * @type string $escape_character
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- * @type string $quote_character
- * Specifies the quoting character to be used when a data value is quoted.
- * @type string $fields_terminated_by
- * Specifies the character that separates columns within each row (line) of
- * the file.
- * @type string $lines_terminated_by
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The select query used to extract the data.
- *
- * Generated from protobuf field string select_query = 1;
- * @return string
- */
- public function getSelectQuery()
- {
- return $this->select_query;
- }
-
- /**
- * The select query used to extract the data.
- *
- * Generated from protobuf field string select_query = 1;
- * @param string $var
- * @return $this
- */
- public function setSelectQuery($var)
- {
- GPBUtil::checkString($var, True);
- $this->select_query = $var;
-
- return $this;
- }
-
- /**
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- *
- * Generated from protobuf field string escape_character = 2;
- * @return string
- */
- public function getEscapeCharacter()
- {
- return $this->escape_character;
- }
-
- /**
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- *
- * Generated from protobuf field string escape_character = 2;
- * @param string $var
- * @return $this
- */
- public function setEscapeCharacter($var)
- {
- GPBUtil::checkString($var, True);
- $this->escape_character = $var;
-
- return $this;
- }
-
- /**
- * Specifies the quoting character to be used when a data value is quoted.
- *
- * Generated from protobuf field string quote_character = 3;
- * @return string
- */
- public function getQuoteCharacter()
- {
- return $this->quote_character;
- }
-
- /**
- * Specifies the quoting character to be used when a data value is quoted.
- *
- * Generated from protobuf field string quote_character = 3;
- * @param string $var
- * @return $this
- */
- public function setQuoteCharacter($var)
- {
- GPBUtil::checkString($var, True);
- $this->quote_character = $var;
-
- return $this;
- }
-
- /**
- * Specifies the character that separates columns within each row (line) of
- * the file.
- *
- * Generated from protobuf field string fields_terminated_by = 4;
- * @return string
- */
- public function getFieldsTerminatedBy()
- {
- return $this->fields_terminated_by;
- }
-
- /**
- * Specifies the character that separates columns within each row (line) of
- * the file.
- *
- * Generated from protobuf field string fields_terminated_by = 4;
- * @param string $var
- * @return $this
- */
- public function setFieldsTerminatedBy($var)
- {
- GPBUtil::checkString($var, True);
- $this->fields_terminated_by = $var;
-
- return $this;
- }
-
- /**
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- *
- * Generated from protobuf field string lines_terminated_by = 6;
- * @return string
- */
- public function getLinesTerminatedBy()
- {
- return $this->lines_terminated_by;
- }
-
- /**
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- *
- * Generated from protobuf field string lines_terminated_by = 6;
- * @param string $var
- * @return $this
- */
- public function setLinesTerminatedBy($var)
- {
- GPBUtil::checkString($var, True);
- $this->lines_terminated_by = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlCsvExportOptions::class, \Google\Cloud\Sql\V1beta4\ExportContext_SqlCsvExportOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext/SqlExportOptions.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext/SqlExportOptions.php
deleted file mode 100644
index 9f6c1a47b462..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext/SqlExportOptions.php
+++ /dev/null
@@ -1,326 +0,0 @@
-google.cloud.sql.v1beta4.ExportContext.SqlExportOptions
- */
-class SqlExportOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * Tables to export, or that were exported, from the specified database. If
- * you specify tables, specify one and only one database. For PostgreSQL
- * instances, you can specify only one table.
- *
- * Generated from protobuf field repeated string tables = 1;
- */
- private $tables;
- /**
- * Export only schemas.
- *
- * Generated from protobuf field .google.protobuf.BoolValue schema_only = 2;
- */
- protected $schema_only = null;
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext.SqlExportOptions.MysqlExportOptions mysql_export_options = 3;
- */
- protected $mysql_export_options = null;
- /**
- * Optional. The number of threads to use for parallel export.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 4 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $threads = null;
- /**
- * Optional. Whether or not the export should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 5 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $parallel = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array|\Google\Protobuf\Internal\RepeatedField $tables
- * Tables to export, or that were exported, from the specified database. If
- * you specify tables, specify one and only one database. For PostgreSQL
- * instances, you can specify only one table.
- * @type \Google\Protobuf\BoolValue $schema_only
- * Export only schemas.
- * @type \Google\Cloud\Sql\V1beta4\ExportContext\SqlExportOptions\MysqlExportOptions $mysql_export_options
- * @type \Google\Protobuf\Int32Value $threads
- * Optional. The number of threads to use for parallel export.
- * @type \Google\Protobuf\BoolValue $parallel
- * Optional. Whether or not the export should be parallel.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Tables to export, or that were exported, from the specified database. If
- * you specify tables, specify one and only one database. For PostgreSQL
- * instances, you can specify only one table.
- *
- * Generated from protobuf field repeated string tables = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getTables()
- {
- return $this->tables;
- }
-
- /**
- * Tables to export, or that were exported, from the specified database. If
- * you specify tables, specify one and only one database. For PostgreSQL
- * instances, you can specify only one table.
- *
- * Generated from protobuf field repeated string tables = 1;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setTables($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->tables = $arr;
-
- return $this;
- }
-
- /**
- * Export only schemas.
- *
- * Generated from protobuf field .google.protobuf.BoolValue schema_only = 2;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getSchemaOnly()
- {
- return $this->schema_only;
- }
-
- public function hasSchemaOnly()
- {
- return isset($this->schema_only);
- }
-
- public function clearSchemaOnly()
- {
- unset($this->schema_only);
- }
-
- /**
- * Returns the unboxed value from getSchemaOnly()
-
- * Export only schemas.
- *
- * Generated from protobuf field .google.protobuf.BoolValue schema_only = 2;
- * @return bool|null
- */
- public function getSchemaOnlyUnwrapped()
- {
- return $this->readWrapperValue("schema_only");
- }
-
- /**
- * Export only schemas.
- *
- * Generated from protobuf field .google.protobuf.BoolValue schema_only = 2;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setSchemaOnly($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->schema_only = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Export only schemas.
- *
- * Generated from protobuf field .google.protobuf.BoolValue schema_only = 2;
- * @param bool|null $var
- * @return $this
- */
- public function setSchemaOnlyUnwrapped($var)
- {
- $this->writeWrapperValue("schema_only", $var);
- return $this;}
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext.SqlExportOptions.MysqlExportOptions mysql_export_options = 3;
- * @return \Google\Cloud\Sql\V1beta4\ExportContext\SqlExportOptions\MysqlExportOptions|null
- */
- public function getMysqlExportOptions()
- {
- return $this->mysql_export_options;
- }
-
- public function hasMysqlExportOptions()
- {
- return isset($this->mysql_export_options);
- }
-
- public function clearMysqlExportOptions()
- {
- unset($this->mysql_export_options);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext.SqlExportOptions.MysqlExportOptions mysql_export_options = 3;
- * @param \Google\Cloud\Sql\V1beta4\ExportContext\SqlExportOptions\MysqlExportOptions $var
- * @return $this
- */
- public function setMysqlExportOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ExportContext\SqlExportOptions\MysqlExportOptions::class);
- $this->mysql_export_options = $var;
-
- return $this;
- }
-
- /**
- * Optional. The number of threads to use for parallel export.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getThreads()
- {
- return $this->threads;
- }
-
- public function hasThreads()
- {
- return isset($this->threads);
- }
-
- public function clearThreads()
- {
- unset($this->threads);
- }
-
- /**
- * Returns the unboxed value from getThreads()
-
- * Optional. The number of threads to use for parallel export.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return int|null
- */
- public function getThreadsUnwrapped()
- {
- return $this->readWrapperValue("threads");
- }
-
- /**
- * Optional. The number of threads to use for parallel export.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setThreads($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->threads = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Optional. The number of threads to use for parallel export.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param int|null $var
- * @return $this
- */
- public function setThreadsUnwrapped($var)
- {
- $this->writeWrapperValue("threads", $var);
- return $this;}
-
- /**
- * Optional. Whether or not the export should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getParallel()
- {
- return $this->parallel;
- }
-
- public function hasParallel()
- {
- return isset($this->parallel);
- }
-
- public function clearParallel()
- {
- unset($this->parallel);
- }
-
- /**
- * Returns the unboxed value from getParallel()
-
- * Optional. Whether or not the export should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool|null
- */
- public function getParallelUnwrapped()
- {
- return $this->readWrapperValue("parallel");
- }
-
- /**
- * Optional. Whether or not the export should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setParallel($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->parallel = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Optional. Whether or not the export should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool|null $var
- * @return $this
- */
- public function setParallelUnwrapped($var)
- {
- $this->writeWrapperValue("parallel", $var);
- return $this;}
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlExportOptions::class, \Google\Cloud\Sql\V1beta4\ExportContext_SqlExportOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext/SqlExportOptions/MysqlExportOptions.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext/SqlExportOptions/MysqlExportOptions.php
deleted file mode 100644
index 8f3e66f498e5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExportContext/SqlExportOptions/MysqlExportOptions.php
+++ /dev/null
@@ -1,137 +0,0 @@
-google.cloud.sql.v1beta4.ExportContext.SqlExportOptions.MysqlExportOptions
- */
-class MysqlExportOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * Option to include SQL statement required to set up replication. If set
- * to `1`, the dump file includes a CHANGE MASTER TO statement with the
- * binary log coordinates, and --set-gtid-purged is set to ON. If set to
- * `2`, the CHANGE MASTER TO statement is written as a SQL comment and
- * has no effect. If set to any value other than `1`, --set-gtid-purged
- * is set to OFF.
- *
- * Generated from protobuf field .google.protobuf.Int32Value master_data = 1;
- */
- protected $master_data = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Int32Value $master_data
- * Option to include SQL statement required to set up replication. If set
- * to `1`, the dump file includes a CHANGE MASTER TO statement with the
- * binary log coordinates, and --set-gtid-purged is set to ON. If set to
- * `2`, the CHANGE MASTER TO statement is written as a SQL comment and
- * has no effect. If set to any value other than `1`, --set-gtid-purged
- * is set to OFF.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Option to include SQL statement required to set up replication. If set
- * to `1`, the dump file includes a CHANGE MASTER TO statement with the
- * binary log coordinates, and --set-gtid-purged is set to ON. If set to
- * `2`, the CHANGE MASTER TO statement is written as a SQL comment and
- * has no effect. If set to any value other than `1`, --set-gtid-purged
- * is set to OFF.
- *
- * Generated from protobuf field .google.protobuf.Int32Value master_data = 1;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getMasterData()
- {
- return $this->master_data;
- }
-
- public function hasMasterData()
- {
- return isset($this->master_data);
- }
-
- public function clearMasterData()
- {
- unset($this->master_data);
- }
-
- /**
- * Returns the unboxed value from getMasterData()
-
- * Option to include SQL statement required to set up replication. If set
- * to `1`, the dump file includes a CHANGE MASTER TO statement with the
- * binary log coordinates, and --set-gtid-purged is set to ON. If set to
- * `2`, the CHANGE MASTER TO statement is written as a SQL comment and
- * has no effect. If set to any value other than `1`, --set-gtid-purged
- * is set to OFF.
- *
- * Generated from protobuf field .google.protobuf.Int32Value master_data = 1;
- * @return int|null
- */
- public function getMasterDataUnwrapped()
- {
- return $this->readWrapperValue("master_data");
- }
-
- /**
- * Option to include SQL statement required to set up replication. If set
- * to `1`, the dump file includes a CHANGE MASTER TO statement with the
- * binary log coordinates, and --set-gtid-purged is set to ON. If set to
- * `2`, the CHANGE MASTER TO statement is written as a SQL comment and
- * has no effect. If set to any value other than `1`, --set-gtid-purged
- * is set to OFF.
- *
- * Generated from protobuf field .google.protobuf.Int32Value master_data = 1;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setMasterData($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->master_data = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Option to include SQL statement required to set up replication. If set
- * to `1`, the dump file includes a CHANGE MASTER TO statement with the
- * binary log coordinates, and --set-gtid-purged is set to ON. If set to
- * `2`, the CHANGE MASTER TO statement is written as a SQL comment and
- * has no effect. If set to any value other than `1`, --set-gtid-purged
- * is set to OFF.
- *
- * Generated from protobuf field .google.protobuf.Int32Value master_data = 1;
- * @param int|null $var
- * @return $this
- */
- public function setMasterDataUnwrapped($var)
- {
- $this->writeWrapperValue("master_data", $var);
- return $this;}
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(MysqlExportOptions::class, \Google\Cloud\Sql\V1beta4\ExportContext_SqlExportOptions_MysqlExportOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExternalSyncParallelLevel.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExternalSyncParallelLevel.php
deleted file mode 100644
index c357eb91698c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ExternalSyncParallelLevel.php
+++ /dev/null
@@ -1,68 +0,0 @@
-google.cloud.sql.v1beta4.ExternalSyncParallelLevel
- */
-class ExternalSyncParallelLevel
-{
- /**
- * Unknown sync parallel level. Will be defaulted to OPTIMAL.
- *
- * Generated from protobuf enum EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED = 0;
- */
- const EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED = 0;
- /**
- * Minimal parallel level.
- *
- * Generated from protobuf enum MIN = 1;
- */
- const MIN = 1;
- /**
- * Optimal parallel level.
- *
- * Generated from protobuf enum OPTIMAL = 2;
- */
- const OPTIMAL = 2;
- /**
- * Maximum parallel level.
- *
- * Generated from protobuf enum MAX = 3;
- */
- const MAX = 3;
-
- private static $valueToName = [
- self::EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED => 'EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED',
- self::MIN => 'MIN',
- self::OPTIMAL => 'OPTIMAL',
- self::MAX => 'MAX',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/FailoverContext.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/FailoverContext.php
deleted file mode 100644
index 4ea32c63aaaf..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/FailoverContext.php
+++ /dev/null
@@ -1,105 +0,0 @@
-google.cloud.sql.v1beta4.FailoverContext
- */
-class FailoverContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * The current settings version of this instance. Request will be rejected if
- * this version doesn't match the current settings version.
- *
- * Generated from protobuf field int64 settings_version = 1;
- */
- protected $settings_version = 0;
- /**
- * This is always `sql#failoverContext`.
- *
- * Generated from protobuf field string kind = 2;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $settings_version
- * The current settings version of this instance. Request will be rejected if
- * this version doesn't match the current settings version.
- * @type string $kind
- * This is always `sql#failoverContext`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The current settings version of this instance. Request will be rejected if
- * this version doesn't match the current settings version.
- *
- * Generated from protobuf field int64 settings_version = 1;
- * @return int|string
- */
- public function getSettingsVersion()
- {
- return $this->settings_version;
- }
-
- /**
- * The current settings version of this instance. Request will be rejected if
- * this version doesn't match the current settings version.
- *
- * Generated from protobuf field int64 settings_version = 1;
- * @param int|string $var
- * @return $this
- */
- public function setSettingsVersion($var)
- {
- GPBUtil::checkInt64($var);
- $this->settings_version = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#failoverContext`.
- *
- * Generated from protobuf field string kind = 2;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#failoverContext`.
- *
- * Generated from protobuf field string kind = 2;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Flag.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Flag.php
deleted file mode 100644
index ea9e324df1fc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Flag.php
+++ /dev/null
@@ -1,579 +0,0 @@
-google.cloud.sql.v1beta4.Flag
- */
-class Flag extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is the name of the flag. Flag names always use underscores, not
- * hyphens, for example: `max_allowed_packet`
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`,
- * `INTEGER` or `NONE`. `NONE` is used for flags which do not take a
- * value, such as `skip_grant_tables`.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlFlagType type = 2;
- */
- protected $type = 0;
- /**
- * The database version this flag applies to. Can be
- * MySQL instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`,
- * or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11` or `POSTGRES_12`. SQL Server instances:
- * `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`,
- * `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- * See [the complete
- * list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SqlDatabaseVersion applies_to = 3;
- */
- private $applies_to;
- /**
- * For `STRING` flags, a list of strings that the value can be set to.
- *
- * Generated from protobuf field repeated string allowed_string_values = 4;
- */
- private $allowed_string_values;
- /**
- * For `INTEGER` flags, the minimum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value min_value = 5;
- */
- protected $min_value = null;
- /**
- * For `INTEGER` flags, the maximum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_value = 6;
- */
- protected $max_value = null;
- /**
- * Indicates whether changing this flag will trigger a database restart. Only
- * applicable to Second Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue requires_restart = 7;
- */
- protected $requires_restart = null;
- /**
- * This is always `sql#flag`.
- *
- * Generated from protobuf field string kind = 8;
- */
- protected $kind = '';
- /**
- * Whether or not the flag is considered in beta.
- *
- * Generated from protobuf field .google.protobuf.BoolValue in_beta = 9;
- */
- protected $in_beta = null;
- /**
- * Use this field if only certain integers are accepted. Can be combined
- * with min_value and max_value to add additional values.
- *
- * Generated from protobuf field repeated int64 allowed_int_values = 10;
- */
- private $allowed_int_values;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * This is the name of the flag. Flag names always use underscores, not
- * hyphens, for example: `max_allowed_packet`
- * @type int $type
- * The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`,
- * `INTEGER` or `NONE`. `NONE` is used for flags which do not take a
- * value, such as `skip_grant_tables`.
- * @type array|\Google\Protobuf\Internal\RepeatedField $applies_to
- * The database version this flag applies to. Can be
- * MySQL instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`,
- * or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11` or `POSTGRES_12`. SQL Server instances:
- * `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`,
- * `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- * See [the complete
- * list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
- * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_string_values
- * For `STRING` flags, a list of strings that the value can be set to.
- * @type \Google\Protobuf\Int64Value $min_value
- * For `INTEGER` flags, the minimum allowed value.
- * @type \Google\Protobuf\Int64Value $max_value
- * For `INTEGER` flags, the maximum allowed value.
- * @type \Google\Protobuf\BoolValue $requires_restart
- * Indicates whether changing this flag will trigger a database restart. Only
- * applicable to Second Generation instances.
- * @type string $kind
- * This is always `sql#flag`.
- * @type \Google\Protobuf\BoolValue $in_beta
- * Whether or not the flag is considered in beta.
- * @type array|array|\Google\Protobuf\Internal\RepeatedField $allowed_int_values
- * Use this field if only certain integers are accepted. Can be combined
- * with min_value and max_value to add additional values.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is the name of the flag. Flag names always use underscores, not
- * hyphens, for example: `max_allowed_packet`
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * This is the name of the flag. Flag names always use underscores, not
- * hyphens, for example: `max_allowed_packet`
- *
- * Generated from protobuf field string name = 1;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`,
- * `INTEGER` or `NONE`. `NONE` is used for flags which do not take a
- * value, such as `skip_grant_tables`.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlFlagType type = 2;
- * @return int
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`,
- * `INTEGER` or `NONE`. `NONE` is used for flags which do not take a
- * value, such as `skip_grant_tables`.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlFlagType type = 2;
- * @param int $var
- * @return $this
- */
- public function setType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlFlagType::class);
- $this->type = $var;
-
- return $this;
- }
-
- /**
- * The database version this flag applies to. Can be
- * MySQL instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`,
- * or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11` or `POSTGRES_12`. SQL Server instances:
- * `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`,
- * `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- * See [the complete
- * list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SqlDatabaseVersion applies_to = 3;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAppliesTo()
- {
- return $this->applies_to;
- }
-
- /**
- * The database version this flag applies to. Can be
- * MySQL instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`,
- * or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
- * `POSTGRES_11` or `POSTGRES_12`. SQL Server instances:
- * `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`,
- * `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
- * `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
- * `SQLSERVER_2019_WEB`.
- * See [the complete
- * list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SqlDatabaseVersion applies_to = 3;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAppliesTo($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\Sql\V1beta4\SqlDatabaseVersion::class);
- $this->applies_to = $arr;
-
- return $this;
- }
-
- /**
- * For `STRING` flags, a list of strings that the value can be set to.
- *
- * Generated from protobuf field repeated string allowed_string_values = 4;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAllowedStringValues()
- {
- return $this->allowed_string_values;
- }
-
- /**
- * For `STRING` flags, a list of strings that the value can be set to.
- *
- * Generated from protobuf field repeated string allowed_string_values = 4;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAllowedStringValues($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->allowed_string_values = $arr;
-
- return $this;
- }
-
- /**
- * For `INTEGER` flags, the minimum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value min_value = 5;
- * @return \Google\Protobuf\Int64Value|null
- */
- public function getMinValue()
- {
- return $this->min_value;
- }
-
- public function hasMinValue()
- {
- return isset($this->min_value);
- }
-
- public function clearMinValue()
- {
- unset($this->min_value);
- }
-
- /**
- * Returns the unboxed value from getMinValue()
-
- * For `INTEGER` flags, the minimum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value min_value = 5;
- * @return int|string|null
- */
- public function getMinValueUnwrapped()
- {
- return $this->readWrapperValue("min_value");
- }
-
- /**
- * For `INTEGER` flags, the minimum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value min_value = 5;
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- */
- public function setMinValue($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->min_value = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * For `INTEGER` flags, the minimum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value min_value = 5;
- * @param int|string|null $var
- * @return $this
- */
- public function setMinValueUnwrapped($var)
- {
- $this->writeWrapperValue("min_value", $var);
- return $this;}
-
- /**
- * For `INTEGER` flags, the maximum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_value = 6;
- * @return \Google\Protobuf\Int64Value|null
- */
- public function getMaxValue()
- {
- return $this->max_value;
- }
-
- public function hasMaxValue()
- {
- return isset($this->max_value);
- }
-
- public function clearMaxValue()
- {
- unset($this->max_value);
- }
-
- /**
- * Returns the unboxed value from getMaxValue()
-
- * For `INTEGER` flags, the maximum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_value = 6;
- * @return int|string|null
- */
- public function getMaxValueUnwrapped()
- {
- return $this->readWrapperValue("max_value");
- }
-
- /**
- * For `INTEGER` flags, the maximum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_value = 6;
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- */
- public function setMaxValue($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->max_value = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * For `INTEGER` flags, the maximum allowed value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value max_value = 6;
- * @param int|string|null $var
- * @return $this
- */
- public function setMaxValueUnwrapped($var)
- {
- $this->writeWrapperValue("max_value", $var);
- return $this;}
-
- /**
- * Indicates whether changing this flag will trigger a database restart. Only
- * applicable to Second Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue requires_restart = 7;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getRequiresRestart()
- {
- return $this->requires_restart;
- }
-
- public function hasRequiresRestart()
- {
- return isset($this->requires_restart);
- }
-
- public function clearRequiresRestart()
- {
- unset($this->requires_restart);
- }
-
- /**
- * Returns the unboxed value from getRequiresRestart()
-
- * Indicates whether changing this flag will trigger a database restart. Only
- * applicable to Second Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue requires_restart = 7;
- * @return bool|null
- */
- public function getRequiresRestartUnwrapped()
- {
- return $this->readWrapperValue("requires_restart");
- }
-
- /**
- * Indicates whether changing this flag will trigger a database restart. Only
- * applicable to Second Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue requires_restart = 7;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setRequiresRestart($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->requires_restart = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Indicates whether changing this flag will trigger a database restart. Only
- * applicable to Second Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue requires_restart = 7;
- * @param bool|null $var
- * @return $this
- */
- public function setRequiresRestartUnwrapped($var)
- {
- $this->writeWrapperValue("requires_restart", $var);
- return $this;}
-
- /**
- * This is always `sql#flag`.
- *
- * Generated from protobuf field string kind = 8;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#flag`.
- *
- * Generated from protobuf field string kind = 8;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Whether or not the flag is considered in beta.
- *
- * Generated from protobuf field .google.protobuf.BoolValue in_beta = 9;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getInBeta()
- {
- return $this->in_beta;
- }
-
- public function hasInBeta()
- {
- return isset($this->in_beta);
- }
-
- public function clearInBeta()
- {
- unset($this->in_beta);
- }
-
- /**
- * Returns the unboxed value from getInBeta()
-
- * Whether or not the flag is considered in beta.
- *
- * Generated from protobuf field .google.protobuf.BoolValue in_beta = 9;
- * @return bool|null
- */
- public function getInBetaUnwrapped()
- {
- return $this->readWrapperValue("in_beta");
- }
-
- /**
- * Whether or not the flag is considered in beta.
- *
- * Generated from protobuf field .google.protobuf.BoolValue in_beta = 9;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setInBeta($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->in_beta = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether or not the flag is considered in beta.
- *
- * Generated from protobuf field .google.protobuf.BoolValue in_beta = 9;
- * @param bool|null $var
- * @return $this
- */
- public function setInBetaUnwrapped($var)
- {
- $this->writeWrapperValue("in_beta", $var);
- return $this;}
-
- /**
- * Use this field if only certain integers are accepted. Can be combined
- * with min_value and max_value to add additional values.
- *
- * Generated from protobuf field repeated int64 allowed_int_values = 10;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAllowedIntValues()
- {
- return $this->allowed_int_values;
- }
-
- /**
- * Use this field if only certain integers are accepted. Can be combined
- * with min_value and max_value to add additional values.
- *
- * Generated from protobuf field repeated int64 allowed_int_values = 10;
- * @param array|array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAllowedIntValues($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64);
- $this->allowed_int_values = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/FlagsListResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/FlagsListResponse.php
deleted file mode 100644
index 80c97ec84f52..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/FlagsListResponse.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.FlagsListResponse
- */
-class FlagsListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#flagsList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of flags.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.Flag items = 2;
- */
- private $items;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#flagsList`.
- * @type array<\Google\Cloud\Sql\V1beta4\Flag>|\Google\Protobuf\Internal\RepeatedField $items
- * List of flags.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#flagsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#flagsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of flags.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.Flag items = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * List of flags.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.Flag items = 2;
- * @param array<\Google\Cloud\Sql\V1beta4\Flag>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\Flag::class);
- $this->items = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/GeminiInstanceConfig.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/GeminiInstanceConfig.php
deleted file mode 100644
index 87c2c9b9e316..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/GeminiInstanceConfig.php
+++ /dev/null
@@ -1,297 +0,0 @@
-google.cloud.sql.v1beta4.GeminiInstanceConfig
- */
-class GeminiInstanceConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Output only. Whether Gemini is enabled.
- *
- * Generated from protobuf field optional bool entitled = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $entitled = null;
- /**
- * Output only. Whether vacuum management is enabled.
- *
- * Generated from protobuf field optional bool google_vacuum_mgmt_enabled = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $google_vacuum_mgmt_enabled = null;
- /**
- * Output only. Whether oom session cancel is enabled.
- *
- * Generated from protobuf field optional bool oom_session_cancel_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $oom_session_cancel_enabled = null;
- /**
- * Output only. Whether active query is enabled.
- *
- * Generated from protobuf field optional bool active_query_enabled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $active_query_enabled = null;
- /**
- * Output only. Whether index advisor is enabled.
- *
- * Generated from protobuf field optional bool index_advisor_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $index_advisor_enabled = null;
- /**
- * Output only. Whether flag recommender is enabled.
- *
- * Generated from protobuf field optional bool flag_recommender_enabled = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $flag_recommender_enabled = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $entitled
- * Output only. Whether Gemini is enabled.
- * @type bool $google_vacuum_mgmt_enabled
- * Output only. Whether vacuum management is enabled.
- * @type bool $oom_session_cancel_enabled
- * Output only. Whether oom session cancel is enabled.
- * @type bool $active_query_enabled
- * Output only. Whether active query is enabled.
- * @type bool $index_advisor_enabled
- * Output only. Whether index advisor is enabled.
- * @type bool $flag_recommender_enabled
- * Output only. Whether flag recommender is enabled.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Output only. Whether Gemini is enabled.
- *
- * Generated from protobuf field optional bool entitled = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return bool
- */
- public function getEntitled()
- {
- return isset($this->entitled) ? $this->entitled : false;
- }
-
- public function hasEntitled()
- {
- return isset($this->entitled);
- }
-
- public function clearEntitled()
- {
- unset($this->entitled);
- }
-
- /**
- * Output only. Whether Gemini is enabled.
- *
- * Generated from protobuf field optional bool entitled = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param bool $var
- * @return $this
- */
- public function setEntitled($var)
- {
- GPBUtil::checkBool($var);
- $this->entitled = $var;
-
- return $this;
- }
-
- /**
- * Output only. Whether vacuum management is enabled.
- *
- * Generated from protobuf field optional bool google_vacuum_mgmt_enabled = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return bool
- */
- public function getGoogleVacuumMgmtEnabled()
- {
- return isset($this->google_vacuum_mgmt_enabled) ? $this->google_vacuum_mgmt_enabled : false;
- }
-
- public function hasGoogleVacuumMgmtEnabled()
- {
- return isset($this->google_vacuum_mgmt_enabled);
- }
-
- public function clearGoogleVacuumMgmtEnabled()
- {
- unset($this->google_vacuum_mgmt_enabled);
- }
-
- /**
- * Output only. Whether vacuum management is enabled.
- *
- * Generated from protobuf field optional bool google_vacuum_mgmt_enabled = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param bool $var
- * @return $this
- */
- public function setGoogleVacuumMgmtEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->google_vacuum_mgmt_enabled = $var;
-
- return $this;
- }
-
- /**
- * Output only. Whether oom session cancel is enabled.
- *
- * Generated from protobuf field optional bool oom_session_cancel_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return bool
- */
- public function getOomSessionCancelEnabled()
- {
- return isset($this->oom_session_cancel_enabled) ? $this->oom_session_cancel_enabled : false;
- }
-
- public function hasOomSessionCancelEnabled()
- {
- return isset($this->oom_session_cancel_enabled);
- }
-
- public function clearOomSessionCancelEnabled()
- {
- unset($this->oom_session_cancel_enabled);
- }
-
- /**
- * Output only. Whether oom session cancel is enabled.
- *
- * Generated from protobuf field optional bool oom_session_cancel_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param bool $var
- * @return $this
- */
- public function setOomSessionCancelEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->oom_session_cancel_enabled = $var;
-
- return $this;
- }
-
- /**
- * Output only. Whether active query is enabled.
- *
- * Generated from protobuf field optional bool active_query_enabled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return bool
- */
- public function getActiveQueryEnabled()
- {
- return isset($this->active_query_enabled) ? $this->active_query_enabled : false;
- }
-
- public function hasActiveQueryEnabled()
- {
- return isset($this->active_query_enabled);
- }
-
- public function clearActiveQueryEnabled()
- {
- unset($this->active_query_enabled);
- }
-
- /**
- * Output only. Whether active query is enabled.
- *
- * Generated from protobuf field optional bool active_query_enabled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param bool $var
- * @return $this
- */
- public function setActiveQueryEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->active_query_enabled = $var;
-
- return $this;
- }
-
- /**
- * Output only. Whether index advisor is enabled.
- *
- * Generated from protobuf field optional bool index_advisor_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return bool
- */
- public function getIndexAdvisorEnabled()
- {
- return isset($this->index_advisor_enabled) ? $this->index_advisor_enabled : false;
- }
-
- public function hasIndexAdvisorEnabled()
- {
- return isset($this->index_advisor_enabled);
- }
-
- public function clearIndexAdvisorEnabled()
- {
- unset($this->index_advisor_enabled);
- }
-
- /**
- * Output only. Whether index advisor is enabled.
- *
- * Generated from protobuf field optional bool index_advisor_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param bool $var
- * @return $this
- */
- public function setIndexAdvisorEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->index_advisor_enabled = $var;
-
- return $this;
- }
-
- /**
- * Output only. Whether flag recommender is enabled.
- *
- * Generated from protobuf field optional bool flag_recommender_enabled = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return bool
- */
- public function getFlagRecommenderEnabled()
- {
- return isset($this->flag_recommender_enabled) ? $this->flag_recommender_enabled : false;
- }
-
- public function hasFlagRecommenderEnabled()
- {
- return isset($this->flag_recommender_enabled);
- }
-
- public function clearFlagRecommenderEnabled()
- {
- unset($this->flag_recommender_enabled);
- }
-
- /**
- * Output only. Whether flag recommender is enabled.
- *
- * Generated from protobuf field optional bool flag_recommender_enabled = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param bool $var
- * @return $this
- */
- public function setFlagRecommenderEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->flag_recommender_enabled = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/GenerateEphemeralCertRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/GenerateEphemeralCertRequest.php
deleted file mode 100644
index a8b2b17cbab6..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/GenerateEphemeralCertRequest.php
+++ /dev/null
@@ -1,261 +0,0 @@
-google.cloud.sql.v1beta4.GenerateEphemeralCertRequest
- */
-class GenerateEphemeralCertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * PEM encoded public key to include in the signed certificate.
- *
- * Generated from protobuf field string public_key = 3;
- */
- protected $public_key = '';
- /**
- * Optional. Access token to include in the signed certificate.
- *
- * Generated from protobuf field string access_token = 4 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $access_token = '';
- /**
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $read_time = null;
- /**
- * Optional. If set, it will contain the cert valid duration.
- *
- * Generated from protobuf field .google.protobuf.Duration valid_duration = 12 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $valid_duration = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type string $public_key
- * PEM encoded public key to include in the signed certificate.
- * @type string $access_token
- * Optional. Access token to include in the signed certificate.
- * @type \Google\Protobuf\Timestamp $read_time
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- * @type \Google\Protobuf\Duration $valid_duration
- * Optional. If set, it will contain the cert valid duration.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlConnect::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * PEM encoded public key to include in the signed certificate.
- *
- * Generated from protobuf field string public_key = 3;
- * @return string
- */
- public function getPublicKey()
- {
- return $this->public_key;
- }
-
- /**
- * PEM encoded public key to include in the signed certificate.
- *
- * Generated from protobuf field string public_key = 3;
- * @param string $var
- * @return $this
- */
- public function setPublicKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->public_key = $var;
-
- return $this;
- }
-
- /**
- * Optional. Access token to include in the signed certificate.
- *
- * Generated from protobuf field string access_token = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getAccessToken()
- {
- return $this->access_token;
- }
-
- /**
- * Optional. Access token to include in the signed certificate.
- *
- * Generated from protobuf field string access_token = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setAccessToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->access_token = $var;
-
- return $this;
- }
-
- /**
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getReadTime()
- {
- return $this->read_time;
- }
-
- public function hasReadTime()
- {
- return isset($this->read_time);
- }
-
- public function clearReadTime()
- {
- unset($this->read_time);
- }
-
- /**
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setReadTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->read_time = $var;
-
- return $this;
- }
-
- /**
- * Optional. If set, it will contain the cert valid duration.
- *
- * Generated from protobuf field .google.protobuf.Duration valid_duration = 12 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Duration|null
- */
- public function getValidDuration()
- {
- return $this->valid_duration;
- }
-
- public function hasValidDuration()
- {
- return isset($this->valid_duration);
- }
-
- public function clearValidDuration()
- {
- unset($this->valid_duration);
- }
-
- /**
- * Optional. If set, it will contain the cert valid duration.
- *
- * Generated from protobuf field .google.protobuf.Duration valid_duration = 12 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setValidDuration($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->valid_duration = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/GenerateEphemeralCertResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/GenerateEphemeralCertResponse.php
deleted file mode 100644
index aaae185674fc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/GenerateEphemeralCertResponse.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1beta4.GenerateEphemeralCertResponse
- */
-class GenerateEphemeralCertResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated cert
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert ephemeral_cert = 1;
- */
- protected $ephemeral_cert = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\SslCert $ephemeral_cert
- * Generated cert
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlConnect::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated cert
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert ephemeral_cert = 1;
- * @return \Google\Cloud\Sql\V1beta4\SslCert|null
- */
- public function getEphemeralCert()
- {
- return $this->ephemeral_cert;
- }
-
- public function hasEphemeralCert()
- {
- return isset($this->ephemeral_cert);
- }
-
- public function clearEphemeralCert()
- {
- unset($this->ephemeral_cert);
- }
-
- /**
- * Generated cert
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert ephemeral_cert = 1;
- * @param \Google\Cloud\Sql\V1beta4\SslCert $var
- * @return $this
- */
- public function setEphemeralCert($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\SslCert::class);
- $this->ephemeral_cert = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/GetConnectSettingsRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/GetConnectSettingsRequest.php
deleted file mode 100644
index b8e15c6fc8ae..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/GetConnectSettingsRequest.php
+++ /dev/null
@@ -1,149 +0,0 @@
-google.cloud.sql.v1beta4.GetConnectSettingsRequest
- */
-class GetConnectSettingsRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $read_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Protobuf\Timestamp $read_time
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlConnect::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getReadTime()
- {
- return $this->read_time;
- }
-
- public function hasReadTime()
- {
- return isset($this->read_time);
- }
-
- public function clearReadTime()
- {
- unset($this->read_time);
- }
-
- /**
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setReadTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->read_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext.php
deleted file mode 100644
index e8b2059b8265..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext.php
+++ /dev/null
@@ -1,371 +0,0 @@
-google.cloud.sql.v1beta4.ImportContext
- */
-class ImportContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * Path to the import file in Cloud Storage, in the form
- * `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported
- * when `fileType` is `SQL`. The instance must have
- * write permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string uri = 1;
- */
- protected $uri = '';
- /**
- * The target database for the import. If `fileType` is `SQL`, this field
- * is required only if the import file does not specify a database, and is
- * overridden by any database specification in the import file. If
- * `fileType` is `CSV`, one database must be specified.
- *
- * Generated from protobuf field string database = 2;
- */
- protected $database = '';
- /**
- * This is always `sql#importContext`.
- *
- * Generated from protobuf field string kind = 3;
- */
- protected $kind = '';
- /**
- * The file type for the specified uri.
- * * `SQL`: The file contains SQL statements.
- * * `CSV`: The file contains CSV data.
- * * `BAK`: The file contains backup data for a SQL Server instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlFileType file_type = 4;
- */
- protected $file_type = 0;
- /**
- * Options for importing data as CSV.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext.SqlCsvImportOptions csv_import_options = 5;
- */
- protected $csv_import_options = null;
- /**
- * The PostgreSQL user for this import operation. PostgreSQL instances only.
- *
- * Generated from protobuf field string import_user = 6;
- */
- protected $import_user = '';
- /**
- * Import parameters specific to SQL Server .BAK files
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext.SqlBakImportOptions bak_import_options = 7;
- */
- protected $bak_import_options = null;
- /**
- * Optional. Options for importing data from SQL statements.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext.SqlImportOptions sql_import_options = 8 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $sql_import_options = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $uri
- * Path to the import file in Cloud Storage, in the form
- * `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported
- * when `fileType` is `SQL`. The instance must have
- * write permissions to the bucket and read access to the file.
- * @type string $database
- * The target database for the import. If `fileType` is `SQL`, this field
- * is required only if the import file does not specify a database, and is
- * overridden by any database specification in the import file. If
- * `fileType` is `CSV`, one database must be specified.
- * @type string $kind
- * This is always `sql#importContext`.
- * @type int $file_type
- * The file type for the specified uri.
- * * `SQL`: The file contains SQL statements.
- * * `CSV`: The file contains CSV data.
- * * `BAK`: The file contains backup data for a SQL Server instance.
- * @type \Google\Cloud\Sql\V1beta4\ImportContext\SqlCsvImportOptions $csv_import_options
- * Options for importing data as CSV.
- * @type string $import_user
- * The PostgreSQL user for this import operation. PostgreSQL instances only.
- * @type \Google\Cloud\Sql\V1beta4\ImportContext\SqlBakImportOptions $bak_import_options
- * Import parameters specific to SQL Server .BAK files
- * @type \Google\Cloud\Sql\V1beta4\ImportContext\SqlImportOptions $sql_import_options
- * Optional. Options for importing data from SQL statements.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Path to the import file in Cloud Storage, in the form
- * `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported
- * when `fileType` is `SQL`. The instance must have
- * write permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string uri = 1;
- * @return string
- */
- public function getUri()
- {
- return $this->uri;
- }
-
- /**
- * Path to the import file in Cloud Storage, in the form
- * `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported
- * when `fileType` is `SQL`. The instance must have
- * write permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string uri = 1;
- * @param string $var
- * @return $this
- */
- public function setUri($var)
- {
- GPBUtil::checkString($var, True);
- $this->uri = $var;
-
- return $this;
- }
-
- /**
- * The target database for the import. If `fileType` is `SQL`, this field
- * is required only if the import file does not specify a database, and is
- * overridden by any database specification in the import file. If
- * `fileType` is `CSV`, one database must be specified.
- *
- * Generated from protobuf field string database = 2;
- * @return string
- */
- public function getDatabase()
- {
- return $this->database;
- }
-
- /**
- * The target database for the import. If `fileType` is `SQL`, this field
- * is required only if the import file does not specify a database, and is
- * overridden by any database specification in the import file. If
- * `fileType` is `CSV`, one database must be specified.
- *
- * Generated from protobuf field string database = 2;
- * @param string $var
- * @return $this
- */
- public function setDatabase($var)
- {
- GPBUtil::checkString($var, True);
- $this->database = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#importContext`.
- *
- * Generated from protobuf field string kind = 3;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#importContext`.
- *
- * Generated from protobuf field string kind = 3;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The file type for the specified uri.
- * * `SQL`: The file contains SQL statements.
- * * `CSV`: The file contains CSV data.
- * * `BAK`: The file contains backup data for a SQL Server instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlFileType file_type = 4;
- * @return int
- */
- public function getFileType()
- {
- return $this->file_type;
- }
-
- /**
- * The file type for the specified uri.
- * * `SQL`: The file contains SQL statements.
- * * `CSV`: The file contains CSV data.
- * * `BAK`: The file contains backup data for a SQL Server instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlFileType file_type = 4;
- * @param int $var
- * @return $this
- */
- public function setFileType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlFileType::class);
- $this->file_type = $var;
-
- return $this;
- }
-
- /**
- * Options for importing data as CSV.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext.SqlCsvImportOptions csv_import_options = 5;
- * @return \Google\Cloud\Sql\V1beta4\ImportContext\SqlCsvImportOptions|null
- */
- public function getCsvImportOptions()
- {
- return $this->csv_import_options;
- }
-
- public function hasCsvImportOptions()
- {
- return isset($this->csv_import_options);
- }
-
- public function clearCsvImportOptions()
- {
- unset($this->csv_import_options);
- }
-
- /**
- * Options for importing data as CSV.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext.SqlCsvImportOptions csv_import_options = 5;
- * @param \Google\Cloud\Sql\V1beta4\ImportContext\SqlCsvImportOptions $var
- * @return $this
- */
- public function setCsvImportOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ImportContext\SqlCsvImportOptions::class);
- $this->csv_import_options = $var;
-
- return $this;
- }
-
- /**
- * The PostgreSQL user for this import operation. PostgreSQL instances only.
- *
- * Generated from protobuf field string import_user = 6;
- * @return string
- */
- public function getImportUser()
- {
- return $this->import_user;
- }
-
- /**
- * The PostgreSQL user for this import operation. PostgreSQL instances only.
- *
- * Generated from protobuf field string import_user = 6;
- * @param string $var
- * @return $this
- */
- public function setImportUser($var)
- {
- GPBUtil::checkString($var, True);
- $this->import_user = $var;
-
- return $this;
- }
-
- /**
- * Import parameters specific to SQL Server .BAK files
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext.SqlBakImportOptions bak_import_options = 7;
- * @return \Google\Cloud\Sql\V1beta4\ImportContext\SqlBakImportOptions|null
- */
- public function getBakImportOptions()
- {
- return $this->bak_import_options;
- }
-
- public function hasBakImportOptions()
- {
- return isset($this->bak_import_options);
- }
-
- public function clearBakImportOptions()
- {
- unset($this->bak_import_options);
- }
-
- /**
- * Import parameters specific to SQL Server .BAK files
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext.SqlBakImportOptions bak_import_options = 7;
- * @param \Google\Cloud\Sql\V1beta4\ImportContext\SqlBakImportOptions $var
- * @return $this
- */
- public function setBakImportOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ImportContext\SqlBakImportOptions::class);
- $this->bak_import_options = $var;
-
- return $this;
- }
-
- /**
- * Optional. Options for importing data from SQL statements.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext.SqlImportOptions sql_import_options = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Cloud\Sql\V1beta4\ImportContext\SqlImportOptions|null
- */
- public function getSqlImportOptions()
- {
- return $this->sql_import_options;
- }
-
- public function hasSqlImportOptions()
- {
- return isset($this->sql_import_options);
- }
-
- public function clearSqlImportOptions()
- {
- unset($this->sql_import_options);
- }
-
- /**
- * Optional. Options for importing data from SQL statements.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext.SqlImportOptions sql_import_options = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Cloud\Sql\V1beta4\ImportContext\SqlImportOptions $var
- * @return $this
- */
- public function setSqlImportOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ImportContext\SqlImportOptions::class);
- $this->sql_import_options = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext/SqlBakImportOptions.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext/SqlBakImportOptions.php
deleted file mode 100644
index 6e8abc3342db..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext/SqlBakImportOptions.php
+++ /dev/null
@@ -1,452 +0,0 @@
-google.cloud.sql.v1beta4.ImportContext.SqlBakImportOptions
- */
-class SqlBakImportOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext.SqlBakImportOptions.EncryptionOptions encryption_options = 1;
- */
- protected $encryption_options = null;
- /**
- * Whether or not the backup set being restored is striped.
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 2;
- */
- protected $striped = null;
- /**
- * Whether or not the backup importing will restore database
- * with NORECOVERY option
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue no_recovery = 4;
- */
- protected $no_recovery = null;
- /**
- * Whether or not the backup importing request will just bring database
- * online without downloading Bak content only one of "no_recovery" and
- * "recovery_only" can be true otherwise error will return. Applies only to
- * Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue recovery_only = 5;
- */
- protected $recovery_only = null;
- /**
- * Type of the bak content, FULL or DIFF.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BakType bak_type = 6;
- */
- protected $bak_type = 0;
- /**
- * Optional. The timestamp when the import should stop. This timestamp is in
- * the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example,
- * `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT
- * keyword and applies to Cloud SQL for SQL Server only.
- *
- * Generated from protobuf field .google.protobuf.Timestamp stop_at = 7 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $stop_at = null;
- /**
- * Optional. The marked transaction where the import should stop. This field
- * is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL
- * Server only.
- *
- * Generated from protobuf field string stop_at_mark = 8 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $stop_at_mark = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\ImportContext\SqlBakImportOptions\EncryptionOptions $encryption_options
- * @type \Google\Protobuf\BoolValue $striped
- * Whether or not the backup set being restored is striped.
- * Applies only to Cloud SQL for SQL Server.
- * @type \Google\Protobuf\BoolValue $no_recovery
- * Whether or not the backup importing will restore database
- * with NORECOVERY option
- * Applies only to Cloud SQL for SQL Server.
- * @type \Google\Protobuf\BoolValue $recovery_only
- * Whether or not the backup importing request will just bring database
- * online without downloading Bak content only one of "no_recovery" and
- * "recovery_only" can be true otherwise error will return. Applies only to
- * Cloud SQL for SQL Server.
- * @type int $bak_type
- * Type of the bak content, FULL or DIFF.
- * @type \Google\Protobuf\Timestamp $stop_at
- * Optional. The timestamp when the import should stop. This timestamp is in
- * the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example,
- * `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT
- * keyword and applies to Cloud SQL for SQL Server only.
- * @type string $stop_at_mark
- * Optional. The marked transaction where the import should stop. This field
- * is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL
- * Server only.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext.SqlBakImportOptions.EncryptionOptions encryption_options = 1;
- * @return \Google\Cloud\Sql\V1beta4\ImportContext\SqlBakImportOptions\EncryptionOptions|null
- */
- public function getEncryptionOptions()
- {
- return $this->encryption_options;
- }
-
- public function hasEncryptionOptions()
- {
- return isset($this->encryption_options);
- }
-
- public function clearEncryptionOptions()
- {
- unset($this->encryption_options);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext.SqlBakImportOptions.EncryptionOptions encryption_options = 1;
- * @param \Google\Cloud\Sql\V1beta4\ImportContext\SqlBakImportOptions\EncryptionOptions $var
- * @return $this
- */
- public function setEncryptionOptions($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ImportContext\SqlBakImportOptions\EncryptionOptions::class);
- $this->encryption_options = $var;
-
- return $this;
- }
-
- /**
- * Whether or not the backup set being restored is striped.
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 2;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getStriped()
- {
- return $this->striped;
- }
-
- public function hasStriped()
- {
- return isset($this->striped);
- }
-
- public function clearStriped()
- {
- unset($this->striped);
- }
-
- /**
- * Returns the unboxed value from getStriped()
-
- * Whether or not the backup set being restored is striped.
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 2;
- * @return bool|null
- */
- public function getStripedUnwrapped()
- {
- return $this->readWrapperValue("striped");
- }
-
- /**
- * Whether or not the backup set being restored is striped.
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 2;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setStriped($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->striped = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether or not the backup set being restored is striped.
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue striped = 2;
- * @param bool|null $var
- * @return $this
- */
- public function setStripedUnwrapped($var)
- {
- $this->writeWrapperValue("striped", $var);
- return $this;}
-
- /**
- * Whether or not the backup importing will restore database
- * with NORECOVERY option
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue no_recovery = 4;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getNoRecovery()
- {
- return $this->no_recovery;
- }
-
- public function hasNoRecovery()
- {
- return isset($this->no_recovery);
- }
-
- public function clearNoRecovery()
- {
- unset($this->no_recovery);
- }
-
- /**
- * Returns the unboxed value from getNoRecovery()
-
- * Whether or not the backup importing will restore database
- * with NORECOVERY option
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue no_recovery = 4;
- * @return bool|null
- */
- public function getNoRecoveryUnwrapped()
- {
- return $this->readWrapperValue("no_recovery");
- }
-
- /**
- * Whether or not the backup importing will restore database
- * with NORECOVERY option
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue no_recovery = 4;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setNoRecovery($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->no_recovery = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether or not the backup importing will restore database
- * with NORECOVERY option
- * Applies only to Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue no_recovery = 4;
- * @param bool|null $var
- * @return $this
- */
- public function setNoRecoveryUnwrapped($var)
- {
- $this->writeWrapperValue("no_recovery", $var);
- return $this;}
-
- /**
- * Whether or not the backup importing request will just bring database
- * online without downloading Bak content only one of "no_recovery" and
- * "recovery_only" can be true otherwise error will return. Applies only to
- * Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue recovery_only = 5;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getRecoveryOnly()
- {
- return $this->recovery_only;
- }
-
- public function hasRecoveryOnly()
- {
- return isset($this->recovery_only);
- }
-
- public function clearRecoveryOnly()
- {
- unset($this->recovery_only);
- }
-
- /**
- * Returns the unboxed value from getRecoveryOnly()
-
- * Whether or not the backup importing request will just bring database
- * online without downloading Bak content only one of "no_recovery" and
- * "recovery_only" can be true otherwise error will return. Applies only to
- * Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue recovery_only = 5;
- * @return bool|null
- */
- public function getRecoveryOnlyUnwrapped()
- {
- return $this->readWrapperValue("recovery_only");
- }
-
- /**
- * Whether or not the backup importing request will just bring database
- * online without downloading Bak content only one of "no_recovery" and
- * "recovery_only" can be true otherwise error will return. Applies only to
- * Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue recovery_only = 5;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setRecoveryOnly($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->recovery_only = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether or not the backup importing request will just bring database
- * online without downloading Bak content only one of "no_recovery" and
- * "recovery_only" can be true otherwise error will return. Applies only to
- * Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.protobuf.BoolValue recovery_only = 5;
- * @param bool|null $var
- * @return $this
- */
- public function setRecoveryOnlyUnwrapped($var)
- {
- $this->writeWrapperValue("recovery_only", $var);
- return $this;}
-
- /**
- * Type of the bak content, FULL or DIFF.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BakType bak_type = 6;
- * @return int
- */
- public function getBakType()
- {
- return $this->bak_type;
- }
-
- /**
- * Type of the bak content, FULL or DIFF.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BakType bak_type = 6;
- * @param int $var
- * @return $this
- */
- public function setBakType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\BakType::class);
- $this->bak_type = $var;
-
- return $this;
- }
-
- /**
- * Optional. The timestamp when the import should stop. This timestamp is in
- * the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example,
- * `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT
- * keyword and applies to Cloud SQL for SQL Server only.
- *
- * Generated from protobuf field .google.protobuf.Timestamp stop_at = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStopAt()
- {
- return $this->stop_at;
- }
-
- public function hasStopAt()
- {
- return isset($this->stop_at);
- }
-
- public function clearStopAt()
- {
- unset($this->stop_at);
- }
-
- /**
- * Optional. The timestamp when the import should stop. This timestamp is in
- * the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example,
- * `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT
- * keyword and applies to Cloud SQL for SQL Server only.
- *
- * Generated from protobuf field .google.protobuf.Timestamp stop_at = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStopAt($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->stop_at = $var;
-
- return $this;
- }
-
- /**
- * Optional. The marked transaction where the import should stop. This field
- * is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL
- * Server only.
- *
- * Generated from protobuf field string stop_at_mark = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getStopAtMark()
- {
- return $this->stop_at_mark;
- }
-
- /**
- * Optional. The marked transaction where the import should stop. This field
- * is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL
- * Server only.
- *
- * Generated from protobuf field string stop_at_mark = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setStopAtMark($var)
- {
- GPBUtil::checkString($var, True);
- $this->stop_at_mark = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlBakImportOptions::class, \Google\Cloud\Sql\V1beta4\ImportContext_SqlBakImportOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext/SqlBakImportOptions/EncryptionOptions.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext/SqlBakImportOptions/EncryptionOptions.php
deleted file mode 100644
index 7f84c37d517b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext/SqlBakImportOptions/EncryptionOptions.php
+++ /dev/null
@@ -1,152 +0,0 @@
-google.cloud.sql.v1beta4.ImportContext.SqlBakImportOptions.EncryptionOptions
- */
-class EncryptionOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * Path to the Certificate (.cer) in Cloud Storage, in the form
- * `gs://bucketName/fileName`. The instance must have write permissions
- * to the bucket and read access to the file.
- *
- * Generated from protobuf field string cert_path = 1;
- */
- protected $cert_path = '';
- /**
- * Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
- * form `gs://bucketName/fileName`. The instance must have write
- * permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string pvk_path = 2;
- */
- protected $pvk_path = '';
- /**
- * Password that encrypts the private key
- *
- * Generated from protobuf field string pvk_password = 3;
- */
- protected $pvk_password = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $cert_path
- * Path to the Certificate (.cer) in Cloud Storage, in the form
- * `gs://bucketName/fileName`. The instance must have write permissions
- * to the bucket and read access to the file.
- * @type string $pvk_path
- * Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
- * form `gs://bucketName/fileName`. The instance must have write
- * permissions to the bucket and read access to the file.
- * @type string $pvk_password
- * Password that encrypts the private key
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Path to the Certificate (.cer) in Cloud Storage, in the form
- * `gs://bucketName/fileName`. The instance must have write permissions
- * to the bucket and read access to the file.
- *
- * Generated from protobuf field string cert_path = 1;
- * @return string
- */
- public function getCertPath()
- {
- return $this->cert_path;
- }
-
- /**
- * Path to the Certificate (.cer) in Cloud Storage, in the form
- * `gs://bucketName/fileName`. The instance must have write permissions
- * to the bucket and read access to the file.
- *
- * Generated from protobuf field string cert_path = 1;
- * @param string $var
- * @return $this
- */
- public function setCertPath($var)
- {
- GPBUtil::checkString($var, True);
- $this->cert_path = $var;
-
- return $this;
- }
-
- /**
- * Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
- * form `gs://bucketName/fileName`. The instance must have write
- * permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string pvk_path = 2;
- * @return string
- */
- public function getPvkPath()
- {
- return $this->pvk_path;
- }
-
- /**
- * Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
- * form `gs://bucketName/fileName`. The instance must have write
- * permissions to the bucket and read access to the file.
- *
- * Generated from protobuf field string pvk_path = 2;
- * @param string $var
- * @return $this
- */
- public function setPvkPath($var)
- {
- GPBUtil::checkString($var, True);
- $this->pvk_path = $var;
-
- return $this;
- }
-
- /**
- * Password that encrypts the private key
- *
- * Generated from protobuf field string pvk_password = 3;
- * @return string
- */
- public function getPvkPassword()
- {
- return $this->pvk_password;
- }
-
- /**
- * Password that encrypts the private key
- *
- * Generated from protobuf field string pvk_password = 3;
- * @param string $var
- * @return $this
- */
- public function setPvkPassword($var)
- {
- GPBUtil::checkString($var, True);
- $this->pvk_password = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(EncryptionOptions::class, \Google\Cloud\Sql\V1beta4\ImportContext_SqlBakImportOptions_EncryptionOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext/SqlCsvImportOptions.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext/SqlCsvImportOptions.php
deleted file mode 100644
index 41631ec69573..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext/SqlCsvImportOptions.php
+++ /dev/null
@@ -1,254 +0,0 @@
-google.cloud.sql.v1beta4.ImportContext.SqlCsvImportOptions
- */
-class SqlCsvImportOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * The table to which CSV data is imported.
- *
- * Generated from protobuf field string table = 1;
- */
- protected $table = '';
- /**
- * The columns to which CSV data is imported. If not specified, all columns
- * of the database table are loaded with CSV data.
- *
- * Generated from protobuf field repeated string columns = 2;
- */
- private $columns;
- /**
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- *
- * Generated from protobuf field string escape_character = 4;
- */
- protected $escape_character = '';
- /**
- * Specifies the quoting character to be used when a data value is quoted.
- *
- * Generated from protobuf field string quote_character = 5;
- */
- protected $quote_character = '';
- /**
- * Specifies the character that separates columns within each row (line) of
- * the file.
- *
- * Generated from protobuf field string fields_terminated_by = 6;
- */
- protected $fields_terminated_by = '';
- /**
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- *
- * Generated from protobuf field string lines_terminated_by = 8;
- */
- protected $lines_terminated_by = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $table
- * The table to which CSV data is imported.
- * @type array|\Google\Protobuf\Internal\RepeatedField $columns
- * The columns to which CSV data is imported. If not specified, all columns
- * of the database table are loaded with CSV data.
- * @type string $escape_character
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- * @type string $quote_character
- * Specifies the quoting character to be used when a data value is quoted.
- * @type string $fields_terminated_by
- * Specifies the character that separates columns within each row (line) of
- * the file.
- * @type string $lines_terminated_by
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The table to which CSV data is imported.
- *
- * Generated from protobuf field string table = 1;
- * @return string
- */
- public function getTable()
- {
- return $this->table;
- }
-
- /**
- * The table to which CSV data is imported.
- *
- * Generated from protobuf field string table = 1;
- * @param string $var
- * @return $this
- */
- public function setTable($var)
- {
- GPBUtil::checkString($var, True);
- $this->table = $var;
-
- return $this;
- }
-
- /**
- * The columns to which CSV data is imported. If not specified, all columns
- * of the database table are loaded with CSV data.
- *
- * Generated from protobuf field repeated string columns = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getColumns()
- {
- return $this->columns;
- }
-
- /**
- * The columns to which CSV data is imported. If not specified, all columns
- * of the database table are loaded with CSV data.
- *
- * Generated from protobuf field repeated string columns = 2;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setColumns($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->columns = $arr;
-
- return $this;
- }
-
- /**
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- *
- * Generated from protobuf field string escape_character = 4;
- * @return string
- */
- public function getEscapeCharacter()
- {
- return $this->escape_character;
- }
-
- /**
- * Specifies the character that should appear before a data character that
- * needs to be escaped.
- *
- * Generated from protobuf field string escape_character = 4;
- * @param string $var
- * @return $this
- */
- public function setEscapeCharacter($var)
- {
- GPBUtil::checkString($var, True);
- $this->escape_character = $var;
-
- return $this;
- }
-
- /**
- * Specifies the quoting character to be used when a data value is quoted.
- *
- * Generated from protobuf field string quote_character = 5;
- * @return string
- */
- public function getQuoteCharacter()
- {
- return $this->quote_character;
- }
-
- /**
- * Specifies the quoting character to be used when a data value is quoted.
- *
- * Generated from protobuf field string quote_character = 5;
- * @param string $var
- * @return $this
- */
- public function setQuoteCharacter($var)
- {
- GPBUtil::checkString($var, True);
- $this->quote_character = $var;
-
- return $this;
- }
-
- /**
- * Specifies the character that separates columns within each row (line) of
- * the file.
- *
- * Generated from protobuf field string fields_terminated_by = 6;
- * @return string
- */
- public function getFieldsTerminatedBy()
- {
- return $this->fields_terminated_by;
- }
-
- /**
- * Specifies the character that separates columns within each row (line) of
- * the file.
- *
- * Generated from protobuf field string fields_terminated_by = 6;
- * @param string $var
- * @return $this
- */
- public function setFieldsTerminatedBy($var)
- {
- GPBUtil::checkString($var, True);
- $this->fields_terminated_by = $var;
-
- return $this;
- }
-
- /**
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- *
- * Generated from protobuf field string lines_terminated_by = 8;
- * @return string
- */
- public function getLinesTerminatedBy()
- {
- return $this->lines_terminated_by;
- }
-
- /**
- * This is used to separate lines. If a line does not contain all fields,
- * the rest of the columns are set to their default values.
- *
- * Generated from protobuf field string lines_terminated_by = 8;
- * @param string $var
- * @return $this
- */
- public function setLinesTerminatedBy($var)
- {
- GPBUtil::checkString($var, True);
- $this->lines_terminated_by = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlCsvImportOptions::class, \Google\Cloud\Sql\V1beta4\ImportContext_SqlCsvImportOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext/SqlImportOptions.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext/SqlImportOptions.php
deleted file mode 100644
index d035d3566092..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ImportContext/SqlImportOptions.php
+++ /dev/null
@@ -1,176 +0,0 @@
-google.cloud.sql.v1beta4.ImportContext.SqlImportOptions
- */
-class SqlImportOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * Optional. The number of threads to use for parallel import.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 1 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $threads = null;
- /**
- * Optional. Whether or not the import should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $parallel = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Int32Value $threads
- * Optional. The number of threads to use for parallel import.
- * @type \Google\Protobuf\BoolValue $parallel
- * Optional. Whether or not the import should be parallel.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Optional. The number of threads to use for parallel import.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 1 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getThreads()
- {
- return $this->threads;
- }
-
- public function hasThreads()
- {
- return isset($this->threads);
- }
-
- public function clearThreads()
- {
- unset($this->threads);
- }
-
- /**
- * Returns the unboxed value from getThreads()
-
- * Optional. The number of threads to use for parallel import.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 1 [(.google.api.field_behavior) = OPTIONAL];
- * @return int|null
- */
- public function getThreadsUnwrapped()
- {
- return $this->readWrapperValue("threads");
- }
-
- /**
- * Optional. The number of threads to use for parallel import.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 1 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setThreads($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->threads = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Optional. The number of threads to use for parallel import.
- *
- * Generated from protobuf field .google.protobuf.Int32Value threads = 1 [(.google.api.field_behavior) = OPTIONAL];
- * @param int|null $var
- * @return $this
- */
- public function setThreadsUnwrapped($var)
- {
- $this->writeWrapperValue("threads", $var);
- return $this;}
-
- /**
- * Optional. Whether or not the import should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getParallel()
- {
- return $this->parallel;
- }
-
- public function hasParallel()
- {
- return isset($this->parallel);
- }
-
- public function clearParallel()
- {
- unset($this->parallel);
- }
-
- /**
- * Returns the unboxed value from getParallel()
-
- * Optional. Whether or not the import should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool|null
- */
- public function getParallelUnwrapped()
- {
- return $this->readWrapperValue("parallel");
- }
-
- /**
- * Optional. Whether or not the import should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setParallel($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->parallel = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Optional. Whether or not the import should be parallel.
- *
- * Generated from protobuf field .google.protobuf.BoolValue parallel = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool|null $var
- * @return $this
- */
- public function setParallelUnwrapped($var)
- {
- $this->writeWrapperValue("parallel", $var);
- return $this;}
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlImportOptions::class, \Google\Cloud\Sql\V1beta4\ImportContext_SqlImportOptions::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InsightsConfig.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InsightsConfig.php
deleted file mode 100644
index 09205708f1f8..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InsightsConfig.php
+++ /dev/null
@@ -1,306 +0,0 @@
-google.cloud.sql.v1beta4.InsightsConfig
- */
-class InsightsConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Whether Query Insights feature is enabled.
- *
- * Generated from protobuf field bool query_insights_enabled = 1;
- */
- protected $query_insights_enabled = false;
- /**
- * Whether Query Insights will record client address when enabled.
- *
- * Generated from protobuf field bool record_client_address = 2;
- */
- protected $record_client_address = false;
- /**
- * Whether Query Insights will record application tags from query when
- * enabled.
- *
- * Generated from protobuf field bool record_application_tags = 3;
- */
- protected $record_application_tags = false;
- /**
- * Maximum query length stored in bytes. Default value: 1024 bytes.
- * Range: 256-4500 bytes. Query length more than this field value will be
- * truncated to this value. When unset, query length will be the default
- * value. Changing query length will restart the database.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_string_length = 4;
- */
- protected $query_string_length = null;
- /**
- * Number of query execution plans captured by Insights per minute
- * for all queries combined. Default is 5.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_plans_per_minute = 5;
- */
- protected $query_plans_per_minute = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $query_insights_enabled
- * Whether Query Insights feature is enabled.
- * @type bool $record_client_address
- * Whether Query Insights will record client address when enabled.
- * @type bool $record_application_tags
- * Whether Query Insights will record application tags from query when
- * enabled.
- * @type \Google\Protobuf\Int32Value $query_string_length
- * Maximum query length stored in bytes. Default value: 1024 bytes.
- * Range: 256-4500 bytes. Query length more than this field value will be
- * truncated to this value. When unset, query length will be the default
- * value. Changing query length will restart the database.
- * @type \Google\Protobuf\Int32Value $query_plans_per_minute
- * Number of query execution plans captured by Insights per minute
- * for all queries combined. Default is 5.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Whether Query Insights feature is enabled.
- *
- * Generated from protobuf field bool query_insights_enabled = 1;
- * @return bool
- */
- public function getQueryInsightsEnabled()
- {
- return $this->query_insights_enabled;
- }
-
- /**
- * Whether Query Insights feature is enabled.
- *
- * Generated from protobuf field bool query_insights_enabled = 1;
- * @param bool $var
- * @return $this
- */
- public function setQueryInsightsEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->query_insights_enabled = $var;
-
- return $this;
- }
-
- /**
- * Whether Query Insights will record client address when enabled.
- *
- * Generated from protobuf field bool record_client_address = 2;
- * @return bool
- */
- public function getRecordClientAddress()
- {
- return $this->record_client_address;
- }
-
- /**
- * Whether Query Insights will record client address when enabled.
- *
- * Generated from protobuf field bool record_client_address = 2;
- * @param bool $var
- * @return $this
- */
- public function setRecordClientAddress($var)
- {
- GPBUtil::checkBool($var);
- $this->record_client_address = $var;
-
- return $this;
- }
-
- /**
- * Whether Query Insights will record application tags from query when
- * enabled.
- *
- * Generated from protobuf field bool record_application_tags = 3;
- * @return bool
- */
- public function getRecordApplicationTags()
- {
- return $this->record_application_tags;
- }
-
- /**
- * Whether Query Insights will record application tags from query when
- * enabled.
- *
- * Generated from protobuf field bool record_application_tags = 3;
- * @param bool $var
- * @return $this
- */
- public function setRecordApplicationTags($var)
- {
- GPBUtil::checkBool($var);
- $this->record_application_tags = $var;
-
- return $this;
- }
-
- /**
- * Maximum query length stored in bytes. Default value: 1024 bytes.
- * Range: 256-4500 bytes. Query length more than this field value will be
- * truncated to this value. When unset, query length will be the default
- * value. Changing query length will restart the database.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_string_length = 4;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getQueryStringLength()
- {
- return $this->query_string_length;
- }
-
- public function hasQueryStringLength()
- {
- return isset($this->query_string_length);
- }
-
- public function clearQueryStringLength()
- {
- unset($this->query_string_length);
- }
-
- /**
- * Returns the unboxed value from getQueryStringLength()
-
- * Maximum query length stored in bytes. Default value: 1024 bytes.
- * Range: 256-4500 bytes. Query length more than this field value will be
- * truncated to this value. When unset, query length will be the default
- * value. Changing query length will restart the database.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_string_length = 4;
- * @return int|null
- */
- public function getQueryStringLengthUnwrapped()
- {
- return $this->readWrapperValue("query_string_length");
- }
-
- /**
- * Maximum query length stored in bytes. Default value: 1024 bytes.
- * Range: 256-4500 bytes. Query length more than this field value will be
- * truncated to this value. When unset, query length will be the default
- * value. Changing query length will restart the database.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_string_length = 4;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setQueryStringLength($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->query_string_length = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Maximum query length stored in bytes. Default value: 1024 bytes.
- * Range: 256-4500 bytes. Query length more than this field value will be
- * truncated to this value. When unset, query length will be the default
- * value. Changing query length will restart the database.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_string_length = 4;
- * @param int|null $var
- * @return $this
- */
- public function setQueryStringLengthUnwrapped($var)
- {
- $this->writeWrapperValue("query_string_length", $var);
- return $this;}
-
- /**
- * Number of query execution plans captured by Insights per minute
- * for all queries combined. Default is 5.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_plans_per_minute = 5;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getQueryPlansPerMinute()
- {
- return $this->query_plans_per_minute;
- }
-
- public function hasQueryPlansPerMinute()
- {
- return isset($this->query_plans_per_minute);
- }
-
- public function clearQueryPlansPerMinute()
- {
- unset($this->query_plans_per_minute);
- }
-
- /**
- * Returns the unboxed value from getQueryPlansPerMinute()
-
- * Number of query execution plans captured by Insights per minute
- * for all queries combined. Default is 5.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_plans_per_minute = 5;
- * @return int|null
- */
- public function getQueryPlansPerMinuteUnwrapped()
- {
- return $this->readWrapperValue("query_plans_per_minute");
- }
-
- /**
- * Number of query execution plans captured by Insights per minute
- * for all queries combined. Default is 5.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_plans_per_minute = 5;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setQueryPlansPerMinute($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->query_plans_per_minute = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Number of query execution plans captured by Insights per minute
- * for all queries combined. Default is 5.
- *
- * Generated from protobuf field .google.protobuf.Int32Value query_plans_per_minute = 5;
- * @param int|null $var
- * @return $this
- */
- public function setQueryPlansPerMinuteUnwrapped($var)
- {
- $this->writeWrapperValue("query_plans_per_minute", $var);
- return $this;}
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstanceReference.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstanceReference.php
deleted file mode 100644
index bd2182b8cefe..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstanceReference.php
+++ /dev/null
@@ -1,143 +0,0 @@
-google.cloud.sql.v1beta4.InstanceReference
- */
-class InstanceReference extends \Google\Protobuf\Internal\Message
-{
- /**
- * The name of the Cloud SQL instance being referenced.
- * This does not include the project ID.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The region of the Cloud SQL instance being referenced.
- *
- * Generated from protobuf field string region = 2;
- */
- protected $region = '';
- /**
- * The project ID of the Cloud SQL instance being referenced.
- * The default is the same project ID as the instance references it.
- *
- * Generated from protobuf field string project = 3;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The name of the Cloud SQL instance being referenced.
- * This does not include the project ID.
- * @type string $region
- * The region of the Cloud SQL instance being referenced.
- * @type string $project
- * The project ID of the Cloud SQL instance being referenced.
- * The default is the same project ID as the instance references it.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The name of the Cloud SQL instance being referenced.
- * This does not include the project ID.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the Cloud SQL instance being referenced.
- * This does not include the project ID.
- *
- * Generated from protobuf field string name = 1;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The region of the Cloud SQL instance being referenced.
- *
- * Generated from protobuf field string region = 2;
- * @return string
- */
- public function getRegion()
- {
- return $this->region;
- }
-
- /**
- * The region of the Cloud SQL instance being referenced.
- *
- * Generated from protobuf field string region = 2;
- * @param string $var
- * @return $this
- */
- public function setRegion($var)
- {
- GPBUtil::checkString($var, True);
- $this->region = $var;
-
- return $this;
- }
-
- /**
- * The project ID of the Cloud SQL instance being referenced.
- * The default is the same project ID as the instance references it.
- *
- * Generated from protobuf field string project = 3;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * The project ID of the Cloud SQL instance being referenced.
- * The default is the same project ID as the instance references it.
- *
- * Generated from protobuf field string project = 3;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesAcquireSsrsLeaseRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesAcquireSsrsLeaseRequest.php
deleted file mode 100644
index cfc4b9f62f5c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesAcquireSsrsLeaseRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1beta4.InstancesAcquireSsrsLeaseRequest
- */
-class InstancesAcquireSsrsLeaseRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Contains details about the acquire SSRS lease operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 1;
- */
- protected $acquire_ssrs_lease_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\AcquireSsrsLeaseContext $acquire_ssrs_lease_context
- * Contains details about the acquire SSRS lease operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Contains details about the acquire SSRS lease operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 1;
- * @return \Google\Cloud\Sql\V1beta4\AcquireSsrsLeaseContext|null
- */
- public function getAcquireSsrsLeaseContext()
- {
- return $this->acquire_ssrs_lease_context;
- }
-
- public function hasAcquireSsrsLeaseContext()
- {
- return isset($this->acquire_ssrs_lease_context);
- }
-
- public function clearAcquireSsrsLeaseContext()
- {
- unset($this->acquire_ssrs_lease_context);
- }
-
- /**
- * Contains details about the acquire SSRS lease operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 1;
- * @param \Google\Cloud\Sql\V1beta4\AcquireSsrsLeaseContext $var
- * @return $this
- */
- public function setAcquireSsrsLeaseContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\AcquireSsrsLeaseContext::class);
- $this->acquire_ssrs_lease_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesCloneRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesCloneRequest.php
deleted file mode 100644
index 29389f6d841e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesCloneRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1beta4.InstancesCloneRequest
- */
-class InstancesCloneRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Contains details about the clone operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.CloneContext clone_context = 1;
- */
- protected $clone_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\CloneContext $clone_context
- * Contains details about the clone operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Contains details about the clone operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.CloneContext clone_context = 1;
- * @return \Google\Cloud\Sql\V1beta4\CloneContext|null
- */
- public function getCloneContext()
- {
- return $this->clone_context;
- }
-
- public function hasCloneContext()
- {
- return isset($this->clone_context);
- }
-
- public function clearCloneContext()
- {
- unset($this->clone_context);
- }
-
- /**
- * Contains details about the clone operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.CloneContext clone_context = 1;
- * @param \Google\Cloud\Sql\V1beta4\CloneContext $var
- * @return $this
- */
- public function setCloneContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\CloneContext::class);
- $this->clone_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesDemoteMasterRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesDemoteMasterRequest.php
deleted file mode 100644
index 53c47a02a380..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesDemoteMasterRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1beta4.InstancesDemoteMasterRequest
- */
-class InstancesDemoteMasterRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Contains details about the demoteMaster operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DemoteMasterContext demote_master_context = 1;
- */
- protected $demote_master_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\DemoteMasterContext $demote_master_context
- * Contains details about the demoteMaster operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Contains details about the demoteMaster operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DemoteMasterContext demote_master_context = 1;
- * @return \Google\Cloud\Sql\V1beta4\DemoteMasterContext|null
- */
- public function getDemoteMasterContext()
- {
- return $this->demote_master_context;
- }
-
- public function hasDemoteMasterContext()
- {
- return isset($this->demote_master_context);
- }
-
- public function clearDemoteMasterContext()
- {
- unset($this->demote_master_context);
- }
-
- /**
- * Contains details about the demoteMaster operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DemoteMasterContext demote_master_context = 1;
- * @param \Google\Cloud\Sql\V1beta4\DemoteMasterContext $var
- * @return $this
- */
- public function setDemoteMasterContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DemoteMasterContext::class);
- $this->demote_master_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesDemoteRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesDemoteRequest.php
deleted file mode 100644
index 8fa577245bd4..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesDemoteRequest.php
+++ /dev/null
@@ -1,82 +0,0 @@
-google.cloud.sql.v1beta4.InstancesDemoteRequest
- */
-class InstancesDemoteRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. This context is used to demote an existing standalone instance to
- * be a Cloud SQL read replica for an external database server.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DemoteContext demote_context = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $demote_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\DemoteContext $demote_context
- * Required. This context is used to demote an existing standalone instance to
- * be a Cloud SQL read replica for an external database server.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. This context is used to demote an existing standalone instance to
- * be a Cloud SQL read replica for an external database server.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DemoteContext demote_context = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Sql\V1beta4\DemoteContext|null
- */
- public function getDemoteContext()
- {
- return $this->demote_context;
- }
-
- public function hasDemoteContext()
- {
- return isset($this->demote_context);
- }
-
- public function clearDemoteContext()
- {
- unset($this->demote_context);
- }
-
- /**
- * Required. This context is used to demote an existing standalone instance to
- * be a Cloud SQL read replica for an external database server.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DemoteContext demote_context = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Sql\V1beta4\DemoteContext $var
- * @return $this
- */
- public function setDemoteContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DemoteContext::class);
- $this->demote_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesExportRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesExportRequest.php
deleted file mode 100644
index f95fc933c5c0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesExportRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1beta4.InstancesExportRequest
- */
-class InstancesExportRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Contains details about the export operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext export_context = 1;
- */
- protected $export_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\ExportContext $export_context
- * Contains details about the export operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Contains details about the export operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext export_context = 1;
- * @return \Google\Cloud\Sql\V1beta4\ExportContext|null
- */
- public function getExportContext()
- {
- return $this->export_context;
- }
-
- public function hasExportContext()
- {
- return isset($this->export_context);
- }
-
- public function clearExportContext()
- {
- unset($this->export_context);
- }
-
- /**
- * Contains details about the export operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext export_context = 1;
- * @param \Google\Cloud\Sql\V1beta4\ExportContext $var
- * @return $this
- */
- public function setExportContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ExportContext::class);
- $this->export_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesFailoverRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesFailoverRequest.php
deleted file mode 100644
index d3c86bc2dbe9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesFailoverRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1beta4.InstancesFailoverRequest
- */
-class InstancesFailoverRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Failover Context.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.FailoverContext failover_context = 1;
- */
- protected $failover_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\FailoverContext $failover_context
- * Failover Context.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Failover Context.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.FailoverContext failover_context = 1;
- * @return \Google\Cloud\Sql\V1beta4\FailoverContext|null
- */
- public function getFailoverContext()
- {
- return $this->failover_context;
- }
-
- public function hasFailoverContext()
- {
- return isset($this->failover_context);
- }
-
- public function clearFailoverContext()
- {
- unset($this->failover_context);
- }
-
- /**
- * Failover Context.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.FailoverContext failover_context = 1;
- * @param \Google\Cloud\Sql\V1beta4\FailoverContext $var
- * @return $this
- */
- public function setFailoverContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\FailoverContext::class);
- $this->failover_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesImportRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesImportRequest.php
deleted file mode 100644
index fa374c44968f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesImportRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1beta4.InstancesImportRequest
- */
-class InstancesImportRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Contains details about the import operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext import_context = 1;
- */
- protected $import_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\ImportContext $import_context
- * Contains details about the import operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Contains details about the import operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext import_context = 1;
- * @return \Google\Cloud\Sql\V1beta4\ImportContext|null
- */
- public function getImportContext()
- {
- return $this->import_context;
- }
-
- public function hasImportContext()
- {
- return isset($this->import_context);
- }
-
- public function clearImportContext()
- {
- unset($this->import_context);
- }
-
- /**
- * Contains details about the import operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext import_context = 1;
- * @param \Google\Cloud\Sql\V1beta4\ImportContext $var
- * @return $this
- */
- public function setImportContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ImportContext::class);
- $this->import_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesListResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesListResponse.php
deleted file mode 100644
index d2e20b973b98..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesListResponse.php
+++ /dev/null
@@ -1,173 +0,0 @@
-google.cloud.sql.v1beta4.InstancesListResponse
- */
-class InstancesListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#instancesList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of warnings that occurred while handling the request.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.ApiWarning warnings = 2;
- */
- private $warnings;
- /**
- * List of database instance resources.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.DatabaseInstance items = 3;
- */
- private $items;
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 4;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#instancesList`.
- * @type array<\Google\Cloud\Sql\V1beta4\ApiWarning>|\Google\Protobuf\Internal\RepeatedField $warnings
- * List of warnings that occurred while handling the request.
- * @type array<\Google\Cloud\Sql\V1beta4\DatabaseInstance>|\Google\Protobuf\Internal\RepeatedField $items
- * List of database instance resources.
- * @type string $next_page_token
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#instancesList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#instancesList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of warnings that occurred while handling the request.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.ApiWarning warnings = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getWarnings()
- {
- return $this->warnings;
- }
-
- /**
- * List of warnings that occurred while handling the request.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.ApiWarning warnings = 2;
- * @param array<\Google\Cloud\Sql\V1beta4\ApiWarning>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setWarnings($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\ApiWarning::class);
- $this->warnings = $arr;
-
- return $this;
- }
-
- /**
- * List of database instance resources.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.DatabaseInstance items = 3;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * List of database instance resources.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.DatabaseInstance items = 3;
- * @param array<\Google\Cloud\Sql\V1beta4\DatabaseInstance>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\DatabaseInstance::class);
- $this->items = $arr;
-
- return $this;
- }
-
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 4;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 4;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesListServerCasResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesListServerCasResponse.php
deleted file mode 100644
index 1883773ace02..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesListServerCasResponse.php
+++ /dev/null
@@ -1,128 +0,0 @@
-google.cloud.sql.v1beta4.InstancesListServerCasResponse
- */
-class InstancesListServerCasResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * List of server CA certificates for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SslCert certs = 1;
- */
- private $certs;
- /**
- * Generated from protobuf field string active_version = 2;
- */
- protected $active_version = '';
- /**
- * This is always `sql#instancesListServerCas`.
- *
- * Generated from protobuf field string kind = 3;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Sql\V1beta4\SslCert>|\Google\Protobuf\Internal\RepeatedField $certs
- * List of server CA certificates for the instance.
- * @type string $active_version
- * @type string $kind
- * This is always `sql#instancesListServerCas`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * List of server CA certificates for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SslCert certs = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getCerts()
- {
- return $this->certs;
- }
-
- /**
- * List of server CA certificates for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SslCert certs = 1;
- * @param array<\Google\Cloud\Sql\V1beta4\SslCert>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setCerts($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\SslCert::class);
- $this->certs = $arr;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string active_version = 2;
- * @return string
- */
- public function getActiveVersion()
- {
- return $this->active_version;
- }
-
- /**
- * Generated from protobuf field string active_version = 2;
- * @param string $var
- * @return $this
- */
- public function setActiveVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->active_version = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#instancesListServerCas`.
- *
- * Generated from protobuf field string kind = 3;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#instancesListServerCas`.
- *
- * Generated from protobuf field string kind = 3;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesReencryptRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesReencryptRequest.php
deleted file mode 100644
index 422bf9722780..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesReencryptRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1beta4.InstancesReencryptRequest
- */
-class InstancesReencryptRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Configuration specific to backup re-encryption
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.BackupReencryptionConfig backup_reencryption_config = 1;
- */
- protected $backup_reencryption_config = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\BackupReencryptionConfig $backup_reencryption_config
- * Configuration specific to backup re-encryption
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Configuration specific to backup re-encryption
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.BackupReencryptionConfig backup_reencryption_config = 1;
- * @return \Google\Cloud\Sql\V1beta4\BackupReencryptionConfig|null
- */
- public function getBackupReencryptionConfig()
- {
- return $this->backup_reencryption_config;
- }
-
- public function hasBackupReencryptionConfig()
- {
- return isset($this->backup_reencryption_config);
- }
-
- public function clearBackupReencryptionConfig()
- {
- unset($this->backup_reencryption_config);
- }
-
- /**
- * Configuration specific to backup re-encryption
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.BackupReencryptionConfig backup_reencryption_config = 1;
- * @param \Google\Cloud\Sql\V1beta4\BackupReencryptionConfig $var
- * @return $this
- */
- public function setBackupReencryptionConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\BackupReencryptionConfig::class);
- $this->backup_reencryption_config = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesRestoreBackupRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesRestoreBackupRequest.php
deleted file mode 100644
index e3219bf08a7b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesRestoreBackupRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1beta4.InstancesRestoreBackupRequest
- */
-class InstancesRestoreBackupRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Parameters required to perform the restore backup operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.RestoreBackupContext restore_backup_context = 1;
- */
- protected $restore_backup_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\RestoreBackupContext $restore_backup_context
- * Parameters required to perform the restore backup operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Parameters required to perform the restore backup operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.RestoreBackupContext restore_backup_context = 1;
- * @return \Google\Cloud\Sql\V1beta4\RestoreBackupContext|null
- */
- public function getRestoreBackupContext()
- {
- return $this->restore_backup_context;
- }
-
- public function hasRestoreBackupContext()
- {
- return isset($this->restore_backup_context);
- }
-
- public function clearRestoreBackupContext()
- {
- unset($this->restore_backup_context);
- }
-
- /**
- * Parameters required to perform the restore backup operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.RestoreBackupContext restore_backup_context = 1;
- * @param \Google\Cloud\Sql\V1beta4\RestoreBackupContext $var
- * @return $this
- */
- public function setRestoreBackupContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\RestoreBackupContext::class);
- $this->restore_backup_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesRotateServerCaRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesRotateServerCaRequest.php
deleted file mode 100644
index 7f52c0da0bf2..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesRotateServerCaRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1beta4.InstancesRotateServerCaRequest
- */
-class InstancesRotateServerCaRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Contains details about the rotate server CA operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.RotateServerCaContext rotate_server_ca_context = 1;
- */
- protected $rotate_server_ca_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\RotateServerCaContext $rotate_server_ca_context
- * Contains details about the rotate server CA operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Contains details about the rotate server CA operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.RotateServerCaContext rotate_server_ca_context = 1;
- * @return \Google\Cloud\Sql\V1beta4\RotateServerCaContext|null
- */
- public function getRotateServerCaContext()
- {
- return $this->rotate_server_ca_context;
- }
-
- public function hasRotateServerCaContext()
- {
- return isset($this->rotate_server_ca_context);
- }
-
- public function clearRotateServerCaContext()
- {
- unset($this->rotate_server_ca_context);
- }
-
- /**
- * Contains details about the rotate server CA operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.RotateServerCaContext rotate_server_ca_context = 1;
- * @param \Google\Cloud\Sql\V1beta4\RotateServerCaContext $var
- * @return $this
- */
- public function setRotateServerCaContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\RotateServerCaContext::class);
- $this->rotate_server_ca_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesTruncateLogRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesTruncateLogRequest.php
deleted file mode 100644
index 77ee6583ab43..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/InstancesTruncateLogRequest.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1beta4.InstancesTruncateLogRequest
- */
-class InstancesTruncateLogRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Contains details about the truncate log operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.TruncateLogContext truncate_log_context = 1;
- */
- protected $truncate_log_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\TruncateLogContext $truncate_log_context
- * Contains details about the truncate log operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Contains details about the truncate log operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.TruncateLogContext truncate_log_context = 1;
- * @return \Google\Cloud\Sql\V1beta4\TruncateLogContext|null
- */
- public function getTruncateLogContext()
- {
- return $this->truncate_log_context;
- }
-
- public function hasTruncateLogContext()
- {
- return isset($this->truncate_log_context);
- }
-
- public function clearTruncateLogContext()
- {
- unset($this->truncate_log_context);
- }
-
- /**
- * Contains details about the truncate log operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.TruncateLogContext truncate_log_context = 1;
- * @param \Google\Cloud\Sql\V1beta4\TruncateLogContext $var
- * @return $this
- */
- public function setTruncateLogContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\TruncateLogContext::class);
- $this->truncate_log_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/IpConfiguration.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/IpConfiguration.php
deleted file mode 100644
index 3edb49557e75..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/IpConfiguration.php
+++ /dev/null
@@ -1,574 +0,0 @@
-google.cloud.sql.v1beta4.IpConfiguration
- */
-class IpConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * Whether the instance is assigned a public IP address or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue ipv4_enabled = 1;
- */
- protected $ipv4_enabled = null;
- /**
- * The resource link for the VPC network from which the Cloud SQL instance is
- * accessible for private IP. For example,
- * `/projects/myProject/global/networks/default`. This setting can
- * be updated, but it cannot be removed after it is set.
- *
- * Generated from protobuf field string private_network = 2;
- */
- protected $private_network = '';
- /**
- * Use `ssl_mode` instead.
- * Whether SSL/TLS connections over IP are enforced.
- * If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
- * For SSL/TLS connections, the client certificate won't be verified. If
- * set to true, then only allow connections encrypted with SSL/TLS and with
- * valid client certificates. If you want to enforce SSL/TLS without enforcing
- * the requirement for valid client certificates, then use the `ssl_mode` flag
- * instead of the legacy `require_ssl` flag.
- *
- * Generated from protobuf field .google.protobuf.BoolValue require_ssl = 3;
- */
- protected $require_ssl = null;
- /**
- * The list of external networks that are allowed to connect to the instance
- * using the IP. In 'CIDR' notation, also known as 'slash' notation (for
- * example: `157.197.200.0/24`).
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.AclEntry authorized_networks = 4;
- */
- private $authorized_networks;
- /**
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the instance ip
- * will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * `[a-z]([-a-z0-9]*[a-z0-9])?.`
- *
- * Generated from protobuf field string allocated_ip_range = 6;
- */
- protected $allocated_ip_range = '';
- /**
- * Controls connectivity to private IP instances from Google services,
- * such as BigQuery.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_private_path_for_google_cloud_services = 7;
- */
- protected $enable_private_path_for_google_cloud_services = null;
- /**
- * Specify how SSL/TLS is enforced in database connections. If you must use
- * the `require_ssl` flag for backward compatibility, then only the following
- * value pairs are valid:
- * For PostgreSQL and MySQL:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`
- * * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true`
- * For SQL Server:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true`
- * The value of `ssl_mode` gets priority over the value of `require_ssl`. For
- * example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`,
- * the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the
- * `require_ssl=false` means accept both non-SSL and SSL connections. MySQL
- * and PostgreSQL databases respect `ssl_mode` in this case and accept only
- * SSL connections.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.IpConfiguration.SslMode ssl_mode = 8;
- */
- protected $ssl_mode = 0;
- /**
- * PSC settings for this instance.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.PscConfig psc_config = 9;
- */
- protected $psc_config = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\BoolValue $ipv4_enabled
- * Whether the instance is assigned a public IP address or not.
- * @type string $private_network
- * The resource link for the VPC network from which the Cloud SQL instance is
- * accessible for private IP. For example,
- * `/projects/myProject/global/networks/default`. This setting can
- * be updated, but it cannot be removed after it is set.
- * @type \Google\Protobuf\BoolValue $require_ssl
- * Use `ssl_mode` instead.
- * Whether SSL/TLS connections over IP are enforced.
- * If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
- * For SSL/TLS connections, the client certificate won't be verified. If
- * set to true, then only allow connections encrypted with SSL/TLS and with
- * valid client certificates. If you want to enforce SSL/TLS without enforcing
- * the requirement for valid client certificates, then use the `ssl_mode` flag
- * instead of the legacy `require_ssl` flag.
- * @type array<\Google\Cloud\Sql\V1beta4\AclEntry>|\Google\Protobuf\Internal\RepeatedField $authorized_networks
- * The list of external networks that are allowed to connect to the instance
- * using the IP. In 'CIDR' notation, also known as 'slash' notation (for
- * example: `157.197.200.0/24`).
- * @type string $allocated_ip_range
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the instance ip
- * will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * `[a-z]([-a-z0-9]*[a-z0-9])?.`
- * @type \Google\Protobuf\BoolValue $enable_private_path_for_google_cloud_services
- * Controls connectivity to private IP instances from Google services,
- * such as BigQuery.
- * @type int $ssl_mode
- * Specify how SSL/TLS is enforced in database connections. If you must use
- * the `require_ssl` flag for backward compatibility, then only the following
- * value pairs are valid:
- * For PostgreSQL and MySQL:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`
- * * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true`
- * For SQL Server:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true`
- * The value of `ssl_mode` gets priority over the value of `require_ssl`. For
- * example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`,
- * the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the
- * `require_ssl=false` means accept both non-SSL and SSL connections. MySQL
- * and PostgreSQL databases respect `ssl_mode` in this case and accept only
- * SSL connections.
- * @type \Google\Cloud\Sql\V1beta4\PscConfig $psc_config
- * PSC settings for this instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Whether the instance is assigned a public IP address or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue ipv4_enabled = 1;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getIpv4Enabled()
- {
- return $this->ipv4_enabled;
- }
-
- public function hasIpv4Enabled()
- {
- return isset($this->ipv4_enabled);
- }
-
- public function clearIpv4Enabled()
- {
- unset($this->ipv4_enabled);
- }
-
- /**
- * Returns the unboxed value from getIpv4Enabled()
-
- * Whether the instance is assigned a public IP address or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue ipv4_enabled = 1;
- * @return bool|null
- */
- public function getIpv4EnabledUnwrapped()
- {
- return $this->readWrapperValue("ipv4_enabled");
- }
-
- /**
- * Whether the instance is assigned a public IP address or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue ipv4_enabled = 1;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setIpv4Enabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->ipv4_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether the instance is assigned a public IP address or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue ipv4_enabled = 1;
- * @param bool|null $var
- * @return $this
- */
- public function setIpv4EnabledUnwrapped($var)
- {
- $this->writeWrapperValue("ipv4_enabled", $var);
- return $this;}
-
- /**
- * The resource link for the VPC network from which the Cloud SQL instance is
- * accessible for private IP. For example,
- * `/projects/myProject/global/networks/default`. This setting can
- * be updated, but it cannot be removed after it is set.
- *
- * Generated from protobuf field string private_network = 2;
- * @return string
- */
- public function getPrivateNetwork()
- {
- return $this->private_network;
- }
-
- /**
- * The resource link for the VPC network from which the Cloud SQL instance is
- * accessible for private IP. For example,
- * `/projects/myProject/global/networks/default`. This setting can
- * be updated, but it cannot be removed after it is set.
- *
- * Generated from protobuf field string private_network = 2;
- * @param string $var
- * @return $this
- */
- public function setPrivateNetwork($var)
- {
- GPBUtil::checkString($var, True);
- $this->private_network = $var;
-
- return $this;
- }
-
- /**
- * Use `ssl_mode` instead.
- * Whether SSL/TLS connections over IP are enforced.
- * If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
- * For SSL/TLS connections, the client certificate won't be verified. If
- * set to true, then only allow connections encrypted with SSL/TLS and with
- * valid client certificates. If you want to enforce SSL/TLS without enforcing
- * the requirement for valid client certificates, then use the `ssl_mode` flag
- * instead of the legacy `require_ssl` flag.
- *
- * Generated from protobuf field .google.protobuf.BoolValue require_ssl = 3;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getRequireSsl()
- {
- return $this->require_ssl;
- }
-
- public function hasRequireSsl()
- {
- return isset($this->require_ssl);
- }
-
- public function clearRequireSsl()
- {
- unset($this->require_ssl);
- }
-
- /**
- * Returns the unboxed value from getRequireSsl()
-
- * Use `ssl_mode` instead.
- * Whether SSL/TLS connections over IP are enforced.
- * If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
- * For SSL/TLS connections, the client certificate won't be verified. If
- * set to true, then only allow connections encrypted with SSL/TLS and with
- * valid client certificates. If you want to enforce SSL/TLS without enforcing
- * the requirement for valid client certificates, then use the `ssl_mode` flag
- * instead of the legacy `require_ssl` flag.
- *
- * Generated from protobuf field .google.protobuf.BoolValue require_ssl = 3;
- * @return bool|null
- */
- public function getRequireSslUnwrapped()
- {
- return $this->readWrapperValue("require_ssl");
- }
-
- /**
- * Use `ssl_mode` instead.
- * Whether SSL/TLS connections over IP are enforced.
- * If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
- * For SSL/TLS connections, the client certificate won't be verified. If
- * set to true, then only allow connections encrypted with SSL/TLS and with
- * valid client certificates. If you want to enforce SSL/TLS without enforcing
- * the requirement for valid client certificates, then use the `ssl_mode` flag
- * instead of the legacy `require_ssl` flag.
- *
- * Generated from protobuf field .google.protobuf.BoolValue require_ssl = 3;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setRequireSsl($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->require_ssl = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Use `ssl_mode` instead.
- * Whether SSL/TLS connections over IP are enforced.
- * If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections.
- * For SSL/TLS connections, the client certificate won't be verified. If
- * set to true, then only allow connections encrypted with SSL/TLS and with
- * valid client certificates. If you want to enforce SSL/TLS without enforcing
- * the requirement for valid client certificates, then use the `ssl_mode` flag
- * instead of the legacy `require_ssl` flag.
- *
- * Generated from protobuf field .google.protobuf.BoolValue require_ssl = 3;
- * @param bool|null $var
- * @return $this
- */
- public function setRequireSslUnwrapped($var)
- {
- $this->writeWrapperValue("require_ssl", $var);
- return $this;}
-
- /**
- * The list of external networks that are allowed to connect to the instance
- * using the IP. In 'CIDR' notation, also known as 'slash' notation (for
- * example: `157.197.200.0/24`).
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.AclEntry authorized_networks = 4;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAuthorizedNetworks()
- {
- return $this->authorized_networks;
- }
-
- /**
- * The list of external networks that are allowed to connect to the instance
- * using the IP. In 'CIDR' notation, also known as 'slash' notation (for
- * example: `157.197.200.0/24`).
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.AclEntry authorized_networks = 4;
- * @param array<\Google\Cloud\Sql\V1beta4\AclEntry>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAuthorizedNetworks($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\AclEntry::class);
- $this->authorized_networks = $arr;
-
- return $this;
- }
-
- /**
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the instance ip
- * will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * `[a-z]([-a-z0-9]*[a-z0-9])?.`
- *
- * Generated from protobuf field string allocated_ip_range = 6;
- * @return string
- */
- public function getAllocatedIpRange()
- {
- return $this->allocated_ip_range;
- }
-
- /**
- * The name of the allocated ip range for the private ip Cloud SQL instance.
- * For example: "google-managed-services-default". If set, the instance ip
- * will be created in the allocated range. The range name must comply with
- * [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
- * must be 1-63 characters long and match the regular expression
- * `[a-z]([-a-z0-9]*[a-z0-9])?.`
- *
- * Generated from protobuf field string allocated_ip_range = 6;
- * @param string $var
- * @return $this
- */
- public function setAllocatedIpRange($var)
- {
- GPBUtil::checkString($var, True);
- $this->allocated_ip_range = $var;
-
- return $this;
- }
-
- /**
- * Controls connectivity to private IP instances from Google services,
- * such as BigQuery.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_private_path_for_google_cloud_services = 7;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getEnablePrivatePathForGoogleCloudServices()
- {
- return $this->enable_private_path_for_google_cloud_services;
- }
-
- public function hasEnablePrivatePathForGoogleCloudServices()
- {
- return isset($this->enable_private_path_for_google_cloud_services);
- }
-
- public function clearEnablePrivatePathForGoogleCloudServices()
- {
- unset($this->enable_private_path_for_google_cloud_services);
- }
-
- /**
- * Returns the unboxed value from getEnablePrivatePathForGoogleCloudServices()
-
- * Controls connectivity to private IP instances from Google services,
- * such as BigQuery.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_private_path_for_google_cloud_services = 7;
- * @return bool|null
- */
- public function getEnablePrivatePathForGoogleCloudServicesUnwrapped()
- {
- return $this->readWrapperValue("enable_private_path_for_google_cloud_services");
- }
-
- /**
- * Controls connectivity to private IP instances from Google services,
- * such as BigQuery.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_private_path_for_google_cloud_services = 7;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setEnablePrivatePathForGoogleCloudServices($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->enable_private_path_for_google_cloud_services = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Controls connectivity to private IP instances from Google services,
- * such as BigQuery.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_private_path_for_google_cloud_services = 7;
- * @param bool|null $var
- * @return $this
- */
- public function setEnablePrivatePathForGoogleCloudServicesUnwrapped($var)
- {
- $this->writeWrapperValue("enable_private_path_for_google_cloud_services", $var);
- return $this;}
-
- /**
- * Specify how SSL/TLS is enforced in database connections. If you must use
- * the `require_ssl` flag for backward compatibility, then only the following
- * value pairs are valid:
- * For PostgreSQL and MySQL:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`
- * * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true`
- * For SQL Server:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true`
- * The value of `ssl_mode` gets priority over the value of `require_ssl`. For
- * example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`,
- * the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the
- * `require_ssl=false` means accept both non-SSL and SSL connections. MySQL
- * and PostgreSQL databases respect `ssl_mode` in this case and accept only
- * SSL connections.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.IpConfiguration.SslMode ssl_mode = 8;
- * @return int
- */
- public function getSslMode()
- {
- return $this->ssl_mode;
- }
-
- /**
- * Specify how SSL/TLS is enforced in database connections. If you must use
- * the `require_ssl` flag for backward compatibility, then only the following
- * value pairs are valid:
- * For PostgreSQL and MySQL:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`
- * * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true`
- * For SQL Server:
- * * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false`
- * * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true`
- * The value of `ssl_mode` gets priority over the value of `require_ssl`. For
- * example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`,
- * the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the
- * `require_ssl=false` means accept both non-SSL and SSL connections. MySQL
- * and PostgreSQL databases respect `ssl_mode` in this case and accept only
- * SSL connections.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.IpConfiguration.SslMode ssl_mode = 8;
- * @param int $var
- * @return $this
- */
- public function setSslMode($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\IpConfiguration\SslMode::class);
- $this->ssl_mode = $var;
-
- return $this;
- }
-
- /**
- * PSC settings for this instance.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.PscConfig psc_config = 9;
- * @return \Google\Cloud\Sql\V1beta4\PscConfig|null
- */
- public function getPscConfig()
- {
- return $this->psc_config;
- }
-
- public function hasPscConfig()
- {
- return isset($this->psc_config);
- }
-
- public function clearPscConfig()
- {
- unset($this->psc_config);
- }
-
- /**
- * PSC settings for this instance.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.PscConfig psc_config = 9;
- * @param \Google\Cloud\Sql\V1beta4\PscConfig $var
- * @return $this
- */
- public function setPscConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\PscConfig::class);
- $this->psc_config = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/IpConfiguration/SslMode.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/IpConfiguration/SslMode.php
deleted file mode 100644
index e9d91dd6512e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/IpConfiguration/SslMode.php
+++ /dev/null
@@ -1,87 +0,0 @@
-google.cloud.sql.v1beta4.IpConfiguration.SslMode
- */
-class SslMode
-{
- /**
- * The SSL mode is unknown.
- *
- * Generated from protobuf enum SSL_MODE_UNSPECIFIED = 0;
- */
- const SSL_MODE_UNSPECIFIED = 0;
- /**
- * Allow non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections,
- * the client certificate won't be verified.
- * When this value is used, the legacy `require_ssl` flag must be false or
- * cleared to avoid the conflict between values of two flags.
- *
- * Generated from protobuf enum ALLOW_UNENCRYPTED_AND_ENCRYPTED = 1;
- */
- const ALLOW_UNENCRYPTED_AND_ENCRYPTED = 1;
- /**
- * Only allow connections encrypted with SSL/TLS.
- * When this value is used, the legacy `require_ssl` flag must be false or
- * cleared to avoid the conflict between values of two flags.
- *
- * Generated from protobuf enum ENCRYPTED_ONLY = 2;
- */
- const ENCRYPTED_ONLY = 2;
- /**
- * Only allow connections encrypted with SSL/TLS and with valid
- * client certificates.
- * When this value is used, the legacy `require_ssl` flag must be true or
- * cleared to avoid the conflict between values of two flags.
- * PostgreSQL clients or users that connect using IAM database
- * authentication must use either the
- * [Cloud SQL Auth
- * Proxy](https://cloud.google.com/sql/docs/postgres/connect-auth-proxy) or
- * [Cloud SQL
- * Connectors](https://cloud.google.com/sql/docs/postgres/connect-connectors)
- * to enforce client identity verification.
- * This value is not applicable to SQL Server.
- *
- * Generated from protobuf enum TRUSTED_CLIENT_CERTIFICATE_REQUIRED = 3;
- */
- const TRUSTED_CLIENT_CERTIFICATE_REQUIRED = 3;
-
- private static $valueToName = [
- self::SSL_MODE_UNSPECIFIED => 'SSL_MODE_UNSPECIFIED',
- self::ALLOW_UNENCRYPTED_AND_ENCRYPTED => 'ALLOW_UNENCRYPTED_AND_ENCRYPTED',
- self::ENCRYPTED_ONLY => 'ENCRYPTED_ONLY',
- self::TRUSTED_CLIENT_CERTIFICATE_REQUIRED => 'TRUSTED_CLIENT_CERTIFICATE_REQUIRED',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SslMode::class, \Google\Cloud\Sql\V1beta4\IpConfiguration_SslMode::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/IpMapping.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/IpMapping.php
deleted file mode 100644
index 67df7d574697..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/IpMapping.php
+++ /dev/null
@@ -1,169 +0,0 @@
-google.cloud.sql.v1beta4.IpMapping
- */
-class IpMapping extends \Google\Protobuf\Internal\Message
-{
- /**
- * The type of this IP address. A `PRIMARY` address is a public address that
- * can accept incoming connections. A `PRIVATE` address is a private address
- * that can accept incoming connections. An `OUTGOING` address is the source
- * address of connections originating from the instance, if supported.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlIpAddressType type = 1;
- */
- protected $type = 0;
- /**
- * The IP address assigned.
- *
- * Generated from protobuf field string ip_address = 2;
- */
- protected $ip_address = '';
- /**
- * The due time for this IP to be retired in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`. This field is only available when
- * the IP is scheduled to be retired.
- *
- * Generated from protobuf field .google.protobuf.Timestamp time_to_retire = 3;
- */
- protected $time_to_retire = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $type
- * The type of this IP address. A `PRIMARY` address is a public address that
- * can accept incoming connections. A `PRIVATE` address is a private address
- * that can accept incoming connections. An `OUTGOING` address is the source
- * address of connections originating from the instance, if supported.
- * @type string $ip_address
- * The IP address assigned.
- * @type \Google\Protobuf\Timestamp $time_to_retire
- * The due time for this IP to be retired in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`. This field is only available when
- * the IP is scheduled to be retired.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The type of this IP address. A `PRIMARY` address is a public address that
- * can accept incoming connections. A `PRIVATE` address is a private address
- * that can accept incoming connections. An `OUTGOING` address is the source
- * address of connections originating from the instance, if supported.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlIpAddressType type = 1;
- * @return int
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * The type of this IP address. A `PRIMARY` address is a public address that
- * can accept incoming connections. A `PRIVATE` address is a private address
- * that can accept incoming connections. An `OUTGOING` address is the source
- * address of connections originating from the instance, if supported.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlIpAddressType type = 1;
- * @param int $var
- * @return $this
- */
- public function setType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlIpAddressType::class);
- $this->type = $var;
-
- return $this;
- }
-
- /**
- * The IP address assigned.
- *
- * Generated from protobuf field string ip_address = 2;
- * @return string
- */
- public function getIpAddress()
- {
- return $this->ip_address;
- }
-
- /**
- * The IP address assigned.
- *
- * Generated from protobuf field string ip_address = 2;
- * @param string $var
- * @return $this
- */
- public function setIpAddress($var)
- {
- GPBUtil::checkString($var, True);
- $this->ip_address = $var;
-
- return $this;
- }
-
- /**
- * The due time for this IP to be retired in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`. This field is only available when
- * the IP is scheduled to be retired.
- *
- * Generated from protobuf field .google.protobuf.Timestamp time_to_retire = 3;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getTimeToRetire()
- {
- return $this->time_to_retire;
- }
-
- public function hasTimeToRetire()
- {
- return isset($this->time_to_retire);
- }
-
- public function clearTimeToRetire()
- {
- unset($this->time_to_retire);
- }
-
- /**
- * The due time for this IP to be retired in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`. This field is only available when
- * the IP is scheduled to be retired.
- *
- * Generated from protobuf field .google.protobuf.Timestamp time_to_retire = 3;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setTimeToRetire($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->time_to_retire = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/LocationPreference.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/LocationPreference.php
deleted file mode 100644
index 76e21b9e21c8..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/LocationPreference.php
+++ /dev/null
@@ -1,193 +0,0 @@
-google.cloud.sql.v1beta4.LocationPreference
- */
-class LocationPreference extends \Google\Protobuf\Internal\Message
-{
- /**
- * The App Engine application to follow, it must be in the same region as the
- * Cloud SQL instance. WARNING: Changing this might restart the instance.
- *
- * Generated from protobuf field string follow_gae_application = 1 [deprecated = true];
- * @deprecated
- */
- protected $follow_gae_application = '';
- /**
- * The preferred Compute Engine zone (for example: us-central1-a,
- * us-central1-b, etc.). WARNING: Changing this might restart the instance.
- *
- * Generated from protobuf field string zone = 2;
- */
- protected $zone = '';
- /**
- * The preferred Compute Engine zone for the secondary/failover
- * (for example: us-central1-a, us-central1-b, etc.).
- * To disable this field, set it to 'no_secondary_zone'.
- *
- * Generated from protobuf field string secondary_zone = 4;
- */
- protected $secondary_zone = '';
- /**
- * This is always `sql#locationPreference`.
- *
- * Generated from protobuf field string kind = 3;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $follow_gae_application
- * The App Engine application to follow, it must be in the same region as the
- * Cloud SQL instance. WARNING: Changing this might restart the instance.
- * @type string $zone
- * The preferred Compute Engine zone (for example: us-central1-a,
- * us-central1-b, etc.). WARNING: Changing this might restart the instance.
- * @type string $secondary_zone
- * The preferred Compute Engine zone for the secondary/failover
- * (for example: us-central1-a, us-central1-b, etc.).
- * To disable this field, set it to 'no_secondary_zone'.
- * @type string $kind
- * This is always `sql#locationPreference`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The App Engine application to follow, it must be in the same region as the
- * Cloud SQL instance. WARNING: Changing this might restart the instance.
- *
- * Generated from protobuf field string follow_gae_application = 1 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getFollowGaeApplication()
- {
- @trigger_error('follow_gae_application is deprecated.', E_USER_DEPRECATED);
- return $this->follow_gae_application;
- }
-
- /**
- * The App Engine application to follow, it must be in the same region as the
- * Cloud SQL instance. WARNING: Changing this might restart the instance.
- *
- * Generated from protobuf field string follow_gae_application = 1 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setFollowGaeApplication($var)
- {
- @trigger_error('follow_gae_application is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->follow_gae_application = $var;
-
- return $this;
- }
-
- /**
- * The preferred Compute Engine zone (for example: us-central1-a,
- * us-central1-b, etc.). WARNING: Changing this might restart the instance.
- *
- * Generated from protobuf field string zone = 2;
- * @return string
- */
- public function getZone()
- {
- return $this->zone;
- }
-
- /**
- * The preferred Compute Engine zone (for example: us-central1-a,
- * us-central1-b, etc.). WARNING: Changing this might restart the instance.
- *
- * Generated from protobuf field string zone = 2;
- * @param string $var
- * @return $this
- */
- public function setZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->zone = $var;
-
- return $this;
- }
-
- /**
- * The preferred Compute Engine zone for the secondary/failover
- * (for example: us-central1-a, us-central1-b, etc.).
- * To disable this field, set it to 'no_secondary_zone'.
- *
- * Generated from protobuf field string secondary_zone = 4;
- * @return string
- */
- public function getSecondaryZone()
- {
- return $this->secondary_zone;
- }
-
- /**
- * The preferred Compute Engine zone for the secondary/failover
- * (for example: us-central1-a, us-central1-b, etc.).
- * To disable this field, set it to 'no_secondary_zone'.
- *
- * Generated from protobuf field string secondary_zone = 4;
- * @param string $var
- * @return $this
- */
- public function setSecondaryZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->secondary_zone = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#locationPreference`.
- *
- * Generated from protobuf field string kind = 3;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#locationPreference`.
- *
- * Generated from protobuf field string kind = 3;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/MaintenanceWindow.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/MaintenanceWindow.php
deleted file mode 100644
index 8d9620b9a54a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/MaintenanceWindow.php
+++ /dev/null
@@ -1,252 +0,0 @@
-google.cloud.sql.v1beta4.MaintenanceWindow
- */
-class MaintenanceWindow extends \Google\Protobuf\Internal\Message
-{
- /**
- * hour of day - 0 to 23.
- *
- * Generated from protobuf field .google.protobuf.Int32Value hour = 1;
- */
- protected $hour = null;
- /**
- * day of week (1-7), starting on Monday.
- *
- * Generated from protobuf field .google.protobuf.Int32Value day = 2;
- */
- protected $day = null;
- /**
- * Maintenance timing setting: `canary` (Earlier) or `stable` (Later).
- * [Learn
- * more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlUpdateTrack update_track = 3;
- */
- protected $update_track = 0;
- /**
- * This is always `sql#maintenanceWindow`.
- *
- * Generated from protobuf field string kind = 4;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Int32Value $hour
- * hour of day - 0 to 23.
- * @type \Google\Protobuf\Int32Value $day
- * day of week (1-7), starting on Monday.
- * @type int $update_track
- * Maintenance timing setting: `canary` (Earlier) or `stable` (Later).
- * [Learn
- * more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).
- * @type string $kind
- * This is always `sql#maintenanceWindow`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * hour of day - 0 to 23.
- *
- * Generated from protobuf field .google.protobuf.Int32Value hour = 1;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getHour()
- {
- return $this->hour;
- }
-
- public function hasHour()
- {
- return isset($this->hour);
- }
-
- public function clearHour()
- {
- unset($this->hour);
- }
-
- /**
- * Returns the unboxed value from getHour()
-
- * hour of day - 0 to 23.
- *
- * Generated from protobuf field .google.protobuf.Int32Value hour = 1;
- * @return int|null
- */
- public function getHourUnwrapped()
- {
- return $this->readWrapperValue("hour");
- }
-
- /**
- * hour of day - 0 to 23.
- *
- * Generated from protobuf field .google.protobuf.Int32Value hour = 1;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setHour($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->hour = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * hour of day - 0 to 23.
- *
- * Generated from protobuf field .google.protobuf.Int32Value hour = 1;
- * @param int|null $var
- * @return $this
- */
- public function setHourUnwrapped($var)
- {
- $this->writeWrapperValue("hour", $var);
- return $this;}
-
- /**
- * day of week (1-7), starting on Monday.
- *
- * Generated from protobuf field .google.protobuf.Int32Value day = 2;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getDay()
- {
- return $this->day;
- }
-
- public function hasDay()
- {
- return isset($this->day);
- }
-
- public function clearDay()
- {
- unset($this->day);
- }
-
- /**
- * Returns the unboxed value from getDay()
-
- * day of week (1-7), starting on Monday.
- *
- * Generated from protobuf field .google.protobuf.Int32Value day = 2;
- * @return int|null
- */
- public function getDayUnwrapped()
- {
- return $this->readWrapperValue("day");
- }
-
- /**
- * day of week (1-7), starting on Monday.
- *
- * Generated from protobuf field .google.protobuf.Int32Value day = 2;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setDay($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->day = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * day of week (1-7), starting on Monday.
- *
- * Generated from protobuf field .google.protobuf.Int32Value day = 2;
- * @param int|null $var
- * @return $this
- */
- public function setDayUnwrapped($var)
- {
- $this->writeWrapperValue("day", $var);
- return $this;}
-
- /**
- * Maintenance timing setting: `canary` (Earlier) or `stable` (Later).
- * [Learn
- * more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlUpdateTrack update_track = 3;
- * @return int
- */
- public function getUpdateTrack()
- {
- return $this->update_track;
- }
-
- /**
- * Maintenance timing setting: `canary` (Earlier) or `stable` (Later).
- * [Learn
- * more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlUpdateTrack update_track = 3;
- * @param int $var
- * @return $this
- */
- public function setUpdateTrack($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlUpdateTrack::class);
- $this->update_track = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#maintenanceWindow`.
- *
- * Generated from protobuf field string kind = 4;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#maintenanceWindow`.
- *
- * Generated from protobuf field string kind = 4;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/MySqlReplicaConfiguration.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/MySqlReplicaConfiguration.php
deleted file mode 100644
index 0f3f2dc6b289..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/MySqlReplicaConfiguration.php
+++ /dev/null
@@ -1,548 +0,0 @@
-google.cloud.sql.v1beta4.MySqlReplicaConfiguration
- */
-class MySqlReplicaConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * Path to a SQL dump file in Google Cloud Storage from which the replica
- * instance is to be created. The URI is in the form gs://bucketName/fileName.
- * Compressed gzip files (.gz) are also supported.
- * Dumps have the binlog co-ordinates from which replication
- * begins. This can be accomplished by setting --master-data to 1 when using
- * mysqldump.
- *
- * Generated from protobuf field string dump_file_path = 1;
- */
- protected $dump_file_path = '';
- /**
- * The username for the replication connection.
- *
- * Generated from protobuf field string username = 2;
- */
- protected $username = '';
- /**
- * The password for the replication connection.
- *
- * Generated from protobuf field string password = 3;
- */
- protected $password = '';
- /**
- * Seconds to wait between connect retries. MySQL's default is 60 seconds.
- *
- * Generated from protobuf field .google.protobuf.Int32Value connect_retry_interval = 4;
- */
- protected $connect_retry_interval = null;
- /**
- * Interval in milliseconds between replication heartbeats.
- *
- * Generated from protobuf field .google.protobuf.Int64Value master_heartbeat_period = 5;
- */
- protected $master_heartbeat_period = null;
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 6;
- */
- protected $ca_certificate = '';
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 7;
- */
- protected $client_certificate = '';
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- *
- * Generated from protobuf field string client_key = 8;
- */
- protected $client_key = '';
- /**
- * A list of permissible ciphers to use for SSL encryption.
- *
- * Generated from protobuf field string ssl_cipher = 9;
- */
- protected $ssl_cipher = '';
- /**
- * Whether or not to check the primary instance's Common Name value in the
- * certificate that it sends during the SSL handshake.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_server_certificate = 10;
- */
- protected $verify_server_certificate = null;
- /**
- * This is always `sql#mysqlReplicaConfiguration`.
- *
- * Generated from protobuf field string kind = 11;
- */
- protected $kind = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $dump_file_path
- * Path to a SQL dump file in Google Cloud Storage from which the replica
- * instance is to be created. The URI is in the form gs://bucketName/fileName.
- * Compressed gzip files (.gz) are also supported.
- * Dumps have the binlog co-ordinates from which replication
- * begins. This can be accomplished by setting --master-data to 1 when using
- * mysqldump.
- * @type string $username
- * The username for the replication connection.
- * @type string $password
- * The password for the replication connection.
- * @type \Google\Protobuf\Int32Value $connect_retry_interval
- * Seconds to wait between connect retries. MySQL's default is 60 seconds.
- * @type \Google\Protobuf\Int64Value $master_heartbeat_period
- * Interval in milliseconds between replication heartbeats.
- * @type string $ca_certificate
- * PEM representation of the trusted CA's x509 certificate.
- * @type string $client_certificate
- * PEM representation of the replica's x509 certificate.
- * @type string $client_key
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- * @type string $ssl_cipher
- * A list of permissible ciphers to use for SSL encryption.
- * @type \Google\Protobuf\BoolValue $verify_server_certificate
- * Whether or not to check the primary instance's Common Name value in the
- * certificate that it sends during the SSL handshake.
- * @type string $kind
- * This is always `sql#mysqlReplicaConfiguration`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Path to a SQL dump file in Google Cloud Storage from which the replica
- * instance is to be created. The URI is in the form gs://bucketName/fileName.
- * Compressed gzip files (.gz) are also supported.
- * Dumps have the binlog co-ordinates from which replication
- * begins. This can be accomplished by setting --master-data to 1 when using
- * mysqldump.
- *
- * Generated from protobuf field string dump_file_path = 1;
- * @return string
- */
- public function getDumpFilePath()
- {
- return $this->dump_file_path;
- }
-
- /**
- * Path to a SQL dump file in Google Cloud Storage from which the replica
- * instance is to be created. The URI is in the form gs://bucketName/fileName.
- * Compressed gzip files (.gz) are also supported.
- * Dumps have the binlog co-ordinates from which replication
- * begins. This can be accomplished by setting --master-data to 1 when using
- * mysqldump.
- *
- * Generated from protobuf field string dump_file_path = 1;
- * @param string $var
- * @return $this
- */
- public function setDumpFilePath($var)
- {
- GPBUtil::checkString($var, True);
- $this->dump_file_path = $var;
-
- return $this;
- }
-
- /**
- * The username for the replication connection.
- *
- * Generated from protobuf field string username = 2;
- * @return string
- */
- public function getUsername()
- {
- return $this->username;
- }
-
- /**
- * The username for the replication connection.
- *
- * Generated from protobuf field string username = 2;
- * @param string $var
- * @return $this
- */
- public function setUsername($var)
- {
- GPBUtil::checkString($var, True);
- $this->username = $var;
-
- return $this;
- }
-
- /**
- * The password for the replication connection.
- *
- * Generated from protobuf field string password = 3;
- * @return string
- */
- public function getPassword()
- {
- return $this->password;
- }
-
- /**
- * The password for the replication connection.
- *
- * Generated from protobuf field string password = 3;
- * @param string $var
- * @return $this
- */
- public function setPassword($var)
- {
- GPBUtil::checkString($var, True);
- $this->password = $var;
-
- return $this;
- }
-
- /**
- * Seconds to wait between connect retries. MySQL's default is 60 seconds.
- *
- * Generated from protobuf field .google.protobuf.Int32Value connect_retry_interval = 4;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getConnectRetryInterval()
- {
- return $this->connect_retry_interval;
- }
-
- public function hasConnectRetryInterval()
- {
- return isset($this->connect_retry_interval);
- }
-
- public function clearConnectRetryInterval()
- {
- unset($this->connect_retry_interval);
- }
-
- /**
- * Returns the unboxed value from getConnectRetryInterval()
-
- * Seconds to wait between connect retries. MySQL's default is 60 seconds.
- *
- * Generated from protobuf field .google.protobuf.Int32Value connect_retry_interval = 4;
- * @return int|null
- */
- public function getConnectRetryIntervalUnwrapped()
- {
- return $this->readWrapperValue("connect_retry_interval");
- }
-
- /**
- * Seconds to wait between connect retries. MySQL's default is 60 seconds.
- *
- * Generated from protobuf field .google.protobuf.Int32Value connect_retry_interval = 4;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setConnectRetryInterval($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->connect_retry_interval = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Seconds to wait between connect retries. MySQL's default is 60 seconds.
- *
- * Generated from protobuf field .google.protobuf.Int32Value connect_retry_interval = 4;
- * @param int|null $var
- * @return $this
- */
- public function setConnectRetryIntervalUnwrapped($var)
- {
- $this->writeWrapperValue("connect_retry_interval", $var);
- return $this;}
-
- /**
- * Interval in milliseconds between replication heartbeats.
- *
- * Generated from protobuf field .google.protobuf.Int64Value master_heartbeat_period = 5;
- * @return \Google\Protobuf\Int64Value|null
- */
- public function getMasterHeartbeatPeriod()
- {
- return $this->master_heartbeat_period;
- }
-
- public function hasMasterHeartbeatPeriod()
- {
- return isset($this->master_heartbeat_period);
- }
-
- public function clearMasterHeartbeatPeriod()
- {
- unset($this->master_heartbeat_period);
- }
-
- /**
- * Returns the unboxed value from getMasterHeartbeatPeriod()
-
- * Interval in milliseconds between replication heartbeats.
- *
- * Generated from protobuf field .google.protobuf.Int64Value master_heartbeat_period = 5;
- * @return int|string|null
- */
- public function getMasterHeartbeatPeriodUnwrapped()
- {
- return $this->readWrapperValue("master_heartbeat_period");
- }
-
- /**
- * Interval in milliseconds between replication heartbeats.
- *
- * Generated from protobuf field .google.protobuf.Int64Value master_heartbeat_period = 5;
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- */
- public function setMasterHeartbeatPeriod($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->master_heartbeat_period = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * Interval in milliseconds between replication heartbeats.
- *
- * Generated from protobuf field .google.protobuf.Int64Value master_heartbeat_period = 5;
- * @param int|string|null $var
- * @return $this
- */
- public function setMasterHeartbeatPeriodUnwrapped($var)
- {
- $this->writeWrapperValue("master_heartbeat_period", $var);
- return $this;}
-
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 6;
- * @return string
- */
- public function getCaCertificate()
- {
- return $this->ca_certificate;
- }
-
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 6;
- * @param string $var
- * @return $this
- */
- public function setCaCertificate($var)
- {
- GPBUtil::checkString($var, True);
- $this->ca_certificate = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 7;
- * @return string
- */
- public function getClientCertificate()
- {
- return $this->client_certificate;
- }
-
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 7;
- * @param string $var
- * @return $this
- */
- public function setClientCertificate($var)
- {
- GPBUtil::checkString($var, True);
- $this->client_certificate = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- *
- * Generated from protobuf field string client_key = 8;
- * @return string
- */
- public function getClientKey()
- {
- return $this->client_key;
- }
-
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- *
- * Generated from protobuf field string client_key = 8;
- * @param string $var
- * @return $this
- */
- public function setClientKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->client_key = $var;
-
- return $this;
- }
-
- /**
- * A list of permissible ciphers to use for SSL encryption.
- *
- * Generated from protobuf field string ssl_cipher = 9;
- * @return string
- */
- public function getSslCipher()
- {
- return $this->ssl_cipher;
- }
-
- /**
- * A list of permissible ciphers to use for SSL encryption.
- *
- * Generated from protobuf field string ssl_cipher = 9;
- * @param string $var
- * @return $this
- */
- public function setSslCipher($var)
- {
- GPBUtil::checkString($var, True);
- $this->ssl_cipher = $var;
-
- return $this;
- }
-
- /**
- * Whether or not to check the primary instance's Common Name value in the
- * certificate that it sends during the SSL handshake.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_server_certificate = 10;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getVerifyServerCertificate()
- {
- return $this->verify_server_certificate;
- }
-
- public function hasVerifyServerCertificate()
- {
- return isset($this->verify_server_certificate);
- }
-
- public function clearVerifyServerCertificate()
- {
- unset($this->verify_server_certificate);
- }
-
- /**
- * Returns the unboxed value from getVerifyServerCertificate()
-
- * Whether or not to check the primary instance's Common Name value in the
- * certificate that it sends during the SSL handshake.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_server_certificate = 10;
- * @return bool|null
- */
- public function getVerifyServerCertificateUnwrapped()
- {
- return $this->readWrapperValue("verify_server_certificate");
- }
-
- /**
- * Whether or not to check the primary instance's Common Name value in the
- * certificate that it sends during the SSL handshake.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_server_certificate = 10;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setVerifyServerCertificate($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->verify_server_certificate = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether or not to check the primary instance's Common Name value in the
- * certificate that it sends during the SSL handshake.
- *
- * Generated from protobuf field .google.protobuf.BoolValue verify_server_certificate = 10;
- * @param bool|null $var
- * @return $this
- */
- public function setVerifyServerCertificateUnwrapped($var)
- {
- $this->writeWrapperValue("verify_server_certificate", $var);
- return $this;}
-
- /**
- * This is always `sql#mysqlReplicaConfiguration`.
- *
- * Generated from protobuf field string kind = 11;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#mysqlReplicaConfiguration`.
- *
- * Generated from protobuf field string kind = 11;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/MySqlSyncConfig.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/MySqlSyncConfig.php
deleted file mode 100644
index 74d504b4c994..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/MySqlSyncConfig.php
+++ /dev/null
@@ -1,67 +0,0 @@
-google.cloud.sql.v1beta4.MySqlSyncConfig
- */
-class MySqlSyncConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Flags to use for the initial dump.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SyncFlags initial_sync_flags = 1;
- */
- private $initial_sync_flags;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<\Google\Cloud\Sql\V1beta4\SyncFlags>|\Google\Protobuf\Internal\RepeatedField $initial_sync_flags
- * Flags to use for the initial dump.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Flags to use for the initial dump.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SyncFlags initial_sync_flags = 1;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getInitialSyncFlags()
- {
- return $this->initial_sync_flags;
- }
-
- /**
- * Flags to use for the initial dump.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SyncFlags initial_sync_flags = 1;
- * @param array<\Google\Cloud\Sql\V1beta4\SyncFlags>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setInitialSyncFlags($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\SyncFlags::class);
- $this->initial_sync_flags = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/OnPremisesConfiguration.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/OnPremisesConfiguration.php
deleted file mode 100644
index 053792bafd85..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/OnPremisesConfiguration.php
+++ /dev/null
@@ -1,353 +0,0 @@
-google.cloud.sql.v1beta4.OnPremisesConfiguration
- */
-class OnPremisesConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * The host and port of the on-premises instance in host:port format
- *
- * Generated from protobuf field string host_port = 1;
- */
- protected $host_port = '';
- /**
- * This is always `sql#onPremisesConfiguration`.
- *
- * Generated from protobuf field string kind = 2;
- */
- protected $kind = '';
- /**
- * The username for connecting to on-premises instance.
- *
- * Generated from protobuf field string username = 3;
- */
- protected $username = '';
- /**
- * The password for connecting to on-premises instance.
- *
- * Generated from protobuf field string password = 4;
- */
- protected $password = '';
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 5;
- */
- protected $ca_certificate = '';
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 6;
- */
- protected $client_certificate = '';
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- *
- * Generated from protobuf field string client_key = 7;
- */
- protected $client_key = '';
- /**
- * The dump file to create the Cloud SQL replica.
- *
- * Generated from protobuf field string dump_file_path = 8;
- */
- protected $dump_file_path = '';
- /**
- * The reference to Cloud SQL instance if the source is Cloud SQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstanceReference source_instance = 15;
- */
- protected $source_instance = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $host_port
- * The host and port of the on-premises instance in host:port format
- * @type string $kind
- * This is always `sql#onPremisesConfiguration`.
- * @type string $username
- * The username for connecting to on-premises instance.
- * @type string $password
- * The password for connecting to on-premises instance.
- * @type string $ca_certificate
- * PEM representation of the trusted CA's x509 certificate.
- * @type string $client_certificate
- * PEM representation of the replica's x509 certificate.
- * @type string $client_key
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- * @type string $dump_file_path
- * The dump file to create the Cloud SQL replica.
- * @type \Google\Cloud\Sql\V1beta4\InstanceReference $source_instance
- * The reference to Cloud SQL instance if the source is Cloud SQL.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The host and port of the on-premises instance in host:port format
- *
- * Generated from protobuf field string host_port = 1;
- * @return string
- */
- public function getHostPort()
- {
- return $this->host_port;
- }
-
- /**
- * The host and port of the on-premises instance in host:port format
- *
- * Generated from protobuf field string host_port = 1;
- * @param string $var
- * @return $this
- */
- public function setHostPort($var)
- {
- GPBUtil::checkString($var, True);
- $this->host_port = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#onPremisesConfiguration`.
- *
- * Generated from protobuf field string kind = 2;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#onPremisesConfiguration`.
- *
- * Generated from protobuf field string kind = 2;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The username for connecting to on-premises instance.
- *
- * Generated from protobuf field string username = 3;
- * @return string
- */
- public function getUsername()
- {
- return $this->username;
- }
-
- /**
- * The username for connecting to on-premises instance.
- *
- * Generated from protobuf field string username = 3;
- * @param string $var
- * @return $this
- */
- public function setUsername($var)
- {
- GPBUtil::checkString($var, True);
- $this->username = $var;
-
- return $this;
- }
-
- /**
- * The password for connecting to on-premises instance.
- *
- * Generated from protobuf field string password = 4;
- * @return string
- */
- public function getPassword()
- {
- return $this->password;
- }
-
- /**
- * The password for connecting to on-premises instance.
- *
- * Generated from protobuf field string password = 4;
- * @param string $var
- * @return $this
- */
- public function setPassword($var)
- {
- GPBUtil::checkString($var, True);
- $this->password = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 5;
- * @return string
- */
- public function getCaCertificate()
- {
- return $this->ca_certificate;
- }
-
- /**
- * PEM representation of the trusted CA's x509 certificate.
- *
- * Generated from protobuf field string ca_certificate = 5;
- * @param string $var
- * @return $this
- */
- public function setCaCertificate($var)
- {
- GPBUtil::checkString($var, True);
- $this->ca_certificate = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 6;
- * @return string
- */
- public function getClientCertificate()
- {
- return $this->client_certificate;
- }
-
- /**
- * PEM representation of the replica's x509 certificate.
- *
- * Generated from protobuf field string client_certificate = 6;
- * @param string $var
- * @return $this
- */
- public function setClientCertificate($var)
- {
- GPBUtil::checkString($var, True);
- $this->client_certificate = $var;
-
- return $this;
- }
-
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- *
- * Generated from protobuf field string client_key = 7;
- * @return string
- */
- public function getClientKey()
- {
- return $this->client_key;
- }
-
- /**
- * PEM representation of the replica's private key. The corresponsing public
- * key is encoded in the client's certificate.
- *
- * Generated from protobuf field string client_key = 7;
- * @param string $var
- * @return $this
- */
- public function setClientKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->client_key = $var;
-
- return $this;
- }
-
- /**
- * The dump file to create the Cloud SQL replica.
- *
- * Generated from protobuf field string dump_file_path = 8;
- * @return string
- */
- public function getDumpFilePath()
- {
- return $this->dump_file_path;
- }
-
- /**
- * The dump file to create the Cloud SQL replica.
- *
- * Generated from protobuf field string dump_file_path = 8;
- * @param string $var
- * @return $this
- */
- public function setDumpFilePath($var)
- {
- GPBUtil::checkString($var, True);
- $this->dump_file_path = $var;
-
- return $this;
- }
-
- /**
- * The reference to Cloud SQL instance if the source is Cloud SQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstanceReference source_instance = 15;
- * @return \Google\Cloud\Sql\V1beta4\InstanceReference|null
- */
- public function getSourceInstance()
- {
- return $this->source_instance;
- }
-
- public function hasSourceInstance()
- {
- return isset($this->source_instance);
- }
-
- public function clearSourceInstance()
- {
- unset($this->source_instance);
- }
-
- /**
- * The reference to Cloud SQL instance if the source is Cloud SQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstanceReference source_instance = 15;
- * @param \Google\Cloud\Sql\V1beta4\InstanceReference $var
- * @return $this
- */
- public function setSourceInstance($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\InstanceReference::class);
- $this->source_instance = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Operation.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Operation.php
deleted file mode 100644
index cd0fb1b7fb4d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Operation.php
+++ /dev/null
@@ -1,814 +0,0 @@
-google.cloud.sql.v1beta4.Operation
- */
-class Operation extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#operation`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Generated from protobuf field string target_link = 2;
- */
- protected $target_link = '';
- /**
- * The status of an operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Operation.SqlOperationStatus status = 3;
- */
- protected $status = 0;
- /**
- * The email address of the user who initiated this operation.
- *
- * Generated from protobuf field string user = 4;
- */
- protected $user = '';
- /**
- * The time this operation was enqueued in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp insert_time = 5;
- */
- protected $insert_time = null;
- /**
- * The time this operation actually started in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 6;
- */
- protected $start_time = null;
- /**
- * The time this operation finished in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 7;
- */
- protected $end_time = null;
- /**
- * If errors occurred during processing of this operation, this field will be
- * populated.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.OperationErrors error = 8;
- */
- protected $error = null;
- /**
- * An Admin API warning message.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ApiWarning api_warning = 19;
- */
- protected $api_warning = null;
- /**
- * The type of the operation. Valid values are:
- * * `CREATE`
- * * `DELETE`
- * * `UPDATE`
- * * `RESTART`
- * * `IMPORT`
- * * `EXPORT`
- * * `BACKUP_VOLUME`
- * * `RESTORE_VOLUME`
- * * `CREATE_USER`
- * * `DELETE_USER`
- * * `CREATE_DATABASE`
- * * `DELETE_DATABASE`
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Operation.SqlOperationType operation_type = 9;
- */
- protected $operation_type = 0;
- /**
- * The context for import operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext import_context = 10;
- */
- protected $import_context = null;
- /**
- * The context for export operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext export_context = 11;
- */
- protected $export_context = null;
- /**
- * The context for backup operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupContext backup_context = 17;
- */
- protected $backup_context = null;
- /**
- * An identifier that uniquely identifies the operation. You can use this
- * identifier to retrieve the Operations resource that has information about
- * the operation.
- *
- * Generated from protobuf field string name = 12;
- */
- protected $name = '';
- /**
- * Name of the database instance related to this operation.
- *
- * Generated from protobuf field string target_id = 13;
- */
- protected $target_id = '';
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 14;
- */
- protected $self_link = '';
- /**
- * The project ID of the target instance related to this operation.
- *
- * Generated from protobuf field string target_project = 15;
- */
- protected $target_project = '';
- /**
- * The context for acquire SSRS lease operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 20;
- */
- protected $acquire_ssrs_lease_context = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#operation`.
- * @type string $target_link
- * @type int $status
- * The status of an operation.
- * @type string $user
- * The email address of the user who initiated this operation.
- * @type \Google\Protobuf\Timestamp $insert_time
- * The time this operation was enqueued in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type \Google\Protobuf\Timestamp $start_time
- * The time this operation actually started in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type \Google\Protobuf\Timestamp $end_time
- * The time this operation finished in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type \Google\Cloud\Sql\V1beta4\OperationErrors $error
- * If errors occurred during processing of this operation, this field will be
- * populated.
- * @type \Google\Cloud\Sql\V1beta4\ApiWarning $api_warning
- * An Admin API warning message.
- * @type int $operation_type
- * The type of the operation. Valid values are:
- * * `CREATE`
- * * `DELETE`
- * * `UPDATE`
- * * `RESTART`
- * * `IMPORT`
- * * `EXPORT`
- * * `BACKUP_VOLUME`
- * * `RESTORE_VOLUME`
- * * `CREATE_USER`
- * * `DELETE_USER`
- * * `CREATE_DATABASE`
- * * `DELETE_DATABASE`
- * @type \Google\Cloud\Sql\V1beta4\ImportContext $import_context
- * The context for import operation, if applicable.
- * @type \Google\Cloud\Sql\V1beta4\ExportContext $export_context
- * The context for export operation, if applicable.
- * @type \Google\Cloud\Sql\V1beta4\BackupContext $backup_context
- * The context for backup operation, if applicable.
- * @type string $name
- * An identifier that uniquely identifies the operation. You can use this
- * identifier to retrieve the Operations resource that has information about
- * the operation.
- * @type string $target_id
- * Name of the database instance related to this operation.
- * @type string $self_link
- * The URI of this resource.
- * @type string $target_project
- * The project ID of the target instance related to this operation.
- * @type \Google\Cloud\Sql\V1beta4\AcquireSsrsLeaseContext $acquire_ssrs_lease_context
- * The context for acquire SSRS lease operation, if applicable.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#operation`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#operation`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field string target_link = 2;
- * @return string
- */
- public function getTargetLink()
- {
- return $this->target_link;
- }
-
- /**
- * Generated from protobuf field string target_link = 2;
- * @param string $var
- * @return $this
- */
- public function setTargetLink($var)
- {
- GPBUtil::checkString($var, True);
- $this->target_link = $var;
-
- return $this;
- }
-
- /**
- * The status of an operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Operation.SqlOperationStatus status = 3;
- * @return int
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * The status of an operation.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Operation.SqlOperationStatus status = 3;
- * @param int $var
- * @return $this
- */
- public function setStatus($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\Operation\SqlOperationStatus::class);
- $this->status = $var;
-
- return $this;
- }
-
- /**
- * The email address of the user who initiated this operation.
- *
- * Generated from protobuf field string user = 4;
- * @return string
- */
- public function getUser()
- {
- return $this->user;
- }
-
- /**
- * The email address of the user who initiated this operation.
- *
- * Generated from protobuf field string user = 4;
- * @param string $var
- * @return $this
- */
- public function setUser($var)
- {
- GPBUtil::checkString($var, True);
- $this->user = $var;
-
- return $this;
- }
-
- /**
- * The time this operation was enqueued in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp insert_time = 5;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getInsertTime()
- {
- return $this->insert_time;
- }
-
- public function hasInsertTime()
- {
- return isset($this->insert_time);
- }
-
- public function clearInsertTime()
- {
- unset($this->insert_time);
- }
-
- /**
- * The time this operation was enqueued in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp insert_time = 5;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setInsertTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->insert_time = $var;
-
- return $this;
- }
-
- /**
- * The time this operation actually started in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 6;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getStartTime()
- {
- return $this->start_time;
- }
-
- public function hasStartTime()
- {
- return isset($this->start_time);
- }
-
- public function clearStartTime()
- {
- unset($this->start_time);
- }
-
- /**
- * The time this operation actually started in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp start_time = 6;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setStartTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->start_time = $var;
-
- return $this;
- }
-
- /**
- * The time this operation finished in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 7;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getEndTime()
- {
- return $this->end_time;
- }
-
- public function hasEndTime()
- {
- return isset($this->end_time);
- }
-
- public function clearEndTime()
- {
- unset($this->end_time);
- }
-
- /**
- * The time this operation finished in UTC timezone in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp end_time = 7;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setEndTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->end_time = $var;
-
- return $this;
- }
-
- /**
- * If errors occurred during processing of this operation, this field will be
- * populated.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.OperationErrors error = 8;
- * @return \Google\Cloud\Sql\V1beta4\OperationErrors|null
- */
- public function getError()
- {
- return $this->error;
- }
-
- public function hasError()
- {
- return isset($this->error);
- }
-
- public function clearError()
- {
- unset($this->error);
- }
-
- /**
- * If errors occurred during processing of this operation, this field will be
- * populated.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.OperationErrors error = 8;
- * @param \Google\Cloud\Sql\V1beta4\OperationErrors $var
- * @return $this
- */
- public function setError($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\OperationErrors::class);
- $this->error = $var;
-
- return $this;
- }
-
- /**
- * An Admin API warning message.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ApiWarning api_warning = 19;
- * @return \Google\Cloud\Sql\V1beta4\ApiWarning|null
- */
- public function getApiWarning()
- {
- return $this->api_warning;
- }
-
- public function hasApiWarning()
- {
- return isset($this->api_warning);
- }
-
- public function clearApiWarning()
- {
- unset($this->api_warning);
- }
-
- /**
- * An Admin API warning message.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ApiWarning api_warning = 19;
- * @param \Google\Cloud\Sql\V1beta4\ApiWarning $var
- * @return $this
- */
- public function setApiWarning($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ApiWarning::class);
- $this->api_warning = $var;
-
- return $this;
- }
-
- /**
- * The type of the operation. Valid values are:
- * * `CREATE`
- * * `DELETE`
- * * `UPDATE`
- * * `RESTART`
- * * `IMPORT`
- * * `EXPORT`
- * * `BACKUP_VOLUME`
- * * `RESTORE_VOLUME`
- * * `CREATE_USER`
- * * `DELETE_USER`
- * * `CREATE_DATABASE`
- * * `DELETE_DATABASE`
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Operation.SqlOperationType operation_type = 9;
- * @return int
- */
- public function getOperationType()
- {
- return $this->operation_type;
- }
-
- /**
- * The type of the operation. Valid values are:
- * * `CREATE`
- * * `DELETE`
- * * `UPDATE`
- * * `RESTART`
- * * `IMPORT`
- * * `EXPORT`
- * * `BACKUP_VOLUME`
- * * `RESTORE_VOLUME`
- * * `CREATE_USER`
- * * `DELETE_USER`
- * * `CREATE_DATABASE`
- * * `DELETE_DATABASE`
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Operation.SqlOperationType operation_type = 9;
- * @param int $var
- * @return $this
- */
- public function setOperationType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\Operation\SqlOperationType::class);
- $this->operation_type = $var;
-
- return $this;
- }
-
- /**
- * The context for import operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext import_context = 10;
- * @return \Google\Cloud\Sql\V1beta4\ImportContext|null
- */
- public function getImportContext()
- {
- return $this->import_context;
- }
-
- public function hasImportContext()
- {
- return isset($this->import_context);
- }
-
- public function clearImportContext()
- {
- unset($this->import_context);
- }
-
- /**
- * The context for import operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ImportContext import_context = 10;
- * @param \Google\Cloud\Sql\V1beta4\ImportContext $var
- * @return $this
- */
- public function setImportContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ImportContext::class);
- $this->import_context = $var;
-
- return $this;
- }
-
- /**
- * The context for export operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext export_context = 11;
- * @return \Google\Cloud\Sql\V1beta4\ExportContext|null
- */
- public function getExportContext()
- {
- return $this->export_context;
- }
-
- public function hasExportContext()
- {
- return isset($this->export_context);
- }
-
- public function clearExportContext()
- {
- unset($this->export_context);
- }
-
- /**
- * The context for export operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExportContext export_context = 11;
- * @param \Google\Cloud\Sql\V1beta4\ExportContext $var
- * @return $this
- */
- public function setExportContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\ExportContext::class);
- $this->export_context = $var;
-
- return $this;
- }
-
- /**
- * The context for backup operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupContext backup_context = 17;
- * @return \Google\Cloud\Sql\V1beta4\BackupContext|null
- */
- public function getBackupContext()
- {
- return $this->backup_context;
- }
-
- public function hasBackupContext()
- {
- return isset($this->backup_context);
- }
-
- public function clearBackupContext()
- {
- unset($this->backup_context);
- }
-
- /**
- * The context for backup operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupContext backup_context = 17;
- * @param \Google\Cloud\Sql\V1beta4\BackupContext $var
- * @return $this
- */
- public function setBackupContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\BackupContext::class);
- $this->backup_context = $var;
-
- return $this;
- }
-
- /**
- * An identifier that uniquely identifies the operation. You can use this
- * identifier to retrieve the Operations resource that has information about
- * the operation.
- *
- * Generated from protobuf field string name = 12;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * An identifier that uniquely identifies the operation. You can use this
- * identifier to retrieve the Operations resource that has information about
- * the operation.
- *
- * Generated from protobuf field string name = 12;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Name of the database instance related to this operation.
- *
- * Generated from protobuf field string target_id = 13;
- * @return string
- */
- public function getTargetId()
- {
- return $this->target_id;
- }
-
- /**
- * Name of the database instance related to this operation.
- *
- * Generated from protobuf field string target_id = 13;
- * @param string $var
- * @return $this
- */
- public function setTargetId($var)
- {
- GPBUtil::checkString($var, True);
- $this->target_id = $var;
-
- return $this;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 14;
- * @return string
- */
- public function getSelfLink()
- {
- return $this->self_link;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 14;
- * @param string $var
- * @return $this
- */
- public function setSelfLink($var)
- {
- GPBUtil::checkString($var, True);
- $this->self_link = $var;
-
- return $this;
- }
-
- /**
- * The project ID of the target instance related to this operation.
- *
- * Generated from protobuf field string target_project = 15;
- * @return string
- */
- public function getTargetProject()
- {
- return $this->target_project;
- }
-
- /**
- * The project ID of the target instance related to this operation.
- *
- * Generated from protobuf field string target_project = 15;
- * @param string $var
- * @return $this
- */
- public function setTargetProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->target_project = $var;
-
- return $this;
- }
-
- /**
- * The context for acquire SSRS lease operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 20;
- * @return \Google\Cloud\Sql\V1beta4\AcquireSsrsLeaseContext|null
- */
- public function getAcquireSsrsLeaseContext()
- {
- return $this->acquire_ssrs_lease_context;
- }
-
- public function hasAcquireSsrsLeaseContext()
- {
- return isset($this->acquire_ssrs_lease_context);
- }
-
- public function clearAcquireSsrsLeaseContext()
- {
- unset($this->acquire_ssrs_lease_context);
- }
-
- /**
- * The context for acquire SSRS lease operation, if applicable.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 20;
- * @param \Google\Cloud\Sql\V1beta4\AcquireSsrsLeaseContext $var
- * @return $this
- */
- public function setAcquireSsrsLeaseContext($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\AcquireSsrsLeaseContext::class);
- $this->acquire_ssrs_lease_context = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Operation/SqlOperationStatus.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Operation/SqlOperationStatus.php
deleted file mode 100644
index c54ba4540e0b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Operation/SqlOperationStatus.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.cloud.sql.v1beta4.Operation.SqlOperationStatus
- */
-class SqlOperationStatus
-{
- /**
- * The state of the operation is unknown.
- *
- * Generated from protobuf enum SQL_OPERATION_STATUS_UNSPECIFIED = 0;
- */
- const SQL_OPERATION_STATUS_UNSPECIFIED = 0;
- /**
- * The operation has been queued, but has not started yet.
- *
- * Generated from protobuf enum PENDING = 1;
- */
- const PENDING = 1;
- /**
- * The operation is running.
- *
- * Generated from protobuf enum RUNNING = 2;
- */
- const RUNNING = 2;
- /**
- * The operation completed.
- *
- * Generated from protobuf enum DONE = 3;
- */
- const DONE = 3;
-
- private static $valueToName = [
- self::SQL_OPERATION_STATUS_UNSPECIFIED => 'SQL_OPERATION_STATUS_UNSPECIFIED',
- self::PENDING => 'PENDING',
- self::RUNNING => 'RUNNING',
- self::DONE => 'DONE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlOperationStatus::class, \Google\Cloud\Sql\V1beta4\Operation_SqlOperationStatus::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Operation/SqlOperationType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Operation/SqlOperationType.php
deleted file mode 100644
index efad29723eb5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Operation/SqlOperationType.php
+++ /dev/null
@@ -1,342 +0,0 @@
-google.cloud.sql.v1beta4.Operation.SqlOperationType
- */
-class SqlOperationType
-{
- /**
- * Unknown operation type.
- *
- * Generated from protobuf enum SQL_OPERATION_TYPE_UNSPECIFIED = 0;
- */
- const SQL_OPERATION_TYPE_UNSPECIFIED = 0;
- /**
- * Imports data into a Cloud SQL instance.
- *
- * Generated from protobuf enum IMPORT = 1;
- */
- const IMPORT = 1;
- /**
- * Exports data from a Cloud SQL instance to a Cloud Storage
- * bucket.
- *
- * Generated from protobuf enum EXPORT = 2;
- */
- const EXPORT = 2;
- /**
- * Creates a new Cloud SQL instance.
- *
- * Generated from protobuf enum CREATE = 3;
- */
- const CREATE = 3;
- /**
- * Updates the settings of a Cloud SQL instance.
- *
- * Generated from protobuf enum UPDATE = 4;
- */
- const UPDATE = 4;
- /**
- * Deletes a Cloud SQL instance.
- *
- * Generated from protobuf enum DELETE = 5;
- */
- const DELETE = 5;
- /**
- * Restarts the Cloud SQL instance.
- *
- * Generated from protobuf enum RESTART = 6;
- */
- const RESTART = 6;
- /**
- * Generated from protobuf enum BACKUP = 7 [deprecated = true];
- */
- const BACKUP = 7;
- /**
- * Generated from protobuf enum SNAPSHOT = 8 [deprecated = true];
- */
- const SNAPSHOT = 8;
- /**
- * Performs instance backup.
- *
- * Generated from protobuf enum BACKUP_VOLUME = 9;
- */
- const BACKUP_VOLUME = 9;
- /**
- * Deletes an instance backup.
- *
- * Generated from protobuf enum DELETE_VOLUME = 10;
- */
- const DELETE_VOLUME = 10;
- /**
- * Restores an instance backup.
- *
- * Generated from protobuf enum RESTORE_VOLUME = 11;
- */
- const RESTORE_VOLUME = 11;
- /**
- * Injects a privileged user in mysql for MOB instances.
- *
- * Generated from protobuf enum INJECT_USER = 12;
- */
- const INJECT_USER = 12;
- /**
- * Clones a Cloud SQL instance.
- *
- * Generated from protobuf enum CLONE = 14;
- */
- const PBCLONE = 14;
- /**
- * Stops replication on a Cloud SQL read replica instance.
- *
- * Generated from protobuf enum STOP_REPLICA = 15;
- */
- const STOP_REPLICA = 15;
- /**
- * Starts replication on a Cloud SQL read replica instance.
- *
- * Generated from protobuf enum START_REPLICA = 16;
- */
- const START_REPLICA = 16;
- /**
- * Promotes a Cloud SQL replica instance.
- *
- * Generated from protobuf enum PROMOTE_REPLICA = 17;
- */
- const PROMOTE_REPLICA = 17;
- /**
- * Creates a Cloud SQL replica instance.
- *
- * Generated from protobuf enum CREATE_REPLICA = 18;
- */
- const CREATE_REPLICA = 18;
- /**
- * Creates a new user in a Cloud SQL instance.
- *
- * Generated from protobuf enum CREATE_USER = 19;
- */
- const CREATE_USER = 19;
- /**
- * Deletes a user from a Cloud SQL instance.
- *
- * Generated from protobuf enum DELETE_USER = 20;
- */
- const DELETE_USER = 20;
- /**
- * Updates an existing user in a Cloud SQL instance.
- *
- * Generated from protobuf enum UPDATE_USER = 21;
- */
- const UPDATE_USER = 21;
- /**
- * Creates a database in the Cloud SQL instance.
- *
- * Generated from protobuf enum CREATE_DATABASE = 22;
- */
- const CREATE_DATABASE = 22;
- /**
- * Deletes a database in the Cloud SQL instance.
- *
- * Generated from protobuf enum DELETE_DATABASE = 23;
- */
- const DELETE_DATABASE = 23;
- /**
- * Updates a database in the Cloud SQL instance.
- *
- * Generated from protobuf enum UPDATE_DATABASE = 24;
- */
- const UPDATE_DATABASE = 24;
- /**
- * Performs failover of an HA-enabled Cloud SQL
- * failover replica.
- *
- * Generated from protobuf enum FAILOVER = 25;
- */
- const FAILOVER = 25;
- /**
- * Deletes the backup taken by a backup run.
- *
- * Generated from protobuf enum DELETE_BACKUP = 26;
- */
- const DELETE_BACKUP = 26;
- /**
- * Generated from protobuf enum RECREATE_REPLICA = 27;
- */
- const RECREATE_REPLICA = 27;
- /**
- * Truncates a general or slow log table in MySQL.
- *
- * Generated from protobuf enum TRUNCATE_LOG = 28;
- */
- const TRUNCATE_LOG = 28;
- /**
- * Demotes the stand-alone instance to be a Cloud SQL
- * read replica for an external database server.
- *
- * Generated from protobuf enum DEMOTE_MASTER = 29;
- */
- const DEMOTE_MASTER = 29;
- /**
- * Indicates that the instance is currently in maintenance. Maintenance
- * typically causes the instance to be unavailable for 1-3 minutes.
- *
- * Generated from protobuf enum MAINTENANCE = 30;
- */
- const MAINTENANCE = 30;
- /**
- * This field is deprecated, and will be removed in future version of API.
- *
- * Generated from protobuf enum ENABLE_PRIVATE_IP = 31 [deprecated = true];
- */
- const ENABLE_PRIVATE_IP = 31;
- /**
- * Generated from protobuf enum DEFER_MAINTENANCE = 32 [deprecated = true];
- */
- const DEFER_MAINTENANCE = 32;
- /**
- * Creates clone instance.
- *
- * Generated from protobuf enum CREATE_CLONE = 33 [deprecated = true];
- */
- const CREATE_CLONE = 33;
- /**
- * Reschedule maintenance to another time.
- *
- * Generated from protobuf enum RESCHEDULE_MAINTENANCE = 34;
- */
- const RESCHEDULE_MAINTENANCE = 34;
- /**
- * Starts external sync of a Cloud SQL EM replica to an external primary
- * instance.
- *
- * Generated from protobuf enum START_EXTERNAL_SYNC = 35;
- */
- const START_EXTERNAL_SYNC = 35;
- /**
- * Recovers logs from an instance's old data disk.
- *
- * Generated from protobuf enum LOG_CLEANUP = 36;
- */
- const LOG_CLEANUP = 36;
- /**
- * Performs auto-restart of an HA-enabled Cloud SQL database for auto
- * recovery.
- *
- * Generated from protobuf enum AUTO_RESTART = 37;
- */
- const AUTO_RESTART = 37;
- /**
- * Re-encrypts CMEK instances with latest key version.
- *
- * Generated from protobuf enum REENCRYPT = 38;
- */
- const REENCRYPT = 38;
- /**
- * Switches over to replica instance from primary.
- *
- * Generated from protobuf enum SWITCHOVER = 39;
- */
- const SWITCHOVER = 39;
- /**
- * Acquire a lease for the setup of SQL Server Reporting Services (SSRS).
- *
- * Generated from protobuf enum ACQUIRE_SSRS_LEASE = 42;
- */
- const ACQUIRE_SSRS_LEASE = 42;
- /**
- * Release a lease for the setup of SQL Server Reporting Services (SSRS).
- *
- * Generated from protobuf enum RELEASE_SSRS_LEASE = 43;
- */
- const RELEASE_SSRS_LEASE = 43;
- /**
- * Reconfigures old primary after a promote replica operation. Effect of a
- * promote operation to the old primary is executed in this operation,
- * asynchronously from the promote replica operation executed to the
- * replica.
- *
- * Generated from protobuf enum RECONFIGURE_OLD_PRIMARY = 44;
- */
- const RECONFIGURE_OLD_PRIMARY = 44;
-
- private static $valueToName = [
- self::SQL_OPERATION_TYPE_UNSPECIFIED => 'SQL_OPERATION_TYPE_UNSPECIFIED',
- self::IMPORT => 'IMPORT',
- self::EXPORT => 'EXPORT',
- self::CREATE => 'CREATE',
- self::UPDATE => 'UPDATE',
- self::DELETE => 'DELETE',
- self::RESTART => 'RESTART',
- self::BACKUP => 'BACKUP',
- self::SNAPSHOT => 'SNAPSHOT',
- self::BACKUP_VOLUME => 'BACKUP_VOLUME',
- self::DELETE_VOLUME => 'DELETE_VOLUME',
- self::RESTORE_VOLUME => 'RESTORE_VOLUME',
- self::INJECT_USER => 'INJECT_USER',
- self::PBCLONE => 'CLONE',
- self::STOP_REPLICA => 'STOP_REPLICA',
- self::START_REPLICA => 'START_REPLICA',
- self::PROMOTE_REPLICA => 'PROMOTE_REPLICA',
- self::CREATE_REPLICA => 'CREATE_REPLICA',
- self::CREATE_USER => 'CREATE_USER',
- self::DELETE_USER => 'DELETE_USER',
- self::UPDATE_USER => 'UPDATE_USER',
- self::CREATE_DATABASE => 'CREATE_DATABASE',
- self::DELETE_DATABASE => 'DELETE_DATABASE',
- self::UPDATE_DATABASE => 'UPDATE_DATABASE',
- self::FAILOVER => 'FAILOVER',
- self::DELETE_BACKUP => 'DELETE_BACKUP',
- self::RECREATE_REPLICA => 'RECREATE_REPLICA',
- self::TRUNCATE_LOG => 'TRUNCATE_LOG',
- self::DEMOTE_MASTER => 'DEMOTE_MASTER',
- self::MAINTENANCE => 'MAINTENANCE',
- self::ENABLE_PRIVATE_IP => 'ENABLE_PRIVATE_IP',
- self::DEFER_MAINTENANCE => 'DEFER_MAINTENANCE',
- self::CREATE_CLONE => 'CREATE_CLONE',
- self::RESCHEDULE_MAINTENANCE => 'RESCHEDULE_MAINTENANCE',
- self::START_EXTERNAL_SYNC => 'START_EXTERNAL_SYNC',
- self::LOG_CLEANUP => 'LOG_CLEANUP',
- self::AUTO_RESTART => 'AUTO_RESTART',
- self::REENCRYPT => 'REENCRYPT',
- self::SWITCHOVER => 'SWITCHOVER',
- self::ACQUIRE_SSRS_LEASE => 'ACQUIRE_SSRS_LEASE',
- self::RELEASE_SSRS_LEASE => 'RELEASE_SSRS_LEASE',
- self::RECONFIGURE_OLD_PRIMARY => 'RECONFIGURE_OLD_PRIMARY',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- $pbconst = __CLASS__. '::PB' . strtoupper($name);
- if (!defined($pbconst)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($pbconst);
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlOperationType::class, \Google\Cloud\Sql\V1beta4\Operation_SqlOperationType::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/OperationError.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/OperationError.php
deleted file mode 100644
index 2497ccce4f2e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/OperationError.php
+++ /dev/null
@@ -1,135 +0,0 @@
-google.cloud.sql.v1beta4.OperationError
- */
-class OperationError extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#operationError`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Identifies the specific error that occurred.
- *
- * Generated from protobuf field string code = 2;
- */
- protected $code = '';
- /**
- * Additional information about the error encountered.
- *
- * Generated from protobuf field string message = 3;
- */
- protected $message = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#operationError`.
- * @type string $code
- * Identifies the specific error that occurred.
- * @type string $message
- * Additional information about the error encountered.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#operationError`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#operationError`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Identifies the specific error that occurred.
- *
- * Generated from protobuf field string code = 2;
- * @return string
- */
- public function getCode()
- {
- return $this->code;
- }
-
- /**
- * Identifies the specific error that occurred.
- *
- * Generated from protobuf field string code = 2;
- * @param string $var
- * @return $this
- */
- public function setCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->code = $var;
-
- return $this;
- }
-
- /**
- * Additional information about the error encountered.
- *
- * Generated from protobuf field string message = 3;
- * @return string
- */
- public function getMessage()
- {
- return $this->message;
- }
-
- /**
- * Additional information about the error encountered.
- *
- * Generated from protobuf field string message = 3;
- * @param string $var
- * @return $this
- */
- public function setMessage($var)
- {
- GPBUtil::checkString($var, True);
- $this->message = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/OperationErrors.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/OperationErrors.php
deleted file mode 100644
index dc8f95063c94..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/OperationErrors.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.OperationErrors
- */
-class OperationErrors extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#operationErrors`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The list of errors encountered while processing this operation.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.OperationError errors = 2;
- */
- private $errors;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#operationErrors`.
- * @type array<\Google\Cloud\Sql\V1beta4\OperationError>|\Google\Protobuf\Internal\RepeatedField $errors
- * The list of errors encountered while processing this operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#operationErrors`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#operationErrors`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The list of errors encountered while processing this operation.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.OperationError errors = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getErrors()
- {
- return $this->errors;
- }
-
- /**
- * The list of errors encountered while processing this operation.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.OperationError errors = 2;
- * @param array<\Google\Cloud\Sql\V1beta4\OperationError>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setErrors($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\OperationError::class);
- $this->errors = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/OperationsListResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/OperationsListResponse.php
deleted file mode 100644
index a0a70a583899..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/OperationsListResponse.php
+++ /dev/null
@@ -1,139 +0,0 @@
-google.cloud.sql.v1beta4.OperationsListResponse
- */
-class OperationsListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#operationsList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of operation resources.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.Operation items = 2;
- */
- private $items;
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 3;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#operationsList`.
- * @type array<\Google\Cloud\Sql\V1beta4\Operation>|\Google\Protobuf\Internal\RepeatedField $items
- * List of operation resources.
- * @type string $next_page_token
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#operationsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#operationsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of operation resources.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.Operation items = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * List of operation resources.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.Operation items = 2;
- * @param array<\Google\Cloud\Sql\V1beta4\Operation>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\Operation::class);
- $this->items = $arr;
-
- return $this;
- }
-
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 3;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * The continuation token, used to page through large result sets. Provide
- * this value in a subsequent request to return the next page of results.
- *
- * Generated from protobuf field string next_page_token = 3;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PasswordStatus.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PasswordStatus.php
deleted file mode 100644
index 3106442614b1..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PasswordStatus.php
+++ /dev/null
@@ -1,111 +0,0 @@
-google.cloud.sql.v1beta4.PasswordStatus
- */
-class PasswordStatus extends \Google\Protobuf\Internal\Message
-{
- /**
- * If true, user does not have login privileges.
- *
- * Generated from protobuf field bool locked = 1;
- */
- protected $locked = false;
- /**
- * The expiration time of the current password.
- *
- * Generated from protobuf field .google.protobuf.Timestamp password_expiration_time = 2;
- */
- protected $password_expiration_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $locked
- * If true, user does not have login privileges.
- * @type \Google\Protobuf\Timestamp $password_expiration_time
- * The expiration time of the current password.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * If true, user does not have login privileges.
- *
- * Generated from protobuf field bool locked = 1;
- * @return bool
- */
- public function getLocked()
- {
- return $this->locked;
- }
-
- /**
- * If true, user does not have login privileges.
- *
- * Generated from protobuf field bool locked = 1;
- * @param bool $var
- * @return $this
- */
- public function setLocked($var)
- {
- GPBUtil::checkBool($var);
- $this->locked = $var;
-
- return $this;
- }
-
- /**
- * The expiration time of the current password.
- *
- * Generated from protobuf field .google.protobuf.Timestamp password_expiration_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getPasswordExpirationTime()
- {
- return $this->password_expiration_time;
- }
-
- public function hasPasswordExpirationTime()
- {
- return isset($this->password_expiration_time);
- }
-
- public function clearPasswordExpirationTime()
- {
- unset($this->password_expiration_time);
- }
-
- /**
- * The expiration time of the current password.
- *
- * Generated from protobuf field .google.protobuf.Timestamp password_expiration_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setPasswordExpirationTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->password_expiration_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PasswordValidationPolicy.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PasswordValidationPolicy.php
deleted file mode 100644
index 2ce3f8e23133..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PasswordValidationPolicy.php
+++ /dev/null
@@ -1,484 +0,0 @@
-google.cloud.sql.v1beta4.PasswordValidationPolicy
- */
-class PasswordValidationPolicy extends \Google\Protobuf\Internal\Message
-{
- /**
- * Minimum number of characters allowed.
- *
- * Generated from protobuf field .google.protobuf.Int32Value min_length = 1;
- */
- protected $min_length = null;
- /**
- * The complexity of the password.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.PasswordValidationPolicy.Complexity complexity = 2;
- */
- protected $complexity = 0;
- /**
- * Number of previous passwords that cannot be reused.
- *
- * Generated from protobuf field .google.protobuf.Int32Value reuse_interval = 3;
- */
- protected $reuse_interval = null;
- /**
- * Disallow username as a part of the password.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_username_substring = 4;
- */
- protected $disallow_username_substring = null;
- /**
- * Minimum interval after which the password can be changed. This flag is only
- * supported for PostgreSQL.
- *
- * Generated from protobuf field .google.protobuf.Duration password_change_interval = 5;
- */
- protected $password_change_interval = null;
- /**
- * Whether the password policy is enabled or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_password_policy = 6;
- */
- protected $enable_password_policy = null;
- /**
- * This field is deprecated and will be removed in a future version of the
- * API.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_compromised_credentials = 7 [deprecated = true];
- * @deprecated
- */
- protected $disallow_compromised_credentials = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Int32Value $min_length
- * Minimum number of characters allowed.
- * @type int $complexity
- * The complexity of the password.
- * @type \Google\Protobuf\Int32Value $reuse_interval
- * Number of previous passwords that cannot be reused.
- * @type \Google\Protobuf\BoolValue $disallow_username_substring
- * Disallow username as a part of the password.
- * @type \Google\Protobuf\Duration $password_change_interval
- * Minimum interval after which the password can be changed. This flag is only
- * supported for PostgreSQL.
- * @type \Google\Protobuf\BoolValue $enable_password_policy
- * Whether the password policy is enabled or not.
- * @type \Google\Protobuf\BoolValue $disallow_compromised_credentials
- * This field is deprecated and will be removed in a future version of the
- * API.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Minimum number of characters allowed.
- *
- * Generated from protobuf field .google.protobuf.Int32Value min_length = 1;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getMinLength()
- {
- return $this->min_length;
- }
-
- public function hasMinLength()
- {
- return isset($this->min_length);
- }
-
- public function clearMinLength()
- {
- unset($this->min_length);
- }
-
- /**
- * Returns the unboxed value from getMinLength()
-
- * Minimum number of characters allowed.
- *
- * Generated from protobuf field .google.protobuf.Int32Value min_length = 1;
- * @return int|null
- */
- public function getMinLengthUnwrapped()
- {
- return $this->readWrapperValue("min_length");
- }
-
- /**
- * Minimum number of characters allowed.
- *
- * Generated from protobuf field .google.protobuf.Int32Value min_length = 1;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setMinLength($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->min_length = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Minimum number of characters allowed.
- *
- * Generated from protobuf field .google.protobuf.Int32Value min_length = 1;
- * @param int|null $var
- * @return $this
- */
- public function setMinLengthUnwrapped($var)
- {
- $this->writeWrapperValue("min_length", $var);
- return $this;}
-
- /**
- * The complexity of the password.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.PasswordValidationPolicy.Complexity complexity = 2;
- * @return int
- */
- public function getComplexity()
- {
- return $this->complexity;
- }
-
- /**
- * The complexity of the password.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.PasswordValidationPolicy.Complexity complexity = 2;
- * @param int $var
- * @return $this
- */
- public function setComplexity($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\PasswordValidationPolicy\Complexity::class);
- $this->complexity = $var;
-
- return $this;
- }
-
- /**
- * Number of previous passwords that cannot be reused.
- *
- * Generated from protobuf field .google.protobuf.Int32Value reuse_interval = 3;
- * @return \Google\Protobuf\Int32Value|null
- */
- public function getReuseInterval()
- {
- return $this->reuse_interval;
- }
-
- public function hasReuseInterval()
- {
- return isset($this->reuse_interval);
- }
-
- public function clearReuseInterval()
- {
- unset($this->reuse_interval);
- }
-
- /**
- * Returns the unboxed value from getReuseInterval()
-
- * Number of previous passwords that cannot be reused.
- *
- * Generated from protobuf field .google.protobuf.Int32Value reuse_interval = 3;
- * @return int|null
- */
- public function getReuseIntervalUnwrapped()
- {
- return $this->readWrapperValue("reuse_interval");
- }
-
- /**
- * Number of previous passwords that cannot be reused.
- *
- * Generated from protobuf field .google.protobuf.Int32Value reuse_interval = 3;
- * @param \Google\Protobuf\Int32Value $var
- * @return $this
- */
- public function setReuseInterval($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class);
- $this->reuse_interval = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
-
- * Number of previous passwords that cannot be reused.
- *
- * Generated from protobuf field .google.protobuf.Int32Value reuse_interval = 3;
- * @param int|null $var
- * @return $this
- */
- public function setReuseIntervalUnwrapped($var)
- {
- $this->writeWrapperValue("reuse_interval", $var);
- return $this;}
-
- /**
- * Disallow username as a part of the password.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_username_substring = 4;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getDisallowUsernameSubstring()
- {
- return $this->disallow_username_substring;
- }
-
- public function hasDisallowUsernameSubstring()
- {
- return isset($this->disallow_username_substring);
- }
-
- public function clearDisallowUsernameSubstring()
- {
- unset($this->disallow_username_substring);
- }
-
- /**
- * Returns the unboxed value from getDisallowUsernameSubstring()
-
- * Disallow username as a part of the password.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_username_substring = 4;
- * @return bool|null
- */
- public function getDisallowUsernameSubstringUnwrapped()
- {
- return $this->readWrapperValue("disallow_username_substring");
- }
-
- /**
- * Disallow username as a part of the password.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_username_substring = 4;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setDisallowUsernameSubstring($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->disallow_username_substring = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Disallow username as a part of the password.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_username_substring = 4;
- * @param bool|null $var
- * @return $this
- */
- public function setDisallowUsernameSubstringUnwrapped($var)
- {
- $this->writeWrapperValue("disallow_username_substring", $var);
- return $this;}
-
- /**
- * Minimum interval after which the password can be changed. This flag is only
- * supported for PostgreSQL.
- *
- * Generated from protobuf field .google.protobuf.Duration password_change_interval = 5;
- * @return \Google\Protobuf\Duration|null
- */
- public function getPasswordChangeInterval()
- {
- return $this->password_change_interval;
- }
-
- public function hasPasswordChangeInterval()
- {
- return isset($this->password_change_interval);
- }
-
- public function clearPasswordChangeInterval()
- {
- unset($this->password_change_interval);
- }
-
- /**
- * Minimum interval after which the password can be changed. This flag is only
- * supported for PostgreSQL.
- *
- * Generated from protobuf field .google.protobuf.Duration password_change_interval = 5;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setPasswordChangeInterval($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->password_change_interval = $var;
-
- return $this;
- }
-
- /**
- * Whether the password policy is enabled or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_password_policy = 6;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getEnablePasswordPolicy()
- {
- return $this->enable_password_policy;
- }
-
- public function hasEnablePasswordPolicy()
- {
- return isset($this->enable_password_policy);
- }
-
- public function clearEnablePasswordPolicy()
- {
- unset($this->enable_password_policy);
- }
-
- /**
- * Returns the unboxed value from getEnablePasswordPolicy()
-
- * Whether the password policy is enabled or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_password_policy = 6;
- * @return bool|null
- */
- public function getEnablePasswordPolicyUnwrapped()
- {
- return $this->readWrapperValue("enable_password_policy");
- }
-
- /**
- * Whether the password policy is enabled or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_password_policy = 6;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setEnablePasswordPolicy($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->enable_password_policy = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Whether the password policy is enabled or not.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_password_policy = 6;
- * @param bool|null $var
- * @return $this
- */
- public function setEnablePasswordPolicyUnwrapped($var)
- {
- $this->writeWrapperValue("enable_password_policy", $var);
- return $this;}
-
- /**
- * This field is deprecated and will be removed in a future version of the
- * API.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_compromised_credentials = 7 [deprecated = true];
- * @return \Google\Protobuf\BoolValue|null
- * @deprecated
- */
- public function getDisallowCompromisedCredentials()
- {
- @trigger_error('disallow_compromised_credentials is deprecated.', E_USER_DEPRECATED);
- return $this->disallow_compromised_credentials;
- }
-
- public function hasDisallowCompromisedCredentials()
- {
- @trigger_error('disallow_compromised_credentials is deprecated.', E_USER_DEPRECATED);
- return isset($this->disallow_compromised_credentials);
- }
-
- public function clearDisallowCompromisedCredentials()
- {
- @trigger_error('disallow_compromised_credentials is deprecated.', E_USER_DEPRECATED);
- unset($this->disallow_compromised_credentials);
- }
-
- /**
- * Returns the unboxed value from getDisallowCompromisedCredentials()
-
- * This field is deprecated and will be removed in a future version of the
- * API.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_compromised_credentials = 7 [deprecated = true];
- * @return bool|null
- */
- public function getDisallowCompromisedCredentialsUnwrapped()
- {
- @trigger_error('disallow_compromised_credentials is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("disallow_compromised_credentials");
- }
-
- /**
- * This field is deprecated and will be removed in a future version of the
- * API.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_compromised_credentials = 7 [deprecated = true];
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- * @deprecated
- */
- public function setDisallowCompromisedCredentials($var)
- {
- @trigger_error('disallow_compromised_credentials is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->disallow_compromised_credentials = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * This field is deprecated and will be removed in a future version of the
- * API.
- *
- * Generated from protobuf field .google.protobuf.BoolValue disallow_compromised_credentials = 7 [deprecated = true];
- * @param bool|null $var
- * @return $this
- */
- public function setDisallowCompromisedCredentialsUnwrapped($var)
- {
- $this->writeWrapperValue("disallow_compromised_credentials", $var);
- return $this;}
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PasswordValidationPolicy/Complexity.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PasswordValidationPolicy/Complexity.php
deleted file mode 100644
index b3de3efd19fc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PasswordValidationPolicy/Complexity.php
+++ /dev/null
@@ -1,58 +0,0 @@
-google.cloud.sql.v1beta4.PasswordValidationPolicy.Complexity
- */
-class Complexity
-{
- /**
- * Complexity check is not specified.
- *
- * Generated from protobuf enum COMPLEXITY_UNSPECIFIED = 0;
- */
- const COMPLEXITY_UNSPECIFIED = 0;
- /**
- * A combination of lowercase, uppercase, numeric, and non-alphanumeric
- * characters.
- *
- * Generated from protobuf enum COMPLEXITY_DEFAULT = 1;
- */
- const COMPLEXITY_DEFAULT = 1;
-
- private static $valueToName = [
- self::COMPLEXITY_UNSPECIFIED => 'COMPLEXITY_UNSPECIFIED',
- self::COMPLEXITY_DEFAULT => 'COMPLEXITY_DEFAULT',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Complexity::class, \Google\Cloud\Sql\V1beta4\PasswordValidationPolicy_Complexity::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PerformDiskShrinkContext.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PerformDiskShrinkContext.php
deleted file mode 100644
index 0e6602fe8c52..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PerformDiskShrinkContext.php
+++ /dev/null
@@ -1,67 +0,0 @@
-google.cloud.sql.v1beta4.PerformDiskShrinkContext
- */
-class PerformDiskShrinkContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * The target disk shrink size in GigaBytes.
- *
- * Generated from protobuf field int64 target_size_gb = 1;
- */
- protected $target_size_gb = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $target_size_gb
- * The target disk shrink size in GigaBytes.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The target disk shrink size in GigaBytes.
- *
- * Generated from protobuf field int64 target_size_gb = 1;
- * @return int|string
- */
- public function getTargetSizeGb()
- {
- return $this->target_size_gb;
- }
-
- /**
- * The target disk shrink size in GigaBytes.
- *
- * Generated from protobuf field int64 target_size_gb = 1;
- * @param int|string $var
- * @return $this
- */
- public function setTargetSizeGb($var)
- {
- GPBUtil::checkInt64($var);
- $this->target_size_gb = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PscConfig.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PscConfig.php
deleted file mode 100644
index 2ec34f922f35..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/PscConfig.php
+++ /dev/null
@@ -1,127 +0,0 @@
-google.cloud.sql.v1beta4.PscConfig
- */
-class PscConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * Whether PSC connectivity is enabled for this instance.
- *
- * Generated from protobuf field optional bool psc_enabled = 1;
- */
- protected $psc_enabled = null;
- /**
- * Optional. The list of consumer projects that are allow-listed for PSC
- * connections to this instance. This instance can be connected to with PSC
- * from any network in these projects.
- * Each consumer project in this list may be represented by a project number
- * (numeric) or by a project id (alphanumeric).
- *
- * Generated from protobuf field repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- private $allowed_consumer_projects;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $psc_enabled
- * Whether PSC connectivity is enabled for this instance.
- * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_consumer_projects
- * Optional. The list of consumer projects that are allow-listed for PSC
- * connections to this instance. This instance can be connected to with PSC
- * from any network in these projects.
- * Each consumer project in this list may be represented by a project number
- * (numeric) or by a project id (alphanumeric).
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Whether PSC connectivity is enabled for this instance.
- *
- * Generated from protobuf field optional bool psc_enabled = 1;
- * @return bool
- */
- public function getPscEnabled()
- {
- return isset($this->psc_enabled) ? $this->psc_enabled : false;
- }
-
- public function hasPscEnabled()
- {
- return isset($this->psc_enabled);
- }
-
- public function clearPscEnabled()
- {
- unset($this->psc_enabled);
- }
-
- /**
- * Whether PSC connectivity is enabled for this instance.
- *
- * Generated from protobuf field optional bool psc_enabled = 1;
- * @param bool $var
- * @return $this
- */
- public function setPscEnabled($var)
- {
- GPBUtil::checkBool($var);
- $this->psc_enabled = $var;
-
- return $this;
- }
-
- /**
- * Optional. The list of consumer projects that are allow-listed for PSC
- * connections to this instance. This instance can be connected to with PSC
- * from any network in these projects.
- * Each consumer project in this list may be represented by a project number
- * (numeric) or by a project id (alphanumeric).
- *
- * Generated from protobuf field repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getAllowedConsumerProjects()
- {
- return $this->allowed_consumer_projects;
- }
-
- /**
- * Optional. The list of consumer projects that are allow-listed for PSC
- * connections to this instance. This instance can be connected to with PSC
- * from any network in these projects.
- * Each consumer project in this list may be represented by a project number
- * (numeric) or by a project id (alphanumeric).
- *
- * Generated from protobuf field repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setAllowedConsumerProjects($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->allowed_consumer_projects = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ReplicaConfiguration.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ReplicaConfiguration.php
deleted file mode 100644
index 8a38bfcfcbee..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ReplicaConfiguration.php
+++ /dev/null
@@ -1,309 +0,0 @@
-google.cloud.sql.v1beta4.ReplicaConfiguration
- */
-class ReplicaConfiguration extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#replicaConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.MySqlReplicaConfiguration mysql_replica_configuration = 2;
- */
- protected $mysql_replica_configuration = null;
- /**
- * Specifies if the replica is the failover target. If the field is set to
- * `true` the replica will be designated as a failover replica. In case the
- * primary instance fails, the replica instance will be promoted as the new
- * primary instance. Only one replica can be specified as failover target, and
- * the replica has to be in different zone with the primary instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue failover_target = 3;
- */
- protected $failover_target = null;
- /**
- * Optional. Specifies if a SQL Server replica is a cascadable replica. A
- * cascadable replica is a SQL Server cross region replica that supports
- * replica(s) under it.
- *
- * Generated from protobuf field .google.protobuf.BoolValue cascadable_replica = 5 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $cascadable_replica = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#replicaConfiguration`.
- * @type \Google\Cloud\Sql\V1beta4\MySqlReplicaConfiguration $mysql_replica_configuration
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- * @type \Google\Protobuf\BoolValue $failover_target
- * Specifies if the replica is the failover target. If the field is set to
- * `true` the replica will be designated as a failover replica. In case the
- * primary instance fails, the replica instance will be promoted as the new
- * primary instance. Only one replica can be specified as failover target, and
- * the replica has to be in different zone with the primary instance.
- * @type \Google\Protobuf\BoolValue $cascadable_replica
- * Optional. Specifies if a SQL Server replica is a cascadable replica. A
- * cascadable replica is a SQL Server cross region replica that supports
- * replica(s) under it.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#replicaConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#replicaConfiguration`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.MySqlReplicaConfiguration mysql_replica_configuration = 2;
- * @return \Google\Cloud\Sql\V1beta4\MySqlReplicaConfiguration|null
- */
- public function getMysqlReplicaConfiguration()
- {
- return $this->mysql_replica_configuration;
- }
-
- public function hasMysqlReplicaConfiguration()
- {
- return isset($this->mysql_replica_configuration);
- }
-
- public function clearMysqlReplicaConfiguration()
- {
- unset($this->mysql_replica_configuration);
- }
-
- /**
- * MySQL specific configuration when replicating from a MySQL on-premises
- * primary instance. Replication configuration information such as the
- * username, password, certificates, and keys are not stored in the instance
- * metadata. The configuration information is used only to set up the
- * replication connection and is stored by MySQL in a file named
- * `master.info` in the data directory.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.MySqlReplicaConfiguration mysql_replica_configuration = 2;
- * @param \Google\Cloud\Sql\V1beta4\MySqlReplicaConfiguration $var
- * @return $this
- */
- public function setMysqlReplicaConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\MySqlReplicaConfiguration::class);
- $this->mysql_replica_configuration = $var;
-
- return $this;
- }
-
- /**
- * Specifies if the replica is the failover target. If the field is set to
- * `true` the replica will be designated as a failover replica. In case the
- * primary instance fails, the replica instance will be promoted as the new
- * primary instance. Only one replica can be specified as failover target, and
- * the replica has to be in different zone with the primary instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue failover_target = 3;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getFailoverTarget()
- {
- return $this->failover_target;
- }
-
- public function hasFailoverTarget()
- {
- return isset($this->failover_target);
- }
-
- public function clearFailoverTarget()
- {
- unset($this->failover_target);
- }
-
- /**
- * Returns the unboxed value from getFailoverTarget()
-
- * Specifies if the replica is the failover target. If the field is set to
- * `true` the replica will be designated as a failover replica. In case the
- * primary instance fails, the replica instance will be promoted as the new
- * primary instance. Only one replica can be specified as failover target, and
- * the replica has to be in different zone with the primary instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue failover_target = 3;
- * @return bool|null
- */
- public function getFailoverTargetUnwrapped()
- {
- return $this->readWrapperValue("failover_target");
- }
-
- /**
- * Specifies if the replica is the failover target. If the field is set to
- * `true` the replica will be designated as a failover replica. In case the
- * primary instance fails, the replica instance will be promoted as the new
- * primary instance. Only one replica can be specified as failover target, and
- * the replica has to be in different zone with the primary instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue failover_target = 3;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setFailoverTarget($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->failover_target = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Specifies if the replica is the failover target. If the field is set to
- * `true` the replica will be designated as a failover replica. In case the
- * primary instance fails, the replica instance will be promoted as the new
- * primary instance. Only one replica can be specified as failover target, and
- * the replica has to be in different zone with the primary instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue failover_target = 3;
- * @param bool|null $var
- * @return $this
- */
- public function setFailoverTargetUnwrapped($var)
- {
- $this->writeWrapperValue("failover_target", $var);
- return $this;}
-
- /**
- * Optional. Specifies if a SQL Server replica is a cascadable replica. A
- * cascadable replica is a SQL Server cross region replica that supports
- * replica(s) under it.
- *
- * Generated from protobuf field .google.protobuf.BoolValue cascadable_replica = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getCascadableReplica()
- {
- return $this->cascadable_replica;
- }
-
- public function hasCascadableReplica()
- {
- return isset($this->cascadable_replica);
- }
-
- public function clearCascadableReplica()
- {
- unset($this->cascadable_replica);
- }
-
- /**
- * Returns the unboxed value from getCascadableReplica()
-
- * Optional. Specifies if a SQL Server replica is a cascadable replica. A
- * cascadable replica is a SQL Server cross region replica that supports
- * replica(s) under it.
- *
- * Generated from protobuf field .google.protobuf.BoolValue cascadable_replica = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool|null
- */
- public function getCascadableReplicaUnwrapped()
- {
- return $this->readWrapperValue("cascadable_replica");
- }
-
- /**
- * Optional. Specifies if a SQL Server replica is a cascadable replica. A
- * cascadable replica is a SQL Server cross region replica that supports
- * replica(s) under it.
- *
- * Generated from protobuf field .google.protobuf.BoolValue cascadable_replica = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setCascadableReplica($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->cascadable_replica = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Optional. Specifies if a SQL Server replica is a cascadable replica. A
- * cascadable replica is a SQL Server cross region replica that supports
- * replica(s) under it.
- *
- * Generated from protobuf field .google.protobuf.BoolValue cascadable_replica = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool|null $var
- * @return $this
- */
- public function setCascadableReplicaUnwrapped($var)
- {
- $this->writeWrapperValue("cascadable_replica", $var);
- return $this;}
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ReplicationCluster.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ReplicationCluster.php
deleted file mode 100644
index 3cf5afb24c0b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/ReplicationCluster.php
+++ /dev/null
@@ -1,145 +0,0 @@
-google.cloud.sql.v1beta4.ReplicationCluster
- */
-class ReplicationCluster extends \Google\Protobuf\Internal\Message
-{
- /**
- * Optional. If the instance is a primary instance, then this field identifies
- * the disaster recovery (DR) replica. A DR replica is an optional
- * configuration for Enterprise Plus edition instances. If the instance is a
- * read replica, then the field is not set. Users can set this field to set a
- * designated DR replica for a primary. Removing this field removes the DR
- * replica.
- *
- * Generated from protobuf field optional string failover_dr_replica_name = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $failover_dr_replica_name = null;
- /**
- * Output only. read-only field that indicates if the replica is a dr_replica;
- * not set for a primary.
- *
- * Generated from protobuf field optional bool dr_replica = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $dr_replica = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $failover_dr_replica_name
- * Optional. If the instance is a primary instance, then this field identifies
- * the disaster recovery (DR) replica. A DR replica is an optional
- * configuration for Enterprise Plus edition instances. If the instance is a
- * read replica, then the field is not set. Users can set this field to set a
- * designated DR replica for a primary. Removing this field removes the DR
- * replica.
- * @type bool $dr_replica
- * Output only. read-only field that indicates if the replica is a dr_replica;
- * not set for a primary.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Optional. If the instance is a primary instance, then this field identifies
- * the disaster recovery (DR) replica. A DR replica is an optional
- * configuration for Enterprise Plus edition instances. If the instance is a
- * read replica, then the field is not set. Users can set this field to set a
- * designated DR replica for a primary. Removing this field removes the DR
- * replica.
- *
- * Generated from protobuf field optional string failover_dr_replica_name = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getFailoverDrReplicaName()
- {
- return isset($this->failover_dr_replica_name) ? $this->failover_dr_replica_name : '';
- }
-
- public function hasFailoverDrReplicaName()
- {
- return isset($this->failover_dr_replica_name);
- }
-
- public function clearFailoverDrReplicaName()
- {
- unset($this->failover_dr_replica_name);
- }
-
- /**
- * Optional. If the instance is a primary instance, then this field identifies
- * the disaster recovery (DR) replica. A DR replica is an optional
- * configuration for Enterprise Plus edition instances. If the instance is a
- * read replica, then the field is not set. Users can set this field to set a
- * designated DR replica for a primary. Removing this field removes the DR
- * replica.
- *
- * Generated from protobuf field optional string failover_dr_replica_name = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setFailoverDrReplicaName($var)
- {
- GPBUtil::checkString($var, True);
- $this->failover_dr_replica_name = $var;
-
- return $this;
- }
-
- /**
- * Output only. read-only field that indicates if the replica is a dr_replica;
- * not set for a primary.
- *
- * Generated from protobuf field optional bool dr_replica = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return bool
- */
- public function getDrReplica()
- {
- return isset($this->dr_replica) ? $this->dr_replica : false;
- }
-
- public function hasDrReplica()
- {
- return isset($this->dr_replica);
- }
-
- public function clearDrReplica()
- {
- unset($this->dr_replica);
- }
-
- /**
- * Output only. read-only field that indicates if the replica is a dr_replica;
- * not set for a primary.
- *
- * Generated from protobuf field optional bool dr_replica = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param bool $var
- * @return $this
- */
- public function setDrReplica($var)
- {
- GPBUtil::checkBool($var);
- $this->dr_replica = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/RestoreBackupContext.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/RestoreBackupContext.php
deleted file mode 100644
index 0ebdaa1e8f5b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/RestoreBackupContext.php
+++ /dev/null
@@ -1,170 +0,0 @@
-google.cloud.sql.v1beta4.RestoreBackupContext
- */
-class RestoreBackupContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#restoreBackupContext`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The ID of the backup run to restore from.
- *
- * Generated from protobuf field int64 backup_run_id = 2;
- */
- protected $backup_run_id = 0;
- /**
- * The ID of the instance that the backup was taken from.
- *
- * Generated from protobuf field string instance_id = 3;
- */
- protected $instance_id = '';
- /**
- * The full project ID of the source instance.
- *
- * Generated from protobuf field string project = 4;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#restoreBackupContext`.
- * @type int|string $backup_run_id
- * The ID of the backup run to restore from.
- * @type string $instance_id
- * The ID of the instance that the backup was taken from.
- * @type string $project
- * The full project ID of the source instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#restoreBackupContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#restoreBackupContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The ID of the backup run to restore from.
- *
- * Generated from protobuf field int64 backup_run_id = 2;
- * @return int|string
- */
- public function getBackupRunId()
- {
- return $this->backup_run_id;
- }
-
- /**
- * The ID of the backup run to restore from.
- *
- * Generated from protobuf field int64 backup_run_id = 2;
- * @param int|string $var
- * @return $this
- */
- public function setBackupRunId($var)
- {
- GPBUtil::checkInt64($var);
- $this->backup_run_id = $var;
-
- return $this;
- }
-
- /**
- * The ID of the instance that the backup was taken from.
- *
- * Generated from protobuf field string instance_id = 3;
- * @return string
- */
- public function getInstanceId()
- {
- return $this->instance_id;
- }
-
- /**
- * The ID of the instance that the backup was taken from.
- *
- * Generated from protobuf field string instance_id = 3;
- * @param string $var
- * @return $this
- */
- public function setInstanceId($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance_id = $var;
-
- return $this;
- }
-
- /**
- * The full project ID of the source instance.
- *
- * Generated from protobuf field string project = 4;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * The full project ID of the source instance.
- *
- * Generated from protobuf field string project = 4;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/RotateServerCaContext.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/RotateServerCaContext.php
deleted file mode 100644
index 0ec28e9c02bf..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/RotateServerCaContext.php
+++ /dev/null
@@ -1,105 +0,0 @@
-google.cloud.sql.v1beta4.RotateServerCaContext
- */
-class RotateServerCaContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#rotateServerCaContext`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The fingerprint of the next version to be rotated to. If left unspecified,
- * will be rotated to the most recently added server CA version.
- *
- * Generated from protobuf field string next_version = 2;
- */
- protected $next_version = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#rotateServerCaContext`.
- * @type string $next_version
- * The fingerprint of the next version to be rotated to. If left unspecified,
- * will be rotated to the most recently added server CA version.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#rotateServerCaContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#rotateServerCaContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The fingerprint of the next version to be rotated to. If left unspecified,
- * will be rotated to the most recently added server CA version.
- *
- * Generated from protobuf field string next_version = 2;
- * @return string
- */
- public function getNextVersion()
- {
- return $this->next_version;
- }
-
- /**
- * The fingerprint of the next version to be rotated to. If left unspecified,
- * will be rotated to the most recently added server CA version.
- *
- * Generated from protobuf field string next_version = 2;
- * @param string $var
- * @return $this
- */
- public function setNextVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_version = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Settings.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Settings.php
deleted file mode 100644
index 386609a94f48..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Settings.php
+++ /dev/null
@@ -1,1773 +0,0 @@
-google.cloud.sql.v1beta4.Settings
- */
-class Settings extends \Google\Protobuf\Internal\Message
-{
- /**
- * The version of instance settings. This is a required field for update
- * method to make sure concurrent updates are handled properly. During update,
- * use the most recent settingsVersion value for this instance and do not try
- * to update this value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value settings_version = 1;
- */
- protected $settings_version = null;
- /**
- * The App Engine app IDs that can access this instance.
- * (Deprecated) Applied to First Generation instances only.
- *
- * Generated from protobuf field repeated string authorized_gae_applications = 2 [deprecated = true];
- * @deprecated
- */
- private $authorized_gae_applications;
- /**
- * The tier (or machine type) for this instance, for example
- * `db-custom-1-3840`. WARNING: Changing this restarts the instance.
- *
- * Generated from protobuf field string tier = 3;
- */
- protected $tier = '';
- /**
- * This is always `sql#settings`.
- *
- * Generated from protobuf field string kind = 4;
- */
- protected $kind = '';
- /**
- * User-provided labels, represented as a dictionary where each label is a
- * single key value pair.
- *
- * Generated from protobuf field map user_labels = 5;
- */
- private $user_labels;
- /**
- * Availability type. Potential values:
- * * `ZONAL`: The instance serves data from only one zone. Outages in that
- * zone affect data accessibility.
- * * `REGIONAL`: The instance can serve data from more than one zone in a
- * region (it is highly available)./
- * For more information, see [Overview of the High Availability
- * Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlAvailabilityType availability_type = 6;
- */
- protected $availability_type = 0;
- /**
- * The pricing plan for this instance. This can be either `PER_USE` or
- * `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlPricingPlan pricing_plan = 7;
- */
- protected $pricing_plan = 0;
- /**
- * The type of replication this instance uses. This can be either
- * `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only
- * applicable to First Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlReplicationType replication_type = 8 [deprecated = true];
- * @deprecated
- */
- protected $replication_type = 0;
- /**
- * The maximum size to which storage capacity can be automatically increased.
- * The default value is 0, which specifies that there is no limit.
- *
- * Generated from protobuf field .google.protobuf.Int64Value storage_auto_resize_limit = 9;
- */
- protected $storage_auto_resize_limit = null;
- /**
- * The activation policy specifies when the instance is activated; it is
- * applicable only when the instance state is RUNNABLE. Valid values:
- * * `ALWAYS`: The instance is on, and remains so even in the absence of
- * connection requests.
- * * `NEVER`: The instance is off; it is not activated, even if a
- * connection request arrives.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Settings.SqlActivationPolicy activation_policy = 10;
- */
- protected $activation_policy = 0;
- /**
- * The settings for IP Management. This allows to enable or disable the
- * instance IP and manage which external networks can connect to the instance.
- * The IPv4 address cannot be disabled for Second Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.IpConfiguration ip_configuration = 11;
- */
- protected $ip_configuration = null;
- /**
- * Configuration to increase storage size automatically. The default value is
- * true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue storage_auto_resize = 12;
- */
- protected $storage_auto_resize = null;
- /**
- * The location preference settings. This allows the instance to be located as
- * near as possible to either an App Engine app or Compute Engine zone for
- * better performance. App Engine co-location was only applicable to First
- * Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.LocationPreference location_preference = 13;
- */
- protected $location_preference = null;
- /**
- * The database flags passed to the instance at startup.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.DatabaseFlags database_flags = 14;
- */
- private $database_flags;
- /**
- * The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for
- * First Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlDataDiskType data_disk_type = 15;
- */
- protected $data_disk_type = 0;
- /**
- * The maintenance window for this instance. This specifies when the instance
- * can be restarted for maintenance purposes.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.MaintenanceWindow maintenance_window = 16;
- */
- protected $maintenance_window = null;
- /**
- * The daily backup configuration for the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupConfiguration backup_configuration = 17;
- */
- protected $backup_configuration = null;
- /**
- * Configuration specific to read replica instances. Indicates whether
- * replication is enabled or not. WARNING: Changing this restarts the
- * instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue database_replication_enabled = 18;
- */
- protected $database_replication_enabled = null;
- /**
- * Configuration specific to read replica instances. Indicates whether
- * database flags for crash-safe replication are enabled. This property was
- * only applicable to First Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true];
- * @deprecated
- */
- protected $crash_safe_replication_enabled = null;
- /**
- * The size of data disk, in GB. The data disk size minimum is 10GB.
- *
- * Generated from protobuf field .google.protobuf.Int64Value data_disk_size_gb = 20;
- */
- protected $data_disk_size_gb = null;
- /**
- * Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlActiveDirectoryConfig active_directory_config = 22;
- */
- protected $active_directory_config = null;
- /**
- * The name of server Instance collation.
- *
- * Generated from protobuf field string collation = 23;
- */
- protected $collation = '';
- /**
- * Deny maintenance periods
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.DenyMaintenancePeriod deny_maintenance_periods = 24;
- */
- private $deny_maintenance_periods;
- /**
- * Insights configuration, for now relevant only for Postgres.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InsightsConfig insights_config = 25;
- */
- protected $insights_config = null;
- /**
- * The local user password validation policy of the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.PasswordValidationPolicy password_validation_policy = 27;
- */
- protected $password_validation_policy = null;
- /**
- * SQL Server specific audit configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlServerAuditConfig sql_server_audit_config = 29;
- */
- protected $sql_server_audit_config = null;
- /**
- * Optional. The edition of the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Settings.Edition edition = 38 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $edition = 0;
- /**
- * Specifies if connections must use Cloud SQL connectors.
- * Option values include the following: `NOT_REQUIRED` (Cloud SQL instances
- * can be connected without Cloud SQL
- * Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL
- * Connectors)
- * Note that using REQUIRED disables all existing authorized networks. If
- * this field is not specified when creating a new instance, NOT_REQUIRED is
- * used. If this field is not specified when patching or updating an existing
- * instance, it is left unchanged in the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Settings.ConnectorEnforcement connector_enforcement = 32;
- */
- protected $connector_enforcement = 0;
- /**
- * Configuration to protect against accidental instance deletion.
- *
- * Generated from protobuf field .google.protobuf.BoolValue deletion_protection_enabled = 33;
- */
- protected $deletion_protection_enabled = null;
- /**
- * Server timezone, relevant only for Cloud SQL for SQL Server.
- *
- * Generated from protobuf field string time_zone = 34;
- */
- protected $time_zone = '';
- /**
- * Specifies advance machine configuration for the instance
- * relevant only for SQL Server.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.AdvancedMachineFeatures advanced_machine_features = 35;
- */
- protected $advanced_machine_features = null;
- /**
- * Configuration for data cache.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DataCacheConfig data_cache_config = 37;
- */
- protected $data_cache_config = null;
- /**
- * Optional. When this parameter is set to true, Cloud SQL instances can
- * connect to Vertex AI to pass requests for real-time predictions and
- * insights to the AI. The default value is false. This applies only to Cloud
- * SQL for PostgreSQL instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $enable_google_ml_integration = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\Int64Value $settings_version
- * The version of instance settings. This is a required field for update
- * method to make sure concurrent updates are handled properly. During update,
- * use the most recent settingsVersion value for this instance and do not try
- * to update this value.
- * @type array|\Google\Protobuf\Internal\RepeatedField $authorized_gae_applications
- * The App Engine app IDs that can access this instance.
- * (Deprecated) Applied to First Generation instances only.
- * @type string $tier
- * The tier (or machine type) for this instance, for example
- * `db-custom-1-3840`. WARNING: Changing this restarts the instance.
- * @type string $kind
- * This is always `sql#settings`.
- * @type array|\Google\Protobuf\Internal\MapField $user_labels
- * User-provided labels, represented as a dictionary where each label is a
- * single key value pair.
- * @type int $availability_type
- * Availability type. Potential values:
- * * `ZONAL`: The instance serves data from only one zone. Outages in that
- * zone affect data accessibility.
- * * `REGIONAL`: The instance can serve data from more than one zone in a
- * region (it is highly available)./
- * For more information, see [Overview of the High Availability
- * Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).
- * @type int $pricing_plan
- * The pricing plan for this instance. This can be either `PER_USE` or
- * `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
- * @type int $replication_type
- * The type of replication this instance uses. This can be either
- * `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only
- * applicable to First Generation instances.
- * @type \Google\Protobuf\Int64Value $storage_auto_resize_limit
- * The maximum size to which storage capacity can be automatically increased.
- * The default value is 0, which specifies that there is no limit.
- * @type int $activation_policy
- * The activation policy specifies when the instance is activated; it is
- * applicable only when the instance state is RUNNABLE. Valid values:
- * * `ALWAYS`: The instance is on, and remains so even in the absence of
- * connection requests.
- * * `NEVER`: The instance is off; it is not activated, even if a
- * connection request arrives.
- * @type \Google\Cloud\Sql\V1beta4\IpConfiguration $ip_configuration
- * The settings for IP Management. This allows to enable or disable the
- * instance IP and manage which external networks can connect to the instance.
- * The IPv4 address cannot be disabled for Second Generation instances.
- * @type \Google\Protobuf\BoolValue $storage_auto_resize
- * Configuration to increase storage size automatically. The default value is
- * true.
- * @type \Google\Cloud\Sql\V1beta4\LocationPreference $location_preference
- * The location preference settings. This allows the instance to be located as
- * near as possible to either an App Engine app or Compute Engine zone for
- * better performance. App Engine co-location was only applicable to First
- * Generation instances.
- * @type array<\Google\Cloud\Sql\V1beta4\DatabaseFlags>|\Google\Protobuf\Internal\RepeatedField $database_flags
- * The database flags passed to the instance at startup.
- * @type int $data_disk_type
- * The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for
- * First Generation instances.
- * @type \Google\Cloud\Sql\V1beta4\MaintenanceWindow $maintenance_window
- * The maintenance window for this instance. This specifies when the instance
- * can be restarted for maintenance purposes.
- * @type \Google\Cloud\Sql\V1beta4\BackupConfiguration $backup_configuration
- * The daily backup configuration for the instance.
- * @type \Google\Protobuf\BoolValue $database_replication_enabled
- * Configuration specific to read replica instances. Indicates whether
- * replication is enabled or not. WARNING: Changing this restarts the
- * instance.
- * @type \Google\Protobuf\BoolValue $crash_safe_replication_enabled
- * Configuration specific to read replica instances. Indicates whether
- * database flags for crash-safe replication are enabled. This property was
- * only applicable to First Generation instances.
- * @type \Google\Protobuf\Int64Value $data_disk_size_gb
- * The size of data disk, in GB. The data disk size minimum is 10GB.
- * @type \Google\Cloud\Sql\V1beta4\SqlActiveDirectoryConfig $active_directory_config
- * Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- * @type string $collation
- * The name of server Instance collation.
- * @type array<\Google\Cloud\Sql\V1beta4\DenyMaintenancePeriod>|\Google\Protobuf\Internal\RepeatedField $deny_maintenance_periods
- * Deny maintenance periods
- * @type \Google\Cloud\Sql\V1beta4\InsightsConfig $insights_config
- * Insights configuration, for now relevant only for Postgres.
- * @type \Google\Cloud\Sql\V1beta4\PasswordValidationPolicy $password_validation_policy
- * The local user password validation policy of the instance.
- * @type \Google\Cloud\Sql\V1beta4\SqlServerAuditConfig $sql_server_audit_config
- * SQL Server specific audit configuration.
- * @type int $edition
- * Optional. The edition of the instance.
- * @type int $connector_enforcement
- * Specifies if connections must use Cloud SQL connectors.
- * Option values include the following: `NOT_REQUIRED` (Cloud SQL instances
- * can be connected without Cloud SQL
- * Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL
- * Connectors)
- * Note that using REQUIRED disables all existing authorized networks. If
- * this field is not specified when creating a new instance, NOT_REQUIRED is
- * used. If this field is not specified when patching or updating an existing
- * instance, it is left unchanged in the instance.
- * @type \Google\Protobuf\BoolValue $deletion_protection_enabled
- * Configuration to protect against accidental instance deletion.
- * @type string $time_zone
- * Server timezone, relevant only for Cloud SQL for SQL Server.
- * @type \Google\Cloud\Sql\V1beta4\AdvancedMachineFeatures $advanced_machine_features
- * Specifies advance machine configuration for the instance
- * relevant only for SQL Server.
- * @type \Google\Cloud\Sql\V1beta4\DataCacheConfig $data_cache_config
- * Configuration for data cache.
- * @type \Google\Protobuf\BoolValue $enable_google_ml_integration
- * Optional. When this parameter is set to true, Cloud SQL instances can
- * connect to Vertex AI to pass requests for real-time predictions and
- * insights to the AI. The default value is false. This applies only to Cloud
- * SQL for PostgreSQL instances.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The version of instance settings. This is a required field for update
- * method to make sure concurrent updates are handled properly. During update,
- * use the most recent settingsVersion value for this instance and do not try
- * to update this value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value settings_version = 1;
- * @return \Google\Protobuf\Int64Value|null
- */
- public function getSettingsVersion()
- {
- return $this->settings_version;
- }
-
- public function hasSettingsVersion()
- {
- return isset($this->settings_version);
- }
-
- public function clearSettingsVersion()
- {
- unset($this->settings_version);
- }
-
- /**
- * Returns the unboxed value from getSettingsVersion()
-
- * The version of instance settings. This is a required field for update
- * method to make sure concurrent updates are handled properly. During update,
- * use the most recent settingsVersion value for this instance and do not try
- * to update this value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value settings_version = 1;
- * @return int|string|null
- */
- public function getSettingsVersionUnwrapped()
- {
- return $this->readWrapperValue("settings_version");
- }
-
- /**
- * The version of instance settings. This is a required field for update
- * method to make sure concurrent updates are handled properly. During update,
- * use the most recent settingsVersion value for this instance and do not try
- * to update this value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value settings_version = 1;
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- */
- public function setSettingsVersion($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->settings_version = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * The version of instance settings. This is a required field for update
- * method to make sure concurrent updates are handled properly. During update,
- * use the most recent settingsVersion value for this instance and do not try
- * to update this value.
- *
- * Generated from protobuf field .google.protobuf.Int64Value settings_version = 1;
- * @param int|string|null $var
- * @return $this
- */
- public function setSettingsVersionUnwrapped($var)
- {
- $this->writeWrapperValue("settings_version", $var);
- return $this;}
-
- /**
- * The App Engine app IDs that can access this instance.
- * (Deprecated) Applied to First Generation instances only.
- *
- * Generated from protobuf field repeated string authorized_gae_applications = 2 [deprecated = true];
- * @return \Google\Protobuf\Internal\RepeatedField
- * @deprecated
- */
- public function getAuthorizedGaeApplications()
- {
- @trigger_error('authorized_gae_applications is deprecated.', E_USER_DEPRECATED);
- return $this->authorized_gae_applications;
- }
-
- /**
- * The App Engine app IDs that can access this instance.
- * (Deprecated) Applied to First Generation instances only.
- *
- * Generated from protobuf field repeated string authorized_gae_applications = 2 [deprecated = true];
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- * @deprecated
- */
- public function setAuthorizedGaeApplications($var)
- {
- @trigger_error('authorized_gae_applications is deprecated.', E_USER_DEPRECATED);
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->authorized_gae_applications = $arr;
-
- return $this;
- }
-
- /**
- * The tier (or machine type) for this instance, for example
- * `db-custom-1-3840`. WARNING: Changing this restarts the instance.
- *
- * Generated from protobuf field string tier = 3;
- * @return string
- */
- public function getTier()
- {
- return $this->tier;
- }
-
- /**
- * The tier (or machine type) for this instance, for example
- * `db-custom-1-3840`. WARNING: Changing this restarts the instance.
- *
- * Generated from protobuf field string tier = 3;
- * @param string $var
- * @return $this
- */
- public function setTier($var)
- {
- GPBUtil::checkString($var, True);
- $this->tier = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#settings`.
- *
- * Generated from protobuf field string kind = 4;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#settings`.
- *
- * Generated from protobuf field string kind = 4;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * User-provided labels, represented as a dictionary where each label is a
- * single key value pair.
- *
- * Generated from protobuf field map user_labels = 5;
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getUserLabels()
- {
- return $this->user_labels;
- }
-
- /**
- * User-provided labels, represented as a dictionary where each label is a
- * single key value pair.
- *
- * Generated from protobuf field map user_labels = 5;
- * @param array|\Google\Protobuf\Internal\MapField $var
- * @return $this
- */
- public function setUserLabels($var)
- {
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
- $this->user_labels = $arr;
-
- return $this;
- }
-
- /**
- * Availability type. Potential values:
- * * `ZONAL`: The instance serves data from only one zone. Outages in that
- * zone affect data accessibility.
- * * `REGIONAL`: The instance can serve data from more than one zone in a
- * region (it is highly available)./
- * For more information, see [Overview of the High Availability
- * Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlAvailabilityType availability_type = 6;
- * @return int
- */
- public function getAvailabilityType()
- {
- return $this->availability_type;
- }
-
- /**
- * Availability type. Potential values:
- * * `ZONAL`: The instance serves data from only one zone. Outages in that
- * zone affect data accessibility.
- * * `REGIONAL`: The instance can serve data from more than one zone in a
- * region (it is highly available)./
- * For more information, see [Overview of the High Availability
- * Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlAvailabilityType availability_type = 6;
- * @param int $var
- * @return $this
- */
- public function setAvailabilityType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlAvailabilityType::class);
- $this->availability_type = $var;
-
- return $this;
- }
-
- /**
- * The pricing plan for this instance. This can be either `PER_USE` or
- * `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlPricingPlan pricing_plan = 7;
- * @return int
- */
- public function getPricingPlan()
- {
- return $this->pricing_plan;
- }
-
- /**
- * The pricing plan for this instance. This can be either `PER_USE` or
- * `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlPricingPlan pricing_plan = 7;
- * @param int $var
- * @return $this
- */
- public function setPricingPlan($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlPricingPlan::class);
- $this->pricing_plan = $var;
-
- return $this;
- }
-
- /**
- * The type of replication this instance uses. This can be either
- * `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only
- * applicable to First Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlReplicationType replication_type = 8 [deprecated = true];
- * @return int
- * @deprecated
- */
- public function getReplicationType()
- {
- @trigger_error('replication_type is deprecated.', E_USER_DEPRECATED);
- return $this->replication_type;
- }
-
- /**
- * The type of replication this instance uses. This can be either
- * `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only
- * applicable to First Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlReplicationType replication_type = 8 [deprecated = true];
- * @param int $var
- * @return $this
- * @deprecated
- */
- public function setReplicationType($var)
- {
- @trigger_error('replication_type is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlReplicationType::class);
- $this->replication_type = $var;
-
- return $this;
- }
-
- /**
- * The maximum size to which storage capacity can be automatically increased.
- * The default value is 0, which specifies that there is no limit.
- *
- * Generated from protobuf field .google.protobuf.Int64Value storage_auto_resize_limit = 9;
- * @return \Google\Protobuf\Int64Value|null
- */
- public function getStorageAutoResizeLimit()
- {
- return $this->storage_auto_resize_limit;
- }
-
- public function hasStorageAutoResizeLimit()
- {
- return isset($this->storage_auto_resize_limit);
- }
-
- public function clearStorageAutoResizeLimit()
- {
- unset($this->storage_auto_resize_limit);
- }
-
- /**
- * Returns the unboxed value from getStorageAutoResizeLimit()
-
- * The maximum size to which storage capacity can be automatically increased.
- * The default value is 0, which specifies that there is no limit.
- *
- * Generated from protobuf field .google.protobuf.Int64Value storage_auto_resize_limit = 9;
- * @return int|string|null
- */
- public function getStorageAutoResizeLimitUnwrapped()
- {
- return $this->readWrapperValue("storage_auto_resize_limit");
- }
-
- /**
- * The maximum size to which storage capacity can be automatically increased.
- * The default value is 0, which specifies that there is no limit.
- *
- * Generated from protobuf field .google.protobuf.Int64Value storage_auto_resize_limit = 9;
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- */
- public function setStorageAutoResizeLimit($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->storage_auto_resize_limit = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * The maximum size to which storage capacity can be automatically increased.
- * The default value is 0, which specifies that there is no limit.
- *
- * Generated from protobuf field .google.protobuf.Int64Value storage_auto_resize_limit = 9;
- * @param int|string|null $var
- * @return $this
- */
- public function setStorageAutoResizeLimitUnwrapped($var)
- {
- $this->writeWrapperValue("storage_auto_resize_limit", $var);
- return $this;}
-
- /**
- * The activation policy specifies when the instance is activated; it is
- * applicable only when the instance state is RUNNABLE. Valid values:
- * * `ALWAYS`: The instance is on, and remains so even in the absence of
- * connection requests.
- * * `NEVER`: The instance is off; it is not activated, even if a
- * connection request arrives.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Settings.SqlActivationPolicy activation_policy = 10;
- * @return int
- */
- public function getActivationPolicy()
- {
- return $this->activation_policy;
- }
-
- /**
- * The activation policy specifies when the instance is activated; it is
- * applicable only when the instance state is RUNNABLE. Valid values:
- * * `ALWAYS`: The instance is on, and remains so even in the absence of
- * connection requests.
- * * `NEVER`: The instance is off; it is not activated, even if a
- * connection request arrives.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Settings.SqlActivationPolicy activation_policy = 10;
- * @param int $var
- * @return $this
- */
- public function setActivationPolicy($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\Settings\SqlActivationPolicy::class);
- $this->activation_policy = $var;
-
- return $this;
- }
-
- /**
- * The settings for IP Management. This allows to enable or disable the
- * instance IP and manage which external networks can connect to the instance.
- * The IPv4 address cannot be disabled for Second Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.IpConfiguration ip_configuration = 11;
- * @return \Google\Cloud\Sql\V1beta4\IpConfiguration|null
- */
- public function getIpConfiguration()
- {
- return $this->ip_configuration;
- }
-
- public function hasIpConfiguration()
- {
- return isset($this->ip_configuration);
- }
-
- public function clearIpConfiguration()
- {
- unset($this->ip_configuration);
- }
-
- /**
- * The settings for IP Management. This allows to enable or disable the
- * instance IP and manage which external networks can connect to the instance.
- * The IPv4 address cannot be disabled for Second Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.IpConfiguration ip_configuration = 11;
- * @param \Google\Cloud\Sql\V1beta4\IpConfiguration $var
- * @return $this
- */
- public function setIpConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\IpConfiguration::class);
- $this->ip_configuration = $var;
-
- return $this;
- }
-
- /**
- * Configuration to increase storage size automatically. The default value is
- * true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue storage_auto_resize = 12;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getStorageAutoResize()
- {
- return $this->storage_auto_resize;
- }
-
- public function hasStorageAutoResize()
- {
- return isset($this->storage_auto_resize);
- }
-
- public function clearStorageAutoResize()
- {
- unset($this->storage_auto_resize);
- }
-
- /**
- * Returns the unboxed value from getStorageAutoResize()
-
- * Configuration to increase storage size automatically. The default value is
- * true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue storage_auto_resize = 12;
- * @return bool|null
- */
- public function getStorageAutoResizeUnwrapped()
- {
- return $this->readWrapperValue("storage_auto_resize");
- }
-
- /**
- * Configuration to increase storage size automatically. The default value is
- * true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue storage_auto_resize = 12;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setStorageAutoResize($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->storage_auto_resize = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Configuration to increase storage size automatically. The default value is
- * true.
- *
- * Generated from protobuf field .google.protobuf.BoolValue storage_auto_resize = 12;
- * @param bool|null $var
- * @return $this
- */
- public function setStorageAutoResizeUnwrapped($var)
- {
- $this->writeWrapperValue("storage_auto_resize", $var);
- return $this;}
-
- /**
- * The location preference settings. This allows the instance to be located as
- * near as possible to either an App Engine app or Compute Engine zone for
- * better performance. App Engine co-location was only applicable to First
- * Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.LocationPreference location_preference = 13;
- * @return \Google\Cloud\Sql\V1beta4\LocationPreference|null
- */
- public function getLocationPreference()
- {
- return $this->location_preference;
- }
-
- public function hasLocationPreference()
- {
- return isset($this->location_preference);
- }
-
- public function clearLocationPreference()
- {
- unset($this->location_preference);
- }
-
- /**
- * The location preference settings. This allows the instance to be located as
- * near as possible to either an App Engine app or Compute Engine zone for
- * better performance. App Engine co-location was only applicable to First
- * Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.LocationPreference location_preference = 13;
- * @param \Google\Cloud\Sql\V1beta4\LocationPreference $var
- * @return $this
- */
- public function setLocationPreference($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\LocationPreference::class);
- $this->location_preference = $var;
-
- return $this;
- }
-
- /**
- * The database flags passed to the instance at startup.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.DatabaseFlags database_flags = 14;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDatabaseFlags()
- {
- return $this->database_flags;
- }
-
- /**
- * The database flags passed to the instance at startup.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.DatabaseFlags database_flags = 14;
- * @param array<\Google\Cloud\Sql\V1beta4\DatabaseFlags>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setDatabaseFlags($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\DatabaseFlags::class);
- $this->database_flags = $arr;
-
- return $this;
- }
-
- /**
- * The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for
- * First Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlDataDiskType data_disk_type = 15;
- * @return int
- */
- public function getDataDiskType()
- {
- return $this->data_disk_type;
- }
-
- /**
- * The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for
- * First Generation instances.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlDataDiskType data_disk_type = 15;
- * @param int $var
- * @return $this
- */
- public function setDataDiskType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlDataDiskType::class);
- $this->data_disk_type = $var;
-
- return $this;
- }
-
- /**
- * The maintenance window for this instance. This specifies when the instance
- * can be restarted for maintenance purposes.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.MaintenanceWindow maintenance_window = 16;
- * @return \Google\Cloud\Sql\V1beta4\MaintenanceWindow|null
- */
- public function getMaintenanceWindow()
- {
- return $this->maintenance_window;
- }
-
- public function hasMaintenanceWindow()
- {
- return isset($this->maintenance_window);
- }
-
- public function clearMaintenanceWindow()
- {
- unset($this->maintenance_window);
- }
-
- /**
- * The maintenance window for this instance. This specifies when the instance
- * can be restarted for maintenance purposes.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.MaintenanceWindow maintenance_window = 16;
- * @param \Google\Cloud\Sql\V1beta4\MaintenanceWindow $var
- * @return $this
- */
- public function setMaintenanceWindow($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\MaintenanceWindow::class);
- $this->maintenance_window = $var;
-
- return $this;
- }
-
- /**
- * The daily backup configuration for the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupConfiguration backup_configuration = 17;
- * @return \Google\Cloud\Sql\V1beta4\BackupConfiguration|null
- */
- public function getBackupConfiguration()
- {
- return $this->backup_configuration;
- }
-
- public function hasBackupConfiguration()
- {
- return isset($this->backup_configuration);
- }
-
- public function clearBackupConfiguration()
- {
- unset($this->backup_configuration);
- }
-
- /**
- * The daily backup configuration for the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupConfiguration backup_configuration = 17;
- * @param \Google\Cloud\Sql\V1beta4\BackupConfiguration $var
- * @return $this
- */
- public function setBackupConfiguration($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\BackupConfiguration::class);
- $this->backup_configuration = $var;
-
- return $this;
- }
-
- /**
- * Configuration specific to read replica instances. Indicates whether
- * replication is enabled or not. WARNING: Changing this restarts the
- * instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue database_replication_enabled = 18;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getDatabaseReplicationEnabled()
- {
- return $this->database_replication_enabled;
- }
-
- public function hasDatabaseReplicationEnabled()
- {
- return isset($this->database_replication_enabled);
- }
-
- public function clearDatabaseReplicationEnabled()
- {
- unset($this->database_replication_enabled);
- }
-
- /**
- * Returns the unboxed value from getDatabaseReplicationEnabled()
-
- * Configuration specific to read replica instances. Indicates whether
- * replication is enabled or not. WARNING: Changing this restarts the
- * instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue database_replication_enabled = 18;
- * @return bool|null
- */
- public function getDatabaseReplicationEnabledUnwrapped()
- {
- return $this->readWrapperValue("database_replication_enabled");
- }
-
- /**
- * Configuration specific to read replica instances. Indicates whether
- * replication is enabled or not. WARNING: Changing this restarts the
- * instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue database_replication_enabled = 18;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setDatabaseReplicationEnabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->database_replication_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Configuration specific to read replica instances. Indicates whether
- * replication is enabled or not. WARNING: Changing this restarts the
- * instance.
- *
- * Generated from protobuf field .google.protobuf.BoolValue database_replication_enabled = 18;
- * @param bool|null $var
- * @return $this
- */
- public function setDatabaseReplicationEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("database_replication_enabled", $var);
- return $this;}
-
- /**
- * Configuration specific to read replica instances. Indicates whether
- * database flags for crash-safe replication are enabled. This property was
- * only applicable to First Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true];
- * @return \Google\Protobuf\BoolValue|null
- * @deprecated
- */
- public function getCrashSafeReplicationEnabled()
- {
- @trigger_error('crash_safe_replication_enabled is deprecated.', E_USER_DEPRECATED);
- return $this->crash_safe_replication_enabled;
- }
-
- public function hasCrashSafeReplicationEnabled()
- {
- @trigger_error('crash_safe_replication_enabled is deprecated.', E_USER_DEPRECATED);
- return isset($this->crash_safe_replication_enabled);
- }
-
- public function clearCrashSafeReplicationEnabled()
- {
- @trigger_error('crash_safe_replication_enabled is deprecated.', E_USER_DEPRECATED);
- unset($this->crash_safe_replication_enabled);
- }
-
- /**
- * Returns the unboxed value from getCrashSafeReplicationEnabled()
-
- * Configuration specific to read replica instances. Indicates whether
- * database flags for crash-safe replication are enabled. This property was
- * only applicable to First Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true];
- * @return bool|null
- */
- public function getCrashSafeReplicationEnabledUnwrapped()
- {
- @trigger_error('crash_safe_replication_enabled is deprecated.', E_USER_DEPRECATED);
- return $this->readWrapperValue("crash_safe_replication_enabled");
- }
-
- /**
- * Configuration specific to read replica instances. Indicates whether
- * database flags for crash-safe replication are enabled. This property was
- * only applicable to First Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true];
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- * @deprecated
- */
- public function setCrashSafeReplicationEnabled($var)
- {
- @trigger_error('crash_safe_replication_enabled is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->crash_safe_replication_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Configuration specific to read replica instances. Indicates whether
- * database flags for crash-safe replication are enabled. This property was
- * only applicable to First Generation instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true];
- * @param bool|null $var
- * @return $this
- */
- public function setCrashSafeReplicationEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("crash_safe_replication_enabled", $var);
- return $this;}
-
- /**
- * The size of data disk, in GB. The data disk size minimum is 10GB.
- *
- * Generated from protobuf field .google.protobuf.Int64Value data_disk_size_gb = 20;
- * @return \Google\Protobuf\Int64Value|null
- */
- public function getDataDiskSizeGb()
- {
- return $this->data_disk_size_gb;
- }
-
- public function hasDataDiskSizeGb()
- {
- return isset($this->data_disk_size_gb);
- }
-
- public function clearDataDiskSizeGb()
- {
- unset($this->data_disk_size_gb);
- }
-
- /**
- * Returns the unboxed value from getDataDiskSizeGb()
-
- * The size of data disk, in GB. The data disk size minimum is 10GB.
- *
- * Generated from protobuf field .google.protobuf.Int64Value data_disk_size_gb = 20;
- * @return int|string|null
- */
- public function getDataDiskSizeGbUnwrapped()
- {
- return $this->readWrapperValue("data_disk_size_gb");
- }
-
- /**
- * The size of data disk, in GB. The data disk size minimum is 10GB.
- *
- * Generated from protobuf field .google.protobuf.Int64Value data_disk_size_gb = 20;
- * @param \Google\Protobuf\Int64Value $var
- * @return $this
- */
- public function setDataDiskSizeGb($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class);
- $this->data_disk_size_gb = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
-
- * The size of data disk, in GB. The data disk size minimum is 10GB.
- *
- * Generated from protobuf field .google.protobuf.Int64Value data_disk_size_gb = 20;
- * @param int|string|null $var
- * @return $this
- */
- public function setDataDiskSizeGbUnwrapped($var)
- {
- $this->writeWrapperValue("data_disk_size_gb", $var);
- return $this;}
-
- /**
- * Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlActiveDirectoryConfig active_directory_config = 22;
- * @return \Google\Cloud\Sql\V1beta4\SqlActiveDirectoryConfig|null
- */
- public function getActiveDirectoryConfig()
- {
- return $this->active_directory_config;
- }
-
- public function hasActiveDirectoryConfig()
- {
- return isset($this->active_directory_config);
- }
-
- public function clearActiveDirectoryConfig()
- {
- unset($this->active_directory_config);
- }
-
- /**
- * Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlActiveDirectoryConfig active_directory_config = 22;
- * @param \Google\Cloud\Sql\V1beta4\SqlActiveDirectoryConfig $var
- * @return $this
- */
- public function setActiveDirectoryConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\SqlActiveDirectoryConfig::class);
- $this->active_directory_config = $var;
-
- return $this;
- }
-
- /**
- * The name of server Instance collation.
- *
- * Generated from protobuf field string collation = 23;
- * @return string
- */
- public function getCollation()
- {
- return $this->collation;
- }
-
- /**
- * The name of server Instance collation.
- *
- * Generated from protobuf field string collation = 23;
- * @param string $var
- * @return $this
- */
- public function setCollation($var)
- {
- GPBUtil::checkString($var, True);
- $this->collation = $var;
-
- return $this;
- }
-
- /**
- * Deny maintenance periods
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.DenyMaintenancePeriod deny_maintenance_periods = 24;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDenyMaintenancePeriods()
- {
- return $this->deny_maintenance_periods;
- }
-
- /**
- * Deny maintenance periods
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.DenyMaintenancePeriod deny_maintenance_periods = 24;
- * @param array<\Google\Cloud\Sql\V1beta4\DenyMaintenancePeriod>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setDenyMaintenancePeriods($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\DenyMaintenancePeriod::class);
- $this->deny_maintenance_periods = $arr;
-
- return $this;
- }
-
- /**
- * Insights configuration, for now relevant only for Postgres.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InsightsConfig insights_config = 25;
- * @return \Google\Cloud\Sql\V1beta4\InsightsConfig|null
- */
- public function getInsightsConfig()
- {
- return $this->insights_config;
- }
-
- public function hasInsightsConfig()
- {
- return isset($this->insights_config);
- }
-
- public function clearInsightsConfig()
- {
- unset($this->insights_config);
- }
-
- /**
- * Insights configuration, for now relevant only for Postgres.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InsightsConfig insights_config = 25;
- * @param \Google\Cloud\Sql\V1beta4\InsightsConfig $var
- * @return $this
- */
- public function setInsightsConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\InsightsConfig::class);
- $this->insights_config = $var;
-
- return $this;
- }
-
- /**
- * The local user password validation policy of the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.PasswordValidationPolicy password_validation_policy = 27;
- * @return \Google\Cloud\Sql\V1beta4\PasswordValidationPolicy|null
- */
- public function getPasswordValidationPolicy()
- {
- return $this->password_validation_policy;
- }
-
- public function hasPasswordValidationPolicy()
- {
- return isset($this->password_validation_policy);
- }
-
- public function clearPasswordValidationPolicy()
- {
- unset($this->password_validation_policy);
- }
-
- /**
- * The local user password validation policy of the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.PasswordValidationPolicy password_validation_policy = 27;
- * @param \Google\Cloud\Sql\V1beta4\PasswordValidationPolicy $var
- * @return $this
- */
- public function setPasswordValidationPolicy($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\PasswordValidationPolicy::class);
- $this->password_validation_policy = $var;
-
- return $this;
- }
-
- /**
- * SQL Server specific audit configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlServerAuditConfig sql_server_audit_config = 29;
- * @return \Google\Cloud\Sql\V1beta4\SqlServerAuditConfig|null
- */
- public function getSqlServerAuditConfig()
- {
- return $this->sql_server_audit_config;
- }
-
- public function hasSqlServerAuditConfig()
- {
- return isset($this->sql_server_audit_config);
- }
-
- public function clearSqlServerAuditConfig()
- {
- unset($this->sql_server_audit_config);
- }
-
- /**
- * SQL Server specific audit configuration.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlServerAuditConfig sql_server_audit_config = 29;
- * @param \Google\Cloud\Sql\V1beta4\SqlServerAuditConfig $var
- * @return $this
- */
- public function setSqlServerAuditConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\SqlServerAuditConfig::class);
- $this->sql_server_audit_config = $var;
-
- return $this;
- }
-
- /**
- * Optional. The edition of the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Settings.Edition edition = 38 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getEdition()
- {
- return $this->edition;
- }
-
- /**
- * Optional. The edition of the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Settings.Edition edition = 38 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setEdition($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\Settings\Edition::class);
- $this->edition = $var;
-
- return $this;
- }
-
- /**
- * Specifies if connections must use Cloud SQL connectors.
- * Option values include the following: `NOT_REQUIRED` (Cloud SQL instances
- * can be connected without Cloud SQL
- * Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL
- * Connectors)
- * Note that using REQUIRED disables all existing authorized networks. If
- * this field is not specified when creating a new instance, NOT_REQUIRED is
- * used. If this field is not specified when patching or updating an existing
- * instance, it is left unchanged in the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Settings.ConnectorEnforcement connector_enforcement = 32;
- * @return int
- */
- public function getConnectorEnforcement()
- {
- return $this->connector_enforcement;
- }
-
- /**
- * Specifies if connections must use Cloud SQL connectors.
- * Option values include the following: `NOT_REQUIRED` (Cloud SQL instances
- * can be connected without Cloud SQL
- * Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL
- * Connectors)
- * Note that using REQUIRED disables all existing authorized networks. If
- * this field is not specified when creating a new instance, NOT_REQUIRED is
- * used. If this field is not specified when patching or updating an existing
- * instance, it is left unchanged in the instance.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Settings.ConnectorEnforcement connector_enforcement = 32;
- * @param int $var
- * @return $this
- */
- public function setConnectorEnforcement($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\Settings\ConnectorEnforcement::class);
- $this->connector_enforcement = $var;
-
- return $this;
- }
-
- /**
- * Configuration to protect against accidental instance deletion.
- *
- * Generated from protobuf field .google.protobuf.BoolValue deletion_protection_enabled = 33;
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getDeletionProtectionEnabled()
- {
- return $this->deletion_protection_enabled;
- }
-
- public function hasDeletionProtectionEnabled()
- {
- return isset($this->deletion_protection_enabled);
- }
-
- public function clearDeletionProtectionEnabled()
- {
- unset($this->deletion_protection_enabled);
- }
-
- /**
- * Returns the unboxed value from getDeletionProtectionEnabled()
-
- * Configuration to protect against accidental instance deletion.
- *
- * Generated from protobuf field .google.protobuf.BoolValue deletion_protection_enabled = 33;
- * @return bool|null
- */
- public function getDeletionProtectionEnabledUnwrapped()
- {
- return $this->readWrapperValue("deletion_protection_enabled");
- }
-
- /**
- * Configuration to protect against accidental instance deletion.
- *
- * Generated from protobuf field .google.protobuf.BoolValue deletion_protection_enabled = 33;
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setDeletionProtectionEnabled($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->deletion_protection_enabled = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Configuration to protect against accidental instance deletion.
- *
- * Generated from protobuf field .google.protobuf.BoolValue deletion_protection_enabled = 33;
- * @param bool|null $var
- * @return $this
- */
- public function setDeletionProtectionEnabledUnwrapped($var)
- {
- $this->writeWrapperValue("deletion_protection_enabled", $var);
- return $this;}
-
- /**
- * Server timezone, relevant only for Cloud SQL for SQL Server.
- *
- * Generated from protobuf field string time_zone = 34;
- * @return string
- */
- public function getTimeZone()
- {
- return $this->time_zone;
- }
-
- /**
- * Server timezone, relevant only for Cloud SQL for SQL Server.
- *
- * Generated from protobuf field string time_zone = 34;
- * @param string $var
- * @return $this
- */
- public function setTimeZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->time_zone = $var;
-
- return $this;
- }
-
- /**
- * Specifies advance machine configuration for the instance
- * relevant only for SQL Server.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.AdvancedMachineFeatures advanced_machine_features = 35;
- * @return \Google\Cloud\Sql\V1beta4\AdvancedMachineFeatures|null
- */
- public function getAdvancedMachineFeatures()
- {
- return $this->advanced_machine_features;
- }
-
- public function hasAdvancedMachineFeatures()
- {
- return isset($this->advanced_machine_features);
- }
-
- public function clearAdvancedMachineFeatures()
- {
- unset($this->advanced_machine_features);
- }
-
- /**
- * Specifies advance machine configuration for the instance
- * relevant only for SQL Server.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.AdvancedMachineFeatures advanced_machine_features = 35;
- * @param \Google\Cloud\Sql\V1beta4\AdvancedMachineFeatures $var
- * @return $this
- */
- public function setAdvancedMachineFeatures($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\AdvancedMachineFeatures::class);
- $this->advanced_machine_features = $var;
-
- return $this;
- }
-
- /**
- * Configuration for data cache.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DataCacheConfig data_cache_config = 37;
- * @return \Google\Cloud\Sql\V1beta4\DataCacheConfig|null
- */
- public function getDataCacheConfig()
- {
- return $this->data_cache_config;
- }
-
- public function hasDataCacheConfig()
- {
- return isset($this->data_cache_config);
- }
-
- public function clearDataCacheConfig()
- {
- unset($this->data_cache_config);
- }
-
- /**
- * Configuration for data cache.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.DataCacheConfig data_cache_config = 37;
- * @param \Google\Cloud\Sql\V1beta4\DataCacheConfig $var
- * @return $this
- */
- public function setDataCacheConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DataCacheConfig::class);
- $this->data_cache_config = $var;
-
- return $this;
- }
-
- /**
- * Optional. When this parameter is set to true, Cloud SQL instances can
- * connect to Vertex AI to pass requests for real-time predictions and
- * insights to the AI. The default value is false. This applies only to Cloud
- * SQL for PostgreSQL instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\BoolValue|null
- */
- public function getEnableGoogleMlIntegration()
- {
- return $this->enable_google_ml_integration;
- }
-
- public function hasEnableGoogleMlIntegration()
- {
- return isset($this->enable_google_ml_integration);
- }
-
- public function clearEnableGoogleMlIntegration()
- {
- unset($this->enable_google_ml_integration);
- }
-
- /**
- * Returns the unboxed value from getEnableGoogleMlIntegration()
-
- * Optional. When this parameter is set to true, Cloud SQL instances can
- * connect to Vertex AI to pass requests for real-time predictions and
- * insights to the AI. The default value is false. This applies only to Cloud
- * SQL for PostgreSQL instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool|null
- */
- public function getEnableGoogleMlIntegrationUnwrapped()
- {
- return $this->readWrapperValue("enable_google_ml_integration");
- }
-
- /**
- * Optional. When this parameter is set to true, Cloud SQL instances can
- * connect to Vertex AI to pass requests for real-time predictions and
- * insights to the AI. The default value is false. This applies only to Cloud
- * SQL for PostgreSQL instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\BoolValue $var
- * @return $this
- */
- public function setEnableGoogleMlIntegration($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
- $this->enable_google_ml_integration = $var;
-
- return $this;
- }
-
- /**
- * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
-
- * Optional. When this parameter is set to true, Cloud SQL instances can
- * connect to Vertex AI to pass requests for real-time predictions and
- * insights to the AI. The default value is false. This applies only to Cloud
- * SQL for PostgreSQL instances.
- *
- * Generated from protobuf field .google.protobuf.BoolValue enable_google_ml_integration = 40 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool|null $var
- * @return $this
- */
- public function setEnableGoogleMlIntegrationUnwrapped($var)
- {
- $this->writeWrapperValue("enable_google_ml_integration", $var);
- return $this;}
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Settings/ConnectorEnforcement.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Settings/ConnectorEnforcement.php
deleted file mode 100644
index 40d6da387ba0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Settings/ConnectorEnforcement.php
+++ /dev/null
@@ -1,66 +0,0 @@
-google.cloud.sql.v1beta4.Settings.ConnectorEnforcement
- */
-class ConnectorEnforcement
-{
- /**
- * The requirement for Cloud SQL connectors is unknown.
- *
- * Generated from protobuf enum CONNECTOR_ENFORCEMENT_UNSPECIFIED = 0;
- */
- const CONNECTOR_ENFORCEMENT_UNSPECIFIED = 0;
- /**
- * Do not require Cloud SQL connectors.
- *
- * Generated from protobuf enum NOT_REQUIRED = 1;
- */
- const NOT_REQUIRED = 1;
- /**
- * Require all connections to use Cloud SQL connectors, including the
- * Cloud SQL Auth Proxy and Cloud SQL Java, Python, and Go connectors.
- * Note: This disables all existing authorized networks.
- *
- * Generated from protobuf enum REQUIRED = 2;
- */
- const REQUIRED = 2;
-
- private static $valueToName = [
- self::CONNECTOR_ENFORCEMENT_UNSPECIFIED => 'CONNECTOR_ENFORCEMENT_UNSPECIFIED',
- self::NOT_REQUIRED => 'NOT_REQUIRED',
- self::REQUIRED => 'REQUIRED',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(ConnectorEnforcement::class, \Google\Cloud\Sql\V1beta4\Settings_ConnectorEnforcement::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Settings/Edition.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Settings/Edition.php
deleted file mode 100644
index 08840ed67abc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Settings/Edition.php
+++ /dev/null
@@ -1,64 +0,0 @@
-google.cloud.sql.v1beta4.Settings.Edition
- */
-class Edition
-{
- /**
- * The instance did not specify the edition.
- *
- * Generated from protobuf enum EDITION_UNSPECIFIED = 0;
- */
- const EDITION_UNSPECIFIED = 0;
- /**
- * The instance is an enterprise edition.
- *
- * Generated from protobuf enum ENTERPRISE = 2;
- */
- const ENTERPRISE = 2;
- /**
- * The instance is an Enterprise Plus edition.
- *
- * Generated from protobuf enum ENTERPRISE_PLUS = 3;
- */
- const ENTERPRISE_PLUS = 3;
-
- private static $valueToName = [
- self::EDITION_UNSPECIFIED => 'EDITION_UNSPECIFIED',
- self::ENTERPRISE => 'ENTERPRISE',
- self::ENTERPRISE_PLUS => 'ENTERPRISE_PLUS',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Edition::class, \Google\Cloud\Sql\V1beta4\Settings_Edition::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Settings/SqlActivationPolicy.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Settings/SqlActivationPolicy.php
deleted file mode 100644
index d1913db863e6..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Settings/SqlActivationPolicy.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.cloud.sql.v1beta4.Settings.SqlActivationPolicy
- */
-class SqlActivationPolicy
-{
- /**
- * Unknown activation plan.
- *
- * Generated from protobuf enum SQL_ACTIVATION_POLICY_UNSPECIFIED = 0;
- */
- const SQL_ACTIVATION_POLICY_UNSPECIFIED = 0;
- /**
- * The instance is always up and running.
- *
- * Generated from protobuf enum ALWAYS = 1;
- */
- const ALWAYS = 1;
- /**
- * The instance never starts.
- *
- * Generated from protobuf enum NEVER = 2;
- */
- const NEVER = 2;
- /**
- * The instance starts upon receiving requests.
- *
- * Generated from protobuf enum ON_DEMAND = 3 [deprecated = true];
- */
- const ON_DEMAND = 3;
-
- private static $valueToName = [
- self::SQL_ACTIVATION_POLICY_UNSPECIFIED => 'SQL_ACTIVATION_POLICY_UNSPECIFIED',
- self::ALWAYS => 'ALWAYS',
- self::NEVER => 'NEVER',
- self::ON_DEMAND => 'ON_DEMAND',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlActivationPolicy::class, \Google\Cloud\Sql\V1beta4\Settings_SqlActivationPolicy::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlActiveDirectoryConfig.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlActiveDirectoryConfig.php
deleted file mode 100644
index 1402b08419ca..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlActiveDirectoryConfig.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.SqlActiveDirectoryConfig
- */
-class SqlActiveDirectoryConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always sql#activeDirectoryConfig.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The name of the domain (e.g., mydomain.com).
- *
- * Generated from protobuf field string domain = 2;
- */
- protected $domain = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always sql#activeDirectoryConfig.
- * @type string $domain
- * The name of the domain (e.g., mydomain.com).
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always sql#activeDirectoryConfig.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always sql#activeDirectoryConfig.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The name of the domain (e.g., mydomain.com).
- *
- * Generated from protobuf field string domain = 2;
- * @return string
- */
- public function getDomain()
- {
- return $this->domain;
- }
-
- /**
- * The name of the domain (e.g., mydomain.com).
- *
- * Generated from protobuf field string domain = 2;
- * @param string $var
- * @return $this
- */
- public function setDomain($var)
- {
- GPBUtil::checkString($var, True);
- $this->domain = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlAvailabilityType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlAvailabilityType.php
deleted file mode 100644
index 80b8e244fd96..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlAvailabilityType.php
+++ /dev/null
@@ -1,61 +0,0 @@
-google.cloud.sql.v1beta4.SqlAvailabilityType
- */
-class SqlAvailabilityType
-{
- /**
- * This is an unknown Availability type.
- *
- * Generated from protobuf enum SQL_AVAILABILITY_TYPE_UNSPECIFIED = 0;
- */
- const SQL_AVAILABILITY_TYPE_UNSPECIFIED = 0;
- /**
- * Zonal available instance.
- *
- * Generated from protobuf enum ZONAL = 1;
- */
- const ZONAL = 1;
- /**
- * Regional available instance.
- *
- * Generated from protobuf enum REGIONAL = 2;
- */
- const REGIONAL = 2;
-
- private static $valueToName = [
- self::SQL_AVAILABILITY_TYPE_UNSPECIFIED => 'SQL_AVAILABILITY_TYPE_UNSPECIFIED',
- self::ZONAL => 'ZONAL',
- self::REGIONAL => 'REGIONAL',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackendType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackendType.php
deleted file mode 100644
index 88db36c12af1..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackendType.php
+++ /dev/null
@@ -1,66 +0,0 @@
-google.cloud.sql.v1beta4.SqlBackendType
- */
-class SqlBackendType
-{
- /**
- * This is an unknown backend type for instance.
- *
- * Generated from protobuf enum SQL_BACKEND_TYPE_UNSPECIFIED = 0;
- */
- const SQL_BACKEND_TYPE_UNSPECIFIED = 0;
- /**
- * V1 speckle instance.
- *
- * Generated from protobuf enum FIRST_GEN = 1 [deprecated = true];
- */
- const FIRST_GEN = 1;
- /**
- * V2 speckle instance.
- *
- * Generated from protobuf enum SECOND_GEN = 2;
- */
- const SECOND_GEN = 2;
- /**
- * On premises instance.
- *
- * Generated from protobuf enum EXTERNAL = 3;
- */
- const EXTERNAL = 3;
-
- private static $valueToName = [
- self::SQL_BACKEND_TYPE_UNSPECIFIED => 'SQL_BACKEND_TYPE_UNSPECIFIED',
- self::FIRST_GEN => 'FIRST_GEN',
- self::SECOND_GEN => 'SECOND_GEN',
- self::EXTERNAL => 'EXTERNAL',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupKind.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupKind.php
deleted file mode 100644
index 3fd03b58591c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupKind.php
+++ /dev/null
@@ -1,61 +0,0 @@
-google.cloud.sql.v1beta4.SqlBackupKind
- */
-class SqlBackupKind
-{
- /**
- * This is an unknown BackupKind.
- *
- * Generated from protobuf enum SQL_BACKUP_KIND_UNSPECIFIED = 0;
- */
- const SQL_BACKUP_KIND_UNSPECIFIED = 0;
- /**
- * The snapshot based backups
- *
- * Generated from protobuf enum SNAPSHOT = 1;
- */
- const SNAPSHOT = 1;
- /**
- * Physical backups
- *
- * Generated from protobuf enum PHYSICAL = 2;
- */
- const PHYSICAL = 2;
-
- private static $valueToName = [
- self::SQL_BACKUP_KIND_UNSPECIFIED => 'SQL_BACKUP_KIND_UNSPECIFIED',
- self::SNAPSHOT => 'SNAPSHOT',
- self::PHYSICAL => 'PHYSICAL',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunStatus.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunStatus.php
deleted file mode 100644
index bc5789484147..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunStatus.php
+++ /dev/null
@@ -1,113 +0,0 @@
-google.cloud.sql.v1beta4.SqlBackupRunStatus
- */
-class SqlBackupRunStatus
-{
- /**
- * The status of the run is unknown.
- *
- * Generated from protobuf enum SQL_BACKUP_RUN_STATUS_UNSPECIFIED = 0;
- */
- const SQL_BACKUP_RUN_STATUS_UNSPECIFIED = 0;
- /**
- * The backup operation was enqueued.
- *
- * Generated from protobuf enum ENQUEUED = 1;
- */
- const ENQUEUED = 1;
- /**
- * The backup is overdue across a given backup window. Indicates a
- * problem. Example: Long-running operation in progress during
- * the whole window.
- *
- * Generated from protobuf enum OVERDUE = 2;
- */
- const OVERDUE = 2;
- /**
- * The backup is in progress.
- *
- * Generated from protobuf enum RUNNING = 3;
- */
- const RUNNING = 3;
- /**
- * The backup failed.
- *
- * Generated from protobuf enum FAILED = 4;
- */
- const FAILED = 4;
- /**
- * The backup was successful.
- *
- * Generated from protobuf enum SUCCESSFUL = 5;
- */
- const SUCCESSFUL = 5;
- /**
- * The backup was skipped (without problems) for a given backup
- * window. Example: Instance was idle.
- *
- * Generated from protobuf enum SKIPPED = 6;
- */
- const SKIPPED = 6;
- /**
- * The backup is about to be deleted.
- *
- * Generated from protobuf enum DELETION_PENDING = 7;
- */
- const DELETION_PENDING = 7;
- /**
- * The backup deletion failed.
- *
- * Generated from protobuf enum DELETION_FAILED = 8;
- */
- const DELETION_FAILED = 8;
- /**
- * The backup has been deleted.
- *
- * Generated from protobuf enum DELETED = 9;
- */
- const DELETED = 9;
-
- private static $valueToName = [
- self::SQL_BACKUP_RUN_STATUS_UNSPECIFIED => 'SQL_BACKUP_RUN_STATUS_UNSPECIFIED',
- self::ENQUEUED => 'ENQUEUED',
- self::OVERDUE => 'OVERDUE',
- self::RUNNING => 'RUNNING',
- self::FAILED => 'FAILED',
- self::SUCCESSFUL => 'SUCCESSFUL',
- self::SKIPPED => 'SKIPPED',
- self::DELETION_PENDING => 'DELETION_PENDING',
- self::DELETION_FAILED => 'DELETION_FAILED',
- self::DELETED => 'DELETED',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunType.php
deleted file mode 100644
index a4c56299a449..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunType.php
+++ /dev/null
@@ -1,59 +0,0 @@
-google.cloud.sql.v1beta4.SqlBackupRunType
- */
-class SqlBackupRunType
-{
- /**
- * This is an unknown BackupRun type.
- *
- * Generated from protobuf enum SQL_BACKUP_RUN_TYPE_UNSPECIFIED = 0;
- */
- const SQL_BACKUP_RUN_TYPE_UNSPECIFIED = 0;
- /**
- * The backup schedule automatically triggers a backup.
- *
- * Generated from protobuf enum AUTOMATED = 1;
- */
- const AUTOMATED = 1;
- /**
- * The user manually triggers a backup.
- *
- * Generated from protobuf enum ON_DEMAND = 2;
- */
- const ON_DEMAND = 2;
-
- private static $valueToName = [
- self::SQL_BACKUP_RUN_TYPE_UNSPECIFIED => 'SQL_BACKUP_RUN_TYPE_UNSPECIFIED',
- self::AUTOMATED => 'AUTOMATED',
- self::ON_DEMAND => 'ON_DEMAND',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunsDeleteRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunsDeleteRequest.php
deleted file mode 100644
index 43474c7cd3d1..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunsDeleteRequest.php
+++ /dev/null
@@ -1,141 +0,0 @@
-google.cloud.sql.v1beta4.SqlBackupRunsDeleteRequest
- */
-class SqlBackupRunsDeleteRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The ID of the backup run to delete. To find a backup run ID, use the
- * [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/backupRuns/list)
- * method.
- *
- * Generated from protobuf field int64 id = 1;
- */
- protected $id = 0;
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $id
- * The ID of the backup run to delete. To find a backup run ID, use the
- * [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/backupRuns/list)
- * method.
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The ID of the backup run to delete. To find a backup run ID, use the
- * [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/backupRuns/list)
- * method.
- *
- * Generated from protobuf field int64 id = 1;
- * @return int|string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * The ID of the backup run to delete. To find a backup run ID, use the
- * [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/backupRuns/list)
- * method.
- *
- * Generated from protobuf field int64 id = 1;
- * @param int|string $var
- * @return $this
- */
- public function setId($var)
- {
- GPBUtil::checkInt64($var);
- $this->id = $var;
-
- return $this;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunsGetRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunsGetRequest.php
deleted file mode 100644
index e5e7f4bbdd1f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunsGetRequest.php
+++ /dev/null
@@ -1,133 +0,0 @@
-google.cloud.sql.v1beta4.SqlBackupRunsGetRequest
- */
-class SqlBackupRunsGetRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The ID of this backup run.
- *
- * Generated from protobuf field int64 id = 1;
- */
- protected $id = 0;
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $id
- * The ID of this backup run.
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The ID of this backup run.
- *
- * Generated from protobuf field int64 id = 1;
- * @return int|string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * The ID of this backup run.
- *
- * Generated from protobuf field int64 id = 1;
- * @param int|string $var
- * @return $this
- */
- public function setId($var)
- {
- GPBUtil::checkInt64($var);
- $this->id = $var;
-
- return $this;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunsInsertRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunsInsertRequest.php
deleted file mode 100644
index dd131cffbbe5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunsInsertRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlBackupRunsInsertRequest
- */
-class SqlBackupRunsInsertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupRun body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\BackupRun $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupRun body = 100;
- * @return \Google\Cloud\Sql\V1beta4\BackupRun|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.BackupRun body = 100;
- * @param \Google\Cloud\Sql\V1beta4\BackupRun $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\BackupRun::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunsListRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunsListRequest.php
deleted file mode 100644
index c1a60964e297..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlBackupRunsListRequest.php
+++ /dev/null
@@ -1,175 +0,0 @@
-google.cloud.sql.v1beta4.SqlBackupRunsListRequest
- */
-class SqlBackupRunsListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID, or "-" for all instances. This does not include
- * the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Maximum number of backup runs per response.
- *
- * Generated from protobuf field int32 max_results = 2;
- */
- protected $max_results = 0;
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- */
- protected $page_token = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID, or "-" for all instances. This does not include
- * the project ID.
- * @type int $max_results
- * Maximum number of backup runs per response.
- * @type string $page_token
- * A previously-returned page token representing part of the larger set of
- * results to view.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID, or "-" for all instances. This does not include
- * the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID, or "-" for all instances. This does not include
- * the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Maximum number of backup runs per response.
- *
- * Generated from protobuf field int32 max_results = 2;
- * @return int
- */
- public function getMaxResults()
- {
- return $this->max_results;
- }
-
- /**
- * Maximum number of backup runs per response.
- *
- * Generated from protobuf field int32 max_results = 2;
- * @param int $var
- * @return $this
- */
- public function setMaxResults($var)
- {
- GPBUtil::checkInt32($var);
- $this->max_results = $var;
-
- return $this;
- }
-
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDataDiskType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDataDiskType.php
deleted file mode 100644
index 0562300ef6a9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDataDiskType.php
+++ /dev/null
@@ -1,69 +0,0 @@
-google.cloud.sql.v1beta4.SqlDataDiskType
- */
-class SqlDataDiskType
-{
- /**
- * This is an unknown data disk type.
- *
- * Generated from protobuf enum SQL_DATA_DISK_TYPE_UNSPECIFIED = 0;
- */
- const SQL_DATA_DISK_TYPE_UNSPECIFIED = 0;
- /**
- * An SSD data disk.
- *
- * Generated from protobuf enum PD_SSD = 1;
- */
- const PD_SSD = 1;
- /**
- * An HDD data disk.
- *
- * Generated from protobuf enum PD_HDD = 2;
- */
- const PD_HDD = 2;
- /**
- * This field is deprecated and will be removed from a future version of the
- * API.
- *
- * Generated from protobuf enum OBSOLETE_LOCAL_SSD = 3 [deprecated = true];
- */
- const OBSOLETE_LOCAL_SSD = 3;
-
- private static $valueToName = [
- self::SQL_DATA_DISK_TYPE_UNSPECIFIED => 'SQL_DATA_DISK_TYPE_UNSPECIFIED',
- self::PD_SSD => 'PD_SSD',
- self::PD_HDD => 'PD_HDD',
- self::OBSOLETE_LOCAL_SSD => 'OBSOLETE_LOCAL_SSD',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabaseVersion.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabaseVersion.php
deleted file mode 100644
index a5072e10aa56..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabaseVersion.php
+++ /dev/null
@@ -1,327 +0,0 @@
-google.cloud.sql.v1beta4.SqlDatabaseVersion
- */
-class SqlDatabaseVersion
-{
- /**
- * This is an unknown database version.
- *
- * Generated from protobuf enum SQL_DATABASE_VERSION_UNSPECIFIED = 0;
- */
- const SQL_DATABASE_VERSION_UNSPECIFIED = 0;
- /**
- * The database version is MySQL 5.1.
- *
- * Generated from protobuf enum MYSQL_5_1 = 2 [deprecated = true];
- */
- const MYSQL_5_1 = 2;
- /**
- * The database version is MySQL 5.5.
- *
- * Generated from protobuf enum MYSQL_5_5 = 3 [deprecated = true];
- */
- const MYSQL_5_5 = 3;
- /**
- * The database version is MySQL 5.6.
- *
- * Generated from protobuf enum MYSQL_5_6 = 5;
- */
- const MYSQL_5_6 = 5;
- /**
- * The database version is MySQL 5.7.
- *
- * Generated from protobuf enum MYSQL_5_7 = 6;
- */
- const MYSQL_5_7 = 6;
- /**
- * The database version is SQL Server 2017 Standard.
- *
- * Generated from protobuf enum SQLSERVER_2017_STANDARD = 11;
- */
- const SQLSERVER_2017_STANDARD = 11;
- /**
- * The database version is SQL Server 2017 Enterprise.
- *
- * Generated from protobuf enum SQLSERVER_2017_ENTERPRISE = 14;
- */
- const SQLSERVER_2017_ENTERPRISE = 14;
- /**
- * The database version is SQL Server 2017 Express.
- *
- * Generated from protobuf enum SQLSERVER_2017_EXPRESS = 15;
- */
- const SQLSERVER_2017_EXPRESS = 15;
- /**
- * The database version is SQL Server 2017 Web.
- *
- * Generated from protobuf enum SQLSERVER_2017_WEB = 16;
- */
- const SQLSERVER_2017_WEB = 16;
- /**
- * The database version is PostgreSQL 9.6.
- *
- * Generated from protobuf enum POSTGRES_9_6 = 9;
- */
- const POSTGRES_9_6 = 9;
- /**
- * The database version is PostgreSQL 10.
- *
- * Generated from protobuf enum POSTGRES_10 = 18;
- */
- const POSTGRES_10 = 18;
- /**
- * The database version is PostgreSQL 11.
- *
- * Generated from protobuf enum POSTGRES_11 = 10;
- */
- const POSTGRES_11 = 10;
- /**
- * The database version is PostgreSQL 12.
- *
- * Generated from protobuf enum POSTGRES_12 = 19;
- */
- const POSTGRES_12 = 19;
- /**
- * The database version is PostgreSQL 13.
- *
- * Generated from protobuf enum POSTGRES_13 = 23;
- */
- const POSTGRES_13 = 23;
- /**
- * The database version is PostgreSQL 14.
- *
- * Generated from protobuf enum POSTGRES_14 = 110;
- */
- const POSTGRES_14 = 110;
- /**
- * The database version is PostgreSQL 15.
- *
- * Generated from protobuf enum POSTGRES_15 = 172;
- */
- const POSTGRES_15 = 172;
- /**
- * The database version is MySQL 8.
- *
- * Generated from protobuf enum MYSQL_8_0 = 20;
- */
- const MYSQL_8_0 = 20;
- /**
- * The database major version is MySQL 8.0 and the minor version is 18.
- *
- * Generated from protobuf enum MYSQL_8_0_18 = 41;
- */
- const MYSQL_8_0_18 = 41;
- /**
- * The database major version is MySQL 8.0 and the minor version is 26.
- *
- * Generated from protobuf enum MYSQL_8_0_26 = 85;
- */
- const MYSQL_8_0_26 = 85;
- /**
- * The database major version is MySQL 8.0 and the minor version is 27.
- *
- * Generated from protobuf enum MYSQL_8_0_27 = 111;
- */
- const MYSQL_8_0_27 = 111;
- /**
- * The database major version is MySQL 8.0 and the minor version is 28.
- *
- * Generated from protobuf enum MYSQL_8_0_28 = 132;
- */
- const MYSQL_8_0_28 = 132;
- /**
- * The database major version is MySQL 8.0 and the minor version is 29.
- *
- * Generated from protobuf enum MYSQL_8_0_29 = 148 [deprecated = true];
- */
- const MYSQL_8_0_29 = 148;
- /**
- * The database major version is MySQL 8.0 and the minor version is 30.
- *
- * Generated from protobuf enum MYSQL_8_0_30 = 174;
- */
- const MYSQL_8_0_30 = 174;
- /**
- * The database major version is MySQL 8.0 and the minor version is 31.
- *
- * Generated from protobuf enum MYSQL_8_0_31 = 197;
- */
- const MYSQL_8_0_31 = 197;
- /**
- * The database major version is MySQL 8.0 and the minor version is 32.
- *
- * Generated from protobuf enum MYSQL_8_0_32 = 213;
- */
- const MYSQL_8_0_32 = 213;
- /**
- * The database major version is MySQL 8.0 and the minor version is 33.
- *
- * Generated from protobuf enum MYSQL_8_0_33 = 238;
- */
- const MYSQL_8_0_33 = 238;
- /**
- * The database major version is MySQL 8.0 and the minor version is 34.
- *
- * Generated from protobuf enum MYSQL_8_0_34 = 239;
- */
- const MYSQL_8_0_34 = 239;
- /**
- * The database major version is MySQL 8.0 and the minor version is 35.
- *
- * Generated from protobuf enum MYSQL_8_0_35 = 240;
- */
- const MYSQL_8_0_35 = 240;
- /**
- * The database major version is MySQL 8.0 and the minor version is 36.
- *
- * Generated from protobuf enum MYSQL_8_0_36 = 241;
- */
- const MYSQL_8_0_36 = 241;
- /**
- * The database major version is MySQL 8.0 and the minor version is 37.
- *
- * Generated from protobuf enum MYSQL_8_0_37 = 355;
- */
- const MYSQL_8_0_37 = 355;
- /**
- * The database major version is MySQL 8.0 and the minor version is 38.
- *
- * Generated from protobuf enum MYSQL_8_0_38 = 356;
- */
- const MYSQL_8_0_38 = 356;
- /**
- * The database major version is MySQL 8.0 and the minor version is 39.
- *
- * Generated from protobuf enum MYSQL_8_0_39 = 357;
- */
- const MYSQL_8_0_39 = 357;
- /**
- * The database major version is MySQL 8.0 and the minor version is 40.
- *
- * Generated from protobuf enum MYSQL_8_0_40 = 358;
- */
- const MYSQL_8_0_40 = 358;
- /**
- * The database version is SQL Server 2019 Standard.
- *
- * Generated from protobuf enum SQLSERVER_2019_STANDARD = 26;
- */
- const SQLSERVER_2019_STANDARD = 26;
- /**
- * The database version is SQL Server 2019 Enterprise.
- *
- * Generated from protobuf enum SQLSERVER_2019_ENTERPRISE = 27;
- */
- const SQLSERVER_2019_ENTERPRISE = 27;
- /**
- * The database version is SQL Server 2019 Express.
- *
- * Generated from protobuf enum SQLSERVER_2019_EXPRESS = 28;
- */
- const SQLSERVER_2019_EXPRESS = 28;
- /**
- * The database version is SQL Server 2019 Web.
- *
- * Generated from protobuf enum SQLSERVER_2019_WEB = 29;
- */
- const SQLSERVER_2019_WEB = 29;
- /**
- * The database version is SQL Server 2022 Standard.
- *
- * Generated from protobuf enum SQLSERVER_2022_STANDARD = 199;
- */
- const SQLSERVER_2022_STANDARD = 199;
- /**
- * The database version is SQL Server 2022 Enterprise.
- *
- * Generated from protobuf enum SQLSERVER_2022_ENTERPRISE = 200;
- */
- const SQLSERVER_2022_ENTERPRISE = 200;
- /**
- * The database version is SQL Server 2022 Express.
- *
- * Generated from protobuf enum SQLSERVER_2022_EXPRESS = 201;
- */
- const SQLSERVER_2022_EXPRESS = 201;
- /**
- * The database version is SQL Server 2022 Web.
- *
- * Generated from protobuf enum SQLSERVER_2022_WEB = 202;
- */
- const SQLSERVER_2022_WEB = 202;
-
- private static $valueToName = [
- self::SQL_DATABASE_VERSION_UNSPECIFIED => 'SQL_DATABASE_VERSION_UNSPECIFIED',
- self::MYSQL_5_1 => 'MYSQL_5_1',
- self::MYSQL_5_5 => 'MYSQL_5_5',
- self::MYSQL_5_6 => 'MYSQL_5_6',
- self::MYSQL_5_7 => 'MYSQL_5_7',
- self::SQLSERVER_2017_STANDARD => 'SQLSERVER_2017_STANDARD',
- self::SQLSERVER_2017_ENTERPRISE => 'SQLSERVER_2017_ENTERPRISE',
- self::SQLSERVER_2017_EXPRESS => 'SQLSERVER_2017_EXPRESS',
- self::SQLSERVER_2017_WEB => 'SQLSERVER_2017_WEB',
- self::POSTGRES_9_6 => 'POSTGRES_9_6',
- self::POSTGRES_10 => 'POSTGRES_10',
- self::POSTGRES_11 => 'POSTGRES_11',
- self::POSTGRES_12 => 'POSTGRES_12',
- self::POSTGRES_13 => 'POSTGRES_13',
- self::POSTGRES_14 => 'POSTGRES_14',
- self::POSTGRES_15 => 'POSTGRES_15',
- self::MYSQL_8_0 => 'MYSQL_8_0',
- self::MYSQL_8_0_18 => 'MYSQL_8_0_18',
- self::MYSQL_8_0_26 => 'MYSQL_8_0_26',
- self::MYSQL_8_0_27 => 'MYSQL_8_0_27',
- self::MYSQL_8_0_28 => 'MYSQL_8_0_28',
- self::MYSQL_8_0_29 => 'MYSQL_8_0_29',
- self::MYSQL_8_0_30 => 'MYSQL_8_0_30',
- self::MYSQL_8_0_31 => 'MYSQL_8_0_31',
- self::MYSQL_8_0_32 => 'MYSQL_8_0_32',
- self::MYSQL_8_0_33 => 'MYSQL_8_0_33',
- self::MYSQL_8_0_34 => 'MYSQL_8_0_34',
- self::MYSQL_8_0_35 => 'MYSQL_8_0_35',
- self::MYSQL_8_0_36 => 'MYSQL_8_0_36',
- self::MYSQL_8_0_37 => 'MYSQL_8_0_37',
- self::MYSQL_8_0_38 => 'MYSQL_8_0_38',
- self::MYSQL_8_0_39 => 'MYSQL_8_0_39',
- self::MYSQL_8_0_40 => 'MYSQL_8_0_40',
- self::SQLSERVER_2019_STANDARD => 'SQLSERVER_2019_STANDARD',
- self::SQLSERVER_2019_ENTERPRISE => 'SQLSERVER_2019_ENTERPRISE',
- self::SQLSERVER_2019_EXPRESS => 'SQLSERVER_2019_EXPRESS',
- self::SQLSERVER_2019_WEB => 'SQLSERVER_2019_WEB',
- self::SQLSERVER_2022_STANDARD => 'SQLSERVER_2022_STANDARD',
- self::SQLSERVER_2022_ENTERPRISE => 'SQLSERVER_2022_ENTERPRISE',
- self::SQLSERVER_2022_EXPRESS => 'SQLSERVER_2022_EXPRESS',
- self::SQLSERVER_2022_WEB => 'SQLSERVER_2022_WEB',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesDeleteRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesDeleteRequest.php
deleted file mode 100644
index 0890960e2fa4..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesDeleteRequest.php
+++ /dev/null
@@ -1,133 +0,0 @@
-google.cloud.sql.v1beta4.SqlDatabasesDeleteRequest
- */
-class SqlDatabasesDeleteRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Name of the database to be deleted in the instance.
- *
- * Generated from protobuf field string database = 1;
- */
- protected $database = '';
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $database
- * Name of the database to be deleted in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Name of the database to be deleted in the instance.
- *
- * Generated from protobuf field string database = 1;
- * @return string
- */
- public function getDatabase()
- {
- return $this->database;
- }
-
- /**
- * Name of the database to be deleted in the instance.
- *
- * Generated from protobuf field string database = 1;
- * @param string $var
- * @return $this
- */
- public function setDatabase($var)
- {
- GPBUtil::checkString($var, True);
- $this->database = $var;
-
- return $this;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesGetRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesGetRequest.php
deleted file mode 100644
index 5bd9d2cb911c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesGetRequest.php
+++ /dev/null
@@ -1,133 +0,0 @@
-google.cloud.sql.v1beta4.SqlDatabasesGetRequest
- */
-class SqlDatabasesGetRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Name of the database in the instance.
- *
- * Generated from protobuf field string database = 1;
- */
- protected $database = '';
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $database
- * Name of the database in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Name of the database in the instance.
- *
- * Generated from protobuf field string database = 1;
- * @return string
- */
- public function getDatabase()
- {
- return $this->database;
- }
-
- /**
- * Name of the database in the instance.
- *
- * Generated from protobuf field string database = 1;
- * @param string $var
- * @return $this
- */
- public function setDatabase($var)
- {
- GPBUtil::checkString($var, True);
- $this->database = $var;
-
- return $this;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesInsertRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesInsertRequest.php
deleted file mode 100644
index bee665845be2..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesInsertRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlDatabasesInsertRequest
- */
-class SqlDatabasesInsertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.Database body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\Database $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.Database body = 100;
- * @return \Google\Cloud\Sql\V1beta4\Database|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.Database body = 100;
- * @param \Google\Cloud\Sql\V1beta4\Database $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\Database::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesListRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesListRequest.php
deleted file mode 100644
index 34202b168421..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesListRequest.php
+++ /dev/null
@@ -1,99 +0,0 @@
-google.cloud.sql.v1beta4.SqlDatabasesListRequest
- */
-class SqlDatabasesListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesUpdateRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesUpdateRequest.php
deleted file mode 100644
index a6cf6acdd828..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlDatabasesUpdateRequest.php
+++ /dev/null
@@ -1,170 +0,0 @@
-google.cloud.sql.v1beta4.SqlDatabasesUpdateRequest
- */
-class SqlDatabasesUpdateRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Name of the database to be updated in the instance.
- *
- * Generated from protobuf field string database = 1;
- */
- protected $database = '';
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.Database body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $database
- * Name of the database to be updated in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\Database $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Name of the database to be updated in the instance.
- *
- * Generated from protobuf field string database = 1;
- * @return string
- */
- public function getDatabase()
- {
- return $this->database;
- }
-
- /**
- * Name of the database to be updated in the instance.
- *
- * Generated from protobuf field string database = 1;
- * @param string $var
- * @return $this
- */
- public function setDatabase($var)
- {
- GPBUtil::checkString($var, True);
- $this->database = $var;
-
- return $this;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.Database body = 100;
- * @return \Google\Cloud\Sql\V1beta4\Database|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.Database body = 100;
- * @param \Google\Cloud\Sql\V1beta4\Database $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\Database::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlExternalSyncSettingError.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlExternalSyncSettingError.php
deleted file mode 100644
index 6a475a6c78db..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlExternalSyncSettingError.php
+++ /dev/null
@@ -1,139 +0,0 @@
-google.cloud.sql.v1beta4.SqlExternalSyncSettingError
- */
-class SqlExternalSyncSettingError extends \Google\Protobuf\Internal\Message
-{
- /**
- * Can be `sql#externalSyncSettingError` or
- * `sql#externalSyncSettingWarning`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Identifies the specific error that occurred.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlExternalSyncSettingError.SqlExternalSyncSettingErrorType type = 2;
- */
- protected $type = 0;
- /**
- * Additional information about the error encountered.
- *
- * Generated from protobuf field string detail = 3;
- */
- protected $detail = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * Can be `sql#externalSyncSettingError` or
- * `sql#externalSyncSettingWarning`.
- * @type int $type
- * Identifies the specific error that occurred.
- * @type string $detail
- * Additional information about the error encountered.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Can be `sql#externalSyncSettingError` or
- * `sql#externalSyncSettingWarning`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * Can be `sql#externalSyncSettingError` or
- * `sql#externalSyncSettingWarning`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Identifies the specific error that occurred.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlExternalSyncSettingError.SqlExternalSyncSettingErrorType type = 2;
- * @return int
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * Identifies the specific error that occurred.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlExternalSyncSettingError.SqlExternalSyncSettingErrorType type = 2;
- * @param int $var
- * @return $this
- */
- public function setType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlExternalSyncSettingError\SqlExternalSyncSettingErrorType::class);
- $this->type = $var;
-
- return $this;
- }
-
- /**
- * Additional information about the error encountered.
- *
- * Generated from protobuf field string detail = 3;
- * @return string
- */
- public function getDetail()
- {
- return $this->detail;
- }
-
- /**
- * Additional information about the error encountered.
- *
- * Generated from protobuf field string detail = 3;
- * @param string $var
- * @return $this
- */
- public function setDetail($var)
- {
- GPBUtil::checkString($var, True);
- $this->detail = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php
deleted file mode 100644
index 0283ca788414..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php
+++ /dev/null
@@ -1,360 +0,0 @@
-google.cloud.sql.v1beta4.SqlExternalSyncSettingError.SqlExternalSyncSettingErrorType
- */
-class SqlExternalSyncSettingErrorType
-{
- /**
- * Generated from protobuf enum SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED = 0;
- */
- const SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED = 0;
- /**
- * Generated from protobuf enum CONNECTION_FAILURE = 1;
- */
- const CONNECTION_FAILURE = 1;
- /**
- * Generated from protobuf enum BINLOG_NOT_ENABLED = 2;
- */
- const BINLOG_NOT_ENABLED = 2;
- /**
- * Generated from protobuf enum INCOMPATIBLE_DATABASE_VERSION = 3;
- */
- const INCOMPATIBLE_DATABASE_VERSION = 3;
- /**
- * Generated from protobuf enum REPLICA_ALREADY_SETUP = 4;
- */
- const REPLICA_ALREADY_SETUP = 4;
- /**
- * The replication user is missing privileges that are required.
- *
- * Generated from protobuf enum INSUFFICIENT_PRIVILEGE = 5;
- */
- const INSUFFICIENT_PRIVILEGE = 5;
- /**
- * Unsupported migration type.
- *
- * Generated from protobuf enum UNSUPPORTED_MIGRATION_TYPE = 6;
- */
- const UNSUPPORTED_MIGRATION_TYPE = 6;
- /**
- * No pglogical extension installed on databases, applicable for postgres.
- *
- * Generated from protobuf enum NO_PGLOGICAL_INSTALLED = 7;
- */
- const NO_PGLOGICAL_INSTALLED = 7;
- /**
- * pglogical node already exists on databases, applicable for postgres.
- *
- * Generated from protobuf enum PGLOGICAL_NODE_ALREADY_EXISTS = 8;
- */
- const PGLOGICAL_NODE_ALREADY_EXISTS = 8;
- /**
- * The value of parameter wal_level is not set to logical.
- *
- * Generated from protobuf enum INVALID_WAL_LEVEL = 9;
- */
- const INVALID_WAL_LEVEL = 9;
- /**
- * The value of parameter shared_preload_libraries does not include
- * pglogical.
- *
- * Generated from protobuf enum INVALID_SHARED_PRELOAD_LIBRARY = 10;
- */
- const INVALID_SHARED_PRELOAD_LIBRARY = 10;
- /**
- * The value of parameter max_replication_slots is not sufficient.
- *
- * Generated from protobuf enum INSUFFICIENT_MAX_REPLICATION_SLOTS = 11;
- */
- const INSUFFICIENT_MAX_REPLICATION_SLOTS = 11;
- /**
- * The value of parameter max_wal_senders is not sufficient.
- *
- * Generated from protobuf enum INSUFFICIENT_MAX_WAL_SENDERS = 12;
- */
- const INSUFFICIENT_MAX_WAL_SENDERS = 12;
- /**
- * The value of parameter max_worker_processes is not sufficient.
- *
- * Generated from protobuf enum INSUFFICIENT_MAX_WORKER_PROCESSES = 13;
- */
- const INSUFFICIENT_MAX_WORKER_PROCESSES = 13;
- /**
- * Extensions installed are either not supported or having unsupported
- * versions
- *
- * Generated from protobuf enum UNSUPPORTED_EXTENSIONS = 14;
- */
- const UNSUPPORTED_EXTENSIONS = 14;
- /**
- * The value of parameter rds.logical_replication is not set to 1.
- *
- * Generated from protobuf enum INVALID_RDS_LOGICAL_REPLICATION = 15;
- */
- const INVALID_RDS_LOGICAL_REPLICATION = 15;
- /**
- * The primary instance logging setup doesn't allow EM sync.
- *
- * Generated from protobuf enum INVALID_LOGGING_SETUP = 16;
- */
- const INVALID_LOGGING_SETUP = 16;
- /**
- * The primary instance database parameter setup doesn't allow EM sync.
- *
- * Generated from protobuf enum INVALID_DB_PARAM = 17;
- */
- const INVALID_DB_PARAM = 17;
- /**
- * The gtid_mode is not supported, applicable for MySQL.
- *
- * Generated from protobuf enum UNSUPPORTED_GTID_MODE = 18;
- */
- const UNSUPPORTED_GTID_MODE = 18;
- /**
- * SQL Server Agent is not running.
- *
- * Generated from protobuf enum SQLSERVER_AGENT_NOT_RUNNING = 19;
- */
- const SQLSERVER_AGENT_NOT_RUNNING = 19;
- /**
- * The table definition is not support due to missing primary key or replica
- * identity, applicable for postgres.
- *
- * Generated from protobuf enum UNSUPPORTED_TABLE_DEFINITION = 20;
- */
- const UNSUPPORTED_TABLE_DEFINITION = 20;
- /**
- * The customer has a definer that will break EM setup.
- *
- * Generated from protobuf enum UNSUPPORTED_DEFINER = 21;
- */
- const UNSUPPORTED_DEFINER = 21;
- /**
- * SQL Server @@SERVERNAME does not match actual host name.
- *
- * Generated from protobuf enum SQLSERVER_SERVERNAME_MISMATCH = 22;
- */
- const SQLSERVER_SERVERNAME_MISMATCH = 22;
- /**
- * The primary instance has been setup and will fail the setup.
- *
- * Generated from protobuf enum PRIMARY_ALREADY_SETUP = 23;
- */
- const PRIMARY_ALREADY_SETUP = 23;
- /**
- * The primary instance has unsupported binary log format.
- *
- * Generated from protobuf enum UNSUPPORTED_BINLOG_FORMAT = 24;
- */
- const UNSUPPORTED_BINLOG_FORMAT = 24;
- /**
- * The primary instance's binary log retention setting.
- *
- * Generated from protobuf enum BINLOG_RETENTION_SETTING = 25;
- */
- const BINLOG_RETENTION_SETTING = 25;
- /**
- * The primary instance has tables with unsupported storage engine.
- *
- * Generated from protobuf enum UNSUPPORTED_STORAGE_ENGINE = 26;
- */
- const UNSUPPORTED_STORAGE_ENGINE = 26;
- /**
- * Source has tables with limited support
- * eg: PostgreSQL tables without primary keys.
- *
- * Generated from protobuf enum LIMITED_SUPPORT_TABLES = 27;
- */
- const LIMITED_SUPPORT_TABLES = 27;
- /**
- * The replica instance contains existing data.
- *
- * Generated from protobuf enum EXISTING_DATA_IN_REPLICA = 28;
- */
- const EXISTING_DATA_IN_REPLICA = 28;
- /**
- * The replication user is missing privileges that are optional.
- *
- * Generated from protobuf enum MISSING_OPTIONAL_PRIVILEGES = 29;
- */
- const MISSING_OPTIONAL_PRIVILEGES = 29;
- /**
- * Additional BACKUP_ADMIN privilege is granted to the replication user
- * which may lock source MySQL 8 instance for DDLs during initial sync.
- *
- * Generated from protobuf enum RISKY_BACKUP_ADMIN_PRIVILEGE = 30;
- */
- const RISKY_BACKUP_ADMIN_PRIVILEGE = 30;
- /**
- * The Cloud Storage bucket is missing necessary permissions.
- *
- * Generated from protobuf enum INSUFFICIENT_GCS_PERMISSIONS = 31;
- */
- const INSUFFICIENT_GCS_PERMISSIONS = 31;
- /**
- * The Cloud Storage bucket has an error in the file or contains invalid
- * file information.
- *
- * Generated from protobuf enum INVALID_FILE_INFO = 32;
- */
- const INVALID_FILE_INFO = 32;
- /**
- * The source instance has unsupported database settings for migration.
- *
- * Generated from protobuf enum UNSUPPORTED_DATABASE_SETTINGS = 33;
- */
- const UNSUPPORTED_DATABASE_SETTINGS = 33;
- /**
- * The replication user is missing parallel import specific privileges.
- * (e.g. LOCK TABLES) for MySQL.
- *
- * Generated from protobuf enum MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 34;
- */
- const MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 34;
- /**
- * The global variable local_infile is off on external server replica.
- *
- * Generated from protobuf enum LOCAL_INFILE_OFF = 35;
- */
- const LOCAL_INFILE_OFF = 35;
- /**
- * This code instructs customers to turn on point-in-time recovery manually
- * for the instance after promoting the Cloud SQL for PostgreSQL instance.
- *
- * Generated from protobuf enum TURN_ON_PITR_AFTER_PROMOTE = 36;
- */
- const TURN_ON_PITR_AFTER_PROMOTE = 36;
- /**
- * The minor version of replica database is incompatible with the source.
- *
- * Generated from protobuf enum INCOMPATIBLE_DATABASE_MINOR_VERSION = 37;
- */
- const INCOMPATIBLE_DATABASE_MINOR_VERSION = 37;
- /**
- * This warning message indicates that Cloud SQL uses the maximum number of
- * subscriptions to migrate data from the source to the destination.
- *
- * Generated from protobuf enum SOURCE_MAX_SUBSCRIPTIONS = 38;
- */
- const SOURCE_MAX_SUBSCRIPTIONS = 38;
- /**
- * Unable to verify definers on the source for MySQL.
- *
- * Generated from protobuf enum UNABLE_TO_VERIFY_DEFINERS = 39;
- */
- const UNABLE_TO_VERIFY_DEFINERS = 39;
- /**
- * If a time out occurs while the subscription counts are calculated, then
- * this value is set to 1. Otherwise, this value is set to 2.
- *
- * Generated from protobuf enum SUBSCRIPTION_CALCULATION_STATUS = 40;
- */
- const SUBSCRIPTION_CALCULATION_STATUS = 40;
- /**
- * Count of subscriptions needed to sync source data for PostgreSQL
- * database.
- *
- * Generated from protobuf enum PG_SUBSCRIPTION_COUNT = 41;
- */
- const PG_SUBSCRIPTION_COUNT = 41;
- /**
- * Final parallel level that is used to do migration.
- *
- * Generated from protobuf enum PG_SYNC_PARALLEL_LEVEL = 42;
- */
- const PG_SYNC_PARALLEL_LEVEL = 42;
- /**
- * The disk size of the replica instance is smaller than the data size of
- * the source instance.
- *
- * Generated from protobuf enum INSUFFICIENT_DISK_SIZE = 43;
- */
- const INSUFFICIENT_DISK_SIZE = 43;
- /**
- * The data size of the source instance is greater than 1 TB, the number of
- * cores of the replica instance is less than 8, and the memory of the
- * replica is less than 32 GB.
- *
- * Generated from protobuf enum INSUFFICIENT_MACHINE_TIER = 44;
- */
- const INSUFFICIENT_MACHINE_TIER = 44;
-
- private static $valueToName = [
- self::SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED => 'SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED',
- self::CONNECTION_FAILURE => 'CONNECTION_FAILURE',
- self::BINLOG_NOT_ENABLED => 'BINLOG_NOT_ENABLED',
- self::INCOMPATIBLE_DATABASE_VERSION => 'INCOMPATIBLE_DATABASE_VERSION',
- self::REPLICA_ALREADY_SETUP => 'REPLICA_ALREADY_SETUP',
- self::INSUFFICIENT_PRIVILEGE => 'INSUFFICIENT_PRIVILEGE',
- self::UNSUPPORTED_MIGRATION_TYPE => 'UNSUPPORTED_MIGRATION_TYPE',
- self::NO_PGLOGICAL_INSTALLED => 'NO_PGLOGICAL_INSTALLED',
- self::PGLOGICAL_NODE_ALREADY_EXISTS => 'PGLOGICAL_NODE_ALREADY_EXISTS',
- self::INVALID_WAL_LEVEL => 'INVALID_WAL_LEVEL',
- self::INVALID_SHARED_PRELOAD_LIBRARY => 'INVALID_SHARED_PRELOAD_LIBRARY',
- self::INSUFFICIENT_MAX_REPLICATION_SLOTS => 'INSUFFICIENT_MAX_REPLICATION_SLOTS',
- self::INSUFFICIENT_MAX_WAL_SENDERS => 'INSUFFICIENT_MAX_WAL_SENDERS',
- self::INSUFFICIENT_MAX_WORKER_PROCESSES => 'INSUFFICIENT_MAX_WORKER_PROCESSES',
- self::UNSUPPORTED_EXTENSIONS => 'UNSUPPORTED_EXTENSIONS',
- self::INVALID_RDS_LOGICAL_REPLICATION => 'INVALID_RDS_LOGICAL_REPLICATION',
- self::INVALID_LOGGING_SETUP => 'INVALID_LOGGING_SETUP',
- self::INVALID_DB_PARAM => 'INVALID_DB_PARAM',
- self::UNSUPPORTED_GTID_MODE => 'UNSUPPORTED_GTID_MODE',
- self::SQLSERVER_AGENT_NOT_RUNNING => 'SQLSERVER_AGENT_NOT_RUNNING',
- self::UNSUPPORTED_TABLE_DEFINITION => 'UNSUPPORTED_TABLE_DEFINITION',
- self::UNSUPPORTED_DEFINER => 'UNSUPPORTED_DEFINER',
- self::SQLSERVER_SERVERNAME_MISMATCH => 'SQLSERVER_SERVERNAME_MISMATCH',
- self::PRIMARY_ALREADY_SETUP => 'PRIMARY_ALREADY_SETUP',
- self::UNSUPPORTED_BINLOG_FORMAT => 'UNSUPPORTED_BINLOG_FORMAT',
- self::BINLOG_RETENTION_SETTING => 'BINLOG_RETENTION_SETTING',
- self::UNSUPPORTED_STORAGE_ENGINE => 'UNSUPPORTED_STORAGE_ENGINE',
- self::LIMITED_SUPPORT_TABLES => 'LIMITED_SUPPORT_TABLES',
- self::EXISTING_DATA_IN_REPLICA => 'EXISTING_DATA_IN_REPLICA',
- self::MISSING_OPTIONAL_PRIVILEGES => 'MISSING_OPTIONAL_PRIVILEGES',
- self::RISKY_BACKUP_ADMIN_PRIVILEGE => 'RISKY_BACKUP_ADMIN_PRIVILEGE',
- self::INSUFFICIENT_GCS_PERMISSIONS => 'INSUFFICIENT_GCS_PERMISSIONS',
- self::INVALID_FILE_INFO => 'INVALID_FILE_INFO',
- self::UNSUPPORTED_DATABASE_SETTINGS => 'UNSUPPORTED_DATABASE_SETTINGS',
- self::MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE => 'MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE',
- self::LOCAL_INFILE_OFF => 'LOCAL_INFILE_OFF',
- self::TURN_ON_PITR_AFTER_PROMOTE => 'TURN_ON_PITR_AFTER_PROMOTE',
- self::INCOMPATIBLE_DATABASE_MINOR_VERSION => 'INCOMPATIBLE_DATABASE_MINOR_VERSION',
- self::SOURCE_MAX_SUBSCRIPTIONS => 'SOURCE_MAX_SUBSCRIPTIONS',
- self::UNABLE_TO_VERIFY_DEFINERS => 'UNABLE_TO_VERIFY_DEFINERS',
- self::SUBSCRIPTION_CALCULATION_STATUS => 'SUBSCRIPTION_CALCULATION_STATUS',
- self::PG_SUBSCRIPTION_COUNT => 'PG_SUBSCRIPTION_COUNT',
- self::PG_SYNC_PARALLEL_LEVEL => 'PG_SYNC_PARALLEL_LEVEL',
- self::INSUFFICIENT_DISK_SIZE => 'INSUFFICIENT_DISK_SIZE',
- self::INSUFFICIENT_MACHINE_TIER => 'INSUFFICIENT_MACHINE_TIER',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlExternalSyncSettingErrorType::class, \Google\Cloud\Sql\V1beta4\SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlFileType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlFileType.php
deleted file mode 100644
index 4678372db071..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlFileType.php
+++ /dev/null
@@ -1,64 +0,0 @@
-google.cloud.sql.v1beta4.SqlFileType
- */
-class SqlFileType
-{
- /**
- * Unknown file type.
- *
- * Generated from protobuf enum SQL_FILE_TYPE_UNSPECIFIED = 0;
- */
- const SQL_FILE_TYPE_UNSPECIFIED = 0;
- /**
- * File containing SQL statements.
- *
- * Generated from protobuf enum SQL = 1;
- */
- const SQL = 1;
- /**
- * File in CSV format.
- *
- * Generated from protobuf enum CSV = 2;
- */
- const CSV = 2;
- /**
- * Generated from protobuf enum BAK = 4;
- */
- const BAK = 4;
-
- private static $valueToName = [
- self::SQL_FILE_TYPE_UNSPECIFIED => 'SQL_FILE_TYPE_UNSPECIFIED',
- self::SQL => 'SQL',
- self::CSV => 'CSV',
- self::BAK => 'BAK',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlFlagType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlFlagType.php
deleted file mode 100644
index 1418b4af54b2..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlFlagType.php
+++ /dev/null
@@ -1,95 +0,0 @@
-google.cloud.sql.v1beta4.SqlFlagType
- */
-class SqlFlagType
-{
- /**
- * This is an unknown flag type.
- *
- * Generated from protobuf enum SQL_FLAG_TYPE_UNSPECIFIED = 0;
- */
- const SQL_FLAG_TYPE_UNSPECIFIED = 0;
- /**
- * Boolean type flag.
- *
- * Generated from protobuf enum BOOLEAN = 1;
- */
- const BOOLEAN = 1;
- /**
- * String type flag.
- *
- * Generated from protobuf enum STRING = 2;
- */
- const STRING = 2;
- /**
- * Integer type flag.
- *
- * Generated from protobuf enum INTEGER = 3;
- */
- const INTEGER = 3;
- /**
- * Flag type used for a server startup option.
- *
- * Generated from protobuf enum NONE = 4;
- */
- const NONE = 4;
- /**
- * Type introduced specially for MySQL TimeZone offset. Accept a string value
- * with the format [-12:59, 13:00].
- *
- * Generated from protobuf enum MYSQL_TIMEZONE_OFFSET = 5;
- */
- const MYSQL_TIMEZONE_OFFSET = 5;
- /**
- * Float type flag.
- *
- * Generated from protobuf enum FLOAT = 6;
- */
- const FLOAT = 6;
- /**
- * Comma-separated list of the strings in a SqlFlagType enum.
- *
- * Generated from protobuf enum REPEATED_STRING = 7;
- */
- const REPEATED_STRING = 7;
-
- private static $valueToName = [
- self::SQL_FLAG_TYPE_UNSPECIFIED => 'SQL_FLAG_TYPE_UNSPECIFIED',
- self::BOOLEAN => 'BOOLEAN',
- self::STRING => 'STRING',
- self::INTEGER => 'INTEGER',
- self::NONE => 'NONE',
- self::MYSQL_TIMEZONE_OFFSET => 'MYSQL_TIMEZONE_OFFSET',
- self::FLOAT => 'FLOAT',
- self::REPEATED_STRING => 'REPEATED_STRING',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlFlagsListRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlFlagsListRequest.php
deleted file mode 100644
index 2eaa51c3e73e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlFlagsListRequest.php
+++ /dev/null
@@ -1,69 +0,0 @@
-google.cloud.sql.v1beta4.SqlFlagsListRequest
- */
-class SqlFlagsListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Database type and version you want to retrieve flags for. By default, this
- * method returns flags for all database types and versions.
- *
- * Generated from protobuf field string database_version = 1;
- */
- protected $database_version = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $database_version
- * Database type and version you want to retrieve flags for. By default, this
- * method returns flags for all database types and versions.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Database type and version you want to retrieve flags for. By default, this
- * method returns flags for all database types and versions.
- *
- * Generated from protobuf field string database_version = 1;
- * @return string
- */
- public function getDatabaseVersion()
- {
- return $this->database_version;
- }
-
- /**
- * Database type and version you want to retrieve flags for. By default, this
- * method returns flags for all database types and versions.
- *
- * Generated from protobuf field string database_version = 1;
- * @param string $var
- * @return $this
- */
- public function setDatabaseVersion($var)
- {
- GPBUtil::checkString($var, True);
- $this->database_version = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstanceType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstanceType.php
deleted file mode 100644
index 6d246cf06466..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstanceType.php
+++ /dev/null
@@ -1,68 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstanceType
- */
-class SqlInstanceType
-{
- /**
- * This is an unknown Cloud SQL instance type.
- *
- * Generated from protobuf enum SQL_INSTANCE_TYPE_UNSPECIFIED = 0;
- */
- const SQL_INSTANCE_TYPE_UNSPECIFIED = 0;
- /**
- * A regular Cloud SQL instance that is not replicating from a primary
- * instance.
- *
- * Generated from protobuf enum CLOUD_SQL_INSTANCE = 1;
- */
- const CLOUD_SQL_INSTANCE = 1;
- /**
- * An instance running on the customer's premises that is not managed by
- * Cloud SQL.
- *
- * Generated from protobuf enum ON_PREMISES_INSTANCE = 2;
- */
- const ON_PREMISES_INSTANCE = 2;
- /**
- * A Cloud SQL instance acting as a read-replica.
- *
- * Generated from protobuf enum READ_REPLICA_INSTANCE = 3;
- */
- const READ_REPLICA_INSTANCE = 3;
-
- private static $valueToName = [
- self::SQL_INSTANCE_TYPE_UNSPECIFIED => 'SQL_INSTANCE_TYPE_UNSPECIFIED',
- self::CLOUD_SQL_INSTANCE => 'CLOUD_SQL_INSTANCE',
- self::ON_PREMISES_INSTANCE => 'ON_PREMISES_INSTANCE',
- self::READ_REPLICA_INSTANCE => 'READ_REPLICA_INSTANCE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesAcquireSsrsLeaseRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesAcquireSsrsLeaseRequest.php
deleted file mode 100644
index 63f42f54148d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesAcquireSsrsLeaseRequest.php
+++ /dev/null
@@ -1,161 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesAcquireSsrsLeaseRequest
- */
-class SqlInstancesAcquireSsrsLeaseRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. Cloud SQL instance ID. This doesn't include the project ID. It's
- * composed of lowercase letters, numbers, and hyphens, and it must start with
- * a letter. The total length must be 98 characters or less (Example:
- * instance-id).
- *
- * Generated from protobuf field string instance = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $instance = '';
- /**
- * Required. ID of the project that contains the instance (Example:
- * project-id).
- *
- * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $project = '';
- /**
- * The body for request to acquire an SSRS lease.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesAcquireSsrsLeaseRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Required. Cloud SQL instance ID. This doesn't include the project ID. It's
- * composed of lowercase letters, numbers, and hyphens, and it must start with
- * a letter. The total length must be 98 characters or less (Example:
- * instance-id).
- * @type string $project
- * Required. ID of the project that contains the instance (Example:
- * project-id).
- * @type \Google\Cloud\Sql\V1beta4\InstancesAcquireSsrsLeaseRequest $body
- * The body for request to acquire an SSRS lease.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. Cloud SQL instance ID. This doesn't include the project ID. It's
- * composed of lowercase letters, numbers, and hyphens, and it must start with
- * a letter. The total length must be 98 characters or less (Example:
- * instance-id).
- *
- * Generated from protobuf field string instance = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Required. Cloud SQL instance ID. This doesn't include the project ID. It's
- * composed of lowercase letters, numbers, and hyphens, and it must start with
- * a letter. The total length must be 98 characters or less (Example:
- * instance-id).
- *
- * Generated from protobuf field string instance = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Required. ID of the project that contains the instance (Example:
- * project-id).
- *
- * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Required. ID of the project that contains the instance (Example:
- * project-id).
- *
- * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * The body for request to acquire an SSRS lease.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesAcquireSsrsLeaseRequest body = 100;
- * @return \Google\Cloud\Sql\V1beta4\InstancesAcquireSsrsLeaseRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * The body for request to acquire an SSRS lease.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesAcquireSsrsLeaseRequest body = 100;
- * @param \Google\Cloud\Sql\V1beta4\InstancesAcquireSsrsLeaseRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\InstancesAcquireSsrsLeaseRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesAcquireSsrsLeaseResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesAcquireSsrsLeaseResponse.php
deleted file mode 100644
index e57cd9680326..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesAcquireSsrsLeaseResponse.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesAcquireSsrsLeaseResponse
- */
-class SqlInstancesAcquireSsrsLeaseResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * The unique identifier for this operation.
- *
- * Generated from protobuf field optional string operation_id = 1;
- */
- protected $operation_id = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $operation_id
- * The unique identifier for this operation.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The unique identifier for this operation.
- *
- * Generated from protobuf field optional string operation_id = 1;
- * @return string
- */
- public function getOperationId()
- {
- return isset($this->operation_id) ? $this->operation_id : '';
- }
-
- public function hasOperationId()
- {
- return isset($this->operation_id);
- }
-
- public function clearOperationId()
- {
- unset($this->operation_id);
- }
-
- /**
- * The unique identifier for this operation.
- *
- * Generated from protobuf field optional string operation_id = 1;
- * @param string $var
- * @return $this
- */
- public function setOperationId($var)
- {
- GPBUtil::checkString($var, True);
- $this->operation_id = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesAddServerCaRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesAddServerCaRequest.php
deleted file mode 100644
index 17c9be4e394a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesAddServerCaRequest.php
+++ /dev/null
@@ -1,99 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesAddServerCaRequest
- */
-class SqlInstancesAddServerCaRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesCloneRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesCloneRequest.php
deleted file mode 100644
index 5204da12a660..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesCloneRequest.php
+++ /dev/null
@@ -1,140 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesCloneRequest
- */
-class SqlInstancesCloneRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The ID of the Cloud SQL instance to be cloned (source). This does not
- * include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the source as well as the clone Cloud SQL instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesCloneRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * The ID of the Cloud SQL instance to be cloned (source). This does not
- * include the project ID.
- * @type string $project
- * Project ID of the source as well as the clone Cloud SQL instance.
- * @type \Google\Cloud\Sql\V1beta4\InstancesCloneRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The ID of the Cloud SQL instance to be cloned (source). This does not
- * include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * The ID of the Cloud SQL instance to be cloned (source). This does not
- * include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the source as well as the clone Cloud SQL instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the source as well as the clone Cloud SQL instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesCloneRequest body = 100;
- * @return \Google\Cloud\Sql\V1beta4\InstancesCloneRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesCloneRequest body = 100;
- * @param \Google\Cloud\Sql\V1beta4\InstancesCloneRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\InstancesCloneRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesCreateEphemeralCertRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesCreateEphemeralCertRequest.php
deleted file mode 100644
index cf5de437c29b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesCreateEphemeralCertRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesCreateEphemeralCertRequest
- */
-class SqlInstancesCreateEphemeralCertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the Cloud SQL project.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCertsCreateEphemeralRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the Cloud SQL project.
- * @type \Google\Cloud\Sql\V1beta4\SslCertsCreateEphemeralRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the Cloud SQL project.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the Cloud SQL project.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCertsCreateEphemeralRequest body = 100;
- * @return \Google\Cloud\Sql\V1beta4\SslCertsCreateEphemeralRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCertsCreateEphemeralRequest body = 100;
- * @param \Google\Cloud\Sql\V1beta4\SslCertsCreateEphemeralRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\SslCertsCreateEphemeralRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesDeleteRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesDeleteRequest.php
deleted file mode 100644
index c97cc75686be..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesDeleteRequest.php
+++ /dev/null
@@ -1,99 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesDeleteRequest
- */
-class SqlInstancesDeleteRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance to be deleted.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance to be deleted.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance to be deleted.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance to be deleted.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesDemoteMasterRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesDemoteMasterRequest.php
deleted file mode 100644
index d99d99884194..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesDemoteMasterRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesDemoteMasterRequest
- */
-class SqlInstancesDemoteMasterRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance name.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesDemoteMasterRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance name.
- * @type string $project
- * ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\InstancesDemoteMasterRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesDemoteMasterRequest body = 100;
- * @return \Google\Cloud\Sql\V1beta4\InstancesDemoteMasterRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesDemoteMasterRequest body = 100;
- * @param \Google\Cloud\Sql\V1beta4\InstancesDemoteMasterRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\InstancesDemoteMasterRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesDemoteRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesDemoteRequest.php
deleted file mode 100644
index ed92c8b87432..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesDemoteRequest.php
+++ /dev/null
@@ -1,145 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesDemoteRequest
- */
-class SqlInstancesDemoteRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The name of the Cloud SQL instance.
- *
- * Generated from protobuf field string instance = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $instance = '';
- /**
- * Required. The project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $project = '';
- /**
- * The request body.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesDemoteRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Required. The name of the Cloud SQL instance.
- * @type string $project
- * Required. The project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\InstancesDemoteRequest $body
- * The request body.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The name of the Cloud SQL instance.
- *
- * Generated from protobuf field string instance = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Required. The name of the Cloud SQL instance.
- *
- * Generated from protobuf field string instance = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Required. The project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Required. The project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * The request body.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesDemoteRequest body = 100;
- * @return \Google\Cloud\Sql\V1beta4\InstancesDemoteRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * The request body.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesDemoteRequest body = 100;
- * @param \Google\Cloud\Sql\V1beta4\InstancesDemoteRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\InstancesDemoteRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesExportRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesExportRequest.php
deleted file mode 100644
index 6ab256e02712..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesExportRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesExportRequest
- */
-class SqlInstancesExportRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * The Cloud SQL instance ID. This doesn't include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance to be exported.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesExportRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * The Cloud SQL instance ID. This doesn't include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance to be exported.
- * @type \Google\Cloud\Sql\V1beta4\InstancesExportRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The Cloud SQL instance ID. This doesn't include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * The Cloud SQL instance ID. This doesn't include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance to be exported.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance to be exported.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesExportRequest body = 100;
- * @return \Google\Cloud\Sql\V1beta4\InstancesExportRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesExportRequest body = 100;
- * @param \Google\Cloud\Sql\V1beta4\InstancesExportRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\InstancesExportRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesFailoverRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesFailoverRequest.php
deleted file mode 100644
index 95348145890f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesFailoverRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesFailoverRequest
- */
-class SqlInstancesFailoverRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesFailoverRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * ID of the project that contains the read replica.
- * @type \Google\Cloud\Sql\V1beta4\InstancesFailoverRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesFailoverRequest body = 100;
- * @return \Google\Cloud\Sql\V1beta4\InstancesFailoverRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesFailoverRequest body = 100;
- * @param \Google\Cloud\Sql\V1beta4\InstancesFailoverRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\InstancesFailoverRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetDiskShrinkConfigRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetDiskShrinkConfigRequest.php
deleted file mode 100644
index 8834212ed430..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetDiskShrinkConfigRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesGetDiskShrinkConfigRequest
- */
-class SqlInstancesGetDiskShrinkConfigRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetDiskShrinkConfigResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetDiskShrinkConfigResponse.php
deleted file mode 100644
index a15d8f1cf24e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetDiskShrinkConfigResponse.php
+++ /dev/null
@@ -1,135 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesGetDiskShrinkConfigResponse
- */
-class SqlInstancesGetDiskShrinkConfigResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#getDiskShrinkConfig`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The minimum size to which a disk can be shrunk in GigaBytes.
- *
- * Generated from protobuf field int64 minimal_target_size_gb = 2;
- */
- protected $minimal_target_size_gb = 0;
- /**
- * Additional message to customers.
- *
- * Generated from protobuf field string message = 3;
- */
- protected $message = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#getDiskShrinkConfig`.
- * @type int|string $minimal_target_size_gb
- * The minimum size to which a disk can be shrunk in GigaBytes.
- * @type string $message
- * Additional message to customers.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#getDiskShrinkConfig`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#getDiskShrinkConfig`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The minimum size to which a disk can be shrunk in GigaBytes.
- *
- * Generated from protobuf field int64 minimal_target_size_gb = 2;
- * @return int|string
- */
- public function getMinimalTargetSizeGb()
- {
- return $this->minimal_target_size_gb;
- }
-
- /**
- * The minimum size to which a disk can be shrunk in GigaBytes.
- *
- * Generated from protobuf field int64 minimal_target_size_gb = 2;
- * @param int|string $var
- * @return $this
- */
- public function setMinimalTargetSizeGb($var)
- {
- GPBUtil::checkInt64($var);
- $this->minimal_target_size_gb = $var;
-
- return $this;
- }
-
- /**
- * Additional message to customers.
- *
- * Generated from protobuf field string message = 3;
- * @return string
- */
- public function getMessage()
- {
- return $this->message;
- }
-
- /**
- * Additional message to customers.
- *
- * Generated from protobuf field string message = 3;
- * @param string $var
- * @return $this
- */
- public function setMessage($var)
- {
- GPBUtil::checkString($var, True);
- $this->message = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetLatestRecoveryTimeRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetLatestRecoveryTimeRequest.php
deleted file mode 100644
index a461b3e61c44..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetLatestRecoveryTimeRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesGetLatestRecoveryTimeRequest
- */
-class SqlInstancesGetLatestRecoveryTimeRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetLatestRecoveryTimeResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetLatestRecoveryTimeResponse.php
deleted file mode 100644
index b8b8d37abd78..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetLatestRecoveryTimeResponse.php
+++ /dev/null
@@ -1,111 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesGetLatestRecoveryTimeResponse
- */
-class SqlInstancesGetLatestRecoveryTimeResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#getLatestRecoveryTime`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Timestamp, identifies the latest recovery time of the source instance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp latest_recovery_time = 2;
- */
- protected $latest_recovery_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#getLatestRecoveryTime`.
- * @type \Google\Protobuf\Timestamp $latest_recovery_time
- * Timestamp, identifies the latest recovery time of the source instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#getLatestRecoveryTime`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#getLatestRecoveryTime`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Timestamp, identifies the latest recovery time of the source instance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp latest_recovery_time = 2;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getLatestRecoveryTime()
- {
- return $this->latest_recovery_time;
- }
-
- public function hasLatestRecoveryTime()
- {
- return isset($this->latest_recovery_time);
- }
-
- public function clearLatestRecoveryTime()
- {
- unset($this->latest_recovery_time);
- }
-
- /**
- * Timestamp, identifies the latest recovery time of the source instance.
- *
- * Generated from protobuf field .google.protobuf.Timestamp latest_recovery_time = 2;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setLatestRecoveryTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->latest_recovery_time = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetRequest.php
deleted file mode 100644
index 11d0aea7d808..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesGetRequest.php
+++ /dev/null
@@ -1,99 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesGetRequest
- */
-class SqlInstancesGetRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesImportRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesImportRequest.php
deleted file mode 100644
index 4ca5a4fce422..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesImportRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesImportRequest
- */
-class SqlInstancesImportRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesImportRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\InstancesImportRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesImportRequest body = 100;
- * @return \Google\Cloud\Sql\V1beta4\InstancesImportRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesImportRequest body = 100;
- * @param \Google\Cloud\Sql\V1beta4\InstancesImportRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\InstancesImportRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesInsertRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesInsertRequest.php
deleted file mode 100644
index 83a688084f96..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesInsertRequest.php
+++ /dev/null
@@ -1,106 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesInsertRequest
- */
-class SqlInstancesInsertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Project ID of the project to which the newly created Cloud SQL instances
- * should belong.
- *
- * Generated from protobuf field string project = 1;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $project
- * Project ID of the project to which the newly created Cloud SQL instances
- * should belong.
- * @type \Google\Cloud\Sql\V1beta4\DatabaseInstance $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Project ID of the project to which the newly created Cloud SQL instances
- * should belong.
- *
- * Generated from protobuf field string project = 1;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project to which the newly created Cloud SQL instances
- * should belong.
- *
- * Generated from protobuf field string project = 1;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance body = 100;
- * @return \Google\Cloud\Sql\V1beta4\DatabaseInstance|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance body = 100;
- * @param \Google\Cloud\Sql\V1beta4\DatabaseInstance $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DatabaseInstance::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesListRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesListRequest.php
deleted file mode 100644
index 052dcb800f30..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesListRequest.php
+++ /dev/null
@@ -1,211 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesListRequest
- */
-class SqlInstancesListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * A filter expression that filters resources listed in the response.
- * The expression is in the form of field:value. For example,
- * 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per
- * their JSON representation, such as 'settings.userLabels.auto_start:true'.
- * Multiple filter queries are space-separated. For example.
- * 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each
- * expression is an AND expression. However, you can include AND and OR
- * expressions explicitly.
- *
- * Generated from protobuf field string filter = 1;
- */
- protected $filter = '';
- /**
- * The maximum number of instances to return. The service may return fewer
- * than this value.
- * If unspecified, at most 500 instances are returned.
- * The maximum value is 1000; values above 1000 are coerced to 1000.
- *
- * Generated from protobuf field uint32 max_results = 2;
- */
- protected $max_results = 0;
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- */
- protected $page_token = '';
- /**
- * Project ID of the project for which to list Cloud SQL instances.
- *
- * Generated from protobuf field string project = 4;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $filter
- * A filter expression that filters resources listed in the response.
- * The expression is in the form of field:value. For example,
- * 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per
- * their JSON representation, such as 'settings.userLabels.auto_start:true'.
- * Multiple filter queries are space-separated. For example.
- * 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each
- * expression is an AND expression. However, you can include AND and OR
- * expressions explicitly.
- * @type int $max_results
- * The maximum number of instances to return. The service may return fewer
- * than this value.
- * If unspecified, at most 500 instances are returned.
- * The maximum value is 1000; values above 1000 are coerced to 1000.
- * @type string $page_token
- * A previously-returned page token representing part of the larger set of
- * results to view.
- * @type string $project
- * Project ID of the project for which to list Cloud SQL instances.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * A filter expression that filters resources listed in the response.
- * The expression is in the form of field:value. For example,
- * 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per
- * their JSON representation, such as 'settings.userLabels.auto_start:true'.
- * Multiple filter queries are space-separated. For example.
- * 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each
- * expression is an AND expression. However, you can include AND and OR
- * expressions explicitly.
- *
- * Generated from protobuf field string filter = 1;
- * @return string
- */
- public function getFilter()
- {
- return $this->filter;
- }
-
- /**
- * A filter expression that filters resources listed in the response.
- * The expression is in the form of field:value. For example,
- * 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per
- * their JSON representation, such as 'settings.userLabels.auto_start:true'.
- * Multiple filter queries are space-separated. For example.
- * 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each
- * expression is an AND expression. However, you can include AND and OR
- * expressions explicitly.
- *
- * Generated from protobuf field string filter = 1;
- * @param string $var
- * @return $this
- */
- public function setFilter($var)
- {
- GPBUtil::checkString($var, True);
- $this->filter = $var;
-
- return $this;
- }
-
- /**
- * The maximum number of instances to return. The service may return fewer
- * than this value.
- * If unspecified, at most 500 instances are returned.
- * The maximum value is 1000; values above 1000 are coerced to 1000.
- *
- * Generated from protobuf field uint32 max_results = 2;
- * @return int
- */
- public function getMaxResults()
- {
- return $this->max_results;
- }
-
- /**
- * The maximum number of instances to return. The service may return fewer
- * than this value.
- * If unspecified, at most 500 instances are returned.
- * The maximum value is 1000; values above 1000 are coerced to 1000.
- *
- * Generated from protobuf field uint32 max_results = 2;
- * @param int $var
- * @return $this
- */
- public function setMaxResults($var)
- {
- GPBUtil::checkUint32($var);
- $this->max_results = $var;
-
- return $this;
- }
-
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project for which to list Cloud SQL instances.
- *
- * Generated from protobuf field string project = 4;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project for which to list Cloud SQL instances.
- *
- * Generated from protobuf field string project = 4;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesListServerCasRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesListServerCasRequest.php
deleted file mode 100644
index 2adc06c6650c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesListServerCasRequest.php
+++ /dev/null
@@ -1,99 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesListServerCasRequest
- */
-class SqlInstancesListServerCasRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesPatchRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesPatchRequest.php
deleted file mode 100644
index b06cd891521d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesPatchRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesPatchRequest
- */
-class SqlInstancesPatchRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\DatabaseInstance $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance body = 100;
- * @return \Google\Cloud\Sql\V1beta4\DatabaseInstance|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance body = 100;
- * @param \Google\Cloud\Sql\V1beta4\DatabaseInstance $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DatabaseInstance::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesPerformDiskShrinkRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesPerformDiskShrinkRequest.php
deleted file mode 100644
index a853b77dfc78..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesPerformDiskShrinkRequest.php
+++ /dev/null
@@ -1,145 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesPerformDiskShrinkRequest
- */
-class SqlInstancesPerformDiskShrinkRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Perform disk shrink context.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.PerformDiskShrinkContext body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\PerformDiskShrinkContext $body
- * Perform disk shrink context.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Perform disk shrink context.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.PerformDiskShrinkContext body = 100;
- * @return \Google\Cloud\Sql\V1beta4\PerformDiskShrinkContext|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Perform disk shrink context.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.PerformDiskShrinkContext body = 100;
- * @param \Google\Cloud\Sql\V1beta4\PerformDiskShrinkContext $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\PerformDiskShrinkContext::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesPromoteReplicaRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesPromoteReplicaRequest.php
deleted file mode 100644
index c5ec70a6b8b1..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesPromoteReplicaRequest.php
+++ /dev/null
@@ -1,141 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesPromoteReplicaRequest
- */
-class SqlInstancesPromoteReplicaRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Set to true if the promote operation should attempt to re-add the original
- * primary as a replica when it comes back online. Otherwise, if this value is
- * false or not set, the original primary will be a standalone instance.
- *
- * Generated from protobuf field bool failover = 3;
- */
- protected $failover = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the read replica.
- * @type bool $failover
- * Set to true if the promote operation should attempt to re-add the original
- * primary as a replica when it comes back online. Otherwise, if this value is
- * false or not set, the original primary will be a standalone instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Set to true if the promote operation should attempt to re-add the original
- * primary as a replica when it comes back online. Otherwise, if this value is
- * false or not set, the original primary will be a standalone instance.
- *
- * Generated from protobuf field bool failover = 3;
- * @return bool
- */
- public function getFailover()
- {
- return $this->failover;
- }
-
- /**
- * Set to true if the promote operation should attempt to re-add the original
- * primary as a replica when it comes back online. Otherwise, if this value is
- * false or not set, the original primary will be a standalone instance.
- *
- * Generated from protobuf field bool failover = 3;
- * @param bool $var
- * @return $this
- */
- public function setFailover($var)
- {
- GPBUtil::checkBool($var);
- $this->failover = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesReencryptRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesReencryptRequest.php
deleted file mode 100644
index a5aa3bc7d8e4..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesReencryptRequest.php
+++ /dev/null
@@ -1,145 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesReencryptRequest
- */
-class SqlInstancesReencryptRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Reencrypt body that users request
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesReencryptRequest body = 3;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\InstancesReencryptRequest $body
- * Reencrypt body that users request
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Reencrypt body that users request
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesReencryptRequest body = 3;
- * @return \Google\Cloud\Sql\V1beta4\InstancesReencryptRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Reencrypt body that users request
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesReencryptRequest body = 3;
- * @param \Google\Cloud\Sql\V1beta4\InstancesReencryptRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\InstancesReencryptRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesReleaseSsrsLeaseRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesReleaseSsrsLeaseRequest.php
deleted file mode 100644
index 74a4a450c731..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesReleaseSsrsLeaseRequest.php
+++ /dev/null
@@ -1,117 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesReleaseSsrsLeaseRequest
- */
-class SqlInstancesReleaseSsrsLeaseRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The Cloud SQL instance ID. This doesn't include the project ID.
- * It's composed of lowercase letters, numbers, and hyphens, and it must start
- * with a letter. The total length must be 98 characters or less (Example:
- * instance-id).
- *
- * Generated from protobuf field string instance = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $instance = '';
- /**
- * Required. The ID of the project that contains the instance (Example:
- * project-id).
- *
- * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Required. The Cloud SQL instance ID. This doesn't include the project ID.
- * It's composed of lowercase letters, numbers, and hyphens, and it must start
- * with a letter. The total length must be 98 characters or less (Example:
- * instance-id).
- * @type string $project
- * Required. The ID of the project that contains the instance (Example:
- * project-id).
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The Cloud SQL instance ID. This doesn't include the project ID.
- * It's composed of lowercase letters, numbers, and hyphens, and it must start
- * with a letter. The total length must be 98 characters or less (Example:
- * instance-id).
- *
- * Generated from protobuf field string instance = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Required. The Cloud SQL instance ID. This doesn't include the project ID.
- * It's composed of lowercase letters, numbers, and hyphens, and it must start
- * with a letter. The total length must be 98 characters or less (Example:
- * instance-id).
- *
- * Generated from protobuf field string instance = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Required. The ID of the project that contains the instance (Example:
- * project-id).
- *
- * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Required. The ID of the project that contains the instance (Example:
- * project-id).
- *
- * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesReleaseSsrsLeaseResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesReleaseSsrsLeaseResponse.php
deleted file mode 100644
index ce9c59dd47dc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesReleaseSsrsLeaseResponse.php
+++ /dev/null
@@ -1,67 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesReleaseSsrsLeaseResponse
- */
-class SqlInstancesReleaseSsrsLeaseResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * The operation ID.
- *
- * Generated from protobuf field string operation_id = 1;
- */
- protected $operation_id = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $operation_id
- * The operation ID.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The operation ID.
- *
- * Generated from protobuf field string operation_id = 1;
- * @return string
- */
- public function getOperationId()
- {
- return $this->operation_id;
- }
-
- /**
- * The operation ID.
- *
- * Generated from protobuf field string operation_id = 1;
- * @param string $var
- * @return $this
- */
- public function setOperationId($var)
- {
- GPBUtil::checkString($var, True);
- $this->operation_id = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRescheduleMaintenanceRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRescheduleMaintenanceRequest.php
deleted file mode 100644
index 2d6db18bfd32..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRescheduleMaintenanceRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesRescheduleMaintenanceRequest
- */
-class SqlInstancesRescheduleMaintenanceRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesRescheduleMaintenanceRequestBody body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\SqlInstancesRescheduleMaintenanceRequestBody $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesRescheduleMaintenanceRequestBody body = 100;
- * @return \Google\Cloud\Sql\V1beta4\SqlInstancesRescheduleMaintenanceRequestBody|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesRescheduleMaintenanceRequestBody body = 100;
- * @param \Google\Cloud\Sql\V1beta4\SqlInstancesRescheduleMaintenanceRequestBody $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\SqlInstancesRescheduleMaintenanceRequestBody::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRescheduleMaintenanceRequestBody.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRescheduleMaintenanceRequestBody.php
deleted file mode 100644
index 64405b2a385d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRescheduleMaintenanceRequestBody.php
+++ /dev/null
@@ -1,77 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesRescheduleMaintenanceRequestBody
- */
-class SqlInstancesRescheduleMaintenanceRequestBody extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The type of the reschedule the user wants.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesRescheduleMaintenanceRequestBody.Reschedule reschedule = 3;
- */
- protected $reschedule = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\SqlInstancesRescheduleMaintenanceRequestBody\Reschedule $reschedule
- * Required. The type of the reschedule the user wants.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The type of the reschedule the user wants.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesRescheduleMaintenanceRequestBody.Reschedule reschedule = 3;
- * @return \Google\Cloud\Sql\V1beta4\SqlInstancesRescheduleMaintenanceRequestBody\Reschedule|null
- */
- public function getReschedule()
- {
- return $this->reschedule;
- }
-
- public function hasReschedule()
- {
- return isset($this->reschedule);
- }
-
- public function clearReschedule()
- {
- unset($this->reschedule);
- }
-
- /**
- * Required. The type of the reschedule the user wants.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesRescheduleMaintenanceRequestBody.Reschedule reschedule = 3;
- * @param \Google\Cloud\Sql\V1beta4\SqlInstancesRescheduleMaintenanceRequestBody\Reschedule $var
- * @return $this
- */
- public function setReschedule($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\SqlInstancesRescheduleMaintenanceRequestBody\Reschedule::class);
- $this->reschedule = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRescheduleMaintenanceRequestBody/Reschedule.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRescheduleMaintenanceRequestBody/Reschedule.php
deleted file mode 100644
index 91f41a1ff363..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRescheduleMaintenanceRequestBody/Reschedule.php
+++ /dev/null
@@ -1,124 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesRescheduleMaintenanceRequestBody.Reschedule
- */
-class Reschedule extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The type of the reschedule.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesRescheduleMaintenanceRequestBody.RescheduleType reschedule_type = 1;
- */
- protected $reschedule_type = 0;
- /**
- * Optional. Timestamp when the maintenance shall be rescheduled to if
- * reschedule_type=SPECIFIC_TIME, in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $schedule_time = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $reschedule_type
- * Required. The type of the reschedule.
- * @type \Google\Protobuf\Timestamp $schedule_time
- * Optional. Timestamp when the maintenance shall be rescheduled to if
- * reschedule_type=SPECIFIC_TIME, in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The type of the reschedule.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesRescheduleMaintenanceRequestBody.RescheduleType reschedule_type = 1;
- * @return int
- */
- public function getRescheduleType()
- {
- return $this->reschedule_type;
- }
-
- /**
- * Required. The type of the reschedule.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesRescheduleMaintenanceRequestBody.RescheduleType reschedule_type = 1;
- * @param int $var
- * @return $this
- */
- public function setRescheduleType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlInstancesRescheduleMaintenanceRequestBody\RescheduleType::class);
- $this->reschedule_type = $var;
-
- return $this;
- }
-
- /**
- * Optional. Timestamp when the maintenance shall be rescheduled to if
- * reschedule_type=SPECIFIC_TIME, in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getScheduleTime()
- {
- return $this->schedule_time;
- }
-
- public function hasScheduleTime()
- {
- return isset($this->schedule_time);
- }
-
- public function clearScheduleTime()
- {
- unset($this->schedule_time);
- }
-
- /**
- * Optional. Timestamp when the maintenance shall be rescheduled to if
- * reschedule_type=SPECIFIC_TIME, in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setScheduleTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->schedule_time = $var;
-
- return $this;
- }
-
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(Reschedule::class, \Google\Cloud\Sql\V1beta4\SqlInstancesRescheduleMaintenanceRequestBody_Reschedule::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRescheduleMaintenanceRequestBody/RescheduleType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRescheduleMaintenanceRequestBody/RescheduleType.php
deleted file mode 100644
index b23869f29abf..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRescheduleMaintenanceRequestBody/RescheduleType.php
+++ /dev/null
@@ -1,68 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesRescheduleMaintenanceRequestBody.RescheduleType
- */
-class RescheduleType
-{
- /**
- * Generated from protobuf enum RESCHEDULE_TYPE_UNSPECIFIED = 0;
- */
- const RESCHEDULE_TYPE_UNSPECIFIED = 0;
- /**
- * Reschedules maintenance to happen now (within 5 minutes).
- *
- * Generated from protobuf enum IMMEDIATE = 1;
- */
- const IMMEDIATE = 1;
- /**
- * Reschedules maintenance to occur within one week from the originally
- * scheduled day and time.
- *
- * Generated from protobuf enum NEXT_AVAILABLE_WINDOW = 2;
- */
- const NEXT_AVAILABLE_WINDOW = 2;
- /**
- * Reschedules maintenance to a specific time and day.
- *
- * Generated from protobuf enum SPECIFIC_TIME = 3;
- */
- const SPECIFIC_TIME = 3;
-
- private static $valueToName = [
- self::RESCHEDULE_TYPE_UNSPECIFIED => 'RESCHEDULE_TYPE_UNSPECIFIED',
- self::IMMEDIATE => 'IMMEDIATE',
- self::NEXT_AVAILABLE_WINDOW => 'NEXT_AVAILABLE_WINDOW',
- self::SPECIFIC_TIME => 'SPECIFIC_TIME',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(RescheduleType::class, \Google\Cloud\Sql\V1beta4\SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesResetReplicaSizeRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesResetReplicaSizeRequest.php
deleted file mode 100644
index 7e2f114e7e0e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesResetReplicaSizeRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesResetReplicaSizeRequest
- */
-class SqlInstancesResetReplicaSizeRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the read replica.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesResetSslConfigRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesResetSslConfigRequest.php
deleted file mode 100644
index 7bf3c037979a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesResetSslConfigRequest.php
+++ /dev/null
@@ -1,99 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesResetSslConfigRequest
- */
-class SqlInstancesResetSslConfigRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRestartRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRestartRequest.php
deleted file mode 100644
index 3f84623964b7..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRestartRequest.php
+++ /dev/null
@@ -1,99 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesRestartRequest
- */
-class SqlInstancesRestartRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance to be restarted.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance to be restarted.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance to be restarted.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance to be restarted.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRestoreBackupRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRestoreBackupRequest.php
deleted file mode 100644
index e26e22227997..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRestoreBackupRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesRestoreBackupRequest
- */
-class SqlInstancesRestoreBackupRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesRestoreBackupRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\InstancesRestoreBackupRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesRestoreBackupRequest body = 100;
- * @return \Google\Cloud\Sql\V1beta4\InstancesRestoreBackupRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesRestoreBackupRequest body = 100;
- * @param \Google\Cloud\Sql\V1beta4\InstancesRestoreBackupRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\InstancesRestoreBackupRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRotateServerCaRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRotateServerCaRequest.php
deleted file mode 100644
index 66e3901d6b9f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesRotateServerCaRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesRotateServerCaRequest
- */
-class SqlInstancesRotateServerCaRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesRotateServerCaRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\InstancesRotateServerCaRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesRotateServerCaRequest body = 100;
- * @return \Google\Cloud\Sql\V1beta4\InstancesRotateServerCaRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesRotateServerCaRequest body = 100;
- * @param \Google\Cloud\Sql\V1beta4\InstancesRotateServerCaRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\InstancesRotateServerCaRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesStartExternalSyncRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesStartExternalSyncRequest.php
deleted file mode 100644
index 8653ce62ab18..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesStartExternalSyncRequest.php
+++ /dev/null
@@ -1,285 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesStartExternalSyncRequest
- */
-class SqlInstancesStartExternalSyncRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * External sync mode.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 3;
- */
- protected $sync_mode = 0;
- /**
- * Whether to skip the verification step (VESS).
- *
- * Generated from protobuf field bool skip_verification = 4;
- */
- protected $skip_verification = false;
- /**
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for MySQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExternalSyncParallelLevel sync_parallel_level = 7 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $sync_parallel_level = 0;
- /**
- * Optional. MigrationType decides if the migration is a physical file based
- * migration or logical migration.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 8 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $migration_type = 0;
- protected $sync_config;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * ID of the project that contains the instance.
- * @type int $sync_mode
- * External sync mode.
- * @type bool $skip_verification
- * Whether to skip the verification step (VESS).
- * @type \Google\Cloud\Sql\V1beta4\MySqlSyncConfig $mysql_sync_config
- * MySQL-specific settings for start external sync.
- * @type int $sync_parallel_level
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for MySQL.
- * @type int $migration_type
- * Optional. MigrationType decides if the migration is a physical file based
- * migration or logical migration.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * External sync mode.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 3;
- * @return int
- */
- public function getSyncMode()
- {
- return $this->sync_mode;
- }
-
- /**
- * External sync mode.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 3;
- * @param int $var
- * @return $this
- */
- public function setSyncMode($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlInstancesVerifyExternalSyncSettingsRequest\ExternalSyncMode::class);
- $this->sync_mode = $var;
-
- return $this;
- }
-
- /**
- * Whether to skip the verification step (VESS).
- *
- * Generated from protobuf field bool skip_verification = 4;
- * @return bool
- */
- public function getSkipVerification()
- {
- return $this->skip_verification;
- }
-
- /**
- * Whether to skip the verification step (VESS).
- *
- * Generated from protobuf field bool skip_verification = 4;
- * @param bool $var
- * @return $this
- */
- public function setSkipVerification($var)
- {
- GPBUtil::checkBool($var);
- $this->skip_verification = $var;
-
- return $this;
- }
-
- /**
- * MySQL-specific settings for start external sync.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.MySqlSyncConfig mysql_sync_config = 6;
- * @return \Google\Cloud\Sql\V1beta4\MySqlSyncConfig|null
- */
- public function getMysqlSyncConfig()
- {
- return $this->readOneof(6);
- }
-
- public function hasMysqlSyncConfig()
- {
- return $this->hasOneof(6);
- }
-
- /**
- * MySQL-specific settings for start external sync.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.MySqlSyncConfig mysql_sync_config = 6;
- * @param \Google\Cloud\Sql\V1beta4\MySqlSyncConfig $var
- * @return $this
- */
- public function setMysqlSyncConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\MySqlSyncConfig::class);
- $this->writeOneof(6, $var);
-
- return $this;
- }
-
- /**
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for MySQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExternalSyncParallelLevel sync_parallel_level = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getSyncParallelLevel()
- {
- return $this->sync_parallel_level;
- }
-
- /**
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for MySQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExternalSyncParallelLevel sync_parallel_level = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setSyncParallelLevel($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\ExternalSyncParallelLevel::class);
- $this->sync_parallel_level = $var;
-
- return $this;
- }
-
- /**
- * Optional. MigrationType decides if the migration is a physical file based
- * migration or logical migration.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getMigrationType()
- {
- return $this->migration_type;
- }
-
- /**
- * Optional. MigrationType decides if the migration is a physical file based
- * migration or logical migration.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setMigrationType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlInstancesVerifyExternalSyncSettingsRequest\MigrationType::class);
- $this->migration_type = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getSyncConfig()
- {
- return $this->whichOneof("sync_config");
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesStartReplicaRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesStartReplicaRequest.php
deleted file mode 100644
index 22f5a280c1a9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesStartReplicaRequest.php
+++ /dev/null
@@ -1,99 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesStartReplicaRequest
- */
-class SqlInstancesStartReplicaRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the read replica.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesStopReplicaRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesStopReplicaRequest.php
deleted file mode 100644
index b26b3e7c4cb5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesStopReplicaRequest.php
+++ /dev/null
@@ -1,99 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesStopReplicaRequest
- */
-class SqlInstancesStopReplicaRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the read replica.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the read replica.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesSwitchoverRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesSwitchoverRequest.php
deleted file mode 100644
index 43068ffbad44..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesSwitchoverRequest.php
+++ /dev/null
@@ -1,153 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesSwitchoverRequest
- */
-class SqlInstancesSwitchoverRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * ID of the project that contains the replica.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Optional. (MySQL only) Cloud SQL instance operations timeout, which is a
- * sum of all database operations. Default value is 10 minutes and can be
- * modified to a maximum value of 24 hours.
- *
- * Generated from protobuf field .google.protobuf.Duration db_timeout = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $db_timeout = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the replica.
- * @type \Google\Protobuf\Duration $db_timeout
- * Optional. (MySQL only) Cloud SQL instance operations timeout, which is a
- * sum of all database operations. Default value is 10 minutes and can be
- * modified to a maximum value of 24 hours.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL read replica instance name.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * ID of the project that contains the replica.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * ID of the project that contains the replica.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Optional. (MySQL only) Cloud SQL instance operations timeout, which is a
- * sum of all database operations. Default value is 10 minutes and can be
- * modified to a maximum value of 24 hours.
- *
- * Generated from protobuf field .google.protobuf.Duration db_timeout = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Duration|null
- */
- public function getDbTimeout()
- {
- return $this->db_timeout;
- }
-
- public function hasDbTimeout()
- {
- return isset($this->db_timeout);
- }
-
- public function clearDbTimeout()
- {
- unset($this->db_timeout);
- }
-
- /**
- * Optional. (MySQL only) Cloud SQL instance operations timeout, which is a
- * sum of all database operations. Default value is 10 minutes and can be
- * modified to a maximum value of 24 hours.
- *
- * Generated from protobuf field .google.protobuf.Duration db_timeout = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setDbTimeout($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->db_timeout = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesTruncateLogRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesTruncateLogRequest.php
deleted file mode 100644
index e4f9b017203f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesTruncateLogRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesTruncateLogRequest
- */
-class SqlInstancesTruncateLogRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the Cloud SQL project.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesTruncateLogRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the Cloud SQL project.
- * @type \Google\Cloud\Sql\V1beta4\InstancesTruncateLogRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the Cloud SQL project.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the Cloud SQL project.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesTruncateLogRequest body = 100;
- * @return \Google\Cloud\Sql\V1beta4\InstancesTruncateLogRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.InstancesTruncateLogRequest body = 100;
- * @param \Google\Cloud\Sql\V1beta4\InstancesTruncateLogRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\InstancesTruncateLogRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesUpdateRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesUpdateRequest.php
deleted file mode 100644
index 87a28db82b8b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesUpdateRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesUpdateRequest
- */
-class SqlInstancesUpdateRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\DatabaseInstance $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance body = 100;
- * @return \Google\Cloud\Sql\V1beta4\DatabaseInstance|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.DatabaseInstance body = 100;
- * @param \Google\Cloud\Sql\V1beta4\DatabaseInstance $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\DatabaseInstance::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesVerifyExternalSyncSettingsRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesVerifyExternalSyncSettingsRequest.php
deleted file mode 100644
index 547295de63ab..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesVerifyExternalSyncSettingsRequest.php
+++ /dev/null
@@ -1,319 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest
- */
-class SqlInstancesVerifyExternalSyncSettingsRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Flag to enable verifying connection only
- *
- * Generated from protobuf field bool verify_connection_only = 3;
- */
- protected $verify_connection_only = false;
- /**
- * External sync mode
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 4;
- */
- protected $sync_mode = 0;
- /**
- * Optional. Flag to verify settings required by replication setup only
- *
- * Generated from protobuf field bool verify_replication_only = 5 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $verify_replication_only = false;
- /**
- * Optional. MigrationType field decides if the migration is a physical file
- * based migration or logical migration
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $migration_type = 0;
- /**
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for PostgreSQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExternalSyncParallelLevel sync_parallel_level = 8 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $sync_parallel_level = 0;
- protected $sync_config;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type bool $verify_connection_only
- * Flag to enable verifying connection only
- * @type int $sync_mode
- * External sync mode
- * @type bool $verify_replication_only
- * Optional. Flag to verify settings required by replication setup only
- * @type \Google\Cloud\Sql\V1beta4\MySqlSyncConfig $mysql_sync_config
- * Optional. MySQL-specific settings for start external sync.
- * @type int $migration_type
- * Optional. MigrationType field decides if the migration is a physical file
- * based migration or logical migration
- * @type int $sync_parallel_level
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for PostgreSQL.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Flag to enable verifying connection only
- *
- * Generated from protobuf field bool verify_connection_only = 3;
- * @return bool
- */
- public function getVerifyConnectionOnly()
- {
- return $this->verify_connection_only;
- }
-
- /**
- * Flag to enable verifying connection only
- *
- * Generated from protobuf field bool verify_connection_only = 3;
- * @param bool $var
- * @return $this
- */
- public function setVerifyConnectionOnly($var)
- {
- GPBUtil::checkBool($var);
- $this->verify_connection_only = $var;
-
- return $this;
- }
-
- /**
- * External sync mode
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 4;
- * @return int
- */
- public function getSyncMode()
- {
- return $this->sync_mode;
- }
-
- /**
- * External sync mode
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 4;
- * @param int $var
- * @return $this
- */
- public function setSyncMode($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlInstancesVerifyExternalSyncSettingsRequest\ExternalSyncMode::class);
- $this->sync_mode = $var;
-
- return $this;
- }
-
- /**
- * Optional. Flag to verify settings required by replication setup only
- *
- * Generated from protobuf field bool verify_replication_only = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool
- */
- public function getVerifyReplicationOnly()
- {
- return $this->verify_replication_only;
- }
-
- /**
- * Optional. Flag to verify settings required by replication setup only
- *
- * Generated from protobuf field bool verify_replication_only = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool $var
- * @return $this
- */
- public function setVerifyReplicationOnly($var)
- {
- GPBUtil::checkBool($var);
- $this->verify_replication_only = $var;
-
- return $this;
- }
-
- /**
- * Optional. MySQL-specific settings for start external sync.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.MySqlSyncConfig mysql_sync_config = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Cloud\Sql\V1beta4\MySqlSyncConfig|null
- */
- public function getMysqlSyncConfig()
- {
- return $this->readOneof(6);
- }
-
- public function hasMysqlSyncConfig()
- {
- return $this->hasOneof(6);
- }
-
- /**
- * Optional. MySQL-specific settings for start external sync.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.MySqlSyncConfig mysql_sync_config = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @param \Google\Cloud\Sql\V1beta4\MySqlSyncConfig $var
- * @return $this
- */
- public function setMysqlSyncConfig($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\MySqlSyncConfig::class);
- $this->writeOneof(6, $var);
-
- return $this;
- }
-
- /**
- * Optional. MigrationType field decides if the migration is a physical file
- * based migration or logical migration
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getMigrationType()
- {
- return $this->migration_type;
- }
-
- /**
- * Optional. MigrationType field decides if the migration is a physical file
- * based migration or logical migration
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setMigrationType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\SqlInstancesVerifyExternalSyncSettingsRequest\MigrationType::class);
- $this->migration_type = $var;
-
- return $this;
- }
-
- /**
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for PostgreSQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExternalSyncParallelLevel sync_parallel_level = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getSyncParallelLevel()
- {
- return $this->sync_parallel_level;
- }
-
- /**
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for PostgreSQL.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.ExternalSyncParallelLevel sync_parallel_level = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setSyncParallelLevel($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\ExternalSyncParallelLevel::class);
- $this->sync_parallel_level = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getSyncConfig()
- {
- return $this->whichOneof("sync_config");
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesVerifyExternalSyncSettingsRequest/ExternalSyncMode.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesVerifyExternalSyncSettingsRequest/ExternalSyncMode.php
deleted file mode 100644
index 4e32f72ce78d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesVerifyExternalSyncSettingsRequest/ExternalSyncMode.php
+++ /dev/null
@@ -1,64 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode
- */
-class ExternalSyncMode
-{
- /**
- * Unknown external sync mode, will be defaulted to ONLINE mode
- *
- * Generated from protobuf enum EXTERNAL_SYNC_MODE_UNSPECIFIED = 0;
- */
- const EXTERNAL_SYNC_MODE_UNSPECIFIED = 0;
- /**
- * Online external sync will set up replication after initial data external
- * sync
- *
- * Generated from protobuf enum ONLINE = 1;
- */
- const ONLINE = 1;
- /**
- * Offline external sync only dumps and loads a one-time snapshot of
- * the primary instance's data
- *
- * Generated from protobuf enum OFFLINE = 2;
- */
- const OFFLINE = 2;
-
- private static $valueToName = [
- self::EXTERNAL_SYNC_MODE_UNSPECIFIED => 'EXTERNAL_SYNC_MODE_UNSPECIFIED',
- self::ONLINE => 'ONLINE',
- self::OFFLINE => 'OFFLINE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(ExternalSyncMode::class, \Google\Cloud\Sql\V1beta4\SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesVerifyExternalSyncSettingsRequest/MigrationType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesVerifyExternalSyncSettingsRequest/MigrationType.php
deleted file mode 100644
index d27fd16ff46b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesVerifyExternalSyncSettingsRequest/MigrationType.php
+++ /dev/null
@@ -1,65 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType
- */
-class MigrationType
-{
- /**
- * If no migration type is specified it will be defaulted to LOGICAL.
- *
- * Generated from protobuf enum MIGRATION_TYPE_UNSPECIFIED = 0;
- */
- const MIGRATION_TYPE_UNSPECIFIED = 0;
- /**
- * Logical Migrations
- *
- * Generated from protobuf enum LOGICAL = 1;
- */
- const LOGICAL = 1;
- /**
- * Physical file based Migrations
- *
- * Generated from protobuf enum PHYSICAL = 2;
- */
- const PHYSICAL = 2;
-
- private static $valueToName = [
- self::MIGRATION_TYPE_UNSPECIFIED => 'MIGRATION_TYPE_UNSPECIFIED',
- self::LOGICAL => 'LOGICAL',
- self::PHYSICAL => 'PHYSICAL',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(MigrationType::class, \Google\Cloud\Sql\V1beta4\SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesVerifyExternalSyncSettingsResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesVerifyExternalSyncSettingsResponse.php
deleted file mode 100644
index 1d18c5d4a78a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlInstancesVerifyExternalSyncSettingsResponse.php
+++ /dev/null
@@ -1,135 +0,0 @@
-google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsResponse
- */
-class SqlInstancesVerifyExternalSyncSettingsResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#migrationSettingErrorList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of migration violations.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SqlExternalSyncSettingError errors = 2;
- */
- private $errors;
- /**
- * List of migration warnings.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SqlExternalSyncSettingError warnings = 3;
- */
- private $warnings;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#migrationSettingErrorList`.
- * @type array<\Google\Cloud\Sql\V1beta4\SqlExternalSyncSettingError>|\Google\Protobuf\Internal\RepeatedField $errors
- * List of migration violations.
- * @type array<\Google\Cloud\Sql\V1beta4\SqlExternalSyncSettingError>|\Google\Protobuf\Internal\RepeatedField $warnings
- * List of migration warnings.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#migrationSettingErrorList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#migrationSettingErrorList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of migration violations.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SqlExternalSyncSettingError errors = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getErrors()
- {
- return $this->errors;
- }
-
- /**
- * List of migration violations.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SqlExternalSyncSettingError errors = 2;
- * @param array<\Google\Cloud\Sql\V1beta4\SqlExternalSyncSettingError>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setErrors($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\SqlExternalSyncSettingError::class);
- $this->errors = $arr;
-
- return $this;
- }
-
- /**
- * List of migration warnings.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SqlExternalSyncSettingError warnings = 3;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getWarnings()
- {
- return $this->warnings;
- }
-
- /**
- * List of migration warnings.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SqlExternalSyncSettingError warnings = 3;
- * @param array<\Google\Cloud\Sql\V1beta4\SqlExternalSyncSettingError>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setWarnings($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\SqlExternalSyncSettingError::class);
- $this->warnings = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlIpAddressType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlIpAddressType.php
deleted file mode 100644
index fbc0654f24db..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlIpAddressType.php
+++ /dev/null
@@ -1,83 +0,0 @@
-google.cloud.sql.v1beta4.SqlIpAddressType
- */
-class SqlIpAddressType
-{
- /**
- * This is an unknown IP address type.
- *
- * Generated from protobuf enum SQL_IP_ADDRESS_TYPE_UNSPECIFIED = 0;
- */
- const SQL_IP_ADDRESS_TYPE_UNSPECIFIED = 0;
- /**
- * IP address the customer is supposed to connect to. Usually this is the
- * load balancer's IP address
- *
- * Generated from protobuf enum PRIMARY = 1;
- */
- const PRIMARY = 1;
- /**
- * Source IP address of the connection a read replica establishes to its
- * external primary instance. This IP address can be allowlisted by the
- * customer in case it has a firewall that filters incoming connection to its
- * on premises primary instance.
- *
- * Generated from protobuf enum OUTGOING = 2;
- */
- const OUTGOING = 2;
- /**
- * Private IP used when using private IPs and network peering.
- *
- * Generated from protobuf enum PRIVATE = 3;
- */
- const PBPRIVATE = 3;
- /**
- * V1 IP of a migrated instance. We want the user to
- * decommission this IP as soon as the migration is complete.
- * Note: V1 instances with V1 ip addresses will be counted as PRIMARY.
- *
- * Generated from protobuf enum MIGRATED_1ST_GEN = 4;
- */
- const MIGRATED_1ST_GEN = 4;
-
- private static $valueToName = [
- self::SQL_IP_ADDRESS_TYPE_UNSPECIFIED => 'SQL_IP_ADDRESS_TYPE_UNSPECIFIED',
- self::PRIMARY => 'PRIMARY',
- self::OUTGOING => 'OUTGOING',
- self::PBPRIVATE => 'PRIVATE',
- self::MIGRATED_1ST_GEN => 'MIGRATED_1ST_GEN',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- $pbconst = __CLASS__. '::PB' . strtoupper($name);
- if (!defined($pbconst)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($pbconst);
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlOperationsCancelRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlOperationsCancelRequest.php
deleted file mode 100644
index 478e9556ee10..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlOperationsCancelRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.SqlOperationsCancelRequest
- */
-class SqlOperationsCancelRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Instance operation ID.
- *
- * Generated from protobuf field string operation = 1;
- */
- protected $operation = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $operation
- * Instance operation ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Instance operation ID.
- *
- * Generated from protobuf field string operation = 1;
- * @return string
- */
- public function getOperation()
- {
- return $this->operation;
- }
-
- /**
- * Instance operation ID.
- *
- * Generated from protobuf field string operation = 1;
- * @param string $var
- * @return $this
- */
- public function setOperation($var)
- {
- GPBUtil::checkString($var, True);
- $this->operation = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlOperationsGetRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlOperationsGetRequest.php
deleted file mode 100644
index bbc146f67c51..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlOperationsGetRequest.php
+++ /dev/null
@@ -1,99 +0,0 @@
-google.cloud.sql.v1beta4.SqlOperationsGetRequest
- */
-class SqlOperationsGetRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Instance operation ID.
- *
- * Generated from protobuf field string operation = 1;
- */
- protected $operation = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $operation
- * Instance operation ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Instance operation ID.
- *
- * Generated from protobuf field string operation = 1;
- * @return string
- */
- public function getOperation()
- {
- return $this->operation;
- }
-
- /**
- * Instance operation ID.
- *
- * Generated from protobuf field string operation = 1;
- * @param string $var
- * @return $this
- */
- public function setOperation($var)
- {
- GPBUtil::checkString($var, True);
- $this->operation = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlOperationsListRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlOperationsListRequest.php
deleted file mode 100644
index 4378c85f21db..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlOperationsListRequest.php
+++ /dev/null
@@ -1,171 +0,0 @@
-google.cloud.sql.v1beta4.SqlOperationsListRequest
- */
-class SqlOperationsListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Maximum number of operations per response.
- *
- * Generated from protobuf field uint32 max_results = 2;
- */
- protected $max_results = 0;
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- */
- protected $page_token = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type int $max_results
- * Maximum number of operations per response.
- * @type string $page_token
- * A previously-returned page token representing part of the larger set of
- * results to view.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Maximum number of operations per response.
- *
- * Generated from protobuf field uint32 max_results = 2;
- * @return int
- */
- public function getMaxResults()
- {
- return $this->max_results;
- }
-
- /**
- * Maximum number of operations per response.
- *
- * Generated from protobuf field uint32 max_results = 2;
- * @param int $var
- * @return $this
- */
- public function setMaxResults($var)
- {
- GPBUtil::checkUint32($var);
- $this->max_results = $var;
-
- return $this;
- }
-
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * A previously-returned page token representing part of the larger set of
- * results to view.
- *
- * Generated from protobuf field string page_token = 3;
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlPricingPlan.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlPricingPlan.php
deleted file mode 100644
index d501ca946517..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlPricingPlan.php
+++ /dev/null
@@ -1,61 +0,0 @@
-google.cloud.sql.v1beta4.SqlPricingPlan
- */
-class SqlPricingPlan
-{
- /**
- * This is an unknown pricing plan for this instance.
- *
- * Generated from protobuf enum SQL_PRICING_PLAN_UNSPECIFIED = 0;
- */
- const SQL_PRICING_PLAN_UNSPECIFIED = 0;
- /**
- * The instance is billed at a monthly flat rate.
- *
- * Generated from protobuf enum PACKAGE = 1;
- */
- const PACKAGE = 1;
- /**
- * The instance is billed per usage.
- *
- * Generated from protobuf enum PER_USE = 2;
- */
- const PER_USE = 2;
-
- private static $valueToName = [
- self::SQL_PRICING_PLAN_UNSPECIFIED => 'SQL_PRICING_PLAN_UNSPECIFIED',
- self::PACKAGE => 'PACKAGE',
- self::PER_USE => 'PER_USE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlReplicationType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlReplicationType.php
deleted file mode 100644
index 212966a71313..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlReplicationType.php
+++ /dev/null
@@ -1,63 +0,0 @@
-google.cloud.sql.v1beta4.SqlReplicationType
- */
-class SqlReplicationType
-{
- /**
- * This is an unknown replication type for a Cloud SQL instance.
- *
- * Generated from protobuf enum SQL_REPLICATION_TYPE_UNSPECIFIED = 0;
- */
- const SQL_REPLICATION_TYPE_UNSPECIFIED = 0;
- /**
- * The synchronous replication mode for First Generation instances. It is the
- * default value.
- *
- * Generated from protobuf enum SYNCHRONOUS = 1;
- */
- const SYNCHRONOUS = 1;
- /**
- * The asynchronous replication mode for First Generation instances. It
- * provides a slight performance gain, but if an outage occurs while this
- * option is set to asynchronous, you can lose up to a few seconds of updates
- * to your data.
- *
- * Generated from protobuf enum ASYNCHRONOUS = 2;
- */
- const ASYNCHRONOUS = 2;
-
- private static $valueToName = [
- self::SQL_REPLICATION_TYPE_UNSPECIFIED => 'SQL_REPLICATION_TYPE_UNSPECIFIED',
- self::SYNCHRONOUS => 'SYNCHRONOUS',
- self::ASYNCHRONOUS => 'ASYNCHRONOUS',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlServerAuditConfig.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlServerAuditConfig.php
deleted file mode 100644
index 5137079eaf59..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlServerAuditConfig.php
+++ /dev/null
@@ -1,189 +0,0 @@
-google.cloud.sql.v1beta4.SqlServerAuditConfig
- */
-class SqlServerAuditConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always sql#sqlServerAuditConfig
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The name of the destination bucket (e.g., gs://mybucket).
- *
- * Generated from protobuf field string bucket = 2;
- */
- protected $bucket = '';
- /**
- * How long to keep generated audit files.
- *
- * Generated from protobuf field .google.protobuf.Duration retention_interval = 3;
- */
- protected $retention_interval = null;
- /**
- * How often to upload generated audit files.
- *
- * Generated from protobuf field .google.protobuf.Duration upload_interval = 4;
- */
- protected $upload_interval = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always sql#sqlServerAuditConfig
- * @type string $bucket
- * The name of the destination bucket (e.g., gs://mybucket).
- * @type \Google\Protobuf\Duration $retention_interval
- * How long to keep generated audit files.
- * @type \Google\Protobuf\Duration $upload_interval
- * How often to upload generated audit files.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always sql#sqlServerAuditConfig
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always sql#sqlServerAuditConfig
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The name of the destination bucket (e.g., gs://mybucket).
- *
- * Generated from protobuf field string bucket = 2;
- * @return string
- */
- public function getBucket()
- {
- return $this->bucket;
- }
-
- /**
- * The name of the destination bucket (e.g., gs://mybucket).
- *
- * Generated from protobuf field string bucket = 2;
- * @param string $var
- * @return $this
- */
- public function setBucket($var)
- {
- GPBUtil::checkString($var, True);
- $this->bucket = $var;
-
- return $this;
- }
-
- /**
- * How long to keep generated audit files.
- *
- * Generated from protobuf field .google.protobuf.Duration retention_interval = 3;
- * @return \Google\Protobuf\Duration|null
- */
- public function getRetentionInterval()
- {
- return $this->retention_interval;
- }
-
- public function hasRetentionInterval()
- {
- return isset($this->retention_interval);
- }
-
- public function clearRetentionInterval()
- {
- unset($this->retention_interval);
- }
-
- /**
- * How long to keep generated audit files.
- *
- * Generated from protobuf field .google.protobuf.Duration retention_interval = 3;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setRetentionInterval($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->retention_interval = $var;
-
- return $this;
- }
-
- /**
- * How often to upload generated audit files.
- *
- * Generated from protobuf field .google.protobuf.Duration upload_interval = 4;
- * @return \Google\Protobuf\Duration|null
- */
- public function getUploadInterval()
- {
- return $this->upload_interval;
- }
-
- public function hasUploadInterval()
- {
- return isset($this->upload_interval);
- }
-
- public function clearUploadInterval()
- {
- unset($this->upload_interval);
- }
-
- /**
- * How often to upload generated audit files.
- *
- * Generated from protobuf field .google.protobuf.Duration upload_interval = 4;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setUploadInterval($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->upload_interval = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlServerDatabaseDetails.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlServerDatabaseDetails.php
deleted file mode 100644
index 13de780c5c55..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlServerDatabaseDetails.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.SqlServerDatabaseDetails
- */
-class SqlServerDatabaseDetails extends \Google\Protobuf\Internal\Message
-{
- /**
- * The version of SQL Server with which the database is to be made compatible
- *
- * Generated from protobuf field int32 compatibility_level = 1;
- */
- protected $compatibility_level = 0;
- /**
- * The recovery model of a SQL Server database
- *
- * Generated from protobuf field string recovery_model = 2;
- */
- protected $recovery_model = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $compatibility_level
- * The version of SQL Server with which the database is to be made compatible
- * @type string $recovery_model
- * The recovery model of a SQL Server database
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The version of SQL Server with which the database is to be made compatible
- *
- * Generated from protobuf field int32 compatibility_level = 1;
- * @return int
- */
- public function getCompatibilityLevel()
- {
- return $this->compatibility_level;
- }
-
- /**
- * The version of SQL Server with which the database is to be made compatible
- *
- * Generated from protobuf field int32 compatibility_level = 1;
- * @param int $var
- * @return $this
- */
- public function setCompatibilityLevel($var)
- {
- GPBUtil::checkInt32($var);
- $this->compatibility_level = $var;
-
- return $this;
- }
-
- /**
- * The recovery model of a SQL Server database
- *
- * Generated from protobuf field string recovery_model = 2;
- * @return string
- */
- public function getRecoveryModel()
- {
- return $this->recovery_model;
- }
-
- /**
- * The recovery model of a SQL Server database
- *
- * Generated from protobuf field string recovery_model = 2;
- * @param string $var
- * @return $this
- */
- public function setRecoveryModel($var)
- {
- GPBUtil::checkString($var, True);
- $this->recovery_model = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlServerUserDetails.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlServerUserDetails.php
deleted file mode 100644
index e45e0920c982..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlServerUserDetails.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.SqlServerUserDetails
- */
-class SqlServerUserDetails extends \Google\Protobuf\Internal\Message
-{
- /**
- * If the user has been disabled
- *
- * Generated from protobuf field bool disabled = 1;
- */
- protected $disabled = false;
- /**
- * The server roles for this user
- *
- * Generated from protobuf field repeated string server_roles = 2;
- */
- private $server_roles;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $disabled
- * If the user has been disabled
- * @type array|\Google\Protobuf\Internal\RepeatedField $server_roles
- * The server roles for this user
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * If the user has been disabled
- *
- * Generated from protobuf field bool disabled = 1;
- * @return bool
- */
- public function getDisabled()
- {
- return $this->disabled;
- }
-
- /**
- * If the user has been disabled
- *
- * Generated from protobuf field bool disabled = 1;
- * @param bool $var
- * @return $this
- */
- public function setDisabled($var)
- {
- GPBUtil::checkBool($var);
- $this->disabled = $var;
-
- return $this;
- }
-
- /**
- * The server roles for this user
- *
- * Generated from protobuf field repeated string server_roles = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getServerRoles()
- {
- return $this->server_roles;
- }
-
- /**
- * The server roles for this user
- *
- * Generated from protobuf field repeated string server_roles = 2;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setServerRoles($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->server_roles = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSslCertsDeleteRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSslCertsDeleteRequest.php
deleted file mode 100644
index c739696d0f4f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSslCertsDeleteRequest.php
+++ /dev/null
@@ -1,133 +0,0 @@
-google.cloud.sql.v1beta4.SqlSslCertsDeleteRequest
- */
-class SqlSslCertsDeleteRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Sha1 FingerPrint.
- *
- * Generated from protobuf field string sha1_fingerprint = 3;
- */
- protected $sha1_fingerprint = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type string $sha1_fingerprint
- * Sha1 FingerPrint.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Sha1 FingerPrint.
- *
- * Generated from protobuf field string sha1_fingerprint = 3;
- * @return string
- */
- public function getSha1Fingerprint()
- {
- return $this->sha1_fingerprint;
- }
-
- /**
- * Sha1 FingerPrint.
- *
- * Generated from protobuf field string sha1_fingerprint = 3;
- * @param string $var
- * @return $this
- */
- public function setSha1Fingerprint($var)
- {
- GPBUtil::checkString($var, True);
- $this->sha1_fingerprint = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSslCertsGetRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSslCertsGetRequest.php
deleted file mode 100644
index 3f87490d835e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSslCertsGetRequest.php
+++ /dev/null
@@ -1,133 +0,0 @@
-google.cloud.sql.v1beta4.SqlSslCertsGetRequest
- */
-class SqlSslCertsGetRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Sha1 FingerPrint.
- *
- * Generated from protobuf field string sha1_fingerprint = 3;
- */
- protected $sha1_fingerprint = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type string $sha1_fingerprint
- * Sha1 FingerPrint.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Sha1 FingerPrint.
- *
- * Generated from protobuf field string sha1_fingerprint = 3;
- * @return string
- */
- public function getSha1Fingerprint()
- {
- return $this->sha1_fingerprint;
- }
-
- /**
- * Sha1 FingerPrint.
- *
- * Generated from protobuf field string sha1_fingerprint = 3;
- * @param string $var
- * @return $this
- */
- public function setSha1Fingerprint($var)
- {
- GPBUtil::checkString($var, True);
- $this->sha1_fingerprint = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSslCertsInsertRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSslCertsInsertRequest.php
deleted file mode 100644
index 5c6f004a1509..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSslCertsInsertRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlSslCertsInsertRequest
- */
-class SqlSslCertsInsertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCertsInsertRequest body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\SslCertsInsertRequest $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCertsInsertRequest body = 100;
- * @return \Google\Cloud\Sql\V1beta4\SslCertsInsertRequest|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCertsInsertRequest body = 100;
- * @param \Google\Cloud\Sql\V1beta4\SslCertsInsertRequest $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\SslCertsInsertRequest::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSslCertsListRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSslCertsListRequest.php
deleted file mode 100644
index c35899607a1c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSslCertsListRequest.php
+++ /dev/null
@@ -1,99 +0,0 @@
-google.cloud.sql.v1beta4.SqlSslCertsListRequest
- */
-class SqlSslCertsListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSql::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Cloud SQL instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSuspensionReason.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSuspensionReason.php
deleted file mode 100644
index d36130e77c0c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlSuspensionReason.php
+++ /dev/null
@@ -1,78 +0,0 @@
-google.cloud.sql.v1beta4.SqlSuspensionReason
- */
-class SqlSuspensionReason
-{
- /**
- * This is an unknown suspension reason.
- *
- * Generated from protobuf enum SQL_SUSPENSION_REASON_UNSPECIFIED = 0;
- */
- const SQL_SUSPENSION_REASON_UNSPECIFIED = 0;
- /**
- * The instance is suspended due to billing issues (for example:, GCP account
- * issue)
- *
- * Generated from protobuf enum BILLING_ISSUE = 2;
- */
- const BILLING_ISSUE = 2;
- /**
- * The instance is suspended due to illegal content (for example:, child
- * pornography, copyrighted material, etc.).
- *
- * Generated from protobuf enum LEGAL_ISSUE = 3;
- */
- const LEGAL_ISSUE = 3;
- /**
- * The instance is causing operational issues (for example:, causing the
- * database to crash).
- *
- * Generated from protobuf enum OPERATIONAL_ISSUE = 4;
- */
- const OPERATIONAL_ISSUE = 4;
- /**
- * The KMS key used by the instance is either revoked or denied access to
- *
- * Generated from protobuf enum KMS_KEY_ISSUE = 5;
- */
- const KMS_KEY_ISSUE = 5;
-
- private static $valueToName = [
- self::SQL_SUSPENSION_REASON_UNSPECIFIED => 'SQL_SUSPENSION_REASON_UNSPECIFIED',
- self::BILLING_ISSUE => 'BILLING_ISSUE',
- self::LEGAL_ISSUE => 'LEGAL_ISSUE',
- self::OPERATIONAL_ISSUE => 'OPERATIONAL_ISSUE',
- self::KMS_KEY_ISSUE => 'KMS_KEY_ISSUE',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlTiersListRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlTiersListRequest.php
deleted file mode 100644
index 02515e9a188e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlTiersListRequest.php
+++ /dev/null
@@ -1,65 +0,0 @@
-google.cloud.sql.v1beta4.SqlTiersListRequest
- */
-class SqlTiersListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Project ID of the project for which to list tiers.
- *
- * Generated from protobuf field string project = 1;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $project
- * Project ID of the project for which to list tiers.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlTiers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Project ID of the project for which to list tiers.
- *
- * Generated from protobuf field string project = 1;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project for which to list tiers.
- *
- * Generated from protobuf field string project = 1;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUpdateTrack.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUpdateTrack.php
deleted file mode 100644
index 13b3da808cc6..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUpdateTrack.php
+++ /dev/null
@@ -1,73 +0,0 @@
-google.cloud.sql.v1beta4.SqlUpdateTrack
- */
-class SqlUpdateTrack
-{
- /**
- * This is an unknown maintenance timing preference.
- *
- * Generated from protobuf enum SQL_UPDATE_TRACK_UNSPECIFIED = 0;
- */
- const SQL_UPDATE_TRACK_UNSPECIFIED = 0;
- /**
- * For instance update that requires a restart, this update track indicates
- * your instance prefer to restart for new version early in maintenance
- * window.
- *
- * Generated from protobuf enum canary = 1;
- */
- const canary = 1;
- /**
- * For instance update that requires a restart, this update track indicates
- * your instance prefer to let Cloud SQL choose the timing of restart (within
- * its Maintenance window, if applicable).
- *
- * Generated from protobuf enum stable = 2;
- */
- const stable = 2;
- /**
- * For instance update that requires a restart, this update track indicates
- * your instance prefer to let Cloud SQL choose the timing of restart (within
- * its Maintenance window, if applicable) to be at least 5 weeks after the
- * notification.
- *
- * Generated from protobuf enum week5 = 3;
- */
- const week5 = 3;
-
- private static $valueToName = [
- self::SQL_UPDATE_TRACK_UNSPECIFIED => 'SQL_UPDATE_TRACK_UNSPECIFIED',
- self::canary => 'canary',
- self::stable => 'stable',
- self::week5 => 'week5',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersDeleteRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersDeleteRequest.php
deleted file mode 100644
index 656f740f4cab..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersDeleteRequest.php
+++ /dev/null
@@ -1,167 +0,0 @@
-google.cloud.sql.v1beta4.SqlUsersDeleteRequest
- */
-class SqlUsersDeleteRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Host of the user in the instance.
- *
- * Generated from protobuf field string host = 1;
- */
- protected $host = '';
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- */
- protected $instance = '';
- /**
- * Name of the user in the instance.
- *
- * Generated from protobuf field string name = 3;
- */
- protected $name = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $host
- * Host of the user in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $name
- * Name of the user in the instance.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Host of the user in the instance.
- *
- * Generated from protobuf field string host = 1;
- * @return string
- */
- public function getHost()
- {
- return $this->host;
- }
-
- /**
- * Host of the user in the instance.
- *
- * Generated from protobuf field string host = 1;
- * @param string $var
- * @return $this
- */
- public function setHost($var)
- {
- GPBUtil::checkString($var, True);
- $this->host = $var;
-
- return $this;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Name of the user in the instance.
- *
- * Generated from protobuf field string name = 3;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Name of the user in the instance.
- *
- * Generated from protobuf field string name = 3;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersGetRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersGetRequest.php
deleted file mode 100644
index d40818f65842..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersGetRequest.php
+++ /dev/null
@@ -1,169 +0,0 @@
-google.cloud.sql.v1beta4.SqlUsersGetRequest
- */
-class SqlUsersGetRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * User of the instance.
- *
- * Generated from protobuf field string name = 2;
- */
- protected $name = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- */
- protected $project = '';
- /**
- * Host of a user of the instance.
- *
- * Generated from protobuf field string host = 4;
- */
- protected $host = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $name
- * User of the instance.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type string $host
- * Host of a user of the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * User of the instance.
- *
- * Generated from protobuf field string name = 2;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * User of the instance.
- *
- * Generated from protobuf field string name = 2;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 3;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Host of a user of the instance.
- *
- * Generated from protobuf field string host = 4;
- * @return string
- */
- public function getHost()
- {
- return $this->host;
- }
-
- /**
- * Host of a user of the instance.
- *
- * Generated from protobuf field string host = 4;
- * @param string $var
- * @return $this
- */
- public function setHost($var)
- {
- GPBUtil::checkString($var, True);
- $this->host = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersInsertRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersInsertRequest.php
deleted file mode 100644
index ba22d08a450a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersInsertRequest.php
+++ /dev/null
@@ -1,136 +0,0 @@
-google.cloud.sql.v1beta4.SqlUsersInsertRequest
- */
-class SqlUsersInsertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.User body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\User $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.User body = 100;
- * @return \Google\Cloud\Sql\V1beta4\User|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.User body = 100;
- * @param \Google\Cloud\Sql\V1beta4\User $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\User::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersListRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersListRequest.php
deleted file mode 100644
index edd4f205cdaf..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersListRequest.php
+++ /dev/null
@@ -1,99 +0,0 @@
-google.cloud.sql.v1beta4.SqlUsersListRequest
- */
-class SqlUsersListRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- */
- protected $instance = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- */
- protected $project = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 1;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 2;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersUpdateRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersUpdateRequest.php
deleted file mode 100644
index c78e920538dd..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SqlUsersUpdateRequest.php
+++ /dev/null
@@ -1,204 +0,0 @@
-google.cloud.sql.v1beta4.SqlUsersUpdateRequest
- */
-class SqlUsersUpdateRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Optional. Host of the user in the instance.
- *
- * Generated from protobuf field string host = 1 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $host = '';
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- */
- protected $instance = '';
- /**
- * Name of the user in the instance.
- *
- * Generated from protobuf field string name = 3;
- */
- protected $name = '';
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- */
- protected $project = '';
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.User body = 100;
- */
- protected $body = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $host
- * Optional. Host of the user in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $name
- * Name of the user in the instance.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type \Google\Cloud\Sql\V1beta4\User $body
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Optional. Host of the user in the instance.
- *
- * Generated from protobuf field string host = 1 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getHost()
- {
- return $this->host;
- }
-
- /**
- * Optional. Host of the user in the instance.
- *
- * Generated from protobuf field string host = 1 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setHost($var)
- {
- GPBUtil::checkString($var, True);
- $this->host = $var;
-
- return $this;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Database instance ID. This does not include the project ID.
- *
- * Generated from protobuf field string instance = 2;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * Name of the user in the instance.
- *
- * Generated from protobuf field string name = 3;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Name of the user in the instance.
- *
- * Generated from protobuf field string name = 3;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * Project ID of the project that contains the instance.
- *
- * Generated from protobuf field string project = 4;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.User body = 100;
- * @return \Google\Cloud\Sql\V1beta4\User|null
- */
- public function getBody()
- {
- return $this->body;
- }
-
- public function hasBody()
- {
- return isset($this->body);
- }
-
- public function clearBody()
- {
- unset($this->body);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.User body = 100;
- * @param \Google\Cloud\Sql\V1beta4\User $var
- * @return $this
- */
- public function setBody($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\User::class);
- $this->body = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCert.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCert.php
deleted file mode 100644
index 676289385726..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCert.php
+++ /dev/null
@@ -1,375 +0,0 @@
-google.cloud.sql.v1beta4.SslCert
- */
-class SslCert extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#sslCert`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * Serial number, as extracted from the certificate.
- *
- * Generated from protobuf field string cert_serial_number = 2;
- */
- protected $cert_serial_number = '';
- /**
- * PEM representation.
- *
- * Generated from protobuf field string cert = 3;
- */
- protected $cert = '';
- /**
- * The time when the certificate was created in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 4;
- */
- protected $create_time = null;
- /**
- * User supplied name. Constrained to [a-zA-Z.-_ ]+.
- *
- * Generated from protobuf field string common_name = 5;
- */
- protected $common_name = '';
- /**
- * The time when the certificate expires in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expiration_time = 6;
- */
- protected $expiration_time = null;
- /**
- * Sha1 Fingerprint.
- *
- * Generated from protobuf field string sha1_fingerprint = 7;
- */
- protected $sha1_fingerprint = '';
- /**
- * Name of the database instance.
- *
- * Generated from protobuf field string instance = 8;
- */
- protected $instance = '';
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 9;
- */
- protected $self_link = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#sslCert`.
- * @type string $cert_serial_number
- * Serial number, as extracted from the certificate.
- * @type string $cert
- * PEM representation.
- * @type \Google\Protobuf\Timestamp $create_time
- * The time when the certificate was created in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type string $common_name
- * User supplied name. Constrained to [a-zA-Z.-_ ]+.
- * @type \Google\Protobuf\Timestamp $expiration_time
- * The time when the certificate expires in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- * @type string $sha1_fingerprint
- * Sha1 Fingerprint.
- * @type string $instance
- * Name of the database instance.
- * @type string $self_link
- * The URI of this resource.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#sslCert`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#sslCert`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * Serial number, as extracted from the certificate.
- *
- * Generated from protobuf field string cert_serial_number = 2;
- * @return string
- */
- public function getCertSerialNumber()
- {
- return $this->cert_serial_number;
- }
-
- /**
- * Serial number, as extracted from the certificate.
- *
- * Generated from protobuf field string cert_serial_number = 2;
- * @param string $var
- * @return $this
- */
- public function setCertSerialNumber($var)
- {
- GPBUtil::checkString($var, True);
- $this->cert_serial_number = $var;
-
- return $this;
- }
-
- /**
- * PEM representation.
- *
- * Generated from protobuf field string cert = 3;
- * @return string
- */
- public function getCert()
- {
- return $this->cert;
- }
-
- /**
- * PEM representation.
- *
- * Generated from protobuf field string cert = 3;
- * @param string $var
- * @return $this
- */
- public function setCert($var)
- {
- GPBUtil::checkString($var, True);
- $this->cert = $var;
-
- return $this;
- }
-
- /**
- * The time when the certificate was created in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 4;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
-
- public function hasCreateTime()
- {
- return isset($this->create_time);
- }
-
- public function clearCreateTime()
- {
- unset($this->create_time);
- }
-
- /**
- * The time when the certificate was created in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp create_time = 4;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setCreateTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->create_time = $var;
-
- return $this;
- }
-
- /**
- * User supplied name. Constrained to [a-zA-Z.-_ ]+.
- *
- * Generated from protobuf field string common_name = 5;
- * @return string
- */
- public function getCommonName()
- {
- return $this->common_name;
- }
-
- /**
- * User supplied name. Constrained to [a-zA-Z.-_ ]+.
- *
- * Generated from protobuf field string common_name = 5;
- * @param string $var
- * @return $this
- */
- public function setCommonName($var)
- {
- GPBUtil::checkString($var, True);
- $this->common_name = $var;
-
- return $this;
- }
-
- /**
- * The time when the certificate expires in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expiration_time = 6;
- * @return \Google\Protobuf\Timestamp|null
- */
- public function getExpirationTime()
- {
- return $this->expiration_time;
- }
-
- public function hasExpirationTime()
- {
- return isset($this->expiration_time);
- }
-
- public function clearExpirationTime()
- {
- unset($this->expiration_time);
- }
-
- /**
- * The time when the certificate expires in
- * [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
- * `2012-11-15T16:19:00.094Z`.
- *
- * Generated from protobuf field .google.protobuf.Timestamp expiration_time = 6;
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- */
- public function setExpirationTime($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->expiration_time = $var;
-
- return $this;
- }
-
- /**
- * Sha1 Fingerprint.
- *
- * Generated from protobuf field string sha1_fingerprint = 7;
- * @return string
- */
- public function getSha1Fingerprint()
- {
- return $this->sha1_fingerprint;
- }
-
- /**
- * Sha1 Fingerprint.
- *
- * Generated from protobuf field string sha1_fingerprint = 7;
- * @param string $var
- * @return $this
- */
- public function setSha1Fingerprint($var)
- {
- GPBUtil::checkString($var, True);
- $this->sha1_fingerprint = $var;
-
- return $this;
- }
-
- /**
- * Name of the database instance.
- *
- * Generated from protobuf field string instance = 8;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * Name of the database instance.
- *
- * Generated from protobuf field string instance = 8;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 9;
- * @return string
- */
- public function getSelfLink()
- {
- return $this->self_link;
- }
-
- /**
- * The URI of this resource.
- *
- * Generated from protobuf field string self_link = 9;
- * @param string $var
- * @return $this
- */
- public function setSelfLink($var)
- {
- GPBUtil::checkString($var, True);
- $this->self_link = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertDetail.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertDetail.php
deleted file mode 100644
index dc808ee307e5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertDetail.php
+++ /dev/null
@@ -1,115 +0,0 @@
-google.cloud.sql.v1beta4.SslCertDetail
- */
-class SslCertDetail extends \Google\Protobuf\Internal\Message
-{
- /**
- * The public information about the cert.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert cert_info = 1;
- */
- protected $cert_info = null;
- /**
- * The private key for the client cert, in pem format. Keep private in order
- * to protect your security.
- *
- * Generated from protobuf field string cert_private_key = 2;
- */
- protected $cert_private_key = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Sql\V1beta4\SslCert $cert_info
- * The public information about the cert.
- * @type string $cert_private_key
- * The private key for the client cert, in pem format. Keep private in order
- * to protect your security.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The public information about the cert.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert cert_info = 1;
- * @return \Google\Cloud\Sql\V1beta4\SslCert|null
- */
- public function getCertInfo()
- {
- return $this->cert_info;
- }
-
- public function hasCertInfo()
- {
- return isset($this->cert_info);
- }
-
- public function clearCertInfo()
- {
- unset($this->cert_info);
- }
-
- /**
- * The public information about the cert.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert cert_info = 1;
- * @param \Google\Cloud\Sql\V1beta4\SslCert $var
- * @return $this
- */
- public function setCertInfo($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\SslCert::class);
- $this->cert_info = $var;
-
- return $this;
- }
-
- /**
- * The private key for the client cert, in pem format. Keep private in order
- * to protect your security.
- *
- * Generated from protobuf field string cert_private_key = 2;
- * @return string
- */
- public function getCertPrivateKey()
- {
- return $this->cert_private_key;
- }
-
- /**
- * The private key for the client cert, in pem format. Keep private in order
- * to protect your security.
- *
- * Generated from protobuf field string cert_private_key = 2;
- * @param string $var
- * @return $this
- */
- public function setCertPrivateKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->cert_private_key = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertsCreateEphemeralRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertsCreateEphemeralRequest.php
deleted file mode 100644
index 17b131faedbc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertsCreateEphemeralRequest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.SslCertsCreateEphemeralRequest
- */
-class SslCertsCreateEphemeralRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * PEM encoded public key to include in the signed certificate.
- *
- * Generated from protobuf field string public_key = 1;
- */
- protected $public_key = '';
- /**
- * Access token to include in the signed certificate.
- *
- * Generated from protobuf field string access_token = 2;
- */
- protected $access_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $public_key
- * PEM encoded public key to include in the signed certificate.
- * @type string $access_token
- * Access token to include in the signed certificate.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * PEM encoded public key to include in the signed certificate.
- *
- * Generated from protobuf field string public_key = 1;
- * @return string
- */
- public function getPublicKey()
- {
- return $this->public_key;
- }
-
- /**
- * PEM encoded public key to include in the signed certificate.
- *
- * Generated from protobuf field string public_key = 1;
- * @param string $var
- * @return $this
- */
- public function setPublicKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->public_key = $var;
-
- return $this;
- }
-
- /**
- * Access token to include in the signed certificate.
- *
- * Generated from protobuf field string access_token = 2;
- * @return string
- */
- public function getAccessToken()
- {
- return $this->access_token;
- }
-
- /**
- * Access token to include in the signed certificate.
- *
- * Generated from protobuf field string access_token = 2;
- * @param string $var
- * @return $this
- */
- public function setAccessToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->access_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertsInsertRequest.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertsInsertRequest.php
deleted file mode 100644
index 60070142f0ec..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertsInsertRequest.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.cloud.sql.v1beta4.SslCertsInsertRequest
- */
-class SslCertsInsertRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * User supplied name. Must be a distinct name from the other certificates
- * for this instance.
- *
- * Generated from protobuf field string common_name = 1;
- */
- protected $common_name = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $common_name
- * User supplied name. Must be a distinct name from the other certificates
- * for this instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * User supplied name. Must be a distinct name from the other certificates
- * for this instance.
- *
- * Generated from protobuf field string common_name = 1;
- * @return string
- */
- public function getCommonName()
- {
- return $this->common_name;
- }
-
- /**
- * User supplied name. Must be a distinct name from the other certificates
- * for this instance.
- *
- * Generated from protobuf field string common_name = 1;
- * @param string $var
- * @return $this
- */
- public function setCommonName($var)
- {
- GPBUtil::checkString($var, True);
- $this->common_name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertsInsertResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertsInsertResponse.php
deleted file mode 100644
index bed903dd6b96..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertsInsertResponse.php
+++ /dev/null
@@ -1,207 +0,0 @@
-google.cloud.sql.v1beta4.SslCertsInsertResponse
- */
-class SslCertsInsertResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#sslCertsInsert`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The operation to track the ssl certs insert request.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Operation operation = 2;
- */
- protected $operation = null;
- /**
- * The server Certificate Authority's certificate. If this is missing you can
- * force a new one to be generated by calling resetSslConfig method on
- * instances resource.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert server_ca_cert = 3;
- */
- protected $server_ca_cert = null;
- /**
- * The new client certificate and private key.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCertDetail client_cert = 4;
- */
- protected $client_cert = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#sslCertsInsert`.
- * @type \Google\Cloud\Sql\V1beta4\Operation $operation
- * The operation to track the ssl certs insert request.
- * @type \Google\Cloud\Sql\V1beta4\SslCert $server_ca_cert
- * The server Certificate Authority's certificate. If this is missing you can
- * force a new one to be generated by calling resetSslConfig method on
- * instances resource.
- * @type \Google\Cloud\Sql\V1beta4\SslCertDetail $client_cert
- * The new client certificate and private key.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#sslCertsInsert`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#sslCertsInsert`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The operation to track the ssl certs insert request.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Operation operation = 2;
- * @return \Google\Cloud\Sql\V1beta4\Operation|null
- */
- public function getOperation()
- {
- return $this->operation;
- }
-
- public function hasOperation()
- {
- return isset($this->operation);
- }
-
- public function clearOperation()
- {
- unset($this->operation);
- }
-
- /**
- * The operation to track the ssl certs insert request.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.Operation operation = 2;
- * @param \Google\Cloud\Sql\V1beta4\Operation $var
- * @return $this
- */
- public function setOperation($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\Operation::class);
- $this->operation = $var;
-
- return $this;
- }
-
- /**
- * The server Certificate Authority's certificate. If this is missing you can
- * force a new one to be generated by calling resetSslConfig method on
- * instances resource.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert server_ca_cert = 3;
- * @return \Google\Cloud\Sql\V1beta4\SslCert|null
- */
- public function getServerCaCert()
- {
- return $this->server_ca_cert;
- }
-
- public function hasServerCaCert()
- {
- return isset($this->server_ca_cert);
- }
-
- public function clearServerCaCert()
- {
- unset($this->server_ca_cert);
- }
-
- /**
- * The server Certificate Authority's certificate. If this is missing you can
- * force a new one to be generated by calling resetSslConfig method on
- * instances resource.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCert server_ca_cert = 3;
- * @param \Google\Cloud\Sql\V1beta4\SslCert $var
- * @return $this
- */
- public function setServerCaCert($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\SslCert::class);
- $this->server_ca_cert = $var;
-
- return $this;
- }
-
- /**
- * The new client certificate and private key.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCertDetail client_cert = 4;
- * @return \Google\Cloud\Sql\V1beta4\SslCertDetail|null
- */
- public function getClientCert()
- {
- return $this->client_cert;
- }
-
- public function hasClientCert()
- {
- return isset($this->client_cert);
- }
-
- public function clearClientCert()
- {
- unset($this->client_cert);
- }
-
- /**
- * The new client certificate and private key.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.SslCertDetail client_cert = 4;
- * @param \Google\Cloud\Sql\V1beta4\SslCertDetail $var
- * @return $this
- */
- public function setClientCert($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\SslCertDetail::class);
- $this->client_cert = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertsListResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertsListResponse.php
deleted file mode 100644
index 7fc7ca00d33d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SslCertsListResponse.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.SslCertsListResponse
- */
-class SslCertsListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#sslCertsList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of client certificates for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SslCert items = 2;
- */
- private $items;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#sslCertsList`.
- * @type array<\Google\Cloud\Sql\V1beta4\SslCert>|\Google\Protobuf\Internal\RepeatedField $items
- * List of client certificates for the instance.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#sslCertsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#sslCertsList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of client certificates for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SslCert items = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * List of client certificates for the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.SslCert items = 2;
- * @param array<\Google\Cloud\Sql\V1beta4\SslCert>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\SslCert::class);
- $this->items = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SyncFlags.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SyncFlags.php
deleted file mode 100644
index da6be916319b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/SyncFlags.php
+++ /dev/null
@@ -1,106 +0,0 @@
-google.cloud.sql.v1beta4.SyncFlags
- */
-class SyncFlags extends \Google\Protobuf\Internal\Message
-{
- /**
- * The name of the flag.
- *
- * Generated from protobuf field string name = 1;
- */
- protected $name = '';
- /**
- * The value of the flag. This field must be omitted if the flag
- * doesn't take a value.
- *
- * Generated from protobuf field string value = 2;
- */
- protected $value = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * The name of the flag.
- * @type string $value
- * The value of the flag. This field must be omitted if the flag
- * doesn't take a value.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * The name of the flag.
- *
- * Generated from protobuf field string name = 1;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the flag.
- *
- * Generated from protobuf field string name = 1;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * The value of the flag. This field must be omitted if the flag
- * doesn't take a value.
- *
- * Generated from protobuf field string value = 2;
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The value of the flag. This field must be omitted if the flag
- * doesn't take a value.
- *
- * Generated from protobuf field string value = 2;
- * @param string $var
- * @return $this
- */
- public function setValue($var)
- {
- GPBUtil::checkString($var, True);
- $this->value = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Tier.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Tier.php
deleted file mode 100644
index fd61cda545d3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/Tier.php
+++ /dev/null
@@ -1,207 +0,0 @@
-google.cloud.sql.v1beta4.Tier
- */
-class Tier extends \Google\Protobuf\Internal\Message
-{
- /**
- * An identifier for the machine type, for example, `db-custom-1-3840`. For
- * related information, see [Pricing](/sql/pricing).
- *
- * Generated from protobuf field string tier = 1;
- */
- protected $tier = '';
- /**
- * The maximum RAM usage of this tier in bytes.
- *
- * Generated from protobuf field int64 RAM = 2;
- */
- protected $RAM = 0;
- /**
- * This is always `sql#tier`.
- *
- * Generated from protobuf field string kind = 3;
- */
- protected $kind = '';
- /**
- * The maximum disk size of this tier in bytes.
- *
- * Generated from protobuf field int64 Disk_Quota = 4;
- */
- protected $Disk_Quota = 0;
- /**
- * The applicable regions for this tier.
- *
- * Generated from protobuf field repeated string region = 5;
- */
- private $region;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $tier
- * An identifier for the machine type, for example, `db-custom-1-3840`. For
- * related information, see [Pricing](/sql/pricing).
- * @type int|string $RAM
- * The maximum RAM usage of this tier in bytes.
- * @type string $kind
- * This is always `sql#tier`.
- * @type int|string $Disk_Quota
- * The maximum disk size of this tier in bytes.
- * @type array|\Google\Protobuf\Internal\RepeatedField $region
- * The applicable regions for this tier.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlTiers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * An identifier for the machine type, for example, `db-custom-1-3840`. For
- * related information, see [Pricing](/sql/pricing).
- *
- * Generated from protobuf field string tier = 1;
- * @return string
- */
- public function getTier()
- {
- return $this->tier;
- }
-
- /**
- * An identifier for the machine type, for example, `db-custom-1-3840`. For
- * related information, see [Pricing](/sql/pricing).
- *
- * Generated from protobuf field string tier = 1;
- * @param string $var
- * @return $this
- */
- public function setTier($var)
- {
- GPBUtil::checkString($var, True);
- $this->tier = $var;
-
- return $this;
- }
-
- /**
- * The maximum RAM usage of this tier in bytes.
- *
- * Generated from protobuf field int64 RAM = 2;
- * @return int|string
- */
- public function getRAM()
- {
- return $this->RAM;
- }
-
- /**
- * The maximum RAM usage of this tier in bytes.
- *
- * Generated from protobuf field int64 RAM = 2;
- * @param int|string $var
- * @return $this
- */
- public function setRAM($var)
- {
- GPBUtil::checkInt64($var);
- $this->RAM = $var;
-
- return $this;
- }
-
- /**
- * This is always `sql#tier`.
- *
- * Generated from protobuf field string kind = 3;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#tier`.
- *
- * Generated from protobuf field string kind = 3;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The maximum disk size of this tier in bytes.
- *
- * Generated from protobuf field int64 Disk_Quota = 4;
- * @return int|string
- */
- public function getDiskQuota()
- {
- return $this->Disk_Quota;
- }
-
- /**
- * The maximum disk size of this tier in bytes.
- *
- * Generated from protobuf field int64 Disk_Quota = 4;
- * @param int|string $var
- * @return $this
- */
- public function setDiskQuota($var)
- {
- GPBUtil::checkInt64($var);
- $this->Disk_Quota = $var;
-
- return $this;
- }
-
- /**
- * The applicable regions for this tier.
- *
- * Generated from protobuf field repeated string region = 5;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRegion()
- {
- return $this->region;
- }
-
- /**
- * The applicable regions for this tier.
- *
- * Generated from protobuf field repeated string region = 5;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setRegion($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
- $this->region = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/TiersListResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/TiersListResponse.php
deleted file mode 100644
index 91c45234a820..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/TiersListResponse.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.sql.v1beta4.TiersListResponse
- */
-class TiersListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#tiersList`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of tiers.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.Tier items = 2;
- */
- private $items;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#tiersList`.
- * @type array<\Google\Cloud\Sql\V1beta4\Tier>|\Google\Protobuf\Internal\RepeatedField $items
- * List of tiers.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlTiers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#tiersList`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#tiersList`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of tiers.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.Tier items = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * List of tiers.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.Tier items = 2;
- * @param array<\Google\Cloud\Sql\V1beta4\Tier>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\Tier::class);
- $this->items = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/TruncateLogContext.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/TruncateLogContext.php
deleted file mode 100644
index 3268b1d8c1c8..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/TruncateLogContext.php
+++ /dev/null
@@ -1,105 +0,0 @@
-google.cloud.sql.v1beta4.TruncateLogContext
- */
-class TruncateLogContext extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#truncateLogContext`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and
- * `MYSQL_SLOW_TABLE`.
- *
- * Generated from protobuf field string log_type = 2;
- */
- protected $log_type = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#truncateLogContext`.
- * @type string $log_type
- * The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and
- * `MYSQL_SLOW_TABLE`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#truncateLogContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#truncateLogContext`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and
- * `MYSQL_SLOW_TABLE`.
- *
- * Generated from protobuf field string log_type = 2;
- * @return string
- */
- public function getLogType()
- {
- return $this->log_type;
- }
-
- /**
- * The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and
- * `MYSQL_SLOW_TABLE`.
- *
- * Generated from protobuf field string log_type = 2;
- * @param string $var
- * @return $this
- */
- public function setLogType($var)
- {
- GPBUtil::checkString($var, True);
- $this->log_type = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/User.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/User.php
deleted file mode 100644
index 72ff24f41d27..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/User.php
+++ /dev/null
@@ -1,474 +0,0 @@
-google.cloud.sql.v1beta4.User
- */
-class User extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always `sql#user`.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * The password for the user.
- *
- * Generated from protobuf field string password = 2;
- */
- protected $password = '';
- /**
- * This field is deprecated and will be removed from a future version of the
- * API.
- *
- * Generated from protobuf field string etag = 3;
- */
- protected $etag = '';
- /**
- * The name of the user in the Cloud SQL instance. Can be omitted for
- * `update` because it is already specified in the URL.
- *
- * Generated from protobuf field string name = 4;
- */
- protected $name = '';
- /**
- * Optional. The host from which the user can connect. For `insert`
- * operations, host defaults to an empty string. For `update`
- * operations, host is specified as part of the request URL. The host name
- * cannot be updated after insertion. For a MySQL instance, it's required;
- * for a PostgreSQL or SQL Server instance, it's optional.
- *
- * Generated from protobuf field string host = 5 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $host = '';
- /**
- * The name of the Cloud SQL instance. This does not include the project ID.
- * Can be omitted for update because it is already specified on the
- * URL.
- *
- * Generated from protobuf field string instance = 6;
- */
- protected $instance = '';
- /**
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable. Can be omitted for
- * update because it is already specified on the URL.
- *
- * Generated from protobuf field string project = 7;
- */
- protected $project = '';
- /**
- * The user type. It determines the method to authenticate the user during
- * login. The default is the database's built-in user type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.User.SqlUserType type = 8;
- */
- protected $type = 0;
- /**
- * User level password validation policy.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.UserPasswordValidationPolicy password_policy = 12;
- */
- protected $password_policy = null;
- /**
- * Dual password status for the user.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.User.DualPasswordType dual_password_type = 13;
- */
- protected $dual_password_type = null;
- protected $user_details;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always `sql#user`.
- * @type string $password
- * The password for the user.
- * @type string $etag
- * This field is deprecated and will be removed from a future version of the
- * API.
- * @type string $name
- * The name of the user in the Cloud SQL instance. Can be omitted for
- * `update` because it is already specified in the URL.
- * @type string $host
- * Optional. The host from which the user can connect. For `insert`
- * operations, host defaults to an empty string. For `update`
- * operations, host is specified as part of the request URL. The host name
- * cannot be updated after insertion. For a MySQL instance, it's required;
- * for a PostgreSQL or SQL Server instance, it's optional.
- * @type string $instance
- * The name of the Cloud SQL instance. This does not include the project ID.
- * Can be omitted for update because it is already specified on the
- * URL.
- * @type string $project
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable. Can be omitted for
- * update because it is already specified on the URL.
- * @type int $type
- * The user type. It determines the method to authenticate the user during
- * login. The default is the database's built-in user type.
- * @type \Google\Cloud\Sql\V1beta4\SqlServerUserDetails $sqlserver_user_details
- * @type \Google\Cloud\Sql\V1beta4\UserPasswordValidationPolicy $password_policy
- * User level password validation policy.
- * @type int $dual_password_type
- * Dual password status for the user.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always `sql#user`.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always `sql#user`.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * The password for the user.
- *
- * Generated from protobuf field string password = 2;
- * @return string
- */
- public function getPassword()
- {
- return $this->password;
- }
-
- /**
- * The password for the user.
- *
- * Generated from protobuf field string password = 2;
- * @param string $var
- * @return $this
- */
- public function setPassword($var)
- {
- GPBUtil::checkString($var, True);
- $this->password = $var;
-
- return $this;
- }
-
- /**
- * This field is deprecated and will be removed from a future version of the
- * API.
- *
- * Generated from protobuf field string etag = 3;
- * @return string
- */
- public function getEtag()
- {
- return $this->etag;
- }
-
- /**
- * This field is deprecated and will be removed from a future version of the
- * API.
- *
- * Generated from protobuf field string etag = 3;
- * @param string $var
- * @return $this
- */
- public function setEtag($var)
- {
- GPBUtil::checkString($var, True);
- $this->etag = $var;
-
- return $this;
- }
-
- /**
- * The name of the user in the Cloud SQL instance. Can be omitted for
- * `update` because it is already specified in the URL.
- *
- * Generated from protobuf field string name = 4;
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The name of the user in the Cloud SQL instance. Can be omitted for
- * `update` because it is already specified in the URL.
- *
- * Generated from protobuf field string name = 4;
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Optional. The host from which the user can connect. For `insert`
- * operations, host defaults to an empty string. For `update`
- * operations, host is specified as part of the request URL. The host name
- * cannot be updated after insertion. For a MySQL instance, it's required;
- * for a PostgreSQL or SQL Server instance, it's optional.
- *
- * Generated from protobuf field string host = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getHost()
- {
- return $this->host;
- }
-
- /**
- * Optional. The host from which the user can connect. For `insert`
- * operations, host defaults to an empty string. For `update`
- * operations, host is specified as part of the request URL. The host name
- * cannot be updated after insertion. For a MySQL instance, it's required;
- * for a PostgreSQL or SQL Server instance, it's optional.
- *
- * Generated from protobuf field string host = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setHost($var)
- {
- GPBUtil::checkString($var, True);
- $this->host = $var;
-
- return $this;
- }
-
- /**
- * The name of the Cloud SQL instance. This does not include the project ID.
- * Can be omitted for update because it is already specified on the
- * URL.
- *
- * Generated from protobuf field string instance = 6;
- * @return string
- */
- public function getInstance()
- {
- return $this->instance;
- }
-
- /**
- * The name of the Cloud SQL instance. This does not include the project ID.
- * Can be omitted for update because it is already specified on the
- * URL.
- *
- * Generated from protobuf field string instance = 6;
- * @param string $var
- * @return $this
- */
- public function setInstance($var)
- {
- GPBUtil::checkString($var, True);
- $this->instance = $var;
-
- return $this;
- }
-
- /**
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable. Can be omitted for
- * update because it is already specified on the URL.
- *
- * Generated from protobuf field string project = 7;
- * @return string
- */
- public function getProject()
- {
- return $this->project;
- }
-
- /**
- * The project ID of the project containing the Cloud SQL database. The Google
- * apps domain is prefixed if applicable. Can be omitted for
- * update because it is already specified on the URL.
- *
- * Generated from protobuf field string project = 7;
- * @param string $var
- * @return $this
- */
- public function setProject($var)
- {
- GPBUtil::checkString($var, True);
- $this->project = $var;
-
- return $this;
- }
-
- /**
- * The user type. It determines the method to authenticate the user during
- * login. The default is the database's built-in user type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.User.SqlUserType type = 8;
- * @return int
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * The user type. It determines the method to authenticate the user during
- * login. The default is the database's built-in user type.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.User.SqlUserType type = 8;
- * @param int $var
- * @return $this
- */
- public function setType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\User\SqlUserType::class);
- $this->type = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlServerUserDetails sqlserver_user_details = 9;
- * @return \Google\Cloud\Sql\V1beta4\SqlServerUserDetails|null
- */
- public function getSqlserverUserDetails()
- {
- return $this->readOneof(9);
- }
-
- public function hasSqlserverUserDetails()
- {
- return $this->hasOneof(9);
- }
-
- /**
- * Generated from protobuf field .google.cloud.sql.v1beta4.SqlServerUserDetails sqlserver_user_details = 9;
- * @param \Google\Cloud\Sql\V1beta4\SqlServerUserDetails $var
- * @return $this
- */
- public function setSqlserverUserDetails($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\SqlServerUserDetails::class);
- $this->writeOneof(9, $var);
-
- return $this;
- }
-
- /**
- * User level password validation policy.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.UserPasswordValidationPolicy password_policy = 12;
- * @return \Google\Cloud\Sql\V1beta4\UserPasswordValidationPolicy|null
- */
- public function getPasswordPolicy()
- {
- return $this->password_policy;
- }
-
- public function hasPasswordPolicy()
- {
- return isset($this->password_policy);
- }
-
- public function clearPasswordPolicy()
- {
- unset($this->password_policy);
- }
-
- /**
- * User level password validation policy.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.UserPasswordValidationPolicy password_policy = 12;
- * @param \Google\Cloud\Sql\V1beta4\UserPasswordValidationPolicy $var
- * @return $this
- */
- public function setPasswordPolicy($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\UserPasswordValidationPolicy::class);
- $this->password_policy = $var;
-
- return $this;
- }
-
- /**
- * Dual password status for the user.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.User.DualPasswordType dual_password_type = 13;
- * @return int
- */
- public function getDualPasswordType()
- {
- return isset($this->dual_password_type) ? $this->dual_password_type : 0;
- }
-
- public function hasDualPasswordType()
- {
- return isset($this->dual_password_type);
- }
-
- public function clearDualPasswordType()
- {
- unset($this->dual_password_type);
- }
-
- /**
- * Dual password status for the user.
- *
- * Generated from protobuf field optional .google.cloud.sql.v1beta4.User.DualPasswordType dual_password_type = 13;
- * @param int $var
- * @return $this
- */
- public function setDualPasswordType($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1beta4\User\DualPasswordType::class);
- $this->dual_password_type = $var;
-
- return $this;
- }
-
- /**
- * @return string
- */
- public function getUserDetails()
- {
- return $this->whichOneof("user_details");
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/User/DualPasswordType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/User/DualPasswordType.php
deleted file mode 100644
index 4a17aba1b666..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/User/DualPasswordType.php
+++ /dev/null
@@ -1,71 +0,0 @@
-google.cloud.sql.v1beta4.User.DualPasswordType
- */
-class DualPasswordType
-{
- /**
- * The default value.
- *
- * Generated from protobuf enum DUAL_PASSWORD_TYPE_UNSPECIFIED = 0;
- */
- const DUAL_PASSWORD_TYPE_UNSPECIFIED = 0;
- /**
- * Do not update the user's dual password status.
- *
- * Generated from protobuf enum NO_MODIFY_DUAL_PASSWORD = 1;
- */
- const NO_MODIFY_DUAL_PASSWORD = 1;
- /**
- * No dual password usable for connecting using this user.
- *
- * Generated from protobuf enum NO_DUAL_PASSWORD = 2;
- */
- const NO_DUAL_PASSWORD = 2;
- /**
- * Dual password usable for connecting using this user.
- *
- * Generated from protobuf enum DUAL_PASSWORD = 3;
- */
- const DUAL_PASSWORD = 3;
-
- private static $valueToName = [
- self::DUAL_PASSWORD_TYPE_UNSPECIFIED => 'DUAL_PASSWORD_TYPE_UNSPECIFIED',
- self::NO_MODIFY_DUAL_PASSWORD => 'NO_MODIFY_DUAL_PASSWORD',
- self::NO_DUAL_PASSWORD => 'NO_DUAL_PASSWORD',
- self::DUAL_PASSWORD => 'DUAL_PASSWORD',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(DualPasswordType::class, \Google\Cloud\Sql\V1beta4\User_DualPasswordType::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/User/SqlUserType.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/User/SqlUserType.php
deleted file mode 100644
index b2077418b810..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/User/SqlUserType.php
+++ /dev/null
@@ -1,85 +0,0 @@
-google.cloud.sql.v1beta4.User.SqlUserType
- */
-class SqlUserType
-{
- /**
- * The database's built-in user type.
- *
- * Generated from protobuf enum BUILT_IN = 0;
- */
- const BUILT_IN = 0;
- /**
- * Cloud IAM user.
- *
- * Generated from protobuf enum CLOUD_IAM_USER = 1;
- */
- const CLOUD_IAM_USER = 1;
- /**
- * Cloud IAM service account.
- *
- * Generated from protobuf enum CLOUD_IAM_SERVICE_ACCOUNT = 2;
- */
- const CLOUD_IAM_SERVICE_ACCOUNT = 2;
- /**
- * Cloud IAM group non-login user.
- *
- * Generated from protobuf enum CLOUD_IAM_GROUP = 3;
- */
- const CLOUD_IAM_GROUP = 3;
- /**
- * Cloud IAM group login user.
- *
- * Generated from protobuf enum CLOUD_IAM_GROUP_USER = 4;
- */
- const CLOUD_IAM_GROUP_USER = 4;
- /**
- * Cloud IAM group service account.
- *
- * Generated from protobuf enum CLOUD_IAM_GROUP_SERVICE_ACCOUNT = 5;
- */
- const CLOUD_IAM_GROUP_SERVICE_ACCOUNT = 5;
-
- private static $valueToName = [
- self::BUILT_IN => 'BUILT_IN',
- self::CLOUD_IAM_USER => 'CLOUD_IAM_USER',
- self::CLOUD_IAM_SERVICE_ACCOUNT => 'CLOUD_IAM_SERVICE_ACCOUNT',
- self::CLOUD_IAM_GROUP => 'CLOUD_IAM_GROUP',
- self::CLOUD_IAM_GROUP_USER => 'CLOUD_IAM_GROUP_USER',
- self::CLOUD_IAM_GROUP_SERVICE_ACCOUNT => 'CLOUD_IAM_GROUP_SERVICE_ACCOUNT',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-// Adding a class alias for backwards compatibility with the previous class name.
-class_alias(SqlUserType::class, \Google\Cloud\Sql\V1beta4\User_SqlUserType::class);
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/UserPasswordValidationPolicy.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/UserPasswordValidationPolicy.php
deleted file mode 100644
index 345fa09f5272..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/UserPasswordValidationPolicy.php
+++ /dev/null
@@ -1,227 +0,0 @@
-google.cloud.sql.v1beta4.UserPasswordValidationPolicy
- */
-class UserPasswordValidationPolicy extends \Google\Protobuf\Internal\Message
-{
- /**
- * Number of failed login attempts allowed before user get locked.
- *
- * Generated from protobuf field int32 allowed_failed_attempts = 1;
- */
- protected $allowed_failed_attempts = 0;
- /**
- * Expiration duration after password is updated.
- *
- * Generated from protobuf field .google.protobuf.Duration password_expiration_duration = 2;
- */
- protected $password_expiration_duration = null;
- /**
- * If true, failed login attempts check will be enabled.
- *
- * Generated from protobuf field bool enable_failed_attempts_check = 3;
- */
- protected $enable_failed_attempts_check = false;
- /**
- * Output only. Read-only password status.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.PasswordStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- */
- protected $status = null;
- /**
- * If true, the user must specify the current password before changing the
- * password. This flag is supported only for MySQL.
- *
- * Generated from protobuf field bool enable_password_verification = 5;
- */
- protected $enable_password_verification = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $allowed_failed_attempts
- * Number of failed login attempts allowed before user get locked.
- * @type \Google\Protobuf\Duration $password_expiration_duration
- * Expiration duration after password is updated.
- * @type bool $enable_failed_attempts_check
- * If true, failed login attempts check will be enabled.
- * @type \Google\Cloud\Sql\V1beta4\PasswordStatus $status
- * Output only. Read-only password status.
- * @type bool $enable_password_verification
- * If true, the user must specify the current password before changing the
- * password. This flag is supported only for MySQL.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Number of failed login attempts allowed before user get locked.
- *
- * Generated from protobuf field int32 allowed_failed_attempts = 1;
- * @return int
- */
- public function getAllowedFailedAttempts()
- {
- return $this->allowed_failed_attempts;
- }
-
- /**
- * Number of failed login attempts allowed before user get locked.
- *
- * Generated from protobuf field int32 allowed_failed_attempts = 1;
- * @param int $var
- * @return $this
- */
- public function setAllowedFailedAttempts($var)
- {
- GPBUtil::checkInt32($var);
- $this->allowed_failed_attempts = $var;
-
- return $this;
- }
-
- /**
- * Expiration duration after password is updated.
- *
- * Generated from protobuf field .google.protobuf.Duration password_expiration_duration = 2;
- * @return \Google\Protobuf\Duration|null
- */
- public function getPasswordExpirationDuration()
- {
- return $this->password_expiration_duration;
- }
-
- public function hasPasswordExpirationDuration()
- {
- return isset($this->password_expiration_duration);
- }
-
- public function clearPasswordExpirationDuration()
- {
- unset($this->password_expiration_duration);
- }
-
- /**
- * Expiration duration after password is updated.
- *
- * Generated from protobuf field .google.protobuf.Duration password_expiration_duration = 2;
- * @param \Google\Protobuf\Duration $var
- * @return $this
- */
- public function setPasswordExpirationDuration($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
- $this->password_expiration_duration = $var;
-
- return $this;
- }
-
- /**
- * If true, failed login attempts check will be enabled.
- *
- * Generated from protobuf field bool enable_failed_attempts_check = 3;
- * @return bool
- */
- public function getEnableFailedAttemptsCheck()
- {
- return $this->enable_failed_attempts_check;
- }
-
- /**
- * If true, failed login attempts check will be enabled.
- *
- * Generated from protobuf field bool enable_failed_attempts_check = 3;
- * @param bool $var
- * @return $this
- */
- public function setEnableFailedAttemptsCheck($var)
- {
- GPBUtil::checkBool($var);
- $this->enable_failed_attempts_check = $var;
-
- return $this;
- }
-
- /**
- * Output only. Read-only password status.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.PasswordStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @return \Google\Cloud\Sql\V1beta4\PasswordStatus|null
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- public function hasStatus()
- {
- return isset($this->status);
- }
-
- public function clearStatus()
- {
- unset($this->status);
- }
-
- /**
- * Output only. Read-only password status.
- *
- * Generated from protobuf field .google.cloud.sql.v1beta4.PasswordStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- * @param \Google\Cloud\Sql\V1beta4\PasswordStatus $var
- * @return $this
- */
- public function setStatus($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1beta4\PasswordStatus::class);
- $this->status = $var;
-
- return $this;
- }
-
- /**
- * If true, the user must specify the current password before changing the
- * password. This flag is supported only for MySQL.
- *
- * Generated from protobuf field bool enable_password_verification = 5;
- * @return bool
- */
- public function getEnablePasswordVerification()
- {
- return $this->enable_password_verification;
- }
-
- /**
- * If true, the user must specify the current password before changing the
- * password. This flag is supported only for MySQL.
- *
- * Generated from protobuf field bool enable_password_verification = 5;
- * @param bool $var
- * @return $this
- */
- public function setEnablePasswordVerification($var)
- {
- GPBUtil::checkBool($var);
- $this->enable_password_verification = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/UsersListResponse.php b/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/UsersListResponse.php
deleted file mode 100644
index 35e948c4481e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/proto/src/Google/Cloud/Sql/V1beta4/UsersListResponse.php
+++ /dev/null
@@ -1,140 +0,0 @@
-google.cloud.sql.v1beta4.UsersListResponse
- */
-class UsersListResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * This is always sql#usersList.
- *
- * Generated from protobuf field string kind = 1;
- */
- protected $kind = '';
- /**
- * List of user resources in the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.User items = 2;
- */
- private $items;
- /**
- * Unused.
- *
- * Generated from protobuf field string next_page_token = 3 [deprecated = true];
- * @deprecated
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * This is always sql#usersList.
- * @type array<\Google\Cloud\Sql\V1beta4\User>|\Google\Protobuf\Internal\RepeatedField $items
- * List of user resources in the instance.
- * @type string $next_page_token
- * Unused.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlUsers::initOnce();
- parent::__construct($data);
- }
-
- /**
- * This is always sql#usersList.
- *
- * Generated from protobuf field string kind = 1;
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * This is always sql#usersList.
- *
- * Generated from protobuf field string kind = 1;
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
-
- return $this;
- }
-
- /**
- * List of user resources in the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.User items = 2;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getItems()
- {
- return $this->items;
- }
-
- /**
- * List of user resources in the instance.
- *
- * Generated from protobuf field repeated .google.cloud.sql.v1beta4.User items = 2;
- * @param array<\Google\Cloud\Sql\V1beta4\User>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setItems($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\User::class);
- $this->items = $arr;
-
- return $this;
- }
-
- /**
- * Unused.
- *
- * Generated from protobuf field string next_page_token = 3 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getNextPageToken()
- {
- @trigger_error('next_page_token is deprecated.', E_USER_DEPRECATED);
- return $this->next_page_token;
- }
-
- /**
- * Unused.
- *
- * Generated from protobuf field string next_page_token = 3 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setNextPageToken($var)
- {
- @trigger_error('next_page_token is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlBackupRunsServiceClient/delete.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlBackupRunsServiceClient/delete.php
deleted file mode 100644
index 2e5212342ebd..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlBackupRunsServiceClient/delete.php
+++ /dev/null
@@ -1,53 +0,0 @@
-delete();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlBackupRunsService_Delete_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlBackupRunsServiceClient/get.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlBackupRunsServiceClient/get.php
deleted file mode 100644
index e11f11527db0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlBackupRunsServiceClient/get.php
+++ /dev/null
@@ -1,53 +0,0 @@
-get();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlBackupRunsService_Get_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlBackupRunsServiceClient/insert.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlBackupRunsServiceClient/insert.php
deleted file mode 100644
index 5b3749daa296..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlBackupRunsServiceClient/insert.php
+++ /dev/null
@@ -1,53 +0,0 @@
-insert();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlBackupRunsService_Insert_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlBackupRunsServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlBackupRunsServiceClient/list.php
deleted file mode 100644
index b94f03d7a1e6..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlBackupRunsServiceClient/list.php
+++ /dev/null
@@ -1,55 +0,0 @@
-list();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlBackupRunsService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlConnectServiceClient/generate_ephemeral_cert.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlConnectServiceClient/generate_ephemeral_cert.php
deleted file mode 100644
index 1c2b5ffea8e2..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlConnectServiceClient/generate_ephemeral_cert.php
+++ /dev/null
@@ -1,56 +0,0 @@
-generateEphemeralCert();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlConnectService_GenerateEphemeralCert_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlConnectServiceClient/get_connect_settings.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlConnectServiceClient/get_connect_settings.php
deleted file mode 100644
index a295b9054e2f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlConnectServiceClient/get_connect_settings.php
+++ /dev/null
@@ -1,53 +0,0 @@
-getConnectSettings();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlConnectService_GetConnectSettings_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/delete.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/delete.php
deleted file mode 100644
index 57b5432d0eb1..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/delete.php
+++ /dev/null
@@ -1,53 +0,0 @@
-delete();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlDatabasesService_Delete_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/get.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/get.php
deleted file mode 100644
index 3dcd347cf1fb..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/get.php
+++ /dev/null
@@ -1,54 +0,0 @@
-get();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlDatabasesService_Get_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/insert.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/insert.php
deleted file mode 100644
index 5dbbb08f7459..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/insert.php
+++ /dev/null
@@ -1,56 +0,0 @@
-insert();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlDatabasesService_Insert_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/list.php
deleted file mode 100644
index cd77fa332702..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/list.php
+++ /dev/null
@@ -1,53 +0,0 @@
-list();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlDatabasesService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/patch.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/patch.php
deleted file mode 100644
index 8380f879550e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/patch.php
+++ /dev/null
@@ -1,54 +0,0 @@
-patch();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlDatabasesService_Patch_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/update.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/update.php
deleted file mode 100644
index b4ec40eb1190..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlDatabasesServiceClient/update.php
+++ /dev/null
@@ -1,54 +0,0 @@
-update();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlDatabasesService_Update_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlFlagsServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlFlagsServiceClient/list.php
deleted file mode 100644
index 5cf2d1e4acc3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlFlagsServiceClient/list.php
+++ /dev/null
@@ -1,53 +0,0 @@
-list();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlFlagsService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/acquire_ssrs_lease.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/acquire_ssrs_lease.php
deleted file mode 100644
index e64643a2bbdb..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/acquire_ssrs_lease.php
+++ /dev/null
@@ -1,71 +0,0 @@
-acquireSsrsLease($instance, $project);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $instance = '[INSTANCE]';
- $project = '[PROJECT]';
-
- acquire_ssrs_lease_sample($instance, $project);
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_AcquireSsrsLease_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/add_server_ca.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/add_server_ca.php
deleted file mode 100644
index 9a3039836b57..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/add_server_ca.php
+++ /dev/null
@@ -1,57 +0,0 @@
-addServerCa();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_AddServerCa_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/clone.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/clone.php
deleted file mode 100644
index 4f83000eea53..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/clone.php
+++ /dev/null
@@ -1,54 +0,0 @@
-clone();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_Clone_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/create_ephemeral.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/create_ephemeral.php
deleted file mode 100644
index ffae4d7dabfa..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/create_ephemeral.php
+++ /dev/null
@@ -1,56 +0,0 @@
-createEphemeral();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_CreateEphemeral_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/delete.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/delete.php
deleted file mode 100644
index 849f8e2d0bcf..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/delete.php
+++ /dev/null
@@ -1,53 +0,0 @@
-delete();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_Delete_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/demote.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/demote.php
deleted file mode 100644
index c56c88bbd27f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/demote.php
+++ /dev/null
@@ -1,68 +0,0 @@
-demote($instance, $project);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $instance = '[INSTANCE]';
- $project = '[PROJECT]';
-
- demote_sample($instance, $project);
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_Demote_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/demote_master.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/demote_master.php
deleted file mode 100644
index 41dcbcc340ca..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/demote_master.php
+++ /dev/null
@@ -1,54 +0,0 @@
-demoteMaster();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_DemoteMaster_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/export.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/export.php
deleted file mode 100644
index f7d5dbb49076..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/export.php
+++ /dev/null
@@ -1,54 +0,0 @@
-export();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_Export_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/failover.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/failover.php
deleted file mode 100644
index d3be32f52d1f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/failover.php
+++ /dev/null
@@ -1,60 +0,0 @@
-failover();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_Failover_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/get.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/get.php
deleted file mode 100644
index 9844f3589bc9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/get.php
+++ /dev/null
@@ -1,53 +0,0 @@
-get();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_Get_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/get_disk_shrink_config.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/get_disk_shrink_config.php
deleted file mode 100644
index fad20e23ca0c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/get_disk_shrink_config.php
+++ /dev/null
@@ -1,53 +0,0 @@
-getDiskShrinkConfig();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_GetDiskShrinkConfig_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/get_latest_recovery_time.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/get_latest_recovery_time.php
deleted file mode 100644
index ed4f1f72656e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/get_latest_recovery_time.php
+++ /dev/null
@@ -1,53 +0,0 @@
-getLatestRecoveryTime();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_GetLatestRecoveryTime_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/import.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/import.php
deleted file mode 100644
index 406d8a77bfb1..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/import.php
+++ /dev/null
@@ -1,54 +0,0 @@
-import();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_Import_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/insert.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/insert.php
deleted file mode 100644
index 2af1fd6f5ec3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/insert.php
+++ /dev/null
@@ -1,53 +0,0 @@
-insert();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_Insert_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/list.php
deleted file mode 100644
index acf83e388587..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/list.php
+++ /dev/null
@@ -1,53 +0,0 @@
-list();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/list_server_cas.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/list_server_cas.php
deleted file mode 100644
index 4f183fa5eab3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/list_server_cas.php
+++ /dev/null
@@ -1,57 +0,0 @@
-listServerCas();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_ListServerCas_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/patch.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/patch.php
deleted file mode 100644
index f6d08b3bcbf0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/patch.php
+++ /dev/null
@@ -1,54 +0,0 @@
-patch();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_Patch_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/perform_disk_shrink.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/perform_disk_shrink.php
deleted file mode 100644
index 29aa3b769237..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/perform_disk_shrink.php
+++ /dev/null
@@ -1,53 +0,0 @@
-performDiskShrink();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_PerformDiskShrink_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/promote_replica.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/promote_replica.php
deleted file mode 100644
index b4d9767c9d40..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/promote_replica.php
+++ /dev/null
@@ -1,54 +0,0 @@
-promoteReplica();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_PromoteReplica_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/reencrypt.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/reencrypt.php
deleted file mode 100644
index d19a77052e94..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/reencrypt.php
+++ /dev/null
@@ -1,53 +0,0 @@
-reencrypt();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_Reencrypt_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/release_ssrs_lease.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/release_ssrs_lease.php
deleted file mode 100644
index 6b4fcf66f3cc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/release_ssrs_lease.php
+++ /dev/null
@@ -1,71 +0,0 @@
-releaseSsrsLease($instance, $project);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $instance = '[INSTANCE]';
- $project = '[PROJECT]';
-
- release_ssrs_lease_sample($instance, $project);
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_ReleaseSsrsLease_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/reschedule_maintenance.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/reschedule_maintenance.php
deleted file mode 100644
index ef825e8f3c83..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/reschedule_maintenance.php
+++ /dev/null
@@ -1,53 +0,0 @@
-rescheduleMaintenance();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_RescheduleMaintenance_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/reset_replica_size.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/reset_replica_size.php
deleted file mode 100644
index 65d903b4a013..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/reset_replica_size.php
+++ /dev/null
@@ -1,53 +0,0 @@
-resetReplicaSize();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_ResetReplicaSize_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/reset_ssl_config.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/reset_ssl_config.php
deleted file mode 100644
index e296c586d8ea..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/reset_ssl_config.php
+++ /dev/null
@@ -1,54 +0,0 @@
-resetSslConfig();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_ResetSslConfig_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/restart.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/restart.php
deleted file mode 100644
index 291f100d32ac..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/restart.php
+++ /dev/null
@@ -1,53 +0,0 @@
-restart();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_Restart_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/restore_backup.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/restore_backup.php
deleted file mode 100644
index 386e4409951a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/restore_backup.php
+++ /dev/null
@@ -1,54 +0,0 @@
-restoreBackup();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_RestoreBackup_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/rotate_server_ca.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/rotate_server_ca.php
deleted file mode 100644
index 8728bd4ac67a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/rotate_server_ca.php
+++ /dev/null
@@ -1,54 +0,0 @@
-rotateServerCa();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_RotateServerCa_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/start_external_sync.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/start_external_sync.php
deleted file mode 100644
index e3fe00ebedb7..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/start_external_sync.php
+++ /dev/null
@@ -1,53 +0,0 @@
-startExternalSync();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_StartExternalSync_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/start_replica.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/start_replica.php
deleted file mode 100644
index a7c500fbfc84..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/start_replica.php
+++ /dev/null
@@ -1,53 +0,0 @@
-startReplica();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_StartReplica_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/stop_replica.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/stop_replica.php
deleted file mode 100644
index f3676211a032..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/stop_replica.php
+++ /dev/null
@@ -1,53 +0,0 @@
-stopReplica();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_StopReplica_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/switchover.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/switchover.php
deleted file mode 100644
index c5ee94c57b07..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/switchover.php
+++ /dev/null
@@ -1,53 +0,0 @@
-switchover();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_Switchover_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/truncate_log.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/truncate_log.php
deleted file mode 100644
index dc3c16deaa3f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/truncate_log.php
+++ /dev/null
@@ -1,54 +0,0 @@
-truncateLog();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_TruncateLog_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/update.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/update.php
deleted file mode 100644
index 483e7ff00cb3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/update.php
+++ /dev/null
@@ -1,54 +0,0 @@
-update();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_Update_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/verify_external_sync_settings.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/verify_external_sync_settings.php
deleted file mode 100644
index 3e5d02ddc848..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlInstancesServiceClient/verify_external_sync_settings.php
+++ /dev/null
@@ -1,53 +0,0 @@
-verifyExternalSyncSettings();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlInstancesService_VerifyExternalSyncSettings_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlOperationsServiceClient/cancel.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlOperationsServiceClient/cancel.php
deleted file mode 100644
index 00ff366ef854..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlOperationsServiceClient/cancel.php
+++ /dev/null
@@ -1,51 +0,0 @@
-cancel();
- printf('Call completed successfully.' . PHP_EOL);
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlOperationsService_Cancel_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlOperationsServiceClient/get.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlOperationsServiceClient/get.php
deleted file mode 100644
index 194a939c4f5c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlOperationsServiceClient/get.php
+++ /dev/null
@@ -1,53 +0,0 @@
-get();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlOperationsService_Get_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlOperationsServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlOperationsServiceClient/list.php
deleted file mode 100644
index 1028c66ebf33..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlOperationsServiceClient/list.php
+++ /dev/null
@@ -1,54 +0,0 @@
-list();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlOperationsService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlSslCertsServiceClient/delete.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlSslCertsServiceClient/delete.php
deleted file mode 100644
index e7addc7b18de..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlSslCertsServiceClient/delete.php
+++ /dev/null
@@ -1,54 +0,0 @@
-delete();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlSslCertsService_Delete_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlSslCertsServiceClient/get.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlSslCertsServiceClient/get.php
deleted file mode 100644
index a49a02f6d945..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlSslCertsServiceClient/get.php
+++ /dev/null
@@ -1,55 +0,0 @@
-get();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlSslCertsService_Get_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlSslCertsServiceClient/insert.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlSslCertsServiceClient/insert.php
deleted file mode 100644
index 768572c13b2b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlSslCertsServiceClient/insert.php
+++ /dev/null
@@ -1,55 +0,0 @@
-insert();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlSslCertsService_Insert_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlSslCertsServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlSslCertsServiceClient/list.php
deleted file mode 100644
index 00bd64c70526..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlSslCertsServiceClient/list.php
+++ /dev/null
@@ -1,53 +0,0 @@
-list();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlSslCertsService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlTiersServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlTiersServiceClient/list.php
deleted file mode 100644
index 5a1aa92945a1..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlTiersServiceClient/list.php
+++ /dev/null
@@ -1,54 +0,0 @@
-list();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlTiersService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/delete.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/delete.php
deleted file mode 100644
index 0d0f002c9535..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/delete.php
+++ /dev/null
@@ -1,53 +0,0 @@
-delete();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlUsersService_Delete_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/get.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/get.php
deleted file mode 100644
index 13fbee8d3d19..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/get.php
+++ /dev/null
@@ -1,53 +0,0 @@
-get();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlUsersService_Get_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/insert.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/insert.php
deleted file mode 100644
index 5a0e87f6eb23..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/insert.php
+++ /dev/null
@@ -1,53 +0,0 @@
-insert();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlUsersService_Insert_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/list.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/list.php
deleted file mode 100644
index 3d17ae491e9d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/list.php
+++ /dev/null
@@ -1,53 +0,0 @@
-list();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlUsersService_List_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/update.php b/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/update.php
deleted file mode 100644
index 9aa8e9626f09..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/samples/V1beta4/SqlUsersServiceClient/update.php
+++ /dev/null
@@ -1,53 +0,0 @@
-update();
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-// [END sqladmin_v1beta4_generated_SqlUsersService_Update_sync]
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlBackupRunsServiceGapicClient.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlBackupRunsServiceGapicClient.php
deleted file mode 100644
index 6f33d53ae7aa..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlBackupRunsServiceGapicClient.php
+++ /dev/null
@@ -1,414 +0,0 @@
-delete();
- * } finally {
- * $sqlBackupRunsServiceClient->close();
- * }
- * ```
- *
- * @experimental
- *
- * @deprecated This class will be removed in the next major version update.
- */
-class SqlBackupRunsServiceGapicClient
-{
- use GapicClientTrait;
-
- /** The name of the service. */
- const SERVICE_NAME = 'google.cloud.sql.v1beta4.SqlBackupRunsService';
-
- /**
- * The default address of the service.
- *
- * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
- */
- const SERVICE_ADDRESS = 'sqladmin.googleapis.com';
-
- /** The address template of the service. */
- private const SERVICE_ADDRESS_TEMPLATE = 'sqladmin.UNIVERSE_DOMAIN';
-
- /** The default port of the service. */
- const DEFAULT_SERVICE_PORT = 443;
-
- /** The name of the code generator, to be included in the agent header. */
- const CODEGEN_NAME = 'gapic';
-
- /** The default scopes required by the service. */
- public static $serviceScopes = [
- 'https://www.googleapis.com/auth/cloud-platform',
- 'https://www.googleapis.com/auth/sqlservice.admin',
- ];
-
- private static function getClientDefaults()
- {
- return [
- 'serviceName' => self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_backup_runs_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_backup_runs_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_backup_runs_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_backup_runs_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- *
- * @experimental
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /**
- * Deletes the backup taken by a backup run.
- *
- * Sample code:
- * ```
- * $sqlBackupRunsServiceClient = new SqlBackupRunsServiceClient();
- * try {
- * $response = $sqlBackupRunsServiceClient->delete();
- * } finally {
- * $sqlBackupRunsServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type int $id
- * The ID of the backup run to delete. To find a backup run ID, use the
- * [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/backupRuns/list)
- * method.
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function delete(array $optionalArgs = [])
- {
- $request = new SqlBackupRunsDeleteRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['id'])) {
- $request->setId($optionalArgs['id']);
- $requestParamHeaders['id'] = $optionalArgs['id'];
- }
-
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Delete', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Retrieves a resource containing information about a backup run.
- *
- * Sample code:
- * ```
- * $sqlBackupRunsServiceClient = new SqlBackupRunsServiceClient();
- * try {
- * $response = $sqlBackupRunsServiceClient->get();
- * } finally {
- * $sqlBackupRunsServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type int $id
- * The ID of this backup run.
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\BackupRun
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function get(array $optionalArgs = [])
- {
- $request = new SqlBackupRunsGetRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['id'])) {
- $request->setId($optionalArgs['id']);
- $requestParamHeaders['id'] = $optionalArgs['id'];
- }
-
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Get', BackupRun::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Creates a new backup run on demand.
- *
- * Sample code:
- * ```
- * $sqlBackupRunsServiceClient = new SqlBackupRunsServiceClient();
- * try {
- * $response = $sqlBackupRunsServiceClient->insert();
- * } finally {
- * $sqlBackupRunsServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type BackupRun $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function insert(array $optionalArgs = [])
- {
- $request = new SqlBackupRunsInsertRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Insert', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Lists all backup runs associated with the project or a given instance and
- * configuration in the reverse chronological order of the backup initiation
- * time.
- *
- * Sample code:
- * ```
- * $sqlBackupRunsServiceClient = new SqlBackupRunsServiceClient();
- * try {
- * $response = $sqlBackupRunsServiceClient->list();
- * } finally {
- * $sqlBackupRunsServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID, or "-" for all instances. This does not include
- * the project ID.
- * @type int $maxResults
- * Maximum number of backup runs per response.
- * @type string $pageToken
- * A previously-returned page token representing part of the larger set of
- * results to view.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\BackupRunsListResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function list(array $optionalArgs = [])
- {
- $request = new SqlBackupRunsListRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['maxResults'])) {
- $request->setMaxResults($optionalArgs['maxResults']);
- }
-
- if (isset($optionalArgs['pageToken'])) {
- $request->setPageToken($optionalArgs['pageToken']);
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('List', BackupRunsListResponse::class, $optionalArgs, $request)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlConnectServiceGapicClient.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlConnectServiceGapicClient.php
deleted file mode 100644
index 6075a9b44e60..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlConnectServiceGapicClient.php
+++ /dev/null
@@ -1,309 +0,0 @@
-generateEphemeralCert();
- * } finally {
- * $sqlConnectServiceClient->close();
- * }
- * ```
- *
- * @experimental
- *
- * @deprecated This class will be removed in the next major version update.
- */
-class SqlConnectServiceGapicClient
-{
- use GapicClientTrait;
-
- /** The name of the service. */
- const SERVICE_NAME = 'google.cloud.sql.v1beta4.SqlConnectService';
-
- /**
- * The default address of the service.
- *
- * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
- */
- const SERVICE_ADDRESS = 'sqladmin.googleapis.com';
-
- /** The address template of the service. */
- private const SERVICE_ADDRESS_TEMPLATE = 'sqladmin.UNIVERSE_DOMAIN';
-
- /** The default port of the service. */
- const DEFAULT_SERVICE_PORT = 443;
-
- /** The name of the code generator, to be included in the agent header. */
- const CODEGEN_NAME = 'gapic';
-
- /** The default scopes required by the service. */
- public static $serviceScopes = [
- 'https://www.googleapis.com/auth/cloud-platform',
- 'https://www.googleapis.com/auth/sqlservice.admin',
- ];
-
- private static function getClientDefaults()
- {
- return [
- 'serviceName' => self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_connect_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_connect_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_connect_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_connect_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- *
- * @experimental
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /**
- * Generates a short-lived X509 certificate containing the provided public key
- * and signed by a private key specific to the target instance. Users may use
- * the certificate to authenticate as themselves when connecting to the
- * database.
- *
- * Sample code:
- * ```
- * $sqlConnectServiceClient = new SqlConnectServiceClient();
- * try {
- * $response = $sqlConnectServiceClient->generateEphemeralCert();
- * } finally {
- * $sqlConnectServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type string $publicKey
- * PEM encoded public key to include in the signed certificate.
- * @type string $accessToken
- * Optional. Access token to include in the signed certificate.
- * @type Timestamp $readTime
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- * @type Duration $validDuration
- * Optional. If set, it will contain the cert valid duration.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\GenerateEphemeralCertResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function generateEphemeralCert(array $optionalArgs = [])
- {
- $request = new GenerateEphemeralCertRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['publicKey'])) {
- $request->setPublicKey($optionalArgs['publicKey']);
- }
-
- if (isset($optionalArgs['accessToken'])) {
- $request->setAccessToken($optionalArgs['accessToken']);
- }
-
- if (isset($optionalArgs['readTime'])) {
- $request->setReadTime($optionalArgs['readTime']);
- }
-
- if (isset($optionalArgs['validDuration'])) {
- $request->setValidDuration($optionalArgs['validDuration']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('GenerateEphemeralCert', GenerateEphemeralCertResponse::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Retrieves connect settings about a Cloud SQL instance.
- *
- * Sample code:
- * ```
- * $sqlConnectServiceClient = new SqlConnectServiceClient();
- * try {
- * $response = $sqlConnectServiceClient->getConnectSettings();
- * } finally {
- * $sqlConnectServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type Timestamp $readTime
- * Optional. Optional snapshot read timestamp to trade freshness for
- * performance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\ConnectSettings
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function getConnectSettings(array $optionalArgs = [])
- {
- $request = new GetConnectSettingsRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['readTime'])) {
- $request->setReadTime($optionalArgs['readTime']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('GetConnectSettings', ConnectSettings::class, $optionalArgs, $request)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlDatabasesServiceGapicClient.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlDatabasesServiceGapicClient.php
deleted file mode 100644
index 74ca3ab2514f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlDatabasesServiceGapicClient.php
+++ /dev/null
@@ -1,529 +0,0 @@
-delete();
- * } finally {
- * $sqlDatabasesServiceClient->close();
- * }
- * ```
- *
- * @experimental
- *
- * @deprecated This class will be removed in the next major version update.
- */
-class SqlDatabasesServiceGapicClient
-{
- use GapicClientTrait;
-
- /** The name of the service. */
- const SERVICE_NAME = 'google.cloud.sql.v1beta4.SqlDatabasesService';
-
- /**
- * The default address of the service.
- *
- * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
- */
- const SERVICE_ADDRESS = 'sqladmin.googleapis.com';
-
- /** The address template of the service. */
- private const SERVICE_ADDRESS_TEMPLATE = 'sqladmin.UNIVERSE_DOMAIN';
-
- /** The default port of the service. */
- const DEFAULT_SERVICE_PORT = 443;
-
- /** The name of the code generator, to be included in the agent header. */
- const CODEGEN_NAME = 'gapic';
-
- /** The default scopes required by the service. */
- public static $serviceScopes = [
- 'https://www.googleapis.com/auth/cloud-platform',
- 'https://www.googleapis.com/auth/sqlservice.admin',
- ];
-
- private static function getClientDefaults()
- {
- return [
- 'serviceName' => self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_databases_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_databases_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_databases_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_databases_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- *
- * @experimental
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /**
- * Deletes a database from a Cloud SQL instance.
- *
- * Sample code:
- * ```
- * $sqlDatabasesServiceClient = new SqlDatabasesServiceClient();
- * try {
- * $response = $sqlDatabasesServiceClient->delete();
- * } finally {
- * $sqlDatabasesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $database
- * Name of the database to be deleted in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function delete(array $optionalArgs = [])
- {
- $request = new SqlDatabasesDeleteRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['database'])) {
- $request->setDatabase($optionalArgs['database']);
- $requestParamHeaders['database'] = $optionalArgs['database'];
- }
-
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Delete', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Retrieves a resource containing information about a database inside a Cloud
- * SQL instance.
- *
- * Sample code:
- * ```
- * $sqlDatabasesServiceClient = new SqlDatabasesServiceClient();
- * try {
- * $response = $sqlDatabasesServiceClient->get();
- * } finally {
- * $sqlDatabasesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $database
- * Name of the database in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Database
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function get(array $optionalArgs = [])
- {
- $request = new SqlDatabasesGetRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['database'])) {
- $request->setDatabase($optionalArgs['database']);
- $requestParamHeaders['database'] = $optionalArgs['database'];
- }
-
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Get', Database::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Inserts a resource containing information about a database inside a Cloud
- * SQL instance.
- *
- * **Note:** You can't modify the default character set and collation.
- *
- * Sample code:
- * ```
- * $sqlDatabasesServiceClient = new SqlDatabasesServiceClient();
- * try {
- * $response = $sqlDatabasesServiceClient->insert();
- * } finally {
- * $sqlDatabasesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type Database $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function insert(array $optionalArgs = [])
- {
- $request = new SqlDatabasesInsertRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Insert', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Lists databases in the specified Cloud SQL instance.
- *
- * Sample code:
- * ```
- * $sqlDatabasesServiceClient = new SqlDatabasesServiceClient();
- * try {
- * $response = $sqlDatabasesServiceClient->list();
- * } finally {
- * $sqlDatabasesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\DatabasesListResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function list(array $optionalArgs = [])
- {
- $request = new SqlDatabasesListRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('List', DatabasesListResponse::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Partially updates a resource containing information about a database inside
- * a Cloud SQL instance. This method supports patch semantics.
- *
- * Sample code:
- * ```
- * $sqlDatabasesServiceClient = new SqlDatabasesServiceClient();
- * try {
- * $response = $sqlDatabasesServiceClient->patch();
- * } finally {
- * $sqlDatabasesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $database
- * Name of the database to be updated in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type Database $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function patch(array $optionalArgs = [])
- {
- $request = new SqlDatabasesUpdateRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['database'])) {
- $request->setDatabase($optionalArgs['database']);
- $requestParamHeaders['database'] = $optionalArgs['database'];
- }
-
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Patch', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Updates a resource containing information about a database inside a Cloud
- * SQL instance.
- *
- * Sample code:
- * ```
- * $sqlDatabasesServiceClient = new SqlDatabasesServiceClient();
- * try {
- * $response = $sqlDatabasesServiceClient->update();
- * } finally {
- * $sqlDatabasesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $database
- * Name of the database to be updated in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type Database $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function update(array $optionalArgs = [])
- {
- $request = new SqlDatabasesUpdateRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['database'])) {
- $request->setDatabase($optionalArgs['database']);
- $requestParamHeaders['database'] = $optionalArgs['database'];
- }
-
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Update', Operation::class, $optionalArgs, $request)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlFlagsServiceGapicClient.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlFlagsServiceGapicClient.php
deleted file mode 100644
index 3cff0a41d270..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlFlagsServiceGapicClient.php
+++ /dev/null
@@ -1,208 +0,0 @@
-list();
- * } finally {
- * $sqlFlagsServiceClient->close();
- * }
- * ```
- *
- * @experimental
- *
- * @deprecated This class will be removed in the next major version update.
- */
-class SqlFlagsServiceGapicClient
-{
- use GapicClientTrait;
-
- /** The name of the service. */
- const SERVICE_NAME = 'google.cloud.sql.v1beta4.SqlFlagsService';
-
- /**
- * The default address of the service.
- *
- * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
- */
- const SERVICE_ADDRESS = 'sqladmin.googleapis.com';
-
- /** The address template of the service. */
- private const SERVICE_ADDRESS_TEMPLATE = 'sqladmin.UNIVERSE_DOMAIN';
-
- /** The default port of the service. */
- const DEFAULT_SERVICE_PORT = 443;
-
- /** The name of the code generator, to be included in the agent header. */
- const CODEGEN_NAME = 'gapic';
-
- /** The default scopes required by the service. */
- public static $serviceScopes = [
- 'https://www.googleapis.com/auth/cloud-platform',
- 'https://www.googleapis.com/auth/sqlservice.admin',
- ];
-
- private static function getClientDefaults()
- {
- return [
- 'serviceName' => self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_flags_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_flags_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_flags_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_flags_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- *
- * @experimental
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /**
- * Lists all available database flags for Cloud SQL instances.
- *
- * Sample code:
- * ```
- * $sqlFlagsServiceClient = new SqlFlagsServiceClient();
- * try {
- * $response = $sqlFlagsServiceClient->list();
- * } finally {
- * $sqlFlagsServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $databaseVersion
- * Database type and version you want to retrieve flags for. By default, this
- * method returns flags for all database types and versions.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\FlagsListResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function list(array $optionalArgs = [])
- {
- $request = new SqlFlagsListRequest();
- if (isset($optionalArgs['databaseVersion'])) {
- $request->setDatabaseVersion($optionalArgs['databaseVersion']);
- }
-
- return $this->startCall('List', FlagsListResponse::class, $optionalArgs, $request)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlIamPoliciesServiceGapicClient.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlIamPoliciesServiceGapicClient.php
deleted file mode 100644
index c5b2bf3b507a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlIamPoliciesServiceGapicClient.php
+++ /dev/null
@@ -1,151 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_iam_policies_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_iam_policies_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_iam_policies_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_iam_policies_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- *
- * @experimental
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlInstancesServiceGapicClient.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlInstancesServiceGapicClient.php
deleted file mode 100644
index 0654532735f0..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlInstancesServiceGapicClient.php
+++ /dev/null
@@ -1,2182 +0,0 @@
-acquireSsrsLease($instance, $project);
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @experimental
- *
- * @deprecated This class will be removed in the next major version update.
- */
-class SqlInstancesServiceGapicClient
-{
- use GapicClientTrait;
-
- /** The name of the service. */
- const SERVICE_NAME = 'google.cloud.sql.v1beta4.SqlInstancesService';
-
- /**
- * The default address of the service.
- *
- * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
- */
- const SERVICE_ADDRESS = 'sqladmin.googleapis.com';
-
- /** The address template of the service. */
- private const SERVICE_ADDRESS_TEMPLATE = 'sqladmin.UNIVERSE_DOMAIN';
-
- /** The default port of the service. */
- const DEFAULT_SERVICE_PORT = 443;
-
- /** The name of the code generator, to be included in the agent header. */
- const CODEGEN_NAME = 'gapic';
-
- /** The default scopes required by the service. */
- public static $serviceScopes = [
- 'https://www.googleapis.com/auth/cloud-platform',
- 'https://www.googleapis.com/auth/sqlservice.admin',
- ];
-
- private static function getClientDefaults()
- {
- return [
- 'serviceName' => self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_instances_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_instances_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_instances_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_instances_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- *
- * @experimental
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /**
- * Acquire a lease for the setup of SQL Server Reporting Services (SSRS).
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $instance = 'instance';
- * $project = 'project';
- * $response = $sqlInstancesServiceClient->acquireSsrsLease($instance, $project);
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param string $instance Required. Cloud SQL instance ID. This doesn't include the project ID. It's
- * composed of lowercase letters, numbers, and hyphens, and it must start with
- * a letter. The total length must be 98 characters or less (Example:
- * instance-id).
- * @param string $project Required. ID of the project that contains the instance (Example:
- * project-id).
- * @param array $optionalArgs {
- * Optional.
- *
- * @type InstancesAcquireSsrsLeaseRequest $body
- * The body for request to acquire an SSRS lease.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\SqlInstancesAcquireSsrsLeaseResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function acquireSsrsLease($instance, $project, array $optionalArgs = [])
- {
- $request = new SqlInstancesAcquireSsrsLeaseRequest();
- $requestParamHeaders = [];
- $request->setInstance($instance);
- $request->setProject($project);
- $requestParamHeaders['instance'] = $instance;
- $requestParamHeaders['project'] = $project;
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('AcquireSsrsLease', SqlInstancesAcquireSsrsLeaseResponse::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Add a new trusted Certificate Authority (CA) version for the specified
- * instance. Required to prepare for a certificate rotation. If a CA version
- * was previously added but never used in a certificate rotation, this
- * operation replaces that version. There cannot be more than one CA version
- * waiting to be rotated in.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->addServerCa();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function addServerCa(array $optionalArgs = [])
- {
- $request = new SqlInstancesAddServerCaRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('AddServerCa', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Creates a Cloud SQL instance as a clone of the source instance. Using this
- * operation might cause your instance to restart.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->clone();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * The ID of the Cloud SQL instance to be cloned (source). This does not
- * include the project ID.
- * @type string $project
- * Project ID of the source as well as the clone Cloud SQL instance.
- * @type InstancesCloneRequest $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function clone(array $optionalArgs = [])
- {
- $request = new SqlInstancesCloneRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Clone', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Generates a short-lived X509 certificate containing the provided public key
- * and signed by a private key specific to the target instance. Users may use
- * the certificate to authenticate as themselves when connecting to the
- * database.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->createEphemeral();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the Cloud SQL project.
- * @type SslCertsCreateEphemeralRequest $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\SslCert
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function createEphemeral(array $optionalArgs = [])
- {
- $request = new SqlInstancesCreateEphemeralCertRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('CreateEphemeral', SslCert::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Deletes a Cloud SQL instance.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->delete();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance to be deleted.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function delete(array $optionalArgs = [])
- {
- $request = new SqlInstancesDeleteRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Delete', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Demotes an existing standalone instance to be a Cloud SQL read replica
- * for an external database server.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $instance = 'instance';
- * $project = 'project';
- * $response = $sqlInstancesServiceClient->demote($instance, $project);
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param string $instance Required. The name of the Cloud SQL instance.
- * @param string $project Required. The project ID of the project that contains the instance.
- * @param array $optionalArgs {
- * Optional.
- *
- * @type InstancesDemoteRequest $body
- * The request body.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function demote($instance, $project, array $optionalArgs = [])
- {
- $request = new SqlInstancesDemoteRequest();
- $requestParamHeaders = [];
- $request->setInstance($instance);
- $request->setProject($project);
- $requestParamHeaders['instance'] = $instance;
- $requestParamHeaders['project'] = $project;
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Demote', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Demotes the stand-alone instance to be a Cloud SQL read replica for an
- * external database server.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->demoteMaster();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance name.
- * @type string $project
- * ID of the project that contains the instance.
- * @type InstancesDemoteMasterRequest $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function demoteMaster(array $optionalArgs = [])
- {
- $request = new SqlInstancesDemoteMasterRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('DemoteMaster', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL
- * dump or CSV file.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->export();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * The Cloud SQL instance ID. This doesn't include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance to be exported.
- * @type InstancesExportRequest $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function export(array $optionalArgs = [])
- {
- $request = new SqlInstancesExportRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Export', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Initiates a manual failover of a high availability (HA) primary instance
- * to a standby instance, which becomes the primary instance. Users are
- * then rerouted to the new primary. For more information, see the
- * [Overview of high
- * availability](https://cloud.google.com/sql/docs/mysql/high-availability)
- * page in the Cloud SQL documentation.
- * If using Legacy HA (MySQL only), this causes the instance to failover to
- * its failover replica instance.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->failover();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * ID of the project that contains the read replica.
- * @type InstancesFailoverRequest $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function failover(array $optionalArgs = [])
- {
- $request = new SqlInstancesFailoverRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Failover', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Retrieves a resource containing information about a Cloud SQL instance.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->get();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\DatabaseInstance
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function get(array $optionalArgs = [])
- {
- $request = new SqlInstancesGetRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Get', DatabaseInstance::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Get Disk Shrink Config for a given instance.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->getDiskShrinkConfig();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\SqlInstancesGetDiskShrinkConfigResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function getDiskShrinkConfig(array $optionalArgs = [])
- {
- $request = new SqlInstancesGetDiskShrinkConfigRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('GetDiskShrinkConfig', SqlInstancesGetDiskShrinkConfigResponse::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Get Latest Recovery Time for a given instance.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->getLatestRecoveryTime();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\SqlInstancesGetLatestRecoveryTimeResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function getLatestRecoveryTime(array $optionalArgs = [])
- {
- $request = new SqlInstancesGetLatestRecoveryTimeRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('GetLatestRecoveryTime', SqlInstancesGetLatestRecoveryTimeResponse::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Imports data into a Cloud SQL instance from a SQL dump or CSV file in
- * Cloud Storage.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->import();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type InstancesImportRequest $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function import(array $optionalArgs = [])
- {
- $request = new SqlInstancesImportRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Import', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Creates a new Cloud SQL instance.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->insert();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $project
- * Project ID of the project to which the newly created Cloud SQL instances
- * should belong.
- * @type DatabaseInstance $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function insert(array $optionalArgs = [])
- {
- $request = new SqlInstancesInsertRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Insert', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Lists instances under a given project.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->list();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $filter
- * A filter expression that filters resources listed in the response.
- * The expression is in the form of field:value. For example,
- * 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per
- * their JSON representation, such as 'settings.userLabels.auto_start:true'.
- *
- * Multiple filter queries are space-separated. For example.
- * 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each
- * expression is an AND expression. However, you can include AND and OR
- * expressions explicitly.
- * @type int $maxResults
- * The maximum number of instances to return. The service may return fewer
- * than this value.
- * If unspecified, at most 500 instances are returned.
- * The maximum value is 1000; values above 1000 are coerced to 1000.
- * @type string $pageToken
- * A previously-returned page token representing part of the larger set of
- * results to view.
- * @type string $project
- * Project ID of the project for which to list Cloud SQL instances.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\InstancesListResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function list(array $optionalArgs = [])
- {
- $request = new SqlInstancesListRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['filter'])) {
- $request->setFilter($optionalArgs['filter']);
- }
-
- if (isset($optionalArgs['maxResults'])) {
- $request->setMaxResults($optionalArgs['maxResults']);
- }
-
- if (isset($optionalArgs['pageToken'])) {
- $request->setPageToken($optionalArgs['pageToken']);
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('List', InstancesListResponse::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Lists all of the trusted Certificate Authorities (CAs) for the specified
- * instance. There can be up to three CAs listed: the CA that was used to sign
- * the certificate that is currently in use, a CA that has been added but not
- * yet used to sign a certificate, and a CA used to sign a certificate that
- * has previously rotated out.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->listServerCas();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\InstancesListServerCasResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function listServerCas(array $optionalArgs = [])
- {
- $request = new SqlInstancesListServerCasRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('ListServerCas', InstancesListServerCasResponse::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Partially updates settings of a Cloud SQL instance by merging the request
- * with the current configuration. This method supports patch semantics.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->patch();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type DatabaseInstance $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function patch(array $optionalArgs = [])
- {
- $request = new SqlInstancesPatchRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Patch', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Perform Disk Shrink on primary instance.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->performDiskShrink();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type PerformDiskShrinkContext $body
- * Perform disk shrink context.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function performDiskShrink(array $optionalArgs = [])
- {
- $request = new SqlInstancesPerformDiskShrinkRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('PerformDiskShrink', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Promotes the read replica instance to be a stand-alone Cloud SQL instance.
- * Using this operation might cause your instance to restart.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->promoteReplica();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the read replica.
- * @type bool $failover
- * Set to true if the promote operation should attempt to re-add the original
- * primary as a replica when it comes back online. Otherwise, if this value is
- * false or not set, the original primary will be a standalone instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function promoteReplica(array $optionalArgs = [])
- {
- $request = new SqlInstancesPromoteReplicaRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['failover'])) {
- $request->setFailover($optionalArgs['failover']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('PromoteReplica', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Reencrypt CMEK instance with latest key version.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->reencrypt();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * ID of the project that contains the instance.
- * @type InstancesReencryptRequest $body
- * Reencrypt body that users request
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function reencrypt(array $optionalArgs = [])
- {
- $request = new SqlInstancesReencryptRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Reencrypt', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Release a lease for the setup of SQL Server Reporting Services (SSRS).
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $instance = 'instance';
- * $project = 'project';
- * $response = $sqlInstancesServiceClient->releaseSsrsLease($instance, $project);
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param string $instance Required. The Cloud SQL instance ID. This doesn't include the project ID.
- * It's composed of lowercase letters, numbers, and hyphens, and it must start
- * with a letter. The total length must be 98 characters or less (Example:
- * instance-id).
- * @param string $project Required. The ID of the project that contains the instance (Example:
- * project-id).
- * @param array $optionalArgs {
- * Optional.
- *
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\SqlInstancesReleaseSsrsLeaseResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function releaseSsrsLease($instance, $project, array $optionalArgs = [])
- {
- $request = new SqlInstancesReleaseSsrsLeaseRequest();
- $requestParamHeaders = [];
- $request->setInstance($instance);
- $request->setProject($project);
- $requestParamHeaders['instance'] = $instance;
- $requestParamHeaders['project'] = $project;
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('ReleaseSsrsLease', SqlInstancesReleaseSsrsLeaseResponse::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Reschedules the maintenance on the given instance.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->rescheduleMaintenance();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * ID of the project that contains the instance.
- * @type SqlInstancesRescheduleMaintenanceRequestBody $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function rescheduleMaintenance(array $optionalArgs = [])
- {
- $request = new SqlInstancesRescheduleMaintenanceRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('RescheduleMaintenance', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Reset Replica Size to primary instance disk size.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->resetReplicaSize();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the read replica.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function resetReplicaSize(array $optionalArgs = [])
- {
- $request = new SqlInstancesResetReplicaSizeRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('ResetReplicaSize', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Deletes all client certificates and generates a new server SSL certificate
- * for the instance.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->resetSslConfig();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function resetSslConfig(array $optionalArgs = [])
- {
- $request = new SqlInstancesResetSslConfigRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('ResetSslConfig', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Restarts a Cloud SQL instance.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->restart();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance to be restarted.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function restart(array $optionalArgs = [])
- {
- $request = new SqlInstancesRestartRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Restart', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Restores a backup of a Cloud SQL instance. Using this operation might cause
- * your instance to restart.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->restoreBackup();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type InstancesRestoreBackupRequest $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function restoreBackup(array $optionalArgs = [])
- {
- $request = new SqlInstancesRestoreBackupRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('RestoreBackup', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Rotates the server certificate to one signed by the Certificate Authority
- * (CA) version previously added with the addServerCA method.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->rotateServerCa();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type InstancesRotateServerCaRequest $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function rotateServerCa(array $optionalArgs = [])
- {
- $request = new SqlInstancesRotateServerCaRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('RotateServerCa', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Start External primary instance migration.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->startExternalSync();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * ID of the project that contains the instance.
- * @type int $syncMode
- * External sync mode.
- * For allowed values, use constants defined on {@see \Google\Cloud\Sql\V1beta4\SqlInstancesVerifyExternalSyncSettingsRequest\ExternalSyncMode}
- * @type bool $skipVerification
- * Whether to skip the verification step (VESS).
- * @type MySqlSyncConfig $mysqlSyncConfig
- * MySQL-specific settings for start external sync.
- * @type int $syncParallelLevel
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for MySQL.
- * For allowed values, use constants defined on {@see \Google\Cloud\Sql\V1beta4\ExternalSyncParallelLevel}
- * @type int $migrationType
- * Optional. MigrationType decides if the migration is a physical file based
- * migration or logical migration.
- * For allowed values, use constants defined on {@see \Google\Cloud\Sql\V1beta4\SqlInstancesVerifyExternalSyncSettingsRequest\MigrationType}
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function startExternalSync(array $optionalArgs = [])
- {
- $request = new SqlInstancesStartExternalSyncRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['syncMode'])) {
- $request->setSyncMode($optionalArgs['syncMode']);
- }
-
- if (isset($optionalArgs['skipVerification'])) {
- $request->setSkipVerification($optionalArgs['skipVerification']);
- }
-
- if (isset($optionalArgs['mysqlSyncConfig'])) {
- $request->setMysqlSyncConfig($optionalArgs['mysqlSyncConfig']);
- }
-
- if (isset($optionalArgs['syncParallelLevel'])) {
- $request->setSyncParallelLevel($optionalArgs['syncParallelLevel']);
- }
-
- if (isset($optionalArgs['migrationType'])) {
- $request->setMigrationType($optionalArgs['migrationType']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('StartExternalSync', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Starts the replication in the read replica instance.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->startReplica();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the read replica.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function startReplica(array $optionalArgs = [])
- {
- $request = new SqlInstancesStartReplicaRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('StartReplica', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Stops the replication in the read replica instance.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->stopReplica();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the read replica.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function stopReplica(array $optionalArgs = [])
- {
- $request = new SqlInstancesStopReplicaRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('StopReplica', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Switches over from the primary instance to a replica instance.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->switchover();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL read replica instance name.
- * @type string $project
- * ID of the project that contains the replica.
- * @type Duration $dbTimeout
- * Optional. (MySQL only) Cloud SQL instance operations timeout, which is a
- * sum of all database operations. Default value is 10 minutes and can be
- * modified to a maximum value of 24 hours.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function switchover(array $optionalArgs = [])
- {
- $request = new SqlInstancesSwitchoverRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['dbTimeout'])) {
- $request->setDbTimeout($optionalArgs['dbTimeout']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Switchover', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Truncate MySQL general and slow query log tables
- * MySQL only.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->truncateLog();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the Cloud SQL project.
- * @type InstancesTruncateLogRequest $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function truncateLog(array $optionalArgs = [])
- {
- $request = new SqlInstancesTruncateLogRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('TruncateLog', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Updates settings of a Cloud SQL instance. Using this operation might cause
- * your instance to restart.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->update();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type DatabaseInstance $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function update(array $optionalArgs = [])
- {
- $request = new SqlInstancesUpdateRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Update', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Verify External primary instance external sync settings.
- *
- * Sample code:
- * ```
- * $sqlInstancesServiceClient = new SqlInstancesServiceClient();
- * try {
- * $response = $sqlInstancesServiceClient->verifyExternalSyncSettings();
- * } finally {
- * $sqlInstancesServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type bool $verifyConnectionOnly
- * Flag to enable verifying connection only
- * @type int $syncMode
- * External sync mode
- * For allowed values, use constants defined on {@see \Google\Cloud\Sql\V1beta4\SqlInstancesVerifyExternalSyncSettingsRequest\ExternalSyncMode}
- * @type bool $verifyReplicationOnly
- * Optional. Flag to verify settings required by replication setup only
- * @type MySqlSyncConfig $mysqlSyncConfig
- * Optional. MySQL-specific settings for start external sync.
- * @type int $migrationType
- * Optional. MigrationType field decides if the migration is a physical file
- * based migration or logical migration
- * For allowed values, use constants defined on {@see \Google\Cloud\Sql\V1beta4\SqlInstancesVerifyExternalSyncSettingsRequest\MigrationType}
- * @type int $syncParallelLevel
- * Optional. Parallel level for initial data sync. Currently only applicable
- * for PostgreSQL.
- * For allowed values, use constants defined on {@see \Google\Cloud\Sql\V1beta4\ExternalSyncParallelLevel}
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\SqlInstancesVerifyExternalSyncSettingsResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function verifyExternalSyncSettings(array $optionalArgs = [])
- {
- $request = new SqlInstancesVerifyExternalSyncSettingsRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['verifyConnectionOnly'])) {
- $request->setVerifyConnectionOnly($optionalArgs['verifyConnectionOnly']);
- }
-
- if (isset($optionalArgs['syncMode'])) {
- $request->setSyncMode($optionalArgs['syncMode']);
- }
-
- if (isset($optionalArgs['verifyReplicationOnly'])) {
- $request->setVerifyReplicationOnly($optionalArgs['verifyReplicationOnly']);
- }
-
- if (isset($optionalArgs['mysqlSyncConfig'])) {
- $request->setMysqlSyncConfig($optionalArgs['mysqlSyncConfig']);
- }
-
- if (isset($optionalArgs['migrationType'])) {
- $request->setMigrationType($optionalArgs['migrationType']);
- }
-
- if (isset($optionalArgs['syncParallelLevel'])) {
- $request->setSyncParallelLevel($optionalArgs['syncParallelLevel']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('VerifyExternalSyncSettings', SqlInstancesVerifyExternalSyncSettingsResponse::class, $optionalArgs, $request)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlOperationsServiceGapicClient.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlOperationsServiceGapicClient.php
deleted file mode 100644
index e17001839e1b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlOperationsServiceGapicClient.php
+++ /dev/null
@@ -1,336 +0,0 @@
-cancel();
- * } finally {
- * $sqlOperationsServiceClient->close();
- * }
- * ```
- *
- * @experimental
- *
- * @deprecated This class will be removed in the next major version update.
- */
-class SqlOperationsServiceGapicClient
-{
- use GapicClientTrait;
-
- /** The name of the service. */
- const SERVICE_NAME = 'google.cloud.sql.v1beta4.SqlOperationsService';
-
- /**
- * The default address of the service.
- *
- * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
- */
- const SERVICE_ADDRESS = 'sqladmin.googleapis.com';
-
- /** The address template of the service. */
- private const SERVICE_ADDRESS_TEMPLATE = 'sqladmin.UNIVERSE_DOMAIN';
-
- /** The default port of the service. */
- const DEFAULT_SERVICE_PORT = 443;
-
- /** The name of the code generator, to be included in the agent header. */
- const CODEGEN_NAME = 'gapic';
-
- /** The default scopes required by the service. */
- public static $serviceScopes = [
- 'https://www.googleapis.com/auth/cloud-platform',
- 'https://www.googleapis.com/auth/sqlservice.admin',
- ];
-
- private static function getClientDefaults()
- {
- return [
- 'serviceName' => self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_operations_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_operations_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_operations_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_operations_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- *
- * @experimental
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /**
- * Cancels an instance operation that has been performed on an instance.
- *
- * Sample code:
- * ```
- * $sqlOperationsServiceClient = new SqlOperationsServiceClient();
- * try {
- * $sqlOperationsServiceClient->cancel();
- * } finally {
- * $sqlOperationsServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $operation
- * Instance operation ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function cancel(array $optionalArgs = [])
- {
- $request = new SqlOperationsCancelRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['operation'])) {
- $request->setOperation($optionalArgs['operation']);
- $requestParamHeaders['operation'] = $optionalArgs['operation'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Cancel', GPBEmpty::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Retrieves an instance operation that has been performed on an instance.
- *
- * Sample code:
- * ```
- * $sqlOperationsServiceClient = new SqlOperationsServiceClient();
- * try {
- * $response = $sqlOperationsServiceClient->get();
- * } finally {
- * $sqlOperationsServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $operation
- * Instance operation ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function get(array $optionalArgs = [])
- {
- $request = new SqlOperationsGetRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['operation'])) {
- $request->setOperation($optionalArgs['operation']);
- $requestParamHeaders['operation'] = $optionalArgs['operation'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Get', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Lists all instance operations that have been performed on the given Cloud
- * SQL instance in the reverse chronological order of the start time.
- *
- * Sample code:
- * ```
- * $sqlOperationsServiceClient = new SqlOperationsServiceClient();
- * try {
- * $response = $sqlOperationsServiceClient->list();
- * } finally {
- * $sqlOperationsServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type int $maxResults
- * Maximum number of operations per response.
- * @type string $pageToken
- * A previously-returned page token representing part of the larger set of
- * results to view.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\OperationsListResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function list(array $optionalArgs = [])
- {
- $request = new SqlOperationsListRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- }
-
- if (isset($optionalArgs['maxResults'])) {
- $request->setMaxResults($optionalArgs['maxResults']);
- }
-
- if (isset($optionalArgs['pageToken'])) {
- $request->setPageToken($optionalArgs['pageToken']);
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('List', OperationsListResponse::class, $optionalArgs, $request)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlSslCertsServiceGapicClient.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlSslCertsServiceGapicClient.php
deleted file mode 100644
index 76a26fee07cc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlSslCertsServiceGapicClient.php
+++ /dev/null
@@ -1,403 +0,0 @@
-delete();
- * } finally {
- * $sqlSslCertsServiceClient->close();
- * }
- * ```
- *
- * @experimental
- *
- * @deprecated This class will be removed in the next major version update.
- */
-class SqlSslCertsServiceGapicClient
-{
- use GapicClientTrait;
-
- /** The name of the service. */
- const SERVICE_NAME = 'google.cloud.sql.v1beta4.SqlSslCertsService';
-
- /**
- * The default address of the service.
- *
- * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
- */
- const SERVICE_ADDRESS = 'sqladmin.googleapis.com';
-
- /** The address template of the service. */
- private const SERVICE_ADDRESS_TEMPLATE = 'sqladmin.UNIVERSE_DOMAIN';
-
- /** The default port of the service. */
- const DEFAULT_SERVICE_PORT = 443;
-
- /** The name of the code generator, to be included in the agent header. */
- const CODEGEN_NAME = 'gapic';
-
- /** The default scopes required by the service. */
- public static $serviceScopes = [
- 'https://www.googleapis.com/auth/cloud-platform',
- 'https://www.googleapis.com/auth/sqlservice.admin',
- ];
-
- private static function getClientDefaults()
- {
- return [
- 'serviceName' => self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_ssl_certs_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_ssl_certs_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_ssl_certs_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_ssl_certs_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- *
- * @experimental
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /**
- * Deletes the SSL certificate. For First Generation instances, the
- * certificate remains valid until the instance is restarted.
- *
- * Sample code:
- * ```
- * $sqlSslCertsServiceClient = new SqlSslCertsServiceClient();
- * try {
- * $response = $sqlSslCertsServiceClient->delete();
- * } finally {
- * $sqlSslCertsServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type string $sha1Fingerprint
- * Sha1 FingerPrint.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function delete(array $optionalArgs = [])
- {
- $request = new SqlSslCertsDeleteRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['sha1Fingerprint'])) {
- $request->setSha1Fingerprint($optionalArgs['sha1Fingerprint']);
- $requestParamHeaders['sha1_fingerprint'] = $optionalArgs['sha1Fingerprint'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Delete', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Retrieves a particular SSL certificate. Does not include the private key
- * (required for usage). The private key must be saved from the response to
- * initial creation.
- *
- * Sample code:
- * ```
- * $sqlSslCertsServiceClient = new SqlSslCertsServiceClient();
- * try {
- * $response = $sqlSslCertsServiceClient->get();
- * } finally {
- * $sqlSslCertsServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type string $sha1Fingerprint
- * Sha1 FingerPrint.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\SslCert
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function get(array $optionalArgs = [])
- {
- $request = new SqlSslCertsGetRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['sha1Fingerprint'])) {
- $request->setSha1Fingerprint($optionalArgs['sha1Fingerprint']);
- $requestParamHeaders['sha1_fingerprint'] = $optionalArgs['sha1Fingerprint'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Get', SslCert::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Creates an SSL certificate and returns it along with the private key and
- * server certificate authority. The new certificate will not be usable until
- * the instance is restarted.
- *
- * Sample code:
- * ```
- * $sqlSslCertsServiceClient = new SqlSslCertsServiceClient();
- * try {
- * $response = $sqlSslCertsServiceClient->insert();
- * } finally {
- * $sqlSslCertsServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type SslCertsInsertRequest $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\SslCertsInsertResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function insert(array $optionalArgs = [])
- {
- $request = new SqlSslCertsInsertRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Insert', SslCertsInsertResponse::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Lists all of the current SSL certificates for the instance.
- *
- * Sample code:
- * ```
- * $sqlSslCertsServiceClient = new SqlSslCertsServiceClient();
- * try {
- * $response = $sqlSslCertsServiceClient->list();
- * } finally {
- * $sqlSslCertsServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Cloud SQL instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\SslCertsListResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function list(array $optionalArgs = [])
- {
- $request = new SqlSslCertsListRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('List', SslCertsListResponse::class, $optionalArgs, $request)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlTiersServiceGapicClient.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlTiersServiceGapicClient.php
deleted file mode 100644
index a02033f8ffee..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlTiersServiceGapicClient.php
+++ /dev/null
@@ -1,213 +0,0 @@
-list();
- * } finally {
- * $sqlTiersServiceClient->close();
- * }
- * ```
- *
- * @experimental
- *
- * @deprecated This class will be removed in the next major version update.
- */
-class SqlTiersServiceGapicClient
-{
- use GapicClientTrait;
-
- /** The name of the service. */
- const SERVICE_NAME = 'google.cloud.sql.v1beta4.SqlTiersService';
-
- /**
- * The default address of the service.
- *
- * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
- */
- const SERVICE_ADDRESS = 'sqladmin.googleapis.com';
-
- /** The address template of the service. */
- private const SERVICE_ADDRESS_TEMPLATE = 'sqladmin.UNIVERSE_DOMAIN';
-
- /** The default port of the service. */
- const DEFAULT_SERVICE_PORT = 443;
-
- /** The name of the code generator, to be included in the agent header. */
- const CODEGEN_NAME = 'gapic';
-
- /** The default scopes required by the service. */
- public static $serviceScopes = [
- 'https://www.googleapis.com/auth/cloud-platform',
- 'https://www.googleapis.com/auth/sqlservice.admin',
- ];
-
- private static function getClientDefaults()
- {
- return [
- 'serviceName' => self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_tiers_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_tiers_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_tiers_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_tiers_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- *
- * @experimental
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /**
- * Lists all available machine types (tiers) for Cloud SQL, for example,
- * `db-custom-1-3840`. For related information, see [Pricing](/sql/pricing).
- *
- * Sample code:
- * ```
- * $sqlTiersServiceClient = new SqlTiersServiceClient();
- * try {
- * $response = $sqlTiersServiceClient->list();
- * } finally {
- * $sqlTiersServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $project
- * Project ID of the project for which to list tiers.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\TiersListResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function list(array $optionalArgs = [])
- {
- $request = new SqlTiersListRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('List', TiersListResponse::class, $optionalArgs, $request)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlUsersServiceGapicClient.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlUsersServiceGapicClient.php
deleted file mode 100644
index 662245f98e15..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/Gapic/SqlUsersServiceGapicClient.php
+++ /dev/null
@@ -1,476 +0,0 @@
-delete();
- * } finally {
- * $sqlUsersServiceClient->close();
- * }
- * ```
- *
- * @experimental
- *
- * @deprecated This class will be removed in the next major version update.
- */
-class SqlUsersServiceGapicClient
-{
- use GapicClientTrait;
-
- /** The name of the service. */
- const SERVICE_NAME = 'google.cloud.sql.v1beta4.SqlUsersService';
-
- /**
- * The default address of the service.
- *
- * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
- */
- const SERVICE_ADDRESS = 'sqladmin.googleapis.com';
-
- /** The address template of the service. */
- private const SERVICE_ADDRESS_TEMPLATE = 'sqladmin.UNIVERSE_DOMAIN';
-
- /** The default port of the service. */
- const DEFAULT_SERVICE_PORT = 443;
-
- /** The name of the code generator, to be included in the agent header. */
- const CODEGEN_NAME = 'gapic';
-
- /** The default scopes required by the service. */
- public static $serviceScopes = [
- 'https://www.googleapis.com/auth/cloud-platform',
- 'https://www.googleapis.com/auth/sqlservice.admin',
- ];
-
- private static function getClientDefaults()
- {
- return [
- 'serviceName' => self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../resources/sql_users_service_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../resources/sql_users_service_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../resources/sql_users_service_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../resources/sql_users_service_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Constructor.
- *
- * @param array $options {
- * Optional. Options for configuring the service API wrapper.
- *
- * @type string $apiEndpoint
- * The address of the API remote host. May optionally include the port, formatted
- * as ":". Default 'sqladmin.googleapis.com:443'.
- * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials
- * The credentials to be used by the client to authorize API calls. This option
- * accepts either a path to a credentials file, or a decoded credentials file as a
- * PHP array.
- * *Advanced usage*: In addition, this option can also accept a pre-constructed
- * {@see \Google\Auth\FetchAuthTokenInterface} object or
- * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these
- * objects are provided, any settings in $credentialsConfig will be ignored.
- * @type array $credentialsConfig
- * Options used to configure credentials, including auth token caching, for the
- * client. For a full list of supporting configuration options, see
- * {@see \Google\ApiCore\CredentialsWrapper::build()} .
- * @type bool $disableRetries
- * Determines whether or not retries defined by the client configuration should be
- * disabled. Defaults to `false`.
- * @type string|array $clientConfig
- * Client method configuration, including retry settings. This option can be either
- * a path to a JSON file, or a PHP array containing the decoded JSON data. By
- * default this settings points to the default client config file, which is
- * provided in the resources folder.
- * @type string|TransportInterface $transport
- * The transport used for executing network requests. May be either the string
- * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system.
- * *Advanced usage*: Additionally, it is possible to pass in an already
- * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note
- * that when this object is provided, any settings in $transportConfig, and any
- * $apiEndpoint setting, will be ignored.
- * @type array $transportConfig
- * Configuration options that will be used to construct the transport. Options for
- * each supported transport type should be passed in a key for that transport. For
- * example:
- * $transportConfig = [
- * 'grpc' => [...],
- * 'rest' => [...],
- * ];
- * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
- * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
- * supported options.
- * @type callable $clientCertSource
- * A callable which returns the client cert as a string. This can be used to
- * provide a certificate and private key to the transport layer for mTLS.
- * }
- *
- * @throws ValidationException
- *
- * @experimental
- */
- public function __construct(array $options = [])
- {
- $clientOptions = $this->buildClientOptions($options);
- $this->setClientOptions($clientOptions);
- }
-
- /**
- * Deletes a user from a Cloud SQL instance.
- *
- * Sample code:
- * ```
- * $sqlUsersServiceClient = new SqlUsersServiceClient();
- * try {
- * $response = $sqlUsersServiceClient->delete();
- * } finally {
- * $sqlUsersServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $host
- * Host of the user in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $name
- * Name of the user in the instance.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function delete(array $optionalArgs = [])
- {
- $request = new SqlUsersDeleteRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['host'])) {
- $request->setHost($optionalArgs['host']);
- }
-
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['name'])) {
- $request->setName($optionalArgs['name']);
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Delete', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Retrieves a resource containing information about a user.
- *
- * Sample code:
- * ```
- * $sqlUsersServiceClient = new SqlUsersServiceClient();
- * try {
- * $response = $sqlUsersServiceClient->get();
- * } finally {
- * $sqlUsersServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $name
- * User of the instance.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type string $host
- * Host of a user of the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\User
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function get(array $optionalArgs = [])
- {
- $request = new SqlUsersGetRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['name'])) {
- $request->setName($optionalArgs['name']);
- $requestParamHeaders['name'] = $optionalArgs['name'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['host'])) {
- $request->setHost($optionalArgs['host']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Get', User::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Creates a new user in a Cloud SQL instance.
- *
- * Sample code:
- * ```
- * $sqlUsersServiceClient = new SqlUsersServiceClient();
- * try {
- * $response = $sqlUsersServiceClient->insert();
- * } finally {
- * $sqlUsersServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type User $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function insert(array $optionalArgs = [])
- {
- $request = new SqlUsersInsertRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Insert', Operation::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Lists users in the specified Cloud SQL instance.
- *
- * Sample code:
- * ```
- * $sqlUsersServiceClient = new SqlUsersServiceClient();
- * try {
- * $response = $sqlUsersServiceClient->list();
- * } finally {
- * $sqlUsersServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\UsersListResponse
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function list(array $optionalArgs = [])
- {
- $request = new SqlUsersListRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('List', UsersListResponse::class, $optionalArgs, $request)->wait();
- }
-
- /**
- * Updates an existing user in a Cloud SQL instance.
- *
- * Sample code:
- * ```
- * $sqlUsersServiceClient = new SqlUsersServiceClient();
- * try {
- * $response = $sqlUsersServiceClient->update();
- * } finally {
- * $sqlUsersServiceClient->close();
- * }
- * ```
- *
- * @param array $optionalArgs {
- * Optional.
- *
- * @type string $host
- * Optional. Host of the user in the instance.
- * @type string $instance
- * Database instance ID. This does not include the project ID.
- * @type string $name
- * Name of the user in the instance.
- * @type string $project
- * Project ID of the project that contains the instance.
- * @type User $body
- * @type RetrySettings|array $retrySettings
- * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
- * associative array of retry settings parameters. See the documentation on
- * {@see RetrySettings} for example usage.
- * }
- *
- * @return \Google\Cloud\Sql\V1beta4\Operation
- *
- * @throws ApiException if the remote call fails
- *
- * @experimental
- */
- public function update(array $optionalArgs = [])
- {
- $request = new SqlUsersUpdateRequest();
- $requestParamHeaders = [];
- if (isset($optionalArgs['host'])) {
- $request->setHost($optionalArgs['host']);
- }
-
- if (isset($optionalArgs['instance'])) {
- $request->setInstance($optionalArgs['instance']);
- $requestParamHeaders['instance'] = $optionalArgs['instance'];
- }
-
- if (isset($optionalArgs['name'])) {
- $request->setName($optionalArgs['name']);
- }
-
- if (isset($optionalArgs['project'])) {
- $request->setProject($optionalArgs['project']);
- $requestParamHeaders['project'] = $optionalArgs['project'];
- }
-
- if (isset($optionalArgs['body'])) {
- $request->setBody($optionalArgs['body']);
- }
-
- $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
- $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
- return $this->startCall('Update', Operation::class, $optionalArgs, $request)->wait();
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/SqlBackupRunsServiceClient.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/SqlBackupRunsServiceClient.php
deleted file mode 100644
index df388fd79880..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/SqlBackupRunsServiceClient.php
+++ /dev/null
@@ -1,36 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlBackupRunsService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_backup_runs_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_backup_runs_service_rest_client_config.php
deleted file mode 100644
index 5e1941f98fb4..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_backup_runs_service_rest_client_config.php
+++ /dev/null
@@ -1,104 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlBackupRunsService' => [
- 'Delete' => [
- 'method' => 'delete',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}',
- 'placeholders' => [
- 'id' => [
- 'getters' => [
- 'getId',
- ],
- ],
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}',
- 'placeholders' => [
- 'id' => [
- 'getters' => [
- 'getId',
- ],
- ],
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_connect_service_client_config.json b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_connect_service_client_config.json
deleted file mode 100644
index 14ecbd0e909e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_connect_service_client_config.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1beta4.SqlConnectService": {
- "retry_codes": {
- "no_retry_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- }
- },
- "methods": {
- "GenerateEphemeralCert": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_codes",
- "retry_params_name": "no_retry_params"
- },
- "GetConnectSettings": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_codes",
- "retry_params_name": "no_retry_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_connect_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_connect_service_descriptor_config.php
deleted file mode 100644
index c276de114a2c..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_connect_service_descriptor_config.php
+++ /dev/null
@@ -1,27 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlConnectService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_connect_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_connect_service_rest_client_config.php
deleted file mode 100644
index 01680b46fca6..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_connect_service_rest_client_config.php
+++ /dev/null
@@ -1,62 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlConnectService' => [
- 'GenerateEphemeralCert' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}:generateEphemeralCert',
- 'body' => '*',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'GetConnectSettings' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/connectSettings',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_databases_service_client_config.json b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_databases_service_client_config.json
deleted file mode 100644
index 055804e3da7a..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_databases_service_client_config.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1beta4.SqlDatabasesService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "Delete": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Get": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Insert": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Patch": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Update": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_databases_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_databases_service_descriptor_config.php
deleted file mode 100644
index ced86c484679..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_databases_service_descriptor_config.php
+++ /dev/null
@@ -1,27 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlDatabasesService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_databases_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_databases_service_rest_client_config.php
deleted file mode 100644
index 4273d5a60d65..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_databases_service_rest_client_config.php
+++ /dev/null
@@ -1,148 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlDatabasesService' => [
- 'Delete' => [
- 'method' => 'delete',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}',
- 'placeholders' => [
- 'database' => [
- 'getters' => [
- 'getDatabase',
- ],
- ],
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}',
- 'placeholders' => [
- 'database' => [
- 'getters' => [
- 'getDatabase',
- ],
- ],
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/databases',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/databases',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Patch' => [
- 'method' => 'patch',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}',
- 'body' => 'body',
- 'placeholders' => [
- 'database' => [
- 'getters' => [
- 'getDatabase',
- ],
- ],
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Update' => [
- 'method' => 'put',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}',
- 'body' => 'body',
- 'placeholders' => [
- 'database' => [
- 'getters' => [
- 'getDatabase',
- ],
- ],
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_flags_service_client_config.json b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_flags_service_client_config.json
deleted file mode 100644
index 721ac2d78745..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_flags_service_client_config.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1beta4.SqlFlagsService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_flags_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_flags_service_descriptor_config.php
deleted file mode 100644
index 722c492d6de5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_flags_service_descriptor_config.php
+++ /dev/null
@@ -1,27 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlFlagsService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_flags_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_flags_service_rest_client_config.php
deleted file mode 100644
index 72038144262d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_flags_service_rest_client_config.php
+++ /dev/null
@@ -1,33 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlFlagsService' => [
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/flags',
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_iam_policies_service_client_config.json b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_iam_policies_service_client_config.json
deleted file mode 100644
index 9a9e7f1fd199..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_iam_policies_service_client_config.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1beta4.SqlIamPoliciesService": {
- "retry_codes": {
- "no_retry_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- }
- },
- "methods": []
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_iam_policies_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_iam_policies_service_descriptor_config.php
deleted file mode 100644
index 7fd9309b7ccc..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_iam_policies_service_descriptor_config.php
+++ /dev/null
@@ -1,27 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlIamPoliciesService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_iam_policies_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_iam_policies_service_rest_client_config.php
deleted file mode 100644
index b33f57959be3..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_iam_policies_service_rest_client_config.php
+++ /dev/null
@@ -1,26 +0,0 @@
- [],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_instances_service_client_config.json b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_instances_service_client_config.json
deleted file mode 100644
index 57673d4b71f9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_instances_service_client_config.json
+++ /dev/null
@@ -1,202 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1beta4.SqlInstancesService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "AcquireSsrsLease": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "AddServerCa": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Clone": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "CreateEphemeral": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Delete": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Demote": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "DemoteMaster": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Export": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Failover": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Get": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "GetDiskShrinkConfig": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "GetLatestRecoveryTime": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Import": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Insert": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "ListServerCas": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Patch": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "PerformDiskShrink": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "PromoteReplica": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Reencrypt": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "ReleaseSsrsLease": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "RescheduleMaintenance": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "ResetReplicaSize": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "ResetSslConfig": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Restart": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "RestoreBackup": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "RotateServerCa": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "StartExternalSync": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "StartReplica": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "StopReplica": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Switchover": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "TruncateLog": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Update": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "VerifyExternalSyncSettings": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_instances_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_instances_service_descriptor_config.php
deleted file mode 100644
index 7f91a9fefa6e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_instances_service_descriptor_config.php
+++ /dev/null
@@ -1,27 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlInstancesService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_instances_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_instances_service_rest_client_config.php
deleted file mode 100644
index 3dd890d997db..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_instances_service_rest_client_config.php
+++ /dev/null
@@ -1,583 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlInstancesService' => [
- 'AcquireSsrsLease' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/acquireSsrsLease',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'AddServerCa' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/addServerCa',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Clone' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/clone',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'CreateEphemeral' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/createEphemeral',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Delete' => [
- 'method' => 'delete',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Demote' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/demote',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'DemoteMaster' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/demoteMaster',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Export' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/export',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Failover' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/failover',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'GetDiskShrinkConfig' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/getDiskShrinkConfig',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'GetLatestRecoveryTime' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/getLatestRecoveryTime',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Import' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/import',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances',
- 'body' => 'body',
- 'placeholders' => [
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances',
- 'placeholders' => [
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'ListServerCas' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/listServerCas',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Patch' => [
- 'method' => 'patch',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'PerformDiskShrink' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/performDiskShrink',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'PromoteReplica' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/promoteReplica',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Reencrypt' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/reencrypt',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'ReleaseSsrsLease' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/releaseSsrsLease',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'RescheduleMaintenance' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'ResetReplicaSize' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/resetReplicaSize',
- 'body' => '*',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'ResetSslConfig' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Restart' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/restart',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'RestoreBackup' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/restoreBackup',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'RotateServerCa' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCa',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'StartExternalSync' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync',
- 'body' => '*',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'StartReplica' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/startReplica',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'StopReplica' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/stopReplica',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Switchover' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/switchover',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'TruncateLog' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/truncateLog',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Update' => [
- 'method' => 'put',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'VerifyExternalSyncSettings' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings',
- 'body' => '*',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_operations_service_client_config.json b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_operations_service_client_config.json
deleted file mode 100644
index c7a70de7e27d..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_operations_service_client_config.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1beta4.SqlOperationsService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "Cancel": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Get": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_operations_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_operations_service_descriptor_config.php
deleted file mode 100644
index 35aeb6d8dfc5..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_operations_service_descriptor_config.php
+++ /dev/null
@@ -1,27 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlOperationsService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_operations_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_operations_service_rest_client_config.php
deleted file mode 100644
index f4eb946d172e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_operations_service_rest_client_config.php
+++ /dev/null
@@ -1,72 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlOperationsService' => [
- 'Cancel' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/operations/{operation}/cancel',
- 'placeholders' => [
- 'operation' => [
- 'getters' => [
- 'getOperation',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/operations/{operation}',
- 'placeholders' => [
- 'operation' => [
- 'getters' => [
- 'getOperation',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/operations',
- 'placeholders' => [
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_ssl_certs_service_client_config.json b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_ssl_certs_service_client_config.json
deleted file mode 100644
index 8a5459d886e7..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_ssl_certs_service_client_config.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1beta4.SqlSslCertsService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "Delete": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Get": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Insert": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_ssl_certs_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_ssl_certs_service_descriptor_config.php
deleted file mode 100644
index 500d2fa8fb64..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_ssl_certs_service_descriptor_config.php
+++ /dev/null
@@ -1,27 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlSslCertsService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_ssl_certs_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_ssl_certs_service_rest_client_config.php
deleted file mode 100644
index 293f6aa32a76..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_ssl_certs_service_rest_client_config.php
+++ /dev/null
@@ -1,104 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlSslCertsService' => [
- 'Delete' => [
- 'method' => 'delete',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- 'sha1_fingerprint' => [
- 'getters' => [
- 'getSha1Fingerprint',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- 'sha1_fingerprint' => [
- 'getters' => [
- 'getSha1Fingerprint',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_tiers_service_client_config.json b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_tiers_service_client_config.json
deleted file mode 100644
index 7e65adf7610b..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_tiers_service_client_config.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1beta4.SqlTiersService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_tiers_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_tiers_service_descriptor_config.php
deleted file mode 100644
index d045f4288667..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_tiers_service_descriptor_config.php
+++ /dev/null
@@ -1,27 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlTiersService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_tiers_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_tiers_service_rest_client_config.php
deleted file mode 100644
index f0e4a5054597..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_tiers_service_rest_client_config.php
+++ /dev/null
@@ -1,40 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlTiersService' => [
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/tiers',
- 'placeholders' => [
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_users_service_client_config.json b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_users_service_client_config.json
deleted file mode 100644
index 889877ec84ba..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_users_service_client_config.json
+++ /dev/null
@@ -1,57 +0,0 @@
-{
- "interfaces": {
- "google.cloud.sql.v1beta4.SqlUsersService": {
- "retry_codes": {
- "no_retry_codes": [],
- "no_retry_1_codes": []
- },
- "retry_params": {
- "no_retry_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 0,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 0,
- "total_timeout_millis": 0
- },
- "no_retry_1_params": {
- "initial_retry_delay_millis": 0,
- "retry_delay_multiplier": 0.0,
- "max_retry_delay_millis": 0,
- "initial_rpc_timeout_millis": 60000,
- "rpc_timeout_multiplier": 1.0,
- "max_rpc_timeout_millis": 60000,
- "total_timeout_millis": 60000
- }
- },
- "methods": {
- "Delete": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Get": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Insert": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "List": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- },
- "Update": {
- "timeout_millis": 60000,
- "retry_codes_name": "no_retry_1_codes",
- "retry_params_name": "no_retry_1_params"
- }
- }
- }
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_users_service_descriptor_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_users_service_descriptor_config.php
deleted file mode 100644
index acf4e556353e..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_users_service_descriptor_config.php
+++ /dev/null
@@ -1,27 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlUsersService' => [],
- ],
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_users_service_rest_client_config.php b/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_users_service_rest_client_config.php
deleted file mode 100644
index 6d389cb9910f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/src/V1beta4/resources/sql_users_service_rest_client_config.php
+++ /dev/null
@@ -1,116 +0,0 @@
- [
- 'google.cloud.sql.v1beta4.SqlUsersService' => [
- 'Delete' => [
- 'method' => 'delete',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/users',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Get' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/users/{name}',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'name' => [
- 'getters' => [
- 'getName',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Insert' => [
- 'method' => 'post',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/users',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'List' => [
- 'method' => 'get',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/users',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- 'Update' => [
- 'method' => 'put',
- 'uriTemplate' => '/sql/v1beta4/projects/{project}/instances/{instance}/users',
- 'body' => 'body',
- 'placeholders' => [
- 'instance' => [
- 'getters' => [
- 'getInstance',
- ],
- ],
- 'project' => [
- 'getters' => [
- 'getProject',
- ],
- ],
- ],
- ],
- ],
- ],
- 'numericEnums' => true,
-];
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlBackupRunsServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlBackupRunsServiceClientTest.php
deleted file mode 100644
index c84d0acd2ed1..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlBackupRunsServiceClientTest.php
+++ /dev/null
@@ -1,317 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlBackupRunsServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlBackupRunsServiceClient($options);
- }
-
- /** @test */
- public function deleteTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->delete();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlBackupRunsService/Delete', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->delete();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $id2 = 3227150;
- $description = 'description-1724546052';
- $instance2 = 'instance2902024968';
- $selfLink = 'selfLink-1691268851';
- $location = 'location1901043637';
- $timeZone = 'timeZone36848094';
- $expectedResponse = new BackupRun();
- $expectedResponse->setKind($kind);
- $expectedResponse->setId($id2);
- $expectedResponse->setDescription($description);
- $expectedResponse->setInstance($instance2);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setLocation($location);
- $expectedResponse->setTimeZone($timeZone);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->get();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlBackupRunsService/Get', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->get();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->insert();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlBackupRunsService/Insert', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->insert();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $nextPageToken = 'nextPageToken-1530815211';
- $expectedResponse = new BackupRunsListResponse();
- $expectedResponse->setKind($kind);
- $expectedResponse->setNextPageToken($nextPageToken);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->list();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlBackupRunsService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->list();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlConnectServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlConnectServiceClientTest.php
deleted file mode 100644
index 8ad3aa1affe9..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlConnectServiceClientTest.php
+++ /dev/null
@@ -1,174 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlConnectServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlConnectServiceClient($options);
- }
-
- /** @test */
- public function generateEphemeralCertTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new GenerateEphemeralCertResponse();
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->generateEphemeralCert();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlConnectService/GenerateEphemeralCert', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function generateEphemeralCertExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->generateEphemeralCert();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getConnectSettingsTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $region = 'region-934795532';
- $pscEnabled = true;
- $dnsName = 'dnsName411992033';
- $expectedResponse = new ConnectSettings();
- $expectedResponse->setKind($kind);
- $expectedResponse->setRegion($region);
- $expectedResponse->setPscEnabled($pscEnabled);
- $expectedResponse->setDnsName($dnsName);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->getConnectSettings();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlConnectService/GetConnectSettings', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getConnectSettingsExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->getConnectSettings();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlDatabasesServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlDatabasesServiceClientTest.php
deleted file mode 100644
index ffb3bc1a9886..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlDatabasesServiceClientTest.php
+++ /dev/null
@@ -1,449 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlDatabasesServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlDatabasesServiceClient($options);
- }
-
- /** @test */
- public function deleteTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->delete();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlDatabasesService/Delete', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->delete();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $charset = 'charset739074380';
- $collation = 'collation1880293257';
- $etag = 'etag3123477';
- $name = 'name3373707';
- $instance2 = 'instance2902024968';
- $selfLink = 'selfLink-1691268851';
- $project2 = 'project2-894831476';
- $expectedResponse = new Database();
- $expectedResponse->setKind($kind);
- $expectedResponse->setCharset($charset);
- $expectedResponse->setCollation($collation);
- $expectedResponse->setEtag($etag);
- $expectedResponse->setName($name);
- $expectedResponse->setInstance($instance2);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setProject($project2);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->get();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlDatabasesService/Get', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->get();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->insert();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlDatabasesService/Insert', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->insert();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new DatabasesListResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->list();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlDatabasesService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->list();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function patchTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->patch();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlDatabasesService/Patch', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function patchExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->patch();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->update();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlDatabasesService/Update', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->update();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlFlagsServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlFlagsServiceClientTest.php
deleted file mode 100644
index 734c9407a402..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlFlagsServiceClientTest.php
+++ /dev/null
@@ -1,115 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlFlagsServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlFlagsServiceClient($options);
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new FlagsListResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->list();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlFlagsService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->list();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlIamPoliciesServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlIamPoliciesServiceClientTest.php
deleted file mode 100644
index 384d545b7ef2..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlIamPoliciesServiceClientTest.php
+++ /dev/null
@@ -1,56 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlIamPoliciesServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlIamPoliciesServiceClient($options);
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlInstancesServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlInstancesServiceClientTest.php
deleted file mode 100644
index cb277d631b8f..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlInstancesServiceClientTest.php
+++ /dev/null
@@ -1,2292 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlInstancesServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlInstancesServiceClient($options);
- }
-
- /** @test */
- public function acquireSsrsLeaseTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $operationId = 'operationId-274116877';
- $expectedResponse = new SqlInstancesAcquireSsrsLeaseResponse();
- $expectedResponse->setOperationId($operationId);
- $transport->addResponse($expectedResponse);
- // Mock request
- $instance = 'instance555127957';
- $project = 'project-309310695';
- $response = $gapicClient->acquireSsrsLease($instance, $project);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/AcquireSsrsLease', $actualFuncCall);
- $actualValue = $actualRequestObject->getInstance();
- $this->assertProtobufEquals($instance, $actualValue);
- $actualValue = $actualRequestObject->getProject();
- $this->assertProtobufEquals($project, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function acquireSsrsLeaseExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $instance = 'instance555127957';
- $project = 'project-309310695';
- try {
- $gapicClient->acquireSsrsLease($instance, $project);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function addServerCaTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->addServerCa();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/AddServerCa', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function addServerCaExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->addServerCa();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function cloneTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->clone();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/Clone', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function cloneExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->clone();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function createEphemeralTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $certSerialNumber = 'certSerialNumber-440611559';
- $cert = 'cert3050020';
- $commonName = 'commonName-1924955041';
- $sha1Fingerprint = 'sha1Fingerprint-1699692374';
- $instance2 = 'instance2902024968';
- $selfLink = 'selfLink-1691268851';
- $expectedResponse = new SslCert();
- $expectedResponse->setKind($kind);
- $expectedResponse->setCertSerialNumber($certSerialNumber);
- $expectedResponse->setCert($cert);
- $expectedResponse->setCommonName($commonName);
- $expectedResponse->setSha1Fingerprint($sha1Fingerprint);
- $expectedResponse->setInstance($instance2);
- $expectedResponse->setSelfLink($selfLink);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->createEphemeral();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/CreateEphemeral', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function createEphemeralExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->createEphemeral();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->delete();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/Delete', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->delete();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function demoteTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- // Mock request
- $instance = 'instance555127957';
- $project = 'project-309310695';
- $response = $gapicClient->demote($instance, $project);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/Demote', $actualFuncCall);
- $actualValue = $actualRequestObject->getInstance();
- $this->assertProtobufEquals($instance, $actualValue);
- $actualValue = $actualRequestObject->getProject();
- $this->assertProtobufEquals($project, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function demoteExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $instance = 'instance555127957';
- $project = 'project-309310695';
- try {
- $gapicClient->demote($instance, $project);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function demoteMasterTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->demoteMaster();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/DemoteMaster', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function demoteMasterExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->demoteMaster();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function exportTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->export();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/Export', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function exportExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->export();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function failoverTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->failover();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/Failover', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function failoverExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->failover();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $etag = 'etag3123477';
- $masterInstanceName = 'masterInstanceName-383886120';
- $project2 = 'project2-894831476';
- $ipv6Address = 'ipv6Address1952176540';
- $serviceAccountEmailAddress = 'serviceAccountEmailAddress303603125';
- $selfLink = 'selfLink-1691268851';
- $connectionName = 'connectionName731664204';
- $name = 'name3373707';
- $region = 'region-934795532';
- $gceZone = 'gceZone-227587294';
- $secondaryGceZone = 'secondaryGceZone826699149';
- $rootPassword = 'rootPassword448743768';
- $databaseInstalledVersion = 'databaseInstalledVersion-1701014705';
- $maintenanceVersion = 'maintenanceVersion-588975188';
- $pscServiceAttachmentLink = 'pscServiceAttachmentLink309057421';
- $dnsName = 'dnsName411992033';
- $primaryDnsName = 'primaryDnsName-1306966658';
- $writeEndpoint = 'writeEndpoint-1575656971';
- $expectedResponse = new DatabaseInstance();
- $expectedResponse->setKind($kind);
- $expectedResponse->setEtag($etag);
- $expectedResponse->setMasterInstanceName($masterInstanceName);
- $expectedResponse->setProject($project2);
- $expectedResponse->setIpv6Address($ipv6Address);
- $expectedResponse->setServiceAccountEmailAddress($serviceAccountEmailAddress);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setConnectionName($connectionName);
- $expectedResponse->setName($name);
- $expectedResponse->setRegion($region);
- $expectedResponse->setGceZone($gceZone);
- $expectedResponse->setSecondaryGceZone($secondaryGceZone);
- $expectedResponse->setRootPassword($rootPassword);
- $expectedResponse->setDatabaseInstalledVersion($databaseInstalledVersion);
- $expectedResponse->setMaintenanceVersion($maintenanceVersion);
- $expectedResponse->setPscServiceAttachmentLink($pscServiceAttachmentLink);
- $expectedResponse->setDnsName($dnsName);
- $expectedResponse->setPrimaryDnsName($primaryDnsName);
- $expectedResponse->setWriteEndpoint($writeEndpoint);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->get();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/Get', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->get();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getDiskShrinkConfigTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $minimalTargetSizeGb = 1076246647;
- $message = 'message954925063';
- $expectedResponse = new SqlInstancesGetDiskShrinkConfigResponse();
- $expectedResponse->setKind($kind);
- $expectedResponse->setMinimalTargetSizeGb($minimalTargetSizeGb);
- $expectedResponse->setMessage($message);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->getDiskShrinkConfig();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/GetDiskShrinkConfig', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getDiskShrinkConfigExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->getDiskShrinkConfig();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getLatestRecoveryTimeTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new SqlInstancesGetLatestRecoveryTimeResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->getLatestRecoveryTime();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/GetLatestRecoveryTime', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getLatestRecoveryTimeExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->getLatestRecoveryTime();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function importTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->import();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/Import', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function importExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->import();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->insert();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/Insert', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->insert();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $nextPageToken = 'nextPageToken-1530815211';
- $expectedResponse = new InstancesListResponse();
- $expectedResponse->setKind($kind);
- $expectedResponse->setNextPageToken($nextPageToken);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->list();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->list();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listServerCasTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $activeVersion = 'activeVersion442490015';
- $kind = 'kind3292052';
- $expectedResponse = new InstancesListServerCasResponse();
- $expectedResponse->setActiveVersion($activeVersion);
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->listServerCas();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/ListServerCas', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listServerCasExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->listServerCas();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function patchTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->patch();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/Patch', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function patchExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->patch();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function performDiskShrinkTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->performDiskShrink();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/PerformDiskShrink', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function performDiskShrinkExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->performDiskShrink();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function promoteReplicaTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->promoteReplica();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/PromoteReplica', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function promoteReplicaExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->promoteReplica();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function reencryptTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->reencrypt();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/Reencrypt', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function reencryptExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->reencrypt();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function releaseSsrsLeaseTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $operationId = 'operationId-274116877';
- $expectedResponse = new SqlInstancesReleaseSsrsLeaseResponse();
- $expectedResponse->setOperationId($operationId);
- $transport->addResponse($expectedResponse);
- // Mock request
- $instance = 'instance555127957';
- $project = 'project-309310695';
- $response = $gapicClient->releaseSsrsLease($instance, $project);
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/ReleaseSsrsLease', $actualFuncCall);
- $actualValue = $actualRequestObject->getInstance();
- $this->assertProtobufEquals($instance, $actualValue);
- $actualValue = $actualRequestObject->getProject();
- $this->assertProtobufEquals($project, $actualValue);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function releaseSsrsLeaseExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- // Mock request
- $instance = 'instance555127957';
- $project = 'project-309310695';
- try {
- $gapicClient->releaseSsrsLease($instance, $project);
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function rescheduleMaintenanceTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->rescheduleMaintenance();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/RescheduleMaintenance', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function rescheduleMaintenanceExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->rescheduleMaintenance();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function resetReplicaSizeTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->resetReplicaSize();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/ResetReplicaSize', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function resetReplicaSizeExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->resetReplicaSize();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function resetSslConfigTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->resetSslConfig();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/ResetSslConfig', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function resetSslConfigExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->resetSslConfig();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function restartTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->restart();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/Restart', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function restartExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->restart();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function restoreBackupTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->restoreBackup();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/RestoreBackup', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function restoreBackupExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->restoreBackup();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function rotateServerCaTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->rotateServerCa();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/RotateServerCa', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function rotateServerCaExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->rotateServerCa();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function startExternalSyncTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->startExternalSync();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/StartExternalSync', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function startExternalSyncExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->startExternalSync();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function startReplicaTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->startReplica();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/StartReplica', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function startReplicaExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->startReplica();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function stopReplicaTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->stopReplica();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/StopReplica', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function stopReplicaExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->stopReplica();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function switchoverTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->switchover();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/Switchover', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function switchoverExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->switchover();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function truncateLogTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->truncateLog();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/TruncateLog', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function truncateLogExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->truncateLog();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->update();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/Update', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->update();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function verifyExternalSyncSettingsTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new SqlInstancesVerifyExternalSyncSettingsResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->verifyExternalSyncSettings();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlInstancesService/VerifyExternalSyncSettings', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function verifyExternalSyncSettingsExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->verifyExternalSyncSettings();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlOperationsServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlOperationsServiceClientTest.php
deleted file mode 100644
index bfc8479206be..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlOperationsServiceClientTest.php
+++ /dev/null
@@ -1,236 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlOperationsServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlOperationsServiceClient($options);
- }
-
- /** @test */
- public function cancelTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $expectedResponse = new GPBEmpty();
- $transport->addResponse($expectedResponse);
- $gapicClient->cancel();
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlOperationsService/Cancel', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function cancelExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->cancel();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->get();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlOperationsService/Get', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->get();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $nextPageToken = 'nextPageToken-1530815211';
- $expectedResponse = new OperationsListResponse();
- $expectedResponse->setKind($kind);
- $expectedResponse->setNextPageToken($nextPageToken);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->list();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlOperationsService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->list();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlSslCertsServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlSslCertsServiceClientTest.php
deleted file mode 100644
index 8554fc421b22..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlSslCertsServiceClientTest.php
+++ /dev/null
@@ -1,304 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlSslCertsServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlSslCertsServiceClient($options);
- }
-
- /** @test */
- public function deleteTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->delete();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlSslCertsService/Delete', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->delete();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $certSerialNumber = 'certSerialNumber-440611559';
- $cert = 'cert3050020';
- $commonName = 'commonName-1924955041';
- $sha1Fingerprint2 = 'sha1Fingerprint2-1316795939';
- $instance2 = 'instance2902024968';
- $selfLink = 'selfLink-1691268851';
- $expectedResponse = new SslCert();
- $expectedResponse->setKind($kind);
- $expectedResponse->setCertSerialNumber($certSerialNumber);
- $expectedResponse->setCert($cert);
- $expectedResponse->setCommonName($commonName);
- $expectedResponse->setSha1Fingerprint($sha1Fingerprint2);
- $expectedResponse->setInstance($instance2);
- $expectedResponse->setSelfLink($selfLink);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->get();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlSslCertsService/Get', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->get();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new SslCertsInsertResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->insert();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlSslCertsService/Insert', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->insert();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new SslCertsListResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->list();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlSslCertsService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->list();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlTiersServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlTiersServiceClientTest.php
deleted file mode 100644
index 3b95388c43d7..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlTiersServiceClientTest.php
+++ /dev/null
@@ -1,115 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlTiersServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlTiersServiceClient($options);
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $expectedResponse = new TiersListResponse();
- $expectedResponse->setKind($kind);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->list();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlTiersService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->list();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-}
diff --git a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlUsersServiceClientTest.php b/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlUsersServiceClientTest.php
deleted file mode 100644
index ab34996f1899..000000000000
--- a/owl-bot-staging/SqlAdmin/v1beta4/tests/Unit/V1beta4/SqlUsersServiceClientTest.php
+++ /dev/null
@@ -1,383 +0,0 @@
-getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock();
- }
-
- /** @return SqlUsersServiceClient */
- private function createClient(array $options = [])
- {
- $options += [
- 'credentials' => $this->createCredentials(),
- ];
- return new SqlUsersServiceClient($options);
- }
-
- /** @test */
- public function deleteTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name2 = 'name2-1052831874';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name2);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->delete();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlUsersService/Delete', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function deleteExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->delete();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $password = 'password1216985755';
- $etag = 'etag3123477';
- $name2 = 'name2-1052831874';
- $host2 = 'host2-1211484325';
- $instance2 = 'instance2902024968';
- $project2 = 'project2-894831476';
- $expectedResponse = new User();
- $expectedResponse->setKind($kind);
- $expectedResponse->setPassword($password);
- $expectedResponse->setEtag($etag);
- $expectedResponse->setName($name2);
- $expectedResponse->setHost($host2);
- $expectedResponse->setInstance($instance2);
- $expectedResponse->setProject($project2);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->get();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlUsersService/Get', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function getExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->get();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name = 'name3373707';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->insert();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlUsersService/Insert', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function insertExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->insert();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $nextPageToken = 'nextPageToken-1530815211';
- $expectedResponse = new UsersListResponse();
- $expectedResponse->setKind($kind);
- $expectedResponse->setNextPageToken($nextPageToken);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->list();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlUsersService/List', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function listExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->list();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- // Mock response
- $kind = 'kind3292052';
- $targetLink = 'targetLink-2084812312';
- $user = 'user3599307';
- $name2 = 'name2-1052831874';
- $targetId = 'targetId-815576439';
- $selfLink = 'selfLink-1691268851';
- $targetProject = 'targetProject392184427';
- $expectedResponse = new Operation();
- $expectedResponse->setKind($kind);
- $expectedResponse->setTargetLink($targetLink);
- $expectedResponse->setUser($user);
- $expectedResponse->setName($name2);
- $expectedResponse->setTargetId($targetId);
- $expectedResponse->setSelfLink($selfLink);
- $expectedResponse->setTargetProject($targetProject);
- $transport->addResponse($expectedResponse);
- $response = $gapicClient->update();
- $this->assertEquals($expectedResponse, $response);
- $actualRequests = $transport->popReceivedCalls();
- $this->assertSame(1, count($actualRequests));
- $actualFuncCall = $actualRequests[0]->getFuncCall();
- $actualRequestObject = $actualRequests[0]->getRequestObject();
- $this->assertSame('/google.cloud.sql.v1beta4.SqlUsersService/Update', $actualFuncCall);
- $this->assertTrue($transport->isExhausted());
- }
-
- /** @test */
- public function updateExceptionTest()
- {
- $transport = $this->createTransport();
- $gapicClient = $this->createClient([
- 'transport' => $transport,
- ]);
- $this->assertTrue($transport->isExhausted());
- $status = new stdClass();
- $status->code = Code::DATA_LOSS;
- $status->details = 'internal error';
- $expectedExceptionMessage = json_encode([
- 'message' => 'internal error',
- 'code' => Code::DATA_LOSS,
- 'status' => 'DATA_LOSS',
- 'details' => [],
- ], JSON_PRETTY_PRINT);
- $transport->addResponse(null, $status);
- try {
- $gapicClient->update();
- // If the $gapicClient method call did not throw, fail the test
- $this->fail('Expected an ApiException, but no exception was thrown.');
- } catch (ApiException $ex) {
- $this->assertEquals($status->code, $ex->getCode());
- $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
- }
- // Call popReceivedCalls to ensure the stub is exhausted
- $transport->popReceivedCalls();
- $this->assertTrue($transport->isExhausted());
- }
-}