Skip to content

Commit 474446e

Browse files
feat: Automated regeneration of adsenseplatform v1alpha client (googleapis#23421)
Auto-created at 2025-06-15 10:05:32 +0000 using the toys pull request generator.
1 parent 9e09286 commit 474446e

File tree

4 files changed

+75
-3
lines changed

4 files changed

+75
-3
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6583,6 +6583,8 @@
65836583
"/adsenseplatform:v1alpha/TimeZone": time_zone
65846584
"/adsenseplatform:v1alpha/TimeZone/id": id
65856585
"/adsenseplatform:v1alpha/TimeZone/version": version
6586+
"/adsenseplatform:v1alpha/adsenseplatform.accounts.platforms.childAccounts.sites.get": get_account_platform_child_account_site
6587+
"/adsenseplatform:v1alpha/adsenseplatform.accounts.platforms.childAccounts.sites.get/name": name
65866588
"/adsenseplatform:v1alpha/adsenseplatform.accounts.platforms.childAccounts.sites.list": list_account_platform_child_account_sites
65876589
"/adsenseplatform:v1alpha/adsenseplatform.accounts.platforms.childAccounts.sites.list/pageSize": page_size
65886590
"/adsenseplatform:v1alpha/adsenseplatform.accounts.platforms.childAccounts.sites.list/pageToken": page_token
@@ -6592,6 +6594,8 @@
65926594
"/adsenseplatform:v1alpha/adsenseplatform.accounts.platforms.childAccounts.sites.patch/updateMask": update_mask
65936595
"/adsenseplatform:v1alpha/adsenseplatform.accounts.platforms.get": get_account_platform
65946596
"/adsenseplatform:v1alpha/adsenseplatform.accounts.platforms.get/name": name
6597+
"/adsenseplatform:v1alpha/adsenseplatform.accounts.platforms.groups.get": get_account_platform_group
6598+
"/adsenseplatform:v1alpha/adsenseplatform.accounts.platforms.groups.get/name": name
65956599
"/adsenseplatform:v1alpha/adsenseplatform.accounts.platforms.groups.list": list_account_platform_groups
65966600
"/adsenseplatform:v1alpha/adsenseplatform.accounts.platforms.groups.list/pageSize": page_size
65976601
"/adsenseplatform:v1alpha/adsenseplatform.accounts.platforms.groups.list/pageToken": page_token

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

3+
### v0.6.0 (2025-06-15)
4+
5+
* Regenerated from discovery document revision 20250612
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.5.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

generated/google-apis-adsenseplatform_v1alpha/lib/google/apis/adsenseplatform_v1alpha/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 AdsenseplatformV1alpha
1818
# Version of the google-apis-adsenseplatform_v1alpha gem
19-
GEM_VERSION = "0.5.0"
19+
GEM_VERSION = "0.6.0"
2020

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

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

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

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,38 @@ def list_account_platforms(parent, page_size: nil, page_token: nil, fields: nil,
122122
execute_or_queue_command(command, &block)
123123
end
124124

125+
# Gets a Platform Child Site for a specified Platform Child Account and site.
126+
# @param [String] name
127+
# Required. The name of the platform child site to retrieve. Format: accounts/`
128+
# account`/platforms/`platform`/childAccounts/`child_account`/sites/`
129+
# platform_child_site`
130+
# @param [String] fields
131+
# Selector specifying which fields to include in a partial response.
132+
# @param [String] quota_user
133+
# Available to use for quota purposes for server-side applications. Can be any
134+
# arbitrary string assigned to a user, but should not exceed 40 characters.
135+
# @param [Google::Apis::RequestOptions] options
136+
# Request-specific options
137+
#
138+
# @yield [result, err] Result & error if block supplied
139+
# @yieldparam result [Google::Apis::AdsenseplatformV1alpha::PlatformChildSite] parsed result object
140+
# @yieldparam err [StandardError] error object if request failed
141+
#
142+
# @return [Google::Apis::AdsenseplatformV1alpha::PlatformChildSite]
143+
#
144+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
145+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
146+
# @raise [Google::Apis::AuthorizationError] Authorization is required
147+
def get_account_platform_child_account_site(name, fields: nil, quota_user: nil, options: nil, &block)
148+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
149+
command.response_representation = Google::Apis::AdsenseplatformV1alpha::PlatformChildSite::Representation
150+
command.response_class = Google::Apis::AdsenseplatformV1alpha::PlatformChildSite
151+
command.params['name'] = name unless name.nil?
152+
command.query['fields'] = fields unless fields.nil?
153+
command.query['quotaUser'] = quota_user unless quota_user.nil?
154+
execute_or_queue_command(command, &block)
155+
end
156+
125157
# Lists Platform Child Sites for a specified Platform Child Account.
126158
# @param [String] parent
127159
# Required. The name of the child account under the given platform which owns
@@ -203,6 +235,37 @@ def patch_account_platform_child_account_site(name, platform_child_site_object =
203235
execute_or_queue_command(command, &block)
204236
end
205237

238+
# Gets a Platform Group for a specified Platform and group.
239+
# @param [String] name
240+
# Required. The name of the platform group to retrieve. Format: accounts/`
241+
# account`/platforms/`platform`/groups/`group`
242+
# @param [String] fields
243+
# Selector specifying which fields to include in a partial response.
244+
# @param [String] quota_user
245+
# Available to use for quota purposes for server-side applications. Can be any
246+
# arbitrary string assigned to a user, but should not exceed 40 characters.
247+
# @param [Google::Apis::RequestOptions] options
248+
# Request-specific options
249+
#
250+
# @yield [result, err] Result & error if block supplied
251+
# @yieldparam result [Google::Apis::AdsenseplatformV1alpha::PlatformGroup] parsed result object
252+
# @yieldparam err [StandardError] error object if request failed
253+
#
254+
# @return [Google::Apis::AdsenseplatformV1alpha::PlatformGroup]
255+
#
256+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
257+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
258+
# @raise [Google::Apis::AuthorizationError] Authorization is required
259+
def get_account_platform_group(name, fields: nil, quota_user: nil, options: nil, &block)
260+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
261+
command.response_representation = Google::Apis::AdsenseplatformV1alpha::PlatformGroup::Representation
262+
command.response_class = Google::Apis::AdsenseplatformV1alpha::PlatformGroup
263+
command.params['name'] = name unless name.nil?
264+
command.query['fields'] = fields unless fields.nil?
265+
command.query['quotaUser'] = quota_user unless quota_user.nil?
266+
execute_or_queue_command(command, &block)
267+
end
268+
206269
# Lists Platform Groups for a specified Platform.
207270
# @param [String] parent
208271
# Required. The name of the platform to retrieve. Format: accounts/`account`/

0 commit comments

Comments
 (0)