Skip to content

Commit 07896ed

Browse files
durgesh-ninave-crestYashSaraf11
authored andcommitted
chore(secretmanager): Update argument type
1 parent 388573d commit 07896ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

secretmanager/src/update_regional_secret_with_delayed_destroy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* @param string $secretId Your secret ID (e.g. 'my-secret')
4040
* @param int $versionDestroyTtl Your Version Destroy Ttl (e.g. 86400)
4141
*/
42-
function update_regional_secret_with_delayed_destroy(string $projectId, string $locationId, string $secretId, string $versionDestroyTtl): void
42+
function update_regional_secret_with_delayed_destroy(string $projectId, string $locationId, string $secretId, int $versionDestroyTtl): void
4343
{
4444
// Specify regional endpoint.
4545
$options = ['apiEndpoint' => "secretmanager.$locationId.rep.googleapis.com"];

secretmanager/src/update_secret_with_delayed_destroy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* @param string $secretId Your secret ID (e.g. 'my-secret')
3939
* @param int $versionDestroyTtl Your Version Destroy Ttl (e.g. 86400)
4040
*/
41-
function update_secret_with_delayed_destroy(string $projectId, string $secretId, string $versionDestroyTtl): void
41+
function update_secret_with_delayed_destroy(string $projectId, string $secretId, int $versionDestroyTtl): void
4242
{
4343
// Create the Secret Manager client.
4444
$client = new SecretManagerServiceClient();

0 commit comments

Comments
 (0)