cloudbuild  v1
Properties | List of all members
Google.Apis.CloudBuild.v1.Data.BuildTrigger Class Reference

Configuration for an automated build in response to source repository changes. More...

Inheritance diagram for Google.Apis.CloudBuild.v1.Data.BuildTrigger:
Google::Apis::Requests::IDirectResponseSchema

Properties

virtual Build Build [get, set]
 Contents of the build template. More...
 
virtual object CreateTime [get, set]
 Output only. Time when the trigger was created. More...
 
virtual string Description [get, set]
 Human-readable description of this trigger. More...
 
virtual System.Nullable< bool > Disabled [get, set]
 If true, the trigger will never result in a build. More...
 
virtual string Filename [get, set]
 Path, from the source root, to a file whose contents is used for the template. More...
 
virtual GitHubEventsConfig Github [get, set]
 GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. More...
 
virtual string Id [get, set]
 Output only. Unique identifier of the trigger. More...
 
virtual System.Collections.Generic.IList< string > IgnoredFiles [get, set]
 ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for "**". More...
 
virtual System.Collections.Generic.IList< string > IncludedFiles [get, set]
 If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. More...
 
virtual string Name [get, set]
 User-assigned name of the trigger. Must be unique within the project. Trigger names must meet the following requirements: More...
 
virtual System.Collections.Generic.IDictionary< string, string > Substitutions [get, set]
 Substitutions for Build resource. The keys must match the following regular expression: ^_[A-Z0-9_]+$.The keys cannot conflict with the keys in bindings. More...
 
virtual System.Collections.Generic.IList< string > Tags [get, set]
 Tags for annotation of a BuildTrigger More...
 
virtual RepoSource TriggerTemplate [get, set]
 Template describing the types of source changes to trigger a build. More...
 
virtual string ETag [get, set]
 The ETag of the item. More...
 
- Properties inherited from Google::Apis::Requests::IDirectResponseSchema
string ETag
 

Detailed Description

Configuration for an automated build in response to source repository changes.

Property Documentation

◆ Build

virtual Build Google.Apis.CloudBuild.v1.Data.BuildTrigger.Build
getset

Contents of the build template.

◆ CreateTime

virtual object Google.Apis.CloudBuild.v1.Data.BuildTrigger.CreateTime
getset

Output only. Time when the trigger was created.

◆ Description

virtual string Google.Apis.CloudBuild.v1.Data.BuildTrigger.Description
getset

Human-readable description of this trigger.

◆ Disabled

virtual System.Nullable<bool> Google.Apis.CloudBuild.v1.Data.BuildTrigger.Disabled
getset

If true, the trigger will never result in a build.

◆ ETag

virtual string Google.Apis.CloudBuild.v1.Data.BuildTrigger.ETag
getset

The ETag of the item.

◆ Filename

virtual string Google.Apis.CloudBuild.v1.Data.BuildTrigger.Filename
getset

Path, from the source root, to a file whose contents is used for the template.

◆ Github

virtual GitHubEventsConfig Google.Apis.CloudBuild.v1.Data.BuildTrigger.Github
getset

GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.

Mutually exclusive with trigger_template.

◆ Id

virtual string Google.Apis.CloudBuild.v1.Data.BuildTrigger.Id
getset

Output only. Unique identifier of the trigger.

◆ IgnoredFiles

virtual System.Collections.Generic.IList<string> Google.Apis.CloudBuild.v1.Data.BuildTrigger.IgnoredFiles
getset

ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for "**".

If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build.

If ignored_files 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 ignored_files globs, then we do not trigger a build.

◆ IncludedFiles

virtual System.Collections.Generic.IList<string> Google.Apis.CloudBuild.v1.Data.BuildTrigger.IncludedFiles
getset

If any of the files altered in the commit pass the ignored_files filter and included_files 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 ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build.

◆ Name

virtual string Google.Apis.CloudBuild.v1.Data.BuildTrigger.Name
getset

User-assigned name of the trigger. Must be unique within the project. Trigger names must meet the following requirements:

  • They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.

◆ Substitutions

virtual System.Collections.Generic.IDictionary<string,string> Google.Apis.CloudBuild.v1.Data.BuildTrigger.Substitutions
getset

Substitutions for Build resource. The keys must match the following regular expression: ^_[A-Z0-9_]+$.The keys cannot conflict with the keys in bindings.

◆ Tags

virtual System.Collections.Generic.IList<string> Google.Apis.CloudBuild.v1.Data.BuildTrigger.Tags
getset

Tags for annotation of a BuildTrigger

◆ TriggerTemplate

virtual RepoSource Google.Apis.CloudBuild.v1.Data.BuildTrigger.TriggerTemplate
getset

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.

Mutually exclusive with github.


The documentation for this class was generated from the following file: