@@ -1293,6 +1293,8 @@ def list_edit_images(package_name, edit_id, language, image_type, fields: nil, q
12931293 # no-op.
12941294 # @param [String] image_type
12951295 # Type of the Image.
1296+ # @param [String] ai_generated_state
1297+ # Optional. Whether the image was generated by AI. Attested by the developer.
12961298 # @param [String] fields
12971299 # Selector specifying which fields to include in a partial response.
12981300 # @param [String] quota_user
@@ -1314,7 +1316,7 @@ def list_edit_images(package_name, edit_id, language, image_type, fields: nil, q
13141316 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13151317 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13161318 # @raise [Google::Apis::AuthorizationError] Authorization is required
1317- def upload_edit_image ( package_name , edit_id , language , image_type , fields : nil , quota_user : nil , upload_source : nil , content_type : nil , options : nil , &block )
1319+ def upload_edit_image ( package_name , edit_id , language , image_type , ai_generated_state : nil , fields : nil , quota_user : nil , upload_source : nil , content_type : nil , options : nil , &block )
13181320 if upload_source . nil?
13191321 command = make_simple_command ( :post , 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}' , options )
13201322 else
@@ -1328,6 +1330,7 @@ def upload_edit_image(package_name, edit_id, language, image_type, fields: nil,
13281330 command . params [ 'editId' ] = edit_id unless edit_id . nil?
13291331 command . params [ 'language' ] = language unless language . nil?
13301332 command . params [ 'imageType' ] = image_type unless image_type . nil?
1333+ command . query [ 'aiGeneratedState' ] = ai_generated_state unless ai_generated_state . nil?
13311334 command . query [ 'fields' ] = fields unless fields . nil?
13321335 command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
13331336 execute_or_queue_command ( command , &block )
0 commit comments