Class EnvironmentFile
java.lang.Object
com.google.genai.gaos.models.environments.EnvironmentFile
EnvironmentFile
Metadata for a file or directory within an environment.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentFile(OffsetDateTime created, String mimeType, OffsetDateTime modified, String name, String path, String sizeBytes, Type type) -
Method Summary
Modifier and TypeMethodDescriptionstatic EnvironmentFile.Builderbuilder()created()Output only.booleaninthashCode()mimeType()Output only.modified()Output only.name()Output only.path()Output only.Output only.toString()type()Output only.withCreated(OffsetDateTime created) Output only.withMimeType(String mimeType) Output only.withModified(OffsetDateTime modified) Output only.Output only.Output only.withSizeBytes(String sizeBytes) Output only.Output only.
-
Constructor Details
-
EnvironmentFile
public EnvironmentFile(@Nullable OffsetDateTime created, @Nullable String mimeType, @Nullable OffsetDateTime modified, @Nullable String name, @Nullable String path, @Nullable String sizeBytes, @Nullable Type type) -
EnvironmentFile
public EnvironmentFile()
-
-
Method Details
-
created
Output only. The creation time of the file/directory. -
mimeType
Output only. The MIME type of the file (e.g., "text/python", "image/png"). Empty for directories. NOLINT -
modified
Output only. The modification time of the file/directory. -
name
Output only. The name of the file or directory (e.g., "main.py" or "src"). -
path
Output only. The full relative path within the environment (e.g., "workspace/src/main.py"). -
sizeBytes
Output only. The size of the file/directory in bytes. NOLINT -
type
Output only. The type of the entry. -
builder
-
withCreated
Output only. The creation time of the file/directory. -
withMimeType
Output only. The MIME type of the file (e.g., "text/python", "image/png"). Empty for directories. NOLINT -
withModified
Output only. The modification time of the file/directory. -
withName
Output only. The name of the file or directory (e.g., "main.py" or "src"). -
withPath
Output only. The full relative path within the environment (e.g., "workspace/src/main.py"). -
withSizeBytes
Output only. The size of the file/directory in bytes. NOLINT -
withType
Output only. The type of the entry. -
equals
-
hashCode
public int hashCode() -
toString
-