@@ -94,9 +94,7 @@ final class CloudQuotasClient
9494 private const CODEGEN_NAME = 'gapic ' ;
9595
9696 /** The default scopes required by the service. */
97- public static $ serviceScopes = [
98- 'https://www.googleapis.com/auth/cloud-platform ' ,
99- ];
97+ public static $ serviceScopes = ['https://www.googleapis.com/auth/cloud-platform ' ];
10098
10199 private static function getClientDefaults ()
102100 {
@@ -144,8 +142,11 @@ public static function folderLocationName(string $folder, string $location): str
144142 *
145143 * @return string The formatted folder_location_quota_preference resource.
146144 */
147- public static function folderLocationQuotaPreferenceName (string $ folder , string $ location , string $ quotaPreference ): string
148- {
145+ public static function folderLocationQuotaPreferenceName (
146+ string $ folder ,
147+ string $ location ,
148+ string $ quotaPreference
149+ ): string {
149150 return self ::getPathTemplate ('folderLocationQuotaPreference ' )->render ([
150151 'folder ' => $ folder ,
151152 'location ' => $ location ,
@@ -183,8 +184,12 @@ public static function folderLocationServiceName(string $folder, string $locatio
183184 *
184185 * @return string The formatted folder_location_service_quota_info resource.
185186 */
186- public static function folderLocationServiceQuotaInfoName (string $ folder , string $ location , string $ service , string $ quotaInfo ): string
187- {
187+ public static function folderLocationServiceQuotaInfoName (
188+ string $ folder ,
189+ string $ location ,
190+ string $ service ,
191+ string $ quotaInfo
192+ ): string {
188193 return self ::getPathTemplate ('folderLocationServiceQuotaInfo ' )->render ([
189194 'folder ' => $ folder ,
190195 'location ' => $ location ,
@@ -237,8 +242,11 @@ public static function organizationLocationName(string $organization, string $lo
237242 *
238243 * @return string The formatted organization_location_quota_preference resource.
239244 */
240- public static function organizationLocationQuotaPreferenceName (string $ organization , string $ location , string $ quotaPreference ): string
241- {
245+ public static function organizationLocationQuotaPreferenceName (
246+ string $ organization ,
247+ string $ location ,
248+ string $ quotaPreference
249+ ): string {
242250 return self ::getPathTemplate ('organizationLocationQuotaPreference ' )->render ([
243251 'organization ' => $ organization ,
244252 'location ' => $ location ,
@@ -256,8 +264,11 @@ public static function organizationLocationQuotaPreferenceName(string $organizat
256264 *
257265 * @return string The formatted organization_location_service resource.
258266 */
259- public static function organizationLocationServiceName (string $ organization , string $ location , string $ service ): string
260- {
267+ public static function organizationLocationServiceName (
268+ string $ organization ,
269+ string $ location ,
270+ string $ service
271+ ): string {
261272 return self ::getPathTemplate ('organizationLocationService ' )->render ([
262273 'organization ' => $ organization ,
263274 'location ' => $ location ,
@@ -276,8 +287,12 @@ public static function organizationLocationServiceName(string $organization, str
276287 *
277288 * @return string The formatted organization_location_service_quota_info resource.
278289 */
279- public static function organizationLocationServiceQuotaInfoName (string $ organization , string $ location , string $ service , string $ quotaInfo ): string
280- {
290+ public static function organizationLocationServiceQuotaInfoName (
291+ string $ organization ,
292+ string $ location ,
293+ string $ service ,
294+ string $ quotaInfo
295+ ): string {
281296 return self ::getPathTemplate ('organizationLocationServiceQuotaInfo ' )->render ([
282297 'organization ' => $ organization ,
283298 'location ' => $ location ,
@@ -313,8 +328,11 @@ public static function projectLocationName(string $project, string $location): s
313328 *
314329 * @return string The formatted project_location_quota_preference resource.
315330 */
316- public static function projectLocationQuotaPreferenceName (string $ project , string $ location , string $ quotaPreference ): string
317- {
331+ public static function projectLocationQuotaPreferenceName (
332+ string $ project ,
333+ string $ location ,
334+ string $ quotaPreference
335+ ): string {
318336 return self ::getPathTemplate ('projectLocationQuotaPreference ' )->render ([
319337 'project ' => $ project ,
320338 'location ' => $ location ,
@@ -352,8 +370,12 @@ public static function projectLocationServiceName(string $project, string $locat
352370 *
353371 * @return string The formatted project_location_service_quota_info resource.
354372 */
355- public static function projectLocationServiceQuotaInfoName (string $ project , string $ location , string $ service , string $ quotaInfo ): string
356- {
373+ public static function projectLocationServiceQuotaInfoName (
374+ string $ project ,
375+ string $ location ,
376+ string $ service ,
377+ string $ quotaInfo
378+ ): string {
357379 return self ::getPathTemplate ('projectLocationServiceQuotaInfo ' )->render ([
358380 'project ' => $ project ,
359381 'location ' => $ location ,
@@ -566,8 +588,10 @@ public function __call($method, $args)
566588 *
567589 * @throws ApiException Thrown if the API call fails.
568590 */
569- public function createQuotaPreference (CreateQuotaPreferenceRequest $ request , array $ callOptions = []): QuotaPreference
570- {
591+ public function createQuotaPreference (
592+ CreateQuotaPreferenceRequest $ request ,
593+ array $ callOptions = []
594+ ): QuotaPreference {
571595 return $ this ->startApiCall ('CreateQuotaPreference ' , $ request , $ callOptions )->wait ();
572596 }
573597
@@ -670,8 +694,10 @@ public function listQuotaInfos(ListQuotaInfosRequest $request, array $callOption
670694 *
671695 * @throws ApiException Thrown if the API call fails.
672696 */
673- public function listQuotaPreferences (ListQuotaPreferencesRequest $ request , array $ callOptions = []): PagedListResponse
674- {
697+ public function listQuotaPreferences (
698+ ListQuotaPreferencesRequest $ request ,
699+ array $ callOptions = []
700+ ): PagedListResponse {
675701 return $ this ->startApiCall ('ListQuotaPreferences ' , $ request , $ callOptions );
676702 }
677703
@@ -697,8 +723,10 @@ public function listQuotaPreferences(ListQuotaPreferencesRequest $request, array
697723 *
698724 * @throws ApiException Thrown if the API call fails.
699725 */
700- public function updateQuotaPreference (UpdateQuotaPreferenceRequest $ request , array $ callOptions = []): QuotaPreference
701- {
726+ public function updateQuotaPreference (
727+ UpdateQuotaPreferenceRequest $ request ,
728+ array $ callOptions = []
729+ ): QuotaPreference {
702730 return $ this ->startApiCall ('UpdateQuotaPreference ' , $ request , $ callOptions )->wait ();
703731 }
704732}
0 commit comments