AiLogicPromptTemplateState class
Input properties used for looking up and filtering AiLogicPromptTemplate resources.
Constructors
-
AiLogicPromptTemplateState({Input<
String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? displayName, Input<String?> ? location, Input<bool?> ? locked, Input<String?> ? model, Input<String?> ? name, Input<String?> ? project, Input<bool?> ? regionalPropagationDisabled, Input<String?> ? stateChangeTime, Input<String?> ? templateId, Input<String?> ? templateString, Input<String?> ? updateTime}) -
Creates a new AiLogicPromptTemplateState.
createTimeTimestamp when the PromptTemplate was created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.displayNameThe display name of the PromptTemplate.locationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.lockedIndicates if the PromptTemplate has been locked for mutations. It ismodelThe model name parsed from the template_string.nameIdentifier. The resource name of the PromptTemplate.projectThe ID of the project in which the resource belongs.regionalPropagationDisabledFor thegloballocation only. If true, the write operation (create,stateChangeTimeTimestamp when the PromptTemplate state was last changed.templateIdThe unique ID of the PromptTemplate, which is the final component of thetemplateStringThe Dotprompt raw template string.updateTimeTimestamp when the PromptTemplate was last updated.const -
AiLogicPromptTemplateState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
createTime
→ Input<
String?> ? -
Timestamp when the PromptTemplate 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
-
displayName
→ Input<
String?> ? -
The display name of the PromptTemplate.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
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 -
locked
→ Input<
bool?> ? -
Indicates if the PromptTemplate has been locked for mutations. It is
strongly recommended that PromptTemplates used in production Apps be
locked to avoid accidental distruption to live apps.
To modify a PromptTemplate that has been locked, a call to ModifyLock with
lock=false is required first.
final
-
model
→ Input<
String?> ? -
The model name parsed from the template_string.
final
-
name
→ Input<
String?> ? -
Identifier. The resource name of the PromptTemplate.
Format:
projects/{project}/locations/{location}/templates/{prompt_template}
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
-
regionalPropagationDisabled
→ Input<
bool?> ? -
For the
globallocation only. If true, the write operation (create, update, or delete) will apply to the global region only. Otherwise, the operation will also propagate to all applicable regions.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stateChangeTime
→ Input<
String?> ? -
Timestamp when the PromptTemplate state was last changed.
final
-
templateId
→ Input<
String?> ? -
The unique ID of the PromptTemplate, which is the final component of the
PromptTemplate's resource name.
final
-
templateString
→ Input<
String?> ? -
The Dotprompt raw template string.
final
-
updateTime
→ Input<
String?> ? -
Timestamp when the PromptTemplate 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