Interface CloudRunV2JobTemplate
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudRunV2JobTemplate.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:17.966Z") @Stability(Stable) public interface CloudRunV2JobTemplate extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCloudRunV2JobTemplate.BuilderA builder forCloudRunV2JobTemplatestatic classCloudRunV2JobTemplate.Jsii$ProxyAn implementation forCloudRunV2JobTemplate
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static CloudRunV2JobTemplate.Builderbuilder()default Map<String,String>getAnnotations()Unstructured key value map that may be set by external tools to store and arbitrary metadata.default Map<String,String>getLabels()Unstructured key value map that can be used to organize and categorize objects.default NumbergetParallelism()Specifies the maximum desired number of tasks the execution should run at given time.default NumbergetTaskCount()Specifies the desired number of tasks the execution should run.CloudRunV2JobTemplateTemplategetTemplate()template block.
-
-
-
Method Detail
-
getTemplate
@Stability(Stable) @NotNull CloudRunV2JobTemplateTemplate getTemplate()
template block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#template CloudRunV2Job#template}
-
getAnnotations
@Stability(Stable) @Nullable default Map<String,String> getAnnotations()
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', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#annotations CloudRunV2Job#annotations}
-
getLabels
@Stability(Stable) @Nullable default Map<String,String> getLabels()
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', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#labels CloudRunV2Job#labels}
-
getParallelism
@Stability(Stable) @Nullable default Number getParallelism()
Specifies the maximum desired number of tasks the execution should run at given time.Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#parallelism CloudRunV2Job#parallelism}
-
getTaskCount
@Stability(Stable) @Nullable default Number getTaskCount()
Specifies the desired number of tasks the execution should run.Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_job#task_count CloudRunV2Job#task_count}
-
builder
@Stability(Stable) static CloudRunV2JobTemplate.Builder builder()
- Returns:
- a
CloudRunV2JobTemplate.BuilderofCloudRunV2JobTemplate
-
-