Debian Codegraph @

docs/dyn/certificatemanager_v1.projects.locations.dnsAuthorizations.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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="certificatemanager_v1.html">Certificate Manager API</a> . <a href="certificatemanager_v1.projects.html">projects</a> . <a href="certificatemanager_v1.projects.locations.html">locations</a> . <a href="certificatemanager_v1.projects.locations.dnsAuthorizations.html">dnsAuthorizations</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, dnsAuthorizationId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new DnsAuthorization in a given project and location.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a single DnsAuthorization.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of a single DnsAuthorization.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists DnsAuthorizations in a given project and location.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates a DnsAuthorization.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, dnsAuthorizationId=None, x__xgafv=None)</code>
106 <pre>Creates a new DnsAuthorization in a given project and location.
107
108 Args:
109 parent: string, Required. The parent resource of the dns authorization. Must be in the format `projects/*/locations/*`. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # A DnsAuthorization resource describes a way to perform domain authorization for certificate issuance.
114 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a DnsAuthorization.
115 &quot;description&quot;: &quot;A String&quot;, # Optional. One or more paragraphs of text description of a DnsAuthorization.
116 &quot;dnsResourceRecord&quot;: { # The structure describing the DNS Resource Record that needs to be added to DNS configuration for the authorization to be usable by certificate. # Output only. DNS Resource Record that needs to be added to DNS configuration.
117 &quot;data&quot;: &quot;A String&quot;, # Output only. Data of the DNS Resource Record.
118 &quot;name&quot;: &quot;A String&quot;, # Output only. Fully qualified name of the DNS Resource Record. e.g. `_acme-challenge.example.com`
119 &quot;type&quot;: &quot;A String&quot;, # Output only. Type of the DNS Resource Record. Currently always set to &quot;CNAME&quot;.
120 },
121 &quot;domain&quot;: &quot;A String&quot;, # Required. Immutable. A domain that is being authorized. A DnsAuthorization resource covers a single domain and its wildcard, e.g. authorization for `example.com` can be used to issue certificates for `example.com` and `*.example.com`.
122 &quot;labels&quot;: { # Optional. Set of labels associated with a DnsAuthorization.
123 &quot;a_key&quot;: &quot;A String&quot;,
124 },
125 &quot;name&quot;: &quot;A String&quot;, # Identifier. A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern `projects/*/locations/*/dnsAuthorizations/*`.
126 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Type of DnsAuthorization. If unset during resource creation the following default will be used: - in location `global`: FIXED_RECORD, - in other locations: PER_PROJECT_RECORD.
127 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a DnsAuthorization.
128 }
129
130 dnsAuthorizationId: string, Required. A user-provided name of the dns authorization.
131 x__xgafv: string, V1 error format.
132 Allowed values
133 1 - v1 error format
134 2 - v2 error format
135
136 Returns:
137 An object of the form:
138
139 { # This resource represents a long-running operation that is the result of a network API call.
140 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
141 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
142 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
143 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
144 {
145 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
146 },
147 ],
148 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
149 },
150 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
151 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
152 },
153 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
154 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
155 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
156 },
157 }</pre>
158 </div>
159
160 <div class="method">
161 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
162 <pre>Deletes a single DnsAuthorization.
163
164 Args:
165 name: string, Required. A name of the dns authorization to delete. Must be in the format `projects/*/locations/*/dnsAuthorizations/*`. (required)
166 x__xgafv: string, V1 error format.
167 Allowed values
168 1 - v1 error format
169 2 - v2 error format
170
171 Returns:
172 An object of the form:
173
174 { # This resource represents a long-running operation that is the result of a network API call.
175 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
176 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
177 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
178 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
179 {
180 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
181 },
182 ],
183 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
184 },
185 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
186 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
187 },
188 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
189 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
190 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
191 },
192 }</pre>
193 </div>
194
195 <div class="method">
196 <code class="details" id="get">get(name, x__xgafv=None)</code>
197 <pre>Gets details of a single DnsAuthorization.
198
199 Args:
200 name: string, Required. A name of the dns authorization to describe. Must be in the format `projects/*/locations/*/dnsAuthorizations/*`. (required)
201 x__xgafv: string, V1 error format.
202 Allowed values
203 1 - v1 error format
204 2 - v2 error format
205
206 Returns:
207 An object of the form:
208
209 { # A DnsAuthorization resource describes a way to perform domain authorization for certificate issuance.
210 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a DnsAuthorization.
211 &quot;description&quot;: &quot;A String&quot;, # Optional. One or more paragraphs of text description of a DnsAuthorization.
212 &quot;dnsResourceRecord&quot;: { # The structure describing the DNS Resource Record that needs to be added to DNS configuration for the authorization to be usable by certificate. # Output only. DNS Resource Record that needs to be added to DNS configuration.
213 &quot;data&quot;: &quot;A String&quot;, # Output only. Data of the DNS Resource Record.
214 &quot;name&quot;: &quot;A String&quot;, # Output only. Fully qualified name of the DNS Resource Record. e.g. `_acme-challenge.example.com`
215 &quot;type&quot;: &quot;A String&quot;, # Output only. Type of the DNS Resource Record. Currently always set to &quot;CNAME&quot;.
216 },
217 &quot;domain&quot;: &quot;A String&quot;, # Required. Immutable. A domain that is being authorized. A DnsAuthorization resource covers a single domain and its wildcard, e.g. authorization for `example.com` can be used to issue certificates for `example.com` and `*.example.com`.
218 &quot;labels&quot;: { # Optional. Set of labels associated with a DnsAuthorization.
219 &quot;a_key&quot;: &quot;A String&quot;,
220 },
221 &quot;name&quot;: &quot;A String&quot;, # Identifier. A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern `projects/*/locations/*/dnsAuthorizations/*`.
222 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Type of DnsAuthorization. If unset during resource creation the following default will be used: - in location `global`: FIXED_RECORD, - in other locations: PER_PROJECT_RECORD.
223 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a DnsAuthorization.
224 }</pre>
225 </div>
226
227 <div class="method">
228 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
229 <pre>Lists DnsAuthorizations in a given project and location.
230
231 Args:
232 parent: string, Required. The project and location from which the dns authorizations should be listed, specified in the format `projects/*/locations/*`. (required)
233 filter: string, Optional. Filter expression to restrict the Dns Authorizations returned.
234 orderBy: string, Optional. A list of Dns Authorization field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `&quot; desc&quot;`.
235 pageSize: integer, Optional. Maximum number of dns authorizations to return per call.
236 pageToken: string, Optional. The value returned by the last `ListDnsAuthorizationsResponse`. Indicates that this is a continuation of a prior `ListDnsAuthorizations` call, and that the system should return the next page of data.
237 x__xgafv: string, V1 error format.
238 Allowed values
239 1 - v1 error format
240 2 - v2 error format
241
242 Returns:
243 An object of the form:
244
245 { # Response for the `ListDnsAuthorizations` method.
246 &quot;dnsAuthorizations&quot;: [ # A list of dns authorizations for the parent resource.
247 { # A DnsAuthorization resource describes a way to perform domain authorization for certificate issuance.
248 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a DnsAuthorization.
249 &quot;description&quot;: &quot;A String&quot;, # Optional. One or more paragraphs of text description of a DnsAuthorization.
250 &quot;dnsResourceRecord&quot;: { # The structure describing the DNS Resource Record that needs to be added to DNS configuration for the authorization to be usable by certificate. # Output only. DNS Resource Record that needs to be added to DNS configuration.
251 &quot;data&quot;: &quot;A String&quot;, # Output only. Data of the DNS Resource Record.
252 &quot;name&quot;: &quot;A String&quot;, # Output only. Fully qualified name of the DNS Resource Record. e.g. `_acme-challenge.example.com`
253 &quot;type&quot;: &quot;A String&quot;, # Output only. Type of the DNS Resource Record. Currently always set to &quot;CNAME&quot;.
254 },
255 &quot;domain&quot;: &quot;A String&quot;, # Required. Immutable. A domain that is being authorized. A DnsAuthorization resource covers a single domain and its wildcard, e.g. authorization for `example.com` can be used to issue certificates for `example.com` and `*.example.com`.
256 &quot;labels&quot;: { # Optional. Set of labels associated with a DnsAuthorization.
257 &quot;a_key&quot;: &quot;A String&quot;,
258 },
259 &quot;name&quot;: &quot;A String&quot;, # Identifier. A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern `projects/*/locations/*/dnsAuthorizations/*`.
260 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Type of DnsAuthorization. If unset during resource creation the following default will be used: - in location `global`: FIXED_RECORD, - in other locations: PER_PROJECT_RECORD.
261 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a DnsAuthorization.
262 },
263 ],
264 &quot;nextPageToken&quot;: &quot;A String&quot;, # If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
265 &quot;unreachable&quot;: [ # Locations that could not be reached.
266 &quot;A String&quot;,
267 ],
268 }</pre>
269 </div>
270
271 <div class="method">
272 <code class="details" id="list_next">list_next()</code>
273 <pre>Retrieves the next page of results.
274
275 Args:
276 previous_request: The request for the previous page. (required)
277 previous_response: The response from the request for the previous page. (required)
278
279 Returns:
280 A request object that you can call &#x27;execute()&#x27; on to request the next
281 page. Returns None if there are no more items in the collection.
282 </pre>
283 </div>
284
285 <div class="method">
286 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
287 <pre>Updates a DnsAuthorization.
288
289 Args:
290 name: string, Identifier. A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern `projects/*/locations/*/dnsAuthorizations/*`. (required)
291 body: object, The request body.
292 The object takes the form of:
293
294 { # A DnsAuthorization resource describes a way to perform domain authorization for certificate issuance.
295 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of a DnsAuthorization.
296 &quot;description&quot;: &quot;A String&quot;, # Optional. One or more paragraphs of text description of a DnsAuthorization.
297 &quot;dnsResourceRecord&quot;: { # The structure describing the DNS Resource Record that needs to be added to DNS configuration for the authorization to be usable by certificate. # Output only. DNS Resource Record that needs to be added to DNS configuration.
298 &quot;data&quot;: &quot;A String&quot;, # Output only. Data of the DNS Resource Record.
299 &quot;name&quot;: &quot;A String&quot;, # Output only. Fully qualified name of the DNS Resource Record. e.g. `_acme-challenge.example.com`
300 &quot;type&quot;: &quot;A String&quot;, # Output only. Type of the DNS Resource Record. Currently always set to &quot;CNAME&quot;.
301 },
302 &quot;domain&quot;: &quot;A String&quot;, # Required. Immutable. A domain that is being authorized. A DnsAuthorization resource covers a single domain and its wildcard, e.g. authorization for `example.com` can be used to issue certificates for `example.com` and `*.example.com`.
303 &quot;labels&quot;: { # Optional. Set of labels associated with a DnsAuthorization.
304 &quot;a_key&quot;: &quot;A String&quot;,
305 },
306 &quot;name&quot;: &quot;A String&quot;, # Identifier. A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern `projects/*/locations/*/dnsAuthorizations/*`.
307 &quot;type&quot;: &quot;A String&quot;, # Optional. Immutable. Type of DnsAuthorization. If unset during resource creation the following default will be used: - in location `global`: FIXED_RECORD, - in other locations: PER_PROJECT_RECORD.
308 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of a DnsAuthorization.
309 }
310
311 updateMask: string, Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
312 x__xgafv: string, V1 error format.
313 Allowed values
314 1 - v1 error format
315 2 - v2 error format
316
317 Returns:
318 An object of the form:
319
320 { # This resource represents a long-running operation that is the result of a network API call.
321 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
322 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
323 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
324 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
325 {
326 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
327 },
328 ],
329 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
330 },
331 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
332 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
333 },
334 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
335 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
336 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
337 },
338 }</pre>
339 </div>
340
341 </body></html>