Class StartEnvironmentFileUploadRequest.Builder
java.lang.Object
com.google.genai.gaos.models.operations.StartEnvironmentFileUploadRequest.Builder
- Enclosing class:
- StartEnvironmentFileUploadRequest
-
Method Summary
Modifier and TypeMethodDescriptionapiVersion(String apiVersion) Which version of the API to use.build()environment(String environment) The ID of the environment that owns the destination file.Optional.Optional.The relative destination path inside the environment workspace.xGoogUploadHeaderContentLength(long xGoogUploadHeaderContentLength) Total number of file bytes that will be uploaded to the session URL.xGoogUploadHeaderContentType(String xGoogUploadHeaderContentType) MIME type of the file that will be uploaded to the session URL.
-
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. -
xGoogUploadHeaderContentLength
public StartEnvironmentFileUploadRequest.Builder xGoogUploadHeaderContentLength(long xGoogUploadHeaderContentLength) Total number of file bytes that will be uploaded to the session URL. -
xGoogUploadHeaderContentType
public StartEnvironmentFileUploadRequest.Builder xGoogUploadHeaderContentType(@Nonnull String xGoogUploadHeaderContentType) MIME type of the file that will be uploaded to the session URL. -
build
-