Class DialogflowAgentConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • defaultLanguageCode

        @Stability(Stable)
        public DialogflowAgentConfig.Builder defaultLanguageCode​(String defaultLanguageCode)
        Parameters:
        defaultLanguageCode - The default language of the agent as a language tag. This parameter is required. [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/5.43.1/docs/resources/dialogflow_agent#default_language_code DialogflowAgent#default_language_code}
        Returns:
        this
      • displayName

        @Stability(Stable)
        public DialogflowAgentConfig.Builder displayName​(String displayName)
        Parameters:
        displayName - The name of this agent. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_agent#display_name DialogflowAgent#display_name}
        Returns:
        this
      • timeZone

        @Stability(Stable)
        public DialogflowAgentConfig.Builder timeZone​(String timeZone)
        Parameters:
        timeZone - The time zone of this agent from the time zone database, e.g., America/New_York, Europe/Paris. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_agent#time_zone DialogflowAgent#time_zone}
        Returns:
        this
      • apiVersion

        @Stability(Stable)
        public DialogflowAgentConfig.Builder apiVersion​(String apiVersion)
        Parameters:
        apiVersion - 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/5.43.1/docs/resources/dialogflow_agent#api_version DialogflowAgent#api_version}
        Returns:
        this
      • avatarUri

        @Stability(Stable)
        public DialogflowAgentConfig.Builder avatarUri​(String avatarUri)
        Parameters:
        avatarUri - 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/5.43.1/docs/resources/dialogflow_agent#avatar_uri DialogflowAgent#avatar_uri}
        Returns:
        this
      • classificationThreshold

        @Stability(Stable)
        public DialogflowAgentConfig.Builder classificationThreshold​(Number classificationThreshold)
        Parameters:
        classificationThreshold - 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/5.43.1/docs/resources/dialogflow_agent#classification_threshold DialogflowAgent#classification_threshold}
        Returns:
        this
      • description

        @Stability(Stable)
        public DialogflowAgentConfig.Builder description​(String description)
        Parameters:
        description - 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/5.43.1/docs/resources/dialogflow_agent#description DialogflowAgent#description}
        Returns:
        this
      • enableLogging

        @Stability(Stable)
        public DialogflowAgentConfig.Builder enableLogging​(Boolean enableLogging)
        Parameters:
        enableLogging - Determines whether this agent should log conversation queries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_agent#enable_logging DialogflowAgent#enable_logging}
        Returns:
        this
      • enableLogging

        @Stability(Stable)
        public DialogflowAgentConfig.Builder enableLogging​(com.hashicorp.cdktf.IResolvable enableLogging)
        Parameters:
        enableLogging - Determines whether this agent should log conversation queries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_agent#enable_logging DialogflowAgent#enable_logging}
        Returns:
        this
      • id

        @Stability(Stable)
        public DialogflowAgentConfig.Builder id​(String id)
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/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.
        Returns:
        this
      • matchMode

        @Stability(Stable)
        public DialogflowAgentConfig.Builder matchMode​(String matchMode)
        Parameters:
        matchMode - 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
        Returns:
        this
      • project

        @Stability(Stable)
        public DialogflowAgentConfig.Builder project​(String project)
        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_agent#project DialogflowAgent#project}.
        Returns:
        this
      • supportedLanguageCodes

        @Stability(Stable)
        public DialogflowAgentConfig.Builder supportedLanguageCodes​(List<String> supportedLanguageCodes)
        Parameters:
        supportedLanguageCodes - 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/5.43.1/docs/resources/dialogflow_agent#supported_language_codes DialogflowAgent#supported_language_codes}
        Returns:
        this
      • tier

        @Stability(Stable)
        public DialogflowAgentConfig.Builder tier​(String tier)
        Parameters:
        tier - 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/5.43.1/docs/resources/dialogflow_agent#tier DialogflowAgent#tier}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DialogflowAgentConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DialogflowAgentConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DialogflowAgentConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DialogflowAgentConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public DialogflowAgentConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public DialogflowAgentConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public DialogflowAgentConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public DialogflowAgentConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public DialogflowAgentConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this