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

src.cloudbuild.v1.GetTriggerResult.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.cloudbuild.v1


final case class GetTriggerResult private(
  approvalConfig: besom.api.googlenative.cloudbuild.v1.outputs.ApprovalConfigResponse,
  autodetect: Boolean,
  bitbucketServerTriggerConfig: besom.api.googlenative.cloudbuild.v1.outputs.BitbucketServerTriggerConfigResponse,
  build: besom.api.googlenative.cloudbuild.v1.outputs.BuildResponse,
  createTime: String,
  description: String,
  disabled: Boolean,
  eventType: String,
  filename: String,
  filter: String,
  gitFileSource: besom.api.googlenative.cloudbuild.v1.outputs.GitFileSourceResponse,
  github: besom.api.googlenative.cloudbuild.v1.outputs.GitHubEventsConfigResponse,
  gitlabEnterpriseEventsConfig: besom.api.googlenative.cloudbuild.v1.outputs.GitLabEventsConfigResponse,
  ignoredFiles: scala.collection.immutable.List[String],
  includeBuildLogs: String,
  includedFiles: scala.collection.immutable.List[String],
  name: String,
  pubsubConfig: besom.api.googlenative.cloudbuild.v1.outputs.PubsubConfigResponse,
  repositoryEventConfig: besom.api.googlenative.cloudbuild.v1.outputs.RepositoryEventConfigResponse,
  resourceName: String,
  serviceAccount: String,
  sourceToBuild: besom.api.googlenative.cloudbuild.v1.outputs.GitRepoSourceResponse,
  substitutions: scala.Predef.Map[String, String],
  tags: scala.collection.immutable.List[String],
  triggerTemplate: besom.api.googlenative.cloudbuild.v1.outputs.RepoSourceResponse,
  webhookConfig: besom.api.googlenative.cloudbuild.v1.outputs.WebhookConfigResponse
)
object GetTriggerResult :

  given decoder(using besom.types.Context): besom.types.Decoder[GetTriggerResult] =
    besom.internal.Decoder.derived[GetTriggerResult]



  given outputOps: {} with
    extension(output: besom.types.Output[GetTriggerResult])
      def approvalConfig : besom.types.Output[besom.api.googlenative.cloudbuild.v1.outputs.ApprovalConfigResponse] = output.map(_.approvalConfig)
      def autodetect : besom.types.Output[Boolean] = output.map(_.autodetect)
      def bitbucketServerTriggerConfig : besom.types.Output[besom.api.googlenative.cloudbuild.v1.outputs.BitbucketServerTriggerConfigResponse] = output.map(_.bitbucketServerTriggerConfig)
      def build : besom.types.Output[besom.api.googlenative.cloudbuild.v1.outputs.BuildResponse] = output.map(_.build)
      def createTime : besom.types.Output[String] = output.map(_.createTime)
      def description : besom.types.Output[String] = output.map(_.description)
      def disabled : besom.types.Output[Boolean] = output.map(_.disabled)
      def eventType : besom.types.Output[String] = output.map(_.eventType)
      def filename : besom.types.Output[String] = output.map(_.filename)
      def filter : besom.types.Output[String] = output.map(_.filter)
      def gitFileSource : besom.types.Output[besom.api.googlenative.cloudbuild.v1.outputs.GitFileSourceResponse] = output.map(_.gitFileSource)
      def github : besom.types.Output[besom.api.googlenative.cloudbuild.v1.outputs.GitHubEventsConfigResponse] = output.map(_.github)
      def gitlabEnterpriseEventsConfig : besom.types.Output[besom.api.googlenative.cloudbuild.v1.outputs.GitLabEventsConfigResponse] = output.map(_.gitlabEnterpriseEventsConfig)
      def ignoredFiles : besom.types.Output[scala.collection.immutable.List[String]] = output.map(_.ignoredFiles)
      def includeBuildLogs : besom.types.Output[String] = output.map(_.includeBuildLogs)
      def includedFiles : besom.types.Output[scala.collection.immutable.List[String]] = output.map(_.includedFiles)
      def name : besom.types.Output[String] = output.map(_.name)
      def pubsubConfig : besom.types.Output[besom.api.googlenative.cloudbuild.v1.outputs.PubsubConfigResponse] = output.map(_.pubsubConfig)
      def repositoryEventConfig : besom.types.Output[besom.api.googlenative.cloudbuild.v1.outputs.RepositoryEventConfigResponse] = output.map(_.repositoryEventConfig)
      def resourceName : besom.types.Output[String] = output.map(_.resourceName)
      def serviceAccount : besom.types.Output[String] = output.map(_.serviceAccount)
      def sourceToBuild : besom.types.Output[besom.api.googlenative.cloudbuild.v1.outputs.GitRepoSourceResponse] = output.map(_.sourceToBuild)
      def substitutions : besom.types.Output[scala.Predef.Map[String, String]] = output.map(_.substitutions)
      def tags : besom.types.Output[scala.collection.immutable.List[String]] = output.map(_.tags)
      def triggerTemplate : besom.types.Output[besom.api.googlenative.cloudbuild.v1.outputs.RepoSourceResponse] = output.map(_.triggerTemplate)
      def webhookConfig : besom.types.Output[besom.api.googlenative.cloudbuild.v1.outputs.WebhookConfigResponse] = output.map(_.webhookConfig)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetTriggerResult]])
      def approvalConfig : besom.types.Output[scala.Option[besom.api.googlenative.cloudbuild.v1.outputs.ApprovalConfigResponse]] = output.map(_.map(_.approvalConfig))
      def autodetect : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.autodetect))
      def bitbucketServerTriggerConfig : besom.types.Output[scala.Option[besom.api.googlenative.cloudbuild.v1.outputs.BitbucketServerTriggerConfigResponse]] = output.map(_.map(_.bitbucketServerTriggerConfig))
      def build : besom.types.Output[scala.Option[besom.api.googlenative.cloudbuild.v1.outputs.BuildResponse]] = output.map(_.map(_.build))
      def createTime : besom.types.Output[scala.Option[String]] = output.map(_.map(_.createTime))
      def description : besom.types.Output[scala.Option[String]] = output.map(_.map(_.description))
      def disabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.disabled))
      def eventType : besom.types.Output[scala.Option[String]] = output.map(_.map(_.eventType))
      def filename : besom.types.Output[scala.Option[String]] = output.map(_.map(_.filename))
      def filter : besom.types.Output[scala.Option[String]] = output.map(_.map(_.filter))
      def gitFileSource : besom.types.Output[scala.Option[besom.api.googlenative.cloudbuild.v1.outputs.GitFileSourceResponse]] = output.map(_.map(_.gitFileSource))
      def github : besom.types.Output[scala.Option[besom.api.googlenative.cloudbuild.v1.outputs.GitHubEventsConfigResponse]] = output.map(_.map(_.github))
      def gitlabEnterpriseEventsConfig : besom.types.Output[scala.Option[besom.api.googlenative.cloudbuild.v1.outputs.GitLabEventsConfigResponse]] = output.map(_.map(_.gitlabEnterpriseEventsConfig))
      def ignoredFiles : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.map(_.ignoredFiles))
      def includeBuildLogs : besom.types.Output[scala.Option[String]] = output.map(_.map(_.includeBuildLogs))
      def includedFiles : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.map(_.includedFiles))
      def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
      def pubsubConfig : besom.types.Output[scala.Option[besom.api.googlenative.cloudbuild.v1.outputs.PubsubConfigResponse]] = output.map(_.map(_.pubsubConfig))
      def repositoryEventConfig : besom.types.Output[scala.Option[besom.api.googlenative.cloudbuild.v1.outputs.RepositoryEventConfigResponse]] = output.map(_.map(_.repositoryEventConfig))
      def resourceName : besom.types.Output[scala.Option[String]] = output.map(_.map(_.resourceName))
      def serviceAccount : besom.types.Output[scala.Option[String]] = output.map(_.map(_.serviceAccount))
      def sourceToBuild : besom.types.Output[scala.Option[besom.api.googlenative.cloudbuild.v1.outputs.GitRepoSourceResponse]] = output.map(_.map(_.sourceToBuild))
      def substitutions : besom.types.Output[scala.Option[scala.Predef.Map[String, String]]] = output.map(_.map(_.substitutions))
      def tags : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.map(_.tags))
      def triggerTemplate : besom.types.Output[scala.Option[besom.api.googlenative.cloudbuild.v1.outputs.RepoSourceResponse]] = output.map(_.map(_.triggerTemplate))
      def webhookConfig : besom.types.Output[scala.Option[besom.api.googlenative.cloudbuild.v1.outputs.WebhookConfigResponse]] = output.map(_.map(_.webhookConfig))





© 2015 - 2025 Weber Informatics LLC | Privacy Policy