Class ProjectsResource.LocationsResource.BuildsResource.GetRequest
Returns information about a previously requested build. The Build
that is returned includes its
status (such as SUCCESS
, FAILURE
, or WORKING
), and timing information.
Inheritance
ProjectsResource.LocationsResource.BuildsResource.GetRequest
Inherited Members
Namespace: Google.Apis.CloudBuild.v1
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class ProjectsResource.LocationsResource.BuildsResource.GetRequest : CloudBuildBaseServiceRequest<Build>, IClientServiceRequest<Build>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Id
Required. ID of the build.
Declaration
[RequestParameter("id", RequestParameterType.Query)]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
The name of the Build
to retrieve. Format:
projects/{project}/locations/{location}/builds/{build}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
ProjectId
Required. ID of the project.
Declaration
[RequestParameter("projectId", RequestParameterType.Query)]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()