Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::App.
An app serves as a top-level container for a group of agents, including the root agent and its sub-agents, along with their associated configurations. These agents work together to achieve specific goals within the app's context.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#audio_processing_config
def audio_processing_config() -> ::Google::Cloud::Ces::V1beta::AudioProcessingConfig
Returns
- (::Google::Cloud::Ces::V1beta::AudioProcessingConfig) — Optional. Audio processing configuration of the app.
#audio_processing_config=
def audio_processing_config=(value) -> ::Google::Cloud::Ces::V1beta::AudioProcessingConfig
Parameter
- value (::Google::Cloud::Ces::V1beta::AudioProcessingConfig) — Optional. Audio processing configuration of the app.
Returns
- (::Google::Cloud::Ces::V1beta::AudioProcessingConfig) — Optional. Audio processing configuration of the app.
#client_certificate_settings
def client_certificate_settings() -> ::Google::Cloud::Ces::V1beta::ClientCertificateSettings
Returns
- (::Google::Cloud::Ces::V1beta::ClientCertificateSettings) — Optional. The default client certificate settings for the app.
#client_certificate_settings=
def client_certificate_settings=(value) -> ::Google::Cloud::Ces::V1beta::ClientCertificateSettings
Parameter
- value (::Google::Cloud::Ces::V1beta::ClientCertificateSettings) — Optional. The default client certificate settings for the app.
Returns
- (::Google::Cloud::Ces::V1beta::ClientCertificateSettings) — Optional. The default client certificate settings for the app.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when the app was created.
#data_store_settings
def data_store_settings() -> ::Google::Cloud::Ces::V1beta::DataStoreSettings
Returns
- (::Google::Cloud::Ces::V1beta::DataStoreSettings) — Optional. The data store settings for the app.
#data_store_settings=
def data_store_settings=(value) -> ::Google::Cloud::Ces::V1beta::DataStoreSettings
Parameter
- value (::Google::Cloud::Ces::V1beta::DataStoreSettings) — Optional. The data store settings for the app.
Returns
- (::Google::Cloud::Ces::V1beta::DataStoreSettings) — Optional. The data store settings for the app.
#default_channel_profile
def default_channel_profile() -> ::Google::Cloud::Ces::V1beta::ChannelProfile
Returns
- (::Google::Cloud::Ces::V1beta::ChannelProfile) — Optional. The default channel profile used by the app.
#default_channel_profile=
def default_channel_profile=(value) -> ::Google::Cloud::Ces::V1beta::ChannelProfile
Parameter
- value (::Google::Cloud::Ces::V1beta::ChannelProfile) — Optional. The default channel profile used by the app.
Returns
- (::Google::Cloud::Ces::V1beta::ChannelProfile) — Optional. The default channel profile used by the app.
#deployment_count
def deployment_count() -> ::Integer
Returns
- (::Integer) — Output only. Number of deployments in the app.
#description
def description() -> ::String
Returns
- (::String) — Optional. Human-readable description of the app.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. Human-readable description of the app.
Returns
- (::String) — Optional. Human-readable description of the app.
#display_name
def display_name() -> ::String
Returns
- (::String) — Required. Display name of the app.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Required. Display name of the app.
Returns
- (::String) — Required. Display name of the app.
#error_handling_settings
def error_handling_settings() -> ::Google::Cloud::Ces::V1beta::ErrorHandlingSettings
Returns
- (::Google::Cloud::Ces::V1beta::ErrorHandlingSettings) — Optional. Error handling settings of the app.
#error_handling_settings=
def error_handling_settings=(value) -> ::Google::Cloud::Ces::V1beta::ErrorHandlingSettings
Parameter
- value (::Google::Cloud::Ces::V1beta::ErrorHandlingSettings) — Optional. Error handling settings of the app.
Returns
- (::Google::Cloud::Ces::V1beta::ErrorHandlingSettings) — Optional. Error handling settings of the app.
#etag
def etag() -> ::String
Returns
- (::String) — Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
#evaluation_metrics_thresholds
def evaluation_metrics_thresholds() -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds) — Optional. The evaluation thresholds for the app.
#evaluation_metrics_thresholds=
def evaluation_metrics_thresholds=(value) -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds
Parameter
- value (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds) — Optional. The evaluation thresholds for the app.
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds) — Optional. The evaluation thresholds for the app.
#evaluation_personas
def evaluation_personas() -> ::Array<::Google::Cloud::Ces::V1beta::EvaluationPersona>
Returns
- (::Array<::Google::Cloud::Ces::V1beta::EvaluationPersona>) — Optional. The evaluation personas for the app. This field is used to define the personas that can be used for evaluation. Maximum of 30 personas can be defined.
#evaluation_personas=
def evaluation_personas=(value) -> ::Array<::Google::Cloud::Ces::V1beta::EvaluationPersona>
Parameter
- value (::Array<::Google::Cloud::Ces::V1beta::EvaluationPersona>) — Optional. The evaluation personas for the app. This field is used to define the personas that can be used for evaluation. Maximum of 30 personas can be defined.
Returns
- (::Array<::Google::Cloud::Ces::V1beta::EvaluationPersona>) — Optional. The evaluation personas for the app. This field is used to define the personas that can be used for evaluation. Maximum of 30 personas can be defined.
#evaluation_settings
def evaluation_settings() -> ::Google::Cloud::Ces::V1beta::EvaluationSettings
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationSettings) — Optional. The evaluation settings for the app.
#evaluation_settings=
def evaluation_settings=(value) -> ::Google::Cloud::Ces::V1beta::EvaluationSettings
Parameter
- value (::Google::Cloud::Ces::V1beta::EvaluationSettings) — Optional. The evaluation settings for the app.
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationSettings) — Optional. The evaluation settings for the app.
#global_instruction
def global_instruction() -> ::String
Returns
- (::String) — Optional. Instructions for all the agents in the app. You can use this instruction to set up a stable identity or personality across all the agents.
#global_instruction=
def global_instruction=(value) -> ::String
Parameter
- value (::String) — Optional. Instructions for all the agents in the app. You can use this instruction to set up a stable identity or personality across all the agents.
Returns
- (::String) — Optional. Instructions for all the agents in the app. You can use this instruction to set up a stable identity or personality across all the agents.
#guardrails
def guardrails() -> ::Array<::String>
Returns
-
(::Array<::String>) — Optional. List of guardrails for the app.
Format:
projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}
#guardrails=
def guardrails=(value) -> ::Array<::String>
Parameter
-
value (::Array<::String>) — Optional. List of guardrails for the app.
Format:
projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}
Returns
-
(::Array<::String>) — Optional. List of guardrails for the app.
Format:
projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}
#language_settings
def language_settings() -> ::Google::Cloud::Ces::V1beta::LanguageSettings
Returns
- (::Google::Cloud::Ces::V1beta::LanguageSettings) — Optional. Language settings of the app.
#language_settings=
def language_settings=(value) -> ::Google::Cloud::Ces::V1beta::LanguageSettings
Parameter
- value (::Google::Cloud::Ces::V1beta::LanguageSettings) — Optional. Language settings of the app.
Returns
- (::Google::Cloud::Ces::V1beta::LanguageSettings) — Optional. Language settings of the app.
#locked
def locked() -> ::Boolean
Returns
- (::Boolean) — Optional. Indicates whether the app is locked for changes. If the app is locked, modifications to the app resources will be rejected.
#locked=
def locked=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Indicates whether the app is locked for changes. If the app is locked, modifications to the app resources will be rejected.
Returns
- (::Boolean) — Optional. Indicates whether the app is locked for changes. If the app is locked, modifications to the app resources will be rejected.
#logging_settings
def logging_settings() -> ::Google::Cloud::Ces::V1beta::LoggingSettings
Returns
- (::Google::Cloud::Ces::V1beta::LoggingSettings) — Optional. Logging settings of the app.
#logging_settings=
def logging_settings=(value) -> ::Google::Cloud::Ces::V1beta::LoggingSettings
Parameter
- value (::Google::Cloud::Ces::V1beta::LoggingSettings) — Optional. Logging settings of the app.
Returns
- (::Google::Cloud::Ces::V1beta::LoggingSettings) — Optional. Logging settings of the app.
#metadata
def metadata() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Metadata about the app. This field can be used to store additional information relevant to the app's details or intended usages.
#metadata=
def metadata=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Metadata about the app. This field can be used to store additional information relevant to the app's details or intended usages.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Metadata about the app. This field can be used to store additional information relevant to the app's details or intended usages.
#model_settings
def model_settings() -> ::Google::Cloud::Ces::V1beta::ModelSettings
Returns
- (::Google::Cloud::Ces::V1beta::ModelSettings) — Optional. The default LLM model settings for the app. Individual resources (e.g. agents, guardrails) can override these configurations as needed.
#model_settings=
def model_settings=(value) -> ::Google::Cloud::Ces::V1beta::ModelSettings
Parameter
- value (::Google::Cloud::Ces::V1beta::ModelSettings) — Optional. The default LLM model settings for the app. Individual resources (e.g. agents, guardrails) can override these configurations as needed.
Returns
- (::Google::Cloud::Ces::V1beta::ModelSettings) — Optional. The default LLM model settings for the app. Individual resources (e.g. agents, guardrails) can override these configurations as needed.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. The unique identifier of the app.
Format:
projects/{project}/locations/{location}/apps/{app}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. The unique identifier of the app.
Format:
projects/{project}/locations/{location}/apps/{app}
Returns
-
(::String) — Identifier. The unique identifier of the app.
Format:
projects/{project}/locations/{location}/apps/{app}
#pinned
def pinned() -> ::Boolean
Returns
- (::Boolean) — Optional. Whether the app is pinned in the app list.
#pinned=
def pinned=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Whether the app is pinned in the app list.
Returns
- (::Boolean) — Optional. Whether the app is pinned in the app list.
#predefined_variable_declarations
def predefined_variable_declarations() -> ::Array<::Google::Cloud::Ces::V1beta::App::VariableDeclaration>
Returns
- (::Array<::Google::Cloud::Ces::V1beta::App::VariableDeclaration>) — Output only. The declarations of predefined variables for the app.
#root_agent
def root_agent() -> ::String
Returns
-
(::String) — Optional. The root agent is the entry point of the app.
Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
#root_agent=
def root_agent=(value) -> ::String
Parameter
-
value (::String) — Optional. The root agent is the entry point of the app.
Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
Returns
-
(::String) — Optional. The root agent is the entry point of the app.
Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
#time_zone_settings
def time_zone_settings() -> ::Google::Cloud::Ces::V1beta::TimeZoneSettings
Returns
- (::Google::Cloud::Ces::V1beta::TimeZoneSettings) — Optional. TimeZone settings of the app.
#time_zone_settings=
def time_zone_settings=(value) -> ::Google::Cloud::Ces::V1beta::TimeZoneSettings
Parameter
- value (::Google::Cloud::Ces::V1beta::TimeZoneSettings) — Optional. TimeZone settings of the app.
Returns
- (::Google::Cloud::Ces::V1beta::TimeZoneSettings) — Optional. TimeZone settings of the app.
#tool_execution_mode
def tool_execution_mode() -> ::Google::Cloud::Ces::V1beta::App::ToolExecutionMode
Returns
- (::Google::Cloud::Ces::V1beta::App::ToolExecutionMode) — Optional. The tool execution mode for the app. If not provided, will default to PARALLEL.
#tool_execution_mode=
def tool_execution_mode=(value) -> ::Google::Cloud::Ces::V1beta::App::ToolExecutionMode
Parameter
- value (::Google::Cloud::Ces::V1beta::App::ToolExecutionMode) — Optional. The tool execution mode for the app. If not provided, will default to PARALLEL.
Returns
- (::Google::Cloud::Ces::V1beta::App::ToolExecutionMode) — Optional. The tool execution mode for the app. If not provided, will default to PARALLEL.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when the app was last updated.
#variable_declarations
def variable_declarations() -> ::Array<::Google::Cloud::Ces::V1beta::App::VariableDeclaration>
Returns
- (::Array<::Google::Cloud::Ces::V1beta::App::VariableDeclaration>) — Optional. The declarations of the variables.
#variable_declarations=
def variable_declarations=(value) -> ::Array<::Google::Cloud::Ces::V1beta::App::VariableDeclaration>
Parameter
- value (::Array<::Google::Cloud::Ces::V1beta::App::VariableDeclaration>) — Optional. The declarations of the variables.
Returns
- (::Array<::Google::Cloud::Ces::V1beta::App::VariableDeclaration>) — Optional. The declarations of the variables.