blob: 75c7edf86e2cd8bb51f12ce23d6cee8ac63a8438 [file] [log] [blame]
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001<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.managedZones.html">managedZones</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#create">create(project, body=None, clientOperationId=None)</a></code></p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000079<p class="firstline">Create a new ManagedZone.</p>
80<p class="toc_element">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070081 <code><a href="#delete">delete(project, managedZone, clientOperationId=None)</a></code></p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000082<p class="firstline">Delete a previously created ManagedZone.</p>
83<p class="toc_element">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070084 <code><a href="#get">get(project, managedZone, clientOperationId=None)</a></code></p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000085<p class="firstline">Fetch the representation of an existing ManagedZone.</p>
86<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070087 <code><a href="#list">list(project, dnsName=None, maxResults=None, pageToken=None)</a></code></p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000088<p class="firstline">Enumerate ManagedZones that have been created but not yet deleted.</p>
89<p class="toc_element">
90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070092<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070093 <code><a href="#patch">patch(project, managedZone, body=None, clientOperationId=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070094<p class="firstline">Apply a partial update to an existing ManagedZone.</p>
95<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070096 <code><a href="#update">update(project, managedZone, body=None, clientOperationId=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070097<p class="firstline">Update an existing ManagedZone.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000098<h3>Method Details</h3>
99<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700100 <code class="details" id="create">create(project, body=None, clientOperationId=None)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000101 <pre>Create a new ManagedZone.
102
103Args:
104 project: string, Identifies the project addressed by this request. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700105 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000106 The object takes the form of:
107
108{ # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.
Bu Sun Kim65020912020-05-20 12:08:20 -0700109 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
110 &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 managed zone&#x27;s function.
111 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
112 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
113 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700114 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
Bu Sun Kim65020912020-05-20 12:08:20 -0700115 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
116 &quot;keyLength&quot;: 42, # Length of the keys in bits.
117 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets.
118 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKeySpec&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700119 },
120 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700121 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneDnsSecConfig&quot;.
122 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
123 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
Dan O'Mearadd494642020-05-01 07:42:23 -0700124 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700125 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.
126 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfig&quot;.
127 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS will select the best available name server if more than one target is given.
128 {
129 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
130 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;.
131 },
132 ],
133 },
134 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
135 &quot;kind&quot;: &quot;dns#managedZone&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZone&quot;.
136 &quot;labels&quot;: { # User labels.
137 &quot;a_key&quot;: &quot;A String&quot;,
138 },
139 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.
140 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.
141 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
142 &quot;A String&quot;,
143 ],
144 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.
145 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfig&quot;.
146 &quot;targetNetwork&quot;: { # The network with which to peer.
147 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.
148 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfigTargetNetwork&quot;.
149 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Dan O'Mearadd494642020-05-01 07:42:23 -0700150 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700151 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700152 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
153 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfig&quot;.
154 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
155 {
156 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;.
157 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
158 },
159 ],
160 },
161 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700162}
163
164 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
165
166Returns:
167 An object of the form:
168
169 { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.
Bu Sun Kim65020912020-05-20 12:08:20 -0700170 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
171 &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 managed zone&#x27;s function.
172 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
173 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
174 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700175 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
Bu Sun Kim65020912020-05-20 12:08:20 -0700176 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
177 &quot;keyLength&quot;: 42, # Length of the keys in bits.
178 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets.
179 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKeySpec&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700180 },
181 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700182 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneDnsSecConfig&quot;.
183 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
184 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
Dan O'Mearadd494642020-05-01 07:42:23 -0700185 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700186 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.
187 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfig&quot;.
188 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS will select the best available name server if more than one target is given.
189 {
190 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
191 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;.
192 },
193 ],
194 },
195 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
196 &quot;kind&quot;: &quot;dns#managedZone&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZone&quot;.
197 &quot;labels&quot;: { # User labels.
198 &quot;a_key&quot;: &quot;A String&quot;,
199 },
200 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.
201 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.
202 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
203 &quot;A String&quot;,
204 ],
205 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.
206 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfig&quot;.
207 &quot;targetNetwork&quot;: { # The network with which to peer.
208 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.
209 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfigTargetNetwork&quot;.
210 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Dan O'Mearadd494642020-05-01 07:42:23 -0700211 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700212 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700213 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
214 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfig&quot;.
215 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
216 {
217 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;.
218 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
219 },
220 ],
221 },
222 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700223 }</pre>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000224</div>
225
226<div class="method">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700227 <code class="details" id="delete">delete(project, managedZone, clientOperationId=None)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000228 <pre>Delete a previously created ManagedZone.
229
230Args:
231 project: string, Identifies the project addressed by this request. (required)
232 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 -0700233 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000234</pre>
235</div>
236
237<div class="method">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700238 <code class="details" id="get">get(project, managedZone, clientOperationId=None)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000239 <pre>Fetch the representation of an existing ManagedZone.
240
241Args:
242 project: string, Identifies the project addressed by this request. (required)
243 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 -0700244 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000245
246Returns:
247 An object of the form:
248
249 { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.
Bu Sun Kim65020912020-05-20 12:08:20 -0700250 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
251 &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 managed zone&#x27;s function.
252 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
253 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
254 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700255 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
Bu Sun Kim65020912020-05-20 12:08:20 -0700256 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
257 &quot;keyLength&quot;: 42, # Length of the keys in bits.
258 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets.
259 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKeySpec&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700260 },
261 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700262 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneDnsSecConfig&quot;.
263 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
264 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
Dan O'Mearadd494642020-05-01 07:42:23 -0700265 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700266 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.
267 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfig&quot;.
268 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS will select the best available name server if more than one target is given.
269 {
270 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
271 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;.
272 },
273 ],
274 },
275 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
276 &quot;kind&quot;: &quot;dns#managedZone&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZone&quot;.
277 &quot;labels&quot;: { # User labels.
278 &quot;a_key&quot;: &quot;A String&quot;,
279 },
280 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.
281 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.
282 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
283 &quot;A String&quot;,
284 ],
285 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.
286 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfig&quot;.
287 &quot;targetNetwork&quot;: { # The network with which to peer.
288 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.
289 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfigTargetNetwork&quot;.
290 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Dan O'Mearadd494642020-05-01 07:42:23 -0700291 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700292 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700293 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
294 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfig&quot;.
295 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
296 {
297 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;.
298 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
299 },
300 ],
301 },
302 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700303 }</pre>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000304</div>
305
306<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700307 <code class="details" id="list">list(project, dnsName=None, maxResults=None, pageToken=None)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000308 <pre>Enumerate ManagedZones that have been created but not yet deleted.
309
310Args:
311 project: string, Identifies the project addressed by this request. (required)
Takashi Matsuo06694102015-09-11 13:55:40 -0700312 dnsName: string, Restricts the list to return only zones with this domain name.
Bu Sun Kim65020912020-05-20 12:08:20 -0700313 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.
314 pageToken: string, Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000315
316Returns:
317 An object of the form:
318
319 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700320 &quot;header&quot;: { # Elements common to every response.
321 &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).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700322 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700323 &quot;kind&quot;: &quot;dns#managedZonesListResponse&quot;, # Type of resource.
324 &quot;managedZones&quot;: [ # The managed zone resources.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000325 { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.
Bu Sun Kim65020912020-05-20 12:08:20 -0700326 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
327 &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 managed zone&#x27;s function.
328 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
329 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
330 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700331 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
Bu Sun Kim65020912020-05-20 12:08:20 -0700332 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
333 &quot;keyLength&quot;: 42, # Length of the keys in bits.
334 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets.
335 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKeySpec&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700336 },
337 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700338 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneDnsSecConfig&quot;.
339 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
340 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
Dan O'Mearadd494642020-05-01 07:42:23 -0700341 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700342 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.
343 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfig&quot;.
344 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS will select the best available name server if more than one target is given.
345 {
346 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
347 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;.
348 },
349 ],
350 },
351 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
352 &quot;kind&quot;: &quot;dns#managedZone&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZone&quot;.
353 &quot;labels&quot;: { # User labels.
354 &quot;a_key&quot;: &quot;A String&quot;,
355 },
356 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.
357 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.
358 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
359 &quot;A String&quot;,
360 ],
361 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.
362 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfig&quot;.
363 &quot;targetNetwork&quot;: { # The network with which to peer.
364 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.
365 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfigTargetNetwork&quot;.
366 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Dan O'Mearadd494642020-05-01 07:42:23 -0700367 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700368 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700369 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
370 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfig&quot;.
371 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
372 {
373 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;.
374 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
375 },
376 ],
377 },
378 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700379 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000380 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700381 &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 page token.
382 #
383 # 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 consistent snapshot of a collection larger than the maximum page size.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000384 }</pre>
385</div>
386
387<div class="method">
388 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
389 <pre>Retrieves the next page of results.
390
391Args:
392 previous_request: The request for the previous page. (required)
393 previous_response: The response from the request for the previous page. (required)
394
395Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700396 A request object that you can call &#x27;execute()&#x27; on to request the next
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000397 page. Returns None if there are no more items in the collection.
398 </pre>
399</div>
400
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700401<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700402 <code class="details" id="patch">patch(project, managedZone, body=None, clientOperationId=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700403 <pre>Apply a partial update to an existing ManagedZone.
404
405Args:
406 project: string, Identifies the project addressed by this request. (required)
407 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or id. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700408 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700409 The object takes the form of:
410
411{ # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.
Bu Sun Kim65020912020-05-20 12:08:20 -0700412 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
413 &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 managed zone&#x27;s function.
414 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
415 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
416 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700417 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
Bu Sun Kim65020912020-05-20 12:08:20 -0700418 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
419 &quot;keyLength&quot;: 42, # Length of the keys in bits.
420 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets.
421 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKeySpec&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700422 },
423 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700424 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneDnsSecConfig&quot;.
425 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
426 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
Dan O'Mearadd494642020-05-01 07:42:23 -0700427 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700428 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.
429 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfig&quot;.
430 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS will select the best available name server if more than one target is given.
431 {
432 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
433 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;.
434 },
435 ],
436 },
437 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
438 &quot;kind&quot;: &quot;dns#managedZone&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZone&quot;.
439 &quot;labels&quot;: { # User labels.
440 &quot;a_key&quot;: &quot;A String&quot;,
441 },
442 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.
443 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.
444 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
445 &quot;A String&quot;,
446 ],
447 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.
448 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfig&quot;.
449 &quot;targetNetwork&quot;: { # The network with which to peer.
450 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.
451 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfigTargetNetwork&quot;.
452 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Dan O'Mearadd494642020-05-01 07:42:23 -0700453 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700454 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700455 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
456 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfig&quot;.
457 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
458 {
459 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;.
460 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
461 },
462 ],
463 },
464 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700465}
466
467 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
468
469Returns:
470 An object of the form:
471
472 { # An operation represents a successful mutation performed on a Cloud DNS resource. Operations provide: - An audit log of server resource mutations. - A way to recover/retry API calls in the case where the response is never received by the caller. Use the caller specified client_operation_id.
Bu Sun Kim65020912020-05-20 12:08:20 -0700473 &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
474 &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
475 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
476 &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.
477 &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.
478 &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 -0700479 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700480 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
481 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700482 },
483 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700484 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
485 &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.
486 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
487 &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.
488 &quot;kind&quot;: &quot;dns#dnsKey&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKey&quot;.
489 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
490 &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 -0700491 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700492 &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
493 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
494 &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.
495 &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.
496 &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 -0700497 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700498 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
499 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700500 },
501 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700502 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
503 &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.
504 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
505 &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.
506 &quot;kind&quot;: &quot;dns#dnsKey&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKey&quot;.
507 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
508 &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 -0700509 },
510 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700511 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource. This is the client_operation_id if the client specified it when the mutation was initiated, otherwise, it is generated by the server. The name must be 1-63 characters long and match the regular expression [-a-z0-9]? (output only)
512 &quot;kind&quot;: &quot;dns#operation&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#operation&quot;.
513 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server. This is in RFC3339 text format (output only).
514 &quot;status&quot;: &quot;A String&quot;, # Status of the operation. Can be one of the following: &quot;PENDING&quot; or &quot;DONE&quot; (output only). A status of &quot;DONE&quot; means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.
515 &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete (output only).
516 &quot;user&quot;: &quot;A String&quot;, # User who requested the operation, for example: user@example.com. cloud-dns-system for operations automatically done by the system. (output only)
517 &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
518 &quot;newValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. # The post-operation ManagedZone resource.
519 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
520 &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 managed zone&#x27;s function.
521 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
522 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
523 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700524 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
Bu Sun Kim65020912020-05-20 12:08:20 -0700525 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
526 &quot;keyLength&quot;: 42, # Length of the keys in bits.
527 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets.
528 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKeySpec&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700529 },
530 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700531 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneDnsSecConfig&quot;.
532 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
533 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
Dan O'Mearadd494642020-05-01 07:42:23 -0700534 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700535 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.
536 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfig&quot;.
537 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS will select the best available name server if more than one target is given.
538 {
539 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
540 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;.
541 },
542 ],
543 },
544 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
545 &quot;kind&quot;: &quot;dns#managedZone&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZone&quot;.
546 &quot;labels&quot;: { # User labels.
547 &quot;a_key&quot;: &quot;A String&quot;,
548 },
549 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.
550 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.
551 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
552 &quot;A String&quot;,
553 ],
554 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.
555 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfig&quot;.
556 &quot;targetNetwork&quot;: { # The network with which to peer.
557 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.
558 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfigTargetNetwork&quot;.
559 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Dan O'Mearadd494642020-05-01 07:42:23 -0700560 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700561 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700562 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
563 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfig&quot;.
564 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
565 {
566 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;.
567 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
568 },
569 ],
570 },
571 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700572 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700573 &quot;oldValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. # The pre-operation ManagedZone resource.
574 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
575 &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 managed zone&#x27;s function.
576 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
577 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
578 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700579 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
Bu Sun Kim65020912020-05-20 12:08:20 -0700580 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
581 &quot;keyLength&quot;: 42, # Length of the keys in bits.
582 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets.
583 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKeySpec&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700584 },
585 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700586 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneDnsSecConfig&quot;.
587 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
588 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
Dan O'Mearadd494642020-05-01 07:42:23 -0700589 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700590 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.
591 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfig&quot;.
592 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS will select the best available name server if more than one target is given.
593 {
594 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
595 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;.
596 },
597 ],
598 },
599 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
600 &quot;kind&quot;: &quot;dns#managedZone&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZone&quot;.
601 &quot;labels&quot;: { # User labels.
602 &quot;a_key&quot;: &quot;A String&quot;,
603 },
604 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.
605 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.
606 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
607 &quot;A String&quot;,
608 ],
609 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.
610 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfig&quot;.
611 &quot;targetNetwork&quot;: { # The network with which to peer.
612 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.
613 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfigTargetNetwork&quot;.
614 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Dan O'Mearadd494642020-05-01 07:42:23 -0700615 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700616 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700617 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
618 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfig&quot;.
619 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
620 {
621 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;.
622 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
623 },
624 ],
625 },
626 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700627 },
628 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700629 }</pre>
630</div>
631
632<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700633 <code class="details" id="update">update(project, managedZone, body=None, clientOperationId=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700634 <pre>Update an existing ManagedZone.
635
636Args:
637 project: string, Identifies the project addressed by this request. (required)
638 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or id. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700639 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700640 The object takes the form of:
641
642{ # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.
Bu Sun Kim65020912020-05-20 12:08:20 -0700643 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
644 &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 managed zone&#x27;s function.
645 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
646 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
647 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700648 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
Bu Sun Kim65020912020-05-20 12:08:20 -0700649 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
650 &quot;keyLength&quot;: 42, # Length of the keys in bits.
651 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets.
652 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKeySpec&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700653 },
654 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700655 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneDnsSecConfig&quot;.
656 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
657 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
Dan O'Mearadd494642020-05-01 07:42:23 -0700658 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700659 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.
660 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfig&quot;.
661 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS will select the best available name server if more than one target is given.
662 {
663 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
664 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;.
665 },
666 ],
667 },
668 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
669 &quot;kind&quot;: &quot;dns#managedZone&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZone&quot;.
670 &quot;labels&quot;: { # User labels.
671 &quot;a_key&quot;: &quot;A String&quot;,
672 },
673 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.
674 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.
675 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
676 &quot;A String&quot;,
677 ],
678 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.
679 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfig&quot;.
680 &quot;targetNetwork&quot;: { # The network with which to peer.
681 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.
682 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfigTargetNetwork&quot;.
683 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Dan O'Mearadd494642020-05-01 07:42:23 -0700684 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700685 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700686 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
687 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfig&quot;.
688 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
689 {
690 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;.
691 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
692 },
693 ],
694 },
695 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700696}
697
698 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
699
700Returns:
701 An object of the form:
702
703 { # An operation represents a successful mutation performed on a Cloud DNS resource. Operations provide: - An audit log of server resource mutations. - A way to recover/retry API calls in the case where the response is never received by the caller. Use the caller specified client_operation_id.
Bu Sun Kim65020912020-05-20 12:08:20 -0700704 &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
705 &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
706 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
707 &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.
708 &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.
709 &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 -0700710 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700711 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
712 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700713 },
714 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700715 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
716 &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.
717 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
718 &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.
719 &quot;kind&quot;: &quot;dns#dnsKey&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKey&quot;.
720 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
721 &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 -0700722 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700723 &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
724 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
725 &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.
726 &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.
727 &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 -0700728 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700729 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
730 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700731 },
732 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700733 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
734 &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.
735 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time then immutable.
736 &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.
737 &quot;kind&quot;: &quot;dns#dnsKey&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKey&quot;.
738 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
739 &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 -0700740 },
741 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700742 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource. This is the client_operation_id if the client specified it when the mutation was initiated, otherwise, it is generated by the server. The name must be 1-63 characters long and match the regular expression [-a-z0-9]? (output only)
743 &quot;kind&quot;: &quot;dns#operation&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#operation&quot;.
744 &quot;startTime&quot;: &quot;A String&quot;, # The time that this operation was started by the server. This is in RFC3339 text format (output only).
745 &quot;status&quot;: &quot;A String&quot;, # Status of the operation. Can be one of the following: &quot;PENDING&quot; or &quot;DONE&quot; (output only). A status of &quot;DONE&quot; means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.
746 &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete (output only).
747 &quot;user&quot;: &quot;A String&quot;, # User who requested the operation, for example: user@example.com. cloud-dns-system for operations automatically done by the system. (output only)
748 &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
749 &quot;newValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. # The post-operation ManagedZone resource.
750 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
751 &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 managed zone&#x27;s function.
752 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
753 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
754 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700755 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
Bu Sun Kim65020912020-05-20 12:08:20 -0700756 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
757 &quot;keyLength&quot;: 42, # Length of the keys in bits.
758 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets.
759 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKeySpec&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700760 },
761 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700762 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneDnsSecConfig&quot;.
763 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
764 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
Dan O'Mearadd494642020-05-01 07:42:23 -0700765 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700766 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.
767 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfig&quot;.
768 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS will select the best available name server if more than one target is given.
769 {
770 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
771 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;.
772 },
773 ],
774 },
775 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
776 &quot;kind&quot;: &quot;dns#managedZone&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZone&quot;.
777 &quot;labels&quot;: { # User labels.
778 &quot;a_key&quot;: &quot;A String&quot;,
779 },
780 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.
781 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.
782 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
783 &quot;A String&quot;,
784 ],
785 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.
786 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfig&quot;.
787 &quot;targetNetwork&quot;: { # The network with which to peer.
788 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.
789 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfigTargetNetwork&quot;.
790 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Dan O'Mearadd494642020-05-01 07:42:23 -0700791 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700792 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700793 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
794 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfig&quot;.
795 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
796 {
797 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;.
798 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
799 },
800 ],
801 },
802 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700803 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700804 &quot;oldValue&quot;: { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. # The pre-operation ManagedZone resource.
805 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
806 &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 managed zone&#x27;s function.
807 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
808 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
809 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700810 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
Bu Sun Kim65020912020-05-20 12:08:20 -0700811 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
812 &quot;keyLength&quot;: 42, # Length of the keys in bits.
813 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets.
814 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#dnsKeySpec&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700815 },
816 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700817 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneDnsSecConfig&quot;.
818 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
819 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
Dan O'Mearadd494642020-05-01 07:42:23 -0700820 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700821 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.
822 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfig&quot;.
823 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS will select the best available name server if more than one target is given.
824 {
825 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
826 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;.
827 },
828 ],
829 },
830 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
831 &quot;kind&quot;: &quot;dns#managedZone&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZone&quot;.
832 &quot;labels&quot;: { # User labels.
833 &quot;a_key&quot;: &quot;A String&quot;,
834 },
835 &quot;name&quot;: &quot;A String&quot;, # User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.
836 &quot;nameServerSet&quot;: &quot;A String&quot;, # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.
837 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
838 &quot;A String&quot;,
839 ],
840 &quot;peeringConfig&quot;: { # The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.
841 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfig&quot;.
842 &quot;targetNetwork&quot;: { # The network with which to peer.
843 &quot;deactivateTime&quot;: &quot;A String&quot;, # The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.
844 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePeeringConfigTargetNetwork&quot;.
845 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Dan O'Mearadd494642020-05-01 07:42:23 -0700846 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700847 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700848 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
849 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfig&quot;.
850 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
851 {
852 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;.
853 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
854 },
855 ],
856 },
857 &quot;visibility&quot;: &quot;A String&quot;, # The zone&#x27;s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700858 },
859 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700860 }</pre>
861</div>
862
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000863</body></html>