file

public abstract CreateFileParameters.Builder file(File file)

Setter for file.

file: The file to be uploaded. mime_type: (Required) The MIME type of the file. Must be provided. name: (Optional) The name of the file in the destination (e.g. 'files/sample-image'). display_name: (Optional) The display name of the file.


@CanIgnoreReturnValue()
public CreateFileParameters.Builder file(File.Builder fileBuilder)

Setter for file builder.

file: The file to be uploaded. mime_type: (Required) The MIME type of the file. Must be provided. name: (Optional) The name of the file in the destination (e.g. 'files/sample-image'). display_name: (Optional) The display name of the file.