google-apis-apigee_v1 0.26.0 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5df0c3830c56bebf4f19e70ccd3b789acfbfe3356992cb6ac79469315af800d
4
- data.tar.gz: 3a6468bb3d87b35f80bc73fa8d88a71719c93f7edd5af09671ea3270d9e917fb
3
+ metadata.gz: 720f238f3c52bfd321cc5cc3284a9a08b018e42dfff656747f5a8e2efe9c23ee
4
+ data.tar.gz: 26ea7d36d6e435cbdd98e5ebb3ddd4e6c574153bde1f071f8e462fe0fd6b0a87
5
5
  SHA512:
6
- metadata.gz: '06298b0173f747cb598817a3be4b2567295c5fe2bfd40bb61d766e439dfdc823e7088268fbebc379af78a6bbedb484e1286f8d4cbc9c7cad5b9789d3a51bf15b'
7
- data.tar.gz: 5a7bdc9dd72588e591b0c9f0401c9ecf55dc026a675cb81ee08b6e9af6fb5cb603f1828309a2fe5152d496b3d5284948b06f2ddb8365a8a2fe0ebd9ac254c804
6
+ metadata.gz: 73d4f766c8178f6ea72ef4a24fe2c04dc7d24165edf10397a6fc6e93e73474fbb564ccae75edad9fad5af172ef14a3bad74cba09cb84c7038b8db7c4aa9e7bb8
7
+ data.tar.gz: b37c1db2a6633ab39b7b9d8c7641859117c55693dd21a147ed4c82b02f98d34eca72f7e0979e8f86732182a5aba24c06713f0bcca933ba4117bebe0af6abc341
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.30.0 (2021-12-14)
4
+
5
+ * Regenerated from discovery document revision 20211209
6
+
7
+ ### v0.29.0 (2021-12-07)
8
+
9
+ * Regenerated from discovery document revision 20211203
10
+
11
+ ### v0.28.0 (2021-11-16)
12
+
13
+ * Regenerated from discovery document revision 20211111
14
+
15
+ ### v0.27.0 (2021-11-10)
16
+
17
+ * Regenerated from discovery document revision 20211108
18
+
3
19
  ### v0.26.0 (2021-11-03)
4
20
 
5
21
  * Regenerated from discovery document revision 20211101
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.authentication = # ... use the googleauth gem to create credentials
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 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
- # List of GCP projects associated with the Apigee organization.
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
@@ -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.26.0"
19
+ GEM_VERSION = "0.30.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 = "20211101"
25
+ REVISION = "20211209"
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
@@ -1767,7 +1767,8 @@ module Google
1767
1767
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector] google_cloud_apigee_v1_data_collector_object
1768
1768
  # @param [String] data_collector_id
1769
1769
  # ID of the data collector. Overrides any ID in the data collector resource.
1770
- # Must begin with `dc_`.
1770
+ # Must be a string beginning with `dc_` that contains only letters, numbers, and
1771
+ # underscores.
1771
1772
  # @param [String] fields
1772
1773
  # Selector specifying which fields to include in a partial response.
1773
1774
  # @param [String] quota_user
@@ -3256,6 +3257,41 @@ module Google
3256
3257
  execute_or_queue_command(command, &block)
3257
3258
  end
3258
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
+
3259
3295
  # Credits the account balance for the developer.
3260
3296
  # @param [String] name
3261
3297
  # Required. Account balance for the developer. Use the following structure in
@@ -3915,13 +3951,16 @@ module Google
3915
3951
  # REQUIRED: The resource for which the policy is being requested. See the
3916
3952
  # operation documentation for the appropriate value for this field.
3917
3953
  # @param [Fixnum] options_requested_policy_version
3918
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
3919
- # 3. Requests specifying an invalid value will be rejected. Requests for
3920
- # policies with any conditional bindings must specify version 3. Policies
3921
- # without any conditional bindings may specify any valid value or leave the
3922
- # field unset. To learn which resources support conditions in their IAM policies,
3923
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
3924
- # resource-policies).
3954
+ # Optional. The maximum policy version that will be used to format the policy.
3955
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
3956
+ # rejected. Requests for policies with any conditional role bindings must
3957
+ # specify version 3. Policies with no conditional role bindings may specify any
3958
+ # valid value or leave the field unset. The policy in the response might use the
3959
+ # policy version that you specified, or it might use a lower policy version. For
3960
+ # example, if you specify version 3, but the policy has no conditional role
3961
+ # bindings, the response uses version 1. To learn which resources support
3962
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
3963
+ # google.com/iam/help/conditions/resource-policies).
3925
3964
  # @param [String] fields
3926
3965
  # Selector specifying which fields to include in a partial response.
3927
3966
  # @param [String] quota_user
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.26.0
4
+ version: 0.30.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-08 00:00:00.000000000 Z
11
+ date: 2022-01-10 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.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.30.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.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Apigee API V1