REST Resource: projects.locations.routes

Resource: Route

Route is responsible for configuring ingress over a collection of Revisions. Some of the Revisions a Route distributes traffic over may be specified by referencing the Configuration responsible for creating them; in these cases the Route is additionally responsible for monitoring the Configuration for "latest ready" revision changes, and smoothly rolling out latest revisions. See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#route

Cloud Run currently supports referencing a single Configuration to automatically deploy the "latest ready" Revision from that Configuration.

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

string

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

kind

string

The kind of this resource, in this case always "Route".

metadata

object(ObjectMeta)

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

spec

object(RouteSpec)

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

status

object(RouteStatus)

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

Methods

get

Rpc to get information about a route.

list

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

Send feedback about...