public class CloudBuildClient : ClientBase<CloudBuild.CloudBuildClient>
Client for CloudBuild
Inheritance
Object > ClientBase > ClientBase<CloudBuild.CloudBuildClient> > CloudBuild.CloudBuildClientNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
CloudBuildClient()
protected CloudBuildClient()
Protected parameterless constructor to allow creation of test doubles.
CloudBuildClient(CallInvoker)
public CloudBuildClient(CallInvoker callInvoker)
Creates a new client for CloudBuild that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
CloudBuildClient(ChannelBase)
public CloudBuildClient(ChannelBase channel)
Creates a new client for CloudBuild
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
CloudBuildClient(ClientBase.ClientBaseConfiguration)
protected CloudBuildClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CancelBuild(CancelBuildRequest, CallOptions)
public virtual Build CancelBuild(CancelBuildRequest request, CallOptions options)
Cancels a build in progress.
Parameters | |
---|---|
Name | Description |
request | CancelBuildRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Build | The response received from the server. |
CancelBuild(CancelBuildRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Build CancelBuild(CancelBuildRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Cancels a build in progress.
Parameters | |
---|---|
Name | Description |
request | CancelBuildRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Build | The response received from the server. |
CancelBuildAsync(CancelBuildRequest, CallOptions)
public virtual AsyncUnaryCall<Build> CancelBuildAsync(CancelBuildRequest request, CallOptions options)
Cancels a build in progress.
Parameters | |
---|---|
Name | Description |
request | CancelBuildRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Build> | The call object. |
CancelBuildAsync(CancelBuildRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Build> CancelBuildAsync(CancelBuildRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Cancels a build in progress.
Parameters | |
---|---|
Name | Description |
request | CancelBuildRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Build> | The call object. |
CreateBuild(CreateBuildRequest, CallOptions)
public virtual Operation CreateBuild(CreateBuildRequest request, CallOptions options)
Starts a build with the specified configuration.
This method returns a long-running Operation
, which includes the build
ID. Pass the build ID to GetBuild
to determine the build status (such as
SUCCESS
or FAILURE
).
Parameters | |
---|---|
Name | Description |
request | CreateBuildRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateBuild(CreateBuildRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateBuild(CreateBuildRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Starts a build with the specified configuration.
This method returns a long-running Operation
, which includes the build
ID. Pass the build ID to GetBuild
to determine the build status (such as
SUCCESS
or FAILURE
).
Parameters | |
---|---|
Name | Description |
request | CreateBuildRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateBuildAsync(CreateBuildRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateBuildAsync(CreateBuildRequest request, CallOptions options)
Starts a build with the specified configuration.
This method returns a long-running Operation
, which includes the build
ID. Pass the build ID to GetBuild
to determine the build status (such as
SUCCESS
or FAILURE
).
Parameters | |
---|---|
Name | Description |
request | CreateBuildRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateBuildAsync(CreateBuildRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateBuildAsync(CreateBuildRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Starts a build with the specified configuration.
This method returns a long-running Operation
, which includes the build
ID. Pass the build ID to GetBuild
to determine the build status (such as
SUCCESS
or FAILURE
).
Parameters | |
---|---|
Name | Description |
request | CreateBuildRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateBuildTrigger(CreateBuildTriggerRequest, CallOptions)
public virtual BuildTrigger CreateBuildTrigger(CreateBuildTriggerRequest request, CallOptions options)
Creates a new BuildTrigger
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | CreateBuildTriggerRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
BuildTrigger | The response received from the server. |
CreateBuildTrigger(CreateBuildTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual BuildTrigger CreateBuildTrigger(CreateBuildTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a new BuildTrigger
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | CreateBuildTriggerRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
BuildTrigger | The response received from the server. |
CreateBuildTriggerAsync(CreateBuildTriggerRequest, CallOptions)
public virtual AsyncUnaryCall<BuildTrigger> CreateBuildTriggerAsync(CreateBuildTriggerRequest request, CallOptions options)
Creates a new BuildTrigger
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | CreateBuildTriggerRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<BuildTrigger> | The call object. |
CreateBuildTriggerAsync(CreateBuildTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<BuildTrigger> CreateBuildTriggerAsync(CreateBuildTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a new BuildTrigger
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | CreateBuildTriggerRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<BuildTrigger> | The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
Operations.OperationsClient | A new Operations client for the same target as this client. |
CreateWorkerPool(CreateWorkerPoolRequest, CallOptions)
public virtual WorkerPool CreateWorkerPool(CreateWorkerPoolRequest request, CallOptions options)
Creates a WorkerPool
to run the builds, and returns the new worker pool.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | CreateWorkerPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
WorkerPool | The response received from the server. |
CreateWorkerPool(CreateWorkerPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual WorkerPool CreateWorkerPool(CreateWorkerPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a WorkerPool
to run the builds, and returns the new worker pool.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | CreateWorkerPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
WorkerPool | The response received from the server. |
CreateWorkerPoolAsync(CreateWorkerPoolRequest, CallOptions)
public virtual AsyncUnaryCall<WorkerPool> CreateWorkerPoolAsync(CreateWorkerPoolRequest request, CallOptions options)
Creates a WorkerPool
to run the builds, and returns the new worker pool.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | CreateWorkerPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<WorkerPool> | The call object. |
CreateWorkerPoolAsync(CreateWorkerPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<WorkerPool> CreateWorkerPoolAsync(CreateWorkerPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a WorkerPool
to run the builds, and returns the new worker pool.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | CreateWorkerPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<WorkerPool> | The call object. |
DeleteBuildTrigger(DeleteBuildTriggerRequest, CallOptions)
public virtual Empty DeleteBuildTrigger(DeleteBuildTriggerRequest request, CallOptions options)
Deletes a BuildTrigger
by its project ID and trigger ID.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | DeleteBuildTriggerRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteBuildTrigger(DeleteBuildTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteBuildTrigger(DeleteBuildTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes a BuildTrigger
by its project ID and trigger ID.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | DeleteBuildTriggerRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteBuildTriggerAsync(DeleteBuildTriggerRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteBuildTriggerAsync(DeleteBuildTriggerRequest request, CallOptions options)
Deletes a BuildTrigger
by its project ID and trigger ID.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | DeleteBuildTriggerRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteBuildTriggerAsync(DeleteBuildTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteBuildTriggerAsync(DeleteBuildTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes a BuildTrigger
by its project ID and trigger ID.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | DeleteBuildTriggerRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteWorkerPool(DeleteWorkerPoolRequest, CallOptions)
public virtual Empty DeleteWorkerPool(DeleteWorkerPoolRequest request, CallOptions options)
Deletes a WorkerPool
by its project ID and WorkerPool name.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | DeleteWorkerPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteWorkerPool(DeleteWorkerPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteWorkerPool(DeleteWorkerPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes a WorkerPool
by its project ID and WorkerPool name.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | DeleteWorkerPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteWorkerPoolAsync(DeleteWorkerPoolRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteWorkerPoolAsync(DeleteWorkerPoolRequest request, CallOptions options)
Deletes a WorkerPool
by its project ID and WorkerPool name.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | DeleteWorkerPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteWorkerPoolAsync(DeleteWorkerPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteWorkerPoolAsync(DeleteWorkerPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes a WorkerPool
by its project ID and WorkerPool name.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | DeleteWorkerPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
GetBuild(GetBuildRequest, CallOptions)
public virtual Build GetBuild(GetBuildRequest request, CallOptions options)
Returns information about a previously requested build.
The Build
that is returned includes its status (such as SUCCESS
,
FAILURE
, or WORKING
), and timing information.
Parameters | |
---|---|
Name | Description |
request | GetBuildRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Build | The response received from the server. |
GetBuild(GetBuildRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Build GetBuild(GetBuildRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns information about a previously requested build.
The Build
that is returned includes its status (such as SUCCESS
,
FAILURE
, or WORKING
), and timing information.
Parameters | |
---|---|
Name | Description |
request | GetBuildRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Build | The response received from the server. |
GetBuildAsync(GetBuildRequest, CallOptions)
public virtual AsyncUnaryCall<Build> GetBuildAsync(GetBuildRequest request, CallOptions options)
Returns information about a previously requested build.
The Build
that is returned includes its status (such as SUCCESS
,
FAILURE
, or WORKING
), and timing information.
Parameters | |
---|---|
Name | Description |
request | GetBuildRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Build> | The call object. |
GetBuildAsync(GetBuildRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Build> GetBuildAsync(GetBuildRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns information about a previously requested build.
The Build
that is returned includes its status (such as SUCCESS
,
FAILURE
, or WORKING
), and timing information.
Parameters | |
---|---|
Name | Description |
request | GetBuildRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Build> | The call object. |
GetBuildTrigger(GetBuildTriggerRequest, CallOptions)
public virtual BuildTrigger GetBuildTrigger(GetBuildTriggerRequest request, CallOptions options)
Returns information about a BuildTrigger
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | GetBuildTriggerRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
BuildTrigger | The response received from the server. |
GetBuildTrigger(GetBuildTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual BuildTrigger GetBuildTrigger(GetBuildTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns information about a BuildTrigger
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | GetBuildTriggerRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
BuildTrigger | The response received from the server. |
GetBuildTriggerAsync(GetBuildTriggerRequest, CallOptions)
public virtual AsyncUnaryCall<BuildTrigger> GetBuildTriggerAsync(GetBuildTriggerRequest request, CallOptions options)
Returns information about a BuildTrigger
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | GetBuildTriggerRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<BuildTrigger> | The call object. |
GetBuildTriggerAsync(GetBuildTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<BuildTrigger> GetBuildTriggerAsync(GetBuildTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns information about a BuildTrigger
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | GetBuildTriggerRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<BuildTrigger> | The call object. |
GetWorkerPool(GetWorkerPoolRequest, CallOptions)
public virtual WorkerPool GetWorkerPool(GetWorkerPoolRequest request, CallOptions options)
Returns information about a WorkerPool
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | GetWorkerPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
WorkerPool | The response received from the server. |
GetWorkerPool(GetWorkerPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual WorkerPool GetWorkerPool(GetWorkerPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns information about a WorkerPool
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | GetWorkerPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
WorkerPool | The response received from the server. |
GetWorkerPoolAsync(GetWorkerPoolRequest, CallOptions)
public virtual AsyncUnaryCall<WorkerPool> GetWorkerPoolAsync(GetWorkerPoolRequest request, CallOptions options)
Returns information about a WorkerPool
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | GetWorkerPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<WorkerPool> | The call object. |
GetWorkerPoolAsync(GetWorkerPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<WorkerPool> GetWorkerPoolAsync(GetWorkerPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns information about a WorkerPool
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | GetWorkerPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<WorkerPool> | The call object. |
ListBuilds(ListBuildsRequest, CallOptions)
public virtual ListBuildsResponse ListBuilds(ListBuildsRequest request, CallOptions options)
Lists previously requested builds.
Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.
Parameters | |
---|---|
Name | Description |
request | ListBuildsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListBuildsResponse | The response received from the server. |
ListBuilds(ListBuildsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListBuildsResponse ListBuilds(ListBuildsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists previously requested builds.
Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.
Parameters | |
---|---|
Name | Description |
request | ListBuildsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListBuildsResponse | The response received from the server. |
ListBuildsAsync(ListBuildsRequest, CallOptions)
public virtual AsyncUnaryCall<ListBuildsResponse> ListBuildsAsync(ListBuildsRequest request, CallOptions options)
Lists previously requested builds.
Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.
Parameters | |
---|---|
Name | Description |
request | ListBuildsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListBuildsResponse> | The call object. |
ListBuildsAsync(ListBuildsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListBuildsResponse> ListBuildsAsync(ListBuildsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists previously requested builds.
Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.
Parameters | |
---|---|
Name | Description |
request | ListBuildsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListBuildsResponse> | The call object. |
ListBuildTriggers(ListBuildTriggersRequest, CallOptions)
public virtual ListBuildTriggersResponse ListBuildTriggers(ListBuildTriggersRequest request, CallOptions options)
Lists existing BuildTrigger
s.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | ListBuildTriggersRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListBuildTriggersResponse | The response received from the server. |
ListBuildTriggers(ListBuildTriggersRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListBuildTriggersResponse ListBuildTriggers(ListBuildTriggersRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists existing BuildTrigger
s.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | ListBuildTriggersRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListBuildTriggersResponse | The response received from the server. |
ListBuildTriggersAsync(ListBuildTriggersRequest, CallOptions)
public virtual AsyncUnaryCall<ListBuildTriggersResponse> ListBuildTriggersAsync(ListBuildTriggersRequest request, CallOptions options)
Lists existing BuildTrigger
s.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | ListBuildTriggersRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListBuildTriggersResponse> | The call object. |
ListBuildTriggersAsync(ListBuildTriggersRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListBuildTriggersResponse> ListBuildTriggersAsync(ListBuildTriggersRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists existing BuildTrigger
s.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | ListBuildTriggersRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListBuildTriggersResponse> | The call object. |
ListWorkerPools(ListWorkerPoolsRequest, CallOptions)
public virtual ListWorkerPoolsResponse ListWorkerPools(ListWorkerPoolsRequest request, CallOptions options)
List project's WorkerPools
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | ListWorkerPoolsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListWorkerPoolsResponse | The response received from the server. |
ListWorkerPools(ListWorkerPoolsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListWorkerPoolsResponse ListWorkerPools(ListWorkerPoolsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
List project's WorkerPools
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | ListWorkerPoolsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListWorkerPoolsResponse | The response received from the server. |
ListWorkerPoolsAsync(ListWorkerPoolsRequest, CallOptions)
public virtual AsyncUnaryCall<ListWorkerPoolsResponse> ListWorkerPoolsAsync(ListWorkerPoolsRequest request, CallOptions options)
List project's WorkerPools
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | ListWorkerPoolsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListWorkerPoolsResponse> | The call object. |
ListWorkerPoolsAsync(ListWorkerPoolsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListWorkerPoolsResponse> ListWorkerPoolsAsync(ListWorkerPoolsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
List project's WorkerPools
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | ListWorkerPoolsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListWorkerPoolsResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override CloudBuild.CloudBuildClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
CloudBuild.CloudBuildClient |
ReceiveTriggerWebhook(ReceiveTriggerWebhookRequest, CallOptions)
public virtual ReceiveTriggerWebhookResponse ReceiveTriggerWebhook(ReceiveTriggerWebhookRequest request, CallOptions options)
ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.
Parameters | |
---|---|
Name | Description |
request | ReceiveTriggerWebhookRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ReceiveTriggerWebhookResponse | The response received from the server. |
ReceiveTriggerWebhook(ReceiveTriggerWebhookRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ReceiveTriggerWebhookResponse ReceiveTriggerWebhook(ReceiveTriggerWebhookRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.
Parameters | |
---|---|
Name | Description |
request | ReceiveTriggerWebhookRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ReceiveTriggerWebhookResponse | The response received from the server. |
ReceiveTriggerWebhookAsync(ReceiveTriggerWebhookRequest, CallOptions)
public virtual AsyncUnaryCall<ReceiveTriggerWebhookResponse> ReceiveTriggerWebhookAsync(ReceiveTriggerWebhookRequest request, CallOptions options)
ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.
Parameters | |
---|---|
Name | Description |
request | ReceiveTriggerWebhookRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ReceiveTriggerWebhookResponse> | The call object. |
ReceiveTriggerWebhookAsync(ReceiveTriggerWebhookRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ReceiveTriggerWebhookResponse> ReceiveTriggerWebhookAsync(ReceiveTriggerWebhookRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.
Parameters | |
---|---|
Name | Description |
request | ReceiveTriggerWebhookRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ReceiveTriggerWebhookResponse> | The call object. |
RetryBuild(RetryBuildRequest, CallOptions)
public virtual Operation RetryBuild(RetryBuildRequest request, CallOptions options)
Creates a new build based on the specified build.
This method creates a new build using the original build request, which may or may not result in an identical build.
For triggered builds:
- Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision.
For non-triggered builds that specify RepoSource
:
- If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build.
- If the original build specified a commit sha or revision ID, the retried build will use the identical source.
For builds that specify StorageSource
:
- If the original build pulled source from Google Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source.
- If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.
Parameters | |
---|---|
Name | Description |
request | RetryBuildRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RetryBuild(RetryBuildRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation RetryBuild(RetryBuildRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a new build based on the specified build.
This method creates a new build using the original build request, which may or may not result in an identical build.
For triggered builds:
- Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision.
For non-triggered builds that specify RepoSource
:
- If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build.
- If the original build specified a commit sha or revision ID, the retried build will use the identical source.
For builds that specify StorageSource
:
- If the original build pulled source from Google Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source.
- If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.
Parameters | |
---|---|
Name | Description |
request | RetryBuildRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RetryBuildAsync(RetryBuildRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RetryBuildAsync(RetryBuildRequest request, CallOptions options)
Creates a new build based on the specified build.
This method creates a new build using the original build request, which may or may not result in an identical build.
For triggered builds:
- Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision.
For non-triggered builds that specify RepoSource
:
- If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build.
- If the original build specified a commit sha or revision ID, the retried build will use the identical source.
For builds that specify StorageSource
:
- If the original build pulled source from Google Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source.
- If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.
Parameters | |
---|---|
Name | Description |
request | RetryBuildRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
RetryBuildAsync(RetryBuildRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> RetryBuildAsync(RetryBuildRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a new build based on the specified build.
This method creates a new build using the original build request, which may or may not result in an identical build.
For triggered builds:
- Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision.
For non-triggered builds that specify RepoSource
:
- If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build.
- If the original build specified a commit sha or revision ID, the retried build will use the identical source.
For builds that specify StorageSource
:
- If the original build pulled source from Google Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source.
- If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.
Parameters | |
---|---|
Name | Description |
request | RetryBuildRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
RunBuildTrigger(RunBuildTriggerRequest, CallOptions)
public virtual Operation RunBuildTrigger(RunBuildTriggerRequest request, CallOptions options)
Runs a BuildTrigger
at a particular source revision.
Parameters | |
---|---|
Name | Description |
request | RunBuildTriggerRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RunBuildTrigger(RunBuildTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation RunBuildTrigger(RunBuildTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Runs a BuildTrigger
at a particular source revision.
Parameters | |
---|---|
Name | Description |
request | RunBuildTriggerRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RunBuildTriggerAsync(RunBuildTriggerRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RunBuildTriggerAsync(RunBuildTriggerRequest request, CallOptions options)
Runs a BuildTrigger
at a particular source revision.
Parameters | |
---|---|
Name | Description |
request | RunBuildTriggerRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
RunBuildTriggerAsync(RunBuildTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> RunBuildTriggerAsync(RunBuildTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Runs a BuildTrigger
at a particular source revision.
Parameters | |
---|---|
Name | Description |
request | RunBuildTriggerRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
UpdateBuildTrigger(UpdateBuildTriggerRequest, CallOptions)
public virtual BuildTrigger UpdateBuildTrigger(UpdateBuildTriggerRequest request, CallOptions options)
Updates a BuildTrigger
by its project ID and trigger ID.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | UpdateBuildTriggerRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
BuildTrigger | The response received from the server. |
UpdateBuildTrigger(UpdateBuildTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual BuildTrigger UpdateBuildTrigger(UpdateBuildTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates a BuildTrigger
by its project ID and trigger ID.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | UpdateBuildTriggerRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
BuildTrigger | The response received from the server. |
UpdateBuildTriggerAsync(UpdateBuildTriggerRequest, CallOptions)
public virtual AsyncUnaryCall<BuildTrigger> UpdateBuildTriggerAsync(UpdateBuildTriggerRequest request, CallOptions options)
Updates a BuildTrigger
by its project ID and trigger ID.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | UpdateBuildTriggerRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<BuildTrigger> | The call object. |
UpdateBuildTriggerAsync(UpdateBuildTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<BuildTrigger> UpdateBuildTriggerAsync(UpdateBuildTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates a BuildTrigger
by its project ID and trigger ID.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | UpdateBuildTriggerRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<BuildTrigger> | The call object. |
UpdateWorkerPool(UpdateWorkerPoolRequest, CallOptions)
public virtual WorkerPool UpdateWorkerPool(UpdateWorkerPoolRequest request, CallOptions options)
Update a WorkerPool
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | UpdateWorkerPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
WorkerPool | The response received from the server. |
UpdateWorkerPool(UpdateWorkerPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual WorkerPool UpdateWorkerPool(UpdateWorkerPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Update a WorkerPool
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | UpdateWorkerPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
WorkerPool | The response received from the server. |
UpdateWorkerPoolAsync(UpdateWorkerPoolRequest, CallOptions)
public virtual AsyncUnaryCall<WorkerPool> UpdateWorkerPoolAsync(UpdateWorkerPoolRequest request, CallOptions options)
Update a WorkerPool
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | UpdateWorkerPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<WorkerPool> | The call object. |
UpdateWorkerPoolAsync(UpdateWorkerPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<WorkerPool> UpdateWorkerPoolAsync(UpdateWorkerPoolRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Update a WorkerPool
.
This API is experimental.
Parameters | |
---|---|
Name | Description |
request | UpdateWorkerPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<WorkerPool> | The call object. |