Class Environment

java.lang.Object
com.google.genai.gaos.models.environments.Environment

public class Environment extends Object
Environment

An execution environment for an agent.

  • Constructor Details

  • Method Details

    • created

      public Optional<String> created()
      Output only. The time at which the environment was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
    • fileCount

      public Optional<String> fileCount()
      Output only. The number of files in the environment, output only.
    • id

      public Optional<String> id()
      Required. Output only. The ID of the environment.
    • lastAccessed

      public Optional<String> lastAccessed()
      Output only. The time at which the environment was last accessed in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
    • network

      public Optional<EnvironmentNetworkUnion> network()
      Network configuration for the environment.
    • sizeBytes

      public Optional<String> sizeBytes()
      Output only. The total size of the environment files in bytes, output only.
    • sources

      public Optional<List<Source>> sources()
      Sources to be mounted into the environment.
    • status

      public Optional<Status> status()
      Output only. The status of the environment container.
    • updated

      public Optional<String> updated()
      Output only. The time at which the environment was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
    • builder

      public static Environment.Builder builder()
    • withCreated

      public Environment withCreated(@Nullable String created)
      Output only. The time at which the environment was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
    • withFileCount

      public Environment withFileCount(@Nullable String fileCount)
      Output only. The number of files in the environment, output only.
    • withId

      public Environment withId(@Nonnull String id)
      Required. Output only. The ID of the environment.
    • withLastAccessed

      public Environment withLastAccessed(@Nullable String lastAccessed)
      Output only. The time at which the environment was last accessed in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
    • withNetwork

      public Environment withNetwork(@Nullable EnvironmentNetworkUnion network)
      Network configuration for the environment.
    • withSizeBytes

      public Environment withSizeBytes(@Nullable String sizeBytes)
      Output only. The total size of the environment files in bytes, output only.
    • withSources

      public Environment withSources(@Nullable List<Source> sources)
      Sources to be mounted into the environment.
    • withStatus

      public Environment withStatus(@Nullable Status status)
      Output only. The status of the environment container.
    • withUpdated

      public Environment withUpdated(@Nullable String updated)
      Output only. The time at which the environment was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object