Skip to content

Commit 64109fe

Browse files
feat: Automated regeneration of domains v1 client (#26698)
Auto-created at 2026-06-14 10:45:20 +0000 using the toys pull request generator.
1 parent 87ebc3f commit 64109fe

8 files changed

Lines changed: 26 additions & 6 deletions

File tree

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268418,6 +268418,7 @@
268418268418
"/domains:v1/ImportDomainRequest/labels/label": label
268419268419
"/domains:v1/InitiatePushTransferRequest": initiate_push_transfer_request
268420268420
"/domains:v1/InitiatePushTransferRequest/tag": tag
268421+
"/domains:v1/InitiatePushTransferRequest/validateOnly": validate_only
268421268422
"/domains:v1/ListLocationsResponse": list_locations_response
268422268423
"/domains:v1/ListLocationsResponse/locations": locations
268423268424
"/domains:v1/ListLocationsResponse/locations/location": location
@@ -268658,6 +268659,7 @@
268658268659
"/domains:v1/domains.projects.locations.registrations.patch": patch_project_location_registration
268659268660
"/domains:v1/domains.projects.locations.registrations.patch/name": name
268660268661
"/domains:v1/domains.projects.locations.registrations.patch/updateMask": update_mask
268662+
"/domains:v1/domains.projects.locations.registrations.patch/validateOnly": validate_only
268661268663
"/domains:v1/domains.projects.locations.registrations.register": register_registration_domain
268662268664
"/domains:v1/domains.projects.locations.registrations.register/parent": parent
268663268665
"/domains:v1/domains.projects.locations.registrations.renewDomain": renew_registration_domain

generated/google-apis-domains_v1/CHANGELOG.md

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

3+
### v0.36.0 (2026-06-14)
4+
5+
* Regenerated from discovery document revision 20260603
6+
* Regenerated using generator version 0.19.0
7+
38
### v0.35.0 (2026-05-03)
49

510
* Regenerated from discovery document revision 20260427

generated/google-apis-domains_v1/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/domains/) may provide guida
8383

8484
## Supported Ruby versions
8585

86-
This library is supported on Ruby 3.1+.
86+
This library is supported on Ruby 3.2+.
8787

8888
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
8989

generated/google-apis-domains_v1/google-apis-domains_v1.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ Gem::Specification.new do |gem|
2828
gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
2929
gem.require_paths = ["lib"]
3030

31-
gem.required_ruby_version = '>= 3.1'
31+
gem.required_ruby_version = '>= 3.2'
3232
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"
3333
end

generated/google-apis-domains_v1/lib/google/apis/domains_v1/classes.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,13 +948,21 @@ class InitiatePushTransferRequest
948948
# @return [String]
949949
attr_accessor :tag
950950

951+
# Optional. If set, validates the request without actually initiating the
952+
# transfer.
953+
# Corresponds to the JSON property `validateOnly`
954+
# @return [Boolean]
955+
attr_accessor :validate_only
956+
alias_method :validate_only?, :validate_only
957+
951958
def initialize(**args)
952959
update!(**args)
953960
end
954961

955962
# Update properties of this object
956963
def update!(**args)
957964
@tag = args[:tag] if args.key?(:tag)
965+
@validate_only = args[:validate_only] if args.key?(:validate_only)
958966
end
959967
end
960968

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DomainsV1
1818
# Version of the google-apis-domains_v1 gem
19-
GEM_VERSION = "0.35.0"
19+
GEM_VERSION = "0.36.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.18.0"
22+
GENERATOR_VERSION = "0.19.0"
2323

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

generated/google-apis-domains_v1/lib/google/apis/domains_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ class InitiatePushTransferRequest
591591
# @private
592592
class Representation < Google::Apis::Core::JsonRepresentation
593593
property :tag, as: 'tag'
594+
property :validate_only, as: 'validateOnly'
594595
end
595596
end
596597

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,9 @@ def list_project_location_registrations(parent, filter: nil, page_size: nil, pag
633633
# Required. The field mask describing which fields to update as a comma-
634634
# separated list. For example, if only the labels are being updated, the `
635635
# update_mask` is `"labels"`.
636+
# @param [Boolean] validate_only
637+
# Optional. If set, validates the request without actually updating the
638+
# registration.
636639
# @param [String] fields
637640
# Selector specifying which fields to include in a partial response.
638641
# @param [String] quota_user
@@ -650,14 +653,15 @@ def list_project_location_registrations(parent, filter: nil, page_size: nil, pag
650653
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
651654
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
652655
# @raise [Google::Apis::AuthorizationError] Authorization is required
653-
def patch_project_location_registration(name, registration_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
656+
def patch_project_location_registration(name, registration_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
654657
command = make_simple_command(:patch, 'v1/{+name}', options)
655658
command.request_representation = Google::Apis::DomainsV1::Registration::Representation
656659
command.request_object = registration_object
657660
command.response_representation = Google::Apis::DomainsV1::Operation::Representation
658661
command.response_class = Google::Apis::DomainsV1::Operation
659662
command.params['name'] = name unless name.nil?
660663
command.query['updateMask'] = update_mask unless update_mask.nil?
664+
command.query['validateOnly'] = validate_only unless validate_only.nil?
661665
command.query['fields'] = fields unless fields.nil?
662666
command.query['quotaUser'] = quota_user unless quota_user.nil?
663667
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)