Debian Codegraph @

docs/dyn/networkconnectivity_v1.projects.locations.automatedDnsRecords.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="networkconnectivity_v1.html">Network Connectivity API</a> . <a href="networkconnectivity_v1.projects.html">projects</a> . <a href="networkconnectivity_v1.projects.locations.html">locations</a> . <a href="networkconnectivity_v1.projects.locations.automatedDnsRecords.html">automatedDnsRecords</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, automatedDnsRecordId=None, body=None, insertMode=None, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new AutomatedDnsRecord in a given project and location.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, deleteMode=None, etag=None, requestId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a single AutomatedDnsRecord.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of a single AutomatedDnsRecord.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists AutomatedDnsRecords in a given project and location.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(parent, automatedDnsRecordId=None, body=None, insertMode=None, requestId=None, x__xgafv=None)</code>
103 <pre>Creates a new AutomatedDnsRecord in a given project and location.
104
105 Args:
106 parent: string, Required. The parent resource&#x27;s name of the AutomatedDnsRecord. ex. projects/123/locations/us-east1 (required)
107 body: object, The request body.
108 The object takes the form of:
109
110 { # Represents a DNS record managed by the AutomatedDnsRecord API.
111 &quot;consumerNetwork&quot;: &quot;A String&quot;, # Required. Immutable. The full resource path of the consumer network this AutomatedDnsRecord is visible to. Example: &quot;projects/{projectNumOrId}/global/networks/{networkName}&quot;.
112 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the record was created.
113 &quot;creationMode&quot;: &quot;A String&quot;, # Required. Immutable. The creation mode of the AutomatedDnsRecord. This field is immutable.
114 &quot;currentConfig&quot;: { # Defines the configuration of a DNS record. # Output only. The current settings for this record as identified by (`hostname`, `dns_suffix`, `type`) in Cloud DNS. The `current_config` field reflects the actual settings of the DNS record in Cloud DNS based on the `hostname`, `dns_suffix`, and `type`. * **Absence:** If `current_config` is unset, it means a DNS record with the specified `hostname`, `dns_suffix`, and `type` does not currently exist in Cloud DNS. This could be because the `AutomatedDnsRecord` has never been successfully programmed, has been deleted, or there was an error during provisioning. * **Presence:** If `current_config` is present: * It can be different from the `original_config`. This can happen due to several reasons: * Out-of-band changes: A consumer might have directly modified the DNS record in Cloud DNS. * `OVERWRITE` operations from other `AutomatedDnsRecord` resources: Another `AutomatedDnsRecord` with the same identifying attributes (`hostname`, `dns_suffix`, `type`) but a different configuration might have overwritten the record using `insert_mode: OVERWRITE`. Therefore, the presence of `current_config` indicates that a corresponding DNS record exists, but its values (TTL and RRData) might not always align with the `original_config` of the AutomatedDnsRecord.
115 &quot;rrdatas&quot;: [ # Required. The list of resource record data strings. The content and format of these strings depend on the AutomatedDnsRecord.type. For many common record types, this list may contain multiple strings. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. Examples: A record: [&quot;192.0.2.1&quot;] or [&quot;192.0.2.1&quot;, &quot;192.0.2.2&quot;] TXT record: [&quot;This is a text record&quot;] CNAME record: [&quot;target.example.com.&quot;] AAAA record: [&quot;::1&quot;] or [&quot;2001:0db8:85a3:0000:0000:8a2e:0370:7334&quot;, &quot;2001:0db8:85a3:0000:0000:8a2e:0370:7335&quot;]
116 &quot;A String&quot;,
117 ],
118 &quot;ttl&quot;: &quot;A String&quot;, # Required. Number of seconds that this DNS record can be cached by resolvers.
119 },
120 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the record.
121 &quot;dnsSuffix&quot;: &quot;A String&quot;, # Required. Immutable. The dns suffix for this record to use in longest-suffix matching. Requires a trailing dot. Example: &quot;example.com.&quot;
122 &quot;dnsZone&quot;: &quot;A String&quot;, # Output only. DnsZone is the DNS zone managed by automation. Format: projects/{project}/managedZones/{managedZone}
123 &quot;etag&quot;: &quot;A String&quot;, # Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
124 &quot;fqdn&quot;: &quot;A String&quot;, # Output only. The FQDN created by combining the hostname and dns suffix. Should include a trailing dot.
125 &quot;hostname&quot;: &quot;A String&quot;, # Required. Immutable. The hostname for the DNS record. This value will be prepended to the `dns_suffix` to create the full domain name (FQDN) for the record. For example, if `hostname` is &quot;corp.db&quot; and `dns_suffix` is &quot;example.com.&quot;, the resulting record will be &quot;corp.db.example.com.&quot;. Should not include a trailing dot.
126 &quot;labels&quot;: { # Optional. User-defined labels.
127 &quot;a_key&quot;: &quot;A String&quot;,
128 },
129 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The name of an AutomatedDnsRecord. Format: projects/{project}/locations/{location}/automatedDnsRecords/{automated_dns_record} See: https://google.aip.dev/122#fields-representing-resource-names
130 &quot;originalConfig&quot;: { # Defines the configuration of a DNS record. # Required. Immutable. The configuration settings used to create this DNS record. These settings define the desired state of the record as specified by the producer.
131 &quot;rrdatas&quot;: [ # Required. The list of resource record data strings. The content and format of these strings depend on the AutomatedDnsRecord.type. For many common record types, this list may contain multiple strings. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. Examples: A record: [&quot;192.0.2.1&quot;] or [&quot;192.0.2.1&quot;, &quot;192.0.2.2&quot;] TXT record: [&quot;This is a text record&quot;] CNAME record: [&quot;target.example.com.&quot;] AAAA record: [&quot;::1&quot;] or [&quot;2001:0db8:85a3:0000:0000:8a2e:0370:7334&quot;, &quot;2001:0db8:85a3:0000:0000:8a2e:0370:7335&quot;]
132 &quot;A String&quot;,
133 ],
134 &quot;ttl&quot;: &quot;A String&quot;, # Required. Number of seconds that this DNS record can be cached by resolvers.
135 },
136 &quot;recordType&quot;: &quot;A String&quot;, # Required. Immutable. The identifier of a supported record type.
137 &quot;serviceClass&quot;: &quot;A String&quot;, # Required. Immutable. The service class identifier which authorizes this AutomatedDnsRecord. Any API calls targeting this AutomatedDnsRecord must have `networkconnectivity.serviceclasses.use` IAM permission for the provided service class.
138 &quot;state&quot;: &quot;A String&quot;, # Output only. The current operational state of this AutomatedDnsRecord as managed by Service Connectivity Automation.
139 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. A human-readable message providing more context about the current state, such as an error description if the state is `FAILED_DEPROGRAMMING`.
140 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the record was updated.
141 }
142
143 automatedDnsRecordId: string, Optional. Resource ID (i.e. &#x27;foo&#x27; in &#x27;[...]/projects/p/locations/l/automatedDnsRecords/foo&#x27;) See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.
144 insertMode: string, Optional. The insert mode when creating AutomatedDnsRecord.
145 Allowed values
146 INSERT_MODE_UNSPECIFIED - An invalid insert mode as the default case.
147 FAIL_IF_EXISTS - Fail the request if the record already exists in cloud DNS.
148 OVERWRITE - Overwrite the existing record in cloud DNS.
149 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
150 x__xgafv: string, V1 error format.
151 Allowed values
152 1 - v1 error format
153 2 - v2 error format
154
155 Returns:
156 An object of the form:
157
158 { # This resource represents a long-running operation that is the result of a network API call.
159 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
160 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
161 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
162 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
163 {
164 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
165 },
166 ],
167 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
168 },
169 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
170 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
171 },
172 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
173 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
174 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
175 },
176 }</pre>
177 </div>
178
179 <div class="method">
180 <code class="details" id="delete">delete(name, deleteMode=None, etag=None, requestId=None, x__xgafv=None)</code>
181 <pre>Deletes a single AutomatedDnsRecord.
182
183 Args:
184 name: string, Required. The name of the AutomatedDnsRecord to delete. (required)
185 deleteMode: string, Optional. Delete mode when deleting AutomatedDnsRecord. If set to DEPROGRAM, the record will be deprogrammed in Cloud DNS. If set to SKIP_DEPROGRAMMING, the record will not be deprogrammed in Cloud DNS.
186 Allowed values
187 DELETE_MODE_UNSPECIFIED - An invalid delete mode as the default case.
188 DEPROGRAM - Deprogram the record in Cloud DNS.
189 SKIP_DEPROGRAMMING - Skip deprogramming the record in Cloud DNS.
190 etag: string, Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
191 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
192 x__xgafv: string, V1 error format.
193 Allowed values
194 1 - v1 error format
195 2 - v2 error format
196
197 Returns:
198 An object of the form:
199
200 { # This resource represents a long-running operation that is the result of a network API call.
201 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
202 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
203 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
204 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
205 {
206 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
207 },
208 ],
209 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
210 },
211 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
212 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
213 },
214 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
215 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
216 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
217 },
218 }</pre>
219 </div>
220
221 <div class="method">
222 <code class="details" id="get">get(name, x__xgafv=None)</code>
223 <pre>Gets details of a single AutomatedDnsRecord.
224
225 Args:
226 name: string, Required. Name of the AutomatedDnsRecord to get. Format: projects/{project}/locations/{location}/automatedDnsRecords/{automated_dns_record} (required)
227 x__xgafv: string, V1 error format.
228 Allowed values
229 1 - v1 error format
230 2 - v2 error format
231
232 Returns:
233 An object of the form:
234
235 { # Represents a DNS record managed by the AutomatedDnsRecord API.
236 &quot;consumerNetwork&quot;: &quot;A String&quot;, # Required. Immutable. The full resource path of the consumer network this AutomatedDnsRecord is visible to. Example: &quot;projects/{projectNumOrId}/global/networks/{networkName}&quot;.
237 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the record was created.
238 &quot;creationMode&quot;: &quot;A String&quot;, # Required. Immutable. The creation mode of the AutomatedDnsRecord. This field is immutable.
239 &quot;currentConfig&quot;: { # Defines the configuration of a DNS record. # Output only. The current settings for this record as identified by (`hostname`, `dns_suffix`, `type`) in Cloud DNS. The `current_config` field reflects the actual settings of the DNS record in Cloud DNS based on the `hostname`, `dns_suffix`, and `type`. * **Absence:** If `current_config` is unset, it means a DNS record with the specified `hostname`, `dns_suffix`, and `type` does not currently exist in Cloud DNS. This could be because the `AutomatedDnsRecord` has never been successfully programmed, has been deleted, or there was an error during provisioning. * **Presence:** If `current_config` is present: * It can be different from the `original_config`. This can happen due to several reasons: * Out-of-band changes: A consumer might have directly modified the DNS record in Cloud DNS. * `OVERWRITE` operations from other `AutomatedDnsRecord` resources: Another `AutomatedDnsRecord` with the same identifying attributes (`hostname`, `dns_suffix`, `type`) but a different configuration might have overwritten the record using `insert_mode: OVERWRITE`. Therefore, the presence of `current_config` indicates that a corresponding DNS record exists, but its values (TTL and RRData) might not always align with the `original_config` of the AutomatedDnsRecord.
240 &quot;rrdatas&quot;: [ # Required. The list of resource record data strings. The content and format of these strings depend on the AutomatedDnsRecord.type. For many common record types, this list may contain multiple strings. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. Examples: A record: [&quot;192.0.2.1&quot;] or [&quot;192.0.2.1&quot;, &quot;192.0.2.2&quot;] TXT record: [&quot;This is a text record&quot;] CNAME record: [&quot;target.example.com.&quot;] AAAA record: [&quot;::1&quot;] or [&quot;2001:0db8:85a3:0000:0000:8a2e:0370:7334&quot;, &quot;2001:0db8:85a3:0000:0000:8a2e:0370:7335&quot;]
241 &quot;A String&quot;,
242 ],
243 &quot;ttl&quot;: &quot;A String&quot;, # Required. Number of seconds that this DNS record can be cached by resolvers.
244 },
245 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the record.
246 &quot;dnsSuffix&quot;: &quot;A String&quot;, # Required. Immutable. The dns suffix for this record to use in longest-suffix matching. Requires a trailing dot. Example: &quot;example.com.&quot;
247 &quot;dnsZone&quot;: &quot;A String&quot;, # Output only. DnsZone is the DNS zone managed by automation. Format: projects/{project}/managedZones/{managedZone}
248 &quot;etag&quot;: &quot;A String&quot;, # Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
249 &quot;fqdn&quot;: &quot;A String&quot;, # Output only. The FQDN created by combining the hostname and dns suffix. Should include a trailing dot.
250 &quot;hostname&quot;: &quot;A String&quot;, # Required. Immutable. The hostname for the DNS record. This value will be prepended to the `dns_suffix` to create the full domain name (FQDN) for the record. For example, if `hostname` is &quot;corp.db&quot; and `dns_suffix` is &quot;example.com.&quot;, the resulting record will be &quot;corp.db.example.com.&quot;. Should not include a trailing dot.
251 &quot;labels&quot;: { # Optional. User-defined labels.
252 &quot;a_key&quot;: &quot;A String&quot;,
253 },
254 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The name of an AutomatedDnsRecord. Format: projects/{project}/locations/{location}/automatedDnsRecords/{automated_dns_record} See: https://google.aip.dev/122#fields-representing-resource-names
255 &quot;originalConfig&quot;: { # Defines the configuration of a DNS record. # Required. Immutable. The configuration settings used to create this DNS record. These settings define the desired state of the record as specified by the producer.
256 &quot;rrdatas&quot;: [ # Required. The list of resource record data strings. The content and format of these strings depend on the AutomatedDnsRecord.type. For many common record types, this list may contain multiple strings. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. Examples: A record: [&quot;192.0.2.1&quot;] or [&quot;192.0.2.1&quot;, &quot;192.0.2.2&quot;] TXT record: [&quot;This is a text record&quot;] CNAME record: [&quot;target.example.com.&quot;] AAAA record: [&quot;::1&quot;] or [&quot;2001:0db8:85a3:0000:0000:8a2e:0370:7334&quot;, &quot;2001:0db8:85a3:0000:0000:8a2e:0370:7335&quot;]
257 &quot;A String&quot;,
258 ],
259 &quot;ttl&quot;: &quot;A String&quot;, # Required. Number of seconds that this DNS record can be cached by resolvers.
260 },
261 &quot;recordType&quot;: &quot;A String&quot;, # Required. Immutable. The identifier of a supported record type.
262 &quot;serviceClass&quot;: &quot;A String&quot;, # Required. Immutable. The service class identifier which authorizes this AutomatedDnsRecord. Any API calls targeting this AutomatedDnsRecord must have `networkconnectivity.serviceclasses.use` IAM permission for the provided service class.
263 &quot;state&quot;: &quot;A String&quot;, # Output only. The current operational state of this AutomatedDnsRecord as managed by Service Connectivity Automation.
264 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. A human-readable message providing more context about the current state, such as an error description if the state is `FAILED_DEPROGRAMMING`.
265 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the record was updated.
266 }</pre>
267 </div>
268
269 <div class="method">
270 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
271 <pre>Lists AutomatedDnsRecords in a given project and location.
272
273 Args:
274 parent: string, Required. The parent resource&#x27;s name. ex. projects/123/locations/us-east1 (required)
275 filter: string, A filter expression that filters the results listed in the response.
276 orderBy: string, Sort the results by a certain order.
277 pageSize: integer, The maximum number of results per page that should be returned.
278 pageToken: string, The page token.
279 x__xgafv: string, V1 error format.
280 Allowed values
281 1 - v1 error format
282 2 - v2 error format
283
284 Returns:
285 An object of the form:
286
287 { # Response for ListAutomatedDnsRecords.
288 &quot;automatedDnsRecords&quot;: [ # AutomatedDnsRecords to be returned.
289 { # Represents a DNS record managed by the AutomatedDnsRecord API.
290 &quot;consumerNetwork&quot;: &quot;A String&quot;, # Required. Immutable. The full resource path of the consumer network this AutomatedDnsRecord is visible to. Example: &quot;projects/{projectNumOrId}/global/networks/{networkName}&quot;.
291 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the record was created.
292 &quot;creationMode&quot;: &quot;A String&quot;, # Required. Immutable. The creation mode of the AutomatedDnsRecord. This field is immutable.
293 &quot;currentConfig&quot;: { # Defines the configuration of a DNS record. # Output only. The current settings for this record as identified by (`hostname`, `dns_suffix`, `type`) in Cloud DNS. The `current_config` field reflects the actual settings of the DNS record in Cloud DNS based on the `hostname`, `dns_suffix`, and `type`. * **Absence:** If `current_config` is unset, it means a DNS record with the specified `hostname`, `dns_suffix`, and `type` does not currently exist in Cloud DNS. This could be because the `AutomatedDnsRecord` has never been successfully programmed, has been deleted, or there was an error during provisioning. * **Presence:** If `current_config` is present: * It can be different from the `original_config`. This can happen due to several reasons: * Out-of-band changes: A consumer might have directly modified the DNS record in Cloud DNS. * `OVERWRITE` operations from other `AutomatedDnsRecord` resources: Another `AutomatedDnsRecord` with the same identifying attributes (`hostname`, `dns_suffix`, `type`) but a different configuration might have overwritten the record using `insert_mode: OVERWRITE`. Therefore, the presence of `current_config` indicates that a corresponding DNS record exists, but its values (TTL and RRData) might not always align with the `original_config` of the AutomatedDnsRecord.
294 &quot;rrdatas&quot;: [ # Required. The list of resource record data strings. The content and format of these strings depend on the AutomatedDnsRecord.type. For many common record types, this list may contain multiple strings. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. Examples: A record: [&quot;192.0.2.1&quot;] or [&quot;192.0.2.1&quot;, &quot;192.0.2.2&quot;] TXT record: [&quot;This is a text record&quot;] CNAME record: [&quot;target.example.com.&quot;] AAAA record: [&quot;::1&quot;] or [&quot;2001:0db8:85a3:0000:0000:8a2e:0370:7334&quot;, &quot;2001:0db8:85a3:0000:0000:8a2e:0370:7335&quot;]
295 &quot;A String&quot;,
296 ],
297 &quot;ttl&quot;: &quot;A String&quot;, # Required. Number of seconds that this DNS record can be cached by resolvers.
298 },
299 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the record.
300 &quot;dnsSuffix&quot;: &quot;A String&quot;, # Required. Immutable. The dns suffix for this record to use in longest-suffix matching. Requires a trailing dot. Example: &quot;example.com.&quot;
301 &quot;dnsZone&quot;: &quot;A String&quot;, # Output only. DnsZone is the DNS zone managed by automation. Format: projects/{project}/managedZones/{managedZone}
302 &quot;etag&quot;: &quot;A String&quot;, # Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
303 &quot;fqdn&quot;: &quot;A String&quot;, # Output only. The FQDN created by combining the hostname and dns suffix. Should include a trailing dot.
304 &quot;hostname&quot;: &quot;A String&quot;, # Required. Immutable. The hostname for the DNS record. This value will be prepended to the `dns_suffix` to create the full domain name (FQDN) for the record. For example, if `hostname` is &quot;corp.db&quot; and `dns_suffix` is &quot;example.com.&quot;, the resulting record will be &quot;corp.db.example.com.&quot;. Should not include a trailing dot.
305 &quot;labels&quot;: { # Optional. User-defined labels.
306 &quot;a_key&quot;: &quot;A String&quot;,
307 },
308 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The name of an AutomatedDnsRecord. Format: projects/{project}/locations/{location}/automatedDnsRecords/{automated_dns_record} See: https://google.aip.dev/122#fields-representing-resource-names
309 &quot;originalConfig&quot;: { # Defines the configuration of a DNS record. # Required. Immutable. The configuration settings used to create this DNS record. These settings define the desired state of the record as specified by the producer.
310 &quot;rrdatas&quot;: [ # Required. The list of resource record data strings. The content and format of these strings depend on the AutomatedDnsRecord.type. For many common record types, this list may contain multiple strings. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. Examples: A record: [&quot;192.0.2.1&quot;] or [&quot;192.0.2.1&quot;, &quot;192.0.2.2&quot;] TXT record: [&quot;This is a text record&quot;] CNAME record: [&quot;target.example.com.&quot;] AAAA record: [&quot;::1&quot;] or [&quot;2001:0db8:85a3:0000:0000:8a2e:0370:7334&quot;, &quot;2001:0db8:85a3:0000:0000:8a2e:0370:7335&quot;]
311 &quot;A String&quot;,
312 ],
313 &quot;ttl&quot;: &quot;A String&quot;, # Required. Number of seconds that this DNS record can be cached by resolvers.
314 },
315 &quot;recordType&quot;: &quot;A String&quot;, # Required. Immutable. The identifier of a supported record type.
316 &quot;serviceClass&quot;: &quot;A String&quot;, # Required. Immutable. The service class identifier which authorizes this AutomatedDnsRecord. Any API calls targeting this AutomatedDnsRecord must have `networkconnectivity.serviceclasses.use` IAM permission for the provided service class.
317 &quot;state&quot;: &quot;A String&quot;, # Output only. The current operational state of this AutomatedDnsRecord as managed by Service Connectivity Automation.
318 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. A human-readable message providing more context about the current state, such as an error description if the state is `FAILED_DEPROGRAMMING`.
319 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the record was updated.
320 },
321 ],
322 &quot;nextPageToken&quot;: &quot;A String&quot;, # The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
323 &quot;unreachable&quot;: [ # Locations that could not be reached.
324 &quot;A String&quot;,
325 ],
326 }</pre>
327 </div>
328
329 <div class="method">
330 <code class="details" id="list_next">list_next()</code>
331 <pre>Retrieves the next page of results.
332
333 Args:
334 previous_request: The request for the previous page. (required)
335 previous_response: The response from the request for the previous page. (required)
336
337 Returns:
338 A request object that you can call &#x27;execute()&#x27; on to request the next
339 page. Returns None if there are no more items in the collection.
340 </pre>
341 </div>
342
343 </body></html>