Class GetDocumentParameters

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GetDocumentParameters

@InternalApi public abstract class GetDocumentParameters extends JsonSerializable
Parameters for documents.get.
  • Constructor Details

    • GetDocumentParameters

      public GetDocumentParameters()
  • Method Details

    • name

      public abstract Optional<String> name()
      The resource name of the Document. Example: fileSearchStores/file-search-store-foo/documents/documents-bar
    • config

      public abstract Optional<GetDocumentConfig> config()
      Optional parameters for the request.
    • builder

      public static GetDocumentParameters.Builder builder()
      Instantiates a builder for GetDocumentParameters.
    • toBuilder

      public abstract GetDocumentParameters.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static GetDocumentParameters fromJson(String jsonString)
      Deserializes a JSON string to a GetDocumentParameters object.