google-apis-apigee_v1 0.28.0 → 0.29.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f8024e2d72a8b6401c10241cbe3269503ebd7c251302f15d0d983cc4ad644cd
4
- data.tar.gz: b75c37d5ce6b0a8dbf963633f24ada3112df6e38dc795ad3ec51917d49af7510
3
+ metadata.gz: b7553941e160f976a17757cc0d453e593ff8166fbf0fb57c9e81b473b52351aa
4
+ data.tar.gz: f418c01d6482b359d9fab980de5c1078533fdb46ae81ed2271e35d28e71b9881
5
5
  SHA512:
6
- metadata.gz: e38cffb84a3aa99f64f1f8651347c92d552e9061f1d4d7761f8f0a17106cb5b1f9d56b44b9c45206e9387e3a7dc1350265b3b3d293aeb554d81c4ae904d1fabc
7
- data.tar.gz: 79501a9a6861ca2cd86ab817fcebb6c0b053a5f1b4183bc607b49033720a8b4f509eb6c54518ad8f0b4dc0e81ebbbe1d494960dd3f6353ac0b6c8595367d5f19
6
+ metadata.gz: e7246bcd7f167eb347398804a56f24dca232b67b23f2b97c1d8364182fffdcdfd27808f27fc46a42598e9126cb7c1d2d17d784d14306cf130825da234a918495
7
+ data.tar.gz: d78fbb643d698095ee46349cc6d371bd900d03f0786f2c0baef5e40ee94ad6480cfae355e717b8451e75ddc9d85a783b527e23c29c34ad74d82c4a9985566612
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.29.0 (2021-12-07)
4
+
5
+ * Regenerated from discovery document revision 20211203
6
+
3
7
  ### v0.28.0 (2021-11-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20211111
@@ -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
@@ -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.28.0"
19
+ GEM_VERSION = "0.29.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 = "20211111"
25
+ REVISION = "20211203"
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
@@ -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.28.0
4
+ version: 0.29.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-12-06 00:00:00.000000000 Z
11
+ date: 2021-12-13 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.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.29.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: []