Cloud Build v1 API - Class CreateBuildRequest (2.1.0)

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

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

Request to create a new build.

Inheritance

Object > CreateBuildRequest

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

CreateBuildRequest()

public CreateBuildRequest()

CreateBuildRequest(CreateBuildRequest)

public CreateBuildRequest(CreateBuildRequest other)
Parameter
NameDescription
otherCreateBuildRequest

Properties

Build

public Build Build { get; set; }

Required. Build resource to create.

Property Value
TypeDescription
Build

Parent

public string Parent { get; set; }

The parent resource where this build 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.

Property Value
TypeDescription
String