class Google::Apis::RunV1::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: github.com/knative/serving/blob/main/docs/spec/overview.md#route Cloud Run currently supports referencing a single Configuration
to automatically deploy the “latest ready” Revision
from that Configuration
.
Attributes
The API version for this call such as “serving.knative.dev/v1”. Corresponds to the JSON property `apiVersion` @return [String]
The kind of this resource, in this case always “Route”. Corresponds to the JSON property `kind` @return [String]
k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. Corresponds to the JSON property `metadata` @return [Google::Apis::RunV1::ObjectMeta]
RouteStatus
communicates the observed state of the Route
(from the controller). Corresponds to the JSON property `status` @return [Google::Apis::RunV1::RouteStatus]
Public Class Methods
# File lib/google/apis/run_v1/classes.rb, line 2193 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/run_v1/classes.rb, line 2198 def update!(**args) @api_version = args[:api_version] if args.key?(:api_version) @kind = args[:kind] if args.key?(:kind) @metadata = args[:metadata] if args.key?(:metadata) @spec = args[:spec] if args.key?(:spec) @status = args[:status] if args.key?(:status) end