google-apis-apigee_v1 0.20.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/apigee_v1/classes.rb +162 -3
- data/lib/google/apis/apigee_v1/gem_version.rb +2 -2
- data/lib/google/apis/apigee_v1/representations.rb +88 -0
- data/lib/google/apis/apigee_v1/service.rb +132 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65d16b3e25861d8fd4f487163a5745432140cb1ed9bf84845ea5486aa12c4af9
|
4
|
+
data.tar.gz: 5301163d45ddeba7a8cd725ec877c20e01f933791d8e9b5e935a64f154c7fd51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b173fe8dbb0676549335acfe31ceb6dcf018ab1b139cff575490c7b210752aa9dbe9958f54abc6a0460c7826a1037c98ef7e694f0c1faf537f709bd3aa29dc19
|
7
|
+
data.tar.gz: 75c587f446243e5a50d4a59fa80e916c6ae3ad1b8774fbfdb13a212d2d21a837f774e9d7f2f29611a242810eb566dafa85b872f3175bcb21046a63b5416e849a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-apigee_v1
|
2
2
|
|
3
|
+
### v0.24.0 (2021-10-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211002
|
6
|
+
|
7
|
+
### v0.23.0 (2021-09-28)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210924
|
10
|
+
|
11
|
+
### v0.22.0 (2021-09-21)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210916
|
14
|
+
|
15
|
+
### v0.21.0 (2021-09-08)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210902
|
18
|
+
|
3
19
|
### v0.20.0 (2021-09-01)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210826
|
@@ -257,6 +257,16 @@ module Google
|
|
257
257
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig]
|
258
258
|
attr_accessor :advanced_api_ops_config
|
259
259
|
|
260
|
+
# Configuration for the Connectors Platform add-on.
|
261
|
+
# Corresponds to the JSON property `connectorsPlatformConfig`
|
262
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ConnectorsPlatformConfig]
|
263
|
+
attr_accessor :connectors_platform_config
|
264
|
+
|
265
|
+
# Configuration for the Integration add-on.
|
266
|
+
# Corresponds to the JSON property `integrationConfig`
|
267
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1IntegrationConfig]
|
268
|
+
attr_accessor :integration_config
|
269
|
+
|
260
270
|
# Configuration for the Monetization add-on.
|
261
271
|
# Corresponds to the JSON property `monetizationConfig`
|
262
272
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig]
|
@@ -269,6 +279,8 @@ module Google
|
|
269
279
|
# Update properties of this object
|
270
280
|
def update!(**args)
|
271
281
|
@advanced_api_ops_config = args[:advanced_api_ops_config] if args.key?(:advanced_api_ops_config)
|
282
|
+
@connectors_platform_config = args[:connectors_platform_config] if args.key?(:connectors_platform_config)
|
283
|
+
@integration_config = args[:integration_config] if args.key?(:integration_config)
|
272
284
|
@monetization_config = args[:monetization_config] if args.key?(:monetization_config)
|
273
285
|
end
|
274
286
|
end
|
@@ -1480,6 +1492,33 @@ module Google
|
|
1480
1492
|
end
|
1481
1493
|
end
|
1482
1494
|
|
1495
|
+
# Configuration for the Connectors Platform add-on.
|
1496
|
+
class GoogleCloudApigeeV1ConnectorsPlatformConfig
|
1497
|
+
include Google::Apis::Core::Hashable
|
1498
|
+
|
1499
|
+
# Flag that specifies whether the Connectors Platform add-on is enabled.
|
1500
|
+
# Corresponds to the JSON property `enabled`
|
1501
|
+
# @return [Boolean]
|
1502
|
+
attr_accessor :enabled
|
1503
|
+
alias_method :enabled?, :enabled
|
1504
|
+
|
1505
|
+
# Output only. Time at which the Connectors Platform add-on expires in in
|
1506
|
+
# milliseconds since epoch. If unspecified, the add-on will never expire.
|
1507
|
+
# Corresponds to the JSON property `expiresAt`
|
1508
|
+
# @return [Fixnum]
|
1509
|
+
attr_accessor :expires_at
|
1510
|
+
|
1511
|
+
def initialize(**args)
|
1512
|
+
update!(**args)
|
1513
|
+
end
|
1514
|
+
|
1515
|
+
# Update properties of this object
|
1516
|
+
def update!(**args)
|
1517
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1518
|
+
@expires_at = args[:expires_at] if args.key?(:expires_at)
|
1519
|
+
end
|
1520
|
+
end
|
1521
|
+
|
1483
1522
|
#
|
1484
1523
|
class GoogleCloudApigeeV1Credential
|
1485
1524
|
include Google::Apis::Core::Hashable
|
@@ -1542,6 +1581,33 @@ module Google
|
|
1542
1581
|
end
|
1543
1582
|
end
|
1544
1583
|
|
1584
|
+
# Request for CreditDeveloperBalance.
|
1585
|
+
class GoogleCloudApigeeV1CreditDeveloperBalanceRequest
|
1586
|
+
include Google::Apis::Core::Hashable
|
1587
|
+
|
1588
|
+
# Represents an amount of money with its currency type.
|
1589
|
+
# Corresponds to the JSON property `transactionAmount`
|
1590
|
+
# @return [Google::Apis::ApigeeV1::GoogleTypeMoney]
|
1591
|
+
attr_accessor :transaction_amount
|
1592
|
+
|
1593
|
+
# Each transaction_id uniquely identifies a credit balance request. If multiple
|
1594
|
+
# requests are received with the same transaction_id, only one of them will be
|
1595
|
+
# considered.
|
1596
|
+
# Corresponds to the JSON property `transactionId`
|
1597
|
+
# @return [String]
|
1598
|
+
attr_accessor :transaction_id
|
1599
|
+
|
1600
|
+
def initialize(**args)
|
1601
|
+
update!(**args)
|
1602
|
+
end
|
1603
|
+
|
1604
|
+
# Update properties of this object
|
1605
|
+
def update!(**args)
|
1606
|
+
@transaction_amount = args[:transaction_amount] if args.key?(:transaction_amount)
|
1607
|
+
@transaction_id = args[:transaction_id] if args.key?(:transaction_id)
|
1608
|
+
end
|
1609
|
+
end
|
1610
|
+
|
1545
1611
|
#
|
1546
1612
|
class GoogleCloudApigeeV1CustomReport
|
1547
1613
|
include Google::Apis::Core::Hashable
|
@@ -2669,6 +2735,71 @@ module Google
|
|
2669
2735
|
end
|
2670
2736
|
end
|
2671
2737
|
|
2738
|
+
# Account balance for the developer.
|
2739
|
+
class GoogleCloudApigeeV1DeveloperBalance
|
2740
|
+
include Google::Apis::Core::Hashable
|
2741
|
+
|
2742
|
+
# Output only. List of all wallets. Each individual wallet stores the account
|
2743
|
+
# balance for a particular currency.
|
2744
|
+
# Corresponds to the JSON property `wallets`
|
2745
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalanceWallet>]
|
2746
|
+
attr_accessor :wallets
|
2747
|
+
|
2748
|
+
def initialize(**args)
|
2749
|
+
update!(**args)
|
2750
|
+
end
|
2751
|
+
|
2752
|
+
# Update properties of this object
|
2753
|
+
def update!(**args)
|
2754
|
+
@wallets = args[:wallets] if args.key?(:wallets)
|
2755
|
+
end
|
2756
|
+
end
|
2757
|
+
|
2758
|
+
# Wallet used to manage an account balance for a particular currency.
|
2759
|
+
class GoogleCloudApigeeV1DeveloperBalanceWallet
|
2760
|
+
include Google::Apis::Core::Hashable
|
2761
|
+
|
2762
|
+
# Represents an amount of money with its currency type.
|
2763
|
+
# Corresponds to the JSON property `balance`
|
2764
|
+
# @return [Google::Apis::ApigeeV1::GoogleTypeMoney]
|
2765
|
+
attr_accessor :balance
|
2766
|
+
|
2767
|
+
# Output only. Time at which the developer last added credit to the account in
|
2768
|
+
# milliseconds since epoch.
|
2769
|
+
# Corresponds to the JSON property `lastCreditTime`
|
2770
|
+
# @return [Fixnum]
|
2771
|
+
attr_accessor :last_credit_time
|
2772
|
+
|
2773
|
+
def initialize(**args)
|
2774
|
+
update!(**args)
|
2775
|
+
end
|
2776
|
+
|
2777
|
+
# Update properties of this object
|
2778
|
+
def update!(**args)
|
2779
|
+
@balance = args[:balance] if args.key?(:balance)
|
2780
|
+
@last_credit_time = args[:last_credit_time] if args.key?(:last_credit_time)
|
2781
|
+
end
|
2782
|
+
end
|
2783
|
+
|
2784
|
+
# Monetization configuration for the developer.
|
2785
|
+
class GoogleCloudApigeeV1DeveloperMonetizationConfig
|
2786
|
+
include Google::Apis::Core::Hashable
|
2787
|
+
|
2788
|
+
# Billing type.
|
2789
|
+
# Corresponds to the JSON property `billingType`
|
2790
|
+
# @return [String]
|
2791
|
+
attr_accessor :billing_type
|
2792
|
+
|
2793
|
+
def initialize(**args)
|
2794
|
+
update!(**args)
|
2795
|
+
end
|
2796
|
+
|
2797
|
+
# Update properties of this object
|
2798
|
+
def update!(**args)
|
2799
|
+
@billing_type = args[:billing_type] if args.key?(:billing_type)
|
2800
|
+
end
|
2801
|
+
end
|
2802
|
+
|
2672
2803
|
# Structure of a DeveloperSubscription.
|
2673
2804
|
class GoogleCloudApigeeV1DeveloperSubscription
|
2674
2805
|
include Google::Apis::Core::Hashable
|
@@ -3788,6 +3919,26 @@ module Google
|
|
3788
3919
|
end
|
3789
3920
|
end
|
3790
3921
|
|
3922
|
+
# Configuration for the Integration add-on.
|
3923
|
+
class GoogleCloudApigeeV1IntegrationConfig
|
3924
|
+
include Google::Apis::Core::Hashable
|
3925
|
+
|
3926
|
+
# Flag that specifies whether the Integration add-on is enabled.
|
3927
|
+
# Corresponds to the JSON property `enabled`
|
3928
|
+
# @return [Boolean]
|
3929
|
+
attr_accessor :enabled
|
3930
|
+
alias_method :enabled?, :enabled
|
3931
|
+
|
3932
|
+
def initialize(**args)
|
3933
|
+
update!(**args)
|
3934
|
+
end
|
3935
|
+
|
3936
|
+
# Update properties of this object
|
3937
|
+
def update!(**args)
|
3938
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
3939
|
+
end
|
3940
|
+
end
|
3941
|
+
|
3791
3942
|
#
|
3792
3943
|
class GoogleCloudApigeeV1KeyAliasReference
|
3793
3944
|
include Google::Apis::Core::Hashable
|
@@ -4928,7 +5079,7 @@ module Google
|
|
4928
5079
|
# @return [String]
|
4929
5080
|
attr_accessor :description
|
4930
5081
|
|
4931
|
-
#
|
5082
|
+
# Display name for the Apigee organization. Unused, but reserved for future use.
|
4932
5083
|
# Corresponds to the JSON property `displayName`
|
4933
5084
|
# @return [String]
|
4934
5085
|
attr_accessor :display_name
|
@@ -5552,7 +5703,10 @@ module Google
|
|
5552
5703
|
# @return [String]
|
5553
5704
|
attr_accessor :name
|
5554
5705
|
|
5555
|
-
#
|
5706
|
+
# DEPRECATED: This field is no longer supported and will eventually be removed
|
5707
|
+
# when Apigee Hybrid 1.5/1.6 is no longer supported. Instead, use the `
|
5708
|
+
# billingType` field inside `DeveloperMonetizationConfig` resource. Flag that
|
5709
|
+
# specifies the billing account type, prepaid or postpaid.
|
5556
5710
|
# Corresponds to the JSON property `paymentFundingModel`
|
5557
5711
|
# @return [String]
|
5558
5712
|
attr_accessor :payment_funding_model
|
@@ -7419,7 +7573,12 @@ module Google
|
|
7419
7573
|
|
7420
7574
|
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
7421
7575
|
# condition` that determines how and when the `bindings` are applied. Each of
|
7422
|
-
# the `bindings` must contain at least one member.
|
7576
|
+
# the `bindings` must contain at least one member. The `bindings` in a `Policy`
|
7577
|
+
# can refer to up to 1,500 members; up to 250 of these members can be Google
|
7578
|
+
# groups. Each occurrence of a member counts towards these limits. For example,
|
7579
|
+
# if the `bindings` grant 50 different roles to `user:alice@example.com`, and
|
7580
|
+
# not to any other member, then you can add another 1,450 members to the `
|
7581
|
+
# bindings` in the `Policy`.
|
7423
7582
|
# Corresponds to the JSON property `bindings`
|
7424
7583
|
# @return [Array<Google::Apis::ApigeeV1::GoogleIamV1Binding>]
|
7425
7584
|
attr_accessor :bindings
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ApigeeV1
|
18
18
|
# Version of the google-apis-apigee_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.24.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211002"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -214,12 +214,24 @@ module Google
|
|
214
214
|
include Google::Apis::Core::JsonObjectSupport
|
215
215
|
end
|
216
216
|
|
217
|
+
class GoogleCloudApigeeV1ConnectorsPlatformConfig
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
217
223
|
class GoogleCloudApigeeV1Credential
|
218
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
225
|
|
220
226
|
include Google::Apis::Core::JsonObjectSupport
|
221
227
|
end
|
222
228
|
|
229
|
+
class GoogleCloudApigeeV1CreditDeveloperBalanceRequest
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
223
235
|
class GoogleCloudApigeeV1CustomReport
|
224
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
237
|
|
@@ -340,6 +352,24 @@ module Google
|
|
340
352
|
include Google::Apis::Core::JsonObjectSupport
|
341
353
|
end
|
342
354
|
|
355
|
+
class GoogleCloudApigeeV1DeveloperBalance
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
361
|
+
class GoogleCloudApigeeV1DeveloperBalanceWallet
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
367
|
+
class GoogleCloudApigeeV1DeveloperMonetizationConfig
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
343
373
|
class GoogleCloudApigeeV1DeveloperSubscription
|
344
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
375
|
|
@@ -502,6 +532,12 @@ module Google
|
|
502
532
|
include Google::Apis::Core::JsonObjectSupport
|
503
533
|
end
|
504
534
|
|
535
|
+
class GoogleCloudApigeeV1IntegrationConfig
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
505
541
|
class GoogleCloudApigeeV1KeyAliasReference
|
506
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
543
|
|
@@ -1235,6 +1271,10 @@ module Google
|
|
1235
1271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1236
1272
|
property :advanced_api_ops_config, as: 'advancedApiOpsConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig::Representation
|
1237
1273
|
|
1274
|
+
property :connectors_platform_config, as: 'connectorsPlatformConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ConnectorsPlatformConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ConnectorsPlatformConfig::Representation
|
1275
|
+
|
1276
|
+
property :integration_config, as: 'integrationConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1IntegrationConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1IntegrationConfig::Representation
|
1277
|
+
|
1238
1278
|
property :monetization_config, as: 'monetizationConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig::Representation
|
1239
1279
|
|
1240
1280
|
end
|
@@ -1530,6 +1570,14 @@ module Google
|
|
1530
1570
|
end
|
1531
1571
|
end
|
1532
1572
|
|
1573
|
+
class GoogleCloudApigeeV1ConnectorsPlatformConfig
|
1574
|
+
# @private
|
1575
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1576
|
+
property :enabled, as: 'enabled'
|
1577
|
+
property :expires_at, :numeric_string => true, as: 'expiresAt'
|
1578
|
+
end
|
1579
|
+
end
|
1580
|
+
|
1533
1581
|
class GoogleCloudApigeeV1Credential
|
1534
1582
|
# @private
|
1535
1583
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1546,6 +1594,15 @@ module Google
|
|
1546
1594
|
end
|
1547
1595
|
end
|
1548
1596
|
|
1597
|
+
class GoogleCloudApigeeV1CreditDeveloperBalanceRequest
|
1598
|
+
# @private
|
1599
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1600
|
+
property :transaction_amount, as: 'transactionAmount', class: Google::Apis::ApigeeV1::GoogleTypeMoney, decorator: Google::Apis::ApigeeV1::GoogleTypeMoney::Representation
|
1601
|
+
|
1602
|
+
property :transaction_id, as: 'transactionId'
|
1603
|
+
end
|
1604
|
+
end
|
1605
|
+
|
1549
1606
|
class GoogleCloudApigeeV1CustomReport
|
1550
1607
|
# @private
|
1551
1608
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1815,6 +1872,30 @@ module Google
|
|
1815
1872
|
end
|
1816
1873
|
end
|
1817
1874
|
|
1875
|
+
class GoogleCloudApigeeV1DeveloperBalance
|
1876
|
+
# @private
|
1877
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1878
|
+
collection :wallets, as: 'wallets', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalanceWallet, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalanceWallet::Representation
|
1879
|
+
|
1880
|
+
end
|
1881
|
+
end
|
1882
|
+
|
1883
|
+
class GoogleCloudApigeeV1DeveloperBalanceWallet
|
1884
|
+
# @private
|
1885
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1886
|
+
property :balance, as: 'balance', class: Google::Apis::ApigeeV1::GoogleTypeMoney, decorator: Google::Apis::ApigeeV1::GoogleTypeMoney::Representation
|
1887
|
+
|
1888
|
+
property :last_credit_time, :numeric_string => true, as: 'lastCreditTime'
|
1889
|
+
end
|
1890
|
+
end
|
1891
|
+
|
1892
|
+
class GoogleCloudApigeeV1DeveloperMonetizationConfig
|
1893
|
+
# @private
|
1894
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1895
|
+
property :billing_type, as: 'billingType'
|
1896
|
+
end
|
1897
|
+
end
|
1898
|
+
|
1818
1899
|
class GoogleCloudApigeeV1DeveloperSubscription
|
1819
1900
|
# @private
|
1820
1901
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2110,6 +2191,13 @@ module Google
|
|
2110
2191
|
end
|
2111
2192
|
end
|
2112
2193
|
|
2194
|
+
class GoogleCloudApigeeV1IntegrationConfig
|
2195
|
+
# @private
|
2196
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2197
|
+
property :enabled, as: 'enabled'
|
2198
|
+
end
|
2199
|
+
end
|
2200
|
+
|
2113
2201
|
class GoogleCloudApigeeV1KeyAliasReference
|
2114
2202
|
# @private
|
2115
2203
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2123,6 +2123,69 @@ module Google
|
|
2123
2123
|
execute_or_queue_command(command, &block)
|
2124
2124
|
end
|
2125
2125
|
|
2126
|
+
# Gets the account balance for the developer.
|
2127
|
+
# @param [String] name
|
2128
|
+
# Required. Account balance for the developer. Use the following structure in
|
2129
|
+
# your request: `organizations/`org`/developers/`developer`/balance`
|
2130
|
+
# @param [String] fields
|
2131
|
+
# Selector specifying which fields to include in a partial response.
|
2132
|
+
# @param [String] quota_user
|
2133
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2134
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2135
|
+
# @param [Google::Apis::RequestOptions] options
|
2136
|
+
# Request-specific options
|
2137
|
+
#
|
2138
|
+
# @yield [result, err] Result & error if block supplied
|
2139
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance] parsed result object
|
2140
|
+
# @yieldparam err [StandardError] error object if request failed
|
2141
|
+
#
|
2142
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance]
|
2143
|
+
#
|
2144
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2145
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2146
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2147
|
+
def get_organization_developer_balance(name, fields: nil, quota_user: nil, options: nil, &block)
|
2148
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2149
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance::Representation
|
2150
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance
|
2151
|
+
command.params['name'] = name unless name.nil?
|
2152
|
+
command.query['fields'] = fields unless fields.nil?
|
2153
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2154
|
+
execute_or_queue_command(command, &block)
|
2155
|
+
end
|
2156
|
+
|
2157
|
+
# Gets the monetization configuration for the developer.
|
2158
|
+
# @param [String] name
|
2159
|
+
# Required. Monetization configuration for the developer. Use the following
|
2160
|
+
# structure in your request: `organizations/`org`/developers/`developer`/
|
2161
|
+
# monetizationConfig`
|
2162
|
+
# @param [String] fields
|
2163
|
+
# Selector specifying which fields to include in a partial response.
|
2164
|
+
# @param [String] quota_user
|
2165
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2166
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2167
|
+
# @param [Google::Apis::RequestOptions] options
|
2168
|
+
# Request-specific options
|
2169
|
+
#
|
2170
|
+
# @yield [result, err] Result & error if block supplied
|
2171
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig] parsed result object
|
2172
|
+
# @yieldparam err [StandardError] error object if request failed
|
2173
|
+
#
|
2174
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig]
|
2175
|
+
#
|
2176
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2177
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2178
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2179
|
+
def get_organization_developer_monetization_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
2180
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2181
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig::Representation
|
2182
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig
|
2183
|
+
command.params['name'] = name unless name.nil?
|
2184
|
+
command.query['fields'] = fields unless fields.nil?
|
2185
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2186
|
+
execute_or_queue_command(command, &block)
|
2187
|
+
end
|
2188
|
+
|
2126
2189
|
# Lists all developers in an organization by email address. By default, the
|
2127
2190
|
# response does not include company developers. Set the `includeCompany` query
|
2128
2191
|
# parameter to `true` to include company developers. **Note**: A maximum of 1000
|
@@ -2269,6 +2332,41 @@ module Google
|
|
2269
2332
|
execute_or_queue_command(command, &block)
|
2270
2333
|
end
|
2271
2334
|
|
2335
|
+
# Updates the monetization configuration for the developer.
|
2336
|
+
# @param [String] name
|
2337
|
+
# Required. Monetization configuration for the developer. Use the following
|
2338
|
+
# structure in your request: `organizations/`org`/developers/`developer`/
|
2339
|
+
# monetizationConfig`
|
2340
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig] google_cloud_apigee_v1_developer_monetization_config_object
|
2341
|
+
# @param [String] fields
|
2342
|
+
# Selector specifying which fields to include in a partial response.
|
2343
|
+
# @param [String] quota_user
|
2344
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2345
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2346
|
+
# @param [Google::Apis::RequestOptions] options
|
2347
|
+
# Request-specific options
|
2348
|
+
#
|
2349
|
+
# @yield [result, err] Result & error if block supplied
|
2350
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig] parsed result object
|
2351
|
+
# @yieldparam err [StandardError] error object if request failed
|
2352
|
+
#
|
2353
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig]
|
2354
|
+
#
|
2355
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2356
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2357
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2358
|
+
def update_organization_developer_monetization_config(name, google_cloud_apigee_v1_developer_monetization_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2359
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
2360
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig::Representation
|
2361
|
+
command.request_object = google_cloud_apigee_v1_developer_monetization_config_object
|
2362
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig::Representation
|
2363
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig
|
2364
|
+
command.params['name'] = name unless name.nil?
|
2365
|
+
command.query['fields'] = fields unless fields.nil?
|
2366
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2367
|
+
execute_or_queue_command(command, &block)
|
2368
|
+
end
|
2369
|
+
|
2272
2370
|
# Updates attributes for a developer app. This API replaces the current
|
2273
2371
|
# attributes with those specified in the request.
|
2274
2372
|
# @param [String] name
|
@@ -3158,6 +3256,40 @@ module Google
|
|
3158
3256
|
execute_or_queue_command(command, &block)
|
3159
3257
|
end
|
3160
3258
|
|
3259
|
+
# Credits the account balance for the developer.
|
3260
|
+
# @param [String] name
|
3261
|
+
# Required. Account balance for the developer. Use the following structure in
|
3262
|
+
# your request: `organizations/`org`/developers/`developer`/balance`
|
3263
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CreditDeveloperBalanceRequest] google_cloud_apigee_v1_credit_developer_balance_request_object
|
3264
|
+
# @param [String] fields
|
3265
|
+
# Selector specifying which fields to include in a partial response.
|
3266
|
+
# @param [String] quota_user
|
3267
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3268
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3269
|
+
# @param [Google::Apis::RequestOptions] options
|
3270
|
+
# Request-specific options
|
3271
|
+
#
|
3272
|
+
# @yield [result, err] Result & error if block supplied
|
3273
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance] parsed result object
|
3274
|
+
# @yieldparam err [StandardError] error object if request failed
|
3275
|
+
#
|
3276
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance]
|
3277
|
+
#
|
3278
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3279
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3280
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3281
|
+
def credit_organization_developer_balance(name, google_cloud_apigee_v1_credit_developer_balance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3282
|
+
command = make_simple_command(:post, 'v1/{+name}:credit', options)
|
3283
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CreditDeveloperBalanceRequest::Representation
|
3284
|
+
command.request_object = google_cloud_apigee_v1_credit_developer_balance_request_object
|
3285
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance::Representation
|
3286
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance
|
3287
|
+
command.params['name'] = name unless name.nil?
|
3288
|
+
command.query['fields'] = fields unless fields.nil?
|
3289
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3290
|
+
execute_or_queue_command(command, &block)
|
3291
|
+
end
|
3292
|
+
|
3161
3293
|
# Creates a subscription to an API product.
|
3162
3294
|
# @param [String] parent
|
3163
3295
|
# Required. Email address of the developer that is purchasing a subscription to
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-apigee_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-apigee_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.24.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-apigee_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|