Skip to content

Commit 0d51ca4

Browse files
feat: Automated regeneration of dns v1 client (googleapis#25832)
Auto-created at 2026-03-01 09:54:38 +0000 using the toys pull request generator.
1 parent a04f941 commit 0d51ca4

4 files changed

Lines changed: 18 additions & 3 deletions

File tree

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250565,6 +250565,7 @@
250565250565
"/dns:v1/dns.resourceRecordSets.get/project": project
250566250566
"/dns:v1/dns.resourceRecordSets.get/type": type
250567250567
"/dns:v1/dns.resourceRecordSets.list": list_resource_record_sets
250568+
"/dns:v1/dns.resourceRecordSets.list/filter": filter
250568250569
"/dns:v1/dns.resourceRecordSets.list/managedZone": managed_zone
250569250570
"/dns:v1/dns.resourceRecordSets.list/maxResults": max_results
250570250571
"/dns:v1/dns.resourceRecordSets.list/name": name

generated/google-apis-dns_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-dns_v1
22

3+
### v0.51.0 (2026-03-01)
4+
5+
* Regenerated from discovery document revision 20260219
6+
37
### v0.50.0 (2026-01-18)
48

59
* Regenerated from discovery document revision 20260113

generated/google-apis-dns_v1/lib/google/apis/dns_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DnsV1
1818
# Version of the google-apis-dns_v1 gem
19-
GEM_VERSION = "0.50.0"
19+
GEM_VERSION = "0.51.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260113"
25+
REVISION = "20260219"
2626
end
2727
end
2828
end

generated/google-apis-dns_v1/lib/google/apis/dns_v1/service.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,6 +1102,15 @@ def get_resource_record_set(project, managed_zone, name, type, client_operation_
11021102
# @param [String] managed_zone
11031103
# Identifies the managed zone addressed by this request. Can be the managed zone
11041104
# name or ID.
1105+
# @param [String] filter
1106+
# Specify a filter expression to view records that exactly match the specified
1107+
# domain. Both the name and type parameters are not supported when you use
1108+
# filter and must be omitted. Your filter expression must conform to AIP-160 and
1109+
# you must specify a domain in the name field. Optionally, you can include the
1110+
# type field to filter records by type. You can also include the has_suffix
1111+
# function to view records that match by domain suffix. Examples: - name="
1112+
# example.com." - name="example.com." AND type="A" - name=has_suffix("example.
1113+
# com.") - name=has_suffix("example.com.") AND type="A"
11051114
# @param [Fixnum] max_results
11061115
# Optional. Maximum number of results to be returned. If unspecified, the server
11071116
# decides how many results to return.
@@ -1132,12 +1141,13 @@ def get_resource_record_set(project, managed_zone, name, type, client_operation_
11321141
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11331142
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11341143
# @raise [Google::Apis::AuthorizationError] Authorization is required
1135-
def list_resource_record_sets(project, managed_zone, max_results: nil, name: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
1144+
def list_resource_record_sets(project, managed_zone, filter: nil, max_results: nil, name: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
11361145
command = make_simple_command(:get, 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets', options)
11371146
command.response_representation = Google::Apis::DnsV1::ListResourceRecordSetsResponse::Representation
11381147
command.response_class = Google::Apis::DnsV1::ListResourceRecordSetsResponse
11391148
command.params['project'] = project unless project.nil?
11401149
command.params['managedZone'] = managed_zone unless managed_zone.nil?
1150+
command.query['filter'] = filter unless filter.nil?
11411151
command.query['maxResults'] = max_results unless max_results.nil?
11421152
command.query['name'] = name unless name.nil?
11431153
command.query['pageToken'] = page_token unless page_token.nil?

0 commit comments

Comments
 (0)