public abstract class JobsClient
Reference documentation and code samples for the Cloud Run Admin v2 API class JobsClient.
Jobs client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Remarks
Cloud Run Job Control Plane API.
Properties
CreateJobOperationsClient
public virtual OperationsClient CreateJobOperationsClient { get; }
The long-running operations client for CreateJob
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DefaultEndpoint
public static string DefaultEndpoint { get; }
The default endpoint for the Jobs service, which is a host of "run.googleapis.com" and a port of 443.
Property Value | |
---|---|
Type | Description |
string |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default Jobs scopes.
Property Value | |
---|---|
Type | Description |
IReadOnlyListstring |
The default Jobs scopes are:
DeleteJobOperationsClient
public virtual OperationsClient DeleteJobOperationsClient { get; }
The long-running operations client for DeleteJob
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public virtual Jobs.JobsClient GrpcClient { get; }
The underlying gRPC Jobs client
Property Value | |
---|---|
Type | Description |
JobsJobsClient |
LocationsClient
public virtual LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
RunJobOperationsClient
public virtual OperationsClient RunJobOperationsClient { get; }
The long-running operations client for RunJob
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }
The service metadata associated with this client type.
Property Value | |
---|---|
Type | Description |
ServiceMetadata |
UpdateJobOperationsClient
public virtual OperationsClient UpdateJobOperationsClient { get; }
The long-running operations client for UpdateJob
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
Create()
public static JobsClient Create()
Synchronously creates a JobsClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use JobsClientBuilder.
Returns | |
---|---|
Type | Description |
JobsClient |
The created JobsClient. |
CreateAsync(CancellationToken)
public static Task<JobsClient> CreateAsync(CancellationToken cancellationToken = default)
Asynchronously creates a JobsClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use JobsClientBuilder.
Parameter | |
---|---|
Name | Description |
cancellationToken |
CancellationToken The CancellationToken to use while creating the client. |
Returns | |
---|---|
Type | Description |
TaskJobsClient |
The task representing the created |