Class Environment
java.lang.Object
com.google.genai.gaos.models.environments.Environment
Environment
An execution environment for an agent.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionEnvironment(String id) Environment(String created, String fileCount, String id, String lastAccessed, EnvironmentNetworkUnion network, String sizeBytes, List<Source> sources, Status status, String updated) -
Method Summary
Modifier and TypeMethodDescriptionstatic Environment.Builderbuilder()created()Output only.booleanOutput only.inthashCode()id()Required.Output only.network()Network configuration for the environment.Output only.sources()Sources to be mounted into the environment.status()Output only.toString()updated()Output only.withCreated(String created) Output only.withFileCount(String fileCount) Output only.Required.withLastAccessed(String lastAccessed) Output only.withNetwork(EnvironmentNetworkUnion network) Network configuration for the environment.withSizeBytes(String sizeBytes) Output only.withSources(List<Source> sources) Sources to be mounted into the environment.withStatus(Status status) Output only.withUpdated(String updated) Output only.
-
Constructor Details
-
Environment
-
Environment
-
-
Method Details
-
created
Output only. The time at which the environment was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). -
fileCount
Output only. The number of files in the environment, output only. -
id
Required. Output only. The ID of the environment. -
lastAccessed
Output only. The time at which the environment was last accessed in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). -
network
Network configuration for the environment. -
sizeBytes
Output only. The total size of the environment files in bytes, output only. -
sources
Sources to be mounted into the environment. -
status
Output only. The status of the environment container. -
updated
Output only. The time at which the environment was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). -
builder
-
withCreated
Output only. The time at which the environment was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). -
withFileCount
Output only. The number of files in the environment, output only. -
withId
Required. Output only. The ID of the environment. -
withLastAccessed
Output only. The time at which the environment was last accessed in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). -
withNetwork
Network configuration for the environment. -
withSizeBytes
Output only. The total size of the environment files in bytes, output only. -
withSources
Sources to be mounted into the environment. -
withStatus
Output only. The status of the environment container. -
withUpdated
Output only. The time at which the environment was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). -
equals
-
hashCode
public int hashCode() -
toString
-