Skip to content

Commit 6acd1a9

Browse files
feat(cloudcommerceprocurement): update the api
#### cloudcommerceprocurement:v1 The following keys were added: - resources.providers.resources.accounts.methods.get.parameters.view (Total Keys: 2) - schemas.Account.properties.resellerParentBillingAccount.type (Total Keys: 1)
1 parent ccc9bde commit 6acd1a9

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

docs/dyn/cloudcommerceprocurement_v1.providers.accounts.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ <h2>Instance Methods</h2>
8181
<code><a href="#close">close()</a></code></p>
8282
<p class="firstline">Close httplib2 connections.</p>
8383
<p class="toc_element">
84-
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
84+
<code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Gets a requested Account resource.</p>
8686
<p class="toc_element">
8787
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
@@ -131,11 +131,16 @@ <h3>Method Details</h3>
131131
</div>
132132

133133
<div class="method">
134-
<code class="details" id="get">get(name, x__xgafv=None)</code>
134+
<code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
135135
<pre>Gets a requested Account resource.
136136

137137
Args:
138138
name: string, Required. The name of the account to retrieve. (required)
139+
view: string, Optional. What information to include in the response.
140+
Allowed values
141+
ACCOUNT_VIEW_UNSPECIFIED - The default / unset value. The API will default to the BASIC view for ListAccounts. For GetAccount it will default to the FULL view.
142+
ACCOUNT_VIEW_BASIC - Include base account information. This is the default view.
143+
ACCOUNT_VIEW_FULL - Include everything.
139144
x__xgafv: string, V1 error format.
140145
Allowed values
141146
1 - v1 error format
@@ -159,6 +164,7 @@ <h3>Method Details</h3>
159164
},
160165
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the account. Account names have the form `accounts/{account_id}`.
161166
&quot;provider&quot;: &quot;A String&quot;, # Output only. The identifier of the service provider that this account was created against. Each service provider is assigned a unique provider value when they onboard with Cloud Commerce platform.
167+
&quot;resellerParentBillingAccount&quot;: &quot;A String&quot;, # The reseller parent billing account of the account&#x27;s corresponding billing account, applicable only when the corresponding billing account is a subaccount of a reseller. Included in responses only for view ACCOUNT_VIEW_FULL. Format: billingAccounts/{billing_account_id}
162168
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the account. This is used to decide whether the customer is in good standing with the provider and is able to make purchases. An account might not be able to make a purchase if the billing account is suspended, for example.
163169
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp.
164170
}</pre>
@@ -197,6 +203,7 @@ <h3>Method Details</h3>
197203
},
198204
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the account. Account names have the form `accounts/{account_id}`.
199205
&quot;provider&quot;: &quot;A String&quot;, # Output only. The identifier of the service provider that this account was created against. Each service provider is assigned a unique provider value when they onboard with Cloud Commerce platform.
206+
&quot;resellerParentBillingAccount&quot;: &quot;A String&quot;, # The reseller parent billing account of the account&#x27;s corresponding billing account, applicable only when the corresponding billing account is a subaccount of a reseller. Included in responses only for view ACCOUNT_VIEW_FULL. Format: billingAccounts/{billing_account_id}
200207
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the account. This is used to decide whether the customer is in good standing with the provider and is able to make purchases. An account might not be able to make a purchase if the billing account is suspended, for example.
201208
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp.
202209
},

googleapiclient/discovery_cache/documents/cloudcommerceprocurement.v1.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,21 @@
152152
"pattern": "^providers/[^/]+/accounts/[^/]+$",
153153
"required": true,
154154
"type": "string"
155+
},
156+
"view": {
157+
"description": "Optional. What information to include in the response.",
158+
"enum": [
159+
"ACCOUNT_VIEW_UNSPECIFIED",
160+
"ACCOUNT_VIEW_BASIC",
161+
"ACCOUNT_VIEW_FULL"
162+
],
163+
"enumDescriptions": [
164+
"The default / unset value. The API will default to the BASIC view for ListAccounts. For GetAccount it will default to the FULL view.",
165+
"Include base account information. This is the default view.",
166+
"Include everything."
167+
],
168+
"location": "query",
169+
"type": "string"
155170
}
156171
},
157172
"path": "v1/{+name}",
@@ -503,7 +518,7 @@
503518
}
504519
}
505520
},
506-
"revision": "20250907",
521+
"revision": "20250914",
507522
"rootUrl": "https://cloudcommerceprocurement.googleapis.com/",
508523
"schemas": {
509524
"Account": {
@@ -539,6 +554,10 @@
539554
"description": "Output only. The identifier of the service provider that this account was created against. Each service provider is assigned a unique provider value when they onboard with Cloud Commerce platform.",
540555
"type": "string"
541556
},
557+
"resellerParentBillingAccount": {
558+
"description": "The reseller parent billing account of the account's corresponding billing account, applicable only when the corresponding billing account is a subaccount of a reseller. Included in responses only for view ACCOUNT_VIEW_FULL. Format: billingAccounts/{billing_account_id}",
559+
"type": "string"
560+
},
542561
"state": {
543562
"description": "Output only. The state of the account. This is used to decide whether the customer is in good standing with the provider and is able to make purchases. An account might not be able to make a purchase if the billing account is suspended, for example.",
544563
"enum": [

0 commit comments

Comments
 (0)