Skip to content

Commit 0ab9054

Browse files
feat(merchantapi): update the api
#### merchantapi:accounts_v1 The following keys were deleted: - resources.accounts.methods.getAccountForGcpRegistration (Total Keys: 7) The following keys were added: - resources.accounts.resources.developerRegistration.methods.getAccountForGcpRegistration (Total Keys: 7) #### merchantapi:accounts_v1beta The following keys were deleted: - resources.accounts.methods.getAccountForGcpRegistration (Total Keys: 7) The following keys were added: - resources.accounts.resources.developerRegistration.methods.getAccountForGcpRegistration (Total Keys: 7)
1 parent 0c7724b commit 0ab9054

8 files changed

+91
-91
lines changed

docs/dyn/merchantapi_accounts_v1.accounts.developerRegistration.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#getAccountForGcpRegistration">getAccountForGcpRegistration(x__xgafv=None)</a></code></p>
82+
<p class="firstline">Retrieves the merchant account that the calling GCP is registered with.</p>
8083
<p class="toc_element">
8184
<code><a href="#getDeveloperRegistration">getDeveloperRegistration(name, x__xgafv=None)</a></code></p>
8285
<p class="firstline">Retrieves a developer registration for a merchant.</p>
@@ -92,6 +95,24 @@ <h3>Method Details</h3>
9295
<pre>Close httplib2 connections.</pre>
9396
</div>
9497

98+
<div class="method">
99+
<code class="details" id="getAccountForGcpRegistration">getAccountForGcpRegistration(x__xgafv=None)</code>
100+
<pre>Retrieves the merchant account that the calling GCP is registered with.
101+
102+
Args:
103+
x__xgafv: string, V1 error format.
104+
Allowed values
105+
1 - v1 error format
106+
2 - v2 error format
107+
108+
Returns:
109+
An object of the form:
110+
111+
{ # Response message for the GetAccountForGcpRegistration method.
112+
&quot;name&quot;: &quot;A String&quot;, # The name of the merchant account id that the GCP is registered with.
113+
}</pre>
114+
</div>
115+
95116
<div class="method">
96117
<code class="details" id="getDeveloperRegistration">getDeveloperRegistration(name, x__xgafv=None)</code>
97118
<pre>Retrieves a developer registration for a merchant.

docs/dyn/merchantapi_accounts_v1.accounts.html

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,6 @@ <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>
182179
<p class="toc_element">
183180
<code><a href="#list">list(filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
184181
<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>
@@ -230,7 +227,7 @@ <h3>Method Details</h3>
230227
],
231228
&quot;user&quot;: [ # Optional. Users to be added to the account.
232229
{ # Instruction for adding a user to the account during creation.
233-
&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.
230+
&quot;user&quot;: { # The `User` resource 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.
234231
&quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
235232
&quot;A String&quot;,
236233
],
@@ -311,24 +308,6 @@ <h3>Method Details</h3>
311308
}</pre>
312309
</div>
313310

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-
332311
<div class="method">
333312
<code class="details" id="list">list(filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
334313
<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_v1.accounts.users.html

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

113-
{ # 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).
113+
{ # The `User` resource 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).
114114
&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
],
@@ -127,7 +127,7 @@ <h3>Method Details</h3>
127127
Returns:
128128
An object of the form:
129129

130-
{ # 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).
130+
{ # The `User` resource 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).
131131
&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
],
@@ -168,7 +168,7 @@ <h3>Method Details</h3>
168168
Returns:
169169
An object of the form:
170170

171-
{ # 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).
171+
{ # The `User` resource 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).
172172
&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
],
@@ -196,7 +196,7 @@ <h3>Method Details</h3>
196196
{ # Response message for the `ListUsers` method.
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.
199-
{ # 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).
199+
{ # The `User` resource 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).
200200
&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
],
@@ -230,7 +230,7 @@ <h3>Method Details</h3>
230230
body: object, The request body.
231231
The object takes the form of:
232232

233-
{ # 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).
233+
{ # The `User` resource 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).
234234
&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
],
@@ -247,7 +247,7 @@ <h3>Method Details</h3>
247247
Returns:
248248
An object of the form:
249249

250-
{ # 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).
250+
{ # The `User` resource 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).
251251
&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
],

docs/dyn/merchantapi_accounts_v1beta.accounts.developerRegistration.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#getAccountForGcpRegistration">getAccountForGcpRegistration(x__xgafv=None)</a></code></p>
82+
<p class="firstline">Retrieves the merchant account that the calling GCP is registered with.</p>
8083
<p class="toc_element">
8184
<code><a href="#getDeveloperRegistration">getDeveloperRegistration(name, x__xgafv=None)</a></code></p>
8285
<p class="firstline">Retrieves a developer registration for a merchant.</p>
@@ -92,6 +95,24 @@ <h3>Method Details</h3>
9295
<pre>Close httplib2 connections.</pre>
9396
</div>
9497

98+
<div class="method">
99+
<code class="details" id="getAccountForGcpRegistration">getAccountForGcpRegistration(x__xgafv=None)</code>
100+
<pre>Retrieves the merchant account that the calling GCP is registered with.
101+
102+
Args:
103+
x__xgafv: string, V1 error format.
104+
Allowed values
105+
1 - v1 error format
106+
2 - v2 error format
107+
108+
Returns:
109+
An object of the form:
110+
111+
{ # Response message for the GetAccountForGcpRegistration method.
112+
&quot;name&quot;: &quot;A String&quot;, # The name of the merchant account id that the GCP is registered with.
113+
}</pre>
114+
</div>
115+
95116
<div class="method">
96117
<code class="details" id="getDeveloperRegistration">getDeveloperRegistration(name, x__xgafv=None)</code>
97118
<pre>Retrieves a developer registration for a merchant.

docs/dyn/merchantapi_accounts_v1beta.accounts.html

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,6 @@ <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>
182179
<p class="toc_element">
183180
<code><a href="#list">list(filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
184181
<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>
@@ -230,7 +227,7 @@ <h3>Method Details</h3>
230227
],
231228
&quot;user&quot;: [ # Optional. Users to be added to the account.
232229
{ # Instruction for adding a user to the account during creation.
233-
&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.
230+
&quot;user&quot;: { # The `User` resource 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.
234231
&quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
235232
&quot;A String&quot;,
236233
],
@@ -243,7 +240,7 @@ <h3>Method Details</h3>
243240
&quot;users&quot;: [ # Optional. Users to be added to the account. This field is deprecated and will not exist after the API evolves out of beta. Use the `user` field instead.
244241
{ # Request message for the `CreateUser` method.
245242
&quot;parent&quot;: &quot;A String&quot;, # Required. The resource name of the account for which a user will be created. Format: `accounts/{account}`
246-
&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.
243+
&quot;user&quot;: { # The `User` resource 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.
247244
&quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
248245
&quot;A String&quot;,
249246
],
@@ -324,24 +321,6 @@ <h3>Method Details</h3>
324321
}</pre>
325322
</div>
326323

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-
345324
<div class="method">
346325
<code class="details" id="list">list(filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
347326
<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.

0 commit comments

Comments
 (0)