google-apis-apigee_v1 0.9.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/apigee_v1/classes.rb +467 -47
- data/lib/google/apis/apigee_v1/gem_version.rb +3 -3
- data/lib/google/apis/apigee_v1/representations.rb +162 -0
- data/lib/google/apis/apigee_v1/service.rb +364 -24
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e06b2ba0c1be1f1644d2dafacba3061a13a9342f9ba54cc7593a4789c1590cc6
|
4
|
+
data.tar.gz: 7172bcdfca3fac59d48a29753b687d74e9794a125c21bf354d11c030155f18b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0c80f7b9459531c38a0e6d9c5ed50ad162cfd686e6bcf8085261e1b8c072185e9b23d13f907a8647b6c6b4b36fc9813c4f009c4a081e5ccbf8863ded952d171
|
7
|
+
data.tar.gz: ac661fc5445868b5e9068e385393713a5c05677011f3cbc51f86ed1c56f9f8ab24f0d84f3d5e8b58458f3d485147cece7b1c19cfe16240ecd9618b0159881105
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-apigee_v1
|
2
2
|
|
3
|
+
### v0.14.0 (2021-06-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210604
|
6
|
+
|
7
|
+
### v0.13.0 (2021-06-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210528
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.12.0 (2021-05-25)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210522
|
15
|
+
|
16
|
+
### v0.11.0 (2021-05-19)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.10.0 (2021-05-12)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210510
|
23
|
+
|
3
24
|
### v0.9.0 (2021-04-01)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210326
|
@@ -2227,7 +2227,7 @@ module Google
|
|
2227
2227
|
end
|
2228
2228
|
end
|
2229
2229
|
|
2230
|
-
#
|
2230
|
+
# NEXT ID: 9
|
2231
2231
|
class GoogleCloudApigeeV1DeploymentConfig
|
2232
2232
|
include Google::Apis::Core::Hashable
|
2233
2233
|
|
@@ -2258,6 +2258,12 @@ module Google
|
|
2258
2258
|
# @return [String]
|
2259
2259
|
attr_accessor :proxy_uid
|
2260
2260
|
|
2261
|
+
# The service account identity associated with this deployment. If non-empty,
|
2262
|
+
# will be in the following format: `projects/-/serviceAccounts/`account_email``
|
2263
|
+
# Corresponds to the JSON property `serviceAccount`
|
2264
|
+
# @return [String]
|
2265
|
+
attr_accessor :service_account
|
2266
|
+
|
2261
2267
|
# Unique ID. The ID will only change if the deployment is deleted and recreated.
|
2262
2268
|
# Corresponds to the JSON property `uid`
|
2263
2269
|
# @return [String]
|
@@ -2274,6 +2280,7 @@ module Google
|
|
2274
2280
|
@location = args[:location] if args.key?(:location)
|
2275
2281
|
@name = args[:name] if args.key?(:name)
|
2276
2282
|
@proxy_uid = args[:proxy_uid] if args.key?(:proxy_uid)
|
2283
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
2277
2284
|
@uid = args[:uid] if args.key?(:uid)
|
2278
2285
|
end
|
2279
2286
|
end
|
@@ -2550,6 +2557,57 @@ module Google
|
|
2550
2557
|
end
|
2551
2558
|
end
|
2552
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
|
+
|
2553
2611
|
# This message type encapsulates a metric grouped by dimension.
|
2554
2612
|
class GoogleCloudApigeeV1DimensionMetric
|
2555
2613
|
include Google::Apis::Core::Hashable
|
@@ -2915,6 +2973,19 @@ module Google
|
|
2915
2973
|
end
|
2916
2974
|
end
|
2917
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
|
+
|
2918
2989
|
# Details of an export job.
|
2919
2990
|
class GoogleCloudApigeeV1Export
|
2920
2991
|
include Google::Apis::Core::Hashable
|
@@ -3132,20 +3203,20 @@ module Google
|
|
3132
3203
|
end
|
3133
3204
|
end
|
3134
3205
|
|
3135
|
-
#
|
3136
|
-
#
|
3206
|
+
# Represents the pairing of GraphQL operation types and the GraphQL operation
|
3207
|
+
# name.
|
3137
3208
|
class GoogleCloudApigeeV1GraphQlOperation
|
3138
3209
|
include Google::Apis::Core::Hashable
|
3139
3210
|
|
3140
|
-
# GraphQL operation name
|
3141
|
-
#
|
3142
|
-
#
|
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.
|
3143
3214
|
# Corresponds to the JSON property `operation`
|
3144
3215
|
# @return [String]
|
3145
3216
|
attr_accessor :operation
|
3146
3217
|
|
3147
|
-
# Required.
|
3148
|
-
#
|
3218
|
+
# Required. GraphQL operation types. Valid values include `query` or `mutation`.
|
3219
|
+
# **Note**: Apigee does not currently support `subscription` types.
|
3149
3220
|
# Corresponds to the JSON property `operationTypes`
|
3150
3221
|
# @return [Array<String>]
|
3151
3222
|
attr_accessor :operation_types
|
@@ -3161,13 +3232,13 @@ module Google
|
|
3161
3232
|
end
|
3162
3233
|
end
|
3163
3234
|
|
3164
|
-
#
|
3165
|
-
#
|
3235
|
+
# Binds the resources in a proxy or remote service with the GraphQL operation
|
3236
|
+
# and its associated quota enforcement.
|
3166
3237
|
class GoogleCloudApigeeV1GraphQlOperationConfig
|
3167
3238
|
include Google::Apis::Core::Hashable
|
3168
3239
|
|
3169
|
-
# Required. API proxy endpoint or remote service
|
3170
|
-
# operation
|
3240
|
+
# Required. Name of the API proxy endpoint or remote service with which the
|
3241
|
+
# GraphQL operation and quota are associated.
|
3171
3242
|
# Corresponds to the JSON property `apiSource`
|
3172
3243
|
# @return [String]
|
3173
3244
|
attr_accessor :api_source
|
@@ -3177,20 +3248,19 @@ module Google
|
|
3177
3248
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
|
3178
3249
|
attr_accessor :attributes
|
3179
3250
|
|
3180
|
-
# Required. List of
|
3181
|
-
# service
|
3182
|
-
# the
|
3183
|
-
#
|
3184
|
-
#
|
3185
|
-
# 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.
|
3186
3256
|
# Corresponds to the JSON property `operations`
|
3187
3257
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperation>]
|
3188
3258
|
attr_accessor :operations
|
3189
3259
|
|
3190
|
-
# Quota contains the essential parameters needed that can be applied on
|
3191
|
-
#
|
3192
|
-
#
|
3193
|
-
#
|
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.
|
3194
3264
|
# Corresponds to the JSON property `quota`
|
3195
3265
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota]
|
3196
3266
|
attr_accessor :quota
|
@@ -3214,8 +3284,8 @@ module Google
|
|
3214
3284
|
class GoogleCloudApigeeV1GraphQlOperationGroup
|
3215
3285
|
include Google::Apis::Core::Hashable
|
3216
3286
|
|
3217
|
-
# Flag that
|
3218
|
-
# remote service. Valid values
|
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 `
|
3219
3289
|
# proxy`. Set to `proxy` when Apigee API proxies are associated with the API
|
3220
3290
|
# product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are
|
3221
3291
|
# associated with the API product.
|
@@ -3870,6 +3940,32 @@ module Google
|
|
3870
3940
|
end
|
3871
3941
|
end
|
3872
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
|
+
|
3873
3969
|
# Response for ListEnvironmentGroupAttachments.
|
3874
3970
|
class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
|
3875
3971
|
include Google::Apis::Core::Hashable
|
@@ -4095,6 +4191,32 @@ module Google
|
|
4095
4191
|
end
|
4096
4192
|
end
|
4097
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
|
+
|
4098
4220
|
#
|
4099
4221
|
class GoogleCloudApigeeV1ListSharedFlowsResponse
|
4100
4222
|
include Google::Apis::Core::Hashable
|
@@ -4249,8 +4371,8 @@ module Google
|
|
4249
4371
|
end
|
4250
4372
|
end
|
4251
4373
|
|
4252
|
-
#
|
4253
|
-
#
|
4374
|
+
# Represents the pairing of REST resource path and the actions (verbs) allowed
|
4375
|
+
# on the resource path.
|
4254
4376
|
class GoogleCloudApigeeV1Operation
|
4255
4377
|
include Google::Apis::Core::Hashable
|
4256
4378
|
|
@@ -4260,8 +4382,7 @@ module Google
|
|
4260
4382
|
# @return [Array<String>]
|
4261
4383
|
attr_accessor :methods_prop
|
4262
4384
|
|
4263
|
-
# Required.
|
4264
|
-
# remote service.
|
4385
|
+
# Required. REST resource path associated with the API proxy or remote service.
|
4265
4386
|
# Corresponds to the JSON property `resource`
|
4266
4387
|
# @return [String]
|
4267
4388
|
attr_accessor :resource
|
@@ -4277,13 +4398,13 @@ module Google
|
|
4277
4398
|
end
|
4278
4399
|
end
|
4279
4400
|
|
4280
|
-
#
|
4281
|
-
#
|
4401
|
+
# Binds the resources in an API proxy or remote service with the allowed REST
|
4402
|
+
# methods and associated quota enforcement.
|
4282
4403
|
class GoogleCloudApigeeV1OperationConfig
|
4283
4404
|
include Google::Apis::Core::Hashable
|
4284
4405
|
|
4285
|
-
# Required. API proxy or remote service
|
4286
|
-
# and quota are associated.
|
4406
|
+
# Required. Name of the API proxy or remote service with which the resources,
|
4407
|
+
# methods, and quota are associated.
|
4287
4408
|
# Corresponds to the JSON property `apiSource`
|
4288
4409
|
# @return [String]
|
4289
4410
|
attr_accessor :api_source
|
@@ -4293,18 +4414,18 @@ module Google
|
|
4293
4414
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
|
4294
4415
|
attr_accessor :attributes
|
4295
4416
|
|
4296
|
-
# List of resource/method pairs for the proxy
|
4297
|
-
# will applied. **Note**: Currently, you can specify only a single
|
4298
|
-
# method pair. The call will fail if more than one resource/method pair
|
4299
|
-
# 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.
|
4300
4421
|
# Corresponds to the JSON property `operations`
|
4301
4422
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Operation>]
|
4302
4423
|
attr_accessor :operations
|
4303
4424
|
|
4304
|
-
# Quota contains the essential parameters needed that can be applied on
|
4305
|
-
#
|
4306
|
-
#
|
4307
|
-
#
|
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.
|
4308
4429
|
# Corresponds to the JSON property `quota`
|
4309
4430
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota]
|
4310
4431
|
attr_accessor :quota
|
@@ -4328,7 +4449,7 @@ module Google
|
|
4328
4449
|
include Google::Apis::Core::Hashable
|
4329
4450
|
|
4330
4451
|
# Flag that specifes whether the configuration is for Apigee API proxy or a
|
4331
|
-
# remote service. Valid values
|
4452
|
+
# remote service. Valid values include `proxy` or `remoteservice`. Defaults to `
|
4332
4453
|
# proxy`. Set to `proxy` when Apigee API proxies are associated with the API
|
4333
4454
|
# product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are
|
4334
4455
|
# associated with the API product.
|
@@ -4362,6 +4483,11 @@ module Google
|
|
4362
4483
|
# @return [String]
|
4363
4484
|
attr_accessor :operation_type
|
4364
4485
|
|
4486
|
+
# Information about operation progress.
|
4487
|
+
# Corresponds to the JSON property `progress`
|
4488
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationMetadataProgress]
|
4489
|
+
attr_accessor :progress
|
4490
|
+
|
4365
4491
|
#
|
4366
4492
|
# Corresponds to the JSON property `state`
|
4367
4493
|
# @return [String]
|
@@ -4379,11 +4505,49 @@ module Google
|
|
4379
4505
|
# Update properties of this object
|
4380
4506
|
def update!(**args)
|
4381
4507
|
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
4508
|
+
@progress = args[:progress] if args.key?(:progress)
|
4382
4509
|
@state = args[:state] if args.key?(:state)
|
4383
4510
|
@target_resource_name = args[:target_resource_name] if args.key?(:target_resource_name)
|
4384
4511
|
end
|
4385
4512
|
end
|
4386
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
|
+
|
4387
4551
|
#
|
4388
4552
|
class GoogleCloudApigeeV1OptimizedStats
|
4389
4553
|
include Google::Apis::Core::Hashable
|
@@ -4832,7 +4996,9 @@ module Google
|
|
4832
4996
|
# @return [String]
|
4833
4997
|
attr_accessor :authorized_network
|
4834
4998
|
|
4835
|
-
# 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.
|
4836
5002
|
# Corresponds to the JSON property `runtimeLocation`
|
4837
5003
|
# @return [String]
|
4838
5004
|
attr_accessor :runtime_location
|
@@ -5044,10 +5210,10 @@ module Google
|
|
5044
5210
|
end
|
5045
5211
|
end
|
5046
5212
|
|
5047
|
-
# Quota contains the essential parameters needed that can be applied on
|
5048
|
-
#
|
5049
|
-
#
|
5050
|
-
#
|
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.
|
5051
5217
|
class GoogleCloudApigeeV1Quota
|
5052
5218
|
include Google::Apis::Core::Hashable
|
5053
5219
|
|
@@ -5082,6 +5248,175 @@ module Google
|
|
5082
5248
|
end
|
5083
5249
|
end
|
5084
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
|
+
|
5085
5420
|
# A Reference configuration. References must refer to a keystore that also
|
5086
5421
|
# exists in the parent environment.
|
5087
5422
|
class GoogleCloudApigeeV1Reference
|
@@ -5428,6 +5763,42 @@ module Google
|
|
5428
5763
|
end
|
5429
5764
|
end
|
5430
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
|
+
|
5431
5802
|
# The status of a specific resource revision.
|
5432
5803
|
class GoogleCloudApigeeV1RevisionStatus
|
5433
5804
|
include Google::Apis::Core::Hashable
|
@@ -5437,7 +5808,8 @@ module Google
|
|
5437
5808
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateError>]
|
5438
5809
|
attr_accessor :errors
|
5439
5810
|
|
5440
|
-
# 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.
|
5441
5813
|
# Corresponds to the JSON property `jsonSpec`
|
5442
5814
|
# @return [String]
|
5443
5815
|
attr_accessor :json_spec
|
@@ -6178,6 +6550,11 @@ module Google
|
|
6178
6550
|
# @return [Fixnum]
|
6179
6551
|
attr_accessor :port
|
6180
6552
|
|
6553
|
+
# Immutable. The protocol used by this TargetServer.
|
6554
|
+
# Corresponds to the JSON property `protocol`
|
6555
|
+
# @return [String]
|
6556
|
+
attr_accessor :protocol
|
6557
|
+
|
6181
6558
|
# TLS configuration information for VirtualHosts and TargetServers.
|
6182
6559
|
# Corresponds to the JSON property `sSLInfo`
|
6183
6560
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfo]
|
@@ -6194,6 +6571,7 @@ module Google
|
|
6194
6571
|
@is_enabled = args[:is_enabled] if args.key?(:is_enabled)
|
6195
6572
|
@name = args[:name] if args.key?(:name)
|
6196
6573
|
@port = args[:port] if args.key?(:port)
|
6574
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
6197
6575
|
@s_sl_info = args[:s_sl_info] if args.key?(:s_sl_info)
|
6198
6576
|
end
|
6199
6577
|
end
|
@@ -6218,6 +6596,11 @@ module Google
|
|
6218
6596
|
# @return [Fixnum]
|
6219
6597
|
attr_accessor :port
|
6220
6598
|
|
6599
|
+
# The protocol used by this target server.
|
6600
|
+
# Corresponds to the JSON property `protocol`
|
6601
|
+
# @return [String]
|
6602
|
+
attr_accessor :protocol
|
6603
|
+
|
6221
6604
|
# TLS settings for the target server.
|
6222
6605
|
# Corresponds to the JSON property `tlsInfo`
|
6223
6606
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoConfig]
|
@@ -6232,6 +6615,7 @@ module Google
|
|
6232
6615
|
@host = args[:host] if args.key?(:host)
|
6233
6616
|
@name = args[:name] if args.key?(:name)
|
6234
6617
|
@port = args[:port] if args.key?(:port)
|
6618
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
6235
6619
|
@tls_info = args[:tls_info] if args.key?(:tls_info)
|
6236
6620
|
end
|
6237
6621
|
end
|
@@ -7158,6 +7542,42 @@ module Google
|
|
7158
7542
|
@title = args[:title] if args.key?(:title)
|
7159
7543
|
end
|
7160
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
|
7161
7581
|
end
|
7162
7582
|
end
|
7163
7583
|
end
|