blob: 235b3b1146c39be80746a4f2332a33d378a01f8a [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Bu Sun Kimd059ad82020-07-22 17:02:09 -070075<h1><a href="dns_v1beta2.html">Cloud DNS API</a> . <a href="dns_v1beta2.managedZones.html">managedZones</a></h1>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070076<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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070083<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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070086<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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070089<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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070092<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>
95<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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700101<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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700110
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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700114 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-code-bot5dcb7232021-11-08 23:24:14 -0800117 &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
118 &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
119 &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
120 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800121 &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.
122 &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.
123 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
124 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
125 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
126 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
127 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
128 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800129 &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 -0800130 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
131 },
132 ],
133 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
134 &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.
135 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
136 },
137 &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.
138 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800139 &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 -0800140 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700141 &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 -0800142 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800143 &quot;ipv6Address&quot;: &quot;A String&quot;, # IPv6 address of a target name server. Does not accept both fields (ipv4 &amp; ipv6) being populated.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800144 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
145 },
146 ],
147 },
148 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
149 &quot;kind&quot;: &quot;dns#managedZone&quot;,
150 &quot;labels&quot;: { # User labels.
151 &quot;a_key&quot;: &quot;A String&quot;,
152 },
153 &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 -0700154 &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 -0800155 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
156 &quot;A String&quot;,
157 ],
158 &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.
159 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
160 &quot;targetNetwork&quot;: { # The network with which to peer.
161 &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.
162 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
163 &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}
164 },
165 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800166 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
yoshi-code-bot9e2cde22021-04-29 03:48:05 -0700167 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
168 {
169 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
170 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
171 },
172 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800173 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
174 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
175 {
176 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700177 &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 Bot0bf565c2020-12-09 08:56:03 -0800178 },
179 ],
180 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800181 &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 -0800182 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800183 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700184 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800185 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
186 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700187 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800188 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700189 &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 Automation Bot0d561ef2020-11-25 07:50:41 -0800190 },
191 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800192 &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 -0700193}
194
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700195 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 -0700196 x__xgafv: string, V1 error format.
197 Allowed values
198 1 - v1 error format
199 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700200
201Returns:
202 An object of the form:
203
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700204 { # 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-code-bot5dcb7232021-11-08 23:24:14 -0800205 &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
206 &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
207 &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
208 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800209 &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.
210 &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.
211 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
212 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
213 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
214 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
215 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
216 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800217 &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 -0800218 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800219 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800220 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800221 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
222 &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.
223 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
224 },
225 &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.
226 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800227 &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 -0800228 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700229 &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 -0800230 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800231 &quot;ipv6Address&quot;: &quot;A String&quot;, # IPv6 address of a target name server. Does not accept both fields (ipv4 &amp; ipv6) being populated.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800232 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800233 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800234 ],
235 },
236 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
237 &quot;kind&quot;: &quot;dns#managedZone&quot;,
238 &quot;labels&quot;: { # User labels.
239 &quot;a_key&quot;: &quot;A String&quot;,
240 },
241 &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 -0700242 &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 -0800243 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
244 &quot;A String&quot;,
245 ],
246 &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.
247 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
248 &quot;targetNetwork&quot;: { # The network with which to peer.
249 &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.
250 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
251 &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 -0800252 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800253 },
254 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
yoshi-code-bot9e2cde22021-04-29 03:48:05 -0700255 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
256 {
257 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
258 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
259 },
260 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800261 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
262 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
263 {
264 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700265 &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 -0800266 },
267 ],
268 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800269 &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 -0800270 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
271 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700272 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800273 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
274 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700275 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800276 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700277 &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 Automation Bot0bf565c2020-12-09 08:56:03 -0800278 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800279 },
280 &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.
281}</pre>
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700282</div>
283
284<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700285 <code class="details" id="delete">delete(project, managedZone, clientOperationId=None, x__xgafv=None)</code>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700286 <pre>Deletes a previously created ManagedZone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700287
288Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700289 project: string, Identifies the project addressed by this request. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700290 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 -0700291 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 -0700292 x__xgafv: string, V1 error format.
293 Allowed values
294 1 - v1 error format
295 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700296</pre>
297</div>
298
299<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700300 <code class="details" id="get">get(project, managedZone, clientOperationId=None, x__xgafv=None)</code>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700301 <pre>Fetches the representation of an existing ManagedZone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700302
303Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700304 project: string, Identifies the project addressed by this request. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700305 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 -0700306 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 -0700307 x__xgafv: string, V1 error format.
308 Allowed values
309 1 - v1 error format
310 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700311
312Returns:
313 An object of the form:
314
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700315 { # 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-code-bot5dcb7232021-11-08 23:24:14 -0800316 &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
317 &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
318 &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
319 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800320 &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.
321 &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.
322 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
323 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
324 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
325 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
326 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
327 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800328 &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 -0800329 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800330 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800331 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800332 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
333 &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.
334 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
335 },
336 &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.
337 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800338 &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 -0800339 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700340 &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 -0800341 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800342 &quot;ipv6Address&quot;: &quot;A String&quot;, # IPv6 address of a target name server. Does not accept both fields (ipv4 &amp; ipv6) being populated.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800343 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800344 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800345 ],
346 },
347 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
348 &quot;kind&quot;: &quot;dns#managedZone&quot;,
349 &quot;labels&quot;: { # User labels.
350 &quot;a_key&quot;: &quot;A String&quot;,
351 },
352 &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 -0700353 &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 -0800354 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
355 &quot;A String&quot;,
356 ],
357 &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.
358 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
359 &quot;targetNetwork&quot;: { # The network with which to peer.
360 &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.
361 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
362 &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 -0800363 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800364 },
365 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
yoshi-code-bot9e2cde22021-04-29 03:48:05 -0700366 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
367 {
368 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
369 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
370 },
371 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800372 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
373 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
374 {
375 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700376 &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 -0800377 },
378 ],
379 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800380 &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 -0800381 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
382 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700383 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800384 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
385 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700386 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800387 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700388 &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 Automation Bot0bf565c2020-12-09 08:56:03 -0800389 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800390 },
391 &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.
392}</pre>
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700393</div>
394
395<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800396 <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 -0700397 <pre>Enumerates ManagedZones that have been created but not yet deleted.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700398
399Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700400 project: string, Identifies the project addressed by this request. (required)
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800401 dnsName: string, Restricts the list to return only zones with this domain name.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800402 maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800403 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 -0700404 x__xgafv: string, V1 error format.
405 Allowed values
406 1 - v1 error format
407 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700408
409Returns:
410 An object of the form:
411
412 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800413 &quot;header&quot;: { # Elements common to every response.
414 &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).
415 },
416 &quot;kind&quot;: &quot;dns#managedZonesListResponse&quot;, # Type of resource.
417 &quot;managedZones&quot;: [ # The managed zone resources.
418 { # 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-code-bot5dcb7232021-11-08 23:24:14 -0800419 &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
420 &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
421 &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
422 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800423 &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.
424 &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.
425 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
426 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
427 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
428 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
429 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
430 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800431 &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 -0800432 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800433 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800434 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800435 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
436 &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.
437 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
438 },
439 &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.
440 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800441 &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 -0800442 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700443 &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 -0800444 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800445 &quot;ipv6Address&quot;: &quot;A String&quot;, # IPv6 address of a target name server. Does not accept both fields (ipv4 &amp; ipv6) being populated.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800446 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800447 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800448 ],
449 },
450 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
451 &quot;kind&quot;: &quot;dns#managedZone&quot;,
452 &quot;labels&quot;: { # User labels.
453 &quot;a_key&quot;: &quot;A String&quot;,
454 },
455 &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 -0700456 &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 -0800457 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
458 &quot;A String&quot;,
459 ],
460 &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.
461 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
462 &quot;targetNetwork&quot;: { # The network with which to peer.
463 &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.
464 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
465 &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 Bot0bf565c2020-12-09 08:56:03 -0800466 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700467 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800468 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
yoshi-code-bot9e2cde22021-04-29 03:48:05 -0700469 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
470 {
471 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
472 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
473 },
474 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800475 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
476 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
477 {
478 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700479 &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 -0800480 },
481 ],
482 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800483 &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 -0800484 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
485 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700486 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800487 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
488 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700489 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800490 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700491 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800492 },
493 },
494 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800495 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800496 ],
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700497 &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 -0800498}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700499</div>
500
501<div class="method">
502 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
503 <pre>Retrieves the next page of results.
504
505Args:
506 previous_request: The request for the previous page. (required)
507 previous_response: The response from the request for the previous page. (required)
508
509Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700510 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700511 page. Returns None if there are no more items in the collection.
512 </pre>
513</div>
514
515<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700516 <code class="details" id="patch">patch(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700517 <pre>Applies a partial update to an existing ManagedZone.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700518
519Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700520 project: string, Identifies the project addressed by this request. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700521 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 -0700522 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700523 The object takes the form of:
524
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700525{ # 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-code-bot5dcb7232021-11-08 23:24:14 -0800526 &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
527 &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
528 &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
529 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800530 &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.
531 &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.
532 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
533 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
534 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
535 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
536 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
537 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800538 &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 -0800539 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
540 },
541 ],
542 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
543 &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.
544 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
545 },
546 &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.
547 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800548 &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 -0800549 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700550 &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 -0800551 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800552 &quot;ipv6Address&quot;: &quot;A String&quot;, # IPv6 address of a target name server. Does not accept both fields (ipv4 &amp; ipv6) being populated.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800553 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
554 },
555 ],
556 },
557 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
558 &quot;kind&quot;: &quot;dns#managedZone&quot;,
559 &quot;labels&quot;: { # User labels.
560 &quot;a_key&quot;: &quot;A String&quot;,
561 },
562 &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 -0700563 &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 -0800564 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
565 &quot;A String&quot;,
566 ],
567 &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.
568 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
569 &quot;targetNetwork&quot;: { # The network with which to peer.
570 &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.
571 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
572 &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}
573 },
574 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800575 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
yoshi-code-bot9e2cde22021-04-29 03:48:05 -0700576 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
577 {
578 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
579 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
580 },
581 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800582 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
583 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
584 {
585 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700586 &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 Bot0bf565c2020-12-09 08:56:03 -0800587 },
588 ],
589 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800590 &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 -0800591 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800592 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700593 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800594 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
595 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700596 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800597 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700598 &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 Automation Bot0d561ef2020-11-25 07:50:41 -0800599 },
600 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800601 &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 -0700602}
603
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700604 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 -0700605 x__xgafv: string, V1 error format.
606 Allowed values
607 1 - v1 error format
608 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700609
610Returns:
611 An object of the form:
612
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700613 { # 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 -0800614 &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
615 &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
616 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
617 &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.
618 &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.
619 &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.
620 {
621 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
622 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800623 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800624 ],
625 &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 -0700626 &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.
627 &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 -0800628 &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.
629 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
630 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700631 &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 Bot0bf565c2020-12-09 08:56:03 -0800632 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800633 &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
634 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
635 &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.
636 &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.
637 &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.
638 {
639 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
640 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
641 },
642 ],
643 &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 -0700644 &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.
645 &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 -0800646 &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.
647 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
648 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700649 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700650 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800651 },
652 &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)
653 &quot;kind&quot;: &quot;dns#operation&quot;,
654 &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).
655 &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.
656 &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete (output only).
657 &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)
658 &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
659 &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.
yoshi-code-bot5dcb7232021-11-08 23:24:14 -0800660 &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
661 &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
662 &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
663 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800664 &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.
665 &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.
666 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
667 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
668 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
669 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
670 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
671 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800672 &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 -0800673 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
674 },
675 ],
676 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
677 &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.
678 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
679 },
680 &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.
681 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800682 &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 -0800683 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700684 &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 -0800685 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800686 &quot;ipv6Address&quot;: &quot;A String&quot;, # IPv6 address of a target name server. Does not accept both fields (ipv4 &amp; ipv6) being populated.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800687 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
688 },
689 ],
690 },
691 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
692 &quot;kind&quot;: &quot;dns#managedZone&quot;,
693 &quot;labels&quot;: { # User labels.
694 &quot;a_key&quot;: &quot;A String&quot;,
695 },
696 &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 -0700697 &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 -0800698 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
699 &quot;A String&quot;,
700 ],
701 &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.
702 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
703 &quot;targetNetwork&quot;: { # The network with which to peer.
704 &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.
705 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
706 &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}
707 },
708 },
709 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
yoshi-code-bot9e2cde22021-04-29 03:48:05 -0700710 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
711 {
712 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
713 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
714 },
715 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800716 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
717 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
718 {
719 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700720 &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 -0800721 },
722 ],
723 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800724 &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 -0800725 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
726 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700727 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800728 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
729 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700730 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800731 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700732 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800733 },
734 },
735 &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.
736 },
737 &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.
yoshi-code-bot5dcb7232021-11-08 23:24:14 -0800738 &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
739 &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
740 &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
741 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800742 &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.
743 &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.
744 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
745 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
746 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
747 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
748 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
749 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800750 &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 -0800751 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
752 },
753 ],
754 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
755 &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.
756 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
757 },
758 &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.
759 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800760 &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 -0800761 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700762 &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 -0800763 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800764 &quot;ipv6Address&quot;: &quot;A String&quot;, # IPv6 address of a target name server. Does not accept both fields (ipv4 &amp; ipv6) being populated.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800765 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
766 },
767 ],
768 },
769 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
770 &quot;kind&quot;: &quot;dns#managedZone&quot;,
771 &quot;labels&quot;: { # User labels.
772 &quot;a_key&quot;: &quot;A String&quot;,
773 },
774 &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 -0700775 &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 -0800776 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
777 &quot;A String&quot;,
778 ],
779 &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.
780 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
781 &quot;targetNetwork&quot;: { # The network with which to peer.
782 &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.
783 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
784 &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}
785 },
786 },
787 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
yoshi-code-bot9e2cde22021-04-29 03:48:05 -0700788 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
789 {
790 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
791 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
792 },
793 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800794 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
795 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
796 {
797 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700798 &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 -0800799 },
800 ],
801 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800802 &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 -0800803 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
804 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700805 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800806 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
807 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700808 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800809 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700810 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800811 },
812 },
813 &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.
814 },
815 },
816}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700817</div>
818
819<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700820 <code class="details" id="update">update(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700821 <pre>Updates an existing ManagedZone.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700822
823Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700824 project: string, Identifies the project addressed by this request. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700825 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 -0700826 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700827 The object takes the form of:
828
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700829{ # 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-code-bot5dcb7232021-11-08 23:24:14 -0800830 &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
831 &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
832 &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
833 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800834 &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.
835 &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.
836 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
837 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
838 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
839 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
840 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
841 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800842 &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 -0800843 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
844 },
845 ],
846 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
847 &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.
848 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
849 },
850 &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.
851 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800852 &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 -0800853 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700854 &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 -0800855 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800856 &quot;ipv6Address&quot;: &quot;A String&quot;, # IPv6 address of a target name server. Does not accept both fields (ipv4 &amp; ipv6) being populated.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800857 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
858 },
859 ],
860 },
861 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
862 &quot;kind&quot;: &quot;dns#managedZone&quot;,
863 &quot;labels&quot;: { # User labels.
864 &quot;a_key&quot;: &quot;A String&quot;,
865 },
866 &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 -0700867 &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 -0800868 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
869 &quot;A String&quot;,
870 ],
871 &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.
872 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
873 &quot;targetNetwork&quot;: { # The network with which to peer.
874 &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.
875 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
876 &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}
877 },
878 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800879 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
yoshi-code-bot9e2cde22021-04-29 03:48:05 -0700880 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
881 {
882 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
883 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
884 },
885 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800886 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
887 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
888 {
889 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700890 &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 Bot0bf565c2020-12-09 08:56:03 -0800891 },
892 ],
893 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800894 &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 -0800895 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800896 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700897 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800898 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
899 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700900 &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 Automation Botcc94ec82021-01-15 07:10:04 -0800901 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700902 &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 Automation Bot0d561ef2020-11-25 07:50:41 -0800903 },
904 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800905 &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 -0700906}
907
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700908 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 -0700909 x__xgafv: string, V1 error format.
910 Allowed values
911 1 - v1 error format
912 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700913
914Returns:
915 An object of the form:
916
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700917 { # 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 -0800918 &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
919 &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
920 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
921 &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.
922 &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.
923 &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.
924 {
925 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
926 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800927 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800928 ],
929 &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 -0700930 &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.
931 &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 -0800932 &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.
933 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
934 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700935 &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 Bot0bf565c2020-12-09 08:56:03 -0800936 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800937 &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
938 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
939 &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.
940 &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.
941 &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.
942 {
943 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
944 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
945 },
946 ],
947 &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 -0700948 &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.
949 &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 -0800950 &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.
951 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
952 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700953 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700954 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800955 },
956 &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)
957 &quot;kind&quot;: &quot;dns#operation&quot;,
958 &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).
959 &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.
960 &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete (output only).
961 &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)
962 &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
963 &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.
yoshi-code-bot5dcb7232021-11-08 23:24:14 -0800964 &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
965 &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
966 &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
967 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800968 &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.
969 &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.
970 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
971 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
972 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
973 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
974 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
975 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800976 &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 -0800977 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
978 },
979 ],
980 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
981 &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.
982 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
983 },
984 &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.
985 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800986 &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 -0800987 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700988 &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 -0800989 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800990 &quot;ipv6Address&quot;: &quot;A String&quot;, # IPv6 address of a target name server. Does not accept both fields (ipv4 &amp; ipv6) being populated.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800991 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
992 },
993 ],
994 },
995 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
996 &quot;kind&quot;: &quot;dns#managedZone&quot;,
997 &quot;labels&quot;: { # User labels.
998 &quot;a_key&quot;: &quot;A String&quot;,
999 },
1000 &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 -07001001 &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 -08001002 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
1003 &quot;A String&quot;,
1004 ],
1005 &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.
1006 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
1007 &quot;targetNetwork&quot;: { # The network with which to peer.
1008 &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.
1009 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
1010 &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}
1011 },
1012 },
1013 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
yoshi-code-bot9e2cde22021-04-29 03:48:05 -07001014 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
1015 {
1016 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
1017 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
1018 },
1019 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001020 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
1021 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
1022 {
1023 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001024 &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 -08001025 },
1026 ],
1027 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001028 &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 -08001029 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
1030 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001031 &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 Automation Botcc94ec82021-01-15 07:10:04 -08001032 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
1033 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001034 &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 Automation Botcc94ec82021-01-15 07:10:04 -08001035 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001036 &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 Automation Botcc94ec82021-01-15 07:10:04 -08001037 },
1038 },
1039 &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.
1040 },
1041 &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.
yoshi-code-bot5dcb7232021-11-08 23:24:14 -08001042 &quot;cloudLoggingConfig&quot;: { # Cloud Logging configurations for publicly visible zones.
1043 &quot;enableLogging&quot;: True or False, # If set, enable query logging for this ManagedZone. False by default, making logging opt-in.
1044 &quot;kind&quot;: &quot;dns#managedZoneCloudLoggingConfig&quot;,
1045 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001046 &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.
1047 &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.
1048 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
1049 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
1050 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
1051 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
1052 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
1053 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001054 &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 -08001055 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
1056 },
1057 ],
1058 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
1059 &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.
1060 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
1061 },
1062 &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.
1063 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001064 &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 -08001065 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001066 &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 -08001067 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001068 &quot;ipv6Address&quot;: &quot;A String&quot;, # IPv6 address of a target name server. Does not accept both fields (ipv4 &amp; ipv6) being populated.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001069 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
1070 },
1071 ],
1072 },
1073 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
1074 &quot;kind&quot;: &quot;dns#managedZone&quot;,
1075 &quot;labels&quot;: { # User labels.
1076 &quot;a_key&quot;: &quot;A String&quot;,
1077 },
1078 &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 -07001079 &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 -08001080 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
1081 &quot;A String&quot;,
1082 ],
1083 &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.
1084 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
1085 &quot;targetNetwork&quot;: { # The network with which to peer.
1086 &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.
1087 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
1088 &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}
1089 },
1090 },
1091 &quot;privateVisibilityConfig&quot;: { # For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
yoshi-code-bot9e2cde22021-04-29 03:48:05 -07001092 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
1093 {
1094 &quot;gkeClusterName&quot;: &quot;A String&quot;, # The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
1095 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
1096 },
1097 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001098 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
1099 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
1100 {
1101 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001102 &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 -08001103 },
1104 ],
1105 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001106 &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 -08001107 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
1108 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001109 &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 Automation Botcc94ec82021-01-15 07:10:04 -08001110 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
1111 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001112 &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 Automation Botcc94ec82021-01-15 07:10:04 -08001113 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001114 &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 Automation Botcc94ec82021-01-15 07:10:04 -08001115 },
1116 },
1117 &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.
1118 },
1119 },
1120}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001121</div>
1122
1123</body></html>