Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Apr 30, 2024
1 parent 9f0c6c2 commit c199d22
Show file tree
Hide file tree
Showing 690 changed files with 897 additions and 101,846 deletions.
Binary file modified SqlAdmin/metadata/V1/CloudSqlInstances.php
Binary file not shown.
Binary file modified SqlAdmin/metadata/V1/CloudSqlResources.php
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions SqlAdmin/src/V1/BackupConfiguration.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions SqlAdmin/src/V1/Client/SqlInstancesServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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 = [])
Expand All @@ -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 = [])
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
*
Expand Down
96 changes: 96 additions & 0 deletions SqlAdmin/src/V1/DatabaseInstance.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c199d22

Please sign in to comment.