REST Resource: projects.locations.revisions

Resource: Revision

Revision is an immutable snapshot of code and configuration. A revision references a container image. Revisions are created by updates to a Configuration.

Cloud Run does not currently support referencing a build that is responsible for materializing the container image from source.

See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision

JSON representation
{
  "apiVersion": string,
  "kind": string,
  "metadata": {
    object(ObjectMeta)
  },
  "spec": {
    object(RevisionSpec)
  },
  "status": {
    object(RevisionStatus)
  }
}
Fields
apiVersion

string

The API version for this call such as "v1alpha1".

kind

string

The kind of this resource, in this case "Revision".

metadata

object(ObjectMeta)

Metadata associated with this Revision, including name, namespace, labels, and annotations.

spec

object(RevisionSpec)

Spec holds the desired state of the Revision (from the client).

status

object(RevisionStatus)

Status communicates the observed state of the Revision (from the controller).

Methods

delete

Rpc to delete a revision.

get

Rpc to get information about a revision.

list

Rpc to list revisions.
Was this page helpful? Let us know how we did:

Send feedback about...