Skip to content

Commit c054c5b

Browse files
feat(merchantapi): update the api
#### merchantapi:accounts_v1beta The following keys were deleted: - resources.accounts.methods.getAutomaticImprovements (Total Keys: 11) - resources.accounts.methods.updateAutomaticImprovements (Total Keys: 15) The following keys were added: - resources.accounts.resources.automaticImprovements.methods.getAutomaticImprovements (Total Keys: 11) - resources.accounts.resources.automaticImprovements.methods.updateAutomaticImprovements (Total Keys: 15) #### merchantapi:products_v1beta The following keys were added: - schemas.Attributes.properties.taxCategory.deprecated (Total Keys: 1) - schemas.Attributes.properties.taxes.deprecated (Total Keys: 1)
1 parent 68b4db0 commit c054c5b

11 files changed

+298
-201
lines changed

docs/dyn/merchantapi_accounts_v1beta.accounts.automaticImprovements.html

Lines changed: 201 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/merchantapi_accounts_v1beta.accounts.html

Lines changed: 5 additions & 115 deletions
Large diffs are not rendered by default.

docs/dyn/merchantapi_accounts_v1beta.accounts.issues.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ <h3>Method Details</h3>
9696
Args:
9797
parent: string, Required. The parent, which owns this collection of issues. Format: `accounts/{account}` (required)
9898
languageCode: string, Optional. The issues in the response will have human-readable fields in the given language. The format is [BCP-47](https://tools.ietf.org/html/bcp47), such as `en-US` or `sr-Latn`. If not value is provided, `en-US` will be used.
99-
pageSize: integer, Optional. The maximum number of issues to return. The service may return fewer than this value. If unspecified, at most 50 users will be returned. The maximum value is 100; values above 100 will be coerced to 100
99+
pageSize: integer, Optional. The maximum number of issues to return. The service may return fewer than this value. If unspecified, at most 50 issues will be returned. The maximum value is 100; values above 100 will be coerced to 100
100100
pageToken: string, Optional. A page token, received from a previous `ListAccountIssues` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountIssues` must match the call that provided the page token.
101101
timeZone: string, Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in human-readable fields. For example &#x27;America/Los_Angeles&#x27;. If not set, &#x27;America/Los_Angeles&#x27; will be used.
102102
x__xgafv: string, V1 error format.

docs/dyn/merchantapi_accounts_v1beta.accounts.termsOfServiceAgreementStates.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ <h3>Method Details</h3>
103103
Returns:
104104
An object of the form:
105105

106-
{ # This resource represents the agreement state for a given account and terms of service kind. The state is as follows: * If the merchant has accepted a terms of service: [accepted](TermsOfServiceAggrementState.accepted) will be populated, otherwise it will be empty * If the merchant must sign a terms of service: [required](TermsOfServiceAggrementState.required) will be populated, otherwise it will be empty. Note that both [required](TermsOfServiceAggrementState.required) and [accepted](TermsOfServiceAggrementState.accepted) can be present. In this case the `accepted` terms of services will have an expiration date set in the [valid_until](Accepted.valid_until) field. The `required` terms of services need to be accepted before `valid_until` in order for the account to continue having a valid agreement. When accepting new terms of services we expect 3Ps to display the text associated with the given terms of service agreement (the url to the file containing the text is added in the Required message below as [tos_file_uri](Accepted.tos_file_uri). The actual acceptance of the terms of service is done by calling accept on the [TermsOfService](TermsOfService) resource.
106+
{ # This resource represents the agreement state for a given account and terms of service kind. The state is as follows: * If the merchant has accepted a terms of service, `accepted` will be populated, otherwise it will be empty * If the merchant must sign a terms of service, `required` will be populated, otherwise it will be empty. Note that both `required` and `accepted` can be present. In this case the `accepted` terms of services will have an expiration date set in the `valid_until` field. The `required` terms of services need to be accepted before `valid_until` in order for the account to continue having a valid agreement. When accepting new terms of services we expect 3Ps to display the text associated with the given terms of service agreement (the url to the file containing the text is added in the Required message below as `tos_file_uri`. The actual acceptance of the terms of service is done by calling accept on the `TermsOfService` resource.
107107
&quot;accepted&quot;: { # Describes the accepted terms of service. # The accepted terms of service of this kind and for the associated region_code
108108
&quot;acceptedBy&quot;: &quot;A String&quot;, # The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the MCA account.
109109
&quot;termsOfService&quot;: &quot;A String&quot;, # The accepted [termsOfService](google.shopping.merchant.accounts.v1main.TermsOfService).
110-
&quot;validUntil&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # When set, it states that the accepted [TermsOfService](google.shopping.merchant.accounts.v1main.TermsOfService) is only valid until the end of this date (in UTC). A new one must be accepted before then. The information of the required [TermsOfService](google.shopping.merchant.accounts.v1main.TermsOfService) is found in the [Required](Required) message.
110+
&quot;validUntil&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # When set, it states that the accepted `TermsOfService` is only valid until the end of this date (in UTC). A new one must be accepted before then. The information of the required `TermsOfService` is found in the `Required` message.
111111
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
112112
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
113113
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
@@ -116,8 +116,8 @@ <h3>Method Details</h3>
116116
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` The identifier format is: `{TermsOfServiceKind}-{country}` For example, an identifier could be: `MERCHANT_CENTER-US`
117117
&quot;regionCode&quot;: &quot;A String&quot;, # Region code as defined by https://cldr.unicode.org/. This is the country the current state applies to.
118118
&quot;required&quot;: { # Describes the terms of service which are required to be accepted. # The required terms of service
119-
&quot;termsOfService&quot;: &quot;A String&quot;, # The [termsOfService](google.shopping.merchant.accounts.v1main.TermsOfService) that need to be accepted.
120-
&quot;tosFileUri&quot;: &quot;A String&quot;, # Full URL to the terms of service file. This field is the same as [TermsOfService.file_uri](TermsOfService.file_uri), it is added here for convenience only.
119+
&quot;termsOfService&quot;: &quot;A String&quot;, # The `TermsOfService` that need to be accepted.
120+
&quot;tosFileUri&quot;: &quot;A String&quot;, # Full URL to the terms of service file. This field is the same as `TermsOfService.file_uri`, it is added here for convenience only.
121121
},
122122
&quot;termsOfServiceKind&quot;: &quot;A String&quot;, # Terms of Service kind associated with the particular version.
123123
}</pre>
@@ -137,11 +137,11 @@ <h3>Method Details</h3>
137137
Returns:
138138
An object of the form:
139139

140-
{ # This resource represents the agreement state for a given account and terms of service kind. The state is as follows: * If the merchant has accepted a terms of service: [accepted](TermsOfServiceAggrementState.accepted) will be populated, otherwise it will be empty * If the merchant must sign a terms of service: [required](TermsOfServiceAggrementState.required) will be populated, otherwise it will be empty. Note that both [required](TermsOfServiceAggrementState.required) and [accepted](TermsOfServiceAggrementState.accepted) can be present. In this case the `accepted` terms of services will have an expiration date set in the [valid_until](Accepted.valid_until) field. The `required` terms of services need to be accepted before `valid_until` in order for the account to continue having a valid agreement. When accepting new terms of services we expect 3Ps to display the text associated with the given terms of service agreement (the url to the file containing the text is added in the Required message below as [tos_file_uri](Accepted.tos_file_uri). The actual acceptance of the terms of service is done by calling accept on the [TermsOfService](TermsOfService) resource.
140+
{ # This resource represents the agreement state for a given account and terms of service kind. The state is as follows: * If the merchant has accepted a terms of service, `accepted` will be populated, otherwise it will be empty * If the merchant must sign a terms of service, `required` will be populated, otherwise it will be empty. Note that both `required` and `accepted` can be present. In this case the `accepted` terms of services will have an expiration date set in the `valid_until` field. The `required` terms of services need to be accepted before `valid_until` in order for the account to continue having a valid agreement. When accepting new terms of services we expect 3Ps to display the text associated with the given terms of service agreement (the url to the file containing the text is added in the Required message below as `tos_file_uri`. The actual acceptance of the terms of service is done by calling accept on the `TermsOfService` resource.
141141
&quot;accepted&quot;: { # Describes the accepted terms of service. # The accepted terms of service of this kind and for the associated region_code
142142
&quot;acceptedBy&quot;: &quot;A String&quot;, # The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the MCA account.
143143
&quot;termsOfService&quot;: &quot;A String&quot;, # The accepted [termsOfService](google.shopping.merchant.accounts.v1main.TermsOfService).
144-
&quot;validUntil&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # When set, it states that the accepted [TermsOfService](google.shopping.merchant.accounts.v1main.TermsOfService) is only valid until the end of this date (in UTC). A new one must be accepted before then. The information of the required [TermsOfService](google.shopping.merchant.accounts.v1main.TermsOfService) is found in the [Required](Required) message.
144+
&quot;validUntil&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # When set, it states that the accepted `TermsOfService` is only valid until the end of this date (in UTC). A new one must be accepted before then. The information of the required `TermsOfService` is found in the `Required` message.
145145
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
146146
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
147147
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
@@ -150,8 +150,8 @@ <h3>Method Details</h3>
150150
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` The identifier format is: `{TermsOfServiceKind}-{country}` For example, an identifier could be: `MERCHANT_CENTER-US`
151151
&quot;regionCode&quot;: &quot;A String&quot;, # Region code as defined by https://cldr.unicode.org/. This is the country the current state applies to.
152152
&quot;required&quot;: { # Describes the terms of service which are required to be accepted. # The required terms of service
153-
&quot;termsOfService&quot;: &quot;A String&quot;, # The [termsOfService](google.shopping.merchant.accounts.v1main.TermsOfService) that need to be accepted.
154-
&quot;tosFileUri&quot;: &quot;A String&quot;, # Full URL to the terms of service file. This field is the same as [TermsOfService.file_uri](TermsOfService.file_uri), it is added here for convenience only.
153+
&quot;termsOfService&quot;: &quot;A String&quot;, # The `TermsOfService` that need to be accepted.
154+
&quot;tosFileUri&quot;: &quot;A String&quot;, # Full URL to the terms of service file. This field is the same as `TermsOfService.file_uri`, it is added here for convenience only.
155155
},
156156
&quot;termsOfServiceKind&quot;: &quot;A String&quot;, # Terms of Service kind associated with the particular version.
157157
}</pre>

docs/dyn/merchantapi_accounts_v1beta.termsOfService.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h3>Method Details</h3>
9393

9494
Args:
9595
name: string, Required. The resource name of the terms of service version. Format: `termsOfService/{version}` (required)
96-
account: string, Required. The account for which to accept the ToS.
96+
account: string, Required. The account for which to accept the ToS. Format: `accounts/{account}`
9797
regionCode: string, Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This is either a country when the ToS applies specifically to that country or 001 when it applies globally.
9898
x__xgafv: string, V1 error format.
9999
Allowed values

docs/dyn/merchantapi_inventories_v1beta.accounts.products.regionalInventories.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ <h3>Method Details</h3>
124124

125125
{ # Regional inventory information for the product. Represents specific information like price and availability for a given product in a specific `region`. For a list of all accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/9698880).
126126
&quot;account&quot;: &quot;A String&quot;, # Output only. The account that owns the product. This field will be ignored if set by the client.
127-
&quot;availability&quot;: &quot;A String&quot;, # Availability of the product in this region. For accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/3061342)
127+
&quot;availability&quot;: &quot;A String&quot;, # Availability of the product in this region. For accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/6324448).
128128
&quot;customAttributes&quot;: [ # A list of custom (merchant-provided) attributes. You can also use `CustomAttribute` to submit any attribute of the data specification in its generic form.
129129
{ # A message that represents custom attributes. Exactly one of `value` or `group_values` must not be empty.
130130
&quot;groupValues&quot;: [ # Subattributes within this attribute group. If `group_values` is not empty, `value` must be empty.
@@ -160,7 +160,7 @@ <h3>Method Details</h3>
160160

161161
{ # Regional inventory information for the product. Represents specific information like price and availability for a given product in a specific `region`. For a list of all accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/9698880).
162162
&quot;account&quot;: &quot;A String&quot;, # Output only. The account that owns the product. This field will be ignored if set by the client.
163-
&quot;availability&quot;: &quot;A String&quot;, # Availability of the product in this region. For accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/3061342)
163+
&quot;availability&quot;: &quot;A String&quot;, # Availability of the product in this region. For accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/6324448).
164164
&quot;customAttributes&quot;: [ # A list of custom (merchant-provided) attributes. You can also use `CustomAttribute` to submit any attribute of the data specification in its generic form.
165165
{ # A message that represents custom attributes. Exactly one of `value` or `group_values` must not be empty.
166166
&quot;groupValues&quot;: [ # Subattributes within this attribute group. If `group_values` is not empty, `value` must be empty.
@@ -208,7 +208,7 @@ <h3>Method Details</h3>
208208
&quot;regionalInventories&quot;: [ # The `RegionalInventory` resources for the given product from the specified account.
209209
{ # Regional inventory information for the product. Represents specific information like price and availability for a given product in a specific `region`. For a list of all accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/9698880).
210210
&quot;account&quot;: &quot;A String&quot;, # Output only. The account that owns the product. This field will be ignored if set by the client.
211-
&quot;availability&quot;: &quot;A String&quot;, # Availability of the product in this region. For accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/3061342)
211+
&quot;availability&quot;: &quot;A String&quot;, # Availability of the product in this region. For accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/6324448).
212212
&quot;customAttributes&quot;: [ # A list of custom (merchant-provided) attributes. You can also use `CustomAttribute` to submit any attribute of the data specification in its generic form.
213213
{ # A message that represents custom attributes. Exactly one of `value` or `group_values` must not be empty.
214214
&quot;groupValues&quot;: [ # Subattributes within this attribute group. If `group_values` is not empty, `value` must be empty.

0 commit comments

Comments
 (0)