blob: 03267f07edf3c37a8fb40e13d42a60aa0dee28ae [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="run_v1alpha1.html">Cloud Run API</a> . <a href="run_v1alpha1.namespaces.html">namespaces</a> . <a href="run_v1alpha1.namespaces.routes.html">routes</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
79<p class="firstline">Rpc to get information about a route.</p>
80<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070081 <code><a href="#list">list(parent, watch=None, labelSelector=None, resourceVersion=None, includeUninitialized=None, fieldSelector=None, continue=None, limit=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070082<p class="firstline">Rpc to list routes.</p>
83<h3>Method Details</h3>
84<div class="method">
85 <code class="details" id="get">get(name, x__xgafv=None)</code>
86 <pre>Rpc to get information about a route.
87
88Args:
89 name: string, The name of the route being retrieved. If needed, replace
90{namespace_id} with the project ID. (required)
91 x__xgafv: string, V1 error format.
92 Allowed values
93 1 - v1 error format
94 2 - v2 error format
95
96Returns:
97 An object of the form:
98
99 { # Route is responsible for configuring ingress over a collection of Revisions.
100 # Some of the Revisions a Route distributes traffic over may be specified by
101 # referencing the Configuration responsible for creating them; in these cases
102 # the Route is additionally responsible for monitoring the Configuration for
Bu Sun Kim65020912020-05-20 12:08:20 -0700103 # &quot;latest ready&quot; revision changes, and smoothly rolling out latest revisions.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700104 # See also:
105 # https://github.com/knative/serving/blob/master/docs/spec/overview.md#route
106 #
107 # Cloud Run currently supports referencing a single Configuration to
Bu Sun Kim65020912020-05-20 12:08:20 -0700108 # automatically deploy the &quot;latest ready&quot; Revision from that Configuration.
109 &quot;status&quot;: { # RouteStatus communicates the observed state of the Route (from the # Status communicates the observed state of the Route (from the controller).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700110 # controller).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700111 &quot;domain&quot;: &quot;A String&quot;, # Deprecated - use url instead.
112 # Domain holds the top-level domain that will distribute traffic over the
113 # provided targets.
114 &quot;domainInternal&quot;: &quot;A String&quot;, # Deprecated - use address instead.
115 # For Cloud Run, identifical to domain.
Bu Sun Kim65020912020-05-20 12:08:20 -0700116 &quot;conditions&quot;: [ # Conditions communicates information about ongoing/complete
117 # reconciliation processes that bring the &quot;spec&quot; inline with the observed
118 # state of the world.
119 { # RouteCondition defines a readiness condition for a Route.
120 &quot;message&quot;: &quot;A String&quot;, # Human-readable message indicating details about last transition.
121 # +optional
122 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Last time the condition transitioned from one status to another.
123 # +optional
124 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of &quot;True&quot;, &quot;False&quot;, &quot;Unknown&quot;.
125 &quot;severity&quot;: &quot;A String&quot;, # How to interpret failures of this condition, one of Error, Warning, Info
126 # +optional
127 &quot;reason&quot;: &quot;A String&quot;, # One-word CamelCase reason for the condition&#x27;s last transition.
128 # +optional
129 &quot;type&quot;: &quot;A String&quot;, # RouteConditionType is used to communicate the status of the reconciliation
130 # process. See also:
131 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
132 # Types include: &quot;Ready&quot;.
133 },
134 ],
135 &quot;address&quot;: { # Information for connecting over HTTP(s). # Similar to url, information on where the service is available on HTTP.
136 &quot;url&quot;: &quot;A String&quot;,
137 &quot;hostname&quot;: &quot;A String&quot;, # Deprecated - use url instead.
138 },
139 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the Route that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700140 # was last processed by the controller.
141 #
142 # Clients polling for completed reconciliation should poll until
Bu Sun Kim65020912020-05-20 12:08:20 -0700143 # observedGeneration = metadata.generation and the Ready condition&#x27;s status
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700144 # is True or False.
145 #
146 # Note that providing a trafficTarget that only has a configurationName will
147 # result in a Route that does not increment either its metadata.generation or
Bu Sun Kim65020912020-05-20 12:08:20 -0700148 # its observedGeneration, as new &quot;latest ready&quot; revisions from the
149 # Configuration are processed without an update to the Route&#x27;s spec.
150 &quot;url&quot;: &quot;A String&quot;, # URL holds the url that will distribute traffic over the provided traffic
Dan O'Mearadd494642020-05-01 07:42:23 -0700151 # targets. It generally has the form
152 # https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
Bu Sun Kim65020912020-05-20 12:08:20 -0700153 &quot;traffic&quot;: [ # Traffic holds the configured traffic distribution.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700154 # These entries will always contain RevisionName references.
155 # When ConfigurationName appears in the spec, this will hold the
156 # LatestReadyRevisionName that we last observed.
157 { # TrafficTarget holds a single entry of the routing table for a Route.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700158 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
159 # this target exclusively.
160 #
161 # Not currently supported in Cloud Run.
162 # +optional
163 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing named traffic targets. URL
164 # is displayed in status, and is disallowed on spec. URL must contain a
165 # scheme (e.g. http://) and a hostname, but may not contain anything else
166 # (e.g. basic auth, url path, etc.
167 #
168 # Not currently supported in Cloud Run.
Bu Sun Kim65020912020-05-20 12:08:20 -0700169 &quot;name&quot;: &quot;A String&quot;, # Name is optionally used to expose a dedicated hostname for referencing this
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700170 # target exclusively.
171 #
172 # Not currently supported by Cloud Run.
173 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700174 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
175 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
176 # of the referenced configuration changes, we will automatically migrate
177 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
178 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
179 # with RevisionName.
180 #
181 # Cloud Run currently supports a single ConfigurationName.
182 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
183 # This defaults to zero if unspecified.
184 #
185 # Cloud Run currently requires 100 percent for a single ConfigurationName
186 # TrafficTarget entry.
187 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
188 # traffic. This is mutually exclusive with ConfigurationName.
189 #
190 # Providing RevisionName in spec is not currently supported by Cloud Run.
191 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
192 # ready Revision of the Configuration should be used for this traffic
193 # target. When provided LatestRevision must be true if RevisionName is
194 # empty; it must be false when RevisionName is non-empty.
195 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700196 },
197 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700198 },
199 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;serving.knative.dev/v1alpha1&quot;.
200 &quot;spec&quot;: { # RouteSpec holds the desired state of the Route (from the client). # Spec holds the desired state of the Route (from the client).
201 &quot;traffic&quot;: [ # Traffic specifies how to distribute traffic over a collection of Knative
202 # Revisions and Configurations.
203 # Cloud Run currently supports a single configurationName.
204 { # TrafficTarget holds a single entry of the routing table for a Route.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700205 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
206 # this target exclusively.
207 #
208 # Not currently supported in Cloud Run.
209 # +optional
210 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing named traffic targets. URL
211 # is displayed in status, and is disallowed on spec. URL must contain a
212 # scheme (e.g. http://) and a hostname, but may not contain anything else
213 # (e.g. basic auth, url path, etc.
214 #
215 # Not currently supported in Cloud Run.
Bu Sun Kim65020912020-05-20 12:08:20 -0700216 &quot;name&quot;: &quot;A String&quot;, # Name is optionally used to expose a dedicated hostname for referencing this
217 # target exclusively.
218 #
219 # Not currently supported by Cloud Run.
220 # +optional
221 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
222 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
223 # of the referenced configuration changes, we will automatically migrate
224 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
225 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
226 # with RevisionName.
227 #
228 # Cloud Run currently supports a single ConfigurationName.
229 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700230 # This defaults to zero if unspecified.
231 #
232 # Cloud Run currently requires 100 percent for a single ConfigurationName
233 # TrafficTarget entry.
Bu Sun Kim65020912020-05-20 12:08:20 -0700234 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700235 # traffic. This is mutually exclusive with ConfigurationName.
236 #
237 # Providing RevisionName in spec is not currently supported by Cloud Run.
Bu Sun Kim65020912020-05-20 12:08:20 -0700238 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
239 # ready Revision of the Configuration should be used for this traffic
240 # target. When provided LatestRevision must be true if RevisionName is
241 # empty; it must be false when RevisionName is non-empty.
242 # +optional
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700243 },
244 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700245 &quot;generation&quot;: 42, # Deprecated and not currently populated by Cloud Run. See
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700246 # metadata.generation instead, which is the sequence number containing the
247 # latest generation of the desired state.
248 #
249 # Read-only.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700250 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700251 &quot;kind&quot;: &quot;A String&quot;, # The kind of this resource, in this case always &quot;Route&quot;.
252 &quot;metadata&quot;: { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this Route, including name, namespace, labels,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700253 # and annotations.
254 # all objects users must create.
Bu Sun Kim65020912020-05-20 12:08:20 -0700255 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
256 #
257 # GenerateName is an optional prefix, used by the server, to generate a
258 # unique name ONLY IF the Name field has not been provided. If this field is
259 # used, the name returned to the client will be different than the name
260 # passed. This value will also be combined with a unique suffix. The provided
261 # value has the same validation rules as the Name field, and may be truncated
262 # by the length of the suffix required to make the value unique on the
263 # server.
264 #
265 # If this field is specified and the generated name exists, the server will
266 # NOT return a 409 - instead, it will either return 201 Created or 500 with
267 # Reason ServerTimeout indicating a unique name could not be found in the
268 # time allotted, and the client should retry (optionally after the time
269 # indicated in the Retry-After header).
270 #
271 # Applied only if Name is not specified.
272 # More info:
273 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700274 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700275 # string generateName = 2;
276 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700277 # Is required when creating
278 # resources, although some resources may allow a client to request the
279 # generation of an appropriate name automatically. Name is primarily intended
280 # for creation idempotence and configuration definition. Cannot be updated.
281 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
282 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700283 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
284 #
285 # Number of seconds allowed for this object to gracefully terminate before
286 # it will be removed from the system. Only set when deletionTimestamp is also
287 # set. May only be shortened. Read-only. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700288 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
289 #
290 # The name of the cluster which the object belongs to.
291 # This is used to distinguish resources with same name and namespace in
292 # different clusters. This field is not set anywhere right now and apiserver
293 # is going to ignore it if set in create or update request. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700294 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
295 #
296 # Must be empty before the object is deleted from the registry. Each entry
297 # is an identifier for the responsible component that will remove the entry
298 # from the list. If the deletionTimestamp of the object is non-nil, entries
299 # in this list can only be removed.
300 # +optional
301 # +patchStrategy=merge
302 &quot;A String&quot;,
303 ],
304 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700305 # deleted. This field is set by the server when a graceful deletion is
306 # requested by the user, and is not directly settable by a client. The
307 # resource is expected to be deleted (no longer visible from resource lists,
308 # and not reachable by name) after the time in this field, once the
309 # finalizers list is empty. As long as the finalizers list contains items,
310 # deletion is blocked. Once the deletionTimestamp is set, this value may not
311 # be unset or be set further into the future, although it may be shortened or
312 # the resource may be deleted prior to this time. For example, a user may
313 # request that a pod is deleted in 30 seconds. The Kubelet will react by
314 # sending a graceful termination signal to the containers in the pod. After
315 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
316 # to the container and after cleanup, remove the pod from the API. In the
317 # presence of network partitions, this object may still exist after this
318 # timestamp, until an administrator or automated process can determine the
319 # resource is fully terminated.
320 # If not set, graceful deletion of the object has not been requested.
321 #
322 # Populated by the system when a graceful deletion is requested.
323 # Read-only.
324 # More info:
325 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
326 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700327 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
328 # been deleted, this object will be garbage collected.
329 # +optional
330 { # OwnerReference contains enough information to let you identify an owning
331 # object. Currently, an owning object must be in the same namespace, so there
332 # is no namespace field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700333 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
334 # +optional
335 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
336 # More info:
337 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
338 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
339 # the owner cannot be deleted from the key-value store until this
340 # reference is removed.
341 # Defaults to false.
342 # To set this field, a user needs &quot;delete&quot; permission of the owner,
343 # otherwise 422 (Unprocessable Entity) will be returned.
344 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700345 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
346 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
347 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
348 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
349 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
Bu Sun Kim65020912020-05-20 12:08:20 -0700350 },
351 ],
352 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
353 # object was created. It is not guaranteed to be set in happens-before order
354 # across separate operations. Clients may not set this value. It is
355 # represented in RFC3339 form and is in UTC.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700356 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700357 # Populated by the system.
358 # Read-only.
359 # Null for lists.
360 # More info:
361 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
362 # +optional
363 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700364 # (scope and select) objects. May match selectors of replication controllers
365 # and routes.
366 # More info: http://kubernetes.io/docs/user-guide/labels
367 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700368 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700369 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700370 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700371 # Populated by the system. Read-only.
372 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700373 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700374 # can be used by clients to determine when objects have changed. May be used
375 # for optimistic concurrency, change detection, and the watch operation on a
376 # resource or set of resources. Clients must treat these values as opaque and
377 # passed unmodified back to the server. They may only be valid for a
378 # particular resource or set of resources.
379 #
380 # Populated by the system.
381 # Read-only.
382 # Value must be treated as opaque by clients and .
383 # More info:
384 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
385 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700386 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
387 # Populated by the system.
388 # Read-only.
389 # +optional
390 # string selfLink = 4;
Bu Sun Kim65020912020-05-20 12:08:20 -0700391 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700392 # generated by the server on successful creation of a resource and is not
393 # allowed to change on PUT operations.
394 #
395 # Populated by the system.
396 # Read-only.
397 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
398 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700399 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
400 # Cloud Run region. In Cloud Run the namespace must be equal to either the
401 # project ID or project number.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700402 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
403 # may be set by external tools to store and retrieve arbitrary metadata. They
404 # are not queryable and should be preserved when modifying objects. More
405 # info: http://kubernetes.io/docs/user-guide/annotations +optional
406 &quot;a_key&quot;: &quot;A String&quot;,
407 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700408 },
409 }</pre>
410</div>
411
412<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700413 <code class="details" id="list">list(parent, watch=None, labelSelector=None, resourceVersion=None, includeUninitialized=None, fieldSelector=None, continue=None, limit=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700414 <pre>Rpc to list routes.
415
416Args:
417 parent: string, The project ID or project number from which the routes should be listed. (required)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700418 watch: boolean, Flag that indicates that the client expects to watch this resource as well.
419Not currently used by Cloud Run.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700420 labelSelector: string, Allows to filter resources based on a label. Supported operations are
421=, !=, exists, in, and notIn.
Bu Sun Kim65020912020-05-20 12:08:20 -0700422 resourceVersion: string, The baseline resource version from which the list or watch operation should
423start. Not currently used by Cloud Run.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700424 includeUninitialized: boolean, Not currently used by Cloud Run.
Bu Sun Kim65020912020-05-20 12:08:20 -0700425 fieldSelector: string, Allows to filter resources based on a specific value for a field name.
426Send this in a query string format. i.e. &#x27;metadata.name%3Dlorem&#x27;.
427Not currently used by Cloud Run.
428 continue: string, Optional encoded string to continue paging.
429 limit: integer, The maximum number of records that should be returned.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700430 x__xgafv: string, V1 error format.
431 Allowed values
432 1 - v1 error format
433 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700434
435Returns:
436 An object of the form:
437
438 { # ListRoutesResponse is a list of Route resources.
Bu Sun Kim65020912020-05-20 12:08:20 -0700439 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;serving.knative.dev/v1alpha1&quot;.
440 &quot;kind&quot;: &quot;A String&quot;, # The kind of this resource, in this case always &quot;RouteList&quot;.
441 &quot;unreachable&quot;: [ # Locations that could not be reached.
442 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700443 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700444 &quot;metadata&quot;: { # ListMeta describes metadata that synthetic resources must have, including # Metadata associated with this Route list.
445 # lists and various status objects. A resource may have only one of
446 # {ObjectMeta, ListMeta}.
447 &quot;resourceVersion&quot;: &quot;A String&quot;, # String that identifies the server&#x27;s internal version of this object that
448 # can be used by clients to determine when objects have changed. Value must
449 # be treated as opaque by clients and passed unmodified back to the server.
450 # Populated by the system.
451 # Read-only.
452 # More info:
453 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
454 # +optional
455 &quot;continue&quot;: &quot;A String&quot;, # continue may be set if the user set a limit on the number of items
456 # returned, and indicates that the server has more data available. The value
457 # is opaque and may be used to issue another request to the endpoint that
458 # served this list to retrieve the next set of available objects. Continuing
459 # a list may not be possible if the server configuration has changed or more
460 # than a few minutes have passed. The resourceVersion field returned when
461 # using this continue value will be identical to the value in the first
462 # response.
463 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
464 # Populated by the system.
465 # Read-only.
466 # +optional
467 },
468 &quot;items&quot;: [ # List of Routes.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700469 { # Route is responsible for configuring ingress over a collection of Revisions.
470 # Some of the Revisions a Route distributes traffic over may be specified by
471 # referencing the Configuration responsible for creating them; in these cases
472 # the Route is additionally responsible for monitoring the Configuration for
Bu Sun Kim65020912020-05-20 12:08:20 -0700473 # &quot;latest ready&quot; revision changes, and smoothly rolling out latest revisions.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700474 # See also:
475 # https://github.com/knative/serving/blob/master/docs/spec/overview.md#route
476 #
477 # Cloud Run currently supports referencing a single Configuration to
Bu Sun Kim65020912020-05-20 12:08:20 -0700478 # automatically deploy the &quot;latest ready&quot; Revision from that Configuration.
479 &quot;status&quot;: { # RouteStatus communicates the observed state of the Route (from the # Status communicates the observed state of the Route (from the controller).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700480 # controller).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700481 &quot;domain&quot;: &quot;A String&quot;, # Deprecated - use url instead.
482 # Domain holds the top-level domain that will distribute traffic over the
483 # provided targets.
484 &quot;domainInternal&quot;: &quot;A String&quot;, # Deprecated - use address instead.
485 # For Cloud Run, identifical to domain.
Bu Sun Kim65020912020-05-20 12:08:20 -0700486 &quot;conditions&quot;: [ # Conditions communicates information about ongoing/complete
487 # reconciliation processes that bring the &quot;spec&quot; inline with the observed
488 # state of the world.
489 { # RouteCondition defines a readiness condition for a Route.
490 &quot;message&quot;: &quot;A String&quot;, # Human-readable message indicating details about last transition.
491 # +optional
492 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Last time the condition transitioned from one status to another.
493 # +optional
494 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of &quot;True&quot;, &quot;False&quot;, &quot;Unknown&quot;.
495 &quot;severity&quot;: &quot;A String&quot;, # How to interpret failures of this condition, one of Error, Warning, Info
496 # +optional
497 &quot;reason&quot;: &quot;A String&quot;, # One-word CamelCase reason for the condition&#x27;s last transition.
498 # +optional
499 &quot;type&quot;: &quot;A String&quot;, # RouteConditionType is used to communicate the status of the reconciliation
500 # process. See also:
501 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
502 # Types include: &quot;Ready&quot;.
503 },
504 ],
505 &quot;address&quot;: { # Information for connecting over HTTP(s). # Similar to url, information on where the service is available on HTTP.
506 &quot;url&quot;: &quot;A String&quot;,
507 &quot;hostname&quot;: &quot;A String&quot;, # Deprecated - use url instead.
508 },
509 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the Route that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700510 # was last processed by the controller.
511 #
512 # Clients polling for completed reconciliation should poll until
Bu Sun Kim65020912020-05-20 12:08:20 -0700513 # observedGeneration = metadata.generation and the Ready condition&#x27;s status
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700514 # is True or False.
515 #
516 # Note that providing a trafficTarget that only has a configurationName will
517 # result in a Route that does not increment either its metadata.generation or
Bu Sun Kim65020912020-05-20 12:08:20 -0700518 # its observedGeneration, as new &quot;latest ready&quot; revisions from the
519 # Configuration are processed without an update to the Route&#x27;s spec.
520 &quot;url&quot;: &quot;A String&quot;, # URL holds the url that will distribute traffic over the provided traffic
Dan O'Mearadd494642020-05-01 07:42:23 -0700521 # targets. It generally has the form
522 # https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
Bu Sun Kim65020912020-05-20 12:08:20 -0700523 &quot;traffic&quot;: [ # Traffic holds the configured traffic distribution.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700524 # These entries will always contain RevisionName references.
525 # When ConfigurationName appears in the spec, this will hold the
526 # LatestReadyRevisionName that we last observed.
527 { # TrafficTarget holds a single entry of the routing table for a Route.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700528 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
529 # this target exclusively.
530 #
531 # Not currently supported in Cloud Run.
532 # +optional
533 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing named traffic targets. URL
534 # is displayed in status, and is disallowed on spec. URL must contain a
535 # scheme (e.g. http://) and a hostname, but may not contain anything else
536 # (e.g. basic auth, url path, etc.
537 #
538 # Not currently supported in Cloud Run.
Bu Sun Kim65020912020-05-20 12:08:20 -0700539 &quot;name&quot;: &quot;A String&quot;, # Name is optionally used to expose a dedicated hostname for referencing this
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700540 # target exclusively.
541 #
542 # Not currently supported by Cloud Run.
543 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700544 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
545 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
546 # of the referenced configuration changes, we will automatically migrate
547 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
548 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
549 # with RevisionName.
550 #
551 # Cloud Run currently supports a single ConfigurationName.
552 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
553 # This defaults to zero if unspecified.
554 #
555 # Cloud Run currently requires 100 percent for a single ConfigurationName
556 # TrafficTarget entry.
557 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
558 # traffic. This is mutually exclusive with ConfigurationName.
559 #
560 # Providing RevisionName in spec is not currently supported by Cloud Run.
561 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
562 # ready Revision of the Configuration should be used for this traffic
563 # target. When provided LatestRevision must be true if RevisionName is
564 # empty; it must be false when RevisionName is non-empty.
565 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700566 },
567 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700568 },
569 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;serving.knative.dev/v1alpha1&quot;.
570 &quot;spec&quot;: { # RouteSpec holds the desired state of the Route (from the client). # Spec holds the desired state of the Route (from the client).
571 &quot;traffic&quot;: [ # Traffic specifies how to distribute traffic over a collection of Knative
572 # Revisions and Configurations.
573 # Cloud Run currently supports a single configurationName.
574 { # TrafficTarget holds a single entry of the routing table for a Route.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700575 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
576 # this target exclusively.
577 #
578 # Not currently supported in Cloud Run.
579 # +optional
580 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing named traffic targets. URL
581 # is displayed in status, and is disallowed on spec. URL must contain a
582 # scheme (e.g. http://) and a hostname, but may not contain anything else
583 # (e.g. basic auth, url path, etc.
584 #
585 # Not currently supported in Cloud Run.
Bu Sun Kim65020912020-05-20 12:08:20 -0700586 &quot;name&quot;: &quot;A String&quot;, # Name is optionally used to expose a dedicated hostname for referencing this
587 # target exclusively.
588 #
589 # Not currently supported by Cloud Run.
590 # +optional
591 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
592 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
593 # of the referenced configuration changes, we will automatically migrate
594 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
595 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
596 # with RevisionName.
597 #
598 # Cloud Run currently supports a single ConfigurationName.
599 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700600 # This defaults to zero if unspecified.
601 #
602 # Cloud Run currently requires 100 percent for a single ConfigurationName
603 # TrafficTarget entry.
Bu Sun Kim65020912020-05-20 12:08:20 -0700604 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700605 # traffic. This is mutually exclusive with ConfigurationName.
606 #
607 # Providing RevisionName in spec is not currently supported by Cloud Run.
Bu Sun Kim65020912020-05-20 12:08:20 -0700608 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
609 # ready Revision of the Configuration should be used for this traffic
610 # target. When provided LatestRevision must be true if RevisionName is
611 # empty; it must be false when RevisionName is non-empty.
612 # +optional
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700613 },
614 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700615 &quot;generation&quot;: 42, # Deprecated and not currently populated by Cloud Run. See
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700616 # metadata.generation instead, which is the sequence number containing the
617 # latest generation of the desired state.
618 #
619 # Read-only.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700620 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700621 &quot;kind&quot;: &quot;A String&quot;, # The kind of this resource, in this case always &quot;Route&quot;.
622 &quot;metadata&quot;: { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this Route, including name, namespace, labels,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700623 # and annotations.
624 # all objects users must create.
Bu Sun Kim65020912020-05-20 12:08:20 -0700625 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
626 #
627 # GenerateName is an optional prefix, used by the server, to generate a
628 # unique name ONLY IF the Name field has not been provided. If this field is
629 # used, the name returned to the client will be different than the name
630 # passed. This value will also be combined with a unique suffix. The provided
631 # value has the same validation rules as the Name field, and may be truncated
632 # by the length of the suffix required to make the value unique on the
633 # server.
634 #
635 # If this field is specified and the generated name exists, the server will
636 # NOT return a 409 - instead, it will either return 201 Created or 500 with
637 # Reason ServerTimeout indicating a unique name could not be found in the
638 # time allotted, and the client should retry (optionally after the time
639 # indicated in the Retry-After header).
640 #
641 # Applied only if Name is not specified.
642 # More info:
643 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700644 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700645 # string generateName = 2;
646 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700647 # Is required when creating
648 # resources, although some resources may allow a client to request the
649 # generation of an appropriate name automatically. Name is primarily intended
650 # for creation idempotence and configuration definition. Cannot be updated.
651 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
652 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700653 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
654 #
655 # Number of seconds allowed for this object to gracefully terminate before
656 # it will be removed from the system. Only set when deletionTimestamp is also
657 # set. May only be shortened. Read-only. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700658 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
659 #
660 # The name of the cluster which the object belongs to.
661 # This is used to distinguish resources with same name and namespace in
662 # different clusters. This field is not set anywhere right now and apiserver
663 # is going to ignore it if set in create or update request. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700664 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
665 #
666 # Must be empty before the object is deleted from the registry. Each entry
667 # is an identifier for the responsible component that will remove the entry
668 # from the list. If the deletionTimestamp of the object is non-nil, entries
669 # in this list can only be removed.
670 # +optional
671 # +patchStrategy=merge
672 &quot;A String&quot;,
673 ],
674 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700675 # deleted. This field is set by the server when a graceful deletion is
676 # requested by the user, and is not directly settable by a client. The
677 # resource is expected to be deleted (no longer visible from resource lists,
678 # and not reachable by name) after the time in this field, once the
679 # finalizers list is empty. As long as the finalizers list contains items,
680 # deletion is blocked. Once the deletionTimestamp is set, this value may not
681 # be unset or be set further into the future, although it may be shortened or
682 # the resource may be deleted prior to this time. For example, a user may
683 # request that a pod is deleted in 30 seconds. The Kubelet will react by
684 # sending a graceful termination signal to the containers in the pod. After
685 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
686 # to the container and after cleanup, remove the pod from the API. In the
687 # presence of network partitions, this object may still exist after this
688 # timestamp, until an administrator or automated process can determine the
689 # resource is fully terminated.
690 # If not set, graceful deletion of the object has not been requested.
691 #
692 # Populated by the system when a graceful deletion is requested.
693 # Read-only.
694 # More info:
695 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
696 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700697 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
698 # been deleted, this object will be garbage collected.
699 # +optional
700 { # OwnerReference contains enough information to let you identify an owning
701 # object. Currently, an owning object must be in the same namespace, so there
702 # is no namespace field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700703 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
704 # +optional
705 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
706 # More info:
707 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
708 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
709 # the owner cannot be deleted from the key-value store until this
710 # reference is removed.
711 # Defaults to false.
712 # To set this field, a user needs &quot;delete&quot; permission of the owner,
713 # otherwise 422 (Unprocessable Entity) will be returned.
714 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700715 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
716 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
717 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
718 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
719 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
Bu Sun Kim65020912020-05-20 12:08:20 -0700720 },
721 ],
722 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
723 # object was created. It is not guaranteed to be set in happens-before order
724 # across separate operations. Clients may not set this value. It is
725 # represented in RFC3339 form and is in UTC.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700726 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700727 # Populated by the system.
728 # Read-only.
729 # Null for lists.
730 # More info:
731 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
732 # +optional
733 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700734 # (scope and select) objects. May match selectors of replication controllers
735 # and routes.
736 # More info: http://kubernetes.io/docs/user-guide/labels
737 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700738 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700739 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700740 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700741 # Populated by the system. Read-only.
742 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700743 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700744 # can be used by clients to determine when objects have changed. May be used
745 # for optimistic concurrency, change detection, and the watch operation on a
746 # resource or set of resources. Clients must treat these values as opaque and
747 # passed unmodified back to the server. They may only be valid for a
748 # particular resource or set of resources.
749 #
750 # Populated by the system.
751 # Read-only.
752 # Value must be treated as opaque by clients and .
753 # More info:
754 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
755 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700756 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
757 # Populated by the system.
758 # Read-only.
759 # +optional
760 # string selfLink = 4;
Bu Sun Kim65020912020-05-20 12:08:20 -0700761 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700762 # generated by the server on successful creation of a resource and is not
763 # allowed to change on PUT operations.
764 #
765 # Populated by the system.
766 # Read-only.
767 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
768 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700769 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
770 # Cloud Run region. In Cloud Run the namespace must be equal to either the
771 # project ID or project number.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700772 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
773 # may be set by external tools to store and retrieve arbitrary metadata. They
774 # are not queryable and should be preserved when modifying objects. More
775 # info: http://kubernetes.io/docs/user-guide/annotations +optional
776 &quot;a_key&quot;: &quot;A String&quot;,
777 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700778 },
779 },
780 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700781 }</pre>
782</div>
783
784</body></html>