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

src.dialogflow.v2.ConversationProfile.scala Maven / Gradle / Ivy

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

final case class ConversationProfile private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  automatedAgentConfig: besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2AutomatedAgentConfigResponse],
  createTime: besom.types.Output[String],
  displayName: besom.types.Output[String],
  humanAgentAssistantConfig: besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2HumanAgentAssistantConfigResponse],
  humanAgentHandoffConfig: besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2HumanAgentHandoffConfigResponse],
  languageCode: besom.types.Output[String],
  location: besom.types.Output[String],
  loggingConfig: besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2LoggingConfigResponse],
  name: besom.types.Output[String],
  newMessageEventNotificationConfig: besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2NotificationConfigResponse],
  notificationConfig: besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2NotificationConfigResponse],
  project: besom.types.Output[String],
  securitySettings: besom.types.Output[String],
  sttConfig: besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2SpeechToTextConfigResponse],
  timeZone: besom.types.Output[String],
  ttsConfig: besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2SynthesizeSpeechConfigResponse],
  updateTime: besom.types.Output[String]
) extends besom.CustomResource

object ConversationProfile extends besom.ResourceCompanion[ConversationProfile]:
  /** Resource constructor for ConversationProfile. 
    * 
    * @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 [[ConversationProfileArgs]] 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 = ConversationProfile(
    *          "my-resource",
    *          ConversationProfileArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: ConversationProfileArgs,
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[ConversationProfile] =
    ctx.readOrRegisterResource[ConversationProfile, ConversationProfileArgs]("google-native:dialogflow/v2:ConversationProfile", name, args, opts(using besom.ResourceOptsVariant.Custom))

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

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

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


  given outputOps: {} with
    extension(output: besom.types.Output[ConversationProfile])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def automatedAgentConfig : besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2AutomatedAgentConfigResponse] = output.flatMap(_.automatedAgentConfig)
      def createTime : besom.types.Output[String] = output.flatMap(_.createTime)
      def displayName : besom.types.Output[String] = output.flatMap(_.displayName)
      def humanAgentAssistantConfig : besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2HumanAgentAssistantConfigResponse] = output.flatMap(_.humanAgentAssistantConfig)
      def humanAgentHandoffConfig : besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2HumanAgentHandoffConfigResponse] = output.flatMap(_.humanAgentHandoffConfig)
      def languageCode : besom.types.Output[String] = output.flatMap(_.languageCode)
      def location : besom.types.Output[String] = output.flatMap(_.location)
      def loggingConfig : besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2LoggingConfigResponse] = output.flatMap(_.loggingConfig)
      def name : besom.types.Output[String] = output.flatMap(_.name)
      def newMessageEventNotificationConfig : besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2NotificationConfigResponse] = output.flatMap(_.newMessageEventNotificationConfig)
      def notificationConfig : besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2NotificationConfigResponse] = output.flatMap(_.notificationConfig)
      def project : besom.types.Output[String] = output.flatMap(_.project)
      def securitySettings : besom.types.Output[String] = output.flatMap(_.securitySettings)
      def sttConfig : besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2SpeechToTextConfigResponse] = output.flatMap(_.sttConfig)
      def timeZone : besom.types.Output[String] = output.flatMap(_.timeZone)
      def ttsConfig : besom.types.Output[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2SynthesizeSpeechConfigResponse] = output.flatMap(_.ttsConfig)
      def updateTime : besom.types.Output[String] = output.flatMap(_.updateTime)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy