google-apis-apigee_v1 0.28.0 → 0.32.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: 4f8024e2d72a8b6401c10241cbe3269503ebd7c251302f15d0d983cc4ad644cd
4
- data.tar.gz: b75c37d5ce6b0a8dbf963633f24ada3112df6e38dc795ad3ec51917d49af7510
3
+ metadata.gz: 616df49b31b6ccea8697ae0ded0e168b5aaa0c9830a00a8ee2f136f967dfecc5
4
+ data.tar.gz: c009ae00f8fbcd1e29730f071519317f2c49164129b31bab3efd768d26a540cd
5
5
  SHA512:
6
- metadata.gz: e38cffb84a3aa99f64f1f8651347c92d552e9061f1d4d7761f8f0a17106cb5b1f9d56b44b9c45206e9387e3a7dc1350265b3b3d293aeb554d81c4ae904d1fabc
7
- data.tar.gz: 79501a9a6861ca2cd86ab817fcebb6c0b053a5f1b4183bc607b49033720a8b4f509eb6c54518ad8f0b4dc0e81ebbbe1d494960dd3f6353ac0b6c8595367d5f19
6
+ metadata.gz: da4c7a1fa81673b06c7307730d385a12e04319c0987a8d7744c6ae95b99d5d7652caccbad57b209b75349907652264544b68b85042e42b83627270bd83f56a41
7
+ data.tar.gz: 7ea51f7fb63a46d4714c163777ca47abacc6830381c8f8102ef8f119afbe78434dcb6889f66bee676607dc0f7f16629e29a4fef69ab1e63756280fa0baf29f57
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.32.0 (2022-01-21)
4
+
5
+ * Regenerated from discovery document revision 20220119
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.31.0 (2022-01-11)
9
+
10
+ * Regenerated from discovery document revision 20220105
11
+
12
+ ### v0.30.0 (2021-12-14)
13
+
14
+ * Regenerated from discovery document revision 20211209
15
+
16
+ ### v0.29.0 (2021-12-07)
17
+
18
+ * Regenerated from discovery document revision 20211203
19
+
3
20
  ### v0.28.0 (2021-11-16)
4
21
 
5
22
  * Regenerated from discovery document revision 20211111
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
@@ -3739,6 +3758,18 @@ module Google
3739
3758
  # @return [String]
3740
3759
  attr_accessor :host
3741
3760
 
3761
+ # Optional. IP range represents the customer-provided CIDR block of length 22
3762
+ # that will be used for the Apigee instance creation. This optional range, if
3763
+ # provided, should be freely available as part of larger named range the
3764
+ # customer has allocated to the Service Networking peering. If this is not
3765
+ # provided, Apigee will automatically request for any available /22 CIDR block
3766
+ # from Service Networking. The customer should use this CIDR block for
3767
+ # configuring their firewall needs to allow traffic from Apigee. Input format: "
3768
+ # a.b.c.d/22", Output format: a.b.c.d/22, e.f.g.h/28"
3769
+ # Corresponds to the JSON property `ipRange`
3770
+ # @return [String]
3771
+ attr_accessor :ip_range
3772
+
3742
3773
  # Output only. Time the instance was last modified in milliseconds since epoch.
3743
3774
  # Corresponds to the JSON property `lastModifiedAt`
3744
3775
  # @return [Fixnum]
@@ -3791,6 +3822,7 @@ module Google
3791
3822
  @disk_encryption_key_name = args[:disk_encryption_key_name] if args.key?(:disk_encryption_key_name)
3792
3823
  @display_name = args[:display_name] if args.key?(:display_name)
3793
3824
  @host = args[:host] if args.key?(:host)
3825
+ @ip_range = args[:ip_range] if args.key?(:ip_range)
3794
3826
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
3795
3827
  @location = args[:location] if args.key?(:location)
3796
3828
  @name = args[:name] if args.key?(:name)
@@ -3973,17 +4005,18 @@ module Google
3973
4005
  end
3974
4006
  end
3975
4007
 
3976
- # A collection of key, value string pairs
4008
+ # Collection of key/value string pairs.
3977
4009
  class GoogleCloudApigeeV1KeyValueMap
3978
4010
  include Google::Apis::Core::Hashable
3979
4011
 
3980
- # Optional. If `true` entry values will be encrypted.
4012
+ # Optional. Flag that specifies whether entry values will be encrypted. Enable
4013
+ # to encrypt entry values.
3981
4014
  # Corresponds to the JSON property `encrypted`
3982
4015
  # @return [Boolean]
3983
4016
  attr_accessor :encrypted
3984
4017
  alias_method :encrypted?, :encrypted
3985
4018
 
3986
- # Required. The id of the key value map.
4019
+ # Required. ID of the key value map.
3987
4020
  # Corresponds to the JSON property `name`
3988
4021
  # @return [String]
3989
4022
  attr_accessor :name
@@ -5205,7 +5238,13 @@ module Google
5205
5238
  # @return [String]
5206
5239
  attr_accessor :organization
5207
5240
 
5208
- # List of GCP projects associated with the Apigee organization.
5241
+ # GCP project associated with the Apigee organization
5242
+ # Corresponds to the JSON property `projectId`
5243
+ # @return [String]
5244
+ attr_accessor :project_id
5245
+
5246
+ # DEPRECATED: Use `project_id`. An Apigee Organization is mapped to a single
5247
+ # project.
5209
5248
  # Corresponds to the JSON property `projectIds`
5210
5249
  # @return [Array<String>]
5211
5250
  attr_accessor :project_ids
@@ -5217,6 +5256,7 @@ module Google
5217
5256
  # Update properties of this object
5218
5257
  def update!(**args)
5219
5258
  @organization = args[:organization] if args.key?(:organization)
5259
+ @project_id = args[:project_id] if args.key?(:project_id)
5220
5260
  @project_ids = args[:project_ids] if args.key?(:project_ids)
5221
5261
  end
5222
5262
  end
@@ -6992,7 +7032,7 @@ module Google
6992
7032
  # @return [String]
6993
7033
  attr_accessor :protocol
6994
7034
 
6995
- # TLS configuration information for VirtualHosts and TargetServers.
7035
+ # TLS configuration information for virtual hosts and TargetServers.
6996
7036
  # Corresponds to the JSON property `sSLInfo`
6997
7037
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfo]
6998
7038
  attr_accessor :s_sl_info
@@ -7090,7 +7130,7 @@ module Google
7090
7130
  end
7091
7131
  end
7092
7132
 
7093
- # TLS configuration information for VirtualHosts and TargetServers.
7133
+ # TLS configuration information for virtual hosts and TargetServers.
7094
7134
  class GoogleCloudApigeeV1TlsInfo
7095
7135
  include Google::Apis::Core::Hashable
7096
7136
 
@@ -7137,7 +7177,6 @@ module Google
7137
7177
  attr_accessor :key_alias
7138
7178
 
7139
7179
  # Required if `client_auth_enabled` is true. The resource ID of the keystore.
7140
- # References not yet supported.
7141
7180
  # Corresponds to the JSON property `keyStore`
7142
7181
  # @return [String]
7143
7182
  attr_accessor :key_store
@@ -7147,7 +7186,7 @@ module Google
7147
7186
  # @return [Array<String>]
7148
7187
  attr_accessor :protocols
7149
7188
 
7150
- # The resource ID of the truststore. References not yet supported.
7189
+ # The resource ID of the truststore.
7151
7190
  # Corresponds to the JSON property `trustStore`
7152
7191
  # @return [String]
7153
7192
  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.28.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211111"
25
+ REVISION = "20220119"
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
@@ -2144,6 +2158,7 @@ module Google
2144
2158
  property :disk_encryption_key_name, as: 'diskEncryptionKeyName'
2145
2159
  property :display_name, as: 'displayName'
2146
2160
  property :host, as: 'host'
2161
+ property :ip_range, as: 'ipRange'
2147
2162
  property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
2148
2163
  property :location, as: 'location'
2149
2164
  property :name, as: 'name'
@@ -2599,6 +2614,7 @@ module Google
2599
2614
  # @private
2600
2615
  class Representation < Google::Apis::Core::JsonRepresentation
2601
2616
  property :organization, as: 'organization'
2617
+ property :project_id, as: 'projectId'
2602
2618
  collection :project_ids, as: 'projectIds'
2603
2619
  end
2604
2620
  end
@@ -1454,10 +1454,10 @@ module Google
1454
1454
  execute_or_queue_command(command, &block)
1455
1455
  end
1456
1456
 
1457
- # Creates a key value map in an api proxy.
1457
+ # Creates a key value map in an API proxy.
1458
1458
  # @param [String] parent
1459
- # Required. The name of the environment in which to create the key value map.
1460
- # Must be of the form `organizations/`organization`/apis/`api``.
1459
+ # Required. Name of the environment in which to create the key value map. Use
1460
+ # the following structure in your request: `organizations/`org`/apis/`api``
1461
1461
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] google_cloud_apigee_v1_key_value_map_object
1462
1462
  # @param [String] fields
1463
1463
  # Selector specifying which fields to include in a partial response.
@@ -1488,10 +1488,10 @@ module Google
1488
1488
  execute_or_queue_command(command, &block)
1489
1489
  end
1490
1490
 
1491
- # Delete a key value map in an api proxy.
1491
+ # Deletes a key value map from an API proxy.
1492
1492
  # @param [String] name
1493
- # Required. The name of the key value map. Must be of the form `organizations/`
1494
- # organization`/apis/`api`/keyvaluemaps/`keyvaluemap``.
1493
+ # Required. Name of the key value map. Use the following structure in your
1494
+ # request: `organizations/`org`/apis/`api`/keyvaluemaps/`keyvaluemap``
1495
1495
  # @param [String] fields
1496
1496
  # Selector specifying which fields to include in a partial response.
1497
1497
  # @param [String] quota_user
@@ -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
@@ -4130,7 +4165,8 @@ module Google
4130
4165
  # existing properties to the API, even if they are not being changed. If you
4131
4166
  # omit properties from the payload, the properties are removed. To get the
4132
4167
  # current list of properties for the environment, use the [Get Environment API](
4133
- # get).
4168
+ # get). **Note**: Both `PUT` and `POST` methods are supported for updating an
4169
+ # existing environment.
4134
4170
  # @param [String] name
4135
4171
  # Required. Name of the environment. Use the following structure in your request:
4136
4172
  # `organizations/`org`/environments/`env``
@@ -4209,7 +4245,8 @@ module Google
4209
4245
  # existing properties to the API, even if they are not being changed. If you
4210
4246
  # omit properties from the payload, the properties are removed. To get the
4211
4247
  # current list of properties for the environment, use the [Get Environment API](
4212
- # get).
4248
+ # get). **Note**: Both `PUT` and `POST` methods are supported for updating an
4249
+ # existing environment.
4213
4250
  # @param [String] name
4214
4251
  # Required. Name of the environment. Use the following structure in your request:
4215
4252
  # `organizations/`org`/environments/`env``
@@ -5626,8 +5663,9 @@ module Google
5626
5663
 
5627
5664
  # Creates a key value map in an environment.
5628
5665
  # @param [String] parent
5629
- # Required. The name of the environment in which to create the key value map.
5630
- # Must be of the form `organizations/`organization`/environments/`environment``.
5666
+ # Required. Name of the environment in which to create the key value map. Use
5667
+ # the following structure in your request: `organizations/`org`/environments/`
5668
+ # env``
5631
5669
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] google_cloud_apigee_v1_key_value_map_object
5632
5670
  # @param [String] fields
5633
5671
  # Selector specifying which fields to include in a partial response.
@@ -5658,10 +5696,10 @@ module Google
5658
5696
  execute_or_queue_command(command, &block)
5659
5697
  end
5660
5698
 
5661
- # Delete a key value map in an environment.
5699
+ # Deletes a key value map from an environment.
5662
5700
  # @param [String] name
5663
- # Required. The name of the key value map. Must be of the form `organizations/`
5664
- # organization`/environments/`environment`/keyvaluemaps/`keyvaluemap``.
5701
+ # Required. Name of the key value map. Use the following structure in your
5702
+ # request: `organizations/`org`/environments/`env`/keyvaluemaps/`keyvaluemap``
5665
5703
  # @param [String] fields
5666
5704
  # Selector specifying which fields to include in a partial response.
5667
5705
  # @param [String] quota_user
@@ -7749,8 +7787,8 @@ module Google
7749
7787
 
7750
7788
  # Creates a key value map in an organization.
7751
7789
  # @param [String] parent
7752
- # Required. The name of the organization in which to create the key value map
7753
- # file. Must be of the form `organizations/`organization``.
7790
+ # Required. Name of the organization in which to create the key value map file.
7791
+ # Use the following structure in your request: `organizations/`org``
7754
7792
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] google_cloud_apigee_v1_key_value_map_object
7755
7793
  # @param [String] fields
7756
7794
  # Selector specifying which fields to include in a partial response.
@@ -7781,10 +7819,10 @@ module Google
7781
7819
  execute_or_queue_command(command, &block)
7782
7820
  end
7783
7821
 
7784
- # Delete a key value map in an organization.
7822
+ # Deletes a key value map from an organization.
7785
7823
  # @param [String] name
7786
- # Required. The name of the key value map. Must be of the form `organizations/`
7787
- # organization`/keyvaluemaps/`keyvaluemap``.
7824
+ # Required. Name of the key value map. Use the following structure in your
7825
+ # request: `organizations/`org`/keyvaluemaps/`keyvaluemap``
7788
7826
  # @param [String] fields
7789
7827
  # Selector specifying which fields to include in a partial response.
7790
7828
  # @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.28.0
4
+ version: 0.32.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: 2022-01-24 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.32.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.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Apigee API V1