AppState class
Input properties used for looking up and filtering App resources.
Constructors
-
AppState({Input<
String?> ? appId, Input<AppAudioProcessingConfig?> ? audioProcessingConfig, Input<AppClientCertificateSettings?> ? clientCertificateSettings, Input<String?> ? createTime, Input<AppDataStoreSettings?> ? dataStoreSettings, Input<AppDefaultChannelProfile?> ? defaultChannelProfile, Input<String?> ? deletionPolicy, Input<int?> ? deploymentCount, Input<String?> ? description, Input<String?> ? displayName, Input<String?> ? etag, Input<AppEvaluationMetricsThresholds?> ? evaluationMetricsThresholds, Input<String?> ? globalInstruction, Input<List< ? guardrails, Input<String> ?>AppLanguageSettings?> ? languageSettings, Input<String?> ? location, Input<AppLoggingSettings?> ? loggingSettings, Input<Map< ? metadata, Input<String, String> ?>AppModelSettings?> ? modelSettings, Input<String?> ? name, Input<bool?> ? pinned, Input<String?> ? project, Input<String?> ? rootAgent, Input<AppTimeZoneSettings?> ? timeZoneSettings, Input<String?> ? toolExecutionMode, Input<String?> ? updateTime, Input<List< ? variableDeclarations})AppVariableDeclaration> ?> -
Creates a new AppState.
appIdThe ID to use for the app, which will become the final component ofaudioProcessingConfigConfiguration for how the input and output audio should be processed andclientCertificateSettingsThe default client certificate settings for the app.createTimeTimestamp when the app was created.dataStoreSettingsData store related settings for the app.defaultChannelProfileA ChannelProfile configures the agent's behavior for a specific communicationdeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.deploymentCountNumber of deployments in the app.descriptionHuman-readable description of the app.displayNameDisplay name of the app.etagEtag used to ensure the object hasn't changed during a read-modify-writeevaluationMetricsThresholdsThreshold settings for metrics in an Evaluation.globalInstructionInstructions for all the agents in the app.guardrailsList of guardrails for the app.languageSettingsLanguage settings of the app.locationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.loggingSettingsSettings to describe the logging behaviors for the app.metadataMetadata about the app. This field can be used to store additionalmodelSettingsModel settings contains various configurations for the LLM model.nameIdentifier. The unique identifier of the app.pinnedWhether the app is pinned in the app list.projectThe ID of the project in which the resource belongs.rootAgentThe root agent is the entry point of the app.timeZoneSettingsTimeZone settings of the app.toolExecutionModeThe tool execution mode for the app.updateTimeTimestamp when the app was last updated.variableDeclarationsThe declarations of the variables.const -
AppState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
appId
→ Input<
String?> ? -
The ID to use for the app, which will become the final component of
the app's resource name. If not provided, a unique ID will be
automatically assigned for the app.
final
-
audioProcessingConfig
→ Input<
AppAudioProcessingConfig?> ? -
Configuration for how the input and output audio should be processed and
delivered.
Structure is documented below.
final
-
clientCertificateSettings
→ Input<
AppClientCertificateSettings?> ? -
The default client certificate settings for the app.
Structure is documented below.
final
-
createTime
→ Input<
String?> ? -
Timestamp when the app was created.
final
-
dataStoreSettings
→ Input<
AppDataStoreSettings?> ? -
Data store related settings for the app.
Structure is documented below.
final
-
defaultChannelProfile
→ Input<
AppDefaultChannelProfile?> ? -
A ChannelProfile configures the agent's behavior for a specific communication
channel, such as web UI or telephony.
Structure is documented below.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
deploymentCount
→ Input<
int?> ? -
Number of deployments in the app.
final
-
description
→ Input<
String?> ? -
Human-readable description of the app.
final
-
displayName
→ Input<
String?> ? -
Display name of the app.
final
-
etag
→ Input<
String?> ? -
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.
final
-
evaluationMetricsThresholds
→ Input<
AppEvaluationMetricsThresholds?> ? -
Threshold settings for metrics in an Evaluation.
Structure is documented below.
final
-
globalInstruction
→ Input<
String?> ? -
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.
final
-
guardrails
→ Input<
List< ?String> ?> -
List of guardrails for the app.
Format:
projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}final - hashCode → int
-
The hash code for this object.
no setterinherited
-
languageSettings
→ Input<
AppLanguageSettings?> ? -
Language settings of the app.
Structure is documented below.
final
-
location
→ Input<
String?> ? -
Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.final -
loggingSettings
→ Input<
AppLoggingSettings?> ? -
Settings to describe the logging behaviors for the app.
Structure is documented below.
final
-
metadata
→ Input<
Map< ?String, String> ?> -
Metadata about the app. This field can be used to store additional
information relevant to the app's details or intended usages.
final
-
modelSettings
→ Input<
AppModelSettings?> ? -
Model settings contains various configurations for the LLM model.
Structure is documented below.
final
-
name
→ Input<
String?> ? -
Identifier. The unique identifier of the app.
Format:
projects/{project}/locations/{location}/apps/{app}final -
pinned
→ Input<
bool?> ? -
Whether the app is pinned in the app list.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
rootAgent
→ Input<
String?> ? -
The root agent is the entry point of the app.
Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
timeZoneSettings
→ Input<
AppTimeZoneSettings?> ? -
TimeZone settings of the app.
Structure is documented below.
final
-
toolExecutionMode
→ Input<
String?> ? -
The tool execution mode for the app.
See the API reference for more details.
final
-
updateTime
→ Input<
String?> ? -
Timestamp when the app was last updated.
final
-
variableDeclarations
→ Input<
List< ?AppVariableDeclaration> ?> -
The declarations of the variables.
Structure is documented below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited