Cloud Run Admin v2 API - Class BuildsClientImpl (2.12.0)

public sealed class BuildsClientImpl : BuildsClient

Reference documentation and code samples for the Cloud Run Admin v2 API class BuildsClientImpl.

Builds client wrapper implementation, for convenient use.

Inheritance

object > BuildsClient > BuildsClientImpl

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Remarks

Cloud Run Build Control Plane API

Constructors

BuildsClientImpl(BuildsClient, BuildsSettings, ILogger)

public BuildsClientImpl(Builds.BuildsClient grpcClient, BuildsSettings settings, ILogger logger)

Constructs a client wrapper for the Builds service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient BuildsBuildsClient

The underlying gRPC client.

settings BuildsSettings

The base BuildsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override Builds.BuildsClient GrpcClient { get; }

The underlying gRPC Builds client

Property Value
Type Description
BuildsBuildsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

SubmitBuild(SubmitBuildRequest, CallSettings)

public override SubmitBuildResponse SubmitBuild(SubmitBuildRequest request, CallSettings callSettings = null)

Submits a build in a given project.

Parameters
Name Description
request SubmitBuildRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
SubmitBuildResponse

The RPC response.

Overrides

SubmitBuildAsync(SubmitBuildRequest, CallSettings)

public override Task<SubmitBuildResponse> SubmitBuildAsync(SubmitBuildRequest request, CallSettings callSettings = null)

Submits a build in a given project.

Parameters
Name Description
request SubmitBuildRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSubmitBuildResponse

A Task containing the RPC response.

Overrides