Cloud Build v1 API - Class CreateBuildTriggerRequest (2.13.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
Name Description
other CreateBuildTriggerRequest

Properties

Parent

public string Parent { get; set; }

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

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
Type Description
ProjectName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
Type Description
IResourceName

ProjectId

public string ProjectId { get; set; }

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

Property Value
Type Description
string

Trigger

public BuildTrigger Trigger { get; set; }

Required. BuildTrigger to create.

Property Value
Type Description
BuildTrigger