Class JobState


  • public final class JobState
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JobState.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static JobState Empty  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> annotations()  
      java.util.Optional<com.pulumi.core.Output<JobBinaryAuthorizationArgs>> binaryAuthorization()  
      static JobState.Builder builder()  
      static JobState.Builder builder​(JobState defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> client()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> clientVersion()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<JobConditionArgs>>> conditions()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> createTime()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> creator()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> deleteTime()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> effectiveAnnotations()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> effectiveLabels()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> etag()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> executionCount()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> expireTime()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> generation()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> labels()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> lastModifier()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<JobLatestCreatedExecutionArgs>>> latestCreatedExecutions()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> launchStage()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> location()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> observedGeneration()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> pulumiLabels()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> reconciling()  
      java.util.Optional<com.pulumi.core.Output<JobTemplateArgs>> template()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<JobTerminalConditionArgs>>> terminalConditions()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> uid()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> updateTime()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Empty

        public static final JobState Empty
    • Method Detail

      • annotations

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> annotations()
        Returns:
        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 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. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
      • binaryAuthorization

        public java.util.Optional<com.pulumi.core.Output<JobBinaryAuthorizationArgs>> binaryAuthorization()
        Returns:
        Settings for the Binary Authorization feature. Structure is documented below.
      • client

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> client()
        Returns:
        Arbitrary identifier for the API client.
      • clientVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> clientVersion()
        Returns:
        Arbitrary version identifier for the API client.
      • conditions

        public java.util.Optional<com.pulumi.core.Output<java.util.List<JobConditionArgs>>> conditions()
        Returns:
        The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in reconciling for additional information on `reconciliation` process in Cloud Run. Structure is documented below.
      • createTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> createTime()
        Returns:
        (Output) Creation timestamp of the execution. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
      • creator

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> creator()
        Returns:
        Email address of the authenticated creator.
      • deleteTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> deleteTime()
        Returns:
        The deletion time.
      • effectiveAnnotations

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> effectiveAnnotations()
        Returns:
        All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
      • effectiveLabels

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> effectiveLabels()
        Returns:
        All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
      • etag

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> etag()
        Returns:
        A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
      • executionCount

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> executionCount()
        Returns:
        Number of executions created for this job.
      • expireTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> expireTime()
        Returns:
        For a deleted resource, the time after which it will be permamently deleted.
      • generation

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> generation()
        Returns:
        A number that monotonically increases every time the user modifies the desired state.
      • labels

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> labels()
        Returns:
        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 Job. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.
      • lastModifier

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> lastModifier()
        Returns:
        Email address of the last authenticated modifier.
      • latestCreatedExecutions

        public java.util.Optional<com.pulumi.core.Output<java.util.List<JobLatestCreatedExecutionArgs>>> latestCreatedExecutions()
        Returns:
        Name of the last created execution. Structure is documented below.
      • launchStage

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> launchStage()
        Returns:
        The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/products#product-launch-stages). Cloud Run supports ALPHA, BETA, and GA. 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. Possible values are: `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.
      • location

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> location()
        Returns:
        The location of the cloud run job
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name of the Job.
      • observedGeneration

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> observedGeneration()
        Returns:
        The generation of this Job. See comments in reconciling for additional information on reconciliation process in Cloud Run.
      • project

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
        Returns:
        The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
      • pulumiLabels

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> pulumiLabels()
        Returns:
        The combination of labels configured directly on the resource and default labels configured on the provider.
      • reconciling

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> reconciling()
        Returns:
        Returns true if the Job is currently being acted upon by the system to bring it into the desired state. When a new Job is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Job to the desired state. This process is called reconciliation. While reconciliation is in process, observedGeneration and latest_succeeded_execution, will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the state matches the Job, or there was an error, and reconciliation failed. This state can be found in terminalCondition.state. If reconciliation succeeded, the following fields will match: observedGeneration and generation, latest_succeeded_execution and latestCreatedExecution. If reconciliation failed, observedGeneration and latest_succeeded_execution will have the state of the last succeeded execution or empty for newly created Job. Additional information on the failure can be found in terminalCondition and conditions
      • template

        public java.util.Optional<com.pulumi.core.Output<JobTemplateArgs>> template()
        Returns:
        The template used to create executions for this Job. Structure is documented below.
      • terminalConditions

        public java.util.Optional<com.pulumi.core.Output<java.util.List<JobTerminalConditionArgs>>> terminalConditions()
        Returns:
        The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state Structure is documented below.
      • uid

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> uid()
        Returns:
        Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
      • updateTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> updateTime()
        Returns:
        The last-modified time.