Class StartEnvironmentFileUploadRequest
java.lang.Object
com.google.genai.gaos.models.operations.StartEnvironmentFileUploadRequest
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionStartEnvironmentFileUploadRequest(String environment, String path, long xGoogUploadHeaderContentLength, String xGoogUploadHeaderContentType) StartEnvironmentFileUploadRequest(String apiVersion, String environment, String path, Boolean extract, Boolean overwrite, long xGoogUploadHeaderContentLength, String xGoogUploadHeaderContentType) -
Method Summary
Modifier and TypeMethodDescriptionWhich version of the API to use.builder()The ID of the environment that owns the destination file.booleanextract()Optional.inthashCode()Optional.path()The relative destination path inside the environment workspace.toString()withApiVersion(String apiVersion) Which version of the API to use.withEnvironment(String environment) The ID of the environment that owns the destination file.withExtract(Boolean extract) Optional.withOverwrite(Boolean overwrite) Optional.The relative destination path inside the environment workspace.withXGoogUploadHeaderContentLength(long xGoogUploadHeaderContentLength) Total number of file bytes that will be uploaded to the session URL.withXGoogUploadHeaderContentType(String xGoogUploadHeaderContentType) MIME type of the file that will be uploaded to the session URL.Command that starts the resumable upload session.Total number of file bytes that will be uploaded to the session URL.MIME type of the file that will be uploaded to the session URL.Resumable upload protocol selector.
-
Constructor Details
-
StartEnvironmentFileUploadRequest
-
StartEnvironmentFileUploadRequest
-
-
Method Details
-
apiVersion
Which version of the API to use. -
environment
The ID of the environment that owns the destination file. -
path
The relative destination path inside the environment workspace. -
extract
Optional. If true, treats the uploaded file as a tar/tar.gz archive and unpacks it into `path`. -
overwrite
Optional. Whether to overwrite the destination file if it already exists. -
xGoogUploadCommand
Command that starts the resumable upload session. -
xGoogUploadHeaderContentLength
Total number of file bytes that will be uploaded to the session URL. -
xGoogUploadHeaderContentType
MIME type of the file that will be uploaded to the session URL. -
xGoogUploadProtocol
Resumable upload protocol selector. -
builder
-
withApiVersion
Which version of the API to use. -
withEnvironment
The ID of the environment that owns the destination file. -
withPath
The relative destination path inside the environment workspace. -
withExtract
Optional. If true, treats the uploaded file as a tar/tar.gz archive and unpacks it into `path`. -
withOverwrite
Optional. Whether to overwrite the destination file if it already exists. -
withXGoogUploadHeaderContentLength
public StartEnvironmentFileUploadRequest withXGoogUploadHeaderContentLength(long xGoogUploadHeaderContentLength) Total number of file bytes that will be uploaded to the session URL. -
withXGoogUploadHeaderContentType
public StartEnvironmentFileUploadRequest withXGoogUploadHeaderContentType(@Nonnull String xGoogUploadHeaderContentType) MIME type of the file that will be uploaded to the session URL. -
equals
-
hashCode
public int hashCode() -
toString
-