@@ -125,9 +125,7 @@ final class NetworkSecurityClient
125125 private const CODEGEN_NAME = 'gapic ' ;
126126
127127 /** The default scopes required by the service. */
128- public static $ serviceScopes = [
129- 'https://www.googleapis.com/auth/cloud-platform ' ,
130- ];
128+ public static $ serviceScopes = ['https://www.googleapis.com/auth/cloud-platform ' ];
131129
132130 private $ operationsClient ;
133131
@@ -208,8 +206,11 @@ private function createOperationsClient(array $options)
208206 *
209207 * @return string The formatted authorization_policy resource.
210208 */
211- public static function authorizationPolicyName (string $ project , string $ location , string $ authorizationPolicy ): string
212- {
209+ public static function authorizationPolicyName (
210+ string $ project ,
211+ string $ location ,
212+ string $ authorizationPolicy
213+ ): string {
213214 return self ::getPathTemplate ('authorizationPolicy ' )->render ([
214215 'project ' => $ project ,
215216 'location ' => $ location ,
@@ -407,8 +408,10 @@ public function __call($method, $args)
407408 *
408409 * @throws ApiException Thrown if the API call fails.
409410 */
410- public function createAuthorizationPolicy (CreateAuthorizationPolicyRequest $ request , array $ callOptions = []): OperationResponse
411- {
411+ public function createAuthorizationPolicy (
412+ CreateAuthorizationPolicyRequest $ request ,
413+ array $ callOptions = []
414+ ): OperationResponse {
412415 return $ this ->startApiCall ('CreateAuthorizationPolicy ' , $ request , $ callOptions )->wait ();
413416 }
414417
@@ -434,8 +437,10 @@ public function createAuthorizationPolicy(CreateAuthorizationPolicyRequest $requ
434437 *
435438 * @throws ApiException Thrown if the API call fails.
436439 */
437- public function createClientTlsPolicy (CreateClientTlsPolicyRequest $ request , array $ callOptions = []): OperationResponse
438- {
440+ public function createClientTlsPolicy (
441+ CreateClientTlsPolicyRequest $ request ,
442+ array $ callOptions = []
443+ ): OperationResponse {
439444 return $ this ->startApiCall ('CreateClientTlsPolicy ' , $ request , $ callOptions )->wait ();
440445 }
441446
@@ -461,8 +466,10 @@ public function createClientTlsPolicy(CreateClientTlsPolicyRequest $request, arr
461466 *
462467 * @throws ApiException Thrown if the API call fails.
463468 */
464- public function createServerTlsPolicy (CreateServerTlsPolicyRequest $ request , array $ callOptions = []): OperationResponse
465- {
469+ public function createServerTlsPolicy (
470+ CreateServerTlsPolicyRequest $ request ,
471+ array $ callOptions = []
472+ ): OperationResponse {
466473 return $ this ->startApiCall ('CreateServerTlsPolicy ' , $ request , $ callOptions )->wait ();
467474 }
468475
@@ -488,8 +495,10 @@ public function createServerTlsPolicy(CreateServerTlsPolicyRequest $request, arr
488495 *
489496 * @throws ApiException Thrown if the API call fails.
490497 */
491- public function deleteAuthorizationPolicy (DeleteAuthorizationPolicyRequest $ request , array $ callOptions = []): OperationResponse
492- {
498+ public function deleteAuthorizationPolicy (
499+ DeleteAuthorizationPolicyRequest $ request ,
500+ array $ callOptions = []
501+ ): OperationResponse {
493502 return $ this ->startApiCall ('DeleteAuthorizationPolicy ' , $ request , $ callOptions )->wait ();
494503 }
495504
@@ -515,8 +524,10 @@ public function deleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest $requ
515524 *
516525 * @throws ApiException Thrown if the API call fails.
517526 */
518- public function deleteClientTlsPolicy (DeleteClientTlsPolicyRequest $ request , array $ callOptions = []): OperationResponse
519- {
527+ public function deleteClientTlsPolicy (
528+ DeleteClientTlsPolicyRequest $ request ,
529+ array $ callOptions = []
530+ ): OperationResponse {
520531 return $ this ->startApiCall ('DeleteClientTlsPolicy ' , $ request , $ callOptions )->wait ();
521532 }
522533
@@ -542,8 +553,10 @@ public function deleteClientTlsPolicy(DeleteClientTlsPolicyRequest $request, arr
542553 *
543554 * @throws ApiException Thrown if the API call fails.
544555 */
545- public function deleteServerTlsPolicy (DeleteServerTlsPolicyRequest $ request , array $ callOptions = []): OperationResponse
546- {
556+ public function deleteServerTlsPolicy (
557+ DeleteServerTlsPolicyRequest $ request ,
558+ array $ callOptions = []
559+ ): OperationResponse {
547560 return $ this ->startApiCall ('DeleteServerTlsPolicy ' , $ request , $ callOptions )->wait ();
548561 }
549562
@@ -569,8 +582,10 @@ public function deleteServerTlsPolicy(DeleteServerTlsPolicyRequest $request, arr
569582 *
570583 * @throws ApiException Thrown if the API call fails.
571584 */
572- public function getAuthorizationPolicy (GetAuthorizationPolicyRequest $ request , array $ callOptions = []): AuthorizationPolicy
573- {
585+ public function getAuthorizationPolicy (
586+ GetAuthorizationPolicyRequest $ request ,
587+ array $ callOptions = []
588+ ): AuthorizationPolicy {
574589 return $ this ->startApiCall ('GetAuthorizationPolicy ' , $ request , $ callOptions )->wait ();
575590 }
576591
@@ -648,8 +663,10 @@ public function getServerTlsPolicy(GetServerTlsPolicyRequest $request, array $ca
648663 *
649664 * @throws ApiException Thrown if the API call fails.
650665 */
651- public function listAuthorizationPolicies (ListAuthorizationPoliciesRequest $ request , array $ callOptions = []): PagedListResponse
652- {
666+ public function listAuthorizationPolicies (
667+ ListAuthorizationPoliciesRequest $ request ,
668+ array $ callOptions = []
669+ ): PagedListResponse {
653670 return $ this ->startApiCall ('ListAuthorizationPolicies ' , $ request , $ callOptions );
654671 }
655672
@@ -675,8 +692,10 @@ public function listAuthorizationPolicies(ListAuthorizationPoliciesRequest $requ
675692 *
676693 * @throws ApiException Thrown if the API call fails.
677694 */
678- public function listClientTlsPolicies (ListClientTlsPoliciesRequest $ request , array $ callOptions = []): PagedListResponse
679- {
695+ public function listClientTlsPolicies (
696+ ListClientTlsPoliciesRequest $ request ,
697+ array $ callOptions = []
698+ ): PagedListResponse {
680699 return $ this ->startApiCall ('ListClientTlsPolicies ' , $ request , $ callOptions );
681700 }
682701
@@ -702,8 +721,10 @@ public function listClientTlsPolicies(ListClientTlsPoliciesRequest $request, arr
702721 *
703722 * @throws ApiException Thrown if the API call fails.
704723 */
705- public function listServerTlsPolicies (ListServerTlsPoliciesRequest $ request , array $ callOptions = []): PagedListResponse
706- {
724+ public function listServerTlsPolicies (
725+ ListServerTlsPoliciesRequest $ request ,
726+ array $ callOptions = []
727+ ): PagedListResponse {
707728 return $ this ->startApiCall ('ListServerTlsPolicies ' , $ request , $ callOptions );
708729 }
709730
@@ -729,8 +750,10 @@ public function listServerTlsPolicies(ListServerTlsPoliciesRequest $request, arr
729750 *
730751 * @throws ApiException Thrown if the API call fails.
731752 */
732- public function updateAuthorizationPolicy (UpdateAuthorizationPolicyRequest $ request , array $ callOptions = []): OperationResponse
733- {
753+ public function updateAuthorizationPolicy (
754+ UpdateAuthorizationPolicyRequest $ request ,
755+ array $ callOptions = []
756+ ): OperationResponse {
734757 return $ this ->startApiCall ('UpdateAuthorizationPolicy ' , $ request , $ callOptions )->wait ();
735758 }
736759
@@ -756,8 +779,10 @@ public function updateAuthorizationPolicy(UpdateAuthorizationPolicyRequest $requ
756779 *
757780 * @throws ApiException Thrown if the API call fails.
758781 */
759- public function updateClientTlsPolicy (UpdateClientTlsPolicyRequest $ request , array $ callOptions = []): OperationResponse
760- {
782+ public function updateClientTlsPolicy (
783+ UpdateClientTlsPolicyRequest $ request ,
784+ array $ callOptions = []
785+ ): OperationResponse {
761786 return $ this ->startApiCall ('UpdateClientTlsPolicy ' , $ request , $ callOptions )->wait ();
762787 }
763788
@@ -783,8 +808,10 @@ public function updateClientTlsPolicy(UpdateClientTlsPolicyRequest $request, arr
783808 *
784809 * @throws ApiException Thrown if the API call fails.
785810 */
786- public function updateServerTlsPolicy (UpdateServerTlsPolicyRequest $ request , array $ callOptions = []): OperationResponse
787- {
811+ public function updateServerTlsPolicy (
812+ UpdateServerTlsPolicyRequest $ request ,
813+ array $ callOptions = []
814+ ): OperationResponse {
788815 return $ this ->startApiCall ('UpdateServerTlsPolicy ' , $ request , $ callOptions )->wait ();
789816 }
790817
@@ -924,8 +951,10 @@ public function setIamPolicy(SetIamPolicyRequest $request, array $callOptions =
924951 *
925952 * @throws ApiException Thrown if the API call fails.
926953 */
927- public function testIamPermissions (TestIamPermissionsRequest $ request , array $ callOptions = []): TestIamPermissionsResponse
928- {
954+ public function testIamPermissions (
955+ TestIamPermissionsRequest $ request ,
956+ array $ callOptions = []
957+ ): TestIamPermissionsResponse {
929958 return $ this ->startApiCall ('TestIamPermissions ' , $ request , $ callOptions )->wait ();
930959 }
931960}
0 commit comments