All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.dialogflow.v3.Agent.scala Maven / Gradle / Ivy

The newest version!
package besom.api.googlenative.dialogflow.v3

final case class Agent private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  advancedSettings: besom.types.Output[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3AdvancedSettingsResponse],
  answerFeedbackSettings: besom.types.Output[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettingsResponse],
  avatarUri: besom.types.Output[String],
  defaultLanguageCode: besom.types.Output[String],
  description: besom.types.Output[String],
  displayName: besom.types.Output[String],
  enableSpellCorrection: besom.types.Output[Boolean],
  enableStackdriverLogging: besom.types.Output[Boolean],
  genAppBuilderSettings: besom.types.Output[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3AgentGenAppBuilderSettingsResponse],
  gitIntegrationSettings: besom.types.Output[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsResponse],
  location: besom.types.Output[String],
  locked: besom.types.Output[Boolean],
  name: besom.types.Output[String],
  project: besom.types.Output[String],
  securitySettings: besom.types.Output[String],
  speechToTextSettings: besom.types.Output[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3SpeechToTextSettingsResponse],
  startFlow: besom.types.Output[String],
  supportedLanguageCodes: besom.types.Output[scala.collection.immutable.List[String]],
  textToSpeechSettings: besom.types.Output[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3TextToSpeechSettingsResponse],
  timeZone: besom.types.Output[String]
) extends besom.CustomResource

object Agent extends besom.ResourceCompanion[Agent]:
  /** Resource constructor for Agent. 
    * 
    * @param name [[besom.util.NonEmptyString]] The unique (stack-wise) name of the resource in Pulumi state (not on provider's side).
    *        NonEmptyString is inferred automatically from non-empty string literals, even when interpolated. If you encounter any
    *        issues with this, please try using `: NonEmptyString` type annotation. If you need to convert a dynamically generated
    *        string to NonEmptyString, use `NonEmptyString.apply` method - `NonEmptyString(str): Option[NonEmptyString]`.
    *
    * @param args [[AgentArgs]] The configuration to use to create this resource. 
    *
    * @param opts [[besom.CustomResourceOptions]] Resource options to use for this resource. 
    *        Defaults to empty options. If you need to set some options, use [[besom.opts]] function to create them, for example:
    *  
    *        {{{
    *        val res = Agent(
    *          "my-resource",
    *          AgentArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: AgentArgs,
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[Agent] =
    ctx.readOrRegisterResource[Agent, AgentArgs]("google-native:dialogflow/v3:Agent", name, args, opts(using besom.ResourceOptsVariant.Custom))

  private[besom] def typeToken: besom.types.ResourceType = "google-native:dialogflow/v3:Agent"

  given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[Agent] =
    besom.internal.ResourceDecoder.derived[Agent]

  given decoder(using besom.types.Context): besom.types.Decoder[Agent] =
    besom.internal.Decoder.customResourceDecoder[Agent]


  given outputOps: {} with
    extension(output: besom.types.Output[Agent])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def advancedSettings : besom.types.Output[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3AdvancedSettingsResponse] = output.flatMap(_.advancedSettings)
      def answerFeedbackSettings : besom.types.Output[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettingsResponse] = output.flatMap(_.answerFeedbackSettings)
      def avatarUri : besom.types.Output[String] = output.flatMap(_.avatarUri)
      def defaultLanguageCode : besom.types.Output[String] = output.flatMap(_.defaultLanguageCode)
      def description : besom.types.Output[String] = output.flatMap(_.description)
      def displayName : besom.types.Output[String] = output.flatMap(_.displayName)
      def enableSpellCorrection : besom.types.Output[Boolean] = output.flatMap(_.enableSpellCorrection)
      def enableStackdriverLogging : besom.types.Output[Boolean] = output.flatMap(_.enableStackdriverLogging)
      def genAppBuilderSettings : besom.types.Output[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3AgentGenAppBuilderSettingsResponse] = output.flatMap(_.genAppBuilderSettings)
      def gitIntegrationSettings : besom.types.Output[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsResponse] = output.flatMap(_.gitIntegrationSettings)
      def location : besom.types.Output[String] = output.flatMap(_.location)
      def locked : besom.types.Output[Boolean] = output.flatMap(_.locked)
      def name : besom.types.Output[String] = output.flatMap(_.name)
      def project : besom.types.Output[String] = output.flatMap(_.project)
      def securitySettings : besom.types.Output[String] = output.flatMap(_.securitySettings)
      def speechToTextSettings : besom.types.Output[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3SpeechToTextSettingsResponse] = output.flatMap(_.speechToTextSettings)
      def startFlow : besom.types.Output[String] = output.flatMap(_.startFlow)
      def supportedLanguageCodes : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.supportedLanguageCodes)
      def textToSpeechSettings : besom.types.Output[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3TextToSpeechSettingsResponse] = output.flatMap(_.textToSpeechSettings)
      def timeZone : besom.types.Output[String] = output.flatMap(_.timeZone)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy