@@ -53,6 +53,66 @@ def initialize
5353 @batch_path = 'batch'
5454 end
5555
56+ # Returns the trust boundary info for a given workforce pool.
57+ # @param [String] name
58+ # Required. Resource name of workforce pool.
59+ # @param [String] fields
60+ # Selector specifying which fields to include in a partial response.
61+ # @param [String] quota_user
62+ # Available to use for quota purposes for server-side applications. Can be any
63+ # arbitrary string assigned to a user, but should not exceed 40 characters.
64+ # @param [Google::Apis::RequestOptions] options
65+ # Request-specific options
66+ #
67+ # @yield [result, err] Result & error if block supplied
68+ # @yieldparam result [Google::Apis::IamcredentialsV1::WorkforcePoolAllowedLocations] parsed result object
69+ # @yieldparam err [StandardError] error object if request failed
70+ #
71+ # @return [Google::Apis::IamcredentialsV1::WorkforcePoolAllowedLocations]
72+ #
73+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
74+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
75+ # @raise [Google::Apis::AuthorizationError] Authorization is required
76+ def get_location_workforce_pool_allowed_locations ( name , fields : nil , quota_user : nil , options : nil , &block )
77+ command = make_simple_command ( :get , 'v1/{+name}/allowedLocations' , options )
78+ command . response_representation = Google ::Apis ::IamcredentialsV1 ::WorkforcePoolAllowedLocations ::Representation
79+ command . response_class = Google ::Apis ::IamcredentialsV1 ::WorkforcePoolAllowedLocations
80+ command . params [ 'name' ] = name unless name . nil?
81+ command . query [ 'fields' ] = fields unless fields . nil?
82+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
83+ execute_or_queue_command ( command , &block )
84+ end
85+
86+ # Returns the trust boundary info for a given workload identity pool.
87+ # @param [String] name
88+ # Required. Resource name of workload identity pool.
89+ # @param [String] fields
90+ # Selector specifying which fields to include in a partial response.
91+ # @param [String] quota_user
92+ # Available to use for quota purposes for server-side applications. Can be any
93+ # arbitrary string assigned to a user, but should not exceed 40 characters.
94+ # @param [Google::Apis::RequestOptions] options
95+ # Request-specific options
96+ #
97+ # @yield [result, err] Result & error if block supplied
98+ # @yieldparam result [Google::Apis::IamcredentialsV1::WorkloadIdentityPoolAllowedLocations] parsed result object
99+ # @yieldparam err [StandardError] error object if request failed
100+ #
101+ # @return [Google::Apis::IamcredentialsV1::WorkloadIdentityPoolAllowedLocations]
102+ #
103+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
104+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
105+ # @raise [Google::Apis::AuthorizationError] Authorization is required
106+ def get_project_location_workload_identity_pool_allowed_locations ( name , fields : nil , quota_user : nil , options : nil , &block )
107+ command = make_simple_command ( :get , 'v1/{+name}/allowedLocations' , options )
108+ command . response_representation = Google ::Apis ::IamcredentialsV1 ::WorkloadIdentityPoolAllowedLocations ::Representation
109+ command . response_class = Google ::Apis ::IamcredentialsV1 ::WorkloadIdentityPoolAllowedLocations
110+ command . params [ 'name' ] = name unless name . nil?
111+ command . query [ 'fields' ] = fields unless fields . nil?
112+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
113+ execute_or_queue_command ( command , &block )
114+ end
115+
56116 # Generates an OAuth 2.0 access token for a service account.
57117 # @param [String] name
58118 # Required. The resource name of the service account for which the credentials
@@ -125,6 +185,36 @@ def generate_service_account_id_token(name, generate_id_token_request_object = n
125185 execute_or_queue_command ( command , &block )
126186 end
127187
188+ # Returns the trust boundary info for a given service account.
189+ # @param [String] name
190+ # Required. Resource name of service account.
191+ # @param [String] fields
192+ # Selector specifying which fields to include in a partial response.
193+ # @param [String] quota_user
194+ # Available to use for quota purposes for server-side applications. Can be any
195+ # arbitrary string assigned to a user, but should not exceed 40 characters.
196+ # @param [Google::Apis::RequestOptions] options
197+ # Request-specific options
198+ #
199+ # @yield [result, err] Result & error if block supplied
200+ # @yieldparam result [Google::Apis::IamcredentialsV1::ServiceAccountAllowedLocations] parsed result object
201+ # @yieldparam err [StandardError] error object if request failed
202+ #
203+ # @return [Google::Apis::IamcredentialsV1::ServiceAccountAllowedLocations]
204+ #
205+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
206+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
207+ # @raise [Google::Apis::AuthorizationError] Authorization is required
208+ def get_project_service_account_allowed_locations ( name , fields : nil , quota_user : nil , options : nil , &block )
209+ command = make_simple_command ( :get , 'v1/{+name}/allowedLocations' , options )
210+ command . response_representation = Google ::Apis ::IamcredentialsV1 ::ServiceAccountAllowedLocations ::Representation
211+ command . response_class = Google ::Apis ::IamcredentialsV1 ::ServiceAccountAllowedLocations
212+ command . params [ 'name' ] = name unless name . nil?
213+ command . query [ 'fields' ] = fields unless fields . nil?
214+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
215+ execute_or_queue_command ( command , &block )
216+ end
217+
128218 # Signs a blob using a service account's system-managed private key.
129219 # @param [String] name
130220 # Required. The resource name of the service account for which the credentials
0 commit comments