public sealed class RunBuildTriggerRequest : IMessage<RunBuildTriggerRequest>, IEquatable<RunBuildTriggerRequest>, IDeepCloneable<RunBuildTriggerRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class RunBuildTriggerRequest.
Specifies a build trigger to run and the source to use.
Implements
IMessageRunBuildTriggerRequest, IEquatableRunBuildTriggerRequest, IDeepCloneableRunBuildTriggerRequest, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
RunBuildTriggerRequest()
public RunBuildTriggerRequest()
RunBuildTriggerRequest(RunBuildTriggerRequest)
public RunBuildTriggerRequest(RunBuildTriggerRequest other)
Parameter | |
---|---|
Name | Description |
other |
RunBuildTriggerRequest |
Properties
BuildTriggerName
public BuildTriggerName BuildTriggerName { get; set; }
BuildTriggerName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
BuildTriggerName |
Name
public string Name { get; set; }
The name of the Trigger
to run.
Format: projects/{project}/locations/{location}/triggers/{trigger}
Property Value | |
---|---|
Type | Description |
string |
ProjectId
public string ProjectId { get; set; }
Required. ID of the project.
Property Value | |
---|---|
Type | Description |
string |
Source
public RepoSource Source { get; set; }
Source to build against this trigger. Branch and tag names cannot consist of regular expressions.
Property Value | |
---|---|
Type | Description |
RepoSource |
TriggerId
public string TriggerId { get; set; }
Required. ID of the trigger.
Property Value | |
---|---|
Type | Description |
string |