Skip to content

Commit 0e4fed7

Browse files
feat(apigee): update the api
#### apigee:v1 The following keys were added: - resources.organizations.resources.developers.methods.getBalance (Total Keys: 11) - resources.organizations.resources.developers.methods.getMonetizationConfig (Total Keys: 11) - resources.organizations.resources.developers.methods.updateMonetizationConfig (Total Keys: 12) - resources.organizations.resources.developers.resources.balance.methods.credit (Total Keys: 12) - schemas.GoogleCloudApigeeV1CreditDeveloperBalanceRequest (Total Keys: 4) - schemas.GoogleCloudApigeeV1DeveloperBalance (Total Keys: 11) - schemas.GoogleCloudApigeeV1DeveloperMonetizationConfig (Total Keys: 3)
1 parent d6c1411 commit 0e4fed7

File tree

3 files changed

+395
-1
lines changed

3 files changed

+395
-1
lines changed
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
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="apigee_v1.html">Apigee API</a> . <a href="apigee_v1.organizations.html">organizations</a> . <a href="apigee_v1.organizations.developers.html">developers</a> . <a href="apigee_v1.organizations.developers.balance.html">balance</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#credit">credit(name, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Credits the account balance for the developer.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="close">close()</code>
86+
<pre>Close httplib2 connections.</pre>
87+
</div>
88+
89+
<div class="method">
90+
<code class="details" id="credit">credit(name, body=None, x__xgafv=None)</code>
91+
<pre>Credits the account balance for the developer.
92+
93+
Args:
94+
name: string, Required. Account balance for the developer. Use the following structure in your request: `organizations/{org}/developers/{developer}/balance` (required)
95+
body: object, The request body.
96+
The object takes the form of:
97+
98+
{ # Request for CreditDeveloperBalance.
99+
&quot;transactionAmount&quot;: { # Represents an amount of money with its currency type. # The amount of money to be credited. The wallet corresponding to the currency specified within `transaction_amount` will be updated. For example, if you specified `currency_code` within `transaction_amount` as &quot;USD&quot;, then the amount would be added to the wallet which has the &quot;USD&quot; currency or if no such wallet exists, a new wallet will be created with the &quot;USD&quot; currency.
100+
&quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
101+
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
102+
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
103+
},
104+
&quot;transactionId&quot;: &quot;A String&quot;, # Each transaction_id uniquely identifies a credit balance request. If multiple requests are received with the same transaction_id, only one of them will be considered.
105+
}
106+
107+
x__xgafv: string, V1 error format.
108+
Allowed values
109+
1 - v1 error format
110+
2 - v2 error format
111+
112+
Returns:
113+
An object of the form:
114+
115+
{ # Account balance for the developer.
116+
&quot;wallets&quot;: [ # Output only. List of all wallets. Each individual wallet stores the account balance for a particular currency.
117+
{ # Wallet used to manage an account balance for a particular currency.
118+
&quot;balance&quot;: { # Represents an amount of money with its currency type. # Current remaining balance of the developer for a particular currency.
119+
&quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
120+
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
121+
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
122+
},
123+
&quot;lastCreditTime&quot;: &quot;A String&quot;, # Output only. Time at which the developer last added credit to the account in milliseconds since epoch.
124+
},
125+
],
126+
}</pre>
127+
</div>
128+
129+
</body></html>

docs/dyn/apigee_v1.organizations.developers.html

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ <h2>Instance Methods</h2>
8484
</p>
8585
<p class="firstline">Returns the attributes Resource.</p>
8686

87+
<p class="toc_element">
88+
<code><a href="apigee_v1.organizations.developers.balance.html">balance()</a></code>
89+
</p>
90+
<p class="firstline">Returns the balance Resource.</p>
91+
8792
<p class="toc_element">
8893
<code><a href="apigee_v1.organizations.developers.subscriptions.html">subscriptions()</a></code>
8994
</p>
@@ -101,6 +106,12 @@ <h2>Instance Methods</h2>
101106
<p class="toc_element">
102107
<code><a href="#get">get(name, action=None, x__xgafv=None)</a></code></p>
103108
<p class="firstline">Returns the developer details, including the developer's name, email address, apps, and other information. **Note**: The response includes only the first 100 developer apps.</p>
109+
<p class="toc_element">
110+
<code><a href="#getBalance">getBalance(name, x__xgafv=None)</a></code></p>
111+
<p class="firstline">Gets the account balance for the developer.</p>
112+
<p class="toc_element">
113+
<code><a href="#getMonetizationConfig">getMonetizationConfig(name, x__xgafv=None)</a></code></p>
114+
<p class="firstline">Gets the monetization configuration for the developer.</p>
104115
<p class="toc_element">
105116
<code><a href="#list">list(parent, app=None, count=None, expand=None, ids=None, includeCompany=None, startKey=None, x__xgafv=None)</a></code></p>
106117
<p class="firstline">Lists all developers in an organization by email address. By default, the response does not include company developers. Set the `includeCompany` query parameter to `true` to include company developers. **Note**: A maximum of 1000 developers are returned in the response. You paginate the list of developers returned using the `startKey` and `count` query parameters.</p>
@@ -110,6 +121,9 @@ <h2>Instance Methods</h2>
110121
<p class="toc_element">
111122
<code><a href="#update">update(name, body=None, x__xgafv=None)</a></code></p>
112123
<p class="firstline">Updates a developer. This API replaces the existing developer details with those specified in the request. Include or exclude any existing details that you want to retain or delete, respectively. The custom attribute limit is 18. **Note**: OAuth access tokens and Key Management Service (KMS) entities (apps, developers, and API products) are cached for 180 seconds (current default). Any custom attributes associated with these entities are cached for at least 180 seconds after the entity is accessed at runtime. Therefore, an `ExpiresIn` element on the OAuthV2 policy won't be able to expire an access token in less than 180 seconds.</p>
124+
<p class="toc_element">
125+
<code><a href="#updateMonetizationConfig">updateMonetizationConfig(name, body=None, x__xgafv=None)</a></code></p>
126+
<p class="firstline">Updates the monetization configuration for the developer.</p>
113127
<h3>Method Details</h3>
114128
<div class="method">
115129
<code class="details" id="close">close()</code>
@@ -269,6 +283,53 @@ <h3>Method Details</h3>
269283
}</pre>
270284
</div>
271285

286+
<div class="method">
287+
<code class="details" id="getBalance">getBalance(name, x__xgafv=None)</code>
288+
<pre>Gets the account balance for the developer.
289+
290+
Args:
291+
name: string, Required. Account balance for the developer. Use the following structure in your request: `organizations/{org}/developers/{developer}/balance` (required)
292+
x__xgafv: string, V1 error format.
293+
Allowed values
294+
1 - v1 error format
295+
2 - v2 error format
296+
297+
Returns:
298+
An object of the form:
299+
300+
{ # Account balance for the developer.
301+
&quot;wallets&quot;: [ # Output only. List of all wallets. Each individual wallet stores the account balance for a particular currency.
302+
{ # Wallet used to manage an account balance for a particular currency.
303+
&quot;balance&quot;: { # Represents an amount of money with its currency type. # Current remaining balance of the developer for a particular currency.
304+
&quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
305+
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
306+
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
307+
},
308+
&quot;lastCreditTime&quot;: &quot;A String&quot;, # Output only. Time at which the developer last added credit to the account in milliseconds since epoch.
309+
},
310+
],
311+
}</pre>
312+
</div>
313+
314+
<div class="method">
315+
<code class="details" id="getMonetizationConfig">getMonetizationConfig(name, x__xgafv=None)</code>
316+
<pre>Gets the monetization configuration for the developer.
317+
318+
Args:
319+
name: string, Required. Monetization configuration for the developer. Use the following structure in your request: `organizations/{org}/developers/{developer}/monetizationConfig` (required)
320+
x__xgafv: string, V1 error format.
321+
Allowed values
322+
1 - v1 error format
323+
2 - v2 error format
324+
325+
Returns:
326+
An object of the form:
327+
328+
{ # Monetization configuration for the developer.
329+
&quot;billingType&quot;: &quot;A String&quot;, # Billing type.
330+
}</pre>
331+
</div>
332+
272333
<div class="method">
273334
<code class="details" id="list">list(parent, app=None, count=None, expand=None, ids=None, includeCompany=None, startKey=None, x__xgafv=None)</code>
274335
<pre>Lists all developers in an organization by email address. By default, the response does not include company developers. Set the `includeCompany` query parameter to `true` to include company developers. **Note**: A maximum of 1000 developers are returned in the response. You paginate the list of developers returned using the `startKey` and `count` query parameters.
@@ -409,4 +470,30 @@ <h3>Method Details</h3>
409470
}</pre>
410471
</div>
411472

473+
<div class="method">
474+
<code class="details" id="updateMonetizationConfig">updateMonetizationConfig(name, body=None, x__xgafv=None)</code>
475+
<pre>Updates the monetization configuration for the developer.
476+
477+
Args:
478+
name: string, Required. Monetization configuration for the developer. Use the following structure in your request: `organizations/{org}/developers/{developer}/monetizationConfig` (required)
479+
body: object, The request body.
480+
The object takes the form of:
481+
482+
{ # Monetization configuration for the developer.
483+
&quot;billingType&quot;: &quot;A String&quot;, # Billing type.
484+
}
485+
486+
x__xgafv: string, V1 error format.
487+
Allowed values
488+
1 - v1 error format
489+
2 - v2 error format
490+
491+
Returns:
492+
An object of the form:
493+
494+
{ # Monetization configuration for the developer.
495+
&quot;billingType&quot;: &quot;A String&quot;, # Billing type.
496+
}</pre>
497+
</div>
498+
412499
</body></html>

0 commit comments

Comments
 (0)