Show / Hide Table of Contents

Class TriggerState

Inheritance
System.Object
InputArgs
ResourceArgs
TriggerState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.CloudBuild
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class TriggerState : ResourceArgs

Constructors

View Source

TriggerState()

Declaration
public TriggerState()

Properties

View Source

Build

Contents of the build template. Either a filename or build template must be provided. Structure is documented below.

Declaration
public Input<TriggerBuildGetArgs> Build { get; set; }
Property Value
Type Description
Input<TriggerBuildGetArgs>
View Source

CreateTime

Time when the trigger was created.

Declaration
public Input<string> CreateTime { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Description

Human-readable description of the trigger.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Disabled

Whether the trigger is disabled or not. If true, the trigger will never result in a build.

Declaration
public Input<bool> Disabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Filename

Path, from the source root, to a file whose contents is used for the template. Either a filename or build template must be provided.

Declaration
public Input<string> Filename { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Github

Describes the configuration of a trigger that creates a build whenever a GitHub event is received. One of trigger_template or github must be provided. Structure is documented below.

Declaration
public Input<TriggerGithubGetArgs> Github { get; set; }
Property Value
Type Description
Input<TriggerGithubGetArgs>
View Source

IgnoredFiles

ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for **. If ignoredFiles and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignoredFiles is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignoredFiles globs, then we do not trigger a build.

Declaration
public InputList<string> IgnoredFiles { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

IncludedFiles

ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for **. If any of the files altered in the commit pass the ignoredFiles filter and includedFiles is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignoredFiles filter and includedFiles is not empty, then we make sure that at least one of those files matches a includedFiles glob. If not, then we do not trigger a build.

Declaration
public InputList<string> IncludedFiles { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Name

Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Declaration
public Input<string> Project { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Substitutions

Substitutions data for Build resource.

Declaration
public InputMap<string> Substitutions { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

TriggerId

The unique identifier for the trigger.

Declaration
public Input<string> TriggerId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

TriggerTemplate

Template describing the types of source changes to trigger a build. Branch and tag names in trigger templates are interpreted as regular expressions. Any branch or tag change that matches that regular expression will trigger a build. One of trigger_template or github must be provided. Structure is documented below.

Declaration
public Input<TriggerTriggerTemplateGetArgs> TriggerTemplate { get; set; }
Property Value
Type Description
Input<TriggerTriggerTemplateGetArgs>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.