blob: da246c52f94d9c12766783af192187145ef3f00f [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="dns_v1.html">Google Cloud DNS API</a> . <a href="dns_v1.dnsKeys.html">dnsKeys</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070078 <code><a href="#get">get(project, managedZone, dnsKeyId, clientOperationId=None, digestType=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Fetch the representation of an existing DnsKey.</p>
80<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070081 <code><a href="#list">list(project, managedZone, digestType=None, maxResults=None, pageToken=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070082<p class="firstline">Enumerate DnsKeys to a ResourceRecordSet collection.</p>
83<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 Kim65020912020-05-20 12:08:20 -070088 <code class="details" id="get">get(project, managedZone, dnsKeyId, clientOperationId=None, digestType=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070089 <pre>Fetch the representation of an existing DnsKey.
90
91Args:
92 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 zone name or id. (required)
94 dnsKeyId: string, The identifier of the requested DnsKey. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070095 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
Bu Sun Kim65020912020-05-20 12:08:20 -070096 digestType: string, An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type will be computed and displayed.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070097
98Returns:
99 An object of the form:
100
101 { # A DNSSEC key pair.
Bu Sun Kim65020912020-05-20 12:08:20 -0700102 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
103 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in RFC3339 text format. Output only.
104 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
105 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. These digests are needed to construct a DS record that points at this DNS key. Output only.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700106 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700107 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
108 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700109 },
110 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700111 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
112 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone. Inactive keys will still be present as DNSKEY Resource Records for the use of resolvers validating existing signatures.
113 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
114 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this DnsKey. The key tag can be used to identify a DNSKEY more quickly (but it is not a unique identifier). In particular, the key tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this child ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
115 &quot;kind&quot;: &quot;dns#dnsKey&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKey&quot;.
116 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
117 &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 Secure Entry Point flag set and, when active, will be used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag will be cleared and this key will be used to sign only resource record sets of other types. Immutable after creation time.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700118 }</pre>
119</div>
120
121<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700122 <code class="details" id="list">list(project, managedZone, digestType=None, maxResults=None, pageToken=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700123 <pre>Enumerate DnsKeys to a ResourceRecordSet collection.
124
125Args:
126 project: string, Identifies the project addressed by this request. (required)
127 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or id. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700128 digestType: string, An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type will be computed and displayed.
129 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.
Bu Sun Kim65020912020-05-20 12:08:20 -0700130 pageToken: string, Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700131
132Returns:
133 An object of the form:
134
135 { # The response to a request to enumerate DnsKeys in a ManagedZone.
Bu Sun Kim65020912020-05-20 12:08:20 -0700136 &quot;dnsKeys&quot;: [ # The requested resources.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700137 { # A DNSSEC key pair.
Bu Sun Kim65020912020-05-20 12:08:20 -0700138 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
139 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created in the control plane. This is in RFC3339 text format. Output only.
140 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the resource&#x27;s function.
141 &quot;digests&quot;: [ # Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. These digests are needed to construct a DS record that points at this DNS key. Output only.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700142 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700143 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
144 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700145 },
146 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700147 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
148 &quot;isActive&quot;: True or False, # Active keys will be used to sign subsequent changes to the ManagedZone. Inactive keys will still be present as DNSKEY Resource Records for the use of resolvers validating existing signatures.
149 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
150 &quot;keyTag&quot;: 42, # The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this DnsKey. The key tag can be used to identify a DNSKEY more quickly (but it is not a unique identifier). In particular, the key tag is used in a parent zone&#x27;s DS record to point at the DNSKEY in this child ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm to calculate it is specified in RFC4034 Appendix B. Output only.
151 &quot;kind&quot;: &quot;dns#dnsKey&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKey&quot;.
152 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
153 &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 Secure Entry Point flag set and, when active, will be used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag will be cleared and this key will be used to sign only resource record sets of other types. Immutable after creation time.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700154 },
155 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700156 &quot;header&quot;: { # Elements common to every response.
157 &quot;operationId&quot;: &quot;A String&quot;, # For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only).
158 },
159 &quot;kind&quot;: &quot;dns#dnsKeysListResponse&quot;, # Type of resource.
160 &quot;nextPageToken&quot;: &quot;A String&quot;, # The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token.
161 #
162 # In this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a &quot;snapshot&quot; of collections larger than the maximum page size.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700163 }</pre>
164</div>
165
166<div class="method">
167 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
168 <pre>Retrieves the next page of results.
169
170Args:
171 previous_request: The request for the previous page. (required)
172 previous_response: The response from the request for the previous page. (required)
173
174Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700175 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700176 page. Returns None if there are no more items in the collection.
177 </pre>
178</div>
179
180</body></html>