Skip to content

Commit 107da7c

Browse files
feat: Automated regeneration of adsensehost v4.1 client (#19967)
Auto-created at 2024-07-25 20:49:46 +0000 using the toys pull request generator.
1 parent 618da3a commit 107da7c

5 files changed

Lines changed: 13 additions & 7 deletions

File tree

generated/google-apis-adsensehost_v4_1/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-adsensehost_v4_1
22

3+
### v0.8.0 (2024-07-25)
4+
5+
* Regenerated using generator version 0.15.0
6+
37
### v0.7.0 (2021-12-14)
48

59
* Unspecified changes

generated/google-apis-adsensehost_v4_1/OVERVIEW.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ The [product documentation](https://developers.google.com/adsense/host/) may pro
8383

8484
## Supported Ruby versions
8585

86-
This library is supported on Ruby 2.5+.
86+
This library is supported on Ruby 2.7+.
8787

88-
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. Currently, this means Ruby 2.5 and later. 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.
88+
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

9090
## License
9191

generated/google-apis-adsensehost_v4_1/google-apis-adsensehost_v4_1.gemspec

Lines changed: 2 additions & 2 deletions
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 = '>= 2.5'
32-
gem.add_runtime_dependency "google-apis-core", ">= 0.4", "< 2.a"
31+
gem.required_ruby_version = '>= 2.7'
32+
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"
3333
end

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ module Google
1616
module Apis
1717
module AdsensehostV4_1
1818
# Version of the google-apis-adsensehost_v4_1 gem
19-
GEM_VERSION = "0.7.0"
19+
GEM_VERSION = "0.8.0"
2020

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

2424
# Revision of the discovery document this client was generated from
2525
REVISION = "20200311"

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ module AdsensehostV4_1
3333
#
3434
# @see https://developers.google.com/adsense/host/
3535
class AdSenseHostService < Google::Apis::Core::BaseService
36+
DEFAULT_ENDPOINT_TEMPLATE = "https://www.$UNIVERSE_DOMAIN$/"
37+
3638
# @return [String]
3739
# API key. Your API key identifies your project and provides you with API access,
3840
# quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -48,7 +50,7 @@ class AdSenseHostService < Google::Apis::Core::BaseService
4850
attr_accessor :user_ip
4951

5052
def initialize
51-
super('https://www.googleapis.com/', 'adsensehost/v4.1/',
53+
super(DEFAULT_ENDPOINT_TEMPLATE, 'adsensehost/v4.1/',
5254
client_name: 'google-apis-adsensehost_v4_1',
5355
client_version: Google::Apis::AdsensehostV4_1::GEM_VERSION)
5456
@batch_path = 'batch/adsensehost/v4.1'

0 commit comments

Comments
 (0)