Cloud Build v1 API - Class RunBuildTriggerRequest (2.2.0)

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.

Inheritance

Object > RunBuildTriggerRequest

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

RunBuildTriggerRequest()

public RunBuildTriggerRequest()

RunBuildTriggerRequest(RunBuildTriggerRequest)

public RunBuildTriggerRequest(RunBuildTriggerRequest other)
Parameter
NameDescription
otherRunBuildTriggerRequest

Properties

BuildTriggerName

public BuildTriggerName BuildTriggerName { get; set; }

BuildTriggerName-typed view over the Name resource name property.

Property Value
TypeDescription
BuildTriggerName

Name

public string Name { get; set; }

The name of the Trigger to run. Format: projects/{project}/locations/{location}/triggers/{trigger}

Property Value
TypeDescription
String

ProjectId

public string ProjectId { get; set; }

Required. ID of the project.

Property Value
TypeDescription
String

Source

public RepoSource Source { get; set; }

Source to build against this trigger.

Property Value
TypeDescription
RepoSource

TriggerId

public string TriggerId { get; set; }

Required. ID of the trigger.

Property Value
TypeDescription
String