Debian Codegraph @

docs/dyn/cloudcommerceprocurement_v1.providers.accounts.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="cloudcommerceprocurement_v1.html">Cloud Commerce Partner Procurement API</a> . <a href="cloudcommerceprocurement_v1.providers.html">providers</a> . <a href="cloudcommerceprocurement_v1.providers.accounts.html">accounts</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#approve">approve(name, body=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Grants an approval on an Account.</p>
80 <p class="toc_element">
81 <code><a href="#close">close()</a></code></p>
82 <p class="firstline">Close httplib2 connections.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Gets a requested Account resource.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists Accounts that the provider has access to.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <p class="toc_element">
93 <code><a href="#reject">reject(name, body=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Rejects an approval on an Account.</p>
95 <p class="toc_element">
96 <code><a href="#reset">reset(name, body=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Resets an Account and cancels all associated Entitlements. Partner can only reset accounts they own rather than customer accounts.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="approve">approve(name, body=None, x__xgafv=None)</code>
101 <pre>Grants an approval on an Account.
102
103 Args:
104 name: string, Required. The resource name of the account, with the format `providers/{providerId}/accounts/{accountId}`. (required)
105 body: object, The request body.
106 The object takes the form of:
107
108 { # Request message for PartnerProcurementService.ApproveAccount.
109 &quot;approvalName&quot;: &quot;A String&quot;, # The name of the approval being approved. If absent and there is only one approval possible, that approval will be granted. If absent and there are many approvals possible, the request will fail with a 400 Bad Request. Optional.
110 &quot;properties&quot;: { # Set of properties that should be associated with the account. Optional.
111 &quot;a_key&quot;: &quot;A String&quot;,
112 },
113 &quot;reason&quot;: &quot;A String&quot;, # Free form text string explaining the approval reason. Optional. Max allowed length: 256 bytes. Longer strings will be truncated.
114 }
115
116 x__xgafv: string, V1 error format.
117 Allowed values
118 1 - v1 error format
119 2 - v2 error format
120
121 Returns:
122 An object of the form:
123
124 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
125 }</pre>
126 </div>
127
128 <div class="method">
129 <code class="details" id="close">close()</code>
130 <pre>Close httplib2 connections.</pre>
131 </div>
132
133 <div class="method">
134 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
135 <pre>Gets a requested Account resource.
136
137 Args:
138 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. For `GetAccount` and `ListAccounts`, they default to the BASIC view. For `ListAccounts`, it only supports the BASIC view.
142 ACCOUNT_VIEW_BASIC - Include base account information. This is the default view. All fields from Account are included except for the reseller_parent_billing_account field.
143 ACCOUNT_VIEW_FULL - Includes all available account information, inclusive of the accounts reseller_parent_billing_account, if it&#x27;s a resold account.
144 x__xgafv: string, V1 error format.
145 Allowed values
146 1 - v1 error format
147 2 - v2 error format
148
149 Returns:
150 An object of the form:
151
152 { # Represents an account that was established by the customer on the service provider&#x27;s system.
153 &quot;approvals&quot;: [ # Output only. The approvals for this account. These approvals are used to track actions that are permitted or have been completed by a customer within the context of the provider. This might include a sign up flow or a provisioning step, for example, that the provider can admit to having happened.
154 { # An approval for some action on an account.
155 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the approval.
156 &quot;reason&quot;: &quot;A String&quot;, # Output only. An explanation for the state of the approval.
157 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the approval.
158 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The last update timestamp of the approval.
159 },
160 ],
161 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp.
162 &quot;inputProperties&quot;: { # Output only. The custom properties that were collected from the user to create this account.
163 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
164 },
165 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the account. Account names have the form `accounts/{account_id}`.
166 &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;, # Output only. 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}
168 &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.
169 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp.
170 }</pre>
171 </div>
172
173 <div class="method">
174 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
175 <pre>Lists Accounts that the provider has access to.
176
177 Args:
178 parent: string, Required. The parent resource name. (required)
179 pageSize: integer, The maximum number of entries that are requested. The default page size is 25 and the maximum page size is 200.
180 pageToken: string, The token for fetching the next page.
181 x__xgafv: string, V1 error format.
182 Allowed values
183 1 - v1 error format
184 2 - v2 error format
185
186 Returns:
187 An object of the form:
188
189 { # Response message for [PartnerProcurementService.ListAccounts[].
190 &quot;accounts&quot;: [ # The list of accounts in this response.
191 { # Represents an account that was established by the customer on the service provider&#x27;s system.
192 &quot;approvals&quot;: [ # Output only. The approvals for this account. These approvals are used to track actions that are permitted or have been completed by a customer within the context of the provider. This might include a sign up flow or a provisioning step, for example, that the provider can admit to having happened.
193 { # An approval for some action on an account.
194 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the approval.
195 &quot;reason&quot;: &quot;A String&quot;, # Output only. An explanation for the state of the approval.
196 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the approval.
197 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The last update timestamp of the approval.
198 },
199 ],
200 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp.
201 &quot;inputProperties&quot;: { # Output only. The custom properties that were collected from the user to create this account.
202 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
203 },
204 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the account. Account names have the form `accounts/{account_id}`.
205 &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;, # Output only. 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}
207 &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.
208 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp.
209 },
210 ],
211 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token for fetching the next page.
212 }</pre>
213 </div>
214
215 <div class="method">
216 <code class="details" id="list_next">list_next()</code>
217 <pre>Retrieves the next page of results.
218
219 Args:
220 previous_request: The request for the previous page. (required)
221 previous_response: The response from the request for the previous page. (required)
222
223 Returns:
224 A request object that you can call &#x27;execute()&#x27; on to request the next
225 page. Returns None if there are no more items in the collection.
226 </pre>
227 </div>
228
229 <div class="method">
230 <code class="details" id="reject">reject(name, body=None, x__xgafv=None)</code>
231 <pre>Rejects an approval on an Account.
232
233 Args:
234 name: string, Required. The resource name of the account. (required)
235 body: object, The request body.
236 The object takes the form of:
237
238 { # Request message for PartnerProcurementService.RejectAccount.
239 &quot;approvalName&quot;: &quot;A String&quot;, # The name of the approval being rejected. If absent and there is only one approval possible, that approval will be rejected. If absent and there are many approvals possible, the request will fail with a 400 Bad Request. Optional.
240 &quot;reason&quot;: &quot;A String&quot;, # Free form text string explaining the rejection reason. Max allowed length: 256 bytes. Longer strings will be truncated.
241 }
242
243 x__xgafv: string, V1 error format.
244 Allowed values
245 1 - v1 error format
246 2 - v2 error format
247
248 Returns:
249 An object of the form:
250
251 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
252 }</pre>
253 </div>
254
255 <div class="method">
256 <code class="details" id="reset">reset(name, body=None, x__xgafv=None)</code>
257 <pre>Resets an Account and cancels all associated Entitlements. Partner can only reset accounts they own rather than customer accounts.
258
259 Args:
260 name: string, Required. The resource name of the account. (required)
261 body: object, The request body.
262 The object takes the form of:
263
264 { # Request message for PartnerProcurementService.ResetAccount.
265 }
266
267 x__xgafv: string, V1 error format.
268 Allowed values
269 1 - v1 error format
270 2 - v2 error format
271
272 Returns:
273 An object of the form:
274
275 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
276 }</pre>
277 </div>
278
279 </body></html>