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.
Implements
IMessageCreateBuildRequest, IEquatableCreateBuildRequest, IDeepCloneableCreateBuildRequest, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.CloudBuildV1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
CreateBuildRequest()
public CreateBuildRequest()
CreateBuildRequest(CreateBuildRequest)
public CreateBuildRequest(CreateBuildRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateBuildRequest |
Properties
Build
public Build Build { get; set; }
Required. Build resource to create.
Property Value | |
---|---|
Type | Description |
Build |
Parent
public string Parent { get; set; }
The parent resource where this build 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.
Property Value | |
---|---|
Type | Description |
string |