JobArgs class
The set of arguments for Job. The set of arguments for Job.
Constructors
-
JobArgs({Input<
Map< ? annotations, Input<String, String> >GoogleCloudRunV2BinaryAuthorization> ? binaryAuthorization, Input<String> ? client, Input<String> ? clientVersion, required Input<String> jobId, Input<Map< ? labels, Input<String, String> >JobLaunchStage> ? launchStage, Input<String> ? location, Input<String> ? name, Input<String> ? project, required Input<GoogleCloudRunV2ExecutionTemplate> template}) -
Creates a new JobArgs.
annotationsUnstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations withrun.googleapis.com,cloud.googleapis.com,serving.knative.dev, orautoscaling.knative.devnamespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. This field follows Kubernetes annotations' namespacing, limits, and rules.binaryAuthorizationSettings for the Binary Authorization feature.clientArbitrary identifier for the API client.clientVersionArbitrary version identifier for the API client.jobIdRequired. The unique identifier for the Job. The name of the job becomes {parent}/jobs/{job_id}.labelsUnstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels withrun.googleapis.com,cloud.googleapis.com,serving.knative.dev, orautoscaling.knative.devnamespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Job.launchStageThe launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supportsALPHA,BETA, andGA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.locationOptional.nameThe fully qualified name of this Job. Format: projects/{project}/locations/{location}/jobs/{job}projectOptional.templateThe template used to create executions for this Job.const -
JobArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Input<
Map< ?String, String> > -
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with
run.googleapis.com,cloud.googleapis.com,serving.knative.dev, orautoscaling.knative.devnamespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. This field follows Kubernetes annotations' namespacing, limits, and rules.final -
binaryAuthorization
→ Input<
GoogleCloudRunV2BinaryAuthorization> ? -
Settings for the Binary Authorization feature.
final
-
client
→ Input<
String> ? -
Arbitrary identifier for the API client.
final
-
clientVersion
→ Input<
String> ? -
Arbitrary version identifier for the API client.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
jobId
→ Input<
String> -
Required. The unique identifier for the Job. The name of the job becomes {parent}/jobs/{job_id}.
final
-
labels
→ Input<
Map< ?String, String> > -
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with
run.googleapis.com,cloud.googleapis.com,serving.knative.dev, orautoscaling.knative.devnamespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Job.final -
launchStage
→ Input<
JobLaunchStage> ? -
The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports
ALPHA,BETA, andGA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.final -
location
→ Input<
String> ? -
final
-
name
→ Input<
String> ? -
The fully qualified name of this Job. Format: projects/{project}/locations/{location}/jobs/{job}
final
-
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
template
→ Input<
GoogleCloudRunV2ExecutionTemplate> -
The template used to create executions for this Job.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited