google-apis-apigee_v1 0.75.0 → 0.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/apigee_v1/classes.rb +489 -20
- data/lib/google/apis/apigee_v1/gem_version.rb +2 -2
- data/lib/google/apis/apigee_v1/representations.rb +229 -1
- data/lib/google/apis/apigee_v1/service.rb +346 -26
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9744bf4f661f797d240121b82be2e51ef2780aaee0c4822ab9dbcd88aba5b81c
|
4
|
+
data.tar.gz: 257ed6c2f264c1ab51ba9c1252d34e4113eb62b2a50e5805919848adff324e7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae19561d3125bb6a3ff2948df32dad2d8cd6192dd5454930c75b64b9103d986c97df49af7455abc901a33bb3a2562aaca511667508e8a5983f84487abb6d187d
|
7
|
+
data.tar.gz: 36a87261903804f3d1228d5abc454e0b686e209ed285d24822fc8ab71a2d4bf424e6e9d065218d13d86e5f4f67e8608a7e09e746ac6aa8fe8cf52bda958e17b3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-apigee_v1
|
2
2
|
|
3
|
+
### v0.77.0 (2023-10-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231016
|
6
|
+
|
7
|
+
### v0.76.0 (2023-10-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230924
|
10
|
+
|
3
11
|
### v0.75.0 (2023-08-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230811
|
@@ -284,6 +284,11 @@ module Google
|
|
284
284
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig]
|
285
285
|
attr_accessor :advanced_api_ops_config
|
286
286
|
|
287
|
+
# Configuration for the Analytics add-on.
|
288
|
+
# Corresponds to the JSON property `analyticsConfig`
|
289
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AnalyticsConfig]
|
290
|
+
attr_accessor :analytics_config
|
291
|
+
|
287
292
|
# Configurations of the API Security add-on.
|
288
293
|
# Corresponds to the JSON property `apiSecurityConfig`
|
289
294
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiSecurityConfig]
|
@@ -311,6 +316,7 @@ module Google
|
|
311
316
|
# Update properties of this object
|
312
317
|
def update!(**args)
|
313
318
|
@advanced_api_ops_config = args[:advanced_api_ops_config] if args.key?(:advanced_api_ops_config)
|
319
|
+
@analytics_config = args[:analytics_config] if args.key?(:analytics_config)
|
314
320
|
@api_security_config = args[:api_security_config] if args.key?(:api_security_config)
|
315
321
|
@connectors_platform_config = args[:connectors_platform_config] if args.key?(:connectors_platform_config)
|
316
322
|
@integration_config = args[:integration_config] if args.key?(:integration_config)
|
@@ -422,16 +428,57 @@ module Google
|
|
422
428
|
end
|
423
429
|
end
|
424
430
|
|
425
|
-
#
|
431
|
+
# Configuration for the Analytics add-on.
|
432
|
+
class GoogleCloudApigeeV1AnalyticsConfig
|
433
|
+
include Google::Apis::Core::Hashable
|
434
|
+
|
435
|
+
# Whether the Analytics add-on is enabled.
|
436
|
+
# Corresponds to the JSON property `enabled`
|
437
|
+
# @return [Boolean]
|
438
|
+
attr_accessor :enabled
|
439
|
+
alias_method :enabled?, :enabled
|
440
|
+
|
441
|
+
# Output only. Time at which the Analytics add-on expires in milliseconds since
|
442
|
+
# epoch. If unspecified, the add-on will never expire.
|
443
|
+
# Corresponds to the JSON property `expireTimeMillis`
|
444
|
+
# @return [Fixnum]
|
445
|
+
attr_accessor :expire_time_millis
|
446
|
+
|
447
|
+
# Output only. The state of the Analytics add-on.
|
448
|
+
# Corresponds to the JSON property `state`
|
449
|
+
# @return [String]
|
450
|
+
attr_accessor :state
|
451
|
+
|
452
|
+
# Output only. The latest update time.
|
453
|
+
# Corresponds to the JSON property `updateTime`
|
454
|
+
# @return [String]
|
455
|
+
attr_accessor :update_time
|
456
|
+
|
457
|
+
def initialize(**args)
|
458
|
+
update!(**args)
|
459
|
+
end
|
460
|
+
|
461
|
+
# Update properties of this object
|
462
|
+
def update!(**args)
|
463
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
464
|
+
@expire_time_millis = args[:expire_time_millis] if args.key?(:expire_time_millis)
|
465
|
+
@state = args[:state] if args.key?(:state)
|
466
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
467
|
+
end
|
468
|
+
end
|
469
|
+
|
470
|
+
# The API category resource wrapped with response status, error_code, etc.
|
426
471
|
class GoogleCloudApigeeV1ApiCategory
|
427
472
|
include Google::Apis::Core::Hashable
|
428
473
|
|
429
|
-
#
|
474
|
+
# `ApiCategoryData` represents an API category. Catalog items can be tagged with
|
475
|
+
# API categories; users viewing the API catalog in the portal will have the
|
476
|
+
# option to browse the catalog by category.
|
430
477
|
# Corresponds to the JSON property `data`
|
431
478
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData]
|
432
479
|
attr_accessor :data
|
433
480
|
|
434
|
-
#
|
481
|
+
# Unique error code for the request, if any.
|
435
482
|
# Corresponds to the JSON property `errorCode`
|
436
483
|
# @return [String]
|
437
484
|
attr_accessor :error_code
|
@@ -441,7 +488,7 @@ module Google
|
|
441
488
|
# @return [String]
|
442
489
|
attr_accessor :message
|
443
490
|
|
444
|
-
# ID
|
491
|
+
# Unique ID of the request.
|
445
492
|
# Corresponds to the JSON property `requestId`
|
446
493
|
# @return [String]
|
447
494
|
attr_accessor :request_id
|
@@ -465,15 +512,12 @@ module Google
|
|
465
512
|
end
|
466
513
|
end
|
467
514
|
|
468
|
-
#
|
515
|
+
# `ApiCategoryData` represents an API category. Catalog items can be tagged with
|
516
|
+
# API categories; users viewing the API catalog in the portal will have the
|
517
|
+
# option to browse the catalog by category.
|
469
518
|
class GoogleCloudApigeeV1ApiCategoryData
|
470
519
|
include Google::Apis::Core::Hashable
|
471
520
|
|
472
|
-
# GCP name of api category resource.
|
473
|
-
# Corresponds to the JSON property `gcpResource`
|
474
|
-
# @return [String]
|
475
|
-
attr_accessor :gcp_resource
|
476
|
-
|
477
521
|
# ID of the category (a UUID).
|
478
522
|
# Corresponds to the JSON property `id`
|
479
523
|
# @return [String]
|
@@ -500,7 +544,6 @@ module Google
|
|
500
544
|
|
501
545
|
# Update properties of this object
|
502
546
|
def update!(**args)
|
503
|
-
@gcp_resource = args[:gcp_resource] if args.key?(:gcp_resource)
|
504
547
|
@id = args[:id] if args.key?(:id)
|
505
548
|
@name = args[:name] if args.key?(:name)
|
506
549
|
@site_id = args[:site_id] if args.key?(:site_id)
|
@@ -2678,12 +2721,12 @@ module Google
|
|
2678
2721
|
class GoogleCloudApigeeV1DeleteResponse
|
2679
2722
|
include Google::Apis::Core::Hashable
|
2680
2723
|
|
2681
|
-
#
|
2724
|
+
# Unique error code for the request, if any.
|
2682
2725
|
# Corresponds to the JSON property `errorCode`
|
2683
2726
|
# @return [String]
|
2684
2727
|
attr_accessor :error_code
|
2685
2728
|
|
2686
|
-
#
|
2729
|
+
# Google Cloud name of deleted resource.
|
2687
2730
|
# Corresponds to the JSON property `gcpResource`
|
2688
2731
|
# @return [String]
|
2689
2732
|
attr_accessor :gcp_resource
|
@@ -2693,7 +2736,7 @@ module Google
|
|
2693
2736
|
# @return [String]
|
2694
2737
|
attr_accessor :message
|
2695
2738
|
|
2696
|
-
# ID
|
2739
|
+
# Unique ID of the request.
|
2697
2740
|
# Corresponds to the JSON property `requestId`
|
2698
2741
|
# @return [String]
|
2699
2742
|
attr_accessor :request_id
|
@@ -3505,6 +3548,32 @@ module Google
|
|
3505
3548
|
end
|
3506
3549
|
end
|
3507
3550
|
|
3551
|
+
# Message to disable an enabled SecurityAction.
|
3552
|
+
class GoogleCloudApigeeV1DisableSecurityActionRequest
|
3553
|
+
include Google::Apis::Core::Hashable
|
3554
|
+
|
3555
|
+
def initialize(**args)
|
3556
|
+
update!(**args)
|
3557
|
+
end
|
3558
|
+
|
3559
|
+
# Update properties of this object
|
3560
|
+
def update!(**args)
|
3561
|
+
end
|
3562
|
+
end
|
3563
|
+
|
3564
|
+
# Message to enable a disabled SecurityAction.
|
3565
|
+
class GoogleCloudApigeeV1EnableSecurityActionRequest
|
3566
|
+
include Google::Apis::Core::Hashable
|
3567
|
+
|
3568
|
+
def initialize(**args)
|
3569
|
+
update!(**args)
|
3570
|
+
end
|
3571
|
+
|
3572
|
+
# Update properties of this object
|
3573
|
+
def update!(**args)
|
3574
|
+
end
|
3575
|
+
end
|
3576
|
+
|
3508
3577
|
# Apigee endpoint attachment. For more information, see [Southbound networking
|
3509
3578
|
# patterns] (https://cloud.google.com/apigee/docs/api-platform/architecture/
|
3510
3579
|
# southbound-networking-patterns-endpoints).
|
@@ -3729,6 +3798,12 @@ module Google
|
|
3729
3798
|
class GoogleCloudApigeeV1EnvironmentConfig
|
3730
3799
|
include Google::Apis::Core::Hashable
|
3731
3800
|
|
3801
|
+
# RuntimeAddonsConfig defines the runtime configurations for add-ons in an
|
3802
|
+
# environment.
|
3803
|
+
# Corresponds to the JSON property `addonsConfig`
|
3804
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeAddonsConfig]
|
3805
|
+
attr_accessor :addons_config
|
3806
|
+
|
3732
3807
|
# The location for the config blob of API Runtime Control, aka Envoy Adapter,
|
3733
3808
|
# for op-based authentication as a URI, e.g. a Cloud Storage URI. This is only
|
3734
3809
|
# used by Envoy-based gateways.
|
@@ -3858,6 +3933,7 @@ module Google
|
|
3858
3933
|
|
3859
3934
|
# Update properties of this object
|
3860
3935
|
def update!(**args)
|
3936
|
+
@addons_config = args[:addons_config] if args.key?(:addons_config)
|
3861
3937
|
@arc_config_location = args[:arc_config_location] if args.key?(:arc_config_location)
|
3862
3938
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3863
3939
|
@data_collectors = args[:data_collectors] if args.key?(:data_collectors)
|
@@ -5023,16 +5099,16 @@ module Google
|
|
5023
5099
|
end
|
5024
5100
|
end
|
5025
5101
|
|
5026
|
-
#
|
5102
|
+
# The response for `ListApiCategoriesRequest`.
|
5027
5103
|
class GoogleCloudApigeeV1ListApiCategoriesResponse
|
5028
5104
|
include Google::Apis::Core::Hashable
|
5029
5105
|
|
5030
|
-
# Details of categories.
|
5106
|
+
# Details of the categories.
|
5031
5107
|
# Corresponds to the JSON property `data`
|
5032
5108
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData>]
|
5033
5109
|
attr_accessor :data
|
5034
5110
|
|
5035
|
-
#
|
5111
|
+
# Unique error code for the request, if any.
|
5036
5112
|
# Corresponds to the JSON property `errorCode`
|
5037
5113
|
# @return [String]
|
5038
5114
|
attr_accessor :error_code
|
@@ -5042,7 +5118,7 @@ module Google
|
|
5042
5118
|
# @return [String]
|
5043
5119
|
attr_accessor :message
|
5044
5120
|
|
5045
|
-
# ID
|
5121
|
+
# Unique ID of the request.
|
5046
5122
|
# Corresponds to the JSON property `requestId`
|
5047
5123
|
# @return [String]
|
5048
5124
|
attr_accessor :request_id
|
@@ -5700,6 +5776,32 @@ module Google
|
|
5700
5776
|
end
|
5701
5777
|
end
|
5702
5778
|
|
5779
|
+
# Contains a list of SecurityActions in response to a ListSecurityActionRequest.
|
5780
|
+
class GoogleCloudApigeeV1ListSecurityActionsResponse
|
5781
|
+
include Google::Apis::Core::Hashable
|
5782
|
+
|
5783
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
5784
|
+
# field is omitted, there are no subsequent pages.
|
5785
|
+
# Corresponds to the JSON property `nextPageToken`
|
5786
|
+
# @return [String]
|
5787
|
+
attr_accessor :next_page_token
|
5788
|
+
|
5789
|
+
# The SecurityActions for the specified environment.
|
5790
|
+
# Corresponds to the JSON property `securityActions`
|
5791
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction>]
|
5792
|
+
attr_accessor :security_actions
|
5793
|
+
|
5794
|
+
def initialize(**args)
|
5795
|
+
update!(**args)
|
5796
|
+
end
|
5797
|
+
|
5798
|
+
# Update properties of this object
|
5799
|
+
def update!(**args)
|
5800
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5801
|
+
@security_actions = args[:security_actions] if args.key?(:security_actions)
|
5802
|
+
end
|
5803
|
+
end
|
5804
|
+
|
5703
5805
|
# Response for ListSecurityIncidents.
|
5704
5806
|
class GoogleCloudApigeeV1ListSecurityIncidentsResponse
|
5705
5807
|
include Google::Apis::Core::Hashable
|
@@ -6483,6 +6585,11 @@ module Google
|
|
6483
6585
|
# @return [String]
|
6484
6586
|
attr_accessor :state
|
6485
6587
|
|
6588
|
+
# Output only. Subscription plan that the customer has purchased. Output only.
|
6589
|
+
# Corresponds to the JSON property `subscriptionPlan`
|
6590
|
+
# @return [String]
|
6591
|
+
attr_accessor :subscription_plan
|
6592
|
+
|
6486
6593
|
# Output only. DEPRECATED: This will eventually be replaced by BillingType.
|
6487
6594
|
# Subscription type of the Apigee organization. Valid values include trial (free,
|
6488
6595
|
# limited, and for evaluation purposes only) or paid (full subscription has
|
@@ -6528,6 +6635,7 @@ module Google
|
|
6528
6635
|
@runtime_database_encryption_key_name = args[:runtime_database_encryption_key_name] if args.key?(:runtime_database_encryption_key_name)
|
6529
6636
|
@runtime_type = args[:runtime_type] if args.key?(:runtime_type)
|
6530
6637
|
@state = args[:state] if args.key?(:state)
|
6638
|
+
@subscription_plan = args[:subscription_plan] if args.key?(:subscription_plan)
|
6531
6639
|
@subscription_type = args[:subscription_type] if args.key?(:subscription_type)
|
6532
6640
|
@type = args[:type] if args.key?(:type)
|
6533
6641
|
end
|
@@ -8053,6 +8161,100 @@ module Google
|
|
8053
8161
|
end
|
8054
8162
|
end
|
8055
8163
|
|
8164
|
+
# RuntimeAddonsConfig defines the runtime configurations for add-ons in an
|
8165
|
+
# environment.
|
8166
|
+
class GoogleCloudApigeeV1RuntimeAddonsConfig
|
8167
|
+
include Google::Apis::Core::Hashable
|
8168
|
+
|
8169
|
+
# Runtime configuration for the Analytics add-on.
|
8170
|
+
# Corresponds to the JSON property `analyticsConfig`
|
8171
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeAnalyticsConfig]
|
8172
|
+
attr_accessor :analytics_config
|
8173
|
+
|
8174
|
+
# Runtime configuration for the API Security add-on.
|
8175
|
+
# Corresponds to the JSON property `apiSecurityConfig`
|
8176
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeApiSecurityConfig]
|
8177
|
+
attr_accessor :api_security_config
|
8178
|
+
|
8179
|
+
# Name of the addons config in the format: `organizations/`org`/environments/`
|
8180
|
+
# env`/addonsConfig`
|
8181
|
+
# Corresponds to the JSON property `name`
|
8182
|
+
# @return [String]
|
8183
|
+
attr_accessor :name
|
8184
|
+
|
8185
|
+
# Revision number used by the runtime to detect config changes.
|
8186
|
+
# Corresponds to the JSON property `revisionId`
|
8187
|
+
# @return [String]
|
8188
|
+
attr_accessor :revision_id
|
8189
|
+
|
8190
|
+
# UID is to detect if config is recreated after deletion. The add-on config will
|
8191
|
+
# only be deleted when the environment itself gets deleted, thus it will always
|
8192
|
+
# be the same as the UID of EnvironmentConfig.
|
8193
|
+
# Corresponds to the JSON property `uid`
|
8194
|
+
# @return [String]
|
8195
|
+
attr_accessor :uid
|
8196
|
+
|
8197
|
+
def initialize(**args)
|
8198
|
+
update!(**args)
|
8199
|
+
end
|
8200
|
+
|
8201
|
+
# Update properties of this object
|
8202
|
+
def update!(**args)
|
8203
|
+
@analytics_config = args[:analytics_config] if args.key?(:analytics_config)
|
8204
|
+
@api_security_config = args[:api_security_config] if args.key?(:api_security_config)
|
8205
|
+
@name = args[:name] if args.key?(:name)
|
8206
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
8207
|
+
@uid = args[:uid] if args.key?(:uid)
|
8208
|
+
end
|
8209
|
+
end
|
8210
|
+
|
8211
|
+
# Runtime configuration for the Analytics add-on.
|
8212
|
+
class GoogleCloudApigeeV1RuntimeAnalyticsConfig
|
8213
|
+
include Google::Apis::Core::Hashable
|
8214
|
+
|
8215
|
+
# If Runtime should send billing data to AX or not.
|
8216
|
+
# Corresponds to the JSON property `billingPipelineEnabled`
|
8217
|
+
# @return [Boolean]
|
8218
|
+
attr_accessor :billing_pipeline_enabled
|
8219
|
+
alias_method :billing_pipeline_enabled?, :billing_pipeline_enabled
|
8220
|
+
|
8221
|
+
# If the Analytics is enabled or not.
|
8222
|
+
# Corresponds to the JSON property `enabled`
|
8223
|
+
# @return [Boolean]
|
8224
|
+
attr_accessor :enabled
|
8225
|
+
alias_method :enabled?, :enabled
|
8226
|
+
|
8227
|
+
def initialize(**args)
|
8228
|
+
update!(**args)
|
8229
|
+
end
|
8230
|
+
|
8231
|
+
# Update properties of this object
|
8232
|
+
def update!(**args)
|
8233
|
+
@billing_pipeline_enabled = args[:billing_pipeline_enabled] if args.key?(:billing_pipeline_enabled)
|
8234
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
8235
|
+
end
|
8236
|
+
end
|
8237
|
+
|
8238
|
+
# Runtime configuration for the API Security add-on.
|
8239
|
+
class GoogleCloudApigeeV1RuntimeApiSecurityConfig
|
8240
|
+
include Google::Apis::Core::Hashable
|
8241
|
+
|
8242
|
+
# If the API Security is enabled or not.
|
8243
|
+
# Corresponds to the JSON property `enabled`
|
8244
|
+
# @return [Boolean]
|
8245
|
+
attr_accessor :enabled
|
8246
|
+
alias_method :enabled?, :enabled
|
8247
|
+
|
8248
|
+
def initialize(**args)
|
8249
|
+
update!(**args)
|
8250
|
+
end
|
8251
|
+
|
8252
|
+
# Update properties of this object
|
8253
|
+
def update!(**args)
|
8254
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
8255
|
+
end
|
8256
|
+
end
|
8257
|
+
|
8056
8258
|
# Runtime configuration for the organization. Response for GetRuntimeConfig.
|
8057
8259
|
class GoogleCloudApigeeV1RuntimeConfig
|
8058
8260
|
include Google::Apis::Core::Hashable
|
@@ -8503,6 +8705,247 @@ module Google
|
|
8503
8705
|
end
|
8504
8706
|
end
|
8505
8707
|
|
8708
|
+
# A SecurityAction is rule that can be enforced at an environment level. The
|
8709
|
+
# result is one of: - A denied API call - An explicitly allowed API call - A
|
8710
|
+
# flagged API call (HTTP headers added before the target receives it) At least
|
8711
|
+
# one condition is required to create a SecurityAction.
|
8712
|
+
class GoogleCloudApigeeV1SecurityAction
|
8713
|
+
include Google::Apis::Core::Hashable
|
8714
|
+
|
8715
|
+
# Message that should be set in case of an Allow Action. This does not have any
|
8716
|
+
# fields.
|
8717
|
+
# Corresponds to the JSON property `allow`
|
8718
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionAllow]
|
8719
|
+
attr_accessor :allow
|
8720
|
+
|
8721
|
+
# The following are a list of conditions. A valid SecurityAction must contain at
|
8722
|
+
# least one condition. Within a condition, each element is ORed. Across
|
8723
|
+
# conditions elements are ANDed. For example if a SecurityAction has the
|
8724
|
+
# following: api_keys: ["key1", "key2"] and developers: ["dev1", "dev2"] then
|
8725
|
+
# this is interpreted as: enforce the action if the incoming request has ((
|
8726
|
+
# api_key = "key1" OR api_key="key") AND (developer="dev1" OR developer="dev2"))
|
8727
|
+
# Corresponds to the JSON property `conditionConfig`
|
8728
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionConditionConfig]
|
8729
|
+
attr_accessor :condition_config
|
8730
|
+
|
8731
|
+
# Output only. The create time for this SecurityAction.
|
8732
|
+
# Corresponds to the JSON property `createTime`
|
8733
|
+
# @return [String]
|
8734
|
+
attr_accessor :create_time
|
8735
|
+
|
8736
|
+
# Message that should be set in case of a Deny Action.
|
8737
|
+
# Corresponds to the JSON property `deny`
|
8738
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionDeny]
|
8739
|
+
attr_accessor :deny
|
8740
|
+
|
8741
|
+
# Optional. An optional user provided description of the SecurityAction.
|
8742
|
+
# Corresponds to the JSON property `description`
|
8743
|
+
# @return [String]
|
8744
|
+
attr_accessor :description
|
8745
|
+
|
8746
|
+
# The expiration for this SecurityAction.
|
8747
|
+
# Corresponds to the JSON property `expireTime`
|
8748
|
+
# @return [String]
|
8749
|
+
attr_accessor :expire_time
|
8750
|
+
|
8751
|
+
# The message that should be set in the case of a Flag action.
|
8752
|
+
# Corresponds to the JSON property `flag`
|
8753
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionFlag]
|
8754
|
+
attr_accessor :flag
|
8755
|
+
|
8756
|
+
# Immutable. This field is ignored during creation as per AIP-133. Please set
|
8757
|
+
# the `security_action_id` field in the CreateSecurityActionRequest when
|
8758
|
+
# creating a new SecurityAction. Format: organizations/`org`/environments/`env`/
|
8759
|
+
# securityActions/`security_action`
|
8760
|
+
# Corresponds to the JSON property `name`
|
8761
|
+
# @return [String]
|
8762
|
+
attr_accessor :name
|
8763
|
+
|
8764
|
+
# Required. Only an ENABLED SecurityAction is enforced. An ENABLED
|
8765
|
+
# SecurityAction past its expiration time will not be enforced.
|
8766
|
+
# Corresponds to the JSON property `state`
|
8767
|
+
# @return [String]
|
8768
|
+
attr_accessor :state
|
8769
|
+
|
8770
|
+
# Input only. The TTL for this SecurityAction.
|
8771
|
+
# Corresponds to the JSON property `ttl`
|
8772
|
+
# @return [String]
|
8773
|
+
attr_accessor :ttl
|
8774
|
+
|
8775
|
+
# Output only. The update time for this SecurityAction. This reflects when this
|
8776
|
+
# SecurityAction changed states.
|
8777
|
+
# Corresponds to the JSON property `updateTime`
|
8778
|
+
# @return [String]
|
8779
|
+
attr_accessor :update_time
|
8780
|
+
|
8781
|
+
def initialize(**args)
|
8782
|
+
update!(**args)
|
8783
|
+
end
|
8784
|
+
|
8785
|
+
# Update properties of this object
|
8786
|
+
def update!(**args)
|
8787
|
+
@allow = args[:allow] if args.key?(:allow)
|
8788
|
+
@condition_config = args[:condition_config] if args.key?(:condition_config)
|
8789
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
8790
|
+
@deny = args[:deny] if args.key?(:deny)
|
8791
|
+
@description = args[:description] if args.key?(:description)
|
8792
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
8793
|
+
@flag = args[:flag] if args.key?(:flag)
|
8794
|
+
@name = args[:name] if args.key?(:name)
|
8795
|
+
@state = args[:state] if args.key?(:state)
|
8796
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
8797
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
8798
|
+
end
|
8799
|
+
end
|
8800
|
+
|
8801
|
+
# Message that should be set in case of an Allow Action. This does not have any
|
8802
|
+
# fields.
|
8803
|
+
class GoogleCloudApigeeV1SecurityActionAllow
|
8804
|
+
include Google::Apis::Core::Hashable
|
8805
|
+
|
8806
|
+
def initialize(**args)
|
8807
|
+
update!(**args)
|
8808
|
+
end
|
8809
|
+
|
8810
|
+
# Update properties of this object
|
8811
|
+
def update!(**args)
|
8812
|
+
end
|
8813
|
+
end
|
8814
|
+
|
8815
|
+
# The following are a list of conditions. A valid SecurityAction must contain at
|
8816
|
+
# least one condition. Within a condition, each element is ORed. Across
|
8817
|
+
# conditions elements are ANDed. For example if a SecurityAction has the
|
8818
|
+
# following: api_keys: ["key1", "key2"] and developers: ["dev1", "dev2"] then
|
8819
|
+
# this is interpreted as: enforce the action if the incoming request has ((
|
8820
|
+
# api_key = "key1" OR api_key="key") AND (developer="dev1" OR developer="dev2"))
|
8821
|
+
class GoogleCloudApigeeV1SecurityActionConditionConfig
|
8822
|
+
include Google::Apis::Core::Hashable
|
8823
|
+
|
8824
|
+
# Optional. A list of Bot Reasons. Current options: Flooder, Brute Guessor,
|
8825
|
+
# Static Content Scraper, OAuth Abuser, Robot Abuser, TorListRule, Advanced
|
8826
|
+
# Anomaly Detection and Advanced API Scraper.
|
8827
|
+
# Corresponds to the JSON property `botReasons`
|
8828
|
+
# @return [Array<String>]
|
8829
|
+
attr_accessor :bot_reasons
|
8830
|
+
|
8831
|
+
# Optional. A list of IP addresses. This could be either IPv4 or IPv6. Limited
|
8832
|
+
# to 100 per action.
|
8833
|
+
# Corresponds to the JSON property `ipAddressRanges`
|
8834
|
+
# @return [Array<String>]
|
8835
|
+
attr_accessor :ip_address_ranges
|
8836
|
+
|
8837
|
+
def initialize(**args)
|
8838
|
+
update!(**args)
|
8839
|
+
end
|
8840
|
+
|
8841
|
+
# Update properties of this object
|
8842
|
+
def update!(**args)
|
8843
|
+
@bot_reasons = args[:bot_reasons] if args.key?(:bot_reasons)
|
8844
|
+
@ip_address_ranges = args[:ip_address_ranges] if args.key?(:ip_address_ranges)
|
8845
|
+
end
|
8846
|
+
end
|
8847
|
+
|
8848
|
+
# Message that should be set in case of a Deny Action.
|
8849
|
+
class GoogleCloudApigeeV1SecurityActionDeny
|
8850
|
+
include Google::Apis::Core::Hashable
|
8851
|
+
|
8852
|
+
# Optional. The HTTP response code if the Action = DENY.
|
8853
|
+
# Corresponds to the JSON property `responseCode`
|
8854
|
+
# @return [Fixnum]
|
8855
|
+
attr_accessor :response_code
|
8856
|
+
|
8857
|
+
def initialize(**args)
|
8858
|
+
update!(**args)
|
8859
|
+
end
|
8860
|
+
|
8861
|
+
# Update properties of this object
|
8862
|
+
def update!(**args)
|
8863
|
+
@response_code = args[:response_code] if args.key?(:response_code)
|
8864
|
+
end
|
8865
|
+
end
|
8866
|
+
|
8867
|
+
# The message that should be set in the case of a Flag action.
|
8868
|
+
class GoogleCloudApigeeV1SecurityActionFlag
|
8869
|
+
include Google::Apis::Core::Hashable
|
8870
|
+
|
8871
|
+
# Optional. A list of HTTP headers to be sent to the target in case of a FLAG
|
8872
|
+
# SecurityAction. Limit 5 headers per SecurityAction. At least one is mandatory.
|
8873
|
+
# Corresponds to the JSON property `headers`
|
8874
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionHttpHeader>]
|
8875
|
+
attr_accessor :headers
|
8876
|
+
|
8877
|
+
def initialize(**args)
|
8878
|
+
update!(**args)
|
8879
|
+
end
|
8880
|
+
|
8881
|
+
# Update properties of this object
|
8882
|
+
def update!(**args)
|
8883
|
+
@headers = args[:headers] if args.key?(:headers)
|
8884
|
+
end
|
8885
|
+
end
|
8886
|
+
|
8887
|
+
# An HTTP header.
|
8888
|
+
class GoogleCloudApigeeV1SecurityActionHttpHeader
|
8889
|
+
include Google::Apis::Core::Hashable
|
8890
|
+
|
8891
|
+
# The header name to be sent to the target.
|
8892
|
+
# Corresponds to the JSON property `name`
|
8893
|
+
# @return [String]
|
8894
|
+
attr_accessor :name
|
8895
|
+
|
8896
|
+
# The header value to be sent to the target.
|
8897
|
+
# Corresponds to the JSON property `value`
|
8898
|
+
# @return [String]
|
8899
|
+
attr_accessor :value
|
8900
|
+
|
8901
|
+
def initialize(**args)
|
8902
|
+
update!(**args)
|
8903
|
+
end
|
8904
|
+
|
8905
|
+
# Update properties of this object
|
8906
|
+
def update!(**args)
|
8907
|
+
@name = args[:name] if args.key?(:name)
|
8908
|
+
@value = args[:value] if args.key?(:value)
|
8909
|
+
end
|
8910
|
+
end
|
8911
|
+
|
8912
|
+
# SecurityActionsConfig reflects the current state of the SecurityActions
|
8913
|
+
# feature. This is a singleton resource: https://google.aip.dev/156
|
8914
|
+
class GoogleCloudApigeeV1SecurityActionsConfig
|
8915
|
+
include Google::Apis::Core::Hashable
|
8916
|
+
|
8917
|
+
# The flag that controls whether this feature is enabled. This is `unset` by
|
8918
|
+
# default. When this flag is `false`, even if individual rules are enabled, no
|
8919
|
+
# SecurityActions will be enforced.
|
8920
|
+
# Corresponds to the JSON property `enabled`
|
8921
|
+
# @return [Boolean]
|
8922
|
+
attr_accessor :enabled
|
8923
|
+
alias_method :enabled?, :enabled
|
8924
|
+
|
8925
|
+
# This is a singleton resource, the name will always be set by SecurityActions
|
8926
|
+
# and any user input will be ignored. The name is always: `organizations/`org`/
|
8927
|
+
# environments/`env`/security_actions_config`
|
8928
|
+
# Corresponds to the JSON property `name`
|
8929
|
+
# @return [String]
|
8930
|
+
attr_accessor :name
|
8931
|
+
|
8932
|
+
# Output only. The update time for configuration.
|
8933
|
+
# Corresponds to the JSON property `updateTime`
|
8934
|
+
# @return [String]
|
8935
|
+
attr_accessor :update_time
|
8936
|
+
|
8937
|
+
def initialize(**args)
|
8938
|
+
update!(**args)
|
8939
|
+
end
|
8940
|
+
|
8941
|
+
# Update properties of this object
|
8942
|
+
def update!(**args)
|
8943
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
8944
|
+
@name = args[:name] if args.key?(:name)
|
8945
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
8946
|
+
end
|
8947
|
+
end
|
8948
|
+
|
8506
8949
|
# Represents an SecurityIncident resource.
|
8507
8950
|
class GoogleCloudApigeeV1SecurityIncident
|
8508
8951
|
include Google::Apis::Core::Hashable
|
@@ -8687,8 +9130,7 @@ module Google
|
|
8687
9130
|
# @return [String]
|
8688
9131
|
attr_accessor :attach_time
|
8689
9132
|
|
8690
|
-
# Immutable. Name of the
|
8691
|
-
# organizations/`org`/securityProfiles/`profile`/environments/`env`
|
9133
|
+
# Immutable. Name of the environment that the profile is attached to.
|
8692
9134
|
# Corresponds to the JSON property `name`
|
8693
9135
|
# @return [String]
|
8694
9136
|
attr_accessor :name
|
@@ -9153,6 +9595,33 @@ module Google
|
|
9153
9595
|
end
|
9154
9596
|
end
|
9155
9597
|
|
9598
|
+
# Request for SetAddonEnablement.
|
9599
|
+
class GoogleCloudApigeeV1SetAddonEnablementRequest
|
9600
|
+
include Google::Apis::Core::Hashable
|
9601
|
+
|
9602
|
+
# If the Analytics should be enabled in the environment.
|
9603
|
+
# Corresponds to the JSON property `analyticsEnabled`
|
9604
|
+
# @return [Boolean]
|
9605
|
+
attr_accessor :analytics_enabled
|
9606
|
+
alias_method :analytics_enabled?, :analytics_enabled
|
9607
|
+
|
9608
|
+
# If the API Security should be enabled in the environment.
|
9609
|
+
# Corresponds to the JSON property `apiSecurityEnabled`
|
9610
|
+
# @return [Boolean]
|
9611
|
+
attr_accessor :api_security_enabled
|
9612
|
+
alias_method :api_security_enabled?, :api_security_enabled
|
9613
|
+
|
9614
|
+
def initialize(**args)
|
9615
|
+
update!(**args)
|
9616
|
+
end
|
9617
|
+
|
9618
|
+
# Update properties of this object
|
9619
|
+
def update!(**args)
|
9620
|
+
@analytics_enabled = args[:analytics_enabled] if args.key?(:analytics_enabled)
|
9621
|
+
@api_security_enabled = args[:api_security_enabled] if args.key?(:api_security_enabled)
|
9622
|
+
end
|
9623
|
+
end
|
9624
|
+
|
9156
9625
|
# Request for SetAddons.
|
9157
9626
|
class GoogleCloudApigeeV1SetAddonsRequest
|
9158
9627
|
include Google::Apis::Core::Hashable
|