@@ -154,6 +154,9 @@ def get_project_location_cmek_config(name, fields: nil, quota_user: nil, options
154154 # Lists information about the supported locations for this service.
155155 # @param [String] name
156156 # The resource that owns the locations collection, if applicable.
157+ # @param [Array<String>, String] extra_location_types
158+ # Optional. A list of extra location types that should be used as conditions for
159+ # controlling the visibility of the locations.
157160 # @param [String] filter
158161 # A filter to narrow down results to a preferred subset. The filtering language
159162 # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -181,11 +184,12 @@ def get_project_location_cmek_config(name, fields: nil, quota_user: nil, options
181184 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
182185 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
183186 # @raise [Google::Apis::AuthorizationError] Authorization is required
184- def list_project_locations ( name , filter : nil , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , &block )
187+ def list_project_locations ( name , extra_location_types : nil , filter : nil , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , &block )
185188 command = make_simple_command ( :get , 'v2beta2/{+name}/locations' , options )
186189 command . response_representation = Google ::Apis ::CloudtasksV2beta2 ::ListLocationsResponse ::Representation
187190 command . response_class = Google ::Apis ::CloudtasksV2beta2 ::ListLocationsResponse
188191 command . params [ 'name' ] = name unless name . nil?
192+ command . query [ 'extraLocationTypes' ] = extra_location_types unless extra_location_types . nil?
189193 command . query [ 'filter' ] = filter unless filter . nil?
190194 command . query [ 'pageSize' ] = page_size unless page_size . nil?
191195 command . query [ 'pageToken' ] = page_token unless page_token . nil?
0 commit comments