google-apis-merchantapi_accounts_v1beta 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 634b4e71ca9347b6912746e8e2ad1d45d84d024f7d01193e6da8305c7d0820d2
4
- data.tar.gz: e78cc646e8f67f74652073e2b95f694f759ab8a6c9ce43aa7021f42a8d6b8950
3
+ metadata.gz: f95217eea3d950235f20107e37aba8c10c044c58d7a81b397c0736808137e4eb
4
+ data.tar.gz: ae5d8d9928326a69e4a2bf4a972879a9d9b3bc8c33272f23e95bf7a2a903ac1b
5
5
  SHA512:
6
- metadata.gz: c84d60ebdc3410a313e23329241bc5b432bcaabca1a85203b1e7207d4ce62a1ef23ac694780f01ef5a5b1334240d4eeba1f525ead4bfca6b5333bd876e7ea059
7
- data.tar.gz: 3ab007bdc3a438ac611dbb3ff56e4efd6d789553f30d15c8cbbb914c39063b5b5dbf2f4df5209c84934c91e0ee96377b42656bc381921e8e16e563e43d02cc38
6
+ metadata.gz: b7425104000f1449ab2ead161298333e0d0b40a93f11a7e5e2d579839191053c6bde7d5a7c3fa369b545432badfaf17596951b71524e966b272ace69623782d0
7
+ data.tar.gz: b12b282cb3e8cae9076e3a778ea15cd311c96a516c788f27b788edfff528f2d059d917f6280b5913bc347dd4155a1d0373189210bb02940c0c74352fa86246d1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-merchantapi_accounts_v1beta
2
2
 
3
+ ### v0.9.0 (2025-04-13)
4
+
5
+ * Regenerated from discovery document revision 20250408
6
+
7
+ ### v0.8.0 (2025-03-23)
8
+
9
+ * Regenerated from discovery document revision 20250319
10
+
3
11
  ### v0.7.0 (2025-03-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20250311
@@ -600,16 +600,16 @@ module Google
600
600
  class BusinessInfo
601
601
  include Google::Apis::Core::Hashable
602
602
 
603
- # Represents a postal address. For example for postal delivery or payments
604
- # addresses. Given a postal address, a postal service can deliver items to a
605
- # premise, P.O. Box or similar. It is not intended to model geographical
606
- # locations (roads, towns, mountains). In typical usage an address would be
603
+ # Represents a postal address (for example, for postal delivery or payments
604
+ # addresses). Given a postal address, a postal service can deliver items to a
605
+ # premise, P.O. box or similar. It is not intended to model geographical
606
+ # locations (roads, towns, mountains). In typical usage, an address would be
607
607
  # created by user input or from importing existing data, depending on the type
608
- # of process. Advice on address input / editing: - Use an internationalization-
609
- # ready address widget such as https://github.com/google/libaddressinput) -
608
+ # of process. Advice on address input or editing: - Use an internationalization-
609
+ # ready address widget such as https://github.com/google/libaddressinput. -
610
610
  # Users should not be presented with UI elements for input or editing of fields
611
611
  # outside countries where that field is used. For more guidance on how to use
612
- # this schema, see: https://support.google.com/business/answer/6397478
612
+ # this schema, see: https://support.google.com/business/answer/6397478.
613
613
  # Corresponds to the JSON property `address`
614
614
  # @return [Google::Apis::MerchantapiAccountsV1beta::PostalAddress]
615
615
  attr_accessor :address
@@ -1796,6 +1796,12 @@ module Google
1796
1796
  # @return [Google::Apis::MerchantapiAccountsV1beta::RestockingFee]
1797
1797
  attr_accessor :restocking_fee
1798
1798
 
1799
+ # The field specifies the return label source. This field is required when
1800
+ # return method is BY_MAIL.
1801
+ # Corresponds to the JSON property `returnLabelSource`
1802
+ # @return [String]
1803
+ attr_accessor :return_label_source
1804
+
1799
1805
  # Optional. The return methods of how customers can return an item. This value
1800
1806
  # is required to not be empty unless the type of return policy is noReturns.
1801
1807
  # Corresponds to the JSON property `returnMethods`
@@ -1840,6 +1846,7 @@ module Google
1840
1846
  @policy = args[:policy] if args.key?(:policy)
1841
1847
  @process_refund_days = args[:process_refund_days] if args.key?(:process_refund_days)
1842
1848
  @restocking_fee = args[:restocking_fee] if args.key?(:restocking_fee)
1849
+ @return_label_source = args[:return_label_source] if args.key?(:return_label_source)
1843
1850
  @return_methods = args[:return_methods] if args.key?(:return_methods)
1844
1851
  @return_policy_id = args[:return_policy_id] if args.key?(:return_policy_id)
1845
1852
  @return_policy_uri = args[:return_policy_uri] if args.key?(:return_policy_uri)
@@ -1939,46 +1946,46 @@ module Google
1939
1946
  end
1940
1947
  end
1941
1948
 
1942
- # Represents a postal address. For example for postal delivery or payments
1943
- # addresses. Given a postal address, a postal service can deliver items to a
1944
- # premise, P.O. Box or similar. It is not intended to model geographical
1945
- # locations (roads, towns, mountains). In typical usage an address would be
1949
+ # Represents a postal address (for example, for postal delivery or payments
1950
+ # addresses). Given a postal address, a postal service can deliver items to a
1951
+ # premise, P.O. box or similar. It is not intended to model geographical
1952
+ # locations (roads, towns, mountains). In typical usage, an address would be
1946
1953
  # created by user input or from importing existing data, depending on the type
1947
- # of process. Advice on address input / editing: - Use an internationalization-
1948
- # ready address widget such as https://github.com/google/libaddressinput) -
1954
+ # of process. Advice on address input or editing: - Use an internationalization-
1955
+ # ready address widget such as https://github.com/google/libaddressinput. -
1949
1956
  # Users should not be presented with UI elements for input or editing of fields
1950
1957
  # outside countries where that field is used. For more guidance on how to use
1951
- # this schema, see: https://support.google.com/business/answer/6397478
1958
+ # this schema, see: https://support.google.com/business/answer/6397478.
1952
1959
  class PostalAddress
1953
1960
  include Google::Apis::Core::Hashable
1954
1961
 
1955
1962
  # Unstructured address lines describing the lower levels of an address. Because
1956
- # values in address_lines do not have type information and may sometimes contain
1957
- # multiple values in a single field (For example "Austin, TX"), it is important
1958
- # that the line order is clear. The order of address lines should be "envelope
1959
- # order" for the country/region of the address. In places where this can vary (
1960
- # For example Japan), address_language is used to make it explicit (For example "
1961
- # ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large).
1962
- # This way, the most specific line of an address can be selected based on the
1963
- # language. The minimum permitted structural representation of an address
1964
- # consists of a region_code with all remaining information placed in the
1965
- # address_lines. It would be possible to format such an address very
1963
+ # values in `address_lines` do not have type information and may sometimes
1964
+ # contain multiple values in a single field (for example, "Austin, TX"), it is
1965
+ # important that the line order is clear. The order of address lines should be "
1966
+ # envelope order" for the country or region of the address. In places where this
1967
+ # can vary (for example, Japan), `address_language` is used to make it explicit (
1968
+ # for example, "ja" for large-to-small ordering and "ja-Latn" or "en" for small-
1969
+ # to-large). In this way, the most specific line of an address can be selected
1970
+ # based on the language. The minimum permitted structural representation of an
1971
+ # address consists of a `region_code` with all remaining information placed in
1972
+ # the `address_lines`. It would be possible to format such an address very
1966
1973
  # approximately without geocoding, but no semantic reasoning could be made about
1967
1974
  # any of the address components until it was at least partially resolved.
1968
- # Creating an address only containing a region_code and address_lines, and then
1969
- # geocoding is the recommended way to handle completely unstructured addresses (
1970
- # as opposed to guessing which parts of the address should be localities or
1971
- # administrative areas).
1975
+ # Creating an address only containing a `region_code` and `address_lines` and
1976
+ # then geocoding is the recommended way to handle completely unstructured
1977
+ # addresses (as opposed to guessing which parts of the address should be
1978
+ # localities or administrative areas).
1972
1979
  # Corresponds to the JSON property `addressLines`
1973
1980
  # @return [Array<String>]
1974
1981
  attr_accessor :address_lines
1975
1982
 
1976
1983
  # Optional. Highest administrative subdivision which is used for postal
1977
1984
  # addresses of a country or region. For example, this can be a state, a province,
1978
- # an oblast, or a prefecture. Specifically, for Spain this is the province and
1979
- # not the autonomous community (For example "Barcelona" and not "Catalonia").
1980
- # Many countries don't use an administrative area in postal addresses. For
1981
- # example in Switzerland this should be left unpopulated.
1985
+ # an oblast, or a prefecture. For Spain, this is the province and not the
1986
+ # autonomous community (for example, "Barcelona" and not "Catalonia"). Many
1987
+ # countries don't use an administrative area in postal addresses. For example,
1988
+ # in Switzerland, this should be left unpopulated.
1982
1989
  # Corresponds to the JSON property `administrativeArea`
1983
1990
  # @return [String]
1984
1991
  attr_accessor :administrative_area
@@ -1995,10 +2002,10 @@ module Google
1995
2002
  # @return [String]
1996
2003
  attr_accessor :language_code
1997
2004
 
1998
- # Optional. Generally refers to the city/town portion of the address. Examples:
1999
- # US city, IT comune, UK post town. In regions of the world where localities are
2000
- # not well defined or do not fit into this structure well, leave locality empty
2001
- # and use address_lines.
2005
+ # Optional. Generally refers to the city or town portion of the address.
2006
+ # Examples: US city, IT comune, UK post town. In regions of the world where
2007
+ # localities are not well defined or do not fit into this structure well, leave `
2008
+ # locality` empty and use `address_lines`.
2002
2009
  # Corresponds to the JSON property `locality`
2003
2010
  # @return [String]
2004
2011
  attr_accessor :locality
@@ -2010,8 +2017,8 @@ module Google
2010
2017
 
2011
2018
  # Optional. Postal code of the address. Not all countries use or require postal
2012
2019
  # codes to be present, but where they are used, they may trigger additional
2013
- # validation with other parts of the address (For example state/zip validation
2014
- # in the U.S.A.).
2020
+ # validation with other parts of the address (for example, state or zip code
2021
+ # validation in the United States).
2015
2022
  # Corresponds to the JSON property `postalCode`
2016
2023
  # @return [String]
2017
2024
  attr_accessor :postal_code
@@ -2040,15 +2047,15 @@ module Google
2040
2047
 
2041
2048
  # Optional. Additional, country-specific, sorting code. This is not used in most
2042
2049
  # regions. Where it is used, the value is either a string like "CEDEX",
2043
- # optionally followed by a number (For example "CEDEX 7"), or just a number
2050
+ # optionally followed by a number (for example, "CEDEX 7"), or just a number
2044
2051
  # alone, representing the "sector code" (Jamaica), "delivery area indicator" (
2045
- # Malawi) or "post office indicator" (For example Côte d'Ivoire).
2052
+ # Malawi) or "post office indicator" (Côte d'Ivoire).
2046
2053
  # Corresponds to the JSON property `sortingCode`
2047
2054
  # @return [String]
2048
2055
  attr_accessor :sorting_code
2049
2056
 
2050
- # Optional. Sublocality of the address. For example, this can be neighborhoods,
2051
- # boroughs, districts.
2057
+ # Optional. Sublocality of the address. For example, this can be a neighborhood,
2058
+ # borough, or district.
2052
2059
  # Corresponds to the JSON property `sublocality`
2053
2060
  # @return [String]
2054
2061
  attr_accessor :sublocality
@@ -2462,15 +2469,13 @@ module Google
2462
2469
  class Required
2463
2470
  include Google::Apis::Core::Hashable
2464
2471
 
2465
- # The [termsOfService](google.shopping.merchant.accounts.v1main.TermsOfService)
2466
- # that need to be accepted.
2472
+ # The `TermsOfService` that need to be accepted.
2467
2473
  # Corresponds to the JSON property `termsOfService`
2468
2474
  # @return [String]
2469
2475
  attr_accessor :terms_of_service
2470
2476
 
2471
- # Full URL to the terms of service file. This field is the same as [
2472
- # TermsOfService.file_uri](TermsOfService.file_uri), it is added here for
2473
- # 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.
2474
2479
  # Corresponds to the JSON property `tosFileUri`
2475
2480
  # @return [String]
2476
2481
  attr_accessor :tos_file_uri
@@ -2742,8 +2747,8 @@ module Google
2742
2747
  end
2743
2748
  end
2744
2749
 
2745
- # The merchant account's [shipping setting](https://support.google.com/merchants/
2746
- # answer/6069284).
2750
+ # The merchant account's [shipping settings](https://support.google.com/
2751
+ # merchants/answer/6069284).
2747
2752
  class ShippingSettings
2748
2753
  include Google::Apis::Core::Hashable
2749
2754
 
@@ -2761,8 +2766,8 @@ module Google
2761
2766
  # @return [String]
2762
2767
  attr_accessor :etag
2763
2768
 
2764
- # Identifier. The resource name of the shipping setting. Format: `accounts/`
2765
- # account`/shippingSetting`
2769
+ # Identifier. The resource name of the shipping settings. Format: `accounts/`
2770
+ # account`/shippingSettings`
2766
2771
  # Corresponds to the JSON property `name`
2767
2772
  # @return [String]
2768
2773
  attr_accessor :name
@@ -2935,13 +2940,13 @@ module Google
2935
2940
  end
2936
2941
 
2937
2942
  # The `TermsOfService` message represents a specific version of the terms of
2938
- # service that merchants must accept to access certain features or services (see
2939
- # https://support.google.com/merchants/answer/160173). This message is important
2940
- # for the onboarding process, ensuring that merchants agree to the necessary
2941
- # legal agreements for using the service. Merchants can retrieve the latest
2942
- # terms of service for a given `kind` and `region` through `
2943
- # RetrieveLatestTermsOfService`, and accept them as required through `
2944
- # AcceptTermsOfService`.
2943
+ # service that merchants must accept to access certain features or services. For
2944
+ # more information, see [Terms of Service](https://support.google.com/merchants/
2945
+ # answer/160173). This message is important for the onboarding process, ensuring
2946
+ # that merchants agree to the necessary legal agreements for using the service.
2947
+ # Merchants can retrieve the latest terms of service for a given `kind` and `
2948
+ # region` through `RetrieveLatestTermsOfService`, and accept them as required
2949
+ # through `AcceptTermsOfService`.
2945
2950
  class TermsOfService
2946
2951
  include Google::Apis::Core::Hashable
2947
2952
 
@@ -2995,21 +3000,17 @@ module Google
2995
3000
 
2996
3001
  # This resource represents the agreement state for a given account and terms of
2997
3002
  # service kind. The state is as follows: * If the merchant has accepted a terms
2998
- # of service: [accepted](TermsOfServiceAggrementState.accepted) will be
2999
- # populated, otherwise it will be empty * If the merchant must sign a terms of
3000
- # service: [required](TermsOfServiceAggrementState.required) will be populated,
3001
- # otherwise it will be empty. Note that both [required](
3002
- # TermsOfServiceAggrementState.required) and [accepted](
3003
- # TermsOfServiceAggrementState.accepted) can be present. In this case the `
3004
- # accepted` terms of services will have an expiration date set in the [
3005
- # valid_until](Accepted.valid_until) field. The `required` terms of services
3006
- # need to be accepted before `valid_until` in order for the account to continue
3007
- # having a valid agreement. When accepting new terms of services we expect 3Ps
3008
- # to display the text associated with the given terms of service agreement (the
3009
- # url to the file containing the text is added in the Required message below as [
3010
- # tos_file_uri](Accepted.tos_file_uri). The actual acceptance of the terms of
3011
- # service is done by calling accept on the [TermsOfService](TermsOfService)
3012
- # 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.
3013
3014
  class TermsOfServiceAgreementState
3014
3015
  include Google::Apis::Core::Hashable
3015
3016
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MerchantapiAccountsV1beta
18
18
  # Version of the google-apis-merchantapi_accounts_v1beta gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250311"
25
+ REVISION = "20250408"
26
26
  end
27
27
  end
28
28
  end
@@ -1023,6 +1023,7 @@ module Google
1023
1023
  property :process_refund_days, as: 'processRefundDays'
1024
1024
  property :restocking_fee, as: 'restockingFee', class: Google::Apis::MerchantapiAccountsV1beta::RestockingFee, decorator: Google::Apis::MerchantapiAccountsV1beta::RestockingFee::Representation
1025
1025
 
1026
+ property :return_label_source, as: 'returnLabelSource'
1026
1027
  collection :return_methods, as: 'returnMethods'
1027
1028
  property :return_policy_id, as: 'returnPolicyId'
1028
1029
  property :return_policy_uri, as: 'returnPolicyUri'
@@ -51,8 +51,8 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
- # Creates a standalone Merchant Center account with additional configuration.
55
- # Adds the user that makes the request as an admin for the new account.
54
+ # Creates a Merchant Center account with additional configuration. Adds the user
55
+ # that makes the request as an admin for the new account.
56
56
  # @param [Google::Apis::MerchantapiAccountsV1beta::CreateAndConfigureAccountRequest] create_and_configure_account_request_object
57
57
  # @param [String] fields
58
58
  # Selector specifying which fields to include in a partial response.
@@ -801,7 +801,7 @@ module Google
801
801
  # such as `en-US` or `sr-Latn`. If not value is provided, `en-US` will be used.
802
802
  # @param [Fixnum] page_size
803
803
  # 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
805
805
  # maximum value is 100; values above 100 will be coerced to 100
806
806
  # @param [String] page_token
807
807
  # Optional. A page token, received from a previous `ListAccountIssues` call.
@@ -1243,7 +1243,7 @@ module Google
1243
1243
  # Retrieve shipping setting information.
1244
1244
  # @param [String] name
1245
1245
  # Required. The name of the shipping setting to retrieve. Format: `accounts/`
1246
- # account`/shippingsetting`
1246
+ # account`/shippingsettings`
1247
1247
  # @param [String] fields
1248
1248
  # Selector specifying which fields to include in a partial response.
1249
1249
  # @param [String] quota_user
@@ -1309,7 +1309,7 @@ module Google
1309
1309
  # Returns the state of a terms of service agreement.
1310
1310
  # @param [String] name
1311
1311
  # Required. The resource name of the terms of service version. Format: `accounts/
1312
- # `account`/termsOfServiceAgreementState/`identifier`` The identifier format is:
1312
+ # `account`/termsOfServiceAgreementStates/`identifier`` The identifier format is:
1313
1313
  # ``TermsOfServiceKind`-`country``
1314
1314
  # @param [String] fields
1315
1315
  # Selector specifying which fields to include in a partial response.
@@ -1559,7 +1559,7 @@ module Google
1559
1559
  # Required. The resource name of the terms of service version. Format: `
1560
1560
  # termsOfService/`version``
1561
1561
  # @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``
1563
1563
  # @param [String] region_code
1564
1564
  # Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This is
1565
1565
  # either a country when the ToS applies specifically to that country or 001 when
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-merchantapi_accounts_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-16 00:00:00.000000000 Z
10
+ date: 2025-04-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_accounts_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_accounts_v1beta/v0.7.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_accounts_v1beta/v0.9.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_accounts_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: