google-apis-apigee_v1 0.5.0 → 0.10.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: f04fb2c6cc7eb499356d7df86a9175d8485498bd574b74a7732e9874d7019b65
4
- data.tar.gz: c7581f726e1ac6ca24288fd182c01338772b123e13102f29672bfc5d77e34c7f
3
+ metadata.gz: 87f6c45e154415cbd3f6dd2d3879b6393548f0521df013d7be9106779a4e4be0
4
+ data.tar.gz: 75083f7b2bd2c9c85d4d3df98bd68cf8e04e3cc28170c17f9e1c5c49a04b2b4d
5
5
  SHA512:
6
- metadata.gz: cbe199083b7fa4df0ca5932592c6459c6a4eb46fc0b07f33f37009bf7ece3f865f1bbd202b49c50b105bbf168cab9dd522689083feaf384d46f395b4040bf8bb
7
- data.tar.gz: 9130274276bf95f84f351435c895c049adff1605afb3a2cc3cd7bf9b7048a13316d60c9fb275ca6532121c4744f2b2116170ae49c8675b7b88222367635cc4c3
6
+ metadata.gz: 8081815bcb7e1c773a57fcbf7c1f043081b59a35c2b79b5b8b3377462c8dbaa6b59c2eff3208a4f26fb331b9639456d4183b719edea0122af3141a78968f6682
7
+ data.tar.gz: 23c683e45fd3d3f6ef54332838a602bf98f2daca40b2c76f452edb9a7decf3d7c87d54b73d3193dfa3ab8f8040d15ca8055dd5e721b15910ea19935411f90171
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.10.0 (2021-05-12)
4
+
5
+ * Regenerated from discovery document revision 20210510
6
+
7
+ ### v0.9.0 (2021-04-01)
8
+
9
+ * Regenerated from discovery document revision 20210326
10
+
11
+ ### v0.8.0 (2021-03-23)
12
+
13
+ * Regenerated from discovery document revision 20210319
14
+
15
+ ### v0.7.0 (2021-03-16)
16
+
17
+ * Regenerated from discovery document revision 20210312
18
+
19
+ ### v0.6.0 (2021-03-09)
20
+
21
+ * Regenerated from discovery document revision 20210305
22
+ * Regenerated using generator version 0.2.0
23
+
3
24
  ### v0.5.0 (2021-03-04)
4
25
 
5
26
  * Regenerated from discovery document revision 20210225
@@ -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
@@ -423,6 +474,13 @@ module Google
423
474
  # @return [Array<String>]
424
475
  attr_accessor :environments
425
476
 
477
+ # List of graphQL operation configuration details associated with Apigee API
478
+ # proxies or remote services. Remote services are non-Apigee proxies, such as
479
+ # Istio-Envoy.
480
+ # Corresponds to the JSON property `graphqlOperationGroup`
481
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationGroup]
482
+ attr_accessor :graphql_operation_group
483
+
426
484
  # Response only. Modified time of this environment as milliseconds since epoch.
427
485
  # Corresponds to the JSON property `lastModifiedAt`
428
486
  # @return [Fixnum]
@@ -490,6 +548,7 @@ module Google
490
548
  @description = args[:description] if args.key?(:description)
491
549
  @display_name = args[:display_name] if args.key?(:display_name)
492
550
  @environments = args[:environments] if args.key?(:environments)
551
+ @graphql_operation_group = args[:graphql_operation_group] if args.key?(:graphql_operation_group)
493
552
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
494
553
  @name = args[:name] if args.key?(:name)
495
554
  @operation_group = args[:operation_group] if args.key?(:operation_group)
@@ -2491,6 +2550,57 @@ module Google
2491
2550
  end
2492
2551
  end
2493
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
+
2494
2604
  # This message type encapsulates a metric grouped by dimension.
2495
2605
  class GoogleCloudApigeeV1DimensionMetric
2496
2606
  include Google::Apis::Core::Hashable
@@ -2856,6 +2966,19 @@ module Google
2856
2966
  end
2857
2967
  end
2858
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
+
2859
2982
  # Details of an export job.
2860
2983
  class GoogleCloudApigeeV1Export
2861
2984
  include Google::Apis::Core::Hashable
@@ -3073,6 +3196,114 @@ module Google
3073
3196
  end
3074
3197
  end
3075
3198
 
3199
+ # GraphQLOperation represents the pairing of graphQL operation types and the
3200
+ # graphQL operation name.
3201
+ class GoogleCloudApigeeV1GraphQlOperation
3202
+ include Google::Apis::Core::Hashable
3203
+
3204
+ # GraphQL operation name, along with operation type which will be used to
3205
+ # associate quotas with. If no name is specified, the quota will be applied to
3206
+ # all graphQL operations irrespective of their operation names in the payload.
3207
+ # Corresponds to the JSON property `operation`
3208
+ # @return [String]
3209
+ attr_accessor :operation
3210
+
3211
+ # Required. `query`, `mutation` and `subscription` are the three operation types
3212
+ # offered by graphQL. Currently we support only `query` and `mutation`.
3213
+ # Corresponds to the JSON property `operationTypes`
3214
+ # @return [Array<String>]
3215
+ attr_accessor :operation_types
3216
+
3217
+ def initialize(**args)
3218
+ update!(**args)
3219
+ end
3220
+
3221
+ # Update properties of this object
3222
+ def update!(**args)
3223
+ @operation = args[:operation] if args.key?(:operation)
3224
+ @operation_types = args[:operation_types] if args.key?(:operation_types)
3225
+ end
3226
+ end
3227
+
3228
+ # GraphQLOperationConfig binds the resources in a proxy or remote service with
3229
+ # the graphQL operation and its associated quota enforcement.
3230
+ class GoogleCloudApigeeV1GraphQlOperationConfig
3231
+ include Google::Apis::Core::Hashable
3232
+
3233
+ # Required. API proxy endpoint or remote service name with which the graphQL
3234
+ # operation, and quota are associated.
3235
+ # Corresponds to the JSON property `apiSource`
3236
+ # @return [String]
3237
+ attr_accessor :api_source
3238
+
3239
+ # Custom attributes associated with the operation.
3240
+ # Corresponds to the JSON property `attributes`
3241
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
3242
+ attr_accessor :attributes
3243
+
3244
+ # Required. List of graphQL name/Operation type pairs for the proxy/remote
3245
+ # service, upon which quota will applied. If GraphQLOperation operation has only
3246
+ # the operation type(s), that would imply that quota will be applied on all
3247
+ # graphQL requests irrespective of the graphQL name. **Note**: Currently, we can
3248
+ # specify only a single GraphQLOperation. Specifying more than one will result
3249
+ # in failure of the operation.
3250
+ # Corresponds to the JSON property `operations`
3251
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperation>]
3252
+ attr_accessor :operations
3253
+
3254
+ # Quota contains the essential parameters needed that can be applied on a proxy/
3255
+ # remote service, resources and methods combination associated with this API
3256
+ # product. While setting of Quota is optional, setting it prevents requests from
3257
+ # exceeding the provisioned parameters.
3258
+ # Corresponds to the JSON property `quota`
3259
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota]
3260
+ attr_accessor :quota
3261
+
3262
+ def initialize(**args)
3263
+ update!(**args)
3264
+ end
3265
+
3266
+ # Update properties of this object
3267
+ def update!(**args)
3268
+ @api_source = args[:api_source] if args.key?(:api_source)
3269
+ @attributes = args[:attributes] if args.key?(:attributes)
3270
+ @operations = args[:operations] if args.key?(:operations)
3271
+ @quota = args[:quota] if args.key?(:quota)
3272
+ end
3273
+ end
3274
+
3275
+ # List of graphQL operation configuration details associated with Apigee API
3276
+ # proxies or remote services. Remote services are non-Apigee proxies, such as
3277
+ # Istio-Envoy.
3278
+ class GoogleCloudApigeeV1GraphQlOperationGroup
3279
+ include Google::Apis::Core::Hashable
3280
+
3281
+ # Flag that specifes whether the configuration is for Apigee API proxy or a
3282
+ # remote service. Valid values are `proxy` or `remoteservice`. Defaults to `
3283
+ # proxy`. Set to `proxy` when Apigee API proxies are associated with the API
3284
+ # product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are
3285
+ # associated with the API product.
3286
+ # Corresponds to the JSON property `operationConfigType`
3287
+ # @return [String]
3288
+ attr_accessor :operation_config_type
3289
+
3290
+ # Required. List of operation configurations for either Apigee API proxies or
3291
+ # other remote services that are associated with this API product.
3292
+ # Corresponds to the JSON property `operationConfigs`
3293
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationConfig>]
3294
+ attr_accessor :operation_configs
3295
+
3296
+ def initialize(**args)
3297
+ update!(**args)
3298
+ end
3299
+
3300
+ # Update properties of this object
3301
+ def update!(**args)
3302
+ @operation_config_type = args[:operation_config_type] if args.key?(:operation_config_type)
3303
+ @operation_configs = args[:operation_configs] if args.key?(:operation_configs)
3304
+ end
3305
+ end
3306
+
3076
3307
  #
3077
3308
  class GoogleCloudApigeeV1IngressConfig
3078
3309
  include Google::Apis::Core::Hashable
@@ -3331,6 +3562,26 @@ module Google
3331
3562
  end
3332
3563
  end
3333
3564
 
3565
+ # Configuration for the Integration add-on.
3566
+ class GoogleCloudApigeeV1IntegrationConfig
3567
+ include Google::Apis::Core::Hashable
3568
+
3569
+ # Flag that specifies whether the Integration add-on is enabled.
3570
+ # Corresponds to the JSON property `enabled`
3571
+ # @return [Boolean]
3572
+ attr_accessor :enabled
3573
+ alias_method :enabled?, :enabled
3574
+
3575
+ def initialize(**args)
3576
+ update!(**args)
3577
+ end
3578
+
3579
+ # Update properties of this object
3580
+ def update!(**args)
3581
+ @enabled = args[:enabled] if args.key?(:enabled)
3582
+ end
3583
+ end
3584
+
3334
3585
  #
3335
3586
  class GoogleCloudApigeeV1KeyAliasReference
3336
3587
  include Google::Apis::Core::Hashable
@@ -3683,6 +3934,32 @@ module Google
3683
3934
  end
3684
3935
  end
3685
3936
 
3937
+ # Response for ListDeveloperSubscriptions.
3938
+ class GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse
3939
+ include Google::Apis::Core::Hashable
3940
+
3941
+ # List of all subscriptions.
3942
+ # Corresponds to the JSON property `developerSubscriptions`
3943
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription>]
3944
+ attr_accessor :developer_subscriptions
3945
+
3946
+ # Value that can be sent as `startKey` to retrieve the next page of content. If
3947
+ # this field is omitted, there are no subsequent pages.
3948
+ # Corresponds to the JSON property `nextStartKey`
3949
+ # @return [String]
3950
+ attr_accessor :next_start_key
3951
+
3952
+ def initialize(**args)
3953
+ update!(**args)
3954
+ end
3955
+
3956
+ # Update properties of this object
3957
+ def update!(**args)
3958
+ @developer_subscriptions = args[:developer_subscriptions] if args.key?(:developer_subscriptions)
3959
+ @next_start_key = args[:next_start_key] if args.key?(:next_start_key)
3960
+ end
3961
+ end
3962
+
3686
3963
  # Response for ListEnvironmentGroupAttachments.
3687
3964
  class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
3688
3965
  include Google::Apis::Core::Hashable
@@ -3908,6 +4185,32 @@ module Google
3908
4185
  end
3909
4186
  end
3910
4187
 
4188
+ # Response for ListRatePlans.
4189
+ class GoogleCloudApigeeV1ListRatePlansResponse
4190
+ include Google::Apis::Core::Hashable
4191
+
4192
+ # Value that can be sent as `startKey` to retrieve the next page of content. If
4193
+ # this field is omitted, there are no subsequent pages.
4194
+ # Corresponds to the JSON property `nextStartKey`
4195
+ # @return [String]
4196
+ attr_accessor :next_start_key
4197
+
4198
+ # List of rate plans in an organization.
4199
+ # Corresponds to the JSON property `ratePlans`
4200
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan>]
4201
+ attr_accessor :rate_plans
4202
+
4203
+ def initialize(**args)
4204
+ update!(**args)
4205
+ end
4206
+
4207
+ # Update properties of this object
4208
+ def update!(**args)
4209
+ @next_start_key = args[:next_start_key] if args.key?(:next_start_key)
4210
+ @rate_plans = args[:rate_plans] if args.key?(:rate_plans)
4211
+ end
4212
+ end
4213
+
3911
4214
  #
3912
4215
  class GoogleCloudApigeeV1ListSharedFlowsResponse
3913
4216
  include Google::Apis::Core::Hashable
@@ -4010,6 +4313,26 @@ module Google
4010
4313
  end
4011
4314
  end
4012
4315
 
4316
+ # Configuration for the Monetization add-on.
4317
+ class GoogleCloudApigeeV1MonetizationConfig
4318
+ include Google::Apis::Core::Hashable
4319
+
4320
+ # Flag that specifies whether the Monetization add-on is enabled.
4321
+ # Corresponds to the JSON property `enabled`
4322
+ # @return [Boolean]
4323
+ attr_accessor :enabled
4324
+ alias_method :enabled?, :enabled
4325
+
4326
+ def initialize(**args)
4327
+ update!(**args)
4328
+ end
4329
+
4330
+ # Update properties of this object
4331
+ def update!(**args)
4332
+ @enabled = args[:enabled] if args.key?(:enabled)
4333
+ end
4334
+ end
4335
+
4013
4336
  # Apigee NAT(network address translation) address. A NAT address is a static
4014
4337
  # external IP address used for Internet egress traffic.
4015
4338
  class GoogleCloudApigeeV1NatAddress
@@ -4155,6 +4478,11 @@ module Google
4155
4478
  # @return [String]
4156
4479
  attr_accessor :operation_type
4157
4480
 
4481
+ # Information about operation progress.
4482
+ # Corresponds to the JSON property `progress`
4483
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationMetadataProgress]
4484
+ attr_accessor :progress
4485
+
4158
4486
  #
4159
4487
  # Corresponds to the JSON property `state`
4160
4488
  # @return [String]
@@ -4172,11 +4500,49 @@ module Google
4172
4500
  # Update properties of this object
4173
4501
  def update!(**args)
4174
4502
  @operation_type = args[:operation_type] if args.key?(:operation_type)
4503
+ @progress = args[:progress] if args.key?(:progress)
4175
4504
  @state = args[:state] if args.key?(:state)
4176
4505
  @target_resource_name = args[:target_resource_name] if args.key?(:target_resource_name)
4177
4506
  end
4178
4507
  end
4179
4508
 
4509
+ # Information about operation progress.
4510
+ class GoogleCloudApigeeV1OperationMetadataProgress
4511
+ include Google::Apis::Core::Hashable
4512
+
4513
+ # Description of the operation's progress.
4514
+ # Corresponds to the JSON property `description`
4515
+ # @return [String]
4516
+ attr_accessor :description
4517
+
4518
+ # The additional details of the progress.
4519
+ # Corresponds to the JSON property `details`
4520
+ # @return [Hash<String,Object>]
4521
+ attr_accessor :details
4522
+
4523
+ # The percentage of the operation progress.
4524
+ # Corresponds to the JSON property `percentDone`
4525
+ # @return [Fixnum]
4526
+ attr_accessor :percent_done
4527
+
4528
+ # State of the operation.
4529
+ # Corresponds to the JSON property `state`
4530
+ # @return [String]
4531
+ attr_accessor :state
4532
+
4533
+ def initialize(**args)
4534
+ update!(**args)
4535
+ end
4536
+
4537
+ # Update properties of this object
4538
+ def update!(**args)
4539
+ @description = args[:description] if args.key?(:description)
4540
+ @details = args[:details] if args.key?(:details)
4541
+ @percent_done = args[:percent_done] if args.key?(:percent_done)
4542
+ @state = args[:state] if args.key?(:state)
4543
+ end
4544
+ end
4545
+
4180
4546
  #
4181
4547
  class GoogleCloudApigeeV1OptimizedStats
4182
4548
  include Google::Apis::Core::Hashable
@@ -4269,6 +4635,11 @@ module Google
4269
4635
  class GoogleCloudApigeeV1Organization
4270
4636
  include Google::Apis::Core::Hashable
4271
4637
 
4638
+ # Add-on configurations for the Apigee organization.
4639
+ # Corresponds to the JSON property `addonsConfig`
4640
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig]
4641
+ attr_accessor :addons_config
4642
+
4272
4643
  # Required. Primary GCP region for analytics data storage. For valid values, see
4273
4644
  # [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-
4274
4645
  # platform/get-started/create-org).
@@ -4285,19 +4656,20 @@ module Google
4285
4656
  # runtime instances. See [Getting started with the Service Networking API](https:
4286
4657
  # //cloud.google.com/service-infrastructure/docs/service-networking/getting-
4287
4658
  # started). Valid only when [RuntimeType](#RuntimeType) is set to `CLOUD`. The
4288
- # value can be updated only when there are no runtime instances. For example: `
4289
- # default`. Apigee also supports shared VPC (that is, the host network project
4290
- # is not the same as the one that is peering with Apigee). See [Shared VPC
4291
- # overview](https://cloud.google.com/vpc/docs/shared-vpc). To use a shared VPC
4292
- # network, use the following format: `projects/`host-project-id`/`region`/
4293
- # networks/`network-name``. For example: `projects/my-sharedvpc-host/global/
4294
- # networks/mynetwork` **Note:** Not supported for Apigee hybrid.
4659
+ # value must be set before the creation of a runtime instance and can be updated
4660
+ # only when there are no runtime instances. For example: `default`. Apigee also
4661
+ # supports shared VPC (that is, the host network project is not the same as the
4662
+ # one that is peering with Apigee). See [Shared VPC overview](https://cloud.
4663
+ # google.com/vpc/docs/shared-vpc). To use a shared VPC network, use the
4664
+ # following format: `projects/`host-project-id`/`region`/networks/`network-name``
4665
+ # . For example: `projects/my-sharedvpc-host/global/networks/mynetwork` **Note:**
4666
+ # Not supported for Apigee hybrid.
4295
4667
  # Corresponds to the JSON property `authorizedNetwork`
4296
4668
  # @return [String]
4297
4669
  attr_accessor :authorized_network
4298
4670
 
4299
- # Output only. Billing type of the Apigee organization. See [Apigee pricing](
4300
- # https://cloud.google.com/apigee/pricing).
4671
+ # Billing type of the Apigee organization. See [Apigee pricing](https://cloud.
4672
+ # google.com/apigee/pricing).
4301
4673
  # Corresponds to the JSON property `billingType`
4302
4674
  # @return [String]
4303
4675
  attr_accessor :billing_type
@@ -4351,7 +4723,7 @@ module Google
4351
4723
  # @return [String]
4352
4724
  attr_accessor :name
4353
4725
 
4354
- # Project ID associated with the Apigee organization.
4726
+ # Output only. Project ID associated with the Apigee organization.
4355
4727
  # Corresponds to the JSON property `projectId`
4356
4728
  # @return [String]
4357
4729
  attr_accessor :project_id
@@ -4364,10 +4736,10 @@ module Google
4364
4736
 
4365
4737
  # Cloud KMS key name used for encrypting the data that is stored and replicated
4366
4738
  # across runtime instances. Update is not allowed after the organization is
4367
- # created. If not specified, a Google-Managed encryption key will be used. Valid
4368
- # only when [RuntimeType](#RuntimeType) is `CLOUD`. For example: "projects/foo/
4369
- # locations/us/keyRings/bar/cryptoKeys/baz". **Note:** Not supported for Apigee
4370
- # hybrid.
4739
+ # created. Required when [RuntimeType](#RuntimeType) is `CLOUD`. If not
4740
+ # specified when [RuntimeType](#RuntimeType) is `TRIAL`, a Google-Managed
4741
+ # encryption key will be used. For example: "projects/foo/locations/us/keyRings/
4742
+ # bar/cryptoKeys/baz". **Note:** Not supported for Apigee hybrid.
4371
4743
  # Corresponds to the JSON property `runtimeDatabaseEncryptionKeyName`
4372
4744
  # @return [String]
4373
4745
  attr_accessor :runtime_database_encryption_key_name
@@ -4404,6 +4776,7 @@ module Google
4404
4776
 
4405
4777
  # Update properties of this object
4406
4778
  def update!(**args)
4779
+ @addons_config = args[:addons_config] if args.key?(:addons_config)
4407
4780
  @analytics_region = args[:analytics_region] if args.key?(:analytics_region)
4408
4781
  @attributes = args[:attributes] if args.key?(:attributes)
4409
4782
  @authorized_network = args[:authorized_network] if args.key?(:authorized_network)
@@ -4618,7 +4991,9 @@ module Google
4618
4991
  # @return [String]
4619
4992
  attr_accessor :authorized_network
4620
4993
 
4621
- # Cloud Platform location for the runtime instance. Defaults to `us-west1-a`.
4994
+ # Cloud Platform location for the runtime instance. Defaults to zone `us-west1-a`
4995
+ # . If a region is provided, `EVAL` organizations will use the region for
4996
+ # automatically selecting a zone for the runtime instance.
4622
4997
  # Corresponds to the JSON property `runtimeLocation`
4623
4998
  # @return [String]
4624
4999
  attr_accessor :runtime_location
@@ -4868,6 +5243,175 @@ module Google
4868
5243
  end
4869
5244
  end
4870
5245
 
5246
+ # Rate plan details.
5247
+ class GoogleCloudApigeeV1RatePlan
5248
+ include Google::Apis::Core::Hashable
5249
+
5250
+ # Name of the API product that the rate plan is associated with.
5251
+ # Corresponds to the JSON property `apiproduct`
5252
+ # @return [String]
5253
+ attr_accessor :apiproduct
5254
+
5255
+ # Frequency at which the customer will be billed.
5256
+ # Corresponds to the JSON property `billingPeriod`
5257
+ # @return [String]
5258
+ attr_accessor :billing_period
5259
+
5260
+ # API call volume ranges and the fees charged when the total number of API calls
5261
+ # is within a given range. The method used to calculate the final fee depends on
5262
+ # the selected pricing model. For example, if the pricing model is `STAIRSTEP`
5263
+ # and the ranges are defined as follows: ``` ` "start": 1, "end": 100, "fee": 75
5264
+ # `, ` "start": 101, "end": 200, "fee": 100 `, ` ``` Then the following fees
5265
+ # would be charged based on the total number of API calls (assuming the currency
5266
+ # selected is `USD`): * 1 call costs $75 * 50 calls cost $75 * 150 calls cost $
5267
+ # 100 The number of API calls cannot exceed 200.
5268
+ # Corresponds to the JSON property `consumptionPricingRates`
5269
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RateRange>]
5270
+ attr_accessor :consumption_pricing_rates
5271
+
5272
+ # Pricing model used for consumption-based charges.
5273
+ # Corresponds to the JSON property `consumptionPricingType`
5274
+ # @return [String]
5275
+ attr_accessor :consumption_pricing_type
5276
+
5277
+ # Output only. Time that the rate plan was created in milliseconds since epoch.
5278
+ # Corresponds to the JSON property `createdAt`
5279
+ # @return [Fixnum]
5280
+ attr_accessor :created_at
5281
+
5282
+ # Currency to be used for billing. Consists of a three-letter code as defined by
5283
+ # the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) standard.
5284
+ # Corresponds to the JSON property `currencyCode`
5285
+ # @return [String]
5286
+ attr_accessor :currency_code
5287
+
5288
+ # Description of the rate plan.
5289
+ # Corresponds to the JSON property `description`
5290
+ # @return [String]
5291
+ attr_accessor :description
5292
+
5293
+ # Display name of the rate plan.
5294
+ # Corresponds to the JSON property `displayName`
5295
+ # @return [String]
5296
+ attr_accessor :display_name
5297
+
5298
+ # Time when the rate plan will expire in milliseconds since epoch. Set to 0 or `
5299
+ # null` to indicate that the rate plan should never expire.
5300
+ # Corresponds to the JSON property `endTime`
5301
+ # @return [Fixnum]
5302
+ attr_accessor :end_time
5303
+
5304
+ # Frequency at which the fixed fee is charged.
5305
+ # Corresponds to the JSON property `fixedFeeFrequency`
5306
+ # @return [Fixnum]
5307
+ attr_accessor :fixed_fee_frequency
5308
+
5309
+ # Represents an amount of money with its currency type.
5310
+ # Corresponds to the JSON property `fixedRecurringFee`
5311
+ # @return [Google::Apis::ApigeeV1::GoogleTypeMoney]
5312
+ attr_accessor :fixed_recurring_fee
5313
+
5314
+ # Output only. Time the rate plan was last modified in milliseconds since epoch.
5315
+ # Corresponds to the JSON property `lastModifiedAt`
5316
+ # @return [Fixnum]
5317
+ attr_accessor :last_modified_at
5318
+
5319
+ # Output only. Name of the rate plan.
5320
+ # Corresponds to the JSON property `name`
5321
+ # @return [String]
5322
+ attr_accessor :name
5323
+
5324
+ # Flag that specifies the billing account type, prepaid or postpaid.
5325
+ # Corresponds to the JSON property `paymentFundingModel`
5326
+ # @return [String]
5327
+ attr_accessor :payment_funding_model
5328
+
5329
+ # Details of the revenue sharing model.
5330
+ # Corresponds to the JSON property `revenueShareRates`
5331
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RevenueShareRange>]
5332
+ attr_accessor :revenue_share_rates
5333
+
5334
+ # Method used to calculate the revenue that is shared with developers.
5335
+ # Corresponds to the JSON property `revenueShareType`
5336
+ # @return [String]
5337
+ attr_accessor :revenue_share_type
5338
+
5339
+ # Represents an amount of money with its currency type.
5340
+ # Corresponds to the JSON property `setupFee`
5341
+ # @return [Google::Apis::ApigeeV1::GoogleTypeMoney]
5342
+ attr_accessor :setup_fee
5343
+
5344
+ # Time when the rate plan becomes active in milliseconds since epoch.
5345
+ # Corresponds to the JSON property `startTime`
5346
+ # @return [Fixnum]
5347
+ attr_accessor :start_time
5348
+
5349
+ # Current state of the rate plan (draft or published).
5350
+ # Corresponds to the JSON property `state`
5351
+ # @return [String]
5352
+ attr_accessor :state
5353
+
5354
+ def initialize(**args)
5355
+ update!(**args)
5356
+ end
5357
+
5358
+ # Update properties of this object
5359
+ def update!(**args)
5360
+ @apiproduct = args[:apiproduct] if args.key?(:apiproduct)
5361
+ @billing_period = args[:billing_period] if args.key?(:billing_period)
5362
+ @consumption_pricing_rates = args[:consumption_pricing_rates] if args.key?(:consumption_pricing_rates)
5363
+ @consumption_pricing_type = args[:consumption_pricing_type] if args.key?(:consumption_pricing_type)
5364
+ @created_at = args[:created_at] if args.key?(:created_at)
5365
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
5366
+ @description = args[:description] if args.key?(:description)
5367
+ @display_name = args[:display_name] if args.key?(:display_name)
5368
+ @end_time = args[:end_time] if args.key?(:end_time)
5369
+ @fixed_fee_frequency = args[:fixed_fee_frequency] if args.key?(:fixed_fee_frequency)
5370
+ @fixed_recurring_fee = args[:fixed_recurring_fee] if args.key?(:fixed_recurring_fee)
5371
+ @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
5372
+ @name = args[:name] if args.key?(:name)
5373
+ @payment_funding_model = args[:payment_funding_model] if args.key?(:payment_funding_model)
5374
+ @revenue_share_rates = args[:revenue_share_rates] if args.key?(:revenue_share_rates)
5375
+ @revenue_share_type = args[:revenue_share_type] if args.key?(:revenue_share_type)
5376
+ @setup_fee = args[:setup_fee] if args.key?(:setup_fee)
5377
+ @start_time = args[:start_time] if args.key?(:start_time)
5378
+ @state = args[:state] if args.key?(:state)
5379
+ end
5380
+ end
5381
+
5382
+ # API call volume range and the fees charged when the total number of API calls
5383
+ # is within the range.
5384
+ class GoogleCloudApigeeV1RateRange
5385
+ include Google::Apis::Core::Hashable
5386
+
5387
+ # Ending value of the range. Set to 0 or `null` for the last range of values.
5388
+ # Corresponds to the JSON property `end`
5389
+ # @return [Fixnum]
5390
+ attr_accessor :end
5391
+
5392
+ # Represents an amount of money with its currency type.
5393
+ # Corresponds to the JSON property `fee`
5394
+ # @return [Google::Apis::ApigeeV1::GoogleTypeMoney]
5395
+ attr_accessor :fee
5396
+
5397
+ # Starting value of the range. Set to 0 or `null` for the initial range of
5398
+ # values.
5399
+ # Corresponds to the JSON property `start`
5400
+ # @return [Fixnum]
5401
+ attr_accessor :start
5402
+
5403
+ def initialize(**args)
5404
+ update!(**args)
5405
+ end
5406
+
5407
+ # Update properties of this object
5408
+ def update!(**args)
5409
+ @end = args[:end] if args.key?(:end)
5410
+ @fee = args[:fee] if args.key?(:fee)
5411
+ @start = args[:start] if args.key?(:start)
5412
+ end
5413
+ end
5414
+
4871
5415
  # A Reference configuration. References must refer to a keystore that also
4872
5416
  # exists in the parent environment.
4873
5417
  class GoogleCloudApigeeV1Reference
@@ -5214,6 +5758,42 @@ module Google
5214
5758
  end
5215
5759
  end
5216
5760
 
5761
+ # API call volume range and the percentage of revenue to share with the
5762
+ # developer when the total number of API calls is within the range.
5763
+ class GoogleCloudApigeeV1RevenueShareRange
5764
+ include Google::Apis::Core::Hashable
5765
+
5766
+ # Ending value of the range. Set to 0 or `null` for the last range of values.
5767
+ # Corresponds to the JSON property `end`
5768
+ # @return [Fixnum]
5769
+ attr_accessor :end
5770
+
5771
+ # Percentage of the revenue to be shared with the developer. For example, to
5772
+ # share 21 percent of the total revenue with the developer, set this value to 21.
5773
+ # Specify a decimal number with a maximum of two digits following the decimal
5774
+ # point.
5775
+ # Corresponds to the JSON property `sharePercentage`
5776
+ # @return [Float]
5777
+ attr_accessor :share_percentage
5778
+
5779
+ # Starting value of the range. Set to 0 or `null` for the initial range of
5780
+ # values.
5781
+ # Corresponds to the JSON property `start`
5782
+ # @return [Fixnum]
5783
+ attr_accessor :start
5784
+
5785
+ def initialize(**args)
5786
+ update!(**args)
5787
+ end
5788
+
5789
+ # Update properties of this object
5790
+ def update!(**args)
5791
+ @end = args[:end] if args.key?(:end)
5792
+ @share_percentage = args[:share_percentage] if args.key?(:share_percentage)
5793
+ @start = args[:start] if args.key?(:start)
5794
+ end
5795
+ end
5796
+
5217
5797
  # The status of a specific resource revision.
5218
5798
  class GoogleCloudApigeeV1RevisionStatus
5219
5799
  include Google::Apis::Core::Hashable
@@ -5223,7 +5803,8 @@ module Google
5223
5803
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateError>]
5224
5804
  attr_accessor :errors
5225
5805
 
5226
- # The json content of the resource revision.
5806
+ # The json content of the resource revision. Large specs should be sent
5807
+ # individually via the spec field to avoid hitting request size limits.
5227
5808
  # Corresponds to the JSON property `jsonSpec`
5228
5809
  # @return [String]
5229
5810
  attr_accessor :json_spec
@@ -5459,7 +6040,7 @@ module Google
5459
6040
  class GoogleCloudApigeeV1Schema
5460
6041
  include Google::Apis::Core::Hashable
5461
6042
 
5462
- # List of schema fiels grouped as dimensions.
6043
+ # List of schema fields grouped as dimensions.
5463
6044
  # Corresponds to the JSON property `dimensions`
5464
6045
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaElement>]
5465
6046
  attr_accessor :dimensions
@@ -5470,8 +6051,8 @@ module Google
5470
6051
  # @return [Array<String>]
5471
6052
  attr_accessor :meta
5472
6053
 
5473
- # List of schema fields grouped as dimensions. These are fields that can be used
5474
- # with an aggregate function such as sum, avg, min, max.
6054
+ # List of schema fields grouped as dimensions that can be used with an aggregate
6055
+ # function such as `sum`, `avg`, `min`, and `max`.
5475
6056
  # Corresponds to the JSON property `metrics`
5476
6057
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaElement>]
5477
6058
  attr_accessor :metrics
@@ -5492,12 +6073,12 @@ module Google
5492
6073
  class GoogleCloudApigeeV1SchemaSchemaElement
5493
6074
  include Google::Apis::Core::Hashable
5494
6075
 
5495
- # Name of the field
6076
+ # Name of the field.
5496
6077
  # Corresponds to the JSON property `name`
5497
6078
  # @return [String]
5498
6079
  attr_accessor :name
5499
6080
 
5500
- # Message type for schema property
6081
+ # Properties for the schema field.
5501
6082
  # Corresponds to the JSON property `properties`
5502
6083
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaProperty]
5503
6084
  attr_accessor :properties
@@ -5513,17 +6094,18 @@ module Google
5513
6094
  end
5514
6095
  end
5515
6096
 
5516
- # Message type for schema property
6097
+ # Properties for the schema field.
5517
6098
  class GoogleCloudApigeeV1SchemaSchemaProperty
5518
6099
  include Google::Apis::Core::Hashable
5519
6100
 
5520
- # Creation time of the field
6101
+ # Time the field was created in RFC3339 string form. For example: `2016-02-26T10:
6102
+ # 23:09.592Z`.
5521
6103
  # Corresponds to the JSON property `createTime`
5522
6104
  # @return [String]
5523
6105
  attr_accessor :create_time
5524
6106
 
5525
- # Custom is a flag signifying if the field was provided as part of the standard
5526
- # dataset or a custom field created by the customer
6107
+ # Flag that specifies whether the field is standard in the dataset or a custom
6108
+ # field created by the customer. `true` indicates that it is a custom field.
5527
6109
  # Corresponds to the JSON property `custom`
5528
6110
  # @return [String]
5529
6111
  attr_accessor :custom
@@ -5595,6 +6177,25 @@ module Google
5595
6177
  end
5596
6178
  end
5597
6179
 
6180
+ # Request for SetAddons.
6181
+ class GoogleCloudApigeeV1SetAddonsRequest
6182
+ include Google::Apis::Core::Hashable
6183
+
6184
+ # Add-on configurations for the Apigee organization.
6185
+ # Corresponds to the JSON property `addonsConfig`
6186
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig]
6187
+ attr_accessor :addons_config
6188
+
6189
+ def initialize(**args)
6190
+ update!(**args)
6191
+ end
6192
+
6193
+ # Update properties of this object
6194
+ def update!(**args)
6195
+ @addons_config = args[:addons_config] if args.key?(:addons_config)
6196
+ end
6197
+ end
6198
+
5598
6199
  # The metadata describing a shared flow
5599
6200
  class GoogleCloudApigeeV1SharedFlow
5600
6201
  include Google::Apis::Core::Hashable
@@ -5944,6 +6545,11 @@ module Google
5944
6545
  # @return [Fixnum]
5945
6546
  attr_accessor :port
5946
6547
 
6548
+ # Immutable. The protocol used by this TargetServer.
6549
+ # Corresponds to the JSON property `protocol`
6550
+ # @return [String]
6551
+ attr_accessor :protocol
6552
+
5947
6553
  # TLS configuration information for VirtualHosts and TargetServers.
5948
6554
  # Corresponds to the JSON property `sSLInfo`
5949
6555
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfo]
@@ -5960,6 +6566,7 @@ module Google
5960
6566
  @is_enabled = args[:is_enabled] if args.key?(:is_enabled)
5961
6567
  @name = args[:name] if args.key?(:name)
5962
6568
  @port = args[:port] if args.key?(:port)
6569
+ @protocol = args[:protocol] if args.key?(:protocol)
5963
6570
  @s_sl_info = args[:s_sl_info] if args.key?(:s_sl_info)
5964
6571
  end
5965
6572
  end
@@ -5984,6 +6591,11 @@ module Google
5984
6591
  # @return [Fixnum]
5985
6592
  attr_accessor :port
5986
6593
 
6594
+ # The protocol used by this target server.
6595
+ # Corresponds to the JSON property `protocol`
6596
+ # @return [String]
6597
+ attr_accessor :protocol
6598
+
5987
6599
  # TLS settings for the target server.
5988
6600
  # Corresponds to the JSON property `tlsInfo`
5989
6601
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoConfig]
@@ -5998,6 +6610,7 @@ module Google
5998
6610
  @host = args[:host] if args.key?(:host)
5999
6611
  @name = args[:name] if args.key?(:name)
6000
6612
  @port = args[:port] if args.key?(:port)
6613
+ @protocol = args[:protocol] if args.key?(:protocol)
6001
6614
  @tls_info = args[:tls_info] if args.key?(:tls_info)
6002
6615
  end
6003
6616
  end
@@ -6924,6 +7537,42 @@ module Google
6924
7537
  @title = args[:title] if args.key?(:title)
6925
7538
  end
6926
7539
  end
7540
+
7541
+ # Represents an amount of money with its currency type.
7542
+ class GoogleTypeMoney
7543
+ include Google::Apis::Core::Hashable
7544
+
7545
+ # The three-letter currency code defined in ISO 4217.
7546
+ # Corresponds to the JSON property `currencyCode`
7547
+ # @return [String]
7548
+ attr_accessor :currency_code
7549
+
7550
+ # Number of nano (10^-9) units of the amount. The value must be between -999,999,
7551
+ # 999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be
7552
+ # positive or zero. If `units` is zero, `nanos` can be positive, zero, or
7553
+ # negative. If `units` is negative, `nanos` must be negative or zero. For
7554
+ # example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
7555
+ # Corresponds to the JSON property `nanos`
7556
+ # @return [Fixnum]
7557
+ attr_accessor :nanos
7558
+
7559
+ # The whole units of the amount. For example if `currencyCode` is `"USD"`, then
7560
+ # 1 unit is one US dollar.
7561
+ # Corresponds to the JSON property `units`
7562
+ # @return [Fixnum]
7563
+ attr_accessor :units
7564
+
7565
+ def initialize(**args)
7566
+ update!(**args)
7567
+ end
7568
+
7569
+ # Update properties of this object
7570
+ def update!(**args)
7571
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
7572
+ @nanos = args[:nanos] if args.key?(:nanos)
7573
+ @units = args[:units] if args.key?(:units)
7574
+ end
7575
+ end
6927
7576
  end
6928
7577
  end
6929
7578
  end