View Source GoogleApi.Run.V2.Model.GoogleCloudRunV2Revision (quiqup_google_api_run v0.28.0)

A Revision is an immutable snapshot of code and configuration. A Revision references a container image. Revisions are only created by updates to its parent Service.

attributes

Attributes

  • annotations (type: map(), default: nil) - KRM-style annotations for the resource.
  • conditions (type: list(GoogleApi.Run.V2.Model.GoogleCloudRunV2Condition.t), default: nil) - Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
  • containers (type: list(GoogleApi.Run.V2.Model.GoogleCloudRunV2Container.t), default: nil) - Holds the single container that defines the unit of execution for this Revision.
  • createTime (type: DateTime.t, default: nil) - Output only. The creation time.
  • deleteTime (type: DateTime.t, default: nil) - Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
  • encryptionKey (type: String.t, default: nil) - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
  • etag (type: String.t, default: nil) - Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
  • executionEnvironment (type: String.t, default: nil) - The execution environment being used to host this Revision.
  • expireTime (type: DateTime.t, default: nil) - Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
  • generation (type: String.t, default: nil) - Output only. A number that monotonically increases every time the user modifies the desired state.
  • labels (type: map(), default: nil) - KRM-style labels for the resource. 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 will populate some labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those labels are read-only, and user changes will not be preserved.
  • launchStage (type: String.t, default: nil) - Set the launch stage to a preview stage on write to allow use of preview features in that stage. On read, describes whether the resource uses preview features. Launch Stages are defined at Google Cloud Platform Launch Stages.
  • logUri (type: String.t, default: nil) - Output only. The Google Console URI to obtain logs for the Revision.
  • maxInstanceRequestConcurrency (type: integer(), default: nil) - Sets the maximum number of requests that each serving instance can receive.
  • name (type: String.t, default: nil) - Output only. The unique name of this Revision.
  • observedGeneration (type: String.t, default: nil) - Output only. The generation of this Revision currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run.
  • reconciling (type: boolean(), default: nil) - Output only. Indicates whether the resource's reconciliation is still in progress. See comments in Service.reconciling for additional information on reconciliation process in Cloud Run.
  • scaling (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2RevisionScaling.t, default: nil) - Scaling settings for this revision.
  • service (type: String.t, default: nil) - Output only. The name of the parent service.
  • serviceAccount (type: String.t, default: nil) - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has.
  • timeout (type: String.t, default: nil) - Max allowed time for an instance to respond to a request.
  • uid (type: String.t, default: nil) - Output only. Server assigned unique identifier for the Revision. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
  • updateTime (type: DateTime.t, default: nil) - Output only. The last-modified time.
  • volumes (type: list(GoogleApi.Run.V2.Model.GoogleCloudRunV2Volume.t), default: nil) - A list of Volumes to make available to containers.
  • vpcAccess (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2VpcAccess.t, default: nil) - VPC Access configuration for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

@type t() :: %GoogleApi.Run.V2.Model.GoogleCloudRunV2Revision{
  annotations: map() | nil,
  conditions: [GoogleApi.Run.V2.Model.GoogleCloudRunV2Condition.t()] | nil,
  containers: [GoogleApi.Run.V2.Model.GoogleCloudRunV2Container.t()] | nil,
  createTime: DateTime.t() | nil,
  deleteTime: DateTime.t() | nil,
  encryptionKey: String.t() | nil,
  etag: String.t() | nil,
  executionEnvironment: String.t() | nil,
  expireTime: DateTime.t() | nil,
  generation: String.t() | nil,
  labels: map() | nil,
  launchStage: String.t() | nil,
  logUri: String.t() | nil,
  maxInstanceRequestConcurrency: integer() | nil,
  name: String.t() | nil,
  observedGeneration: String.t() | nil,
  reconciling: boolean() | nil,
  scaling: GoogleApi.Run.V2.Model.GoogleCloudRunV2RevisionScaling.t() | nil,
  service: String.t() | nil,
  serviceAccount: String.t() | nil,
  timeout: String.t() | nil,
  uid: String.t() | nil,
  updateTime: DateTime.t() | nil,
  volumes: [GoogleApi.Run.V2.Model.GoogleCloudRunV2Volume.t()] | nil,
  vpcAccess: GoogleApi.Run.V2.Model.GoogleCloudRunV2VpcAccess.t() | nil
}

Link to this section Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.