Skip to content

Commit 4e23e8d

Browse files
feat(merchantapi): update the api
#### merchantapi:accounts_v1 The following keys were added: - resources.accounts.methods.getAccountForGcpRegistration (Total Keys: 7) - schemas.GetAccountForGcpRegistrationResponse (Total Keys: 3) #### merchantapi:accounts_v1beta The following keys were added: - resources.accounts.methods.getAccountForGcpRegistration (Total Keys: 7) - schemas.GetAccountForGcpRegistrationResponse (Total Keys: 3)
1 parent c4ac7b7 commit 4e23e8d

File tree

4 files changed

+96
-2
lines changed

4 files changed

+96
-2
lines changed

docs/dyn/merchantapi_accounts_v1.accounts.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ <h2>Instance Methods</h2>
176176
<p class="toc_element">
177177
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
178178
<p class="firstline">Retrieves an account from your Merchant Center account. After inserting, updating, or deleting an account, it may take several minutes before changes take effect.</p>
179+
<p class="toc_element">
180+
<code><a href="#getAccountForGcpRegistration">getAccountForGcpRegistration(x__xgafv=None)</a></code></p>
181+
<p class="firstline">Retrieves the merchant account that the calling GCP is registered with.</p>
179182
<p class="toc_element">
180183
<code><a href="#list">list(filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
181184
<p class="firstline">Note: For the `accounts.list` method, quota and limits usage are charged for each user, and not for the Merchant Center ID or the advanced account ID. To list several sub-accounts, you should use the `accounts.listSubaccounts` method, which is more suitable for advanced accounts use case.</p>
@@ -308,6 +311,24 @@ <h3>Method Details</h3>
308311
}</pre>
309312
</div>
310313

314+
<div class="method">
315+
<code class="details" id="getAccountForGcpRegistration">getAccountForGcpRegistration(x__xgafv=None)</code>
316+
<pre>Retrieves the merchant account that the calling GCP is registered with.
317+
318+
Args:
319+
x__xgafv: string, V1 error format.
320+
Allowed values
321+
1 - v1 error format
322+
2 - v2 error format
323+
324+
Returns:
325+
An object of the form:
326+
327+
{ # Response message for the GetAccountForGcpRegistration method.
328+
&quot;name&quot;: &quot;A String&quot;, # The name of the merchant account id that the GCP is registered with.
329+
}</pre>
330+
</div>
331+
311332
<div class="method">
312333
<code class="details" id="list">list(filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
313334
<pre>Note: For the `accounts.list` method, quota and limits usage are charged for each user, and not for the Merchant Center ID or the advanced account ID. To list several sub-accounts, you should use the `accounts.listSubaccounts` method, which is more suitable for advanced accounts use case.

docs/dyn/merchantapi_accounts_v1beta.accounts.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ <h2>Instance Methods</h2>
176176
<p class="toc_element">
177177
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
178178
<p class="firstline">Retrieves an account from your Merchant Center account. After inserting, updating, or deleting an account, it may take several minutes before changes take effect.</p>
179+
<p class="toc_element">
180+
<code><a href="#getAccountForGcpRegistration">getAccountForGcpRegistration(x__xgafv=None)</a></code></p>
181+
<p class="firstline">Retrieves the merchant account that the calling GCP is registered with.</p>
179182
<p class="toc_element">
180183
<code><a href="#list">list(filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
181184
<p class="firstline">Note: For the `accounts.list` method, quota and limits usage are charged for each user, and not for the Merchant Center ID or the advanced account ID. To list several sub-accounts, you should use the `accounts.listSubaccounts` method, which is more suitable for advanced accounts use case.</p>
@@ -321,6 +324,24 @@ <h3>Method Details</h3>
321324
}</pre>
322325
</div>
323326

327+
<div class="method">
328+
<code class="details" id="getAccountForGcpRegistration">getAccountForGcpRegistration(x__xgafv=None)</code>
329+
<pre>Retrieves the merchant account that the calling GCP is registered with.
330+
331+
Args:
332+
x__xgafv: string, V1 error format.
333+
Allowed values
334+
1 - v1 error format
335+
2 - v2 error format
336+
337+
Returns:
338+
An object of the form:
339+
340+
{ # Response message for the GetAccountForGcpRegistration method.
341+
&quot;name&quot;: &quot;A String&quot;, # The name of the merchant account id that the GCP is registered with.
342+
}</pre>
343+
</div>
344+
324345
<div class="method">
325346
<code class="details" id="list">list(filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
326347
<pre>Note: For the `accounts.list` method, quota and limits usage are charged for each user, and not for the Merchant Center ID or the advanced account ID. To list several sub-accounts, you should use the `accounts.listSubaccounts` method, which is more suitable for advanced accounts use case.

googleapiclient/discovery_cache/documents/merchantapi.accounts_v1.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,21 @@
180180
"https://www.googleapis.com/auth/content"
181181
]
182182
},
183+
"getAccountForGcpRegistration": {
184+
"description": "Retrieves the merchant account that the calling GCP is registered with.",
185+
"flatPath": "accounts/v1/accounts:getAccountForGcpRegistration",
186+
"httpMethod": "GET",
187+
"id": "merchantapi.accounts.getAccountForGcpRegistration",
188+
"parameterOrder": [],
189+
"parameters": {},
190+
"path": "accounts/v1/accounts:getAccountForGcpRegistration",
191+
"response": {
192+
"$ref": "GetAccountForGcpRegistrationResponse"
193+
},
194+
"scopes": [
195+
"https://www.googleapis.com/auth/content"
196+
]
197+
},
183198
"list": {
184199
"description": "Note: For the `accounts.list` method, quota and limits usage are charged for each user, and not for the Merchant Center ID or the advanced account ID. To list several sub-accounts, you should use the `accounts.listSubaccounts` method, which is more suitable for advanced accounts use case.",
185200
"flatPath": "accounts/v1/accounts",
@@ -2361,7 +2376,7 @@
23612376
}
23622377
}
23632378
},
2364-
"revision": "20250830",
2379+
"revision": "20250909",
23652380
"rootUrl": "https://merchantapi.googleapis.com/",
23662381
"schemas": {
23672382
"About": {
@@ -3486,6 +3501,17 @@
34863501
},
34873502
"type": "object"
34883503
},
3504+
"GetAccountForGcpRegistrationResponse": {
3505+
"description": "Response message for the GetAccountForGcpRegistration method.",
3506+
"id": "GetAccountForGcpRegistrationResponse",
3507+
"properties": {
3508+
"name": {
3509+
"description": "The name of the merchant account id that the GCP is registered with.",
3510+
"type": "string"
3511+
}
3512+
},
3513+
"type": "object"
3514+
},
34893515
"Handshake": {
34903516
"description": "The current status of establishing of the service. (for example, pending approval or approved).",
34913517
"id": "Handshake",

googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,21 @@
180180
"https://www.googleapis.com/auth/content"
181181
]
182182
},
183+
"getAccountForGcpRegistration": {
184+
"description": "Retrieves the merchant account that the calling GCP is registered with.",
185+
"flatPath": "accounts/v1beta/accounts:getAccountForGcpRegistration",
186+
"httpMethod": "GET",
187+
"id": "merchantapi.accounts.getAccountForGcpRegistration",
188+
"parameterOrder": [],
189+
"parameters": {},
190+
"path": "accounts/v1beta/accounts:getAccountForGcpRegistration",
191+
"response": {
192+
"$ref": "GetAccountForGcpRegistrationResponse"
193+
},
194+
"scopes": [
195+
"https://www.googleapis.com/auth/content"
196+
]
197+
},
183198
"list": {
184199
"description": "Note: For the `accounts.list` method, quota and limits usage are charged for each user, and not for the Merchant Center ID or the advanced account ID. To list several sub-accounts, you should use the `accounts.listSubaccounts` method, which is more suitable for advanced accounts use case.",
185200
"flatPath": "accounts/v1beta/accounts",
@@ -2311,7 +2326,7 @@
23112326
}
23122327
}
23132328
},
2314-
"revision": "20250830",
2329+
"revision": "20250909",
23152330
"rootUrl": "https://merchantapi.googleapis.com/",
23162331
"schemas": {
23172332
"About": {
@@ -3363,6 +3378,17 @@
33633378
},
33643379
"type": "object"
33653380
},
3381+
"GetAccountForGcpRegistrationResponse": {
3382+
"description": "Response message for the GetAccountForGcpRegistration method.",
3383+
"id": "GetAccountForGcpRegistrationResponse",
3384+
"properties": {
3385+
"name": {
3386+
"description": "The name of the merchant account id that the GCP is registered with.",
3387+
"type": "string"
3388+
}
3389+
},
3390+
"type": "object"
3391+
},
33663392
"Handshake": {
33673393
"description": "The current status of establishing of the service. (for example, pending approval or approved).",
33683394
"id": "Handshake",

0 commit comments

Comments
 (0)