google-apis-apigee_v1 0.27.0 → 0.31.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/OVERVIEW.md +1 -1
- data/lib/google/apis/apigee_v1/classes.rb +31 -6
- data/lib/google/apis/apigee_v1/gem_version.rb +2 -2
- data/lib/google/apis/apigee_v1/representations.rb +15 -0
- data/lib/google/apis/apigee_v1/service.rb +35 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89f9271f9faccf1a1a6f90ddc74d64c9b4d225d890cca2b03048165d22ba2615
|
4
|
+
data.tar.gz: f8cb1257bb4a146751a3ae1a25ebdf802014469297478515aee37de146161dd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc92e62a1bad11c588982b0d3e0866f72a8d5bdb8a7f4aed7eceaa69f6e3f6f8d8fbf6b642f1f2b0f532658e1a15bd2bc1796a6c63d2c6d7d6c4aee29d4beda3
|
7
|
+
data.tar.gz: ed0525dca73671afaff817647fedfea7630a2904a2a1f0c43165689e28dfee411185a57f65545326d25e0145fbb16aea363c25889f44dcf93c59ca92860da97f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-apigee_v1
|
2
2
|
|
3
|
+
### v0.31.0 (2022-01-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220105
|
6
|
+
|
7
|
+
### v0.30.0 (2021-12-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211209
|
10
|
+
|
11
|
+
### v0.29.0 (2021-12-07)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211203
|
14
|
+
|
15
|
+
### v0.28.0 (2021-11-16)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211111
|
18
|
+
|
3
19
|
### v0.27.0 (2021-11-10)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20211108
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/apigee_v1"
|
|
51
51
|
client = Google::Apis::ApigeeV1::ApigeeService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -285,6 +285,25 @@ module Google
|
|
285
285
|
end
|
286
286
|
end
|
287
287
|
|
288
|
+
# Request for AdjustDeveloperBalance.
|
289
|
+
class GoogleCloudApigeeV1AdjustDeveloperBalanceRequest
|
290
|
+
include Google::Apis::Core::Hashable
|
291
|
+
|
292
|
+
# Represents an amount of money with its currency type.
|
293
|
+
# Corresponds to the JSON property `adjustment`
|
294
|
+
# @return [Google::Apis::ApigeeV1::GoogleTypeMoney]
|
295
|
+
attr_accessor :adjustment
|
296
|
+
|
297
|
+
def initialize(**args)
|
298
|
+
update!(**args)
|
299
|
+
end
|
300
|
+
|
301
|
+
# Update properties of this object
|
302
|
+
def update!(**args)
|
303
|
+
@adjustment = args[:adjustment] if args.key?(:adjustment)
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
288
307
|
# Configuration for the Advanced API Ops add-on.
|
289
308
|
class GoogleCloudApigeeV1AdvancedApiOpsConfig
|
290
309
|
include Google::Apis::Core::Hashable
|
@@ -620,7 +639,7 @@ module Google
|
|
620
639
|
# @return [String]
|
621
640
|
attr_accessor :apiproduct
|
622
641
|
|
623
|
-
# Status of the API product.
|
642
|
+
# Status of the API product. Valid values are `approved` or `revoked`.
|
624
643
|
# Corresponds to the JSON property `status`
|
625
644
|
# @return [String]
|
626
645
|
attr_accessor :status
|
@@ -1510,7 +1529,7 @@ module Google
|
|
1510
1529
|
attr_accessor :enabled
|
1511
1530
|
alias_method :enabled?, :enabled
|
1512
1531
|
|
1513
|
-
# Output only. Time at which the Connectors Platform add-on expires in
|
1532
|
+
# Output only. Time at which the Connectors Platform add-on expires in
|
1514
1533
|
# milliseconds since epoch. If unspecified, the add-on will never expire.
|
1515
1534
|
# Corresponds to the JSON property `expiresAt`
|
1516
1535
|
# @return [Fixnum]
|
@@ -1567,7 +1586,7 @@ module Google
|
|
1567
1586
|
# @return [Array<String>]
|
1568
1587
|
attr_accessor :scopes
|
1569
1588
|
|
1570
|
-
# Status of the credential.
|
1589
|
+
# Status of the credential. Valid values include `approved` or `revoked`.
|
1571
1590
|
# Corresponds to the JSON property `status`
|
1572
1591
|
# @return [String]
|
1573
1592
|
attr_accessor :status
|
@@ -5205,7 +5224,13 @@ module Google
|
|
5205
5224
|
# @return [String]
|
5206
5225
|
attr_accessor :organization
|
5207
5226
|
|
5208
|
-
#
|
5227
|
+
# GCP project associated with the Apigee organization
|
5228
|
+
# Corresponds to the JSON property `projectId`
|
5229
|
+
# @return [String]
|
5230
|
+
attr_accessor :project_id
|
5231
|
+
|
5232
|
+
# DEPRECATED: Use `project_id`. An Apigee Organization is mapped to a single
|
5233
|
+
# project.
|
5209
5234
|
# Corresponds to the JSON property `projectIds`
|
5210
5235
|
# @return [Array<String>]
|
5211
5236
|
attr_accessor :project_ids
|
@@ -5217,6 +5242,7 @@ module Google
|
|
5217
5242
|
# Update properties of this object
|
5218
5243
|
def update!(**args)
|
5219
5244
|
@organization = args[:organization] if args.key?(:organization)
|
5245
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
5220
5246
|
@project_ids = args[:project_ids] if args.key?(:project_ids)
|
5221
5247
|
end
|
5222
5248
|
end
|
@@ -7137,7 +7163,6 @@ module Google
|
|
7137
7163
|
attr_accessor :key_alias
|
7138
7164
|
|
7139
7165
|
# Required if `client_auth_enabled` is true. The resource ID of the keystore.
|
7140
|
-
# References not yet supported.
|
7141
7166
|
# Corresponds to the JSON property `keyStore`
|
7142
7167
|
# @return [String]
|
7143
7168
|
attr_accessor :key_store
|
@@ -7147,7 +7172,7 @@ module Google
|
|
7147
7172
|
# @return [Array<String>]
|
7148
7173
|
attr_accessor :protocols
|
7149
7174
|
|
7150
|
-
# The resource ID of the truststore.
|
7175
|
+
# The resource ID of the truststore.
|
7151
7176
|
# Corresponds to the JSON property `trustStore`
|
7152
7177
|
# @return [String]
|
7153
7178
|
attr_accessor :trust_store
|
@@ -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.31.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 = "20220105"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,12 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class GoogleCloudApigeeV1AdjustDeveloperBalanceRequest
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
79
85
|
class GoogleCloudApigeeV1AdvancedApiOpsConfig
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
87
|
|
@@ -1280,6 +1286,14 @@ module Google
|
|
1280
1286
|
end
|
1281
1287
|
end
|
1282
1288
|
|
1289
|
+
class GoogleCloudApigeeV1AdjustDeveloperBalanceRequest
|
1290
|
+
# @private
|
1291
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1292
|
+
property :adjustment, as: 'adjustment', class: Google::Apis::ApigeeV1::GoogleTypeMoney, decorator: Google::Apis::ApigeeV1::GoogleTypeMoney::Representation
|
1293
|
+
|
1294
|
+
end
|
1295
|
+
end
|
1296
|
+
|
1283
1297
|
class GoogleCloudApigeeV1AdvancedApiOpsConfig
|
1284
1298
|
# @private
|
1285
1299
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2599,6 +2613,7 @@ module Google
|
|
2599
2613
|
# @private
|
2600
2614
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2601
2615
|
property :organization, as: 'organization'
|
2616
|
+
property :project_id, as: 'projectId'
|
2602
2617
|
collection :project_ids, as: 'projectIds'
|
2603
2618
|
end
|
2604
2619
|
end
|
@@ -3257,6 +3257,41 @@ module Google
|
|
3257
3257
|
execute_or_queue_command(command, &block)
|
3258
3258
|
end
|
3259
3259
|
|
3260
|
+
# Adjust the prepaid balance for the developer. This API will be used in
|
3261
|
+
# scenarios where the developer has been under-charged or over-charged.
|
3262
|
+
# @param [String] name
|
3263
|
+
# Required. Account balance for the developer. Use the following structure in
|
3264
|
+
# your request: `organizations/`org`/developers/`developer`/balance`
|
3265
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdjustDeveloperBalanceRequest] google_cloud_apigee_v1_adjust_developer_balance_request_object
|
3266
|
+
# @param [String] fields
|
3267
|
+
# Selector specifying which fields to include in a partial response.
|
3268
|
+
# @param [String] quota_user
|
3269
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3270
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3271
|
+
# @param [Google::Apis::RequestOptions] options
|
3272
|
+
# Request-specific options
|
3273
|
+
#
|
3274
|
+
# @yield [result, err] Result & error if block supplied
|
3275
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance] parsed result object
|
3276
|
+
# @yieldparam err [StandardError] error object if request failed
|
3277
|
+
#
|
3278
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance]
|
3279
|
+
#
|
3280
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3281
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3282
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3283
|
+
def adjust_organization_developer_balance(name, google_cloud_apigee_v1_adjust_developer_balance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3284
|
+
command = make_simple_command(:post, 'v1/{+name}:adjust', options)
|
3285
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdjustDeveloperBalanceRequest::Representation
|
3286
|
+
command.request_object = google_cloud_apigee_v1_adjust_developer_balance_request_object
|
3287
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance::Representation
|
3288
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance
|
3289
|
+
command.params['name'] = name unless name.nil?
|
3290
|
+
command.query['fields'] = fields unless fields.nil?
|
3291
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3292
|
+
execute_or_queue_command(command, &block)
|
3293
|
+
end
|
3294
|
+
|
3260
3295
|
# Credits the account balance for the developer.
|
3261
3296
|
# @param [String] name
|
3262
3297
|
# Required. Account balance for the developer. Use the following structure in
|
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.31.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:
|
11
|
+
date: 2022-01-17 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/main/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.31.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Apigee API V1
|