blob: 7d0e0586d426678e65c5d4dec16a5dd267894dfe [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 Automation Botcc94ec82021-01-15 07:10:04 -0800117 &quot;creationTime&quot;: &quot;A String&quot;, # The time that this resource was created on the server. This is in RFC3339 text format. Output only.
118 &quot;description&quot;: &quot;A String&quot;, # A mutable string of at most 1024 characters associated with this resource for the user&#x27;s convenience. Has no effect on the managed zone&#x27;s function.
119 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
120 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
121 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
122 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
123 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
124 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800125 &quot;keyType&quot;: &quot;A String&quot;, # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800126 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
127 },
128 ],
129 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
130 &quot;nonExistence&quot;: &quot;A String&quot;, # Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.
131 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
132 },
133 &quot;forwardingConfig&quot;: { # The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.
134 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800135 &quot;targetNameServers&quot;: [ # List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800136 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700137 &quot;forwardingPath&quot;: &quot;A String&quot;, # Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800138 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800139 &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 -0800140 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
141 },
142 ],
143 },
144 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
145 &quot;kind&quot;: &quot;dns#managedZone&quot;,
146 &quot;labels&quot;: { # User labels.
147 &quot;a_key&quot;: &quot;A String&quot;,
148 },
149 &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 -0700150 &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 -0800151 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
152 &quot;A String&quot;,
153 ],
154 &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.
155 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
156 &quot;targetNetwork&quot;: { # The network with which to peer.
157 &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.
158 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
159 &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}
160 },
161 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800162 &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 -0700163 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
164 {
165 &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
166 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
167 },
168 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800169 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
170 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
171 {
172 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700173 &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 -0800174 },
175 ],
176 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800177 &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 -0800178 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800179 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700180 &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 -0800181 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
182 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700183 &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 -0800184 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700185 &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 -0800186 },
187 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800188 &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 -0700189}
190
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700191 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 -0700192 x__xgafv: string, V1 error format.
193 Allowed values
194 1 - v1 error format
195 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700196
197Returns:
198 An object of the form:
199
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700200 { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800201 &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.
202 &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.
203 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
204 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
205 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
206 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
207 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
208 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800209 &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 -0800210 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800211 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800212 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800213 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
214 &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.
215 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
216 },
217 &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.
218 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800219 &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 -0800220 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700221 &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 -0800222 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800223 &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 -0800224 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800225 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800226 ],
227 },
228 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
229 &quot;kind&quot;: &quot;dns#managedZone&quot;,
230 &quot;labels&quot;: { # User labels.
231 &quot;a_key&quot;: &quot;A String&quot;,
232 },
233 &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 -0700234 &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 -0800235 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
236 &quot;A String&quot;,
237 ],
238 &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.
239 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
240 &quot;targetNetwork&quot;: { # The network with which to peer.
241 &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.
242 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
243 &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 -0800244 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800245 },
246 &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 -0700247 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
248 {
249 &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
250 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
251 },
252 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800253 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
254 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
255 {
256 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700257 &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 -0800258 },
259 ],
260 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800261 &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 -0800262 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
263 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700264 &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 -0800265 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
266 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700267 &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 -0800268 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700269 &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 -0800270 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800271 },
272 &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.
273}</pre>
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700274</div>
275
276<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700277 <code class="details" id="delete">delete(project, managedZone, clientOperationId=None, x__xgafv=None)</code>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700278 <pre>Deletes a previously created ManagedZone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700279
280Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700281 project: string, Identifies the project addressed by this request. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700282 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 -0700283 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 -0700284 x__xgafv: string, V1 error format.
285 Allowed values
286 1 - v1 error format
287 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700288</pre>
289</div>
290
291<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700292 <code class="details" id="get">get(project, managedZone, clientOperationId=None, x__xgafv=None)</code>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700293 <pre>Fetches the representation of an existing ManagedZone.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700294
295Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700296 project: string, Identifies the project addressed by this request. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700297 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 -0700298 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 -0700299 x__xgafv: string, V1 error format.
300 Allowed values
301 1 - v1 error format
302 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700303
304Returns:
305 An object of the form:
306
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700307 { # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800308 &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.
309 &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.
310 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
311 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
312 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
313 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
314 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
315 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800316 &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 -0800317 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800318 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800319 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800320 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
321 &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.
322 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
323 },
324 &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.
325 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800326 &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 -0800327 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700328 &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 -0800329 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800330 &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 -0800331 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800332 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800333 ],
334 },
335 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
336 &quot;kind&quot;: &quot;dns#managedZone&quot;,
337 &quot;labels&quot;: { # User labels.
338 &quot;a_key&quot;: &quot;A String&quot;,
339 },
340 &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 -0700341 &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 -0800342 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
343 &quot;A String&quot;,
344 ],
345 &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.
346 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
347 &quot;targetNetwork&quot;: { # The network with which to peer.
348 &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.
349 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
350 &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 -0800351 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800352 },
353 &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 -0700354 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
355 {
356 &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
357 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
358 },
359 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800360 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
361 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
362 {
363 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700364 &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 -0800365 },
366 ],
367 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800368 &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 -0800369 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
370 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700371 &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 -0800372 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
373 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700374 &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 -0800375 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700376 &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 -0800377 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800378 },
379 &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.
380}</pre>
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700381</div>
382
383<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800384 <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 -0700385 <pre>Enumerates ManagedZones that have been created but not yet deleted.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700386
387Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700388 project: string, Identifies the project addressed by this request. (required)
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800389 dnsName: string, Restricts the list to return only zones with this domain name.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800390 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 -0800391 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 -0700392 x__xgafv: string, V1 error format.
393 Allowed values
394 1 - v1 error format
395 2 - v2 error format
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700396
397Returns:
398 An object of the form:
399
400 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800401 &quot;header&quot;: { # Elements common to every response.
402 &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).
403 },
404 &quot;kind&quot;: &quot;dns#managedZonesListResponse&quot;, # Type of resource.
405 &quot;managedZones&quot;: [ # The managed zone resources.
406 { # 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.
407 &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.
408 &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.
409 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
410 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
411 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
412 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
413 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
414 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800415 &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 -0800416 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800417 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800418 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800419 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
420 &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.
421 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
422 },
423 &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.
424 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800425 &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 -0800426 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700427 &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 -0800428 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800429 &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 -0800430 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800431 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800432 ],
433 },
434 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
435 &quot;kind&quot;: &quot;dns#managedZone&quot;,
436 &quot;labels&quot;: { # User labels.
437 &quot;a_key&quot;: &quot;A String&quot;,
438 },
439 &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 -0700440 &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 -0800441 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
442 &quot;A String&quot;,
443 ],
444 &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.
445 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
446 &quot;targetNetwork&quot;: { # The network with which to peer.
447 &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.
448 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
449 &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 -0800450 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700451 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800452 &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 -0700453 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
454 {
455 &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
456 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
457 },
458 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800459 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
460 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
461 {
462 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700463 &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 -0800464 },
465 ],
466 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800467 &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 -0800468 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
469 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700470 &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 -0800471 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
472 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700473 &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 -0800474 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700475 &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 -0800476 },
477 },
478 &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 -0800479 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800480 ],
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700481 &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 -0800482}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700483</div>
484
485<div class="method">
486 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
487 <pre>Retrieves the next page of results.
488
489Args:
490 previous_request: The request for the previous page. (required)
491 previous_response: The response from the request for the previous page. (required)
492
493Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700494 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700495 page. Returns None if there are no more items in the collection.
496 </pre>
497</div>
498
499<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700500 <code class="details" id="patch">patch(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700501 <pre>Applies a partial update to an existing ManagedZone.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700502
503Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700504 project: string, Identifies the project addressed by this request. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700505 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 -0700506 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700507 The object takes the form of:
508
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700509{ # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800510 &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.
511 &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.
512 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
513 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
514 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
515 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
516 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
517 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800518 &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 -0800519 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
520 },
521 ],
522 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
523 &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.
524 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
525 },
526 &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.
527 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800528 &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 -0800529 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700530 &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 -0800531 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800532 &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 -0800533 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
534 },
535 ],
536 },
537 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
538 &quot;kind&quot;: &quot;dns#managedZone&quot;,
539 &quot;labels&quot;: { # User labels.
540 &quot;a_key&quot;: &quot;A String&quot;,
541 },
542 &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 -0700543 &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 -0800544 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
545 &quot;A String&quot;,
546 ],
547 &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.
548 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
549 &quot;targetNetwork&quot;: { # The network with which to peer.
550 &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.
551 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
552 &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}
553 },
554 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800555 &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 -0700556 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
557 {
558 &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
559 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
560 },
561 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800562 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
563 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
564 {
565 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700566 &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 -0800567 },
568 ],
569 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800570 &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 -0800571 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800572 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700573 &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 -0800574 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
575 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700576 &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 -0800577 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700578 &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 -0800579 },
580 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800581 &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 -0700582}
583
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700584 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 -0700585 x__xgafv: string, V1 error format.
586 Allowed values
587 1 - v1 error format
588 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700589
590Returns:
591 An object of the form:
592
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700593 { # 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 -0800594 &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
595 &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
596 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
597 &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.
598 &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.
599 &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.
600 {
601 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
602 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800603 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800604 ],
605 &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 -0700606 &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.
607 &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 -0800608 &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.
609 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
610 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700611 &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 -0800612 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800613 &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
614 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
615 &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.
616 &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.
617 &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.
618 {
619 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
620 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
621 },
622 ],
623 &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 -0700624 &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.
625 &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 -0800626 &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.
627 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
628 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700629 &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 -0700630 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800631 },
632 &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)
633 &quot;kind&quot;: &quot;dns#operation&quot;,
634 &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).
635 &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.
636 &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete (output only).
637 &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)
638 &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
639 &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.
640 &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.
641 &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.
642 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
643 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
644 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
645 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
646 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
647 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800648 &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 -0800649 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
650 },
651 ],
652 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
653 &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.
654 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
655 },
656 &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.
657 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800658 &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 -0800659 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700660 &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 -0800661 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800662 &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 -0800663 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
664 },
665 ],
666 },
667 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
668 &quot;kind&quot;: &quot;dns#managedZone&quot;,
669 &quot;labels&quot;: { # User labels.
670 &quot;a_key&quot;: &quot;A String&quot;,
671 },
672 &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 -0700673 &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 -0800674 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
675 &quot;A String&quot;,
676 ],
677 &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.
678 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
679 &quot;targetNetwork&quot;: { # The network with which to peer.
680 &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.
681 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
682 &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}
683 },
684 },
685 &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 -0700686 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
687 {
688 &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
689 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
690 },
691 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800692 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
693 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
694 {
695 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700696 &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 -0800697 },
698 ],
699 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800700 &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 -0800701 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
702 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700703 &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 -0800704 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
705 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700706 &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 -0800707 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700708 &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 -0800709 },
710 },
711 &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.
712 },
713 &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.
714 &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.
715 &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.
716 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
717 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
718 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
719 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
720 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
721 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800722 &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 -0800723 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
724 },
725 ],
726 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
727 &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.
728 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
729 },
730 &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.
731 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800732 &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 -0800733 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700734 &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 -0800735 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800736 &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 -0800737 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
738 },
739 ],
740 },
741 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
742 &quot;kind&quot;: &quot;dns#managedZone&quot;,
743 &quot;labels&quot;: { # User labels.
744 &quot;a_key&quot;: &quot;A String&quot;,
745 },
746 &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 -0700747 &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 -0800748 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
749 &quot;A String&quot;,
750 ],
751 &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.
752 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
753 &quot;targetNetwork&quot;: { # The network with which to peer.
754 &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.
755 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
756 &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}
757 },
758 },
759 &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 -0700760 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
761 {
762 &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
763 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
764 },
765 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800766 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
767 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
768 {
769 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700770 &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 -0800771 },
772 ],
773 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800774 &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 -0800775 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
776 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700777 &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 -0800778 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
779 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700780 &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 -0800781 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700782 &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 -0800783 },
784 },
785 &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.
786 },
787 },
788}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700789</div>
790
791<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700792 <code class="details" id="update">update(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700793 <pre>Updates an existing ManagedZone.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700794
795Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700796 project: string, Identifies the project addressed by this request. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700797 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 -0700798 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700799 The object takes the form of:
800
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700801{ # A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800802 &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.
803 &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.
804 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
805 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
806 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
807 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
808 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
809 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800810 &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 -0800811 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
812 },
813 ],
814 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
815 &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.
816 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
817 },
818 &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.
819 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800820 &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 -0800821 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700822 &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 -0800823 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800824 &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 -0800825 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
826 },
827 ],
828 },
829 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
830 &quot;kind&quot;: &quot;dns#managedZone&quot;,
831 &quot;labels&quot;: { # User labels.
832 &quot;a_key&quot;: &quot;A String&quot;,
833 },
834 &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 -0700835 &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 -0800836 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
837 &quot;A String&quot;,
838 ],
839 &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.
840 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
841 &quot;targetNetwork&quot;: { # The network with which to peer.
842 &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.
843 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
844 &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}
845 },
846 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800847 &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 -0700848 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
849 {
850 &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
851 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
852 },
853 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800854 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
855 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
856 {
857 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700858 &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 -0800859 },
860 ],
861 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800862 &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 -0800863 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800864 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700865 &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 -0800866 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
867 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700868 &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 -0800869 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700870 &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 -0800871 },
872 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800873 &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 -0700874}
875
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700876 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 -0700877 x__xgafv: string, V1 error format.
878 Allowed values
879 1 - v1 error format
880 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700881
882Returns:
883 An object of the form:
884
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700885 { # 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 -0800886 &quot;dnsKeyContext&quot;: { # Only populated if the operation targeted a DnsKey (output only).
887 &quot;newValue&quot;: { # A DNSSEC key pair. # The post-operation DnsKey resource.
888 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
889 &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.
890 &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.
891 &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.
892 {
893 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
894 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800895 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800896 ],
897 &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 -0700898 &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.
899 &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 -0800900 &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.
901 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
902 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700903 &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 -0800904 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800905 &quot;oldValue&quot;: { # A DNSSEC key pair. # The pre-operation DnsKey resource.
906 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
907 &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.
908 &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.
909 &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.
910 {
911 &quot;digest&quot;: &quot;A String&quot;, # The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
912 &quot;type&quot;: &quot;A String&quot;, # Specifies the algorithm used to calculate this digest.
913 },
914 ],
915 &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 -0700916 &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.
917 &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 -0800918 &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.
919 &quot;kind&quot;: &quot;dns#dnsKey&quot;,
920 &quot;publicKey&quot;: &quot;A String&quot;, # Base64 encoded public half of this key. Output only.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700921 &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 -0700922 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800923 },
924 &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)
925 &quot;kind&quot;: &quot;dns#operation&quot;,
926 &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).
927 &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.
928 &quot;type&quot;: &quot;A String&quot;, # Type of the operation. Operations include insert, update, and delete (output only).
929 &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)
930 &quot;zoneContext&quot;: { # Only populated if the operation targeted a ManagedZone (output only).
931 &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.
932 &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.
933 &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.
934 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
935 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
936 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
937 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
938 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
939 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800940 &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 -0800941 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
942 },
943 ],
944 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
945 &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.
946 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
947 },
948 &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.
949 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800950 &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 -0800951 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700952 &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 -0800953 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800954 &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 -0800955 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
956 },
957 ],
958 },
959 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
960 &quot;kind&quot;: &quot;dns#managedZone&quot;,
961 &quot;labels&quot;: { # User labels.
962 &quot;a_key&quot;: &quot;A String&quot;,
963 },
964 &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 -0700965 &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 -0800966 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
967 &quot;A String&quot;,
968 ],
969 &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.
970 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
971 &quot;targetNetwork&quot;: { # The network with which to peer.
972 &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.
973 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
974 &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}
975 },
976 },
977 &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 -0700978 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
979 {
980 &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
981 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
982 },
983 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800984 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
985 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
986 {
987 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700988 &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 -0800989 },
990 ],
991 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800992 &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 -0800993 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
994 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700995 &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 -0800996 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
997 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700998 &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 -0800999 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001000 &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 -08001001 },
1002 },
1003 &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.
1004 },
1005 &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.
1006 &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.
1007 &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.
1008 &quot;dnsName&quot;: &quot;A String&quot;, # The DNS name of this managed zone, for instance &quot;example.com.&quot;.
1009 &quot;dnssecConfig&quot;: { # DNSSEC configuration.
1010 &quot;defaultKeySpecs&quot;: [ # Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.
1011 { # Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
1012 &quot;algorithm&quot;: &quot;A String&quot;, # String mnemonic specifying the DNSSEC algorithm of this key.
1013 &quot;keyLength&quot;: 42, # Length of the keys in bits.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001014 &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 -08001015 &quot;kind&quot;: &quot;dns#dnsKeySpec&quot;,
1016 },
1017 ],
1018 &quot;kind&quot;: &quot;dns#managedZoneDnsSecConfig&quot;,
1019 &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.
1020 &quot;state&quot;: &quot;A String&quot;, # Specifies whether DNSSEC is enabled, and what mode it is in.
1021 },
1022 &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.
1023 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfig&quot;,
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001024 &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 -08001025 {
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001026 &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 -08001027 &quot;ipv4Address&quot;: &quot;A String&quot;, # IPv4 address of a target name server.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001028 &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 -08001029 &quot;kind&quot;: &quot;dns#managedZoneForwardingConfigNameServerTarget&quot;,
1030 },
1031 ],
1032 },
1033 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the resource; defined by the server (output only)
1034 &quot;kind&quot;: &quot;dns#managedZone&quot;,
1035 &quot;labels&quot;: { # User labels.
1036 &quot;a_key&quot;: &quot;A String&quot;,
1037 },
1038 &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 -07001039 &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 -08001040 &quot;nameServers&quot;: [ # Delegate your managed_zone to these virtual name servers; defined by the server (output only)
1041 &quot;A String&quot;,
1042 ],
1043 &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.
1044 &quot;kind&quot;: &quot;dns#managedZonePeeringConfig&quot;,
1045 &quot;targetNetwork&quot;: { # The network with which to peer.
1046 &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.
1047 &quot;kind&quot;: &quot;dns#managedZonePeeringConfigTargetNetwork&quot;,
1048 &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}
1049 },
1050 },
1051 &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 -07001052 &quot;gkeClusters&quot;: [ # The list of Google Kubernetes Engine clusters that can see this zone.
1053 {
1054 &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
1055 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigGKECluster&quot;,
1056 },
1057 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001058 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfig&quot;,
1059 &quot;networks&quot;: [ # The list of VPC networks that can see this zone.
1060 {
1061 &quot;kind&quot;: &quot;dns#managedZonePrivateVisibilityConfigNetwork&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001062 &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 -08001063 },
1064 ],
1065 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001066 &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 -08001067 &quot;kind&quot;: &quot;dns#managedZoneReverseLookupConfig&quot;,
1068 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001069 &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 -08001070 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfig&quot;,
1071 &quot;namespace&quot;: { # Contains information about the namespace associated with the zone.
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001072 &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 -08001073 &quot;kind&quot;: &quot;dns#managedZoneServiceDirectoryConfigNamespace&quot;,
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001074 &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 -08001075 },
1076 },
1077 &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.
1078 },
1079 },
1080}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001081</div>
1082
1083</body></html>