Documentation ¶
Index ¶
- func DialogflowAgent_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func DialogflowAgent_IsConstruct(x interface{}) *bool
- func DialogflowAgent_IsTerraformElement(x interface{}) *bool
- func DialogflowAgent_IsTerraformResource(x interface{}) *bool
- func DialogflowAgent_TfResourceType() *string
- func NewDialogflowAgentTimeoutsOutputReference_Override(d DialogflowAgentTimeoutsOutputReference, ...)
- func NewDialogflowAgent_Override(d DialogflowAgent, scope constructs.Construct, id *string, ...)
- type DialogflowAgent
- type DialogflowAgentConfig
- type DialogflowAgentTimeouts
- type DialogflowAgentTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialogflowAgent_GenerateConfigForImport ¶
func DialogflowAgent_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a DialogflowAgent resource upon running "cdktf plan <stack-name>".
func DialogflowAgent_IsConstruct ¶
func DialogflowAgent_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func DialogflowAgent_IsTerraformElement ¶
func DialogflowAgent_IsTerraformElement(x interface{}) *bool
Experimental.
func DialogflowAgent_IsTerraformResource ¶
func DialogflowAgent_IsTerraformResource(x interface{}) *bool
Experimental.
func DialogflowAgent_TfResourceType ¶
func DialogflowAgent_TfResourceType() *string
func NewDialogflowAgentTimeoutsOutputReference_Override ¶
func NewDialogflowAgentTimeoutsOutputReference_Override(d DialogflowAgentTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewDialogflowAgent_Override ¶
func NewDialogflowAgent_Override(d DialogflowAgent, scope constructs.Construct, id *string, config *DialogflowAgentConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent google_dialogflow_agent} Resource.
Types ¶
type DialogflowAgent ¶
type DialogflowAgent interface { cdktf.TerraformResource ApiVersion() *string SetApiVersion(val *string) ApiVersionInput() *string AvatarUri() *string SetAvatarUri(val *string) AvatarUriBackend() *string AvatarUriInput() *string // Experimental. CdktfStack() cdktf.TerraformStack ClassificationThreshold() *float64 SetClassificationThreshold(val *float64) ClassificationThresholdInput() *float64 // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) DefaultLanguageCode() *string SetDefaultLanguageCode(val *string) DefaultLanguageCodeInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string DisplayName() *string SetDisplayName(val *string) DisplayNameInput() *string EnableLogging() interface{} SetEnableLogging(val interface{}) EnableLoggingInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MatchMode() *string SetMatchMode(val *string) MatchModeInput() *string // The tree node. Node() constructs.Node Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} SupportedLanguageCodes() *[]*string SetSupportedLanguageCodes(val *[]*string) SupportedLanguageCodesInput() *[]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Tier() *string SetTier(val *string) TierInput() *string Timeouts() DialogflowAgentTimeoutsOutputReference TimeoutsInput() interface{} TimeZone() *string SetTimeZone(val *string) TimeZoneInput() *string // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutTimeouts(value *DialogflowAgentTimeouts) ResetApiVersion() ResetAvatarUri() ResetClassificationThreshold() ResetDescription() ResetEnableLogging() ResetId() ResetMatchMode() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() ResetSupportedLanguageCodes() ResetTier() ResetTimeouts() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent google_dialogflow_agent}.
func NewDialogflowAgent ¶
func NewDialogflowAgent(scope constructs.Construct, id *string, config *DialogflowAgentConfig) DialogflowAgent
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent google_dialogflow_agent} Resource.
type DialogflowAgentConfig ¶
type DialogflowAgentConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The default language of the agent as a language tag. // // [See Language Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. This field cannot be updated after creation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#default_language_code DialogflowAgent#default_language_code} DefaultLanguageCode *string `field:"required" json:"defaultLanguageCode" yaml:"defaultLanguageCode"` // The name of this agent. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#display_name DialogflowAgent#display_name} DisplayName *string `field:"required" json:"displayName" yaml:"displayName"` // The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#time_zone DialogflowAgent#time_zone} TimeZone *string `field:"required" json:"timeZone" yaml:"timeZone"` // API version displayed in Dialogflow console. // // If not specified, V2 API is assumed. Clients are free to query // different service endpoints for different API versions. However, bots connectors and webhook calls will follow // the specified API version. // * API_VERSION_V1: Legacy V1 API. // * API_VERSION_V2: V2 API. // * API_VERSION_V2_BETA_1: V2beta1 API. Possible values: ["API_VERSION_V1", "API_VERSION_V2", "API_VERSION_V2_BETA_1"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#api_version DialogflowAgent#api_version} ApiVersion *string `field:"optional" json:"apiVersion" yaml:"apiVersion"` // The URI of the agent's avatar, which are used throughout the Dialogflow console. // // When an image URL is entered // into this field, the Dialogflow will save the image in the backend. The address of the backend image returned // from the API will be shown in the [avatarUriBackend] field. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#avatar_uri DialogflowAgent#avatar_uri} AvatarUri *string `field:"optional" json:"avatarUri" yaml:"avatarUri"` // To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. // // If the returned score value is less than the threshold // value, then a fallback intent will be triggered or, if there are no fallback intents defined, no intent will be // triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the // default of 0.3 is used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#classification_threshold DialogflowAgent#classification_threshold} ClassificationThreshold *float64 `field:"optional" json:"classificationThreshold" yaml:"classificationThreshold"` // The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#description DialogflowAgent#description} Description *string `field:"optional" json:"description" yaml:"description"` // Determines whether this agent should log conversation queries. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#enable_logging DialogflowAgent#enable_logging} EnableLogging interface{} `field:"optional" json:"enableLogging" yaml:"enableLogging"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#id DialogflowAgent#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Determines how intents are detected from user queries. // // * MATCH_MODE_HYBRID: Best for agents with a small number of examples in intents and/or wide use of templates // syntax and composite entities. // * MATCH_MODE_ML_ONLY: Can be used for agents with a large number of examples in intents, especially the ones // using. MatchMode *string `field:"optional" json:"matchMode" yaml:"matchMode"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#project DialogflowAgent#project}. Project *string `field:"optional" json:"project" yaml:"project"` // The list of all languages supported by this agent (except for the defaultLanguageCode). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#supported_language_codes DialogflowAgent#supported_language_codes} SupportedLanguageCodes *[]*string `field:"optional" json:"supportedLanguageCodes" yaml:"supportedLanguageCodes"` // The agent tier. // // If not specified, TIER_STANDARD is assumed. // * TIER_STANDARD: Standard tier. // * TIER_ENTERPRISE: Enterprise tier (Essentials). // * TIER_ENTERPRISE_PLUS: Enterprise tier (Plus). // NOTE: Due to consistency issues, the provider will not read this field from the API. Drift is possible between // the Terraform state and Dialogflow if the agent tier is changed outside of Terraform. Possible values: ["TIER_STANDARD", "TIER_ENTERPRISE", "TIER_ENTERPRISE_PLUS"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#tier DialogflowAgent#tier} Tier *string `field:"optional" json:"tier" yaml:"tier"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#timeouts DialogflowAgent#timeouts} Timeouts *DialogflowAgentTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type DialogflowAgentTimeouts ¶
type DialogflowAgentTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#create DialogflowAgent#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#delete DialogflowAgent#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.8.0/docs/resources/dialogflow_agent#update DialogflowAgent#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type DialogflowAgentTimeoutsOutputReference ¶
type DialogflowAgentTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewDialogflowAgentTimeoutsOutputReference ¶
func NewDialogflowAgentTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) DialogflowAgentTimeoutsOutputReference