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.
Namespace
Google.Cloud.Run.V2Assembly
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 |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
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. |
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. |