blob: 2a7f6af8239568f5fd6861d57df2b251457c6dd8 [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.domainmappings.html">domainmappings</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Creates a new domain mapping.</p>
80<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070081 <code><a href="#delete">delete(name, apiVersion=None, propagationPolicy=None, kind=None, orphanDependents=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070082<p class="firstline">Rpc to delete a domain mapping.</p>
83<p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85<p class="firstline">Rpc to get information about a domain mapping.</p>
86<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070087 <code><a href="#list">list(parent, labelSelector=None, fieldSelector=None, includeUninitialized=None, resourceVersion=None, continue=None, limit=None, watch=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088<p class="firstline">Rpc to list domain mappings.</p>
89<h3>Method Details</h3>
90<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070091 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070092 <pre>Creates a new domain mapping.
93
94Args:
95 parent: string, The project ID or project number in which this domain mapping should be
96created. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -070097 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070098 The object takes the form of:
99
Bu Sun Kim65020912020-05-20 12:08:20 -0700100{ # Resource to hold the state and status of a user&#x27;s domain mapping.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700101 &quot;status&quot;: { # The current state of the Domain Mapping. # The current status of the DomainMapping.
102 &quot;mappedRouteName&quot;: &quot;A String&quot;, # The name of the route that the mapping currently points to.
103 &quot;conditions&quot;: [ # Array of observed DomainMappingConditions, indicating the current state
104 # of the DomainMapping.
105 { # DomainMappingCondition contains state information for a DomainMapping.
106 &quot;message&quot;: &quot;A String&quot;, # Human readable message indicating details about the current status.
107 # +optional
108 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Last time the condition transitioned from one status to another.
109 # +optional
110 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
111 &quot;severity&quot;: &quot;A String&quot;, # How to interpret failures of this condition, one of Error, Warning, Info
112 # +optional
113 &quot;reason&quot;: &quot;A String&quot;, # One-word CamelCase reason for the condition&#x27;s current status.
114 # +optional
115 &quot;type&quot;: &quot;A String&quot;, # Type of domain mapping condition.
116 },
117 ],
118 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the DomainMapping that
119 # was last processed by the controller.
120 #
121 # Clients polling for completed reconciliation should poll until
122 # observedGeneration = metadata.generation and the Ready condition&#x27;s status
123 # is True or False.
124 &quot;resourceRecords&quot;: [ # The resource records required to configure this domain mapping. These
125 # records must be added to the domain&#x27;s DNS configuration in order to
126 # serve the application via this domain mapping.
127 { # A DNS resource record.
128 &quot;name&quot;: &quot;A String&quot;, # Relative name of the object affected by this record. Only applicable for
129 # `CNAME` records. Example: &#x27;www&#x27;.
130 &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: `AAAA`.
131 &quot;rrdata&quot;: &quot;A String&quot;, # Data for this record. Values vary by record type, as defined in RFC 1035
132 # (section 5) and RFC 1034 (section 3.6.1).
133 },
134 ],
135 },
136 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;domains.cloudrun.com/v1alpha1&quot;.
137 &quot;spec&quot;: { # The desired state of the Domain Mapping. # The spec for this DomainMapping.
138 &quot;forceOverride&quot;: True or False, # If set, the mapping will override any mapping set before this spec was set.
139 # It is recommended that the user leaves this empty to receive an error
140 # warning about a potential conflict and only set it once the respective UI
141 # has given such a warning.
142 &quot;routeName&quot;: &quot;A String&quot;, # The name of the Knative Route that this DomainMapping applies to.
143 # The route must exist.
144 &quot;certificateMode&quot;: &quot;A String&quot;, # The mode of the certificate.
145 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700146 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;DomainMapping&quot;.
147 &quot;metadata&quot;: { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this BuildTemplate.
148 # all objects users must create.
Bu Sun Kim65020912020-05-20 12:08:20 -0700149 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
150 #
151 # GenerateName is an optional prefix, used by the server, to generate a
152 # unique name ONLY IF the Name field has not been provided. If this field is
153 # used, the name returned to the client will be different than the name
154 # passed. This value will also be combined with a unique suffix. The provided
155 # value has the same validation rules as the Name field, and may be truncated
156 # by the length of the suffix required to make the value unique on the
157 # server.
158 #
159 # If this field is specified and the generated name exists, the server will
160 # NOT return a 409 - instead, it will either return 201 Created or 500 with
161 # Reason ServerTimeout indicating a unique name could not be found in the
162 # time allotted, and the client should retry (optionally after the time
163 # indicated in the Retry-After header).
164 #
165 # Applied only if Name is not specified.
166 # More info:
167 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
168 # +optional
169 # string generateName = 2;
170 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
171 # Is required when creating
172 # resources, although some resources may allow a client to request the
173 # generation of an appropriate name automatically. Name is primarily intended
174 # for creation idempotence and configuration definition. Cannot be updated.
175 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
176 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700177 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
178 #
179 # Number of seconds allowed for this object to gracefully terminate before
180 # it will be removed from the system. Only set when deletionTimestamp is also
181 # set. May only be shortened. Read-only. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700182 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
183 #
184 # The name of the cluster which the object belongs to.
185 # This is used to distinguish resources with same name and namespace in
186 # different clusters. This field is not set anywhere right now and apiserver
187 # is going to ignore it if set in create or update request. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700188 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
189 #
190 # Must be empty before the object is deleted from the registry. Each entry
191 # is an identifier for the responsible component that will remove the entry
192 # from the list. If the deletionTimestamp of the object is non-nil, entries
193 # in this list can only be removed.
194 # +optional
195 # +patchStrategy=merge
196 &quot;A String&quot;,
197 ],
198 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
199 # deleted. This field is set by the server when a graceful deletion is
200 # requested by the user, and is not directly settable by a client. The
201 # resource is expected to be deleted (no longer visible from resource lists,
202 # and not reachable by name) after the time in this field, once the
203 # finalizers list is empty. As long as the finalizers list contains items,
204 # deletion is blocked. Once the deletionTimestamp is set, this value may not
205 # be unset or be set further into the future, although it may be shortened or
206 # the resource may be deleted prior to this time. For example, a user may
207 # request that a pod is deleted in 30 seconds. The Kubelet will react by
208 # sending a graceful termination signal to the containers in the pod. After
209 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
210 # to the container and after cleanup, remove the pod from the API. In the
211 # presence of network partitions, this object may still exist after this
212 # timestamp, until an administrator or automated process can determine the
213 # resource is fully terminated.
214 # If not set, graceful deletion of the object has not been requested.
215 #
216 # Populated by the system when a graceful deletion is requested.
217 # Read-only.
218 # More info:
219 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
220 # +optional
221 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
222 # been deleted, this object will be garbage collected.
223 # +optional
224 { # OwnerReference contains enough information to let you identify an owning
225 # object. Currently, an owning object must be in the same namespace, so there
226 # is no namespace field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700227 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
228 # +optional
229 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
230 # More info:
231 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
232 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
233 # the owner cannot be deleted from the key-value store until this
234 # reference is removed.
235 # Defaults to false.
236 # To set this field, a user needs &quot;delete&quot; permission of the owner,
237 # otherwise 422 (Unprocessable Entity) will be returned.
238 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700239 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
240 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
241 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
242 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
243 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
Bu Sun Kim65020912020-05-20 12:08:20 -0700244 },
245 ],
246 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
247 # object was created. It is not guaranteed to be set in happens-before order
248 # across separate operations. Clients may not set this value. It is
249 # represented in RFC3339 form and is in UTC.
250 #
251 # Populated by the system.
252 # Read-only.
253 # Null for lists.
254 # More info:
255 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
256 # +optional
257 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
258 # (scope and select) objects. May match selectors of replication controllers
259 # and routes.
260 # More info: http://kubernetes.io/docs/user-guide/labels
261 # +optional
262 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700263 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700264 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
265 # Populated by the system. Read-only.
266 # +optional
267 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
268 # can be used by clients to determine when objects have changed. May be used
269 # for optimistic concurrency, change detection, and the watch operation on a
270 # resource or set of resources. Clients must treat these values as opaque and
271 # passed unmodified back to the server. They may only be valid for a
272 # particular resource or set of resources.
273 #
274 # Populated by the system.
275 # Read-only.
276 # Value must be treated as opaque by clients and .
277 # More info:
278 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
279 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700280 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
281 # Populated by the system.
282 # Read-only.
283 # +optional
284 # string selfLink = 4;
Bu Sun Kim65020912020-05-20 12:08:20 -0700285 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
286 # generated by the server on successful creation of a resource and is not
287 # allowed to change on PUT operations.
288 #
289 # Populated by the system.
290 # Read-only.
291 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
292 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700293 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
294 # Cloud Run region. In Cloud Run the namespace must be equal to either the
295 # project ID or project number.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700296 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
297 # may be set by external tools to store and retrieve arbitrary metadata. They
298 # are not queryable and should be preserved when modifying objects. More
299 # info: http://kubernetes.io/docs/user-guide/annotations +optional
300 &quot;a_key&quot;: &quot;A String&quot;,
301 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700302 },
303}
304
305 x__xgafv: string, V1 error format.
306 Allowed values
307 1 - v1 error format
308 2 - v2 error format
309
310Returns:
311 An object of the form:
312
313 { # Resource to hold the state and status of a user&#x27;s domain mapping.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700314 &quot;status&quot;: { # The current state of the Domain Mapping. # The current status of the DomainMapping.
315 &quot;mappedRouteName&quot;: &quot;A String&quot;, # The name of the route that the mapping currently points to.
316 &quot;conditions&quot;: [ # Array of observed DomainMappingConditions, indicating the current state
317 # of the DomainMapping.
318 { # DomainMappingCondition contains state information for a DomainMapping.
319 &quot;message&quot;: &quot;A String&quot;, # Human readable message indicating details about the current status.
320 # +optional
321 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Last time the condition transitioned from one status to another.
322 # +optional
323 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
324 &quot;severity&quot;: &quot;A String&quot;, # How to interpret failures of this condition, one of Error, Warning, Info
325 # +optional
326 &quot;reason&quot;: &quot;A String&quot;, # One-word CamelCase reason for the condition&#x27;s current status.
327 # +optional
328 &quot;type&quot;: &quot;A String&quot;, # Type of domain mapping condition.
329 },
330 ],
331 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the DomainMapping that
332 # was last processed by the controller.
333 #
334 # Clients polling for completed reconciliation should poll until
335 # observedGeneration = metadata.generation and the Ready condition&#x27;s status
336 # is True or False.
337 &quot;resourceRecords&quot;: [ # The resource records required to configure this domain mapping. These
338 # records must be added to the domain&#x27;s DNS configuration in order to
339 # serve the application via this domain mapping.
340 { # A DNS resource record.
341 &quot;name&quot;: &quot;A String&quot;, # Relative name of the object affected by this record. Only applicable for
342 # `CNAME` records. Example: &#x27;www&#x27;.
343 &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: `AAAA`.
344 &quot;rrdata&quot;: &quot;A String&quot;, # Data for this record. Values vary by record type, as defined in RFC 1035
345 # (section 5) and RFC 1034 (section 3.6.1).
346 },
347 ],
348 },
349 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;domains.cloudrun.com/v1alpha1&quot;.
350 &quot;spec&quot;: { # The desired state of the Domain Mapping. # The spec for this DomainMapping.
351 &quot;forceOverride&quot;: True or False, # If set, the mapping will override any mapping set before this spec was set.
352 # It is recommended that the user leaves this empty to receive an error
353 # warning about a potential conflict and only set it once the respective UI
354 # has given such a warning.
355 &quot;routeName&quot;: &quot;A String&quot;, # The name of the Knative Route that this DomainMapping applies to.
356 # The route must exist.
357 &quot;certificateMode&quot;: &quot;A String&quot;, # The mode of the certificate.
358 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700359 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;DomainMapping&quot;.
360 &quot;metadata&quot;: { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this BuildTemplate.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700361 # all objects users must create.
Bu Sun Kim65020912020-05-20 12:08:20 -0700362 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
363 #
364 # GenerateName is an optional prefix, used by the server, to generate a
365 # unique name ONLY IF the Name field has not been provided. If this field is
366 # used, the name returned to the client will be different than the name
367 # passed. This value will also be combined with a unique suffix. The provided
368 # value has the same validation rules as the Name field, and may be truncated
369 # by the length of the suffix required to make the value unique on the
370 # server.
371 #
372 # If this field is specified and the generated name exists, the server will
373 # NOT return a 409 - instead, it will either return 201 Created or 500 with
374 # Reason ServerTimeout indicating a unique name could not be found in the
375 # time allotted, and the client should retry (optionally after the time
376 # indicated in the Retry-After header).
377 #
378 # Applied only if Name is not specified.
379 # More info:
380 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700381 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700382 # string generateName = 2;
383 &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 -0700384 # Is required when creating
385 # resources, although some resources may allow a client to request the
386 # generation of an appropriate name automatically. Name is primarily intended
387 # for creation idempotence and configuration definition. Cannot be updated.
388 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
389 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700390 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
391 #
392 # Number of seconds allowed for this object to gracefully terminate before
393 # it will be removed from the system. Only set when deletionTimestamp is also
394 # set. May only be shortened. Read-only. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700395 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
396 #
397 # The name of the cluster which the object belongs to.
398 # This is used to distinguish resources with same name and namespace in
399 # different clusters. This field is not set anywhere right now and apiserver
400 # is going to ignore it if set in create or update request. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700401 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
402 #
403 # Must be empty before the object is deleted from the registry. Each entry
404 # is an identifier for the responsible component that will remove the entry
405 # from the list. If the deletionTimestamp of the object is non-nil, entries
406 # in this list can only be removed.
407 # +optional
408 # +patchStrategy=merge
409 &quot;A String&quot;,
410 ],
411 &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 -0700412 # deleted. This field is set by the server when a graceful deletion is
413 # requested by the user, and is not directly settable by a client. The
414 # resource is expected to be deleted (no longer visible from resource lists,
415 # and not reachable by name) after the time in this field, once the
416 # finalizers list is empty. As long as the finalizers list contains items,
417 # deletion is blocked. Once the deletionTimestamp is set, this value may not
418 # be unset or be set further into the future, although it may be shortened or
419 # the resource may be deleted prior to this time. For example, a user may
420 # request that a pod is deleted in 30 seconds. The Kubelet will react by
421 # sending a graceful termination signal to the containers in the pod. After
422 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
423 # to the container and after cleanup, remove the pod from the API. In the
424 # presence of network partitions, this object may still exist after this
425 # timestamp, until an administrator or automated process can determine the
426 # resource is fully terminated.
427 # If not set, graceful deletion of the object has not been requested.
428 #
429 # Populated by the system when a graceful deletion is requested.
430 # Read-only.
431 # More info:
432 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
433 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700434 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
435 # been deleted, this object will be garbage collected.
436 # +optional
437 { # OwnerReference contains enough information to let you identify an owning
438 # object. Currently, an owning object must be in the same namespace, so there
439 # is no namespace field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700440 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
441 # +optional
442 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
443 # More info:
444 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
445 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
446 # the owner cannot be deleted from the key-value store until this
447 # reference is removed.
448 # Defaults to false.
449 # To set this field, a user needs &quot;delete&quot; permission of the owner,
450 # otherwise 422 (Unprocessable Entity) will be returned.
451 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700452 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
453 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
454 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
455 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
456 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
Bu Sun Kim65020912020-05-20 12:08:20 -0700457 },
458 ],
459 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
460 # object was created. It is not guaranteed to be set in happens-before order
461 # across separate operations. Clients may not set this value. It is
462 # represented in RFC3339 form and is in UTC.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700463 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700464 # Populated by the system.
465 # Read-only.
466 # Null for lists.
467 # More info:
468 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
469 # +optional
470 &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 -0700471 # (scope and select) objects. May match selectors of replication controllers
472 # and routes.
473 # More info: http://kubernetes.io/docs/user-guide/labels
474 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700475 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700476 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700477 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700478 # Populated by the system. Read-only.
479 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700480 &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 -0700481 # can be used by clients to determine when objects have changed. May be used
482 # for optimistic concurrency, change detection, and the watch operation on a
483 # resource or set of resources. Clients must treat these values as opaque and
484 # passed unmodified back to the server. They may only be valid for a
485 # particular resource or set of resources.
486 #
487 # Populated by the system.
488 # Read-only.
489 # Value must be treated as opaque by clients and .
490 # More info:
491 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
492 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700493 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
494 # Populated by the system.
495 # Read-only.
496 # +optional
497 # string selfLink = 4;
Bu Sun Kim65020912020-05-20 12:08:20 -0700498 &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 -0700499 # generated by the server on successful creation of a resource and is not
500 # allowed to change on PUT operations.
501 #
502 # Populated by the system.
503 # Read-only.
504 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
505 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700506 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
507 # Cloud Run region. In Cloud Run the namespace must be equal to either the
508 # project ID or project number.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700509 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
510 # may be set by external tools to store and retrieve arbitrary metadata. They
511 # are not queryable and should be preserved when modifying objects. More
512 # info: http://kubernetes.io/docs/user-guide/annotations +optional
513 &quot;a_key&quot;: &quot;A String&quot;,
514 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700515 },
516 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700517</div>
518
519<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700520 <code class="details" id="delete">delete(name, apiVersion=None, propagationPolicy=None, kind=None, orphanDependents=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700521 <pre>Rpc to delete a domain mapping.
522
523Args:
524 name: string, The name of the domain mapping being deleted. If needed, replace
525{namespace_id} with the project ID. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700526 apiVersion: string, Cloud Run currently ignores this parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700527 propagationPolicy: string, Specifies the propagation policy of delete. Cloud Run currently ignores
528this setting, and deletes in the background. Please see
529kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
530more information.
531 kind: string, Cloud Run currently ignores this parameter.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700532 orphanDependents: boolean, Deprecated.
533Specifies the cascade behavior on delete.
534Cloud Run only supports cascading behavior, so this must be false.
535This attribute is deprecated, and is now replaced with PropagationPolicy
536See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700537 x__xgafv: string, V1 error format.
538 Allowed values
539 1 - v1 error format
540 2 - v2 error format
541
542Returns:
543 An object of the form:
544
545 { # A generic empty message that you can re-use to avoid defining duplicated
546 # empty messages in your APIs. A typical example is to use it as the request
547 # or the response type of an API method. For instance:
548 #
549 # service Foo {
550 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
551 # }
552 #
553 # The JSON representation for `Empty` is empty JSON object `{}`.
554 }</pre>
555</div>
556
557<div class="method">
558 <code class="details" id="get">get(name, x__xgafv=None)</code>
559 <pre>Rpc to get information about a domain mapping.
560
561Args:
562 name: string, The name of the domain mapping being retrieved. If needed, replace
563{namespace_id} with the project ID. (required)
564 x__xgafv: string, V1 error format.
565 Allowed values
566 1 - v1 error format
567 2 - v2 error format
568
569Returns:
570 An object of the form:
571
Bu Sun Kim65020912020-05-20 12:08:20 -0700572 { # Resource to hold the state and status of a user&#x27;s domain mapping.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700573 &quot;status&quot;: { # The current state of the Domain Mapping. # The current status of the DomainMapping.
574 &quot;mappedRouteName&quot;: &quot;A String&quot;, # The name of the route that the mapping currently points to.
575 &quot;conditions&quot;: [ # Array of observed DomainMappingConditions, indicating the current state
576 # of the DomainMapping.
577 { # DomainMappingCondition contains state information for a DomainMapping.
578 &quot;message&quot;: &quot;A String&quot;, # Human readable message indicating details about the current status.
579 # +optional
580 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Last time the condition transitioned from one status to another.
581 # +optional
582 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
583 &quot;severity&quot;: &quot;A String&quot;, # How to interpret failures of this condition, one of Error, Warning, Info
584 # +optional
585 &quot;reason&quot;: &quot;A String&quot;, # One-word CamelCase reason for the condition&#x27;s current status.
586 # +optional
587 &quot;type&quot;: &quot;A String&quot;, # Type of domain mapping condition.
588 },
589 ],
590 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the DomainMapping that
591 # was last processed by the controller.
592 #
593 # Clients polling for completed reconciliation should poll until
594 # observedGeneration = metadata.generation and the Ready condition&#x27;s status
595 # is True or False.
596 &quot;resourceRecords&quot;: [ # The resource records required to configure this domain mapping. These
597 # records must be added to the domain&#x27;s DNS configuration in order to
598 # serve the application via this domain mapping.
599 { # A DNS resource record.
600 &quot;name&quot;: &quot;A String&quot;, # Relative name of the object affected by this record. Only applicable for
601 # `CNAME` records. Example: &#x27;www&#x27;.
602 &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: `AAAA`.
603 &quot;rrdata&quot;: &quot;A String&quot;, # Data for this record. Values vary by record type, as defined in RFC 1035
604 # (section 5) and RFC 1034 (section 3.6.1).
605 },
606 ],
607 },
608 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;domains.cloudrun.com/v1alpha1&quot;.
609 &quot;spec&quot;: { # The desired state of the Domain Mapping. # The spec for this DomainMapping.
610 &quot;forceOverride&quot;: True or False, # If set, the mapping will override any mapping set before this spec was set.
611 # It is recommended that the user leaves this empty to receive an error
612 # warning about a potential conflict and only set it once the respective UI
613 # has given such a warning.
614 &quot;routeName&quot;: &quot;A String&quot;, # The name of the Knative Route that this DomainMapping applies to.
615 # The route must exist.
616 &quot;certificateMode&quot;: &quot;A String&quot;, # The mode of the certificate.
617 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700618 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;DomainMapping&quot;.
619 &quot;metadata&quot;: { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this BuildTemplate.
620 # all objects users must create.
Bu Sun Kim65020912020-05-20 12:08:20 -0700621 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
622 #
623 # GenerateName is an optional prefix, used by the server, to generate a
624 # unique name ONLY IF the Name field has not been provided. If this field is
625 # used, the name returned to the client will be different than the name
626 # passed. This value will also be combined with a unique suffix. The provided
627 # value has the same validation rules as the Name field, and may be truncated
628 # by the length of the suffix required to make the value unique on the
629 # server.
630 #
631 # If this field is specified and the generated name exists, the server will
632 # NOT return a 409 - instead, it will either return 201 Created or 500 with
633 # Reason ServerTimeout indicating a unique name could not be found in the
634 # time allotted, and the client should retry (optionally after the time
635 # indicated in the Retry-After header).
636 #
637 # Applied only if Name is not specified.
638 # More info:
639 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
640 # +optional
641 # string generateName = 2;
642 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
643 # Is required when creating
644 # resources, although some resources may allow a client to request the
645 # generation of an appropriate name automatically. Name is primarily intended
646 # for creation idempotence and configuration definition. Cannot be updated.
647 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
648 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700649 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
650 #
651 # Number of seconds allowed for this object to gracefully terminate before
652 # it will be removed from the system. Only set when deletionTimestamp is also
653 # set. May only be shortened. Read-only. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700654 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
655 #
656 # The name of the cluster which the object belongs to.
657 # This is used to distinguish resources with same name and namespace in
658 # different clusters. This field is not set anywhere right now and apiserver
659 # is going to ignore it if set in create or update request. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700660 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
661 #
662 # Must be empty before the object is deleted from the registry. Each entry
663 # is an identifier for the responsible component that will remove the entry
664 # from the list. If the deletionTimestamp of the object is non-nil, entries
665 # in this list can only be removed.
666 # +optional
667 # +patchStrategy=merge
668 &quot;A String&quot;,
669 ],
670 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
671 # deleted. This field is set by the server when a graceful deletion is
672 # requested by the user, and is not directly settable by a client. The
673 # resource is expected to be deleted (no longer visible from resource lists,
674 # and not reachable by name) after the time in this field, once the
675 # finalizers list is empty. As long as the finalizers list contains items,
676 # deletion is blocked. Once the deletionTimestamp is set, this value may not
677 # be unset or be set further into the future, although it may be shortened or
678 # the resource may be deleted prior to this time. For example, a user may
679 # request that a pod is deleted in 30 seconds. The Kubelet will react by
680 # sending a graceful termination signal to the containers in the pod. After
681 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
682 # to the container and after cleanup, remove the pod from the API. In the
683 # presence of network partitions, this object may still exist after this
684 # timestamp, until an administrator or automated process can determine the
685 # resource is fully terminated.
686 # If not set, graceful deletion of the object has not been requested.
687 #
688 # Populated by the system when a graceful deletion is requested.
689 # Read-only.
690 # More info:
691 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
692 # +optional
693 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
694 # been deleted, this object will be garbage collected.
695 # +optional
696 { # OwnerReference contains enough information to let you identify an owning
697 # object. Currently, an owning object must be in the same namespace, so there
698 # is no namespace field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700699 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
700 # +optional
701 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
702 # More info:
703 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
704 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
705 # the owner cannot be deleted from the key-value store until this
706 # reference is removed.
707 # Defaults to false.
708 # To set this field, a user needs &quot;delete&quot; permission of the owner,
709 # otherwise 422 (Unprocessable Entity) will be returned.
710 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700711 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
712 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
713 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
714 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
715 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700716 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700717 ],
718 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
719 # object was created. It is not guaranteed to be set in happens-before order
720 # across separate operations. Clients may not set this value. It is
721 # represented in RFC3339 form and is in UTC.
722 #
723 # Populated by the system.
724 # Read-only.
725 # Null for lists.
726 # More info:
727 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
728 # +optional
729 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
730 # (scope and select) objects. May match selectors of replication controllers
731 # and routes.
732 # More info: http://kubernetes.io/docs/user-guide/labels
733 # +optional
734 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700735 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700736 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
737 # Populated by the system. Read-only.
738 # +optional
739 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
740 # can be used by clients to determine when objects have changed. May be used
741 # for optimistic concurrency, change detection, and the watch operation on a
742 # resource or set of resources. Clients must treat these values as opaque and
743 # passed unmodified back to the server. They may only be valid for a
744 # particular resource or set of resources.
745 #
746 # Populated by the system.
747 # Read-only.
748 # Value must be treated as opaque by clients and .
749 # More info:
750 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
751 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700752 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
753 # Populated by the system.
754 # Read-only.
755 # +optional
756 # string selfLink = 4;
Bu Sun Kim65020912020-05-20 12:08:20 -0700757 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
758 # generated by the server on successful creation of a resource and is not
759 # allowed to change on PUT operations.
760 #
761 # Populated by the system.
762 # Read-only.
763 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
764 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700765 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
766 # Cloud Run region. In Cloud Run the namespace must be equal to either the
767 # project ID or project number.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700768 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
769 # may be set by external tools to store and retrieve arbitrary metadata. They
770 # are not queryable and should be preserved when modifying objects. More
771 # info: http://kubernetes.io/docs/user-guide/annotations +optional
772 &quot;a_key&quot;: &quot;A String&quot;,
773 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700774 },
775 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700776</div>
777
778<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700779 <code class="details" id="list">list(parent, labelSelector=None, fieldSelector=None, includeUninitialized=None, resourceVersion=None, continue=None, limit=None, watch=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700780 <pre>Rpc to list domain mappings.
781
782Args:
783 parent: string, The project ID or project number from which the domain mappings should be
784listed. (required)
785 labelSelector: string, Allows to filter resources based on a label. Supported operations are
786=, !=, exists, in, and notIn.
Bu Sun Kim65020912020-05-20 12:08:20 -0700787 fieldSelector: string, Allows to filter resources based on a specific value for a field name.
788Send this in a query string format. i.e. &#x27;metadata.name%3Dlorem&#x27;.
789Not currently used by Cloud Run.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700790 includeUninitialized: boolean, Not currently used by Cloud Run.
791 resourceVersion: string, The baseline resource version from which the list or watch operation should
792start. Not currently used by Cloud Run.
Bu Sun Kim65020912020-05-20 12:08:20 -0700793 continue: string, Optional encoded string to continue paging.
794 limit: integer, The maximum number of records that should be returned.
795 watch: boolean, Flag that indicates that the client expects to watch this resource as well.
796Not currently used by Cloud Run.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700797 x__xgafv: string, V1 error format.
798 Allowed values
799 1 - v1 error format
800 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700801
802Returns:
803 An object of the form:
804
805 { # ListDomainMappingsResponse is a list of DomainMapping resources.
Bu Sun Kim65020912020-05-20 12:08:20 -0700806 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;domains.cloudrun.com/v1alpha1&quot;.
807 &quot;kind&quot;: &quot;A String&quot;, # The kind of this resource, in this case &quot;DomainMappingList&quot;.
808 &quot;unreachable&quot;: [ # Locations that could not be reached.
809 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700810 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700811 &quot;metadata&quot;: { # ListMeta describes metadata that synthetic resources must have, including # Metadata associated with this DomainMapping list.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700812 # lists and various status objects. A resource may have only one of
813 # {ObjectMeta, ListMeta}.
Bu Sun Kim65020912020-05-20 12:08:20 -0700814 &quot;resourceVersion&quot;: &quot;A String&quot;, # String that identifies the server&#x27;s internal version of this object that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700815 # can be used by clients to determine when objects have changed. Value must
816 # be treated as opaque by clients and passed unmodified back to the server.
817 # Populated by the system.
818 # Read-only.
819 # More info:
820 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
821 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700822 &quot;continue&quot;: &quot;A String&quot;, # continue may be set if the user set a limit on the number of items
823 # returned, and indicates that the server has more data available. The value
824 # is opaque and may be used to issue another request to the endpoint that
825 # served this list to retrieve the next set of available objects. Continuing
826 # a list may not be possible if the server configuration has changed or more
827 # than a few minutes have passed. The resourceVersion field returned when
828 # using this continue value will be identical to the value in the first
829 # response.
830 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
831 # Populated by the system.
832 # Read-only.
833 # +optional
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700834 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700835 &quot;items&quot;: [ # List of DomainMappings.
836 { # Resource to hold the state and status of a user&#x27;s domain mapping.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700837 &quot;status&quot;: { # The current state of the Domain Mapping. # The current status of the DomainMapping.
838 &quot;mappedRouteName&quot;: &quot;A String&quot;, # The name of the route that the mapping currently points to.
839 &quot;conditions&quot;: [ # Array of observed DomainMappingConditions, indicating the current state
840 # of the DomainMapping.
841 { # DomainMappingCondition contains state information for a DomainMapping.
842 &quot;message&quot;: &quot;A String&quot;, # Human readable message indicating details about the current status.
843 # +optional
844 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Last time the condition transitioned from one status to another.
845 # +optional
846 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
847 &quot;severity&quot;: &quot;A String&quot;, # How to interpret failures of this condition, one of Error, Warning, Info
848 # +optional
849 &quot;reason&quot;: &quot;A String&quot;, # One-word CamelCase reason for the condition&#x27;s current status.
850 # +optional
851 &quot;type&quot;: &quot;A String&quot;, # Type of domain mapping condition.
852 },
853 ],
854 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the DomainMapping that
855 # was last processed by the controller.
856 #
857 # Clients polling for completed reconciliation should poll until
858 # observedGeneration = metadata.generation and the Ready condition&#x27;s status
859 # is True or False.
860 &quot;resourceRecords&quot;: [ # The resource records required to configure this domain mapping. These
861 # records must be added to the domain&#x27;s DNS configuration in order to
862 # serve the application via this domain mapping.
863 { # A DNS resource record.
864 &quot;name&quot;: &quot;A String&quot;, # Relative name of the object affected by this record. Only applicable for
865 # `CNAME` records. Example: &#x27;www&#x27;.
866 &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: `AAAA`.
867 &quot;rrdata&quot;: &quot;A String&quot;, # Data for this record. Values vary by record type, as defined in RFC 1035
868 # (section 5) and RFC 1034 (section 3.6.1).
869 },
870 ],
871 },
872 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;domains.cloudrun.com/v1alpha1&quot;.
873 &quot;spec&quot;: { # The desired state of the Domain Mapping. # The spec for this DomainMapping.
874 &quot;forceOverride&quot;: True or False, # If set, the mapping will override any mapping set before this spec was set.
875 # It is recommended that the user leaves this empty to receive an error
876 # warning about a potential conflict and only set it once the respective UI
877 # has given such a warning.
878 &quot;routeName&quot;: &quot;A String&quot;, # The name of the Knative Route that this DomainMapping applies to.
879 # The route must exist.
880 &quot;certificateMode&quot;: &quot;A String&quot;, # The mode of the certificate.
881 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700882 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;DomainMapping&quot;.
883 &quot;metadata&quot;: { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this BuildTemplate.
884 # all objects users must create.
Bu Sun Kim65020912020-05-20 12:08:20 -0700885 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
886 #
887 # GenerateName is an optional prefix, used by the server, to generate a
888 # unique name ONLY IF the Name field has not been provided. If this field is
889 # used, the name returned to the client will be different than the name
890 # passed. This value will also be combined with a unique suffix. The provided
891 # value has the same validation rules as the Name field, and may be truncated
892 # by the length of the suffix required to make the value unique on the
893 # server.
894 #
895 # If this field is specified and the generated name exists, the server will
896 # NOT return a 409 - instead, it will either return 201 Created or 500 with
897 # Reason ServerTimeout indicating a unique name could not be found in the
898 # time allotted, and the client should retry (optionally after the time
899 # indicated in the Retry-After header).
900 #
901 # Applied only if Name is not specified.
902 # More info:
903 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
904 # +optional
905 # string generateName = 2;
906 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
907 # Is required when creating
908 # resources, although some resources may allow a client to request the
909 # generation of an appropriate name automatically. Name is primarily intended
910 # for creation idempotence and configuration definition. Cannot be updated.
911 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
912 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700913 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
914 #
915 # Number of seconds allowed for this object to gracefully terminate before
916 # it will be removed from the system. Only set when deletionTimestamp is also
917 # set. May only be shortened. Read-only. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700918 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
919 #
920 # The name of the cluster which the object belongs to.
921 # This is used to distinguish resources with same name and namespace in
922 # different clusters. This field is not set anywhere right now and apiserver
923 # is going to ignore it if set in create or update request. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700924 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
925 #
926 # Must be empty before the object is deleted from the registry. Each entry
927 # is an identifier for the responsible component that will remove the entry
928 # from the list. If the deletionTimestamp of the object is non-nil, entries
929 # in this list can only be removed.
930 # +optional
931 # +patchStrategy=merge
932 &quot;A String&quot;,
933 ],
934 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
935 # deleted. This field is set by the server when a graceful deletion is
936 # requested by the user, and is not directly settable by a client. The
937 # resource is expected to be deleted (no longer visible from resource lists,
938 # and not reachable by name) after the time in this field, once the
939 # finalizers list is empty. As long as the finalizers list contains items,
940 # deletion is blocked. Once the deletionTimestamp is set, this value may not
941 # be unset or be set further into the future, although it may be shortened or
942 # the resource may be deleted prior to this time. For example, a user may
943 # request that a pod is deleted in 30 seconds. The Kubelet will react by
944 # sending a graceful termination signal to the containers in the pod. After
945 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
946 # to the container and after cleanup, remove the pod from the API. In the
947 # presence of network partitions, this object may still exist after this
948 # timestamp, until an administrator or automated process can determine the
949 # resource is fully terminated.
950 # If not set, graceful deletion of the object has not been requested.
951 #
952 # Populated by the system when a graceful deletion is requested.
953 # Read-only.
954 # More info:
955 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
956 # +optional
957 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
958 # been deleted, this object will be garbage collected.
959 # +optional
960 { # OwnerReference contains enough information to let you identify an owning
961 # object. Currently, an owning object must be in the same namespace, so there
962 # is no namespace field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700963 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
964 # +optional
965 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
966 # More info:
967 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
968 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
969 # the owner cannot be deleted from the key-value store until this
970 # reference is removed.
971 # Defaults to false.
972 # To set this field, a user needs &quot;delete&quot; permission of the owner,
973 # otherwise 422 (Unprocessable Entity) will be returned.
974 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700975 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
976 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
977 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
978 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
979 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
Bu Sun Kim65020912020-05-20 12:08:20 -0700980 },
981 ],
982 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
983 # object was created. It is not guaranteed to be set in happens-before order
984 # across separate operations. Clients may not set this value. It is
985 # represented in RFC3339 form and is in UTC.
986 #
987 # Populated by the system.
988 # Read-only.
989 # Null for lists.
990 # More info:
991 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
992 # +optional
993 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
994 # (scope and select) objects. May match selectors of replication controllers
995 # and routes.
996 # More info: http://kubernetes.io/docs/user-guide/labels
997 # +optional
998 &quot;a_key&quot;: &quot;A String&quot;,
999 },
1000 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
1001 # Populated by the system. Read-only.
1002 # +optional
1003 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
1004 # can be used by clients to determine when objects have changed. May be used
1005 # for optimistic concurrency, change detection, and the watch operation on a
1006 # resource or set of resources. Clients must treat these values as opaque and
1007 # passed unmodified back to the server. They may only be valid for a
1008 # particular resource or set of resources.
1009 #
1010 # Populated by the system.
1011 # Read-only.
1012 # Value must be treated as opaque by clients and .
1013 # More info:
1014 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
1015 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001016 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
1017 # Populated by the system.
1018 # Read-only.
1019 # +optional
1020 # string selfLink = 4;
Bu Sun Kim65020912020-05-20 12:08:20 -07001021 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
1022 # generated by the server on successful creation of a resource and is not
1023 # allowed to change on PUT operations.
1024 #
1025 # Populated by the system.
1026 # Read-only.
1027 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1028 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -07001029 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
1030 # Cloud Run region. In Cloud Run the namespace must be equal to either the
1031 # project ID or project number.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001032 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
1033 # may be set by external tools to store and retrieve arbitrary metadata. They
1034 # are not queryable and should be preserved when modifying objects. More
1035 # info: http://kubernetes.io/docs/user-guide/annotations +optional
1036 &quot;a_key&quot;: &quot;A String&quot;,
1037 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001038 },
1039 },
1040 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001041 }</pre>
1042</div>
1043
1044</body></html>