Skip to content

Commit e2ba913

Browse files
feat(dns): update the api
#### dns:v1 The following keys were deleted: - resources.projects.resources.managedZones.resources.rrsets.methods.create (Total Keys: 16) - resources.projects.resources.managedZones.resources.rrsets.methods.delete (Total Keys: 21) - resources.projects.resources.managedZones.resources.rrsets.methods.get (Total Keys: 21) - resources.projects.resources.managedZones.resources.rrsets.methods.patch (Total Keys: 22) The following keys were added: - resources.resourceRecordSets.methods.create (Total Keys: 16) - resources.resourceRecordSets.methods.delete (Total Keys: 21) - resources.resourceRecordSets.methods.get (Total Keys: 21) - resources.resourceRecordSets.methods.patch (Total Keys: 22) #### dns:v1beta2 The following keys were deleted: - resources.projects.resources.managedZones.resources.rrsets.methods.create (Total Keys: 16) - resources.projects.resources.managedZones.resources.rrsets.methods.delete (Total Keys: 20) - resources.projects.resources.managedZones.resources.rrsets.methods.get (Total Keys: 21) - resources.projects.resources.managedZones.resources.rrsets.methods.patch (Total Keys: 22) The following keys were added: - resources.resourceRecordSets.methods.create (Total Keys: 16) - resources.resourceRecordSets.methods.delete (Total Keys: 20) - resources.resourceRecordSets.methods.get (Total Keys: 21) - resources.resourceRecordSets.methods.patch (Total Keys: 22)
1 parent 021c229 commit e2ba913

File tree

6 files changed

+710
-425
lines changed

6 files changed

+710
-425
lines changed

docs/dyn/dns_v1.projects.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@
7474

7575
<h1><a href="dns_v1.html">Cloud DNS API</a> . <a href="dns_v1.projects.html">projects</a></h1>
7676
<h2>Instance Methods</h2>
77-
<p class="toc_element">
78-
<code><a href="dns_v1.projects.managedZones.html">managedZones()</a></code>
79-
</p>
80-
<p class="firstline">Returns the managedZones Resource.</p>
81-
8277
<p class="toc_element">
8378
<code><a href="#close">close()</a></code></p>
8479
<p class="firstline">Close httplib2 connections.</p>

docs/dyn/dns_v1.resourceRecordSets.html

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,130 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#create">create(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Creates a new ResourceRecordSet.</p>
83+
<p class="toc_element">
84+
<code><a href="#delete">delete(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Deletes a previously created ResourceRecordSet.</p>
86+
<p class="toc_element">
87+
<code><a href="#get">get(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Fetches the representation of an existing ResourceRecordSet.</p>
8089
<p class="toc_element">
8190
<code><a href="#list">list(project, managedZone, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)</a></code></p>
8291
<p class="firstline">Enumerates ResourceRecordSets that you have created but not yet deleted.</p>
8392
<p class="toc_element">
8493
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
8594
<p class="firstline">Retrieves the next page of results.</p>
95+
<p class="toc_element">
96+
<code><a href="#patch">patch(project, managedZone, name, type, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
97+
<p class="firstline">Applies a partial update to an existing ResourceRecordSet.</p>
8698
<h3>Method Details</h3>
8799
<div class="method">
88100
<code class="details" id="close">close()</code>
89101
<pre>Close httplib2 connections.</pre>
90102
</div>
91103

104+
<div class="method">
105+
<code class="details" id="create">create(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
106+
<pre>Creates a new ResourceRecordSet.
107+
108+
Args:
109+
project: string, Identifies the project addressed by this request. (required)
110+
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
111+
body: object, The request body.
112+
The object takes the form of:
113+
114+
{ # A unit of data that is returned by the DNS servers.
115+
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
116+
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
117+
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
118+
&quot;A String&quot;,
119+
],
120+
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
121+
&quot;A String&quot;,
122+
],
123+
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
124+
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
125+
}
126+
127+
clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
128+
x__xgafv: string, V1 error format.
129+
Allowed values
130+
1 - v1 error format
131+
2 - v2 error format
132+
133+
Returns:
134+
An object of the form:
135+
136+
{ # A unit of data that is returned by the DNS servers.
137+
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
138+
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
139+
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
140+
&quot;A String&quot;,
141+
],
142+
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
143+
&quot;A String&quot;,
144+
],
145+
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
146+
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
147+
}</pre>
148+
</div>
149+
150+
<div class="method">
151+
<code class="details" id="delete">delete(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</code>
152+
<pre>Deletes a previously created ResourceRecordSet.
153+
154+
Args:
155+
project: string, Identifies the project addressed by this request. (required)
156+
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
157+
name: string, Fully qualified domain name. (required)
158+
type: string, RRSet type. (required)
159+
clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
160+
x__xgafv: string, V1 error format.
161+
Allowed values
162+
1 - v1 error format
163+
2 - v2 error format
164+
165+
Returns:
166+
An object of the form:
167+
168+
{
169+
}</pre>
170+
</div>
171+
172+
<div class="method">
173+
<code class="details" id="get">get(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</code>
174+
<pre>Fetches the representation of an existing ResourceRecordSet.
175+
176+
Args:
177+
project: string, Identifies the project addressed by this request. (required)
178+
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
179+
name: string, Fully qualified domain name. (required)
180+
type: string, RRSet type. (required)
181+
clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
182+
x__xgafv: string, V1 error format.
183+
Allowed values
184+
1 - v1 error format
185+
2 - v2 error format
186+
187+
Returns:
188+
An object of the form:
189+
190+
{ # A unit of data that is returned by the DNS servers.
191+
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
192+
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
193+
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
194+
&quot;A String&quot;,
195+
],
196+
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
197+
&quot;A String&quot;,
198+
],
199+
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
200+
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
201+
}</pre>
202+
</div>
203+
92204
<div class="method">
93205
<code class="details" id="list">list(project, managedZone, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)</code>
94206
<pre>Enumerates ResourceRecordSets that you have created but not yet deleted.
@@ -145,4 +257,52 @@ <h3>Method Details</h3>
145257
</pre>
146258
</div>
147259

260+
<div class="method">
261+
<code class="details" id="patch">patch(project, managedZone, name, type, body=None, clientOperationId=None, x__xgafv=None)</code>
262+
<pre>Applies a partial update to an existing ResourceRecordSet.
263+
264+
Args:
265+
project: string, Identifies the project addressed by this request. (required)
266+
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
267+
name: string, Fully qualified domain name. (required)
268+
type: string, RRSet type. (required)
269+
body: object, The request body.
270+
The object takes the form of:
271+
272+
{ # A unit of data that is returned by the DNS servers.
273+
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
274+
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
275+
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
276+
&quot;A String&quot;,
277+
],
278+
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
279+
&quot;A String&quot;,
280+
],
281+
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
282+
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
283+
}
284+
285+
clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
286+
x__xgafv: string, V1 error format.
287+
Allowed values
288+
1 - v1 error format
289+
2 - v2 error format
290+
291+
Returns:
292+
An object of the form:
293+
294+
{ # A unit of data that is returned by the DNS servers.
295+
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
296+
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
297+
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
298+
&quot;A String&quot;,
299+
],
300+
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
301+
&quot;A String&quot;,
302+
],
303+
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
304+
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
305+
}</pre>
306+
</div>
307+
148308
</body></html>

docs/dyn/dns_v1beta2.projects.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@
7474

7575
<h1><a href="dns_v1beta2.html">Cloud DNS API</a> . <a href="dns_v1beta2.projects.html">projects</a></h1>
7676
<h2>Instance Methods</h2>
77-
<p class="toc_element">
78-
<code><a href="dns_v1beta2.projects.managedZones.html">managedZones()</a></code>
79-
</p>
80-
<p class="firstline">Returns the managedZones Resource.</p>
81-
8277
<p class="toc_element">
8378
<code><a href="#close">close()</a></code></p>
8479
<p class="firstline">Close httplib2 connections.</p>

docs/dyn/dns_v1beta2.resourceRecordSets.html

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,125 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#create">create(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Creates a new ResourceRecordSet.</p>
83+
<p class="toc_element">
84+
<code><a href="#delete">delete(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Deletes a previously created ResourceRecordSet.</p>
86+
<p class="toc_element">
87+
<code><a href="#get">get(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Fetches the representation of an existing ResourceRecordSet.</p>
8089
<p class="toc_element">
8190
<code><a href="#list">list(project, managedZone, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)</a></code></p>
8291
<p class="firstline">Enumerates ResourceRecordSets that you have created but not yet deleted.</p>
8392
<p class="toc_element">
8493
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
8594
<p class="firstline">Retrieves the next page of results.</p>
95+
<p class="toc_element">
96+
<code><a href="#patch">patch(project, managedZone, name, type, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
97+
<p class="firstline">Applies a partial update to an existing ResourceRecordSet.</p>
8698
<h3>Method Details</h3>
8799
<div class="method">
88100
<code class="details" id="close">close()</code>
89101
<pre>Close httplib2 connections.</pre>
90102
</div>
91103

104+
<div class="method">
105+
<code class="details" id="create">create(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
106+
<pre>Creates a new ResourceRecordSet.
107+
108+
Args:
109+
project: string, Identifies the project addressed by this request. (required)
110+
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
111+
body: object, The request body.
112+
The object takes the form of:
113+
114+
{ # A unit of data that is returned by the DNS servers.
115+
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
116+
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
117+
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
118+
&quot;A String&quot;,
119+
],
120+
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
121+
&quot;A String&quot;,
122+
],
123+
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
124+
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
125+
}
126+
127+
clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
128+
x__xgafv: string, V1 error format.
129+
Allowed values
130+
1 - v1 error format
131+
2 - v2 error format
132+
133+
Returns:
134+
An object of the form:
135+
136+
{ # A unit of data that is returned by the DNS servers.
137+
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
138+
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
139+
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
140+
&quot;A String&quot;,
141+
],
142+
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
143+
&quot;A String&quot;,
144+
],
145+
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
146+
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
147+
}</pre>
148+
</div>
149+
150+
<div class="method">
151+
<code class="details" id="delete">delete(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</code>
152+
<pre>Deletes a previously created ResourceRecordSet.
153+
154+
Args:
155+
project: string, Identifies the project addressed by this request. (required)
156+
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
157+
name: string, Fully qualified domain name. (required)
158+
type: string, RRSet type. (required)
159+
clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
160+
x__xgafv: string, V1 error format.
161+
Allowed values
162+
1 - v1 error format
163+
2 - v2 error format
164+
</pre>
165+
</div>
166+
167+
<div class="method">
168+
<code class="details" id="get">get(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</code>
169+
<pre>Fetches the representation of an existing ResourceRecordSet.
170+
171+
Args:
172+
project: string, Identifies the project addressed by this request. (required)
173+
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
174+
name: string, Fully qualified domain name. (required)
175+
type: string, RRSet type. (required)
176+
clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
177+
x__xgafv: string, V1 error format.
178+
Allowed values
179+
1 - v1 error format
180+
2 - v2 error format
181+
182+
Returns:
183+
An object of the form:
184+
185+
{ # A unit of data that is returned by the DNS servers.
186+
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
187+
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
188+
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
189+
&quot;A String&quot;,
190+
],
191+
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
192+
&quot;A String&quot;,
193+
],
194+
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
195+
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
196+
}</pre>
197+
</div>
198+
92199
<div class="method">
93200
<code class="details" id="list">list(project, managedZone, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)</code>
94201
<pre>Enumerates ResourceRecordSets that you have created but not yet deleted.
@@ -145,4 +252,52 @@ <h3>Method Details</h3>
145252
</pre>
146253
</div>
147254

255+
<div class="method">
256+
<code class="details" id="patch">patch(project, managedZone, name, type, body=None, clientOperationId=None, x__xgafv=None)</code>
257+
<pre>Applies a partial update to an existing ResourceRecordSet.
258+
259+
Args:
260+
project: string, Identifies the project addressed by this request. (required)
261+
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
262+
name: string, Fully qualified domain name. (required)
263+
type: string, RRSet type. (required)
264+
body: object, The request body.
265+
The object takes the form of:
266+
267+
{ # A unit of data that is returned by the DNS servers.
268+
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
269+
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
270+
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
271+
&quot;A String&quot;,
272+
],
273+
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
274+
&quot;A String&quot;,
275+
],
276+
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
277+
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
278+
}
279+
280+
clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
281+
x__xgafv: string, V1 error format.
282+
Allowed values
283+
1 - v1 error format
284+
2 - v2 error format
285+
286+
Returns:
287+
An object of the form:
288+
289+
{ # A unit of data that is returned by the DNS servers.
290+
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
291+
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
292+
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
293+
&quot;A String&quot;,
294+
],
295+
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
296+
&quot;A String&quot;,
297+
],
298+
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
299+
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
300+
}</pre>
301+
</div>
302+
148303
</body></html>

0 commit comments

Comments
 (0)