@@ -154,6 +154,9 @@ def get_project_location_cmek_config(name, fields: nil, quota_user: nil, options
154
154
# Lists information about the supported locations for this service.
155
155
# @param [String] name
156
156
# 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.
157
160
# @param [String] filter
158
161
# A filter to narrow down results to a preferred subset. The filtering language
159
162
# 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
181
184
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
182
185
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
183
186
# @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 )
185
188
command = make_simple_command ( :get , 'v2beta2/{+name}/locations' , options )
186
189
command . response_representation = Google ::Apis ::CloudtasksV2beta2 ::ListLocationsResponse ::Representation
187
190
command . response_class = Google ::Apis ::CloudtasksV2beta2 ::ListLocationsResponse
188
191
command . params [ 'name' ] = name unless name . nil?
192
+ command . query [ 'extraLocationTypes' ] = extra_location_types unless extra_location_types . nil?
189
193
command . query [ 'filter' ] = filter unless filter . nil?
190
194
command . query [ 'pageSize' ] = page_size unless page_size . nil?
191
195
command . query [ 'pageToken' ] = page_token unless page_token . nil?
0 commit comments