Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::AssistantSessionArtifact (v1.2.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::AssistantSessionArtifact.

A document artifact generated by the assistant within a session, stored as a file in the customer's Cloud Storage bucket.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Output only. The file name shown to the user, e.g. "hotel_booking_tdd.md".

#gcs_uri

def gcs_uri() -> ::String
Returns
  • (::String) — Output only. The Cloud Storage object holding the artifact content. Example: "gs://{project}-agent-assist-artifacts/agent-assist-generated/1_tdd.md"

#id

def id() -> ::String
Returns
  • (::String) — Output only. The unique identifier of the artifact within the session.

#mime_type

def mime_type() -> ::String
Returns
  • (::String) — Output only. The IANA media type of the artifact content, e.g. "text/markdown".

#turn_index

def turn_index() -> ::Integer
Returns
  • (::Integer) — Output only. Index of the message in [AssistantSession.messages] whose turn produced the artifact, for placing the artifact chip when history is restored.