ExampleState class

Input properties used for looking up and filtering Example resources.

Constructors

ExampleState({Input<String?>? app, Input<String?>? createTime, Input<String?>? deletionPolicy, Input<String?>? description, Input<String?>? displayName, Input<String?>? entryAgent, Input<String?>? etag, Input<String?>? exampleId, Input<bool?>? invalid, Input<String?>? location, Input<List<ExampleMessage>?>? messages, Input<String?>? name, Input<String?>? project, Input<String?>? updateTime})
Creates a new ExampleState. app Resource ID segment making up resource name, defining the app the example belongs to. It identifies the resource within its parent collection as described in https://google.aip.dev/122. createTime Timestamp when the example was created. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description Human-readable description of the example. displayName Display name of the example. entryAgent The agent that initially handles the conversation. If not specified, the etag Etag used to ensure the object hasn't changed during a read-modify-write exampleId The ID to use for the example, which will become the final component of invalid The example may become invalid if referencing resources are deleted. location Resource ID segment making up resource name, defining what region the parent app is in. It identifies the resource within its parent collection as described in https://google.aip.dev/122. messages The collection of messages that make up the conversation. name Identifier. The unique identifier of the example. project The ID of the project in which the resource belongs. updateTime Timestamp when the example was last updated.
const
ExampleState.fromMap(Map<String, dynamic> map)
factory

Properties

app → Input<String?>?
Resource ID segment making up resource name, defining the app the example belongs to. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
final
createTime → Input<String?>?
Timestamp when the example was created.
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
description → Input<String?>?
Human-readable description of the example.
final
displayName → Input<String?>?
Display name of the example.
final
entryAgent → Input<String?>?
The agent that initially handles the conversation. If not specified, the example represents a conversation that is handled by the root agent. Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}
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
exampleId → Input<String?>?
The ID to use for the example, which will become the final component of the example's resource name. In Terraform, this field is required.
final
hashCode → int
The hash code for this object.
no setterinherited
invalid → Input<bool?>?
The example may become invalid if referencing resources are deleted. Invalid examples will not be used as few-shot examples.
final
location → Input<String?>?
Resource ID segment making up resource name, defining what region the parent app is in. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
final
messages → Input<List<ExampleMessage>?>?
The collection of messages that make up the conversation. Structure is documented below.
final
name → Input<String?>?
Identifier. The unique identifier of the example. Format: projects/{project}/locations/{location}/apps/{app}/examples/{example}
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
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updateTime → Input<String?>?
Timestamp when the example was last updated.
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