@@ -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