Skip to content

Commit 1af4130

Browse files
feat: Automated regeneration of merchantapi accounts_v1beta client (googleapis#22396)
Auto-created at 2025-04-13 09:52:23 +0000 using the toys pull request generator.
1 parent d5a9a8b commit 1af4130

File tree

4 files changed

+19
-25
lines changed

4 files changed

+19
-25
lines changed

generated/google-apis-merchantapi_accounts_v1beta/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-merchantapi_accounts_v1beta
22

3-
### v0.9.0 (2025-04-06)
3+
### v0.9.0 (2025-04-13)
44

5-
* Regenerated from discovery document revision 20250403
5+
* Regenerated from discovery document revision 20250408
66

77
### v0.8.0 (2025-03-23)
88

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

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2469,15 +2469,13 @@ def update!(**args)
24692469
class Required
24702470
include Google::Apis::Core::Hashable
24712471

2472-
# The [termsOfService](google.shopping.merchant.accounts.v1main.TermsOfService)
2473-
# that need to be accepted.
2472+
# The `TermsOfService` that need to be accepted.
24742473
# Corresponds to the JSON property `termsOfService`
24752474
# @return [String]
24762475
attr_accessor :terms_of_service
24772476

2478-
# Full URL to the terms of service file. This field is the same as [
2479-
# TermsOfService.file_uri](TermsOfService.file_uri), it is added here for
2480-
# convenience only.
2477+
# Full URL to the terms of service file. This field is the same as `
2478+
# TermsOfService.file_uri`, it is added here for convenience only.
24812479
# Corresponds to the JSON property `tosFileUri`
24822480
# @return [String]
24832481
attr_accessor :tos_file_uri
@@ -3002,21 +3000,17 @@ def update!(**args)
30023000

30033001
# This resource represents the agreement state for a given account and terms of
30043002
# service kind. The state is as follows: * If the merchant has accepted a terms
3005-
# of service: [accepted](TermsOfServiceAggrementState.accepted) will be
3006-
# populated, otherwise it will be empty * If the merchant must sign a terms of
3007-
# service: [required](TermsOfServiceAggrementState.required) will be populated,
3008-
# otherwise it will be empty. Note that both [required](
3009-
# TermsOfServiceAggrementState.required) and [accepted](
3010-
# TermsOfServiceAggrementState.accepted) can be present. In this case the `
3011-
# accepted` terms of services will have an expiration date set in the [
3012-
# valid_until](Accepted.valid_until) field. The `required` terms of services
3013-
# need to be accepted before `valid_until` in order for the account to continue
3014-
# having a valid agreement. When accepting new terms of services we expect 3Ps
3015-
# to display the text associated with the given terms of service agreement (the
3016-
# url to the file containing the text is added in the Required message below as [
3017-
# tos_file_uri](Accepted.tos_file_uri). The actual acceptance of the terms of
3018-
# service is done by calling accept on the [TermsOfService](TermsOfService)
3019-
# resource.
3003+
# of service, `accepted` will be populated, otherwise it will be empty * If the
3004+
# merchant must sign a terms of service, `required` will be populated, otherwise
3005+
# it will be empty. Note that both `required` and `accepted` can be present. In
3006+
# this case the `accepted` terms of services will have an expiration date set in
3007+
# the `valid_until` field. The `required` terms of services need to be accepted
3008+
# before `valid_until` in order for the account to continue having a valid
3009+
# agreement. When accepting new terms of services we expect 3Ps to display the
3010+
# text associated with the given terms of service agreement (the url to the file
3011+
# containing the text is added in the Required message below as `tos_file_uri`.
3012+
# The actual acceptance of the terms of service is done by calling accept on the
3013+
# `TermsOfService` resource.
30203014
class TermsOfServiceAgreementState
30213015
include Google::Apis::Core::Hashable
30223016

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module MerchantapiAccountsV1beta
2222
GENERATOR_VERSION = "0.16.0"
2323

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ def update_account_homepage_homepage(name, homepage_object = nil, update_mask: n
801801
# such as `en-US` or `sr-Latn`. If not value is provided, `en-US` will be used.
802802
# @param [Fixnum] page_size
803803
# Optional. The maximum number of issues to return. The service may return fewer
804-
# than this value. If unspecified, at most 50 users will be returned. The
804+
# than this value. If unspecified, at most 50 issues will be returned. The
805805
# maximum value is 100; values above 100 will be coerced to 100
806806
# @param [String] page_token
807807
# Optional. A page token, received from a previous `ListAccountIssues` call.
@@ -1559,7 +1559,7 @@ def patch_account_user(name, user_object = nil, update_mask: nil, fields: nil, q
15591559
# Required. The resource name of the terms of service version. Format: `
15601560
# termsOfService/`version``
15611561
# @param [String] account
1562-
# Required. The account for which to accept the ToS.
1562+
# Required. The account for which to accept the ToS. Format: `accounts/`account``
15631563
# @param [String] region_code
15641564
# Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This is
15651565
# either a country when the ToS applies specifically to that country or 001 when

0 commit comments

Comments
 (0)