Skip to content

Commit 144697e

Browse files
feat(merchantapi): update the api
#### merchantapi:accounts_v1beta The following keys were added: - schemas.ProductStatusChangeMessage.properties.eventTime (Total Keys: 2) #### merchantapi:conversions_v1beta The following keys were added: - schemas.ProductStatusChangeMessage.properties.eventTime (Total Keys: 2) #### merchantapi:datasources_v1beta The following keys were added: - schemas.ProductStatusChangeMessage.properties.eventTime (Total Keys: 2) #### merchantapi:inventories_v1beta The following keys were added: - schemas.ProductStatusChangeMessage.properties.eventTime (Total Keys: 2) #### merchantapi:lfp_v1beta The following keys were added: - schemas.ProductStatusChangeMessage.properties.eventTime (Total Keys: 2) #### merchantapi:notifications_v1beta The following keys were added: - schemas.ProductStatusChangeMessage.properties.eventTime (Total Keys: 2) #### merchantapi:products_v1beta The following keys were added: - schemas.ProductStatusChangeMessage.properties.eventTime (Total Keys: 2) #### merchantapi:promotions_v1beta The following keys were added: - schemas.ProductStatusChangeMessage.properties.eventTime (Total Keys: 2) #### merchantapi:quota_v1beta The following keys were added: - schemas.ProductStatusChangeMessage.properties.eventTime (Total Keys: 2) #### merchantapi:reports_v1beta The following keys were added: - schemas.ProductStatusChangeMessage.properties.eventTime (Total Keys: 2) #### merchantapi:reviews_v1beta The following keys were added: - schemas.ProductStatusChangeMessage.properties.eventTime (Total Keys: 2)
1 parent 0745256 commit 144697e

14 files changed

+80
-25
lines changed

docs/dyn/merchantapi_accounts_v1beta.accounts.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ <h3>Method Details</h3>
198198
&quot;user&quot;: [ # Optional. Users to be added to the account.
199199
{ # Instruction for adding a user to the account during creation.
200200
&quot;user&quot;: { # The `User` message represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472). # Optional. Details about the user to be added. At the moment, only access rights may be specified.
201-
&quot;accessRights&quot;: [ # Optional. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
201+
&quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
202202
&quot;A String&quot;,
203203
],
204204
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.
@@ -211,7 +211,7 @@ <h3>Method Details</h3>
211211
{ # Request message for the `CreateUser` method.
212212
&quot;parent&quot;: &quot;A String&quot;, # Required. The resource name of the account for which a user will be created. Format: `accounts/{account}`
213213
&quot;user&quot;: { # The `User` message represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472). # Optional. The user to create.
214-
&quot;accessRights&quot;: [ # Optional. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
214+
&quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
215215
&quot;A String&quot;,
216216
],
217217
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.

docs/dyn/merchantapi_accounts_v1beta.accounts.programs.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ <h3>Method Details</h3>
118118
Returns:
119119
An object of the form:
120120

121-
{ # Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/topic/9240261?ref_topic=7257954,7259405,&amp;sjid=796648681813264022-EU) program, which enables products from a merchant&#x27;s store to be shown across Google for free.
121+
{ # Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/topic/9240261?ref_topic=7257954,7259405,&amp;sjid=796648681813264022-EU) program, which enables products from a merchant&#x27;s store to be shown across Google for free. The following list is the available set of program resource IDs accessible through the API: * `free-listings` * `shopping-ads` * `youtube-shopping-checkout`
122122
&quot;activeRegionCodes&quot;: [ # Output only. The regions in which the account is actively participating in the program. Active regions are defined as those where all program requirements affecting the regions have been met. Region codes are defined by [CLDR](https://cldr.unicode.org/). This is either a country where the program applies specifically to that country or `001` when the program applies globally.
123123
&quot;A String&quot;,
124124
],
@@ -157,7 +157,7 @@ <h3>Method Details</h3>
157157
Returns:
158158
An object of the form:
159159

160-
{ # Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/topic/9240261?ref_topic=7257954,7259405,&amp;sjid=796648681813264022-EU) program, which enables products from a merchant&#x27;s store to be shown across Google for free.
160+
{ # Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/topic/9240261?ref_topic=7257954,7259405,&amp;sjid=796648681813264022-EU) program, which enables products from a merchant&#x27;s store to be shown across Google for free. The following list is the available set of program resource IDs accessible through the API: * `free-listings` * `shopping-ads` * `youtube-shopping-checkout`
161161
&quot;activeRegionCodes&quot;: [ # Output only. The regions in which the account is actively participating in the program. Active regions are defined as those where all program requirements affecting the regions have been met. Region codes are defined by [CLDR](https://cldr.unicode.org/). This is either a country where the program applies specifically to that country or `001` when the program applies globally.
162162
&quot;A String&quot;,
163163
],
@@ -190,7 +190,7 @@ <h3>Method Details</h3>
190190
Returns:
191191
An object of the form:
192192

193-
{ # Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/topic/9240261?ref_topic=7257954,7259405,&amp;sjid=796648681813264022-EU) program, which enables products from a merchant&#x27;s store to be shown across Google for free.
193+
{ # Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/topic/9240261?ref_topic=7257954,7259405,&amp;sjid=796648681813264022-EU) program, which enables products from a merchant&#x27;s store to be shown across Google for free. The following list is the available set of program resource IDs accessible through the API: * `free-listings` * `shopping-ads` * `youtube-shopping-checkout`
194194
&quot;activeRegionCodes&quot;: [ # Output only. The regions in which the account is actively participating in the program. Active regions are defined as those where all program requirements affecting the regions have been met. Region codes are defined by [CLDR](https://cldr.unicode.org/). This is either a country where the program applies specifically to that country or `001` when the program applies globally.
195195
&quot;A String&quot;,
196196
],
@@ -228,7 +228,7 @@ <h3>Method Details</h3>
228228
{ # Response message for the ListPrograms method.
229229
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
230230
&quot;programs&quot;: [ # The programs for the given account.
231-
{ # Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/topic/9240261?ref_topic=7257954,7259405,&amp;sjid=796648681813264022-EU) program, which enables products from a merchant&#x27;s store to be shown across Google for free.
231+
{ # Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/topic/9240261?ref_topic=7257954,7259405,&amp;sjid=796648681813264022-EU) program, which enables products from a merchant&#x27;s store to be shown across Google for free. The following list is the available set of program resource IDs accessible through the API: * `free-listings` * `shopping-ads` * `youtube-shopping-checkout`
232232
&quot;activeRegionCodes&quot;: [ # Output only. The regions in which the account is actively participating in the program. Active regions are defined as those where all program requirements affecting the regions have been met. Region codes are defined by [CLDR](https://cldr.unicode.org/). This is either a country where the program applies specifically to that country or `001` when the program applies globally.
233233
&quot;A String&quot;,
234234
],

docs/dyn/merchantapi_accounts_v1beta.accounts.users.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h3>Method Details</h3>
111111
The object takes the form of:
112112

113113
{ # The `User` message represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472).
114-
&quot;accessRights&quot;: [ # Optional. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
114+
&quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
115115
&quot;A String&quot;,
116116
],
117117
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.
@@ -128,7 +128,7 @@ <h3>Method Details</h3>
128128
An object of the form:
129129

130130
{ # The `User` message represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472).
131-
&quot;accessRights&quot;: [ # Optional. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
131+
&quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
132132
&quot;A String&quot;,
133133
],
134134
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.
@@ -169,7 +169,7 @@ <h3>Method Details</h3>
169169
An object of the form:
170170

171171
{ # The `User` message represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472).
172-
&quot;accessRights&quot;: [ # Optional. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
172+
&quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
173173
&quot;A String&quot;,
174174
],
175175
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.
@@ -197,7 +197,7 @@ <h3>Method Details</h3>
197197
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
198198
&quot;users&quot;: [ # The users from the specified account.
199199
{ # The `User` message represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472).
200-
&quot;accessRights&quot;: [ # Optional. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
200+
&quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
201201
&quot;A String&quot;,
202202
],
203203
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.
@@ -231,7 +231,7 @@ <h3>Method Details</h3>
231231
The object takes the form of:
232232

233233
{ # The `User` message represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472).
234-
&quot;accessRights&quot;: [ # Optional. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
234+
&quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
235235
&quot;A String&quot;,
236236
],
237237
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.
@@ -248,7 +248,7 @@ <h3>Method Details</h3>
248248
An object of the form:
249249

250250
{ # The `User` message represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472).
251-
&quot;accessRights&quot;: [ # Optional. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
251+
&quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
252252
&quot;A String&quot;,
253253
],
254254
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.

googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@
14171417
}
14181418
}
14191419
},
1420-
"revision": "20250208",
1420+
"revision": "20250219",
14211421
"rootUrl": "https://merchantapi.googleapis.com/",
14221422
"schemas": {
14231423
"Accepted": {
@@ -2797,6 +2797,11 @@ false
27972797
},
27982798
"type": "array"
27992799
},
2800+
"eventTime": {
2801+
"description": "The time at which the event was generated.",
2802+
"format": "google-datetime",
2803+
"type": "string"
2804+
},
28002805
"expirationTime": {
28012806
"description": "The product expiration time. This field will not bet set if the notification is sent for a product deletion event.",
28022807
"format": "google-datetime",
@@ -2830,7 +2835,7 @@ false
28302835
"type": "object"
28312836
},
28322837
"Program": {
2833-
"description": "Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/topic/9240261?ref_topic=7257954,7259405,&sjid=796648681813264022-EU) program, which enables products from a merchant's store to be shown across Google for free.",
2838+
"description": "Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/topic/9240261?ref_topic=7257954,7259405,&sjid=796648681813264022-EU) program, which enables products from a merchant's store to be shown across Google for free. The following list is the available set of program resource IDs accessible through the API: * `free-listings` * `shopping-ads` * `youtube-shopping-checkout`",
28342839
"id": "Program",
28352840
"properties": {
28362841
"activeRegionCodes": {
@@ -3420,7 +3425,7 @@ false
34203425
"id": "User",
34213426
"properties": {
34223427
"accessRights": {
3423-
"description": "Optional. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.",
3428+
"description": "Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.",
34243429
"items": {
34253430
"enum": [
34263431
"ACCESS_RIGHT_UNSPECIFIED",

googleapiclient/discovery_cache/documents/merchantapi.conversions_v1beta.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
}
296296
}
297297
},
298-
"revision": "20250203",
298+
"revision": "20250219",
299299
"rootUrl": "https://merchantapi.googleapis.com/",
300300
"schemas": {
301301
"AttributionSettings": {
@@ -598,6 +598,11 @@ false
598598
},
599599
"type": "array"
600600
},
601+
"eventTime": {
602+
"description": "The time at which the event was generated.",
603+
"format": "google-datetime",
604+
"type": "string"
605+
},
601606
"expirationTime": {
602607
"description": "The product expiration time. This field will not bet set if the notification is sent for a product deletion event.",
603608
"format": "google-datetime",

googleapiclient/discovery_cache/documents/merchantapi.datasources_v1beta.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
}
322322
}
323323
},
324-
"revision": "20250203",
324+
"revision": "20250219",
325325
"rootUrl": "https://merchantapi.googleapis.com/",
326326
"schemas": {
327327
"DataSource": {
@@ -863,6 +863,11 @@ false
863863
},
864864
"type": "array"
865865
},
866+
"eventTime": {
867+
"description": "The time at which the event was generated.",
868+
"format": "google-datetime",
869+
"type": "string"
870+
},
866871
"expirationTime": {
867872
"description": "The product expiration time. This field will not bet set if the notification is sent for a product deletion event.",
868873
"format": "google-datetime",

googleapiclient/discovery_cache/documents/merchantapi.inventories_v1beta.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
}
301301
}
302302
},
303-
"revision": "20250203",
303+
"revision": "20250219",
304304
"rootUrl": "https://merchantapi.googleapis.com/",
305305
"schemas": {
306306
"CustomAttribute": {
@@ -575,6 +575,11 @@ false
575575
},
576576
"type": "array"
577577
},
578+
"eventTime": {
579+
"description": "The time at which the event was generated.",
580+
"format": "google-datetime",
581+
"type": "string"
582+
},
578583
"expirationTime": {
579584
"description": "The product expiration time. This field will not bet set if the notification is sent for a product deletion event.",
580585
"format": "google-datetime",

googleapiclient/discovery_cache/documents/merchantapi.lfp_v1beta.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
}
299299
}
300300
},
301-
"revision": "20250203",
301+
"revision": "20250219",
302302
"rootUrl": "https://merchantapi.googleapis.com/",
303303
"schemas": {
304304
"Empty": {
@@ -649,6 +649,11 @@ false
649649
},
650650
"type": "array"
651651
},
652+
"eventTime": {
653+
"description": "The time at which the event was generated.",
654+
"format": "google-datetime",
655+
"type": "string"
656+
},
652657
"expirationTime": {
653658
"description": "The product expiration time. This field will not bet set if the notification is sent for a product deletion event.",
654659
"format": "google-datetime",

googleapiclient/discovery_cache/documents/merchantapi.notifications_v1beta.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
}
263263
}
264264
},
265-
"revision": "20250203",
265+
"revision": "20250219",
266266
"rootUrl": "https://merchantapi.googleapis.com/",
267267
"schemas": {
268268
"Empty": {
@@ -438,6 +438,11 @@ false
438438
},
439439
"type": "array"
440440
},
441+
"eventTime": {
442+
"description": "The time at which the event was generated.",
443+
"format": "google-datetime",
444+
"type": "string"
445+
},
441446
"expirationTime": {
442447
"description": "The product expiration time. This field will not bet set if the notification is sent for a product deletion event.",
443448
"format": "google-datetime",

googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
}
243243
}
244244
},
245-
"revision": "20250208",
245+
"revision": "20250219",
246246
"rootUrl": "https://merchantapi.googleapis.com/",
247247
"schemas": {
248248
"Attributes": {
@@ -1470,6 +1470,11 @@ false
14701470
},
14711471
"type": "array"
14721472
},
1473+
"eventTime": {
1474+
"description": "The time at which the event was generated.",
1475+
"format": "google-datetime",
1476+
"type": "string"
1477+
},
14731478
"expirationTime": {
14741479
"description": "The product expiration time. This field will not bet set if the notification is sent for a product deletion event.",
14751480
"format": "google-datetime",

0 commit comments

Comments
 (0)