TriggerState constructor

const TriggerState({
  1. Input<TriggerApprovalConfig?>? approvalConfig,
  2. Input<TriggerBitbucketServerTriggerConfig?>? bitbucketServerTriggerConfig,
  3. Input<TriggerBuild?>? build,
  4. Input<String?>? createTime,
  5. Input<String?>? deletionPolicy,
  6. Input<String?>? description,
  7. Input<TriggerDeveloperConnectEventConfig?>? developerConnectEventConfig,
  8. Input<bool?>? disabled,
  9. Input<String?>? filename,
  10. Input<String?>? filter,
  11. Input<TriggerGitFileSource?>? gitFileSource,
  12. Input<TriggerGithub?>? github,
  13. Input<List<String>?>? ignoredFiles,
  14. Input<String?>? includeBuildLogs,
  15. Input<List<String>?>? includedFiles,
  16. Input<String?>? location,
  17. Input<String?>? name,
  18. Input<String?>? project,
  19. Input<TriggerPubsubConfig?>? pubsubConfig,
  20. Input<TriggerRepositoryEventConfig?>? repositoryEventConfig,
  21. Input<String?>? serviceAccount,
  22. Input<TriggerSourceToBuild?>? sourceToBuild,
  23. Input<Map<String, String>?>? substitutions,
  24. Input<List<String>?>? tags,
  25. Input<String?>? triggerId,
  26. Input<TriggerTriggerTemplate?>? triggerTemplate,
  27. Input<TriggerWebhookConfig?>? webhookConfig,
})

Creates a new TriggerState. approvalConfig Configuration for manual approval to start a build invocation of this BuildTrigger. bitbucketServerTriggerConfig BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received. build Contents of the build template. Either a filename or build template must be provided. createTime Time when the trigger was created. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description Human-readable description of the trigger. developerConnectEventConfig Configuration for triggers that respond to Developer Connect events. disabled Whether the trigger is disabled or not. If true, the trigger will never result in a build. filename Path, from the source root, to a file whose contents is used for the template. filter A Common Expression Language string. Used only with Pub/Sub and Webhook. gitFileSource The file source describing the local or remote Build template. github Describes the configuration of a trigger that creates a build whenever a GitHub event is received. ignoredFiles ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match includeBuildLogs Build logs will be sent back to GitHub as part of the checkrun includedFiles ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match location The Cloud Build location for the trigger. name Name of the trigger. Must be unique within the project. project The ID of the project in which the resource belongs. pubsubConfig PubsubConfig describes the configuration of a trigger that creates repositoryEventConfig The configuration of a trigger that creates a build whenever an event from Repo API is received. serviceAccount The service account used for all user-controlled operations including sourceToBuild The repo and ref of the repository from which to build. substitutions Substitutions data for Build resource. tags Tags for annotation of a BuildTrigger triggerId The unique identifier for the trigger. triggerTemplate Template describing the types of source changes to trigger a build. webhookConfig WebhookConfig describes the configuration of a trigger that creates

Implementation

const TriggerState({
  this.approvalConfig,
  this.bitbucketServerTriggerConfig,
  this.build,
  this.createTime,
  this.deletionPolicy,
  this.description,
  this.developerConnectEventConfig,
  this.disabled,
  this.filename,
  this.filter,
  this.gitFileSource,
  this.github,
  this.ignoredFiles,
  this.includeBuildLogs,
  this.includedFiles,
  this.location,
  this.name,
  this.project,
  this.pubsubConfig,
  this.repositoryEventConfig,
  this.serviceAccount,
  this.sourceToBuild,
  this.substitutions,
  this.tags,
  this.triggerId,
  this.triggerTemplate,
  this.webhookConfig,
});