Cloud Build v1 API - Class CreateBuildTriggerRequest (2.5.0)

public sealed class CreateBuildTriggerRequest : IMessage<CreateBuildTriggerRequest>, IEquatable<CreateBuildTriggerRequest>, IDeepCloneable<CreateBuildTriggerRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Build v1 API class CreateBuildTriggerRequest.

Request to create a new BuildTrigger.

Inheritance

object > CreateBuildTriggerRequest

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

CreateBuildTriggerRequest()

public CreateBuildTriggerRequest()

CreateBuildTriggerRequest(CreateBuildTriggerRequest)

public CreateBuildTriggerRequest(CreateBuildTriggerRequest other)
Parameter
NameDescription
otherCreateBuildTriggerRequest

Properties

Parent

public string Parent { get; set; }

The parent resource where this trigger will be created. Format: projects/{project}/locations/{location}

Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
TypeDescription
IResourceName

ProjectId

public string ProjectId { get; set; }

Required. ID of the project for which to configure automatic builds.

Property Value
TypeDescription
string

Trigger

public BuildTrigger Trigger { get; set; }

Required. BuildTrigger to create.

Property Value
TypeDescription
BuildTrigger