google-apis-apigee_v1 0.7.0 → 0.12.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: bdd24dfc841a257c8ea69fa05e5ac522d8caa12f9a37f13168ac1c4765742448
4
- data.tar.gz: 39fffa05f235571d30ee573c10c382390e19686a762577e4ec32f88401bcdfba
3
+ metadata.gz: 7854405c11cf690dba40e71c6fdf82c28c6670e8425a91f3ac0c13d0bcefc83f
4
+ data.tar.gz: 7d5dfcd509c123e6db7fbf122134550058bb91edf1f89307baf4566f8019df30
5
5
  SHA512:
6
- metadata.gz: 66c745a214a604df8d0b1d244dd6c39e0b339f13971a83324ce7af2a3348a70dc8f661dfec78f3ee5ea17374bb856029be366c01ddce523b37241e3fbbe70278
7
- data.tar.gz: 27a58b214f87d1a86018995368615e2b5ba453c7ed11734bfb409bd77142d94c5bbe3b79504bb2f0dbd3c3fc6995a1b250e3d2a54977265e948dab58c73b6312
6
+ metadata.gz: db2d86581fddf6071915d0de676b05e058aaa79eee3d4377191f79bc1885c62f3351cc88786ed684347e21739c67d77a1f5a6c80d7a2252f5a328ab14105910e
7
+ data.tar.gz: f8fcd21112d77d8e285ae1a48e9cd8c0bc5df1cf3d1a0dc76be148e530cc3418ff39e300a8278ff7d2e19ce3a645b5861368b6fa6361a5d2279fb869b808d122
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.12.0 (2021-05-25)
4
+
5
+ * Regenerated from discovery document revision 20210522
6
+
7
+ ### v0.11.0 (2021-05-19)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.10.0 (2021-05-12)
12
+
13
+ * Regenerated from discovery document revision 20210510
14
+
15
+ ### v0.9.0 (2021-04-01)
16
+
17
+ * Regenerated from discovery document revision 20210326
18
+
19
+ ### v0.8.0 (2021-03-23)
20
+
21
+ * Regenerated from discovery document revision 20210319
22
+
3
23
  ### v0.7.0 (2021-03-16)
4
24
 
5
25
  * Regenerated from discovery document revision 20210312
@@ -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
@@ -1993,6 +2044,12 @@ module Google
1993
2044
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict>]
1994
2045
  attr_accessor :route_conflicts
1995
2046
 
2047
+ # The full resource name of Cloud IAM Service Account that this deployment is
2048
+ # using, eg, `projects/-/serviceAccounts/`email``.
2049
+ # Corresponds to the JSON property `serviceAccount`
2050
+ # @return [String]
2051
+ attr_accessor :service_account
2052
+
1996
2053
  # Current state of the deployment. This field is not populated in List APIs.
1997
2054
  # Corresponds to the JSON property `state`
1998
2055
  # @return [String]
@@ -2012,6 +2069,7 @@ module Google
2012
2069
  @pods = args[:pods] if args.key?(:pods)
2013
2070
  @revision = args[:revision] if args.key?(:revision)
2014
2071
  @route_conflicts = args[:route_conflicts] if args.key?(:route_conflicts)
2072
+ @service_account = args[:service_account] if args.key?(:service_account)
2015
2073
  @state = args[:state] if args.key?(:state)
2016
2074
  end
2017
2075
  end
@@ -2499,6 +2557,57 @@ module Google
2499
2557
  end
2500
2558
  end
2501
2559
 
2560
+ # Structure of a DeveloperSubscription.
2561
+ class GoogleCloudApigeeV1DeveloperSubscription
2562
+ include Google::Apis::Core::Hashable
2563
+
2564
+ # Name of the API product for which the developer is purchasing a subscription.
2565
+ # Corresponds to the JSON property `apiproduct`
2566
+ # @return [String]
2567
+ attr_accessor :apiproduct
2568
+
2569
+ # Output only. Time when the API product subscription was created in
2570
+ # milliseconds since epoch.
2571
+ # Corresponds to the JSON property `createdAt`
2572
+ # @return [Fixnum]
2573
+ attr_accessor :created_at
2574
+
2575
+ # Time when the API product subscription ends in milliseconds since epoch.
2576
+ # Corresponds to the JSON property `endTime`
2577
+ # @return [Fixnum]
2578
+ attr_accessor :end_time
2579
+
2580
+ # Output only. Time when the API product subscription was last modified in
2581
+ # milliseconds since epoch.
2582
+ # Corresponds to the JSON property `lastModifiedAt`
2583
+ # @return [Fixnum]
2584
+ attr_accessor :last_modified_at
2585
+
2586
+ # Output only. Name of the API product subscription.
2587
+ # Corresponds to the JSON property `name`
2588
+ # @return [String]
2589
+ attr_accessor :name
2590
+
2591
+ # Time when the API product subscription starts in milliseconds since epoch.
2592
+ # Corresponds to the JSON property `startTime`
2593
+ # @return [Fixnum]
2594
+ attr_accessor :start_time
2595
+
2596
+ def initialize(**args)
2597
+ update!(**args)
2598
+ end
2599
+
2600
+ # Update properties of this object
2601
+ def update!(**args)
2602
+ @apiproduct = args[:apiproduct] if args.key?(:apiproduct)
2603
+ @created_at = args[:created_at] if args.key?(:created_at)
2604
+ @end_time = args[:end_time] if args.key?(:end_time)
2605
+ @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
2606
+ @name = args[:name] if args.key?(:name)
2607
+ @start_time = args[:start_time] if args.key?(:start_time)
2608
+ end
2609
+ end
2610
+
2502
2611
  # This message type encapsulates a metric grouped by dimension.
2503
2612
  class GoogleCloudApigeeV1DimensionMetric
2504
2613
  include Google::Apis::Core::Hashable
@@ -2864,6 +2973,19 @@ module Google
2864
2973
  end
2865
2974
  end
2866
2975
 
2976
+ # Request for ExpireDeveloperSubscription.
2977
+ class GoogleCloudApigeeV1ExpireDeveloperSubscriptionRequest
2978
+ include Google::Apis::Core::Hashable
2979
+
2980
+ def initialize(**args)
2981
+ update!(**args)
2982
+ end
2983
+
2984
+ # Update properties of this object
2985
+ def update!(**args)
2986
+ end
2987
+ end
2988
+
2867
2989
  # Details of an export job.
2868
2990
  class GoogleCloudApigeeV1Export
2869
2991
  include Google::Apis::Core::Hashable
@@ -3081,23 +3203,23 @@ module Google
3081
3203
  end
3082
3204
  end
3083
3205
 
3084
- # GraphQLOperation represents the pairing of graphQL operation types and the
3085
- # graphQL operation name.
3206
+ # Represents the pairing of GraphQL operation types and the GraphQL operation
3207
+ # name.
3086
3208
  class GoogleCloudApigeeV1GraphQlOperation
3087
3209
  include Google::Apis::Core::Hashable
3088
3210
 
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.
3211
+ # GraphQL operation name. The name and operation type will be used to apply
3212
+ # quotas. If no name is specified, the quota will be applied to all GraphQL
3213
+ # operations irrespective of their operation names in the payload.
3092
3214
  # Corresponds to the JSON property `operation`
3093
3215
  # @return [String]
3094
3216
  attr_accessor :operation
3095
3217
 
3096
- # Required. `query`, `mutation` and `subscription` are the three operation types
3097
- # offered by graphQL. Currently we support only `query` and `mutation`.
3098
- # Corresponds to the JSON property `operationType`
3218
+ # Required. GraphQL operation types. Valid values include `query` or `mutation`.
3219
+ # **Note**: Apigee does not currently support `subscription` types.
3220
+ # Corresponds to the JSON property `operationTypes`
3099
3221
  # @return [Array<String>]
3100
- attr_accessor :operation_type
3222
+ attr_accessor :operation_types
3101
3223
 
3102
3224
  def initialize(**args)
3103
3225
  update!(**args)
@@ -3106,17 +3228,17 @@ module Google
3106
3228
  # Update properties of this object
3107
3229
  def update!(**args)
3108
3230
  @operation = args[:operation] if args.key?(:operation)
3109
- @operation_type = args[:operation_type] if args.key?(:operation_type)
3231
+ @operation_types = args[:operation_types] if args.key?(:operation_types)
3110
3232
  end
3111
3233
  end
3112
3234
 
3113
- # GraphQLOperationConfig binds the resources in a proxy or remote service with
3114
- # the graphQL operation and its associated quota enforcement.
3235
+ # Binds the resources in a proxy or remote service with the GraphQL operation
3236
+ # and its associated quota enforcement.
3115
3237
  class GoogleCloudApigeeV1GraphQlOperationConfig
3116
3238
  include Google::Apis::Core::Hashable
3117
3239
 
3118
- # Required. API proxy endpoint or remote service name with which the graphQL
3119
- # operation, and quota are associated.
3240
+ # Required. Name of the API proxy endpoint or remote service with which the
3241
+ # GraphQL operation and quota are associated.
3120
3242
  # Corresponds to the JSON property `apiSource`
3121
3243
  # @return [String]
3122
3244
  attr_accessor :api_source
@@ -3126,20 +3248,19 @@ module Google
3126
3248
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
3127
3249
  attr_accessor :attributes
3128
3250
 
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.
3251
+ # Required. List of GraphQL name/operation type pairs for the proxy or remote
3252
+ # service to which quota will be applied. If only operation types are specified,
3253
+ # the quota will be applied to all GraphQL requests irrespective of the GraphQL
3254
+ # name. **Note**: Currently, you can specify only a single GraphQLOperation.
3255
+ # Specifying more than one will cause the operation to fail.
3135
3256
  # Corresponds to the JSON property `operations`
3136
3257
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperation>]
3137
3258
  attr_accessor :operations
3138
3259
 
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.
3260
+ # Quota contains the essential parameters needed that can be applied on the
3261
+ # resources, methods, API source combination associated with this API product.
3262
+ # While Quota is optional, setting it prevents requests from exceeding the
3263
+ # provisioned parameters.
3143
3264
  # Corresponds to the JSON property `quota`
3144
3265
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota]
3145
3266
  attr_accessor :quota
@@ -3163,8 +3284,8 @@ module Google
3163
3284
  class GoogleCloudApigeeV1GraphQlOperationGroup
3164
3285
  include Google::Apis::Core::Hashable
3165
3286
 
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 `
3287
+ # Flag that specifies whether the configuration is for Apigee API proxy or a
3288
+ # remote service. Valid values include `proxy` or `remoteservice`. Defaults to `
3168
3289
  # proxy`. Set to `proxy` when Apigee API proxies are associated with the API
3169
3290
  # product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are
3170
3291
  # associated with the API product.
@@ -3447,6 +3568,26 @@ module Google
3447
3568
  end
3448
3569
  end
3449
3570
 
3571
+ # Configuration for the Integration add-on.
3572
+ class GoogleCloudApigeeV1IntegrationConfig
3573
+ include Google::Apis::Core::Hashable
3574
+
3575
+ # Flag that specifies whether the Integration add-on is enabled.
3576
+ # Corresponds to the JSON property `enabled`
3577
+ # @return [Boolean]
3578
+ attr_accessor :enabled
3579
+ alias_method :enabled?, :enabled
3580
+
3581
+ def initialize(**args)
3582
+ update!(**args)
3583
+ end
3584
+
3585
+ # Update properties of this object
3586
+ def update!(**args)
3587
+ @enabled = args[:enabled] if args.key?(:enabled)
3588
+ end
3589
+ end
3590
+
3450
3591
  #
3451
3592
  class GoogleCloudApigeeV1KeyAliasReference
3452
3593
  include Google::Apis::Core::Hashable
@@ -3799,6 +3940,32 @@ module Google
3799
3940
  end
3800
3941
  end
3801
3942
 
3943
+ # Response for ListDeveloperSubscriptions.
3944
+ class GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse
3945
+ include Google::Apis::Core::Hashable
3946
+
3947
+ # List of all subscriptions.
3948
+ # Corresponds to the JSON property `developerSubscriptions`
3949
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription>]
3950
+ attr_accessor :developer_subscriptions
3951
+
3952
+ # Value that can be sent as `startKey` to retrieve the next page of content. If
3953
+ # this field is omitted, there are no subsequent pages.
3954
+ # Corresponds to the JSON property `nextStartKey`
3955
+ # @return [String]
3956
+ attr_accessor :next_start_key
3957
+
3958
+ def initialize(**args)
3959
+ update!(**args)
3960
+ end
3961
+
3962
+ # Update properties of this object
3963
+ def update!(**args)
3964
+ @developer_subscriptions = args[:developer_subscriptions] if args.key?(:developer_subscriptions)
3965
+ @next_start_key = args[:next_start_key] if args.key?(:next_start_key)
3966
+ end
3967
+ end
3968
+
3802
3969
  # Response for ListEnvironmentGroupAttachments.
3803
3970
  class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
3804
3971
  include Google::Apis::Core::Hashable
@@ -4024,6 +4191,32 @@ module Google
4024
4191
  end
4025
4192
  end
4026
4193
 
4194
+ # Response for ListRatePlans.
4195
+ class GoogleCloudApigeeV1ListRatePlansResponse
4196
+ include Google::Apis::Core::Hashable
4197
+
4198
+ # Value that can be sent as `startKey` to retrieve the next page of content. If
4199
+ # this field is omitted, there are no subsequent pages.
4200
+ # Corresponds to the JSON property `nextStartKey`
4201
+ # @return [String]
4202
+ attr_accessor :next_start_key
4203
+
4204
+ # List of rate plans in an organization.
4205
+ # Corresponds to the JSON property `ratePlans`
4206
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan>]
4207
+ attr_accessor :rate_plans
4208
+
4209
+ def initialize(**args)
4210
+ update!(**args)
4211
+ end
4212
+
4213
+ # Update properties of this object
4214
+ def update!(**args)
4215
+ @next_start_key = args[:next_start_key] if args.key?(:next_start_key)
4216
+ @rate_plans = args[:rate_plans] if args.key?(:rate_plans)
4217
+ end
4218
+ end
4219
+
4027
4220
  #
4028
4221
  class GoogleCloudApigeeV1ListSharedFlowsResponse
4029
4222
  include Google::Apis::Core::Hashable
@@ -4126,6 +4319,26 @@ module Google
4126
4319
  end
4127
4320
  end
4128
4321
 
4322
+ # Configuration for the Monetization add-on.
4323
+ class GoogleCloudApigeeV1MonetizationConfig
4324
+ include Google::Apis::Core::Hashable
4325
+
4326
+ # Flag that specifies whether the Monetization add-on is enabled.
4327
+ # Corresponds to the JSON property `enabled`
4328
+ # @return [Boolean]
4329
+ attr_accessor :enabled
4330
+ alias_method :enabled?, :enabled
4331
+
4332
+ def initialize(**args)
4333
+ update!(**args)
4334
+ end
4335
+
4336
+ # Update properties of this object
4337
+ def update!(**args)
4338
+ @enabled = args[:enabled] if args.key?(:enabled)
4339
+ end
4340
+ end
4341
+
4129
4342
  # Apigee NAT(network address translation) address. A NAT address is a static
4130
4343
  # external IP address used for Internet egress traffic.
4131
4344
  class GoogleCloudApigeeV1NatAddress
@@ -4158,8 +4371,8 @@ module Google
4158
4371
  end
4159
4372
  end
4160
4373
 
4161
- # Operation represents the pairing of REST resource path and the actions (verbs)
4162
- # allowed on the resource path.
4374
+ # Represents the pairing of REST resource path and the actions (verbs) allowed
4375
+ # on the resource path.
4163
4376
  class GoogleCloudApigeeV1Operation
4164
4377
  include Google::Apis::Core::Hashable
4165
4378
 
@@ -4169,8 +4382,7 @@ module Google
4169
4382
  # @return [Array<String>]
4170
4383
  attr_accessor :methods_prop
4171
4384
 
4172
- # Required. resource represents REST resource path associated with the proxy/
4173
- # remote service.
4385
+ # Required. REST resource path associated with the API proxy or remote service.
4174
4386
  # Corresponds to the JSON property `resource`
4175
4387
  # @return [String]
4176
4388
  attr_accessor :resource
@@ -4186,13 +4398,13 @@ module Google
4186
4398
  end
4187
4399
  end
4188
4400
 
4189
- # OperationConfig binds the resources in a proxy or remote service with the
4190
- # allowed REST methods and its associated quota enforcement.
4401
+ # Binds the resources in an API proxy or remote service with the allowed REST
4402
+ # methods and associated quota enforcement.
4191
4403
  class GoogleCloudApigeeV1OperationConfig
4192
4404
  include Google::Apis::Core::Hashable
4193
4405
 
4194
- # Required. API proxy or remote service name with which the resources, methods,
4195
- # and quota are associated.
4406
+ # Required. Name of the API proxy or remote service with which the resources,
4407
+ # methods, and quota are associated.
4196
4408
  # Corresponds to the JSON property `apiSource`
4197
4409
  # @return [String]
4198
4410
  attr_accessor :api_source
@@ -4202,18 +4414,18 @@ module Google
4202
4414
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
4203
4415
  attr_accessor :attributes
4204
4416
 
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.
4417
+ # List of resource/method pairs for the API proxy or remote service to which
4418
+ # quota will applied. **Note**: Currently, you can specify only a single
4419
+ # resource/method pair. The call will fail if more than one resource/method pair
4420
+ # is provided.
4209
4421
  # Corresponds to the JSON property `operations`
4210
4422
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Operation>]
4211
4423
  attr_accessor :operations
4212
4424
 
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.
4425
+ # Quota contains the essential parameters needed that can be applied on the
4426
+ # resources, methods, API source combination associated with this API product.
4427
+ # While Quota is optional, setting it prevents requests from exceeding the
4428
+ # provisioned parameters.
4217
4429
  # Corresponds to the JSON property `quota`
4218
4430
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota]
4219
4431
  attr_accessor :quota
@@ -4237,7 +4449,7 @@ module Google
4237
4449
  include Google::Apis::Core::Hashable
4238
4450
 
4239
4451
  # Flag that specifes whether the configuration is for Apigee API proxy or a
4240
- # remote service. Valid values are `proxy` or `remoteservice`. Defaults to `
4452
+ # remote service. Valid values include `proxy` or `remoteservice`. Defaults to `
4241
4453
  # proxy`. Set to `proxy` when Apigee API proxies are associated with the API
4242
4454
  # product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are
4243
4455
  # associated with the API product.
@@ -4271,6 +4483,11 @@ module Google
4271
4483
  # @return [String]
4272
4484
  attr_accessor :operation_type
4273
4485
 
4486
+ # Information about operation progress.
4487
+ # Corresponds to the JSON property `progress`
4488
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationMetadataProgress]
4489
+ attr_accessor :progress
4490
+
4274
4491
  #
4275
4492
  # Corresponds to the JSON property `state`
4276
4493
  # @return [String]
@@ -4288,11 +4505,49 @@ module Google
4288
4505
  # Update properties of this object
4289
4506
  def update!(**args)
4290
4507
  @operation_type = args[:operation_type] if args.key?(:operation_type)
4508
+ @progress = args[:progress] if args.key?(:progress)
4291
4509
  @state = args[:state] if args.key?(:state)
4292
4510
  @target_resource_name = args[:target_resource_name] if args.key?(:target_resource_name)
4293
4511
  end
4294
4512
  end
4295
4513
 
4514
+ # Information about operation progress.
4515
+ class GoogleCloudApigeeV1OperationMetadataProgress
4516
+ include Google::Apis::Core::Hashable
4517
+
4518
+ # Description of the operation's progress.
4519
+ # Corresponds to the JSON property `description`
4520
+ # @return [String]
4521
+ attr_accessor :description
4522
+
4523
+ # The additional details of the progress.
4524
+ # Corresponds to the JSON property `details`
4525
+ # @return [Hash<String,Object>]
4526
+ attr_accessor :details
4527
+
4528
+ # The percentage of the operation progress.
4529
+ # Corresponds to the JSON property `percentDone`
4530
+ # @return [Fixnum]
4531
+ attr_accessor :percent_done
4532
+
4533
+ # State of the operation.
4534
+ # Corresponds to the JSON property `state`
4535
+ # @return [String]
4536
+ attr_accessor :state
4537
+
4538
+ def initialize(**args)
4539
+ update!(**args)
4540
+ end
4541
+
4542
+ # Update properties of this object
4543
+ def update!(**args)
4544
+ @description = args[:description] if args.key?(:description)
4545
+ @details = args[:details] if args.key?(:details)
4546
+ @percent_done = args[:percent_done] if args.key?(:percent_done)
4547
+ @state = args[:state] if args.key?(:state)
4548
+ end
4549
+ end
4550
+
4296
4551
  #
4297
4552
  class GoogleCloudApigeeV1OptimizedStats
4298
4553
  include Google::Apis::Core::Hashable
@@ -4385,6 +4640,11 @@ module Google
4385
4640
  class GoogleCloudApigeeV1Organization
4386
4641
  include Google::Apis::Core::Hashable
4387
4642
 
4643
+ # Add-on configurations for the Apigee organization.
4644
+ # Corresponds to the JSON property `addonsConfig`
4645
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig]
4646
+ attr_accessor :addons_config
4647
+
4388
4648
  # Required. Primary GCP region for analytics data storage. For valid values, see
4389
4649
  # [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-
4390
4650
  # platform/get-started/create-org).
@@ -4413,8 +4673,8 @@ module Google
4413
4673
  # @return [String]
4414
4674
  attr_accessor :authorized_network
4415
4675
 
4416
- # Output only. Billing type of the Apigee organization. See [Apigee pricing](
4417
- # https://cloud.google.com/apigee/pricing).
4676
+ # Billing type of the Apigee organization. See [Apigee pricing](https://cloud.
4677
+ # google.com/apigee/pricing).
4418
4678
  # Corresponds to the JSON property `billingType`
4419
4679
  # @return [String]
4420
4680
  attr_accessor :billing_type
@@ -4521,6 +4781,7 @@ module Google
4521
4781
 
4522
4782
  # Update properties of this object
4523
4783
  def update!(**args)
4784
+ @addons_config = args[:addons_config] if args.key?(:addons_config)
4524
4785
  @analytics_region = args[:analytics_region] if args.key?(:analytics_region)
4525
4786
  @attributes = args[:attributes] if args.key?(:attributes)
4526
4787
  @authorized_network = args[:authorized_network] if args.key?(:authorized_network)
@@ -4735,7 +4996,9 @@ module Google
4735
4996
  # @return [String]
4736
4997
  attr_accessor :authorized_network
4737
4998
 
4738
- # Cloud Platform location for the runtime instance. Defaults to `us-west1-a`.
4999
+ # Cloud Platform location for the runtime instance. Defaults to zone `us-west1-a`
5000
+ # . If a region is provided, `EVAL` organizations will use the region for
5001
+ # automatically selecting a zone for the runtime instance.
4739
5002
  # Corresponds to the JSON property `runtimeLocation`
4740
5003
  # @return [String]
4741
5004
  attr_accessor :runtime_location
@@ -4947,10 +5210,10 @@ module Google
4947
5210
  end
4948
5211
  end
4949
5212
 
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.
5213
+ # Quota contains the essential parameters needed that can be applied on the
5214
+ # resources, methods, API source combination associated with this API product.
5215
+ # While Quota is optional, setting it prevents requests from exceeding the
5216
+ # provisioned parameters.
4954
5217
  class GoogleCloudApigeeV1Quota
4955
5218
  include Google::Apis::Core::Hashable
4956
5219
 
@@ -4985,6 +5248,175 @@ module Google
4985
5248
  end
4986
5249
  end
4987
5250
 
5251
+ # Rate plan details.
5252
+ class GoogleCloudApigeeV1RatePlan
5253
+ include Google::Apis::Core::Hashable
5254
+
5255
+ # Name of the API product that the rate plan is associated with.
5256
+ # Corresponds to the JSON property `apiproduct`
5257
+ # @return [String]
5258
+ attr_accessor :apiproduct
5259
+
5260
+ # Frequency at which the customer will be billed.
5261
+ # Corresponds to the JSON property `billingPeriod`
5262
+ # @return [String]
5263
+ attr_accessor :billing_period
5264
+
5265
+ # API call volume ranges and the fees charged when the total number of API calls
5266
+ # is within a given range. The method used to calculate the final fee depends on
5267
+ # the selected pricing model. For example, if the pricing model is `STAIRSTEP`
5268
+ # and the ranges are defined as follows: ``` ` "start": 1, "end": 100, "fee": 75
5269
+ # `, ` "start": 101, "end": 200, "fee": 100 `, ` ``` Then the following fees
5270
+ # would be charged based on the total number of API calls (assuming the currency
5271
+ # selected is `USD`): * 1 call costs $75 * 50 calls cost $75 * 150 calls cost $
5272
+ # 100 The number of API calls cannot exceed 200.
5273
+ # Corresponds to the JSON property `consumptionPricingRates`
5274
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RateRange>]
5275
+ attr_accessor :consumption_pricing_rates
5276
+
5277
+ # Pricing model used for consumption-based charges.
5278
+ # Corresponds to the JSON property `consumptionPricingType`
5279
+ # @return [String]
5280
+ attr_accessor :consumption_pricing_type
5281
+
5282
+ # Output only. Time that the rate plan was created in milliseconds since epoch.
5283
+ # Corresponds to the JSON property `createdAt`
5284
+ # @return [Fixnum]
5285
+ attr_accessor :created_at
5286
+
5287
+ # Currency to be used for billing. Consists of a three-letter code as defined by
5288
+ # the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) standard.
5289
+ # Corresponds to the JSON property `currencyCode`
5290
+ # @return [String]
5291
+ attr_accessor :currency_code
5292
+
5293
+ # Description of the rate plan.
5294
+ # Corresponds to the JSON property `description`
5295
+ # @return [String]
5296
+ attr_accessor :description
5297
+
5298
+ # Display name of the rate plan.
5299
+ # Corresponds to the JSON property `displayName`
5300
+ # @return [String]
5301
+ attr_accessor :display_name
5302
+
5303
+ # Time when the rate plan will expire in milliseconds since epoch. Set to 0 or `
5304
+ # null` to indicate that the rate plan should never expire.
5305
+ # Corresponds to the JSON property `endTime`
5306
+ # @return [Fixnum]
5307
+ attr_accessor :end_time
5308
+
5309
+ # Frequency at which the fixed fee is charged.
5310
+ # Corresponds to the JSON property `fixedFeeFrequency`
5311
+ # @return [Fixnum]
5312
+ attr_accessor :fixed_fee_frequency
5313
+
5314
+ # Represents an amount of money with its currency type.
5315
+ # Corresponds to the JSON property `fixedRecurringFee`
5316
+ # @return [Google::Apis::ApigeeV1::GoogleTypeMoney]
5317
+ attr_accessor :fixed_recurring_fee
5318
+
5319
+ # Output only. Time the rate plan was last modified in milliseconds since epoch.
5320
+ # Corresponds to the JSON property `lastModifiedAt`
5321
+ # @return [Fixnum]
5322
+ attr_accessor :last_modified_at
5323
+
5324
+ # Output only. Name of the rate plan.
5325
+ # Corresponds to the JSON property `name`
5326
+ # @return [String]
5327
+ attr_accessor :name
5328
+
5329
+ # Flag that specifies the billing account type, prepaid or postpaid.
5330
+ # Corresponds to the JSON property `paymentFundingModel`
5331
+ # @return [String]
5332
+ attr_accessor :payment_funding_model
5333
+
5334
+ # Details of the revenue sharing model.
5335
+ # Corresponds to the JSON property `revenueShareRates`
5336
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RevenueShareRange>]
5337
+ attr_accessor :revenue_share_rates
5338
+
5339
+ # Method used to calculate the revenue that is shared with developers.
5340
+ # Corresponds to the JSON property `revenueShareType`
5341
+ # @return [String]
5342
+ attr_accessor :revenue_share_type
5343
+
5344
+ # Represents an amount of money with its currency type.
5345
+ # Corresponds to the JSON property `setupFee`
5346
+ # @return [Google::Apis::ApigeeV1::GoogleTypeMoney]
5347
+ attr_accessor :setup_fee
5348
+
5349
+ # Time when the rate plan becomes active in milliseconds since epoch.
5350
+ # Corresponds to the JSON property `startTime`
5351
+ # @return [Fixnum]
5352
+ attr_accessor :start_time
5353
+
5354
+ # Current state of the rate plan (draft or published).
5355
+ # Corresponds to the JSON property `state`
5356
+ # @return [String]
5357
+ attr_accessor :state
5358
+
5359
+ def initialize(**args)
5360
+ update!(**args)
5361
+ end
5362
+
5363
+ # Update properties of this object
5364
+ def update!(**args)
5365
+ @apiproduct = args[:apiproduct] if args.key?(:apiproduct)
5366
+ @billing_period = args[:billing_period] if args.key?(:billing_period)
5367
+ @consumption_pricing_rates = args[:consumption_pricing_rates] if args.key?(:consumption_pricing_rates)
5368
+ @consumption_pricing_type = args[:consumption_pricing_type] if args.key?(:consumption_pricing_type)
5369
+ @created_at = args[:created_at] if args.key?(:created_at)
5370
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
5371
+ @description = args[:description] if args.key?(:description)
5372
+ @display_name = args[:display_name] if args.key?(:display_name)
5373
+ @end_time = args[:end_time] if args.key?(:end_time)
5374
+ @fixed_fee_frequency = args[:fixed_fee_frequency] if args.key?(:fixed_fee_frequency)
5375
+ @fixed_recurring_fee = args[:fixed_recurring_fee] if args.key?(:fixed_recurring_fee)
5376
+ @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
5377
+ @name = args[:name] if args.key?(:name)
5378
+ @payment_funding_model = args[:payment_funding_model] if args.key?(:payment_funding_model)
5379
+ @revenue_share_rates = args[:revenue_share_rates] if args.key?(:revenue_share_rates)
5380
+ @revenue_share_type = args[:revenue_share_type] if args.key?(:revenue_share_type)
5381
+ @setup_fee = args[:setup_fee] if args.key?(:setup_fee)
5382
+ @start_time = args[:start_time] if args.key?(:start_time)
5383
+ @state = args[:state] if args.key?(:state)
5384
+ end
5385
+ end
5386
+
5387
+ # API call volume range and the fees charged when the total number of API calls
5388
+ # is within the range.
5389
+ class GoogleCloudApigeeV1RateRange
5390
+ include Google::Apis::Core::Hashable
5391
+
5392
+ # Ending value of the range. Set to 0 or `null` for the last range of values.
5393
+ # Corresponds to the JSON property `end`
5394
+ # @return [Fixnum]
5395
+ attr_accessor :end
5396
+
5397
+ # Represents an amount of money with its currency type.
5398
+ # Corresponds to the JSON property `fee`
5399
+ # @return [Google::Apis::ApigeeV1::GoogleTypeMoney]
5400
+ attr_accessor :fee
5401
+
5402
+ # Starting value of the range. Set to 0 or `null` for the initial range of
5403
+ # values.
5404
+ # Corresponds to the JSON property `start`
5405
+ # @return [Fixnum]
5406
+ attr_accessor :start
5407
+
5408
+ def initialize(**args)
5409
+ update!(**args)
5410
+ end
5411
+
5412
+ # Update properties of this object
5413
+ def update!(**args)
5414
+ @end = args[:end] if args.key?(:end)
5415
+ @fee = args[:fee] if args.key?(:fee)
5416
+ @start = args[:start] if args.key?(:start)
5417
+ end
5418
+ end
5419
+
4988
5420
  # A Reference configuration. References must refer to a keystore that also
4989
5421
  # exists in the parent environment.
4990
5422
  class GoogleCloudApigeeV1Reference
@@ -5331,6 +5763,42 @@ module Google
5331
5763
  end
5332
5764
  end
5333
5765
 
5766
+ # API call volume range and the percentage of revenue to share with the
5767
+ # developer when the total number of API calls is within the range.
5768
+ class GoogleCloudApigeeV1RevenueShareRange
5769
+ include Google::Apis::Core::Hashable
5770
+
5771
+ # Ending value of the range. Set to 0 or `null` for the last range of values.
5772
+ # Corresponds to the JSON property `end`
5773
+ # @return [Fixnum]
5774
+ attr_accessor :end
5775
+
5776
+ # Percentage of the revenue to be shared with the developer. For example, to
5777
+ # share 21 percent of the total revenue with the developer, set this value to 21.
5778
+ # Specify a decimal number with a maximum of two digits following the decimal
5779
+ # point.
5780
+ # Corresponds to the JSON property `sharePercentage`
5781
+ # @return [Float]
5782
+ attr_accessor :share_percentage
5783
+
5784
+ # Starting value of the range. Set to 0 or `null` for the initial range of
5785
+ # values.
5786
+ # Corresponds to the JSON property `start`
5787
+ # @return [Fixnum]
5788
+ attr_accessor :start
5789
+
5790
+ def initialize(**args)
5791
+ update!(**args)
5792
+ end
5793
+
5794
+ # Update properties of this object
5795
+ def update!(**args)
5796
+ @end = args[:end] if args.key?(:end)
5797
+ @share_percentage = args[:share_percentage] if args.key?(:share_percentage)
5798
+ @start = args[:start] if args.key?(:start)
5799
+ end
5800
+ end
5801
+
5334
5802
  # The status of a specific resource revision.
5335
5803
  class GoogleCloudApigeeV1RevisionStatus
5336
5804
  include Google::Apis::Core::Hashable
@@ -5340,7 +5808,8 @@ module Google
5340
5808
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateError>]
5341
5809
  attr_accessor :errors
5342
5810
 
5343
- # The json content of the resource revision.
5811
+ # The json content of the resource revision. Large specs should be sent
5812
+ # individually via the spec field to avoid hitting request size limits.
5344
5813
  # Corresponds to the JSON property `jsonSpec`
5345
5814
  # @return [String]
5346
5815
  attr_accessor :json_spec
@@ -5576,7 +6045,7 @@ module Google
5576
6045
  class GoogleCloudApigeeV1Schema
5577
6046
  include Google::Apis::Core::Hashable
5578
6047
 
5579
- # List of schema fiels grouped as dimensions.
6048
+ # List of schema fields grouped as dimensions.
5580
6049
  # Corresponds to the JSON property `dimensions`
5581
6050
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaElement>]
5582
6051
  attr_accessor :dimensions
@@ -5587,8 +6056,8 @@ module Google
5587
6056
  # @return [Array<String>]
5588
6057
  attr_accessor :meta
5589
6058
 
5590
- # List of schema fields grouped as dimensions. These are fields that can be used
5591
- # with an aggregate function such as sum, avg, min, max.
6059
+ # List of schema fields grouped as dimensions that can be used with an aggregate
6060
+ # function such as `sum`, `avg`, `min`, and `max`.
5592
6061
  # Corresponds to the JSON property `metrics`
5593
6062
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaElement>]
5594
6063
  attr_accessor :metrics
@@ -5609,12 +6078,12 @@ module Google
5609
6078
  class GoogleCloudApigeeV1SchemaSchemaElement
5610
6079
  include Google::Apis::Core::Hashable
5611
6080
 
5612
- # Name of the field
6081
+ # Name of the field.
5613
6082
  # Corresponds to the JSON property `name`
5614
6083
  # @return [String]
5615
6084
  attr_accessor :name
5616
6085
 
5617
- # Message type for schema property
6086
+ # Properties for the schema field.
5618
6087
  # Corresponds to the JSON property `properties`
5619
6088
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaProperty]
5620
6089
  attr_accessor :properties
@@ -5630,17 +6099,18 @@ module Google
5630
6099
  end
5631
6100
  end
5632
6101
 
5633
- # Message type for schema property
6102
+ # Properties for the schema field.
5634
6103
  class GoogleCloudApigeeV1SchemaSchemaProperty
5635
6104
  include Google::Apis::Core::Hashable
5636
6105
 
5637
- # Creation time of the field
6106
+ # Time the field was created in RFC3339 string form. For example: `2016-02-26T10:
6107
+ # 23:09.592Z`.
5638
6108
  # Corresponds to the JSON property `createTime`
5639
6109
  # @return [String]
5640
6110
  attr_accessor :create_time
5641
6111
 
5642
- # Custom is a flag signifying if the field was provided as part of the standard
5643
- # dataset or a custom field created by the customer
6112
+ # Flag that specifies whether the field is standard in the dataset or a custom
6113
+ # field created by the customer. `true` indicates that it is a custom field.
5644
6114
  # Corresponds to the JSON property `custom`
5645
6115
  # @return [String]
5646
6116
  attr_accessor :custom
@@ -5712,6 +6182,25 @@ module Google
5712
6182
  end
5713
6183
  end
5714
6184
 
6185
+ # Request for SetAddons.
6186
+ class GoogleCloudApigeeV1SetAddonsRequest
6187
+ include Google::Apis::Core::Hashable
6188
+
6189
+ # Add-on configurations for the Apigee organization.
6190
+ # Corresponds to the JSON property `addonsConfig`
6191
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig]
6192
+ attr_accessor :addons_config
6193
+
6194
+ def initialize(**args)
6195
+ update!(**args)
6196
+ end
6197
+
6198
+ # Update properties of this object
6199
+ def update!(**args)
6200
+ @addons_config = args[:addons_config] if args.key?(:addons_config)
6201
+ end
6202
+ end
6203
+
5715
6204
  # The metadata describing a shared flow
5716
6205
  class GoogleCloudApigeeV1SharedFlow
5717
6206
  include Google::Apis::Core::Hashable
@@ -6061,6 +6550,11 @@ module Google
6061
6550
  # @return [Fixnum]
6062
6551
  attr_accessor :port
6063
6552
 
6553
+ # Immutable. The protocol used by this TargetServer.
6554
+ # Corresponds to the JSON property `protocol`
6555
+ # @return [String]
6556
+ attr_accessor :protocol
6557
+
6064
6558
  # TLS configuration information for VirtualHosts and TargetServers.
6065
6559
  # Corresponds to the JSON property `sSLInfo`
6066
6560
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfo]
@@ -6077,6 +6571,7 @@ module Google
6077
6571
  @is_enabled = args[:is_enabled] if args.key?(:is_enabled)
6078
6572
  @name = args[:name] if args.key?(:name)
6079
6573
  @port = args[:port] if args.key?(:port)
6574
+ @protocol = args[:protocol] if args.key?(:protocol)
6080
6575
  @s_sl_info = args[:s_sl_info] if args.key?(:s_sl_info)
6081
6576
  end
6082
6577
  end
@@ -6101,6 +6596,11 @@ module Google
6101
6596
  # @return [Fixnum]
6102
6597
  attr_accessor :port
6103
6598
 
6599
+ # The protocol used by this target server.
6600
+ # Corresponds to the JSON property `protocol`
6601
+ # @return [String]
6602
+ attr_accessor :protocol
6603
+
6104
6604
  # TLS settings for the target server.
6105
6605
  # Corresponds to the JSON property `tlsInfo`
6106
6606
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoConfig]
@@ -6115,6 +6615,7 @@ module Google
6115
6615
  @host = args[:host] if args.key?(:host)
6116
6616
  @name = args[:name] if args.key?(:name)
6117
6617
  @port = args[:port] if args.key?(:port)
6618
+ @protocol = args[:protocol] if args.key?(:protocol)
6118
6619
  @tls_info = args[:tls_info] if args.key?(:tls_info)
6119
6620
  end
6120
6621
  end
@@ -7041,6 +7542,42 @@ module Google
7041
7542
  @title = args[:title] if args.key?(:title)
7042
7543
  end
7043
7544
  end
7545
+
7546
+ # Represents an amount of money with its currency type.
7547
+ class GoogleTypeMoney
7548
+ include Google::Apis::Core::Hashable
7549
+
7550
+ # The three-letter currency code defined in ISO 4217.
7551
+ # Corresponds to the JSON property `currencyCode`
7552
+ # @return [String]
7553
+ attr_accessor :currency_code
7554
+
7555
+ # Number of nano (10^-9) units of the amount. The value must be between -999,999,
7556
+ # 999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be
7557
+ # positive or zero. If `units` is zero, `nanos` can be positive, zero, or
7558
+ # negative. If `units` is negative, `nanos` must be negative or zero. For
7559
+ # example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
7560
+ # Corresponds to the JSON property `nanos`
7561
+ # @return [Fixnum]
7562
+ attr_accessor :nanos
7563
+
7564
+ # The whole units of the amount. For example if `currencyCode` is `"USD"`, then
7565
+ # 1 unit is one US dollar.
7566
+ # Corresponds to the JSON property `units`
7567
+ # @return [Fixnum]
7568
+ attr_accessor :units
7569
+
7570
+ def initialize(**args)
7571
+ update!(**args)
7572
+ end
7573
+
7574
+ # Update properties of this object
7575
+ def update!(**args)
7576
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
7577
+ @nanos = args[:nanos] if args.key?(:nanos)
7578
+ @units = args[:units] if args.key?(:units)
7579
+ end
7580
+ end
7044
7581
  end
7045
7582
  end
7046
7583
  end