Skip to content

Commit

Permalink
feat(dns): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Jul 20, 2021
1 parent 021c229 commit e2ba913
Show file tree
Hide file tree
Showing 6 changed files with 710 additions and 425 deletions.
5 changes: 0 additions & 5 deletions docs/dyn/dns_v1.projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@

<h1><a href="dns_v1.html">Cloud DNS API</a> . <a href="dns_v1.projects.html">projects</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="dns_v1.projects.managedZones.html">managedZones()</a></code>
</p>
<p class="firstline">Returns the managedZones Resource.</p>

<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
Expand Down
160 changes: 160 additions & 0 deletions docs/dyn/dns_v1.resourceRecordSets.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,130 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#create">create(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Creates a new ResourceRecordSet.</p>
<p class="toc_element">
<code><a href="#delete">delete(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes a previously created ResourceRecordSet.</p>
<p class="toc_element">
<code><a href="#get">get(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Fetches the representation of an existing ResourceRecordSet.</p>
<p class="toc_element">
<code><a href="#list">list(project, managedZone, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)</a></code></p>
<p class="firstline">Enumerates ResourceRecordSets that you have created but not yet deleted.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#patch">patch(project, managedZone, name, type, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Applies a partial update to an existing ResourceRecordSet.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>

<div class="method">
<code class="details" id="create">create(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
<pre>Creates a new ResourceRecordSet.

Args:
project: string, Identifies the project addressed by this request. (required)
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
body: object, The request body.
The object takes the form of:

{ # A unit of data that is returned by the DNS servers.
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
&quot;A String&quot;,
],
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
&quot;A String&quot;,
],
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
}

clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # A unit of data that is returned by the DNS servers.
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
&quot;A String&quot;,
],
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
&quot;A String&quot;,
],
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
}</pre>
</div>

<div class="method">
<code class="details" id="delete">delete(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</code>
<pre>Deletes a previously created ResourceRecordSet.

Args:
project: string, Identifies the project addressed by this request. (required)
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
name: string, Fully qualified domain name. (required)
type: string, RRSet type. (required)
clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{
}</pre>
</div>

<div class="method">
<code class="details" id="get">get(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</code>
<pre>Fetches the representation of an existing ResourceRecordSet.

Args:
project: string, Identifies the project addressed by this request. (required)
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
name: string, Fully qualified domain name. (required)
type: string, RRSet type. (required)
clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # A unit of data that is returned by the DNS servers.
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
&quot;A String&quot;,
],
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
&quot;A String&quot;,
],
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
}</pre>
</div>

<div class="method">
<code class="details" id="list">list(project, managedZone, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)</code>
<pre>Enumerates ResourceRecordSets that you have created but not yet deleted.
Expand Down Expand Up @@ -145,4 +257,52 @@ <h3>Method Details</h3>
</pre>
</div>

<div class="method">
<code class="details" id="patch">patch(project, managedZone, name, type, body=None, clientOperationId=None, x__xgafv=None)</code>
<pre>Applies a partial update to an existing ResourceRecordSet.

Args:
project: string, Identifies the project addressed by this request. (required)
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
name: string, Fully qualified domain name. (required)
type: string, RRSet type. (required)
body: object, The request body.
The object takes the form of:

{ # A unit of data that is returned by the DNS servers.
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
&quot;A String&quot;,
],
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
&quot;A String&quot;,
],
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
}

clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # A unit of data that is returned by the DNS servers.
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
&quot;A String&quot;,
],
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
&quot;A String&quot;,
],
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
}</pre>
</div>

</body></html>
5 changes: 0 additions & 5 deletions docs/dyn/dns_v1beta2.projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@

<h1><a href="dns_v1beta2.html">Cloud DNS API</a> . <a href="dns_v1beta2.projects.html">projects</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="dns_v1beta2.projects.managedZones.html">managedZones()</a></code>
</p>
<p class="firstline">Returns the managedZones Resource.</p>

<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
Expand Down
155 changes: 155 additions & 0 deletions docs/dyn/dns_v1beta2.resourceRecordSets.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,125 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#create">create(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Creates a new ResourceRecordSet.</p>
<p class="toc_element">
<code><a href="#delete">delete(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes a previously created ResourceRecordSet.</p>
<p class="toc_element">
<code><a href="#get">get(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Fetches the representation of an existing ResourceRecordSet.</p>
<p class="toc_element">
<code><a href="#list">list(project, managedZone, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)</a></code></p>
<p class="firstline">Enumerates ResourceRecordSets that you have created but not yet deleted.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#patch">patch(project, managedZone, name, type, body=None, clientOperationId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Applies a partial update to an existing ResourceRecordSet.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>

<div class="method">
<code class="details" id="create">create(project, managedZone, body=None, clientOperationId=None, x__xgafv=None)</code>
<pre>Creates a new ResourceRecordSet.

Args:
project: string, Identifies the project addressed by this request. (required)
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
body: object, The request body.
The object takes the form of:

{ # A unit of data that is returned by the DNS servers.
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
&quot;A String&quot;,
],
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
&quot;A String&quot;,
],
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
}

clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # A unit of data that is returned by the DNS servers.
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
&quot;A String&quot;,
],
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
&quot;A String&quot;,
],
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
}</pre>
</div>

<div class="method">
<code class="details" id="delete">delete(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</code>
<pre>Deletes a previously created ResourceRecordSet.

Args:
project: string, Identifies the project addressed by this request. (required)
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
name: string, Fully qualified domain name. (required)
type: string, RRSet type. (required)
clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
</pre>
</div>

<div class="method">
<code class="details" id="get">get(project, managedZone, name, type, clientOperationId=None, x__xgafv=None)</code>
<pre>Fetches the representation of an existing ResourceRecordSet.

Args:
project: string, Identifies the project addressed by this request. (required)
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
name: string, Fully qualified domain name. (required)
type: string, RRSet type. (required)
clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # A unit of data that is returned by the DNS servers.
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
&quot;A String&quot;,
],
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
&quot;A String&quot;,
],
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
}</pre>
</div>

<div class="method">
<code class="details" id="list">list(project, managedZone, maxResults=None, name=None, pageToken=None, type=None, x__xgafv=None)</code>
<pre>Enumerates ResourceRecordSets that you have created but not yet deleted.
Expand Down Expand Up @@ -145,4 +252,52 @@ <h3>Method Details</h3>
</pre>
</div>

<div class="method">
<code class="details" id="patch">patch(project, managedZone, name, type, body=None, clientOperationId=None, x__xgafv=None)</code>
<pre>Applies a partial update to an existing ResourceRecordSet.

Args:
project: string, Identifies the project addressed by this request. (required)
managedZone: string, Identifies the managed zone addressed by this request. Can be the managed zone name or ID. (required)
name: string, Fully qualified domain name. (required)
type: string, RRSet type. (required)
body: object, The request body.
The object takes the form of:

{ # A unit of data that is returned by the DNS servers.
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
&quot;A String&quot;,
],
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
&quot;A String&quot;,
],
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
}

clientOperationId: string, For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # A unit of data that is returned by the DNS servers.
&quot;kind&quot;: &quot;dns#resourceRecordSet&quot;,
&quot;name&quot;: &quot;A String&quot;, # For example, www.example.com.
&quot;rrdatas&quot;: [ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
&quot;A String&quot;,
],
&quot;signatureRrdatas&quot;: [ # As defined in RFC 4034 (section 3.2).
&quot;A String&quot;,
],
&quot;ttl&quot;: 42, # Number of seconds that this ResourceRecordSet can be cached by resolvers.
&quot;type&quot;: &quot;A String&quot;, # The identifier of a supported record type. See the list of Supported DNS record types.
}</pre>
</div>

</body></html>
Loading

0 comments on commit e2ba913

Please sign in to comment.