blob: 6f50cac098b17198c5499d156a550cfb2e833651 [file] [log] [blame]
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001<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="dns_v2beta1.html">Cloud DNS API</a> . <a href="dns_v2beta1.dnsKeys.html">dnsKeys</a></h1>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#get">get(project, managedZone, dnsKeyId, digestType=None, clientOperationId=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Fetch the representation of an existing DnsKey.</p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040080<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#list">list(project, managedZone, pageToken=None, digestType=None, maxResults=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Enumerate DnsKeys to a ResourceRecordSet collection.</p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040083<p class="toc_element">
84 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
85<p class="firstline">Retrieves the next page of results.</p>
86<h3>Method Details</h3>
87<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070088 <code class="details" id="get">get(project, managedZone, dnsKeyId, digestType=None, clientOperationId=None, x__xgafv=None)</code>
89 <pre>Fetch the representation of an existing DnsKey.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040090
91Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -070092 project: string, Identifies the project addressed by this request. (required)
93 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed
94zone name or id. (required)
95 dnsKeyId: string, The identifier of the requested DnsKey. (required)
96 digestType: string, An optional comma-separated list of digest types to compute and display
97for key signing keys. If omitted, the recommended digest type will be
98computed and displayed.
99 clientOperationId: string, For mutating operation requests only. An optional identifier
100specified by the client. Must be unique for operation resources in the
101Operations collection.
102 x__xgafv: string, V1 error format.
103 Allowed values
104 1 - v1 error format
105 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400106
107Returns:
108 An object of the form:
109
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700110 { # A DNSSEC key pair.
111 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone.
112 # Inactive keys will still be present as DNSKEY Resource Records for the use
113 # of resolvers validating existing signatures.
114 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
115 # for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
116 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
117 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in
118 # RFC3339 text format. Output only.
119 &quot;type&quot;: &quot;A String&quot;, # One of &quot;KEY_SIGNING&quot; or &quot;ZONE_SIGNING&quot;. Keys of type KEY_SIGNING have the
120 # Secure Entry Point flag set and, when active, will be used to sign only
121 # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
122 # flag will be cleared and this key will be used to sign only resource
123 # record sets of other types. Immutable after creation time.
124 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record
125 # associated with this DnsKey. The key tag can be used to identify a DNSKEY
126 # more quickly (but it is not a unique identifier). In particular, the key
127 # tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this
128 # child ManagedZone. The key tag is a number in the range [0, 65535] and the
129 # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
130 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
131 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
132 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
133 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this
134 # DnsKey. These digests are needed to construct a DS record that points at
135 # this DNS key. Output only.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400136 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700137 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS
138 # resource record.
139 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400140 },
141 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700142 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
143 # after creation time.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400144 }</pre>
145</div>
146
147<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700148 <code class="details" id="list">list(project, managedZone, pageToken=None, digestType=None, maxResults=None, x__xgafv=None)</code>
149 <pre>Enumerate DnsKeys to a ResourceRecordSet collection.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400150
151Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700152 project: string, Identifies the project addressed by this request. (required)
153 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed
154zone name or id. (required)
155 pageToken: string, Optional. A tag returned by a previous list request that was truncated.
156Use this parameter to continue a previous list request.
157 digestType: string, An optional comma-separated list of digest types to compute and display
158for key signing keys. If omitted, the recommended digest type will be
159computed and displayed.
160 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the
161server will decide how many results to return.
162 x__xgafv: string, V1 error format.
163 Allowed values
164 1 - v1 error format
165 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400166
167Returns:
168 An object of the form:
169
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700170 { # The response to a request to enumerate DnsKeys in a ManagedZone.
171 &quot;nextPageToken&quot;: &quot;A String&quot;, # The presence of this field indicates that there exist more results
172 # following your last page of results in pagination order. To fetch them,
173 # make another list request using this value as your pagination token.
174 #
175 # In this way you can retrieve the complete contents of even very large
176 # collections one page at a time. However, if the contents of the collection
177 # change between the first and last paginated list request, the set of all
178 # elements returned will be an inconsistent view of the collection. There is
179 # no way to retrieve a &quot;snapshot&quot; of collections larger than the maximum
180 # page size.
181 &quot;kind&quot;: &quot;dns#dnsKeysListResponse&quot;, # Type of resource.
182 &quot;header&quot;: { # Elements common to every response.
183 &quot;operationId&quot;: &quot;A String&quot;, # For mutating operation requests that completed successfully.
184 # This is the client_operation_id if the client specified it,
185 # otherwise it is generated by the server (output only).
186 },
187 &quot;dnsKeys&quot;: [ # The requested resources.
188 { # A DNSSEC key pair.
189 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone.
190 # Inactive keys will still be present as DNSKEY Resource Records for the use
191 # of resolvers validating existing signatures.
192 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource
193 # for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
194 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
195 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in
196 # RFC3339 text format. Output only.
197 &quot;type&quot;: &quot;A String&quot;, # One of &quot;KEY_SIGNING&quot; or &quot;ZONE_SIGNING&quot;. Keys of type KEY_SIGNING have the
198 # Secure Entry Point flag set and, when active, will be used to sign only
199 # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point
200 # flag will be cleared and this key will be used to sign only resource
201 # record sets of other types. Immutable after creation time.
202 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record
203 # associated with this DnsKey. The key tag can be used to identify a DNSKEY
204 # more quickly (but it is not a unique identifier). In particular, the key
205 # tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this
206 # child ManagedZone. The key tag is a number in the range [0, 65535] and the
207 # algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
208 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
209 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
210 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
211 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this
212 # DnsKey. These digests are needed to construct a DS record that points at
213 # this DNS key. Output only.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400214 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700215 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS
216 # resource record.
217 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400218 },
219 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700220 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable
221 # after creation time.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400222 },
223 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400224 }</pre>
225</div>
226
227<div class="method">
228 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
229 <pre>Retrieves the next page of results.
230
231Args:
232 previous_request: The request for the previous page. (required)
233 previous_response: The response from the request for the previous page. (required)
234
235Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700236 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400237 page. Returns None if there are no more items in the collection.
238 </pre>
239</div>
240
241</body></html>