ExampleArgs class
The set of arguments for Example. The set of arguments for Example.
Constructors
-
ExampleArgs({required Input<
String> app, Input<String?> ? deletionPolicy, Input<String?> ? description, required Input<String> displayName, Input<String?> ? entryAgent, required Input<String> exampleId, required Input<String> location, Input<List< ? messages, Input<ExampleMessage> ?>String?> ? project}) -
Creates a new ExampleArgs.
appResource ID segment making up resourcename, defining the app the example belongs to. It identifies the resource within its parent collection as described in https://google.aip.dev/122.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionHuman-readable description of the example.displayNameDisplay name of the example.entryAgentThe agent that initially handles the conversation. If not specified, theexampleIdThe ID to use for the example, which will become the final component oflocationResource ID segment making up resourcename, defining what region the parent app is in. It identifies the resource within its parent collection as described in https://google.aip.dev/122.messagesThe collection of messages that make up the conversation.projectThe ID of the project in which the resource belongs.const -
ExampleArgs.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 -
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 -
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
-
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
-
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
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