google-apis-apigee_v1 0.8.0 → 0.13.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: baf740a36ac7116f1934c7d45b89e91093e2266f4bc04ec9ebc10524e9eb5f96
4
- data.tar.gz: 4b009341ba4324292ef3d5576899b4cd0925f056de3b1ca51040400a1bd0d05b
3
+ metadata.gz: fea7355d1beb8f40136f93063def79cedf6d16301a52342ea144a6d613599302
4
+ data.tar.gz: ba80e44b0f60a6586f39daf3e0166a2c4f48fd7a627cbf6a91d0a7ffcace5314
5
5
  SHA512:
6
- metadata.gz: 9006c97449e2de2d93b9d4413111497725480da5ff8cc34754cbeed5edc4571974199ec78297a658cf44c14ce615840070444e705bbd6a3700bc46dc790f0faf
7
- data.tar.gz: ca1a74aeedf8b769c0f98dff97aa82b849509e7cac2128f3af274cc9cb35b6d4fb76cf8a53a90d774d2387079bf2585ad5cef3ca0aec3b33fdceecda6ddf1961
6
+ metadata.gz: ed6bb5014615940a1e81677fa23cd8b3a8ca0a0593868bb66c4a656da85d2dc0d574cf50425b059382c07d54093dec4891cd4b30cc5bdf14ccc932a37e2dcbac
7
+ data.tar.gz: 843925c679b17af29f86d6220be696a2537a509056de9a43416a98b5821e5422198eac29561db401c8e936ad65bae93a105ed600a6cbfaf579cc10e9e4030a4a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.13.0 (2021-06-02)
4
+
5
+ * Regenerated from discovery document revision 20210528
6
+ * Regenerated using generator version 0.3.0
7
+
8
+ ### v0.12.0 (2021-05-25)
9
+
10
+ * Regenerated from discovery document revision 20210522
11
+
12
+ ### v0.11.0 (2021-05-19)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.10.0 (2021-05-12)
17
+
18
+ * Regenerated from discovery document revision 20210510
19
+
20
+ ### v0.9.0 (2021-04-01)
21
+
22
+ * Regenerated from discovery document revision 20210326
23
+
3
24
  ### v0.8.0 (2021-03-23)
4
25
 
5
26
  * Regenerated from discovery document revision 20210319
@@ -32,7 +32,7 @@ module Google
32
32
  # This is NOT the gem version.
33
33
  VERSION = 'V1'
34
34
 
35
- # View and manage your data across Google Cloud Platform services
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
@@ -2499,6 +2550,57 @@ module Google
2499
2550
  end
2500
2551
  end
2501
2552
 
2553
+ # Structure of a DeveloperSubscription.
2554
+ class GoogleCloudApigeeV1DeveloperSubscription
2555
+ include Google::Apis::Core::Hashable
2556
+
2557
+ # Name of the API product for which the developer is purchasing a subscription.
2558
+ # Corresponds to the JSON property `apiproduct`
2559
+ # @return [String]
2560
+ attr_accessor :apiproduct
2561
+
2562
+ # Output only. Time when the API product subscription was created in
2563
+ # milliseconds since epoch.
2564
+ # Corresponds to the JSON property `createdAt`
2565
+ # @return [Fixnum]
2566
+ attr_accessor :created_at
2567
+
2568
+ # Time when the API product subscription ends in milliseconds since epoch.
2569
+ # Corresponds to the JSON property `endTime`
2570
+ # @return [Fixnum]
2571
+ attr_accessor :end_time
2572
+
2573
+ # Output only. Time when the API product subscription was last modified in
2574
+ # milliseconds since epoch.
2575
+ # Corresponds to the JSON property `lastModifiedAt`
2576
+ # @return [Fixnum]
2577
+ attr_accessor :last_modified_at
2578
+
2579
+ # Output only. Name of the API product subscription.
2580
+ # Corresponds to the JSON property `name`
2581
+ # @return [String]
2582
+ attr_accessor :name
2583
+
2584
+ # Time when the API product subscription starts in milliseconds since epoch.
2585
+ # Corresponds to the JSON property `startTime`
2586
+ # @return [Fixnum]
2587
+ attr_accessor :start_time
2588
+
2589
+ def initialize(**args)
2590
+ update!(**args)
2591
+ end
2592
+
2593
+ # Update properties of this object
2594
+ def update!(**args)
2595
+ @apiproduct = args[:apiproduct] if args.key?(:apiproduct)
2596
+ @created_at = args[:created_at] if args.key?(:created_at)
2597
+ @end_time = args[:end_time] if args.key?(:end_time)
2598
+ @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
2599
+ @name = args[:name] if args.key?(:name)
2600
+ @start_time = args[:start_time] if args.key?(:start_time)
2601
+ end
2602
+ end
2603
+
2502
2604
  # This message type encapsulates a metric grouped by dimension.
2503
2605
  class GoogleCloudApigeeV1DimensionMetric
2504
2606
  include Google::Apis::Core::Hashable
@@ -2864,6 +2966,19 @@ module Google
2864
2966
  end
2865
2967
  end
2866
2968
 
2969
+ # Request for ExpireDeveloperSubscription.
2970
+ class GoogleCloudApigeeV1ExpireDeveloperSubscriptionRequest
2971
+ include Google::Apis::Core::Hashable
2972
+
2973
+ def initialize(**args)
2974
+ update!(**args)
2975
+ end
2976
+
2977
+ # Update properties of this object
2978
+ def update!(**args)
2979
+ end
2980
+ end
2981
+
2867
2982
  # Details of an export job.
2868
2983
  class GoogleCloudApigeeV1Export
2869
2984
  include Google::Apis::Core::Hashable
@@ -3081,20 +3196,20 @@ module Google
3081
3196
  end
3082
3197
  end
3083
3198
 
3084
- # GraphQLOperation represents the pairing of graphQL operation types and the
3085
- # graphQL operation name.
3199
+ # Represents the pairing of GraphQL operation types and the GraphQL operation
3200
+ # name.
3086
3201
  class GoogleCloudApigeeV1GraphQlOperation
3087
3202
  include Google::Apis::Core::Hashable
3088
3203
 
3089
- # GraphQL operation name, along with operation type which will be used to
3090
- # associate quotas with. If no name is specified, the quota will be applied to
3091
- # all graphQL operations irrespective of their operation names in the payload.
3204
+ # GraphQL operation name. The name and operation type will be used to apply
3205
+ # quotas. If no name is specified, the quota will be applied to all GraphQL
3206
+ # operations irrespective of their operation names in the payload.
3092
3207
  # Corresponds to the JSON property `operation`
3093
3208
  # @return [String]
3094
3209
  attr_accessor :operation
3095
3210
 
3096
- # Required. `query`, `mutation` and `subscription` are the three operation types
3097
- # offered by graphQL. Currently we support only `query` and `mutation`.
3211
+ # Required. GraphQL operation types. Valid values include `query` or `mutation`.
3212
+ # **Note**: Apigee does not currently support `subscription` types.
3098
3213
  # Corresponds to the JSON property `operationTypes`
3099
3214
  # @return [Array<String>]
3100
3215
  attr_accessor :operation_types
@@ -3110,13 +3225,13 @@ module Google
3110
3225
  end
3111
3226
  end
3112
3227
 
3113
- # GraphQLOperationConfig binds the resources in a proxy or remote service with
3114
- # the graphQL operation and its associated quota enforcement.
3228
+ # Binds the resources in a proxy or remote service with the GraphQL operation
3229
+ # and its associated quota enforcement.
3115
3230
  class GoogleCloudApigeeV1GraphQlOperationConfig
3116
3231
  include Google::Apis::Core::Hashable
3117
3232
 
3118
- # Required. API proxy endpoint or remote service name with which the graphQL
3119
- # operation, and quota are associated.
3233
+ # Required. Name of the API proxy endpoint or remote service with which the
3234
+ # GraphQL operation and quota are associated.
3120
3235
  # Corresponds to the JSON property `apiSource`
3121
3236
  # @return [String]
3122
3237
  attr_accessor :api_source
@@ -3126,20 +3241,19 @@ module Google
3126
3241
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
3127
3242
  attr_accessor :attributes
3128
3243
 
3129
- # Required. List of graphQL name/Operation type pairs for the proxy/remote
3130
- # service, upon which quota will applied. If GraphQLOperation operation has only
3131
- # the operation type(s), that would imply that quota will be applied on all
3132
- # graphQL requests irrespective of the graphQL name. **Note**: Currently, we can
3133
- # specify only a single GraphQLOperation. Specifying more than one will result
3134
- # in failure of the operation.
3244
+ # Required. List of GraphQL name/operation type pairs for the proxy or remote
3245
+ # service to which quota will be applied. If only operation types are specified,
3246
+ # the quota will be applied to all GraphQL requests irrespective of the GraphQL
3247
+ # name. **Note**: Currently, you can specify only a single GraphQLOperation.
3248
+ # Specifying more than one will cause the operation to fail.
3135
3249
  # Corresponds to the JSON property `operations`
3136
3250
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperation>]
3137
3251
  attr_accessor :operations
3138
3252
 
3139
- # Quota contains the essential parameters needed that can be applied on a proxy/
3140
- # remote service, resources and methods combination associated with this API
3141
- # product. While setting of Quota is optional, setting it prevents requests from
3142
- # exceeding the provisioned parameters.
3253
+ # Quota contains the essential parameters needed that can be applied on the
3254
+ # resources, methods, API source combination associated with this API product.
3255
+ # While Quota is optional, setting it prevents requests from exceeding the
3256
+ # provisioned parameters.
3143
3257
  # Corresponds to the JSON property `quota`
3144
3258
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota]
3145
3259
  attr_accessor :quota
@@ -3163,8 +3277,8 @@ module Google
3163
3277
  class GoogleCloudApigeeV1GraphQlOperationGroup
3164
3278
  include Google::Apis::Core::Hashable
3165
3279
 
3166
- # Flag that specifes whether the configuration is for Apigee API proxy or a
3167
- # remote service. Valid values are `proxy` or `remoteservice`. Defaults to `
3280
+ # Flag that specifies whether the configuration is for Apigee API proxy or a
3281
+ # remote service. Valid values include `proxy` or `remoteservice`. Defaults to `
3168
3282
  # proxy`. Set to `proxy` when Apigee API proxies are associated with the API
3169
3283
  # product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are
3170
3284
  # associated with the API product.
@@ -3447,6 +3561,26 @@ module Google
3447
3561
  end
3448
3562
  end
3449
3563
 
3564
+ # Configuration for the Integration add-on.
3565
+ class GoogleCloudApigeeV1IntegrationConfig
3566
+ include Google::Apis::Core::Hashable
3567
+
3568
+ # Flag that specifies whether the Integration add-on is enabled.
3569
+ # Corresponds to the JSON property `enabled`
3570
+ # @return [Boolean]
3571
+ attr_accessor :enabled
3572
+ alias_method :enabled?, :enabled
3573
+
3574
+ def initialize(**args)
3575
+ update!(**args)
3576
+ end
3577
+
3578
+ # Update properties of this object
3579
+ def update!(**args)
3580
+ @enabled = args[:enabled] if args.key?(:enabled)
3581
+ end
3582
+ end
3583
+
3450
3584
  #
3451
3585
  class GoogleCloudApigeeV1KeyAliasReference
3452
3586
  include Google::Apis::Core::Hashable
@@ -3799,6 +3933,32 @@ module Google
3799
3933
  end
3800
3934
  end
3801
3935
 
3936
+ # Response for ListDeveloperSubscriptions.
3937
+ class GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse
3938
+ include Google::Apis::Core::Hashable
3939
+
3940
+ # List of all subscriptions.
3941
+ # Corresponds to the JSON property `developerSubscriptions`
3942
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription>]
3943
+ attr_accessor :developer_subscriptions
3944
+
3945
+ # Value that can be sent as `startKey` to retrieve the next page of content. If
3946
+ # this field is omitted, there are no subsequent pages.
3947
+ # Corresponds to the JSON property `nextStartKey`
3948
+ # @return [String]
3949
+ attr_accessor :next_start_key
3950
+
3951
+ def initialize(**args)
3952
+ update!(**args)
3953
+ end
3954
+
3955
+ # Update properties of this object
3956
+ def update!(**args)
3957
+ @developer_subscriptions = args[:developer_subscriptions] if args.key?(:developer_subscriptions)
3958
+ @next_start_key = args[:next_start_key] if args.key?(:next_start_key)
3959
+ end
3960
+ end
3961
+
3802
3962
  # Response for ListEnvironmentGroupAttachments.
3803
3963
  class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
3804
3964
  include Google::Apis::Core::Hashable
@@ -4024,6 +4184,32 @@ module Google
4024
4184
  end
4025
4185
  end
4026
4186
 
4187
+ # Response for ListRatePlans.
4188
+ class GoogleCloudApigeeV1ListRatePlansResponse
4189
+ include Google::Apis::Core::Hashable
4190
+
4191
+ # Value that can be sent as `startKey` to retrieve the next page of content. If
4192
+ # this field is omitted, there are no subsequent pages.
4193
+ # Corresponds to the JSON property `nextStartKey`
4194
+ # @return [String]
4195
+ attr_accessor :next_start_key
4196
+
4197
+ # List of rate plans in an organization.
4198
+ # Corresponds to the JSON property `ratePlans`
4199
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan>]
4200
+ attr_accessor :rate_plans
4201
+
4202
+ def initialize(**args)
4203
+ update!(**args)
4204
+ end
4205
+
4206
+ # Update properties of this object
4207
+ def update!(**args)
4208
+ @next_start_key = args[:next_start_key] if args.key?(:next_start_key)
4209
+ @rate_plans = args[:rate_plans] if args.key?(:rate_plans)
4210
+ end
4211
+ end
4212
+
4027
4213
  #
4028
4214
  class GoogleCloudApigeeV1ListSharedFlowsResponse
4029
4215
  include Google::Apis::Core::Hashable
@@ -4126,6 +4312,26 @@ module Google
4126
4312
  end
4127
4313
  end
4128
4314
 
4315
+ # Configuration for the Monetization add-on.
4316
+ class GoogleCloudApigeeV1MonetizationConfig
4317
+ include Google::Apis::Core::Hashable
4318
+
4319
+ # Flag that specifies whether the Monetization add-on is enabled.
4320
+ # Corresponds to the JSON property `enabled`
4321
+ # @return [Boolean]
4322
+ attr_accessor :enabled
4323
+ alias_method :enabled?, :enabled
4324
+
4325
+ def initialize(**args)
4326
+ update!(**args)
4327
+ end
4328
+
4329
+ # Update properties of this object
4330
+ def update!(**args)
4331
+ @enabled = args[:enabled] if args.key?(:enabled)
4332
+ end
4333
+ end
4334
+
4129
4335
  # Apigee NAT(network address translation) address. A NAT address is a static
4130
4336
  # external IP address used for Internet egress traffic.
4131
4337
  class GoogleCloudApigeeV1NatAddress
@@ -4158,8 +4364,8 @@ module Google
4158
4364
  end
4159
4365
  end
4160
4366
 
4161
- # Operation represents the pairing of REST resource path and the actions (verbs)
4162
- # allowed on the resource path.
4367
+ # Represents the pairing of REST resource path and the actions (verbs) allowed
4368
+ # on the resource path.
4163
4369
  class GoogleCloudApigeeV1Operation
4164
4370
  include Google::Apis::Core::Hashable
4165
4371
 
@@ -4169,8 +4375,7 @@ module Google
4169
4375
  # @return [Array<String>]
4170
4376
  attr_accessor :methods_prop
4171
4377
 
4172
- # Required. resource represents REST resource path associated with the proxy/
4173
- # remote service.
4378
+ # Required. REST resource path associated with the API proxy or remote service.
4174
4379
  # Corresponds to the JSON property `resource`
4175
4380
  # @return [String]
4176
4381
  attr_accessor :resource
@@ -4186,13 +4391,13 @@ module Google
4186
4391
  end
4187
4392
  end
4188
4393
 
4189
- # OperationConfig binds the resources in a proxy or remote service with the
4190
- # allowed REST methods and its associated quota enforcement.
4394
+ # Binds the resources in an API proxy or remote service with the allowed REST
4395
+ # methods and associated quota enforcement.
4191
4396
  class GoogleCloudApigeeV1OperationConfig
4192
4397
  include Google::Apis::Core::Hashable
4193
4398
 
4194
- # Required. API proxy or remote service name with which the resources, methods,
4195
- # and quota are associated.
4399
+ # Required. Name of the API proxy or remote service with which the resources,
4400
+ # methods, and quota are associated.
4196
4401
  # Corresponds to the JSON property `apiSource`
4197
4402
  # @return [String]
4198
4403
  attr_accessor :api_source
@@ -4202,18 +4407,18 @@ module Google
4202
4407
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
4203
4408
  attr_accessor :attributes
4204
4409
 
4205
- # List of resource/method pairs for the proxy/remote service, upon which quota
4206
- # will applied. **Note**: Currently, you can specify only a single resource/
4207
- # method pair. The call will fail if more than one resource/method pair is
4208
- # provided.
4410
+ # List of resource/method pairs for the API proxy or remote service to which
4411
+ # quota will applied. **Note**: Currently, you can specify only a single
4412
+ # resource/method pair. The call will fail if more than one resource/method pair
4413
+ # is provided.
4209
4414
  # Corresponds to the JSON property `operations`
4210
4415
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Operation>]
4211
4416
  attr_accessor :operations
4212
4417
 
4213
- # Quota contains the essential parameters needed that can be applied on a proxy/
4214
- # remote service, resources and methods combination associated with this API
4215
- # product. While setting of Quota is optional, setting it prevents requests from
4216
- # exceeding the provisioned parameters.
4418
+ # Quota contains the essential parameters needed that can be applied on the
4419
+ # resources, methods, API source combination associated with this API product.
4420
+ # While Quota is optional, setting it prevents requests from exceeding the
4421
+ # provisioned parameters.
4217
4422
  # Corresponds to the JSON property `quota`
4218
4423
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota]
4219
4424
  attr_accessor :quota
@@ -4237,7 +4442,7 @@ module Google
4237
4442
  include Google::Apis::Core::Hashable
4238
4443
 
4239
4444
  # Flag that specifes whether the configuration is for Apigee API proxy or a
4240
- # remote service. Valid values are `proxy` or `remoteservice`. Defaults to `
4445
+ # remote service. Valid values include `proxy` or `remoteservice`. Defaults to `
4241
4446
  # proxy`. Set to `proxy` when Apigee API proxies are associated with the API
4242
4447
  # product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are
4243
4448
  # associated with the API product.
@@ -4271,6 +4476,11 @@ module Google
4271
4476
  # @return [String]
4272
4477
  attr_accessor :operation_type
4273
4478
 
4479
+ # Information about operation progress.
4480
+ # Corresponds to the JSON property `progress`
4481
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationMetadataProgress]
4482
+ attr_accessor :progress
4483
+
4274
4484
  #
4275
4485
  # Corresponds to the JSON property `state`
4276
4486
  # @return [String]
@@ -4288,11 +4498,49 @@ module Google
4288
4498
  # Update properties of this object
4289
4499
  def update!(**args)
4290
4500
  @operation_type = args[:operation_type] if args.key?(:operation_type)
4501
+ @progress = args[:progress] if args.key?(:progress)
4291
4502
  @state = args[:state] if args.key?(:state)
4292
4503
  @target_resource_name = args[:target_resource_name] if args.key?(:target_resource_name)
4293
4504
  end
4294
4505
  end
4295
4506
 
4507
+ # Information about operation progress.
4508
+ class GoogleCloudApigeeV1OperationMetadataProgress
4509
+ include Google::Apis::Core::Hashable
4510
+
4511
+ # Description of the operation's progress.
4512
+ # Corresponds to the JSON property `description`
4513
+ # @return [String]
4514
+ attr_accessor :description
4515
+
4516
+ # The additional details of the progress.
4517
+ # Corresponds to the JSON property `details`
4518
+ # @return [Hash<String,Object>]
4519
+ attr_accessor :details
4520
+
4521
+ # The percentage of the operation progress.
4522
+ # Corresponds to the JSON property `percentDone`
4523
+ # @return [Fixnum]
4524
+ attr_accessor :percent_done
4525
+
4526
+ # State of the operation.
4527
+ # Corresponds to the JSON property `state`
4528
+ # @return [String]
4529
+ attr_accessor :state
4530
+
4531
+ def initialize(**args)
4532
+ update!(**args)
4533
+ end
4534
+
4535
+ # Update properties of this object
4536
+ def update!(**args)
4537
+ @description = args[:description] if args.key?(:description)
4538
+ @details = args[:details] if args.key?(:details)
4539
+ @percent_done = args[:percent_done] if args.key?(:percent_done)
4540
+ @state = args[:state] if args.key?(:state)
4541
+ end
4542
+ end
4543
+
4296
4544
  #
4297
4545
  class GoogleCloudApigeeV1OptimizedStats
4298
4546
  include Google::Apis::Core::Hashable
@@ -4385,6 +4633,11 @@ module Google
4385
4633
  class GoogleCloudApigeeV1Organization
4386
4634
  include Google::Apis::Core::Hashable
4387
4635
 
4636
+ # Add-on configurations for the Apigee organization.
4637
+ # Corresponds to the JSON property `addonsConfig`
4638
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig]
4639
+ attr_accessor :addons_config
4640
+
4388
4641
  # Required. Primary GCP region for analytics data storage. For valid values, see
4389
4642
  # [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-
4390
4643
  # platform/get-started/create-org).
@@ -4521,6 +4774,7 @@ module Google
4521
4774
 
4522
4775
  # Update properties of this object
4523
4776
  def update!(**args)
4777
+ @addons_config = args[:addons_config] if args.key?(:addons_config)
4524
4778
  @analytics_region = args[:analytics_region] if args.key?(:analytics_region)
4525
4779
  @attributes = args[:attributes] if args.key?(:attributes)
4526
4780
  @authorized_network = args[:authorized_network] if args.key?(:authorized_network)
@@ -4735,7 +4989,9 @@ module Google
4735
4989
  # @return [String]
4736
4990
  attr_accessor :authorized_network
4737
4991
 
4738
- # Cloud Platform location for the runtime instance. Defaults to `us-west1-a`.
4992
+ # Cloud Platform location for the runtime instance. Defaults to zone `us-west1-a`
4993
+ # . If a region is provided, `EVAL` organizations will use the region for
4994
+ # automatically selecting a zone for the runtime instance.
4739
4995
  # Corresponds to the JSON property `runtimeLocation`
4740
4996
  # @return [String]
4741
4997
  attr_accessor :runtime_location
@@ -4947,10 +5203,10 @@ module Google
4947
5203
  end
4948
5204
  end
4949
5205
 
4950
- # Quota contains the essential parameters needed that can be applied on a proxy/
4951
- # remote service, resources and methods combination associated with this API
4952
- # product. While setting of Quota is optional, setting it prevents requests from
4953
- # exceeding the provisioned parameters.
5206
+ # Quota contains the essential parameters needed that can be applied on the
5207
+ # resources, methods, API source combination associated with this API product.
5208
+ # While Quota is optional, setting it prevents requests from exceeding the
5209
+ # provisioned parameters.
4954
5210
  class GoogleCloudApigeeV1Quota
4955
5211
  include Google::Apis::Core::Hashable
4956
5212
 
@@ -4985,6 +5241,175 @@ module Google
4985
5241
  end
4986
5242
  end
4987
5243
 
5244
+ # Rate plan details.
5245
+ class GoogleCloudApigeeV1RatePlan
5246
+ include Google::Apis::Core::Hashable
5247
+
5248
+ # Name of the API product that the rate plan is associated with.
5249
+ # Corresponds to the JSON property `apiproduct`
5250
+ # @return [String]
5251
+ attr_accessor :apiproduct
5252
+
5253
+ # Frequency at which the customer will be billed.
5254
+ # Corresponds to the JSON property `billingPeriod`
5255
+ # @return [String]
5256
+ attr_accessor :billing_period
5257
+
5258
+ # API call volume ranges and the fees charged when the total number of API calls
5259
+ # is within a given range. The method used to calculate the final fee depends on
5260
+ # the selected pricing model. For example, if the pricing model is `STAIRSTEP`
5261
+ # and the ranges are defined as follows: ``` ` "start": 1, "end": 100, "fee": 75
5262
+ # `, ` "start": 101, "end": 200, "fee": 100 `, ` ``` Then the following fees
5263
+ # would be charged based on the total number of API calls (assuming the currency
5264
+ # selected is `USD`): * 1 call costs $75 * 50 calls cost $75 * 150 calls cost $
5265
+ # 100 The number of API calls cannot exceed 200.
5266
+ # Corresponds to the JSON property `consumptionPricingRates`
5267
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RateRange>]
5268
+ attr_accessor :consumption_pricing_rates
5269
+
5270
+ # Pricing model used for consumption-based charges.
5271
+ # Corresponds to the JSON property `consumptionPricingType`
5272
+ # @return [String]
5273
+ attr_accessor :consumption_pricing_type
5274
+
5275
+ # Output only. Time that the rate plan was created in milliseconds since epoch.
5276
+ # Corresponds to the JSON property `createdAt`
5277
+ # @return [Fixnum]
5278
+ attr_accessor :created_at
5279
+
5280
+ # Currency to be used for billing. Consists of a three-letter code as defined by
5281
+ # the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) standard.
5282
+ # Corresponds to the JSON property `currencyCode`
5283
+ # @return [String]
5284
+ attr_accessor :currency_code
5285
+
5286
+ # Description of the rate plan.
5287
+ # Corresponds to the JSON property `description`
5288
+ # @return [String]
5289
+ attr_accessor :description
5290
+
5291
+ # Display name of the rate plan.
5292
+ # Corresponds to the JSON property `displayName`
5293
+ # @return [String]
5294
+ attr_accessor :display_name
5295
+
5296
+ # Time when the rate plan will expire in milliseconds since epoch. Set to 0 or `
5297
+ # null` to indicate that the rate plan should never expire.
5298
+ # Corresponds to the JSON property `endTime`
5299
+ # @return [Fixnum]
5300
+ attr_accessor :end_time
5301
+
5302
+ # Frequency at which the fixed fee is charged.
5303
+ # Corresponds to the JSON property `fixedFeeFrequency`
5304
+ # @return [Fixnum]
5305
+ attr_accessor :fixed_fee_frequency
5306
+
5307
+ # Represents an amount of money with its currency type.
5308
+ # Corresponds to the JSON property `fixedRecurringFee`
5309
+ # @return [Google::Apis::ApigeeV1::GoogleTypeMoney]
5310
+ attr_accessor :fixed_recurring_fee
5311
+
5312
+ # Output only. Time the rate plan was last modified in milliseconds since epoch.
5313
+ # Corresponds to the JSON property `lastModifiedAt`
5314
+ # @return [Fixnum]
5315
+ attr_accessor :last_modified_at
5316
+
5317
+ # Output only. Name of the rate plan.
5318
+ # Corresponds to the JSON property `name`
5319
+ # @return [String]
5320
+ attr_accessor :name
5321
+
5322
+ # Flag that specifies the billing account type, prepaid or postpaid.
5323
+ # Corresponds to the JSON property `paymentFundingModel`
5324
+ # @return [String]
5325
+ attr_accessor :payment_funding_model
5326
+
5327
+ # Details of the revenue sharing model.
5328
+ # Corresponds to the JSON property `revenueShareRates`
5329
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RevenueShareRange>]
5330
+ attr_accessor :revenue_share_rates
5331
+
5332
+ # Method used to calculate the revenue that is shared with developers.
5333
+ # Corresponds to the JSON property `revenueShareType`
5334
+ # @return [String]
5335
+ attr_accessor :revenue_share_type
5336
+
5337
+ # Represents an amount of money with its currency type.
5338
+ # Corresponds to the JSON property `setupFee`
5339
+ # @return [Google::Apis::ApigeeV1::GoogleTypeMoney]
5340
+ attr_accessor :setup_fee
5341
+
5342
+ # Time when the rate plan becomes active in milliseconds since epoch.
5343
+ # Corresponds to the JSON property `startTime`
5344
+ # @return [Fixnum]
5345
+ attr_accessor :start_time
5346
+
5347
+ # Current state of the rate plan (draft or published).
5348
+ # Corresponds to the JSON property `state`
5349
+ # @return [String]
5350
+ attr_accessor :state
5351
+
5352
+ def initialize(**args)
5353
+ update!(**args)
5354
+ end
5355
+
5356
+ # Update properties of this object
5357
+ def update!(**args)
5358
+ @apiproduct = args[:apiproduct] if args.key?(:apiproduct)
5359
+ @billing_period = args[:billing_period] if args.key?(:billing_period)
5360
+ @consumption_pricing_rates = args[:consumption_pricing_rates] if args.key?(:consumption_pricing_rates)
5361
+ @consumption_pricing_type = args[:consumption_pricing_type] if args.key?(:consumption_pricing_type)
5362
+ @created_at = args[:created_at] if args.key?(:created_at)
5363
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
5364
+ @description = args[:description] if args.key?(:description)
5365
+ @display_name = args[:display_name] if args.key?(:display_name)
5366
+ @end_time = args[:end_time] if args.key?(:end_time)
5367
+ @fixed_fee_frequency = args[:fixed_fee_frequency] if args.key?(:fixed_fee_frequency)
5368
+ @fixed_recurring_fee = args[:fixed_recurring_fee] if args.key?(:fixed_recurring_fee)
5369
+ @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
5370
+ @name = args[:name] if args.key?(:name)
5371
+ @payment_funding_model = args[:payment_funding_model] if args.key?(:payment_funding_model)
5372
+ @revenue_share_rates = args[:revenue_share_rates] if args.key?(:revenue_share_rates)
5373
+ @revenue_share_type = args[:revenue_share_type] if args.key?(:revenue_share_type)
5374
+ @setup_fee = args[:setup_fee] if args.key?(:setup_fee)
5375
+ @start_time = args[:start_time] if args.key?(:start_time)
5376
+ @state = args[:state] if args.key?(:state)
5377
+ end
5378
+ end
5379
+
5380
+ # API call volume range and the fees charged when the total number of API calls
5381
+ # is within the range.
5382
+ class GoogleCloudApigeeV1RateRange
5383
+ include Google::Apis::Core::Hashable
5384
+
5385
+ # Ending value of the range. Set to 0 or `null` for the last range of values.
5386
+ # Corresponds to the JSON property `end`
5387
+ # @return [Fixnum]
5388
+ attr_accessor :end
5389
+
5390
+ # Represents an amount of money with its currency type.
5391
+ # Corresponds to the JSON property `fee`
5392
+ # @return [Google::Apis::ApigeeV1::GoogleTypeMoney]
5393
+ attr_accessor :fee
5394
+
5395
+ # Starting value of the range. Set to 0 or `null` for the initial range of
5396
+ # values.
5397
+ # Corresponds to the JSON property `start`
5398
+ # @return [Fixnum]
5399
+ attr_accessor :start
5400
+
5401
+ def initialize(**args)
5402
+ update!(**args)
5403
+ end
5404
+
5405
+ # Update properties of this object
5406
+ def update!(**args)
5407
+ @end = args[:end] if args.key?(:end)
5408
+ @fee = args[:fee] if args.key?(:fee)
5409
+ @start = args[:start] if args.key?(:start)
5410
+ end
5411
+ end
5412
+
4988
5413
  # A Reference configuration. References must refer to a keystore that also
4989
5414
  # exists in the parent environment.
4990
5415
  class GoogleCloudApigeeV1Reference
@@ -5331,6 +5756,42 @@ module Google
5331
5756
  end
5332
5757
  end
5333
5758
 
5759
+ # API call volume range and the percentage of revenue to share with the
5760
+ # developer when the total number of API calls is within the range.
5761
+ class GoogleCloudApigeeV1RevenueShareRange
5762
+ include Google::Apis::Core::Hashable
5763
+
5764
+ # Ending value of the range. Set to 0 or `null` for the last range of values.
5765
+ # Corresponds to the JSON property `end`
5766
+ # @return [Fixnum]
5767
+ attr_accessor :end
5768
+
5769
+ # Percentage of the revenue to be shared with the developer. For example, to
5770
+ # share 21 percent of the total revenue with the developer, set this value to 21.
5771
+ # Specify a decimal number with a maximum of two digits following the decimal
5772
+ # point.
5773
+ # Corresponds to the JSON property `sharePercentage`
5774
+ # @return [Float]
5775
+ attr_accessor :share_percentage
5776
+
5777
+ # Starting value of the range. Set to 0 or `null` for the initial range of
5778
+ # values.
5779
+ # Corresponds to the JSON property `start`
5780
+ # @return [Fixnum]
5781
+ attr_accessor :start
5782
+
5783
+ def initialize(**args)
5784
+ update!(**args)
5785
+ end
5786
+
5787
+ # Update properties of this object
5788
+ def update!(**args)
5789
+ @end = args[:end] if args.key?(:end)
5790
+ @share_percentage = args[:share_percentage] if args.key?(:share_percentage)
5791
+ @start = args[:start] if args.key?(:start)
5792
+ end
5793
+ end
5794
+
5334
5795
  # The status of a specific resource revision.
5335
5796
  class GoogleCloudApigeeV1RevisionStatus
5336
5797
  include Google::Apis::Core::Hashable
@@ -5340,7 +5801,8 @@ module Google
5340
5801
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateError>]
5341
5802
  attr_accessor :errors
5342
5803
 
5343
- # The json content of the resource revision.
5804
+ # The json content of the resource revision. Large specs should be sent
5805
+ # individually via the spec field to avoid hitting request size limits.
5344
5806
  # Corresponds to the JSON property `jsonSpec`
5345
5807
  # @return [String]
5346
5808
  attr_accessor :json_spec
@@ -5713,6 +6175,25 @@ module Google
5713
6175
  end
5714
6176
  end
5715
6177
 
6178
+ # Request for SetAddons.
6179
+ class GoogleCloudApigeeV1SetAddonsRequest
6180
+ include Google::Apis::Core::Hashable
6181
+
6182
+ # Add-on configurations for the Apigee organization.
6183
+ # Corresponds to the JSON property `addonsConfig`
6184
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig]
6185
+ attr_accessor :addons_config
6186
+
6187
+ def initialize(**args)
6188
+ update!(**args)
6189
+ end
6190
+
6191
+ # Update properties of this object
6192
+ def update!(**args)
6193
+ @addons_config = args[:addons_config] if args.key?(:addons_config)
6194
+ end
6195
+ end
6196
+
5716
6197
  # The metadata describing a shared flow
5717
6198
  class GoogleCloudApigeeV1SharedFlow
5718
6199
  include Google::Apis::Core::Hashable
@@ -6062,6 +6543,11 @@ module Google
6062
6543
  # @return [Fixnum]
6063
6544
  attr_accessor :port
6064
6545
 
6546
+ # Immutable. The protocol used by this TargetServer.
6547
+ # Corresponds to the JSON property `protocol`
6548
+ # @return [String]
6549
+ attr_accessor :protocol
6550
+
6065
6551
  # TLS configuration information for VirtualHosts and TargetServers.
6066
6552
  # Corresponds to the JSON property `sSLInfo`
6067
6553
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfo]
@@ -6078,6 +6564,7 @@ module Google
6078
6564
  @is_enabled = args[:is_enabled] if args.key?(:is_enabled)
6079
6565
  @name = args[:name] if args.key?(:name)
6080
6566
  @port = args[:port] if args.key?(:port)
6567
+ @protocol = args[:protocol] if args.key?(:protocol)
6081
6568
  @s_sl_info = args[:s_sl_info] if args.key?(:s_sl_info)
6082
6569
  end
6083
6570
  end
@@ -6102,6 +6589,11 @@ module Google
6102
6589
  # @return [Fixnum]
6103
6590
  attr_accessor :port
6104
6591
 
6592
+ # The protocol used by this target server.
6593
+ # Corresponds to the JSON property `protocol`
6594
+ # @return [String]
6595
+ attr_accessor :protocol
6596
+
6105
6597
  # TLS settings for the target server.
6106
6598
  # Corresponds to the JSON property `tlsInfo`
6107
6599
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoConfig]
@@ -6116,6 +6608,7 @@ module Google
6116
6608
  @host = args[:host] if args.key?(:host)
6117
6609
  @name = args[:name] if args.key?(:name)
6118
6610
  @port = args[:port] if args.key?(:port)
6611
+ @protocol = args[:protocol] if args.key?(:protocol)
6119
6612
  @tls_info = args[:tls_info] if args.key?(:tls_info)
6120
6613
  end
6121
6614
  end
@@ -7042,6 +7535,42 @@ module Google
7042
7535
  @title = args[:title] if args.key?(:title)
7043
7536
  end
7044
7537
  end
7538
+
7539
+ # Represents an amount of money with its currency type.
7540
+ class GoogleTypeMoney
7541
+ include Google::Apis::Core::Hashable
7542
+
7543
+ # The three-letter currency code defined in ISO 4217.
7544
+ # Corresponds to the JSON property `currencyCode`
7545
+ # @return [String]
7546
+ attr_accessor :currency_code
7547
+
7548
+ # Number of nano (10^-9) units of the amount. The value must be between -999,999,
7549
+ # 999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be
7550
+ # positive or zero. If `units` is zero, `nanos` can be positive, zero, or
7551
+ # negative. If `units` is negative, `nanos` must be negative or zero. For
7552
+ # example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
7553
+ # Corresponds to the JSON property `nanos`
7554
+ # @return [Fixnum]
7555
+ attr_accessor :nanos
7556
+
7557
+ # The whole units of the amount. For example if `currencyCode` is `"USD"`, then
7558
+ # 1 unit is one US dollar.
7559
+ # Corresponds to the JSON property `units`
7560
+ # @return [Fixnum]
7561
+ attr_accessor :units
7562
+
7563
+ def initialize(**args)
7564
+ update!(**args)
7565
+ end
7566
+
7567
+ # Update properties of this object
7568
+ def update!(**args)
7569
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
7570
+ @nanos = args[:nanos] if args.key?(:nanos)
7571
+ @units = args[:units] if args.key?(:units)
7572
+ end
7573
+ end
7045
7574
  end
7046
7575
  end
7047
7576
  end