Skip to content

Commit 0b31e4f

Browse files
docs: [Kms] Marking MODIFIED_CUSTOMER_INITIATED_ACCESS and MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION Key Access Justification codes as deprecated in favor of GOOGLE_RESPONSE_TO_PRODUCTION_ALERT (#8850)
* docs: Marking MODIFIED_CUSTOMER_INITIATED_ACCESS and MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION Key Access Justification codes as deprecated in favor of GOOGLE_RESPONSE_TO_PRODUCTION_ALERT PiperOrigin-RevId: 853754070 Source-Link: googleapis/googleapis@f814267 Source-Link: googleapis/googleapis-gen@cccc9ca Copy-Tag: eyJwIjoiS21zLy5Pd2xCb3QueWFtbCIsImgiOiJjY2NjOWNhYzUxN2E4OTRmNmIxMmEyNDZmMjYzM2FmMDMyZThiNWQ5In0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 7b11014 commit 0b31e4f

6 files changed

Lines changed: 77 additions & 34 deletions

File tree

Kms/metadata/V1/Resources.php

8 Bytes
Binary file not shown.

Kms/src/V1/AccessReason.php

Lines changed: 10 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Kms/src/V1/Client/AutokeyAdminClient.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,10 @@ public function getAutokeyConfig(GetAutokeyConfigRequest $request, array $callOp
315315
*
316316
* @throws ApiException Thrown if the API call fails.
317317
*/
318-
public function showEffectiveAutokeyConfig(ShowEffectiveAutokeyConfigRequest $request, array $callOptions = []): ShowEffectiveAutokeyConfigResponse
319-
{
318+
public function showEffectiveAutokeyConfig(
319+
ShowEffectiveAutokeyConfigRequest $request,
320+
array $callOptions = []
321+
): ShowEffectiveAutokeyConfigResponse {
320322
return $this->startApiCall('ShowEffectiveAutokeyConfig', $request, $callOptions)->wait();
321323
}
322324

@@ -488,8 +490,10 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =
488490
*
489491
* @throws ApiException Thrown if the API call fails.
490492
*/
491-
public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
492-
{
493+
public function testIamPermissions(
494+
TestIamPermissionsRequest $request,
495+
array $callOptions = []
496+
): TestIamPermissionsResponse {
493497
return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
494498
}
495499
}

Kms/src/V1/Client/AutokeyClient.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,8 +577,10 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =
577577
*
578578
* @throws ApiException Thrown if the API call fails.
579579
*/
580-
public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
581-
{
580+
public function testIamPermissions(
581+
TestIamPermissionsRequest $request,
582+
array $callOptions = []
583+
): TestIamPermissionsResponse {
582584
return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
583585
}
584586
}

Kms/src/V1/Client/EkmServiceClient.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -503,8 +503,10 @@ public function updateEkmConnection(UpdateEkmConnectionRequest $request, array $
503503
*
504504
* @throws ApiException Thrown if the API call fails.
505505
*/
506-
public function verifyConnectivity(VerifyConnectivityRequest $request, array $callOptions = []): VerifyConnectivityResponse
507-
{
506+
public function verifyConnectivity(
507+
VerifyConnectivityRequest $request,
508+
array $callOptions = []
509+
): VerifyConnectivityResponse {
508510
return $this->startApiCall('VerifyConnectivity', $request, $callOptions)->wait();
509511
}
510512

@@ -644,8 +646,10 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =
644646
*
645647
* @throws ApiException Thrown if the API call fails.
646648
*/
647-
public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
648-
{
649+
public function testIamPermissions(
650+
TestIamPermissionsRequest $request,
651+
array $callOptions = []
652+
): TestIamPermissionsResponse {
649653
return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
650654
}
651655
}

Kms/src/V1/Client/KeyManagementServiceClient.php

Lines changed: 47 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,13 @@ public static function cryptoKeyName(string $project, string $location, string $
228228
*
229229
* @return string The formatted crypto_key_version resource.
230230
*/
231-
public static function cryptoKeyVersionName(string $project, string $location, string $keyRing, string $cryptoKey, string $cryptoKeyVersion): string
232-
{
231+
public static function cryptoKeyVersionName(
232+
string $project,
233+
string $location,
234+
string $keyRing,
235+
string $cryptoKey,
236+
string $cryptoKeyVersion
237+
): string {
233238
return self::getPathTemplate('cryptoKeyVersion')->render([
234239
'project' => $project,
235240
'location' => $location,
@@ -435,8 +440,10 @@ public function __call($method, $args)
435440
*
436441
* @throws ApiException Thrown if the API call fails.
437442
*/
438-
public function asymmetricDecrypt(AsymmetricDecryptRequest $request, array $callOptions = []): AsymmetricDecryptResponse
439-
{
443+
public function asymmetricDecrypt(
444+
AsymmetricDecryptRequest $request,
445+
array $callOptions = []
446+
): AsymmetricDecryptResponse {
440447
return $this->startApiCall('AsymmetricDecrypt', $request, $callOptions)->wait();
441448
}
442449

@@ -528,8 +535,10 @@ public function createCryptoKey(CreateCryptoKeyRequest $request, array $callOpti
528535
*
529536
* @throws ApiException Thrown if the API call fails.
530537
*/
531-
public function createCryptoKeyVersion(CreateCryptoKeyVersionRequest $request, array $callOptions = []): CryptoKeyVersion
532-
{
538+
public function createCryptoKeyVersion(
539+
CreateCryptoKeyVersionRequest $request,
540+
array $callOptions = []
541+
): CryptoKeyVersion {
533542
return $this->startApiCall('CreateCryptoKeyVersion', $request, $callOptions)->wait();
534543
}
535544

@@ -691,8 +700,10 @@ public function decrypt(DecryptRequest $request, array $callOptions = []): Decry
691700
*
692701
* @throws ApiException Thrown if the API call fails.
693702
*/
694-
public function destroyCryptoKeyVersion(DestroyCryptoKeyVersionRequest $request, array $callOptions = []): CryptoKeyVersion
695-
{
703+
public function destroyCryptoKeyVersion(
704+
DestroyCryptoKeyVersionRequest $request,
705+
array $callOptions = []
706+
): CryptoKeyVersion {
696707
return $this->startApiCall('DestroyCryptoKeyVersion', $request, $callOptions)->wait();
697708
}
698709

@@ -748,8 +759,10 @@ public function encrypt(EncryptRequest $request, array $callOptions = []): Encry
748759
*
749760
* @throws ApiException Thrown if the API call fails.
750761
*/
751-
public function generateRandomBytes(GenerateRandomBytesRequest $request, array $callOptions = []): GenerateRandomBytesResponse
752-
{
762+
public function generateRandomBytes(
763+
GenerateRandomBytesRequest $request,
764+
array $callOptions = []
765+
): GenerateRandomBytesResponse {
753766
return $this->startApiCall('GenerateRandomBytes', $request, $callOptions)->wait();
754767
}
755768

@@ -921,8 +934,10 @@ public function getPublicKey(GetPublicKeyRequest $request, array $callOptions =
921934
*
922935
* @throws ApiException Thrown if the API call fails.
923936
*/
924-
public function importCryptoKeyVersion(ImportCryptoKeyVersionRequest $request, array $callOptions = []): CryptoKeyVersion
925-
{
937+
public function importCryptoKeyVersion(
938+
ImportCryptoKeyVersionRequest $request,
939+
array $callOptions = []
940+
): CryptoKeyVersion {
926941
return $this->startApiCall('ImportCryptoKeyVersion', $request, $callOptions)->wait();
927942
}
928943

@@ -948,8 +963,10 @@ public function importCryptoKeyVersion(ImportCryptoKeyVersionRequest $request, a
948963
*
949964
* @throws ApiException Thrown if the API call fails.
950965
*/
951-
public function listCryptoKeyVersions(ListCryptoKeyVersionsRequest $request, array $callOptions = []): PagedListResponse
952-
{
966+
public function listCryptoKeyVersions(
967+
ListCryptoKeyVersionsRequest $request,
968+
array $callOptions = []
969+
): PagedListResponse {
953970
return $this->startApiCall('ListCryptoKeyVersions', $request, $callOptions);
954971
}
955972

@@ -1178,8 +1195,10 @@ public function rawEncrypt(RawEncryptRequest $request, array $callOptions = []):
11781195
*
11791196
* @throws ApiException Thrown if the API call fails.
11801197
*/
1181-
public function restoreCryptoKeyVersion(RestoreCryptoKeyVersionRequest $request, array $callOptions = []): CryptoKeyVersion
1182-
{
1198+
public function restoreCryptoKeyVersion(
1199+
RestoreCryptoKeyVersionRequest $request,
1200+
array $callOptions = []
1201+
): CryptoKeyVersion {
11831202
return $this->startApiCall('RestoreCryptoKeyVersion', $request, $callOptions)->wait();
11841203
}
11851204

@@ -1236,8 +1255,10 @@ public function updateCryptoKey(UpdateCryptoKeyRequest $request, array $callOpti
12361255
*
12371256
* @throws ApiException Thrown if the API call fails.
12381257
*/
1239-
public function updateCryptoKeyPrimaryVersion(UpdateCryptoKeyPrimaryVersionRequest $request, array $callOptions = []): CryptoKey
1240-
{
1258+
public function updateCryptoKeyPrimaryVersion(
1259+
UpdateCryptoKeyPrimaryVersionRequest $request,
1260+
array $callOptions = []
1261+
): CryptoKey {
12411262
return $this->startApiCall('UpdateCryptoKeyPrimaryVersion', $request, $callOptions)->wait();
12421263
}
12431264

@@ -1274,8 +1295,10 @@ public function updateCryptoKeyPrimaryVersion(UpdateCryptoKeyPrimaryVersionReque
12741295
*
12751296
* @throws ApiException Thrown if the API call fails.
12761297
*/
1277-
public function updateCryptoKeyVersion(UpdateCryptoKeyVersionRequest $request, array $callOptions = []): CryptoKeyVersion
1278-
{
1298+
public function updateCryptoKeyVersion(
1299+
UpdateCryptoKeyVersionRequest $request,
1300+
array $callOptions = []
1301+
): CryptoKeyVersion {
12791302
return $this->startApiCall('UpdateCryptoKeyVersion', $request, $callOptions)->wait();
12801303
}
12811304

@@ -1416,8 +1439,10 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =
14161439
*
14171440
* @throws ApiException Thrown if the API call fails.
14181441
*/
1419-
public function testIamPermissions(TestIamPermissionsRequest $request, array $callOptions = []): TestIamPermissionsResponse
1420-
{
1442+
public function testIamPermissions(
1443+
TestIamPermissionsRequest $request,
1444+
array $callOptions = []
1445+
): TestIamPermissionsResponse {
14211446
return $this->startApiCall('TestIamPermissions', $request, $callOptions)->wait();
14221447
}
14231448
}

0 commit comments

Comments
 (0)