blob: 2342333afc6cbf18963d90c753f83939e8fa8aa3 [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -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
Bu Sun Kimd059ad82020-07-22 17:02:09 -070075<h1><a href="run_v1.html">Cloud Run Admin API</a> . <a href="run_v1.namespaces.html">namespaces</a> . <a href="run_v1.namespaces.domainmappings.html">domainmappings</a></h1>
Bu Sun Kim65020912020-05-20 12:08:20 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
yoshi-code-bota8b35b92021-03-31 13:33:30 -070081 <code><a href="#create">create(parent, body=None, dryRun=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070082<p class="firstline">Create a new domain mapping.</p>
83<p class="toc_element">
yoshi-code-bota8b35b92021-03-31 13:33:30 -070084 <code><a href="#delete">delete(name, apiVersion=None, dryRun=None, kind=None, propagationPolicy=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070085<p class="firstline">Delete a domain mapping.</p>
86<p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88<p class="firstline">Get information about a domain mapping.</p>
89<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080090 <code><a href="#list">list(parent, continue=None, fieldSelector=None, includeUninitialized=None, labelSelector=None, limit=None, resourceVersion=None, watch=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070091<p class="firstline">List domain mappings.</p>
92<h3>Method Details</h3>
93<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070094 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96</div>
97
98<div class="method">
yoshi-code-bota8b35b92021-03-31 13:33:30 -070099 <code class="details" id="create">create(parent, body=None, dryRun=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700100 <pre>Create a new domain mapping.
101
102Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700103 parent: string, The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700104 body: object, The request body.
105 The object takes the form of:
106
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800107{ # Resource to hold the state and status of a user&#x27;s domain mapping. NOTE: This resource is currently in Beta.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800108 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;domains.cloudrun.com/v1&quot;.
109 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;DomainMapping&quot;.
110 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. # Metadata associated with this BuildTemplate.
111 &quot;annotations&quot;: { # (Optional) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
112 &quot;a_key&quot;: &quot;A String&quot;,
113 },
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700114 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional) Not supported by Cloud Run The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800115 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional) CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700116 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional) Not supported by Cloud Run Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.
117 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional) Not supported by Cloud Run DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
118 &quot;finalizers&quot;: [ # (Optional) Not supported by Cloud Run Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. +patchStrategy=merge
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800119 &quot;A String&quot;,
120 ],
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700121 &quot;generateName&quot;: &quot;A String&quot;, # (Optional) Not supported by Cloud Run GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency string generateName = 2;
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800122 &quot;generation&quot;: 42, # (Optional) A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
123 &quot;labels&quot;: { # (Optional) Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes. More info: http://kubernetes.io/docs/user-guide/labels
124 &quot;a_key&quot;: &quot;A String&quot;,
125 },
126 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names +optional
127 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a Cloud Run region. In Cloud Run the namespace must be equal to either the project ID or project number.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700128 &quot;ownerReferences&quot;: [ # (Optional) Not supported by Cloud Run List of objects that own this object. If ALL objects in the list have been deleted, this object will be garbage collected.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800129 { # OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.
130 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
131 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs &quot;delete&quot; permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. +optional
132 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller. +optional
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700133 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800134 &quot;name&quot;: &quot;A String&quot;, # Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
135 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800136 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800137 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400138 &quot;resourceVersion&quot;: &quot;A String&quot;, # Optional. An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients or omitted. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800139 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional) SelfLink is a URL representing this object. Populated by the system. Read-only. string selfLink = 4;
140 &quot;uid&quot;: &quot;A String&quot;, # (Optional) UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
141 },
142 &quot;spec&quot;: { # The desired state of the Domain Mapping. # The spec for this DomainMapping.
143 &quot;certificateMode&quot;: &quot;A String&quot;, # The mode of the certificate.
144 &quot;forceOverride&quot;: True or False, # If set, the mapping will override any mapping set before this spec was set. It is recommended that the user leaves this empty to receive an error warning about a potential conflict and only set it once the respective UI has given such a warning.
145 &quot;routeName&quot;: &quot;A String&quot;, # The name of the Knative Route that this DomainMapping applies to. The route must exist.
146 },
147 &quot;status&quot;: { # The current state of the Domain Mapping. # The current status of the DomainMapping.
148 &quot;conditions&quot;: [ # Array of observed DomainMappingConditions, indicating the current state of the DomainMapping.
149 { # Condition defines a generic condition for a Resource
150 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
151 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
152 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
153 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
154 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700155 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * &quot;Ready&quot;: True when the Resource is ready.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800156 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800157 ],
158 &quot;mappedRouteName&quot;: &quot;A String&quot;, # The name of the route that the mapping currently points to.
159 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the DomainMapping that was last processed by the controller. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition&#x27;s status is True or False.
160 &quot;resourceRecords&quot;: [ # The resource records required to configure this domain mapping. These records must be added to the domain&#x27;s DNS configuration in order to serve the application via this domain mapping.
161 { # A DNS resource record.
162 &quot;name&quot;: &quot;A String&quot;, # Relative name of the object affected by this record. Only applicable for `CNAME` records. Example: &#x27;www&#x27;.
163 &quot;rrdata&quot;: &quot;A String&quot;, # Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
164 &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: `AAAA`.
165 },
166 ],
yoshi-code-bota36e3b12021-07-27 00:20:26 -0700167 &quot;url&quot;: &quot;A String&quot;, # Optional. Cloud Run fully managed: not supported Cloud Run on GKE: supported Holds the URL that will serve the traffic of the DomainMapping.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800168 },
169}
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700170
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400171 dryRun: string, Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700172 x__xgafv: string, V1 error format.
173 Allowed values
174 1 - v1 error format
175 2 - v2 error format
176
177Returns:
178 An object of the form:
179
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800180 { # Resource to hold the state and status of a user&#x27;s domain mapping. NOTE: This resource is currently in Beta.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800181 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;domains.cloudrun.com/v1&quot;.
182 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;DomainMapping&quot;.
183 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. # Metadata associated with this BuildTemplate.
184 &quot;annotations&quot;: { # (Optional) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
185 &quot;a_key&quot;: &quot;A String&quot;,
186 },
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700187 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional) Not supported by Cloud Run The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800188 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional) CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700189 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional) Not supported by Cloud Run Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.
190 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional) Not supported by Cloud Run DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
191 &quot;finalizers&quot;: [ # (Optional) Not supported by Cloud Run Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. +patchStrategy=merge
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800192 &quot;A String&quot;,
193 ],
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700194 &quot;generateName&quot;: &quot;A String&quot;, # (Optional) Not supported by Cloud Run GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency string generateName = 2;
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800195 &quot;generation&quot;: 42, # (Optional) A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
196 &quot;labels&quot;: { # (Optional) Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes. More info: http://kubernetes.io/docs/user-guide/labels
197 &quot;a_key&quot;: &quot;A String&quot;,
198 },
199 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names +optional
200 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a Cloud Run region. In Cloud Run the namespace must be equal to either the project ID or project number.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700201 &quot;ownerReferences&quot;: [ # (Optional) Not supported by Cloud Run List of objects that own this object. If ALL objects in the list have been deleted, this object will be garbage collected.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800202 { # OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.
203 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
204 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs &quot;delete&quot; permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. +optional
205 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller. +optional
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700206 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800207 &quot;name&quot;: &quot;A String&quot;, # Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
208 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700209 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800210 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400211 &quot;resourceVersion&quot;: &quot;A String&quot;, # Optional. An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients or omitted. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800212 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional) SelfLink is a URL representing this object. Populated by the system. Read-only. string selfLink = 4;
213 &quot;uid&quot;: &quot;A String&quot;, # (Optional) UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
214 },
215 &quot;spec&quot;: { # The desired state of the Domain Mapping. # The spec for this DomainMapping.
216 &quot;certificateMode&quot;: &quot;A String&quot;, # The mode of the certificate.
217 &quot;forceOverride&quot;: True or False, # If set, the mapping will override any mapping set before this spec was set. It is recommended that the user leaves this empty to receive an error warning about a potential conflict and only set it once the respective UI has given such a warning.
218 &quot;routeName&quot;: &quot;A String&quot;, # The name of the Knative Route that this DomainMapping applies to. The route must exist.
219 },
220 &quot;status&quot;: { # The current state of the Domain Mapping. # The current status of the DomainMapping.
221 &quot;conditions&quot;: [ # Array of observed DomainMappingConditions, indicating the current state of the DomainMapping.
222 { # Condition defines a generic condition for a Resource
223 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
224 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
225 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
226 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
227 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700228 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * &quot;Ready&quot;: True when the Resource is ready.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800229 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800230 ],
231 &quot;mappedRouteName&quot;: &quot;A String&quot;, # The name of the route that the mapping currently points to.
232 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the DomainMapping that was last processed by the controller. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition&#x27;s status is True or False.
233 &quot;resourceRecords&quot;: [ # The resource records required to configure this domain mapping. These records must be added to the domain&#x27;s DNS configuration in order to serve the application via this domain mapping.
234 { # A DNS resource record.
235 &quot;name&quot;: &quot;A String&quot;, # Relative name of the object affected by this record. Only applicable for `CNAME` records. Example: &#x27;www&#x27;.
236 &quot;rrdata&quot;: &quot;A String&quot;, # Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
237 &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: `AAAA`.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800238 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800239 ],
yoshi-code-bota36e3b12021-07-27 00:20:26 -0700240 &quot;url&quot;: &quot;A String&quot;, # Optional. Cloud Run fully managed: not supported Cloud Run on GKE: supported Holds the URL that will serve the traffic of the DomainMapping.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800241 },
242}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700243</div>
244
245<div class="method">
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700246 <code class="details" id="delete">delete(name, apiVersion=None, dryRun=None, kind=None, propagationPolicy=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700247 <pre>Delete a domain mapping.
248
249Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700250 name: string, The name of the domain mapping to delete. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. (required)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800251 apiVersion: string, Cloud Run currently ignores this parameter.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400252 dryRun: string, Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800253 kind: string, Cloud Run currently ignores this parameter.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800254 propagationPolicy: string, Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.
Bu Sun Kim65020912020-05-20 12:08:20 -0700255 x__xgafv: string, V1 error format.
256 Allowed values
257 1 - v1 error format
258 2 - v2 error format
259
260Returns:
261 An object of the form:
262
263 { # Status is a return value for calls that don&#x27;t return other objects
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800264 &quot;code&quot;: 42, # Suggested HTTP return code for this status, 0 if not set. +optional
265 &quot;details&quot;: { # StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined. # Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. +optional
266 &quot;causes&quot;: [ # The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. +optional
267 { # StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
268 &quot;field&quot;: &quot;A String&quot;, # The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: &quot;name&quot; - the field &quot;name&quot; on the current resource &quot;items[0].name&quot; - the field &quot;name&quot; on the first array entry in &quot;items&quot; +optional
269 &quot;message&quot;: &quot;A String&quot;, # A human-readable description of the cause of the error. This field may be presented as-is to a reader. +optional
270 &quot;reason&quot;: &quot;A String&quot;, # A machine-readable description of the cause of the error. If this value is empty there is no information available. +optional
271 },
272 ],
273 &quot;group&quot;: &quot;A String&quot;, # The group attribute of the resource associated with the status StatusReason. +optional
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700274 &quot;kind&quot;: &quot;A String&quot;, # The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800275 &quot;name&quot;: &quot;A String&quot;, # The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). +optional
276 &quot;retryAfterSeconds&quot;: 42, # If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action. +optional
277 &quot;uid&quot;: &quot;A String&quot;, # UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids +optional
278 },
279 &quot;message&quot;: &quot;A String&quot;, # A human-readable description of the status of this operation. +optional
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700280 &quot;metadata&quot;: { # ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}. # Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800281 &quot;continue&quot;: &quot;A String&quot;, # continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response.
282 &quot;resourceVersion&quot;: &quot;A String&quot;, # String that identifies the server&#x27;s internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency +optional
283 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object. Populated by the system. Read-only. +optional
284 },
285 &quot;reason&quot;: &quot;A String&quot;, # A machine-readable description of why this operation is in the &quot;Failure&quot; status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. +optional
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700286 &quot;status&quot;: &quot;A String&quot;, # Status of the operation. One of: &quot;Success&quot; or &quot;Failure&quot;. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +optional
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800287}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700288</div>
289
290<div class="method">
291 <code class="details" id="get">get(name, x__xgafv=None)</code>
292 <pre>Get information about a domain mapping.
293
294Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700295 name: string, The name of the domain mapping to retrieve. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700296 x__xgafv: string, V1 error format.
297 Allowed values
298 1 - v1 error format
299 2 - v2 error format
300
301Returns:
302 An object of the form:
303
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800304 { # Resource to hold the state and status of a user&#x27;s domain mapping. NOTE: This resource is currently in Beta.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800305 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;domains.cloudrun.com/v1&quot;.
306 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;DomainMapping&quot;.
307 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. # Metadata associated with this BuildTemplate.
308 &quot;annotations&quot;: { # (Optional) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
309 &quot;a_key&quot;: &quot;A String&quot;,
310 },
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700311 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional) Not supported by Cloud Run The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800312 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional) CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700313 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional) Not supported by Cloud Run Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.
314 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional) Not supported by Cloud Run DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
315 &quot;finalizers&quot;: [ # (Optional) Not supported by Cloud Run Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. +patchStrategy=merge
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800316 &quot;A String&quot;,
317 ],
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700318 &quot;generateName&quot;: &quot;A String&quot;, # (Optional) Not supported by Cloud Run GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency string generateName = 2;
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800319 &quot;generation&quot;: 42, # (Optional) A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
320 &quot;labels&quot;: { # (Optional) Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes. More info: http://kubernetes.io/docs/user-guide/labels
321 &quot;a_key&quot;: &quot;A String&quot;,
322 },
323 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names +optional
324 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a Cloud Run region. In Cloud Run the namespace must be equal to either the project ID or project number.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700325 &quot;ownerReferences&quot;: [ # (Optional) Not supported by Cloud Run List of objects that own this object. If ALL objects in the list have been deleted, this object will be garbage collected.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800326 { # OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.
327 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
328 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs &quot;delete&quot; permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. +optional
329 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller. +optional
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700330 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800331 &quot;name&quot;: &quot;A String&quot;, # Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
332 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700333 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800334 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400335 &quot;resourceVersion&quot;: &quot;A String&quot;, # Optional. An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients or omitted. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800336 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional) SelfLink is a URL representing this object. Populated by the system. Read-only. string selfLink = 4;
337 &quot;uid&quot;: &quot;A String&quot;, # (Optional) UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
338 },
339 &quot;spec&quot;: { # The desired state of the Domain Mapping. # The spec for this DomainMapping.
340 &quot;certificateMode&quot;: &quot;A String&quot;, # The mode of the certificate.
341 &quot;forceOverride&quot;: True or False, # If set, the mapping will override any mapping set before this spec was set. It is recommended that the user leaves this empty to receive an error warning about a potential conflict and only set it once the respective UI has given such a warning.
342 &quot;routeName&quot;: &quot;A String&quot;, # The name of the Knative Route that this DomainMapping applies to. The route must exist.
343 },
344 &quot;status&quot;: { # The current state of the Domain Mapping. # The current status of the DomainMapping.
345 &quot;conditions&quot;: [ # Array of observed DomainMappingConditions, indicating the current state of the DomainMapping.
346 { # Condition defines a generic condition for a Resource
347 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
348 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
349 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
350 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
351 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700352 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * &quot;Ready&quot;: True when the Resource is ready.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800353 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800354 ],
355 &quot;mappedRouteName&quot;: &quot;A String&quot;, # The name of the route that the mapping currently points to.
356 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the DomainMapping that was last processed by the controller. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition&#x27;s status is True or False.
357 &quot;resourceRecords&quot;: [ # The resource records required to configure this domain mapping. These records must be added to the domain&#x27;s DNS configuration in order to serve the application via this domain mapping.
358 { # A DNS resource record.
359 &quot;name&quot;: &quot;A String&quot;, # Relative name of the object affected by this record. Only applicable for `CNAME` records. Example: &#x27;www&#x27;.
360 &quot;rrdata&quot;: &quot;A String&quot;, # Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
361 &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: `AAAA`.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800362 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800363 ],
yoshi-code-bota36e3b12021-07-27 00:20:26 -0700364 &quot;url&quot;: &quot;A String&quot;, # Optional. Cloud Run fully managed: not supported Cloud Run on GKE: supported Holds the URL that will serve the traffic of the DomainMapping.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800365 },
366}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700367</div>
368
369<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800370 <code class="details" id="list">list(parent, continue=None, fieldSelector=None, includeUninitialized=None, labelSelector=None, limit=None, resourceVersion=None, watch=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700371 <pre>List domain mappings.
372
373Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700374 parent: string, The namespace from which the domain mappings should be listed. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. (required)
yoshi-code-bota36e3b12021-07-27 00:20:26 -0700375 continue: string, Optional. Encoded string to continue paging.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800376 fieldSelector: string, Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. &#x27;metadata.name%3Dlorem&#x27;. Not currently used by Cloud Run.
377 includeUninitialized: boolean, Not currently used by Cloud Run.
378 labelSelector: string, Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
yoshi-code-bota36e3b12021-07-27 00:20:26 -0700379 limit: integer, Optional. The maximum number of records that should be returned.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800380 resourceVersion: string, The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
381 watch: boolean, Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
Bu Sun Kim65020912020-05-20 12:08:20 -0700382 x__xgafv: string, V1 error format.
383 Allowed values
384 1 - v1 error format
385 2 - v2 error format
386
387Returns:
388 An object of the form:
389
390 { # ListDomainMappingsResponse is a list of DomainMapping resources.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800391 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;domains.cloudrun.com/v1&quot;.
392 &quot;items&quot;: [ # List of DomainMappings.
393 { # Resource to hold the state and status of a user&#x27;s domain mapping. NOTE: This resource is currently in Beta.
394 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;domains.cloudrun.com/v1&quot;.
395 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;DomainMapping&quot;.
396 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. # Metadata associated with this BuildTemplate.
397 &quot;annotations&quot;: { # (Optional) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
398 &quot;a_key&quot;: &quot;A String&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800399 },
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700400 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional) Not supported by Cloud Run The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800401 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional) CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700402 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional) Not supported by Cloud Run Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.
403 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional) Not supported by Cloud Run DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
404 &quot;finalizers&quot;: [ # (Optional) Not supported by Cloud Run Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. +patchStrategy=merge
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800405 &quot;A String&quot;,
406 ],
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700407 &quot;generateName&quot;: &quot;A String&quot;, # (Optional) Not supported by Cloud Run GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency string generateName = 2;
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800408 &quot;generation&quot;: 42, # (Optional) A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
409 &quot;labels&quot;: { # (Optional) Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes. More info: http://kubernetes.io/docs/user-guide/labels
410 &quot;a_key&quot;: &quot;A String&quot;,
411 },
412 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names +optional
413 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a Cloud Run region. In Cloud Run the namespace must be equal to either the project ID or project number.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700414 &quot;ownerReferences&quot;: [ # (Optional) Not supported by Cloud Run List of objects that own this object. If ALL objects in the list have been deleted, this object will be garbage collected.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800415 { # OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.
416 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
417 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs &quot;delete&quot; permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. +optional
418 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller. +optional
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700419 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800420 &quot;name&quot;: &quot;A String&quot;, # Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
421 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
422 },
423 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400424 &quot;resourceVersion&quot;: &quot;A String&quot;, # Optional. An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients or omitted. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800425 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional) SelfLink is a URL representing this object. Populated by the system. Read-only. string selfLink = 4;
426 &quot;uid&quot;: &quot;A String&quot;, # (Optional) UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
427 },
428 &quot;spec&quot;: { # The desired state of the Domain Mapping. # The spec for this DomainMapping.
429 &quot;certificateMode&quot;: &quot;A String&quot;, # The mode of the certificate.
430 &quot;forceOverride&quot;: True or False, # If set, the mapping will override any mapping set before this spec was set. It is recommended that the user leaves this empty to receive an error warning about a potential conflict and only set it once the respective UI has given such a warning.
431 &quot;routeName&quot;: &quot;A String&quot;, # The name of the Knative Route that this DomainMapping applies to. The route must exist.
432 },
433 &quot;status&quot;: { # The current state of the Domain Mapping. # The current status of the DomainMapping.
434 &quot;conditions&quot;: [ # Array of observed DomainMappingConditions, indicating the current state of the DomainMapping.
435 { # Condition defines a generic condition for a Resource
436 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
437 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
438 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
439 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
440 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700441 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * &quot;Ready&quot;: True when the Resource is ready.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800442 },
443 ],
444 &quot;mappedRouteName&quot;: &quot;A String&quot;, # The name of the route that the mapping currently points to.
445 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the DomainMapping that was last processed by the controller. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition&#x27;s status is True or False.
446 &quot;resourceRecords&quot;: [ # The resource records required to configure this domain mapping. These records must be added to the domain&#x27;s DNS configuration in order to serve the application via this domain mapping.
447 { # A DNS resource record.
448 &quot;name&quot;: &quot;A String&quot;, # Relative name of the object affected by this record. Only applicable for `CNAME` records. Example: &#x27;www&#x27;.
449 &quot;rrdata&quot;: &quot;A String&quot;, # Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
450 &quot;type&quot;: &quot;A String&quot;, # Resource record type. Example: `AAAA`.
451 },
452 ],
yoshi-code-bota36e3b12021-07-27 00:20:26 -0700453 &quot;url&quot;: &quot;A String&quot;, # Optional. Cloud Run fully managed: not supported Cloud Run on GKE: supported Holds the URL that will serve the traffic of the DomainMapping.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800454 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800455 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800456 ],
457 &quot;kind&quot;: &quot;A String&quot;, # The kind of this resource, in this case &quot;DomainMappingList&quot;.
458 &quot;metadata&quot;: { # ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}. # Metadata associated with this DomainMapping list.
459 &quot;continue&quot;: &quot;A String&quot;, # continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response.
460 &quot;resourceVersion&quot;: &quot;A String&quot;, # String that identifies the server&#x27;s internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency +optional
461 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object. Populated by the system. Read-only. +optional
462 },
463 &quot;unreachable&quot;: [ # Locations that could not be reached.
464 &quot;A String&quot;,
465 ],
466}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700467</div>
468
469</body></html>