blob: 74e8d5148b0bc0a4dd8233b11d84a41c9636aba5 [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
Bu Sun Kimd059ad82020-07-22 17:02:09 -070075<h1><a href="dns_v1.html">Cloud DNS API</a> . <a href="dns_v1.managedZones.html">managedZones</a></h1>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#create">create(project, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
yoshi-code-bota8b35b92021-03-31 13:33:30 -070082<p class="firstline">Creates a new ManagedZone.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000083<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#delete">delete(project, managedZone, clientOperationId=None, x__xgafv=None)</a></code></p>
yoshi-code-bota8b35b92021-03-31 13:33:30 -070085<p class="firstline">Deletes a previously created ManagedZone.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000086<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#get">get(project, managedZone, clientOperationId=None, x__xgafv=None)</a></code></p>
yoshi-code-bota8b35b92021-03-31 13:33:30 -070088<p class="firstline">Fetches the representation of an existing ManagedZone.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000089<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080090 <code><a href="#list">list(project, dnsName=None, maxResults=None, pageToken=None, x__xgafv=None)</a></code></p>
yoshi-code-bota8b35b92021-03-31 13:33:30 -070091<p class="firstline">Enumerates ManagedZones that have been created but not yet deleted.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000092<p class="toc_element">
93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070095<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070096 <code><a href="#patch">patch(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
yoshi-code-bota8b35b92021-03-31 13:33:30 -070097<p class="firstline">Applies a partial update to an existing ManagedZone.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070098<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070099 <code><a href="#update">update(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700100<p class="firstline">Updates an existing ManagedZone.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000101<h3>Method Details</h3>
102<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105</div>
106
107<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700108 <code class="details" id="create">create(project, body=None, clientOperationId=None, x__xgafv=None)</code>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700109 <pre>Creates a new ManagedZone.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000110
111Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700112 project: string, Identifies the project addressed by this request. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700113 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000114 The object takes the form of:
115
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700116{ # 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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800117 &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.
118 &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.
119 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800120 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800121 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
122 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800123 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800124 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800125 &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, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800126 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800127 },
128 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800129 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800130 &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.
131 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800132 },
133 &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.
134 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800135 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800136 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700137 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800138 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800139 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800140 },
141 ],
142 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800143 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800144 &quot;kind&quot;: &quot;dns#managedZone&quot;,
145 &quot;labels&quot;: { # User labels.
146 &quot;a_key&quot;: &quot;A String&quot;,
147 },
148 &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.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700149 &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 leave this field unset. If you need to use this field, contact your account team.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800150 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
151 &quot;A String&quot;,
152 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800153 &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.
154 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
155 &quot;targetNetwork&quot;: { # The network with which to peer.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800156 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800157 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800158 &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}
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800159 },
160 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800161 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
162 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
163 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
164 {
165 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700166 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800167 },
168 ],
169 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800170 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800171 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800172 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700173 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800174 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
175 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700176 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800177 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700178 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800179 },
180 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800181 &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 -0700182}
183
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700184 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700185 x__xgafv: string, V1 error format.
186 Allowed values
187 1 - v1 error format
188 2 - v2 error format
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000189
190Returns:
191 An object of the form:
192
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700193 { # 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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800194 &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.
195 &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.
196 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
197 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
198 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
199 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
200 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
201 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800202 &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, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800203 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800204 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800205 ],
206 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
207 &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.
208 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
209 },
210 &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.
211 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800212 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800213 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700214 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800215 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
216 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
217 },
218 ],
219 },
220 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
221 &quot;kind&quot;: &quot;dns#managedZone&quot;,
222 &quot;labels&quot;: { # User labels.
223 &quot;a_key&quot;: &quot;A String&quot;,
224 },
225 &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.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700226 &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 leave this field unset. If you need to use this field, contact your account team.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800227 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
228 &quot;A String&quot;,
229 ],
230 &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.
231 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
232 &quot;targetNetwork&quot;: { # The network with which to peer.
233 &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.
234 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
235 &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}
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800236 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800237 },
238 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
239 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
240 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
241 {
242 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700243 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800244 },
245 ],
246 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800247 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800248 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
249 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700250 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800251 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
252 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700253 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800254 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700255 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800256 },
257 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800258 &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.
259}</pre>
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700260</div>
261
262<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700263 <code class="details" id="delete">delete(project, managedZone, clientOperationId=None, x__xgafv=None)</code>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700264 <pre>Deletes a previously created ManagedZone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700265
266Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700267 project: string, Identifies the project addressed by this request. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700268 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700269 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700270 x__xgafv: string, V1 error format.
271 Allowed values
272 1 - v1 error format
273 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700274</pre>
275</div>
276
277<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700278 <code class="details" id="get">get(project, managedZone, clientOperationId=None, x__xgafv=None)</code>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700279 <pre>Fetches the representation of an existing ManagedZone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700280
281Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700282 project: string, Identifies the project addressed by this request. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700283 managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700284 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700285 x__xgafv: string, V1 error format.
286 Allowed values
287 1 - v1 error format
288 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700289
290Returns:
291 An object of the form:
292
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700293 { # 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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800294 &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.
295 &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.
296 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
297 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
298 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
299 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
300 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
301 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800302 &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, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800303 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800304 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800305 ],
306 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
307 &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.
308 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
309 },
310 &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.
311 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800312 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800313 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700314 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800315 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
316 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
317 },
318 ],
319 },
320 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
321 &quot;kind&quot;: &quot;dns#managedZone&quot;,
322 &quot;labels&quot;: { # User labels.
323 &quot;a_key&quot;: &quot;A String&quot;,
324 },
325 &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.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700326 &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 leave this field unset. If you need to use this field, contact your account team.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800327 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
328 &quot;A String&quot;,
329 ],
330 &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.
331 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
332 &quot;targetNetwork&quot;: { # The network with which to peer.
333 &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.
334 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
335 &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}
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800336 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800337 },
338 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
339 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
340 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
341 {
342 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700343 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800344 },
345 ],
346 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800347 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800348 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
349 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700350 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800351 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
352 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700353 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800354 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700355 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800356 },
357 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800358 &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.
359}</pre>
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700360</div>
361
362<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800363 <code class="details" id="list">list(project, dnsName=None, maxResults=None, pageToken=None, x__xgafv=None)</code>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700364 <pre>Enumerates ManagedZones that have been created but not yet deleted.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700365
366Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700367 project: string, Identifies the project addressed by this request. (required)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800368 dnsName: string, Restricts the list to return only zones with this domain name.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800369 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800370 pageToken: string, Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700371 x__xgafv: string, V1 error format.
372 Allowed values
373 1 - v1 error format
374 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700375
376Returns:
377 An object of the form:
378
379 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800380 &quot;header&quot;: { # Elements common to every response.
381 &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).
382 },
383 &quot;kind&quot;: &quot;dns#managedZonesListResponse&quot;, # Type of resource.
384 &quot;managedZones&quot;: [ # The managed zone resources.
385 { # 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.
386 &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.
387 &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.
388 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
389 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
390 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
391 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
392 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
393 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800394 &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, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800395 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800396 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800397 ],
398 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
399 &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.
400 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
401 },
402 &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.
403 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800404 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800405 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700406 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800407 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
408 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
409 },
410 ],
411 },
412 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
413 &quot;kind&quot;: &quot;dns#managedZone&quot;,
414 &quot;labels&quot;: { # User labels.
415 &quot;a_key&quot;: &quot;A String&quot;,
416 },
417 &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.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700418 &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 leave this field unset. If you need to use this field, contact your account team.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800419 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
420 &quot;A String&quot;,
421 ],
422 &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.
423 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
424 &quot;targetNetwork&quot;: { # The network with which to peer.
425 &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.
426 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
427 &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}
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800428 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700429 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800430 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
431 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
432 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
433 {
434 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700435 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800436 },
437 ],
438 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800439 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800440 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
441 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700442 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800443 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
444 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700445 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800446 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700447 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800448 },
449 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800450 &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.
451 },
452 ],
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700453 &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. This lets you 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 are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800454}</pre>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000455</div>
456
457<div class="method">
458 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
459 <pre>Retrieves the next page of results.
460
461Args:
462 previous_request: The request for the previous page. (required)
463 previous_response: The response from the request for the previous page. (required)
464
465Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700466 A request object that you can call &#x27;execute()&#x27; on to request the next
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000467 page. Returns None if there are no more items in the collection.
468 </pre>
469</div>
470
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700471<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700472 <code class="details" id="patch">patch(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700473 <pre>Applies a partial update to an existing ManagedZone.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700474
475Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700476 project: string, Identifies the project addressed by this request. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700477 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 -0700478 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700479 The object takes the form of:
480
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700481{ # 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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800482 &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.
483 &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.
484 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800485 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800486 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
487 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800488 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800489 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800490 &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, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800491 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800492 },
493 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800494 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800495 &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.
496 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800497 },
498 &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.
499 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800500 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800501 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700502 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800503 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800504 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800505 },
506 ],
507 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800508 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800509 &quot;kind&quot;: &quot;dns#managedZone&quot;,
510 &quot;labels&quot;: { # User labels.
511 &quot;a_key&quot;: &quot;A String&quot;,
512 },
513 &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.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700514 &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 leave this field unset. If you need to use this field, contact your account team.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800515 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
516 &quot;A String&quot;,
517 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800518 &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.
519 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
520 &quot;targetNetwork&quot;: { # The network with which to peer.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800521 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800522 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800523 &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}
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800524 },
525 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800526 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
527 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
528 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
529 {
530 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700531 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800532 },
533 ],
534 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800535 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800536 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800537 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700538 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800539 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
540 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700541 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800542 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700543 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800544 },
545 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800546 &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 -0700547}
548
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700549 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700550 x__xgafv: string, V1 error format.
551 Allowed values
552 1 - v1 error format
553 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700554
555Returns:
556 An object of the form:
557
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700558 { # 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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800559 &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
560 &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
561 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
562 &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.
563 &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.
564 &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.
565 {
566 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
567 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
568 },
569 ],
570 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700571 &quot;isActive&quot;: True or False, # Active keys are used to sign subsequent changes to the ManagedZone. Inactive keys are still present as DNSKEY Resource Records for the use of resolvers validating existing signatures.
572 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time, and then immutable.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800573 &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.
574 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
575 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700576 &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, are used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared, and this key is used to sign only resource record sets of other types. Immutable after creation time.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800577 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800578 &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
579 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
580 &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.
581 &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.
582 &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.
583 {
584 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
585 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800586 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800587 ],
588 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700589 &quot;isActive&quot;: True or False, # Active keys are used to sign subsequent changes to the ManagedZone. Inactive keys are still present as DNSKEY Resource Records for the use of resolvers validating existing signatures.
590 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time, and then immutable.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800591 &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.
592 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
593 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700594 &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, are used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared, and this key is used to sign only resource record sets of other types. Immutable after creation time.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800595 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800596 },
597 &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)
598 &quot;kind&quot;: &quot;dns#operation&quot;,
599 &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).
600 &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.
601 &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete (output only).
602 &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)
603 &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
604 &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.
605 &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.
606 &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.
607 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
608 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
609 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
610 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
611 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
612 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800613 &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, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800614 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
615 },
616 ],
617 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
618 &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.
619 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
620 },
621 &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.
622 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800623 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800624 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700625 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800626 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
627 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
628 },
629 ],
630 },
631 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
632 &quot;kind&quot;: &quot;dns#managedZone&quot;,
633 &quot;labels&quot;: { # User labels.
634 &quot;a_key&quot;: &quot;A String&quot;,
635 },
636 &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.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700637 &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 leave this field unset. If you need to use this field, contact your account team.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800638 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
639 &quot;A String&quot;,
640 ],
641 &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.
642 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
643 &quot;targetNetwork&quot;: { # The network with which to peer.
644 &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.
645 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
646 &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}
647 },
648 },
649 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
650 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
651 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
652 {
653 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700654 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800655 },
656 ],
657 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800658 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800659 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
660 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700661 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800662 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
663 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700664 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800665 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700666 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800667 },
668 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800669 &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.
670 },
671 &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.
672 &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.
673 &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.
674 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
675 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
676 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
677 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
678 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
679 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800680 &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, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800681 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
682 },
683 ],
684 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
685 &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.
686 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
687 },
688 &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.
689 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800690 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800691 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700692 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800693 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
694 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
695 },
696 ],
697 },
698 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
699 &quot;kind&quot;: &quot;dns#managedZone&quot;,
700 &quot;labels&quot;: { # User labels.
701 &quot;a_key&quot;: &quot;A String&quot;,
702 },
703 &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.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700704 &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 leave this field unset. If you need to use this field, contact your account team.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800705 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
706 &quot;A String&quot;,
707 ],
708 &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.
709 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
710 &quot;targetNetwork&quot;: { # The network with which to peer.
711 &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.
712 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
713 &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}
714 },
715 },
716 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
717 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
718 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
719 {
720 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700721 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800722 },
723 ],
724 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800725 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800726 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
727 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700728 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800729 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
730 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700731 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800732 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700733 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800734 },
735 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800736 &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.
737 },
738 },
739}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700740</div>
741
742<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700743 <code class="details" id="update">update(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700744 <pre>Updates an existing ManagedZone.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700745
746Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700747 project: string, Identifies the project addressed by this request. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700748 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 -0700749 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700750 The object takes the form of:
751
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700752{ # 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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800753 &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.
754 &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.
755 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800756 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800757 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
758 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800759 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800760 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800761 &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, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800762 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800763 },
764 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800765 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800766 &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.
767 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800768 },
769 &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.
770 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800771 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800772 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700773 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800774 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800775 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800776 },
777 ],
778 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800779 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800780 &quot;kind&quot;: &quot;dns#managedZone&quot;,
781 &quot;labels&quot;: { # User labels.
782 &quot;a_key&quot;: &quot;A String&quot;,
783 },
784 &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.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700785 &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 leave this field unset. If you need to use this field, contact your account team.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800786 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
787 &quot;A String&quot;,
788 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800789 &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.
790 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
791 &quot;targetNetwork&quot;: { # The network with which to peer.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800792 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800793 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800794 &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}
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800795 },
796 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800797 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
798 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
799 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
800 {
801 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700802 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800803 },
804 ],
805 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800806 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800807 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800808 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700809 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800810 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
811 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700812 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800813 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700814 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800815 },
816 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800817 &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 -0700818}
819
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700820 clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700821 x__xgafv: string, V1 error format.
822 Allowed values
823 1 - v1 error format
824 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700825
826Returns:
827 An object of the form:
828
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700829 { # 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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800830 &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
831 &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
832 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
833 &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.
834 &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.
835 &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.
836 {
837 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
838 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
839 },
840 ],
841 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700842 &quot;isActive&quot;: True or False, # Active keys are used to sign subsequent changes to the ManagedZone. Inactive keys are still present as DNSKEY Resource Records for the use of resolvers validating existing signatures.
843 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time, and then immutable.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800844 &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.
845 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
846 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700847 &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, are used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared, and this key is used to sign only resource record sets of other types. Immutable after creation time.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800848 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800849 &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
850 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
851 &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.
852 &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.
853 &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.
854 {
855 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
856 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800857 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800858 ],
859 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only).
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700860 &quot;isActive&quot;: True or False, # Active keys are used to sign subsequent changes to the ManagedZone. Inactive keys are still present as DNSKEY Resource Records for the use of resolvers validating existing signatures.
861 &quot;keyLength&quot;: 42, # Length of the key in bits. Specified at creation time, and then immutable.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800862 &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.
863 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
864 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700865 &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, are used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared, and this key is used to sign only resource record sets of other types. Immutable after creation time.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800866 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800867 },
868 &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)
869 &quot;kind&quot;: &quot;dns#operation&quot;,
870 &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).
871 &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.
872 &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete (output only).
873 &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)
874 &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
875 &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.
876 &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.
877 &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.
878 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
879 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
880 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
881 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
882 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
883 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800884 &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, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800885 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
886 },
887 ],
888 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
889 &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.
890 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
891 },
892 &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.
893 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800894 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800895 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700896 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800897 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
898 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
899 },
900 ],
901 },
902 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
903 &quot;kind&quot;: &quot;dns#managedZone&quot;,
904 &quot;labels&quot;: { # User labels.
905 &quot;a_key&quot;: &quot;A String&quot;,
906 },
907 &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.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700908 &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 leave this field unset. If you need to use this field, contact your account team.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800909 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
910 &quot;A String&quot;,
911 ],
912 &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.
913 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
914 &quot;targetNetwork&quot;: { # The network with which to peer.
915 &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.
916 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
917 &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}
918 },
919 },
920 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
921 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
922 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
923 {
924 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700925 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800926 },
927 ],
928 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800929 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800930 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
931 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700932 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800933 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
934 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700935 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800936 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700937 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800938 },
939 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800940 &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.
941 },
942 &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.
943 &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.
944 &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.
945 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
946 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
947 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
948 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
949 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
950 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800951 &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, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800952 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
953 },
954 ],
955 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
956 &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.
957 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
958 },
959 &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.
960 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800961 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800962 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700963 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800964 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
965 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
966 },
967 ],
968 },
969 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
970 &quot;kind&quot;: &quot;dns#managedZone&quot;,
971 &quot;labels&quot;: { # User labels.
972 &quot;a_key&quot;: &quot;A String&quot;,
973 },
974 &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.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700975 &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 leave this field unset. If you need to use this field, contact your account team.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800976 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
977 &quot;A String&quot;,
978 ],
979 &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.
980 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
981 &quot;targetNetwork&quot;: { # The network with which to peer.
982 &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.
983 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
984 &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}
985 },
986 },
987 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
988 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
989 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
990 {
991 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700992 &quot;networkUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800993 },
994 ],
995 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800996 &quot;reverseLookupConfig&quot;: { # The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800997 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
998 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700999 &quot;serviceDirectoryConfig&quot;: { # Contains information about Service Directory-backed zones. # This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001000 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
1001 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001002 &quot;deletionTime&quot;: &quot;A String&quot;, # The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001003 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001004 &quot;namespaceUrl&quot;: &quot;A String&quot;, # The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001005 },
1006 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001007 &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.
1008 },
1009 },
1010}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001011</div>
1012
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001013</body></html>