@@ -115,6 +115,9 @@ def get_project_location_settings(name, fields: nil, quota_user: nil, options: n
115115 # Lists information about the supported locations for this service.
116116 # @param [String] name
117117 # The resource that owns the locations collection, if applicable.
118+ # @param [Array<String>, String] extra_location_types
119+ # Optional. A list of extra location types that should be used as conditions for
120+ # controlling the visibility of the locations.
118121 # @param [String] filter
119122 # A filter to narrow down results to a preferred subset. The filtering language
120123 # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -142,11 +145,12 @@ def get_project_location_settings(name, fields: nil, quota_user: nil, options: n
142145 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
143146 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
144147 # @raise [Google::Apis::AuthorizationError] Authorization is required
145- def list_project_locations ( name , filter : nil , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , &block )
148+ 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 )
146149 command = make_simple_command ( :get , 'v1/{+name}/locations' , options )
147150 command . response_representation = Google ::Apis ::MigrationcenterV1 ::ListLocationsResponse ::Representation
148151 command . response_class = Google ::Apis ::MigrationcenterV1 ::ListLocationsResponse
149152 command . params [ 'name' ] = name unless name . nil?
153+ command . query [ 'extraLocationTypes' ] = extra_location_types unless extra_location_types . nil?
150154 command . query [ 'filter' ] = filter unless filter . nil?
151155 command . query [ 'pageSize' ] = page_size unless page_size . nil?
152156 command . query [ 'pageToken' ] = page_token unless page_token . nil?
0 commit comments