@@ -80,9 +80,7 @@ final class KeyTrackingServiceClient
8080 private const CODEGEN_NAME = 'gapic ' ;
8181
8282 /** The default scopes required by the service. */
83- public static $ serviceScopes = [
84- 'https://www.googleapis.com/auth/cloud-platform ' ,
85- ];
83+ public static $ serviceScopes = ['https://www.googleapis.com/auth/cloud-platform ' ];
8684
8785 private static function getClientDefaults ()
8886 {
@@ -131,9 +129,16 @@ public static function organizationName(string $organization): string
131129 *
132130 * @return string The formatted project_location_key_ring_crypto_key_crypto_key_version_protectedResourcesSummary resource.
133131 */
134- public static function projectLocationKeyRingCryptoKeyCryptoKeyVersionProtectedResourcesSummaryName (string $ project , string $ location , string $ keyRing , string $ cryptoKey , string $ cryptoKeyVersion ): string
135- {
136- return self ::getPathTemplate ('projectLocationKeyRingCryptoKeyCryptoKeyVersionProtectedResourcesSummary ' )->render ([
132+ public static function projectLocationKeyRingCryptoKeyCryptoKeyVersionProtectedResourcesSummaryName (
133+ string $ project ,
134+ string $ location ,
135+ string $ keyRing ,
136+ string $ cryptoKey ,
137+ string $ cryptoKeyVersion
138+ ): string {
139+ return self ::getPathTemplate (
140+ 'projectLocationKeyRingCryptoKeyCryptoKeyVersionProtectedResourcesSummary '
141+ )->render ([
137142 'project ' => $ project ,
138143 'location ' => $ location ,
139144 'key_ring ' => $ keyRing ,
@@ -153,8 +158,12 @@ public static function projectLocationKeyRingCryptoKeyCryptoKeyVersionProtectedR
153158 *
154159 * @return string The formatted project_location_key_ring_crypto_key_protectedResourcesSummary resource.
155160 */
156- public static function projectLocationKeyRingCryptoKeyProtectedResourcesSummaryName (string $ project , string $ location , string $ keyRing , string $ cryptoKey ): string
157- {
161+ public static function projectLocationKeyRingCryptoKeyProtectedResourcesSummaryName (
162+ string $ project ,
163+ string $ location ,
164+ string $ keyRing ,
165+ string $ cryptoKey
166+ ): string {
158167 return self ::getPathTemplate ('projectLocationKeyRingCryptoKeyProtectedResourcesSummary ' )->render ([
159168 'project ' => $ project ,
160169 'location ' => $ location ,
@@ -174,8 +183,12 @@ public static function projectLocationKeyRingCryptoKeyProtectedResourcesSummaryN
174183 *
175184 * @return string The formatted protected_resources_summary resource.
176185 */
177- public static function protectedResourcesSummaryName (string $ project , string $ location , string $ keyRing , string $ cryptoKey ): string
178- {
186+ public static function protectedResourcesSummaryName (
187+ string $ project ,
188+ string $ location ,
189+ string $ keyRing ,
190+ string $ cryptoKey
191+ ): string {
179192 return self ::getPathTemplate ('protectedResourcesSummary ' )->render ([
180193 'project ' => $ project ,
181194 'location ' => $ location ,
@@ -322,8 +335,10 @@ public function __call($method, $args)
322335 *
323336 * @throws ApiException Thrown if the API call fails.
324337 */
325- public function getProtectedResourcesSummary (GetProtectedResourcesSummaryRequest $ request , array $ callOptions = []): ProtectedResourcesSummary
326- {
338+ public function getProtectedResourcesSummary (
339+ GetProtectedResourcesSummaryRequest $ request ,
340+ array $ callOptions = []
341+ ): ProtectedResourcesSummary {
327342 return $ this ->startApiCall ('GetProtectedResourcesSummary ' , $ request , $ callOptions )->wait ();
328343 }
329344
@@ -350,8 +365,10 @@ public function getProtectedResourcesSummary(GetProtectedResourcesSummaryRequest
350365 *
351366 * @throws ApiException Thrown if the API call fails.
352367 */
353- public function searchProtectedResources (SearchProtectedResourcesRequest $ request , array $ callOptions = []): PagedListResponse
354- {
368+ public function searchProtectedResources (
369+ SearchProtectedResourcesRequest $ request ,
370+ array $ callOptions = []
371+ ): PagedListResponse {
355372 return $ this ->startApiCall ('SearchProtectedResources ' , $ request , $ callOptions );
356373 }
357374}
0 commit comments