google-apis-apigee_v1 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/apigee_v1.rb +1 -1
- data/lib/google/apis/apigee_v1/classes.rb +116 -0
- data/lib/google/apis/apigee_v1/gem_version.rb +2 -2
- data/lib/google/apis/apigee_v1/representations.rb +73 -0
- data/lib/google/apis/apigee_v1/service.rb +35 -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: 14ecce82b59ffe0376840145333607d23dfc26c8883e3a48027d5d99d16f014a
|
4
|
+
data.tar.gz: e31ff2c11817e19d34fffc2012c7568495ae4ba81944065666c08a08efcaebe0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 928c9ab6695d40fe5300d6624f9d694d724c309ab269fbd7da7defdbb526d10ffc11ede42d71c44e31ac7f5d6d2e1317847533a487b28d92184034dd192fb6bd
|
7
|
+
data.tar.gz: cbacfa87ba293c7cced387c25f6a814c23223dad23438c5ca8b3281fa1a0e1e7a18a136fd811f20d7bbb9b15c13dd5bfdd8e3a7b26a68b6827ff3064af3f703f
|
data/CHANGELOG.md
CHANGED
@@ -32,7 +32,7 @@ module Google
|
|
32
32
|
# This is NOT the gem version.
|
33
33
|
VERSION = 'V1'
|
34
34
|
|
35
|
-
#
|
35
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
36
36
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
37
37
|
end
|
38
38
|
end
|
@@ -203,6 +203,57 @@ module Google
|
|
203
203
|
end
|
204
204
|
end
|
205
205
|
|
206
|
+
# Add-on configurations for the Apigee organization.
|
207
|
+
class GoogleCloudApigeeV1AddonsConfig
|
208
|
+
include Google::Apis::Core::Hashable
|
209
|
+
|
210
|
+
# Configuration for the Advanced API Ops add-on.
|
211
|
+
# Corresponds to the JSON property `advancedApiOpsConfig`
|
212
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig]
|
213
|
+
attr_accessor :advanced_api_ops_config
|
214
|
+
|
215
|
+
# Configuration for the Integration add-on.
|
216
|
+
# Corresponds to the JSON property `integrationConfig`
|
217
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1IntegrationConfig]
|
218
|
+
attr_accessor :integration_config
|
219
|
+
|
220
|
+
# Configuration for the Monetization add-on.
|
221
|
+
# Corresponds to the JSON property `monetizationConfig`
|
222
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig]
|
223
|
+
attr_accessor :monetization_config
|
224
|
+
|
225
|
+
def initialize(**args)
|
226
|
+
update!(**args)
|
227
|
+
end
|
228
|
+
|
229
|
+
# Update properties of this object
|
230
|
+
def update!(**args)
|
231
|
+
@advanced_api_ops_config = args[:advanced_api_ops_config] if args.key?(:advanced_api_ops_config)
|
232
|
+
@integration_config = args[:integration_config] if args.key?(:integration_config)
|
233
|
+
@monetization_config = args[:monetization_config] if args.key?(:monetization_config)
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
# Configuration for the Advanced API Ops add-on.
|
238
|
+
class GoogleCloudApigeeV1AdvancedApiOpsConfig
|
239
|
+
include Google::Apis::Core::Hashable
|
240
|
+
|
241
|
+
# Flag that specifies whether the Advanced API Ops add-on is enabled.
|
242
|
+
# Corresponds to the JSON property `enabled`
|
243
|
+
# @return [Boolean]
|
244
|
+
attr_accessor :enabled
|
245
|
+
alias_method :enabled?, :enabled
|
246
|
+
|
247
|
+
def initialize(**args)
|
248
|
+
update!(**args)
|
249
|
+
end
|
250
|
+
|
251
|
+
# Update properties of this object
|
252
|
+
def update!(**args)
|
253
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
206
257
|
# Reference to a certificate or key/certificate pair.
|
207
258
|
class GoogleCloudApigeeV1Alias
|
208
259
|
include Google::Apis::Core::Hashable
|
@@ -3447,6 +3498,26 @@ module Google
|
|
3447
3498
|
end
|
3448
3499
|
end
|
3449
3500
|
|
3501
|
+
# Configuration for the Integration add-on.
|
3502
|
+
class GoogleCloudApigeeV1IntegrationConfig
|
3503
|
+
include Google::Apis::Core::Hashable
|
3504
|
+
|
3505
|
+
# Flag that specifies whether the Integration add-on is enabled.
|
3506
|
+
# Corresponds to the JSON property `enabled`
|
3507
|
+
# @return [Boolean]
|
3508
|
+
attr_accessor :enabled
|
3509
|
+
alias_method :enabled?, :enabled
|
3510
|
+
|
3511
|
+
def initialize(**args)
|
3512
|
+
update!(**args)
|
3513
|
+
end
|
3514
|
+
|
3515
|
+
# Update properties of this object
|
3516
|
+
def update!(**args)
|
3517
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
3518
|
+
end
|
3519
|
+
end
|
3520
|
+
|
3450
3521
|
#
|
3451
3522
|
class GoogleCloudApigeeV1KeyAliasReference
|
3452
3523
|
include Google::Apis::Core::Hashable
|
@@ -4126,6 +4197,26 @@ module Google
|
|
4126
4197
|
end
|
4127
4198
|
end
|
4128
4199
|
|
4200
|
+
# Configuration for the Monetization add-on.
|
4201
|
+
class GoogleCloudApigeeV1MonetizationConfig
|
4202
|
+
include Google::Apis::Core::Hashable
|
4203
|
+
|
4204
|
+
# Flag that specifies whether the Monetization add-on is enabled.
|
4205
|
+
# Corresponds to the JSON property `enabled`
|
4206
|
+
# @return [Boolean]
|
4207
|
+
attr_accessor :enabled
|
4208
|
+
alias_method :enabled?, :enabled
|
4209
|
+
|
4210
|
+
def initialize(**args)
|
4211
|
+
update!(**args)
|
4212
|
+
end
|
4213
|
+
|
4214
|
+
# Update properties of this object
|
4215
|
+
def update!(**args)
|
4216
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
4217
|
+
end
|
4218
|
+
end
|
4219
|
+
|
4129
4220
|
# Apigee NAT(network address translation) address. A NAT address is a static
|
4130
4221
|
# external IP address used for Internet egress traffic.
|
4131
4222
|
class GoogleCloudApigeeV1NatAddress
|
@@ -4385,6 +4476,11 @@ module Google
|
|
4385
4476
|
class GoogleCloudApigeeV1Organization
|
4386
4477
|
include Google::Apis::Core::Hashable
|
4387
4478
|
|
4479
|
+
# Add-on configurations for the Apigee organization.
|
4480
|
+
# Corresponds to the JSON property `addonsConfig`
|
4481
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig]
|
4482
|
+
attr_accessor :addons_config
|
4483
|
+
|
4388
4484
|
# Required. Primary GCP region for analytics data storage. For valid values, see
|
4389
4485
|
# [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-
|
4390
4486
|
# platform/get-started/create-org).
|
@@ -4521,6 +4617,7 @@ module Google
|
|
4521
4617
|
|
4522
4618
|
# Update properties of this object
|
4523
4619
|
def update!(**args)
|
4620
|
+
@addons_config = args[:addons_config] if args.key?(:addons_config)
|
4524
4621
|
@analytics_region = args[:analytics_region] if args.key?(:analytics_region)
|
4525
4622
|
@attributes = args[:attributes] if args.key?(:attributes)
|
4526
4623
|
@authorized_network = args[:authorized_network] if args.key?(:authorized_network)
|
@@ -5713,6 +5810,25 @@ module Google
|
|
5713
5810
|
end
|
5714
5811
|
end
|
5715
5812
|
|
5813
|
+
# Request for SetAddons.
|
5814
|
+
class GoogleCloudApigeeV1SetAddonsRequest
|
5815
|
+
include Google::Apis::Core::Hashable
|
5816
|
+
|
5817
|
+
# Add-on configurations for the Apigee organization.
|
5818
|
+
# Corresponds to the JSON property `addonsConfig`
|
5819
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig]
|
5820
|
+
attr_accessor :addons_config
|
5821
|
+
|
5822
|
+
def initialize(**args)
|
5823
|
+
update!(**args)
|
5824
|
+
end
|
5825
|
+
|
5826
|
+
# Update properties of this object
|
5827
|
+
def update!(**args)
|
5828
|
+
@addons_config = args[:addons_config] if args.key?(:addons_config)
|
5829
|
+
end
|
5830
|
+
end
|
5831
|
+
|
5716
5832
|
# The metadata describing a shared flow
|
5717
5833
|
class GoogleCloudApigeeV1SharedFlow
|
5718
5834
|
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.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210326"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -58,6 +58,18 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
+
class GoogleCloudApigeeV1AddonsConfig
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class GoogleCloudApigeeV1AdvancedApiOpsConfig
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
61
73
|
class GoogleCloudApigeeV1Alias
|
62
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
75
|
|
@@ -436,6 +448,12 @@ module Google
|
|
436
448
|
include Google::Apis::Core::JsonObjectSupport
|
437
449
|
end
|
438
450
|
|
451
|
+
class GoogleCloudApigeeV1IntegrationConfig
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
|
+
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
455
|
+
end
|
456
|
+
|
439
457
|
class GoogleCloudApigeeV1KeyAliasReference
|
440
458
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
459
|
|
@@ -610,6 +628,12 @@ module Google
|
|
610
628
|
include Google::Apis::Core::JsonObjectSupport
|
611
629
|
end
|
612
630
|
|
631
|
+
class GoogleCloudApigeeV1MonetizationConfig
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
|
+
|
634
|
+
include Google::Apis::Core::JsonObjectSupport
|
635
|
+
end
|
636
|
+
|
613
637
|
class GoogleCloudApigeeV1NatAddress
|
614
638
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
639
|
|
@@ -844,6 +868,12 @@ module Google
|
|
844
868
|
include Google::Apis::Core::JsonObjectSupport
|
845
869
|
end
|
846
870
|
|
871
|
+
class GoogleCloudApigeeV1SetAddonsRequest
|
872
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
|
+
|
874
|
+
include Google::Apis::Core::JsonObjectSupport
|
875
|
+
end
|
876
|
+
|
847
877
|
class GoogleCloudApigeeV1SharedFlow
|
848
878
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
879
|
|
@@ -1082,6 +1112,25 @@ module Google
|
|
1082
1112
|
end
|
1083
1113
|
end
|
1084
1114
|
|
1115
|
+
class GoogleCloudApigeeV1AddonsConfig
|
1116
|
+
# @private
|
1117
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1118
|
+
property :advanced_api_ops_config, as: 'advancedApiOpsConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig::Representation
|
1119
|
+
|
1120
|
+
property :integration_config, as: 'integrationConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1IntegrationConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1IntegrationConfig::Representation
|
1121
|
+
|
1122
|
+
property :monetization_config, as: 'monetizationConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig::Representation
|
1123
|
+
|
1124
|
+
end
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
class GoogleCloudApigeeV1AdvancedApiOpsConfig
|
1128
|
+
# @private
|
1129
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1130
|
+
property :enabled, as: 'enabled'
|
1131
|
+
end
|
1132
|
+
end
|
1133
|
+
|
1085
1134
|
class GoogleCloudApigeeV1Alias
|
1086
1135
|
# @private
|
1087
1136
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1881,6 +1930,13 @@ module Google
|
|
1881
1930
|
end
|
1882
1931
|
end
|
1883
1932
|
|
1933
|
+
class GoogleCloudApigeeV1IntegrationConfig
|
1934
|
+
# @private
|
1935
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1936
|
+
property :enabled, as: 'enabled'
|
1937
|
+
end
|
1938
|
+
end
|
1939
|
+
|
1884
1940
|
class GoogleCloudApigeeV1KeyAliasReference
|
1885
1941
|
# @private
|
1886
1942
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2126,6 +2182,13 @@ module Google
|
|
2126
2182
|
end
|
2127
2183
|
end
|
2128
2184
|
|
2185
|
+
class GoogleCloudApigeeV1MonetizationConfig
|
2186
|
+
# @private
|
2187
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2188
|
+
property :enabled, as: 'enabled'
|
2189
|
+
end
|
2190
|
+
end
|
2191
|
+
|
2129
2192
|
class GoogleCloudApigeeV1NatAddress
|
2130
2193
|
# @private
|
2131
2194
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2204,6 +2267,8 @@ module Google
|
|
2204
2267
|
class GoogleCloudApigeeV1Organization
|
2205
2268
|
# @private
|
2206
2269
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2270
|
+
property :addons_config, as: 'addonsConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig::Representation
|
2271
|
+
|
2207
2272
|
property :analytics_region, as: 'analyticsRegion'
|
2208
2273
|
collection :attributes, as: 'attributes'
|
2209
2274
|
property :authorized_network, as: 'authorizedNetwork'
|
@@ -2535,6 +2600,14 @@ module Google
|
|
2535
2600
|
end
|
2536
2601
|
end
|
2537
2602
|
|
2603
|
+
class GoogleCloudApigeeV1SetAddonsRequest
|
2604
|
+
# @private
|
2605
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2606
|
+
property :addons_config, as: 'addonsConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig::Representation
|
2607
|
+
|
2608
|
+
end
|
2609
|
+
end
|
2610
|
+
|
2538
2611
|
class GoogleCloudApigeeV1SharedFlow
|
2539
2612
|
# @private
|
2540
2613
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -293,6 +293,41 @@ module Google
|
|
293
293
|
execute_or_queue_command(command, &block)
|
294
294
|
end
|
295
295
|
|
296
|
+
# Configures the add-ons for the Apigee organization. The existing add-on
|
297
|
+
# configuration will be fully replaced.
|
298
|
+
# @param [String] org
|
299
|
+
# Required. Name of the organization. Use the following structure in your
|
300
|
+
# request: `organizations/`org``
|
301
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SetAddonsRequest] google_cloud_apigee_v1_set_addons_request_object
|
302
|
+
# @param [String] fields
|
303
|
+
# Selector specifying which fields to include in a partial response.
|
304
|
+
# @param [String] quota_user
|
305
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
306
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
307
|
+
# @param [Google::Apis::RequestOptions] options
|
308
|
+
# Request-specific options
|
309
|
+
#
|
310
|
+
# @yield [result, err] Result & error if block supplied
|
311
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
312
|
+
# @yieldparam err [StandardError] error object if request failed
|
313
|
+
#
|
314
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
315
|
+
#
|
316
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
317
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
318
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
319
|
+
def set_organization_addons(org, google_cloud_apigee_v1_set_addons_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
320
|
+
command = make_simple_command(:post, 'v1/{+org}:setAddons', options)
|
321
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SetAddonsRequest::Representation
|
322
|
+
command.request_object = google_cloud_apigee_v1_set_addons_request_object
|
323
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
324
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
325
|
+
command.params['org'] = org unless org.nil?
|
326
|
+
command.query['fields'] = fields unless fields.nil?
|
327
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
328
|
+
execute_or_queue_command(command, &block)
|
329
|
+
end
|
330
|
+
|
296
331
|
# Sets the permissions required to allow the Synchronizer to download
|
297
332
|
# environment data from the control plane. You must call this API to enable
|
298
333
|
# proper functioning of hybrid. Pass the ETag when calling `setSyncAuthorization`
|
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.9.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-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-apigee_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.9.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-apigee_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|