google-apis-apigee_v1 0.75.0 → 0.76.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 +4 -0
- data/lib/google/apis/apigee_v1/classes.rb +473 -2
- data/lib/google/apis/apigee_v1/gem_version.rb +2 -2
- data/lib/google/apis/apigee_v1/representations.rb +229 -0
- data/lib/google/apis/apigee_v1/service.rb +338 -12
- 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: 0f112b76cee17100160971294ca8c0ce3c1fc134b1df79a435872969abc82feb
|
4
|
+
data.tar.gz: 6b74c3172eba562492de9367025eb1f0dc6e0b821fe96036a2ab847a79e91219
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dade1071f125463c232c10f6f73cacc514b1a50232afbceae992478d7e5538de3ef6ed6a988cb4d5b8600a7d0ef52a02912de5fed78aa4ae3bdbf27a5449be8
|
7
|
+
data.tar.gz: bce28a62f3de9a6e43fc45f22753c579f12bcb9f82fd7e21555968754a8dc997aa1d3dd286eb7d6a9374e828e1825b82e5430fe4fba774e2675f68c6a6f8e4d9
|
data/CHANGELOG.md
CHANGED
@@ -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,6 +428,45 @@ module Google
|
|
422
428
|
end
|
423
429
|
end
|
424
430
|
|
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
|
+
|
425
470
|
# the Api category resource wrapped with response status, error_code etc.
|
426
471
|
class GoogleCloudApigeeV1ApiCategory
|
427
472
|
include Google::Apis::Core::Hashable
|
@@ -3505,6 +3550,32 @@ module Google
|
|
3505
3550
|
end
|
3506
3551
|
end
|
3507
3552
|
|
3553
|
+
# Message to disable an enabled SecurityAction.
|
3554
|
+
class GoogleCloudApigeeV1DisableSecurityActionRequest
|
3555
|
+
include Google::Apis::Core::Hashable
|
3556
|
+
|
3557
|
+
def initialize(**args)
|
3558
|
+
update!(**args)
|
3559
|
+
end
|
3560
|
+
|
3561
|
+
# Update properties of this object
|
3562
|
+
def update!(**args)
|
3563
|
+
end
|
3564
|
+
end
|
3565
|
+
|
3566
|
+
# Message to enable a disabled SecurityAction.
|
3567
|
+
class GoogleCloudApigeeV1EnableSecurityActionRequest
|
3568
|
+
include Google::Apis::Core::Hashable
|
3569
|
+
|
3570
|
+
def initialize(**args)
|
3571
|
+
update!(**args)
|
3572
|
+
end
|
3573
|
+
|
3574
|
+
# Update properties of this object
|
3575
|
+
def update!(**args)
|
3576
|
+
end
|
3577
|
+
end
|
3578
|
+
|
3508
3579
|
# Apigee endpoint attachment. For more information, see [Southbound networking
|
3509
3580
|
# patterns] (https://cloud.google.com/apigee/docs/api-platform/architecture/
|
3510
3581
|
# southbound-networking-patterns-endpoints).
|
@@ -3729,6 +3800,12 @@ module Google
|
|
3729
3800
|
class GoogleCloudApigeeV1EnvironmentConfig
|
3730
3801
|
include Google::Apis::Core::Hashable
|
3731
3802
|
|
3803
|
+
# RuntimeAddonsConfig defines the runtime configurations for add-ons in an
|
3804
|
+
# environment.
|
3805
|
+
# Corresponds to the JSON property `addonsConfig`
|
3806
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeAddonsConfig]
|
3807
|
+
attr_accessor :addons_config
|
3808
|
+
|
3732
3809
|
# The location for the config blob of API Runtime Control, aka Envoy Adapter,
|
3733
3810
|
# for op-based authentication as a URI, e.g. a Cloud Storage URI. This is only
|
3734
3811
|
# used by Envoy-based gateways.
|
@@ -3858,6 +3935,7 @@ module Google
|
|
3858
3935
|
|
3859
3936
|
# Update properties of this object
|
3860
3937
|
def update!(**args)
|
3938
|
+
@addons_config = args[:addons_config] if args.key?(:addons_config)
|
3861
3939
|
@arc_config_location = args[:arc_config_location] if args.key?(:arc_config_location)
|
3862
3940
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3863
3941
|
@data_collectors = args[:data_collectors] if args.key?(:data_collectors)
|
@@ -5700,6 +5778,32 @@ module Google
|
|
5700
5778
|
end
|
5701
5779
|
end
|
5702
5780
|
|
5781
|
+
# Contains a list of SecurityActions in response to a ListSecurityActionRequest.
|
5782
|
+
class GoogleCloudApigeeV1ListSecurityActionsResponse
|
5783
|
+
include Google::Apis::Core::Hashable
|
5784
|
+
|
5785
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
5786
|
+
# field is omitted, there are no subsequent pages.
|
5787
|
+
# Corresponds to the JSON property `nextPageToken`
|
5788
|
+
# @return [String]
|
5789
|
+
attr_accessor :next_page_token
|
5790
|
+
|
5791
|
+
# The SecurityActions for the specified environment.
|
5792
|
+
# Corresponds to the JSON property `securityActions`
|
5793
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction>]
|
5794
|
+
attr_accessor :security_actions
|
5795
|
+
|
5796
|
+
def initialize(**args)
|
5797
|
+
update!(**args)
|
5798
|
+
end
|
5799
|
+
|
5800
|
+
# Update properties of this object
|
5801
|
+
def update!(**args)
|
5802
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5803
|
+
@security_actions = args[:security_actions] if args.key?(:security_actions)
|
5804
|
+
end
|
5805
|
+
end
|
5806
|
+
|
5703
5807
|
# Response for ListSecurityIncidents.
|
5704
5808
|
class GoogleCloudApigeeV1ListSecurityIncidentsResponse
|
5705
5809
|
include Google::Apis::Core::Hashable
|
@@ -6483,6 +6587,11 @@ module Google
|
|
6483
6587
|
# @return [String]
|
6484
6588
|
attr_accessor :state
|
6485
6589
|
|
6590
|
+
# Output only. Subscription plan that the customer has purchased. Output only.
|
6591
|
+
# Corresponds to the JSON property `subscriptionPlan`
|
6592
|
+
# @return [String]
|
6593
|
+
attr_accessor :subscription_plan
|
6594
|
+
|
6486
6595
|
# Output only. DEPRECATED: This will eventually be replaced by BillingType.
|
6487
6596
|
# Subscription type of the Apigee organization. Valid values include trial (free,
|
6488
6597
|
# limited, and for evaluation purposes only) or paid (full subscription has
|
@@ -6528,6 +6637,7 @@ module Google
|
|
6528
6637
|
@runtime_database_encryption_key_name = args[:runtime_database_encryption_key_name] if args.key?(:runtime_database_encryption_key_name)
|
6529
6638
|
@runtime_type = args[:runtime_type] if args.key?(:runtime_type)
|
6530
6639
|
@state = args[:state] if args.key?(:state)
|
6640
|
+
@subscription_plan = args[:subscription_plan] if args.key?(:subscription_plan)
|
6531
6641
|
@subscription_type = args[:subscription_type] if args.key?(:subscription_type)
|
6532
6642
|
@type = args[:type] if args.key?(:type)
|
6533
6643
|
end
|
@@ -8053,6 +8163,100 @@ module Google
|
|
8053
8163
|
end
|
8054
8164
|
end
|
8055
8165
|
|
8166
|
+
# RuntimeAddonsConfig defines the runtime configurations for add-ons in an
|
8167
|
+
# environment.
|
8168
|
+
class GoogleCloudApigeeV1RuntimeAddonsConfig
|
8169
|
+
include Google::Apis::Core::Hashable
|
8170
|
+
|
8171
|
+
# Runtime configuration for the Analytics add-on.
|
8172
|
+
# Corresponds to the JSON property `analyticsConfig`
|
8173
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeAnalyticsConfig]
|
8174
|
+
attr_accessor :analytics_config
|
8175
|
+
|
8176
|
+
# Runtime configuration for the API Security add-on.
|
8177
|
+
# Corresponds to the JSON property `apiSecurityConfig`
|
8178
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeApiSecurityConfig]
|
8179
|
+
attr_accessor :api_security_config
|
8180
|
+
|
8181
|
+
# Name of the addons config in the format: `organizations/`org`/environments/`
|
8182
|
+
# env`/addonsConfig`
|
8183
|
+
# Corresponds to the JSON property `name`
|
8184
|
+
# @return [String]
|
8185
|
+
attr_accessor :name
|
8186
|
+
|
8187
|
+
# Revision number used by the runtime to detect config changes.
|
8188
|
+
# Corresponds to the JSON property `revisionId`
|
8189
|
+
# @return [String]
|
8190
|
+
attr_accessor :revision_id
|
8191
|
+
|
8192
|
+
# UID is to detect if config is recreated after deletion. The add-on config will
|
8193
|
+
# only be deleted when the environment itself gets deleted, thus it will always
|
8194
|
+
# be the same as the UID of EnvironmentConfig.
|
8195
|
+
# Corresponds to the JSON property `uid`
|
8196
|
+
# @return [String]
|
8197
|
+
attr_accessor :uid
|
8198
|
+
|
8199
|
+
def initialize(**args)
|
8200
|
+
update!(**args)
|
8201
|
+
end
|
8202
|
+
|
8203
|
+
# Update properties of this object
|
8204
|
+
def update!(**args)
|
8205
|
+
@analytics_config = args[:analytics_config] if args.key?(:analytics_config)
|
8206
|
+
@api_security_config = args[:api_security_config] if args.key?(:api_security_config)
|
8207
|
+
@name = args[:name] if args.key?(:name)
|
8208
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
8209
|
+
@uid = args[:uid] if args.key?(:uid)
|
8210
|
+
end
|
8211
|
+
end
|
8212
|
+
|
8213
|
+
# Runtime configuration for the Analytics add-on.
|
8214
|
+
class GoogleCloudApigeeV1RuntimeAnalyticsConfig
|
8215
|
+
include Google::Apis::Core::Hashable
|
8216
|
+
|
8217
|
+
# If Runtime should send billing data to AX or not.
|
8218
|
+
# Corresponds to the JSON property `billingPipelineEnabled`
|
8219
|
+
# @return [Boolean]
|
8220
|
+
attr_accessor :billing_pipeline_enabled
|
8221
|
+
alias_method :billing_pipeline_enabled?, :billing_pipeline_enabled
|
8222
|
+
|
8223
|
+
# If the Analytics is enabled or not.
|
8224
|
+
# Corresponds to the JSON property `enabled`
|
8225
|
+
# @return [Boolean]
|
8226
|
+
attr_accessor :enabled
|
8227
|
+
alias_method :enabled?, :enabled
|
8228
|
+
|
8229
|
+
def initialize(**args)
|
8230
|
+
update!(**args)
|
8231
|
+
end
|
8232
|
+
|
8233
|
+
# Update properties of this object
|
8234
|
+
def update!(**args)
|
8235
|
+
@billing_pipeline_enabled = args[:billing_pipeline_enabled] if args.key?(:billing_pipeline_enabled)
|
8236
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
8237
|
+
end
|
8238
|
+
end
|
8239
|
+
|
8240
|
+
# Runtime configuration for the API Security add-on.
|
8241
|
+
class GoogleCloudApigeeV1RuntimeApiSecurityConfig
|
8242
|
+
include Google::Apis::Core::Hashable
|
8243
|
+
|
8244
|
+
# If the API Security is enabled or not.
|
8245
|
+
# Corresponds to the JSON property `enabled`
|
8246
|
+
# @return [Boolean]
|
8247
|
+
attr_accessor :enabled
|
8248
|
+
alias_method :enabled?, :enabled
|
8249
|
+
|
8250
|
+
def initialize(**args)
|
8251
|
+
update!(**args)
|
8252
|
+
end
|
8253
|
+
|
8254
|
+
# Update properties of this object
|
8255
|
+
def update!(**args)
|
8256
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
8257
|
+
end
|
8258
|
+
end
|
8259
|
+
|
8056
8260
|
# Runtime configuration for the organization. Response for GetRuntimeConfig.
|
8057
8261
|
class GoogleCloudApigeeV1RuntimeConfig
|
8058
8262
|
include Google::Apis::Core::Hashable
|
@@ -8503,6 +8707,247 @@ module Google
|
|
8503
8707
|
end
|
8504
8708
|
end
|
8505
8709
|
|
8710
|
+
# A SecurityAction is rule that can be enforced at an environment level. The
|
8711
|
+
# result is one of: - A denied API call - An explicitly allowed API call - A
|
8712
|
+
# flagged API call (HTTP headers added before the target receives it) At least
|
8713
|
+
# one condition is required to create a SecurityAction.
|
8714
|
+
class GoogleCloudApigeeV1SecurityAction
|
8715
|
+
include Google::Apis::Core::Hashable
|
8716
|
+
|
8717
|
+
# Message that should be set in case of an Allow Action. This does not have any
|
8718
|
+
# fields.
|
8719
|
+
# Corresponds to the JSON property `allow`
|
8720
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionAllow]
|
8721
|
+
attr_accessor :allow
|
8722
|
+
|
8723
|
+
# The following are a list of conditions. A valid SecurityAction must contain at
|
8724
|
+
# least one condition. Within a condition, each element is ORed. Across
|
8725
|
+
# conditions elements are ANDed. For example if a SecurityAction has the
|
8726
|
+
# following: api_keys: ["key1", "key2"] and developers: ["dev1", "dev2"] then
|
8727
|
+
# this is interpreted as: enforce the action if the incoming request has ((
|
8728
|
+
# api_key = "key1" OR api_key="key") AND (developer="dev1" OR developer="dev2"))
|
8729
|
+
# Corresponds to the JSON property `conditionConfig`
|
8730
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionConditionConfig]
|
8731
|
+
attr_accessor :condition_config
|
8732
|
+
|
8733
|
+
# Output only. The create time for this SecurityAction.
|
8734
|
+
# Corresponds to the JSON property `createTime`
|
8735
|
+
# @return [String]
|
8736
|
+
attr_accessor :create_time
|
8737
|
+
|
8738
|
+
# Message that should be set in case of a Deny Action.
|
8739
|
+
# Corresponds to the JSON property `deny`
|
8740
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionDeny]
|
8741
|
+
attr_accessor :deny
|
8742
|
+
|
8743
|
+
# Optional. An optional user provided description of the SecurityAction.
|
8744
|
+
# Corresponds to the JSON property `description`
|
8745
|
+
# @return [String]
|
8746
|
+
attr_accessor :description
|
8747
|
+
|
8748
|
+
# The expiration for this SecurityAction.
|
8749
|
+
# Corresponds to the JSON property `expireTime`
|
8750
|
+
# @return [String]
|
8751
|
+
attr_accessor :expire_time
|
8752
|
+
|
8753
|
+
# The message that should be set in the case of a Flag action.
|
8754
|
+
# Corresponds to the JSON property `flag`
|
8755
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionFlag]
|
8756
|
+
attr_accessor :flag
|
8757
|
+
|
8758
|
+
# Immutable. This field is ignored during creation as per AIP-133. Please set
|
8759
|
+
# the `security_action_id` field in the CreateSecurityActionRequest when
|
8760
|
+
# creating a new SecurityAction. Format: organizations/`org`/environments/`env`/
|
8761
|
+
# securityActions/`security_action`
|
8762
|
+
# Corresponds to the JSON property `name`
|
8763
|
+
# @return [String]
|
8764
|
+
attr_accessor :name
|
8765
|
+
|
8766
|
+
# Required. Only an ENABLED SecurityAction is enforced. An ENABLED
|
8767
|
+
# SecurityAction past its expiration time will not be enforced.
|
8768
|
+
# Corresponds to the JSON property `state`
|
8769
|
+
# @return [String]
|
8770
|
+
attr_accessor :state
|
8771
|
+
|
8772
|
+
# Input only. The TTL for this SecurityAction.
|
8773
|
+
# Corresponds to the JSON property `ttl`
|
8774
|
+
# @return [String]
|
8775
|
+
attr_accessor :ttl
|
8776
|
+
|
8777
|
+
# Output only. The update time for this SecurityAction. This reflects when this
|
8778
|
+
# SecurityAction changed states.
|
8779
|
+
# Corresponds to the JSON property `updateTime`
|
8780
|
+
# @return [String]
|
8781
|
+
attr_accessor :update_time
|
8782
|
+
|
8783
|
+
def initialize(**args)
|
8784
|
+
update!(**args)
|
8785
|
+
end
|
8786
|
+
|
8787
|
+
# Update properties of this object
|
8788
|
+
def update!(**args)
|
8789
|
+
@allow = args[:allow] if args.key?(:allow)
|
8790
|
+
@condition_config = args[:condition_config] if args.key?(:condition_config)
|
8791
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
8792
|
+
@deny = args[:deny] if args.key?(:deny)
|
8793
|
+
@description = args[:description] if args.key?(:description)
|
8794
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
8795
|
+
@flag = args[:flag] if args.key?(:flag)
|
8796
|
+
@name = args[:name] if args.key?(:name)
|
8797
|
+
@state = args[:state] if args.key?(:state)
|
8798
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
8799
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
8800
|
+
end
|
8801
|
+
end
|
8802
|
+
|
8803
|
+
# Message that should be set in case of an Allow Action. This does not have any
|
8804
|
+
# fields.
|
8805
|
+
class GoogleCloudApigeeV1SecurityActionAllow
|
8806
|
+
include Google::Apis::Core::Hashable
|
8807
|
+
|
8808
|
+
def initialize(**args)
|
8809
|
+
update!(**args)
|
8810
|
+
end
|
8811
|
+
|
8812
|
+
# Update properties of this object
|
8813
|
+
def update!(**args)
|
8814
|
+
end
|
8815
|
+
end
|
8816
|
+
|
8817
|
+
# The following are a list of conditions. A valid SecurityAction must contain at
|
8818
|
+
# least one condition. Within a condition, each element is ORed. Across
|
8819
|
+
# conditions elements are ANDed. For example if a SecurityAction has the
|
8820
|
+
# following: api_keys: ["key1", "key2"] and developers: ["dev1", "dev2"] then
|
8821
|
+
# this is interpreted as: enforce the action if the incoming request has ((
|
8822
|
+
# api_key = "key1" OR api_key="key") AND (developer="dev1" OR developer="dev2"))
|
8823
|
+
class GoogleCloudApigeeV1SecurityActionConditionConfig
|
8824
|
+
include Google::Apis::Core::Hashable
|
8825
|
+
|
8826
|
+
# Optional. A list of Bot Reasons. Current options: Flooder, Brute Guessor,
|
8827
|
+
# Static Content Scraper, OAuth Abuser, Robot Abuser, TorListRule, Advanced
|
8828
|
+
# Anomaly Detection and Advanced API Scraper.
|
8829
|
+
# Corresponds to the JSON property `botReasons`
|
8830
|
+
# @return [Array<String>]
|
8831
|
+
attr_accessor :bot_reasons
|
8832
|
+
|
8833
|
+
# Optional. A list of IP addresses. This could be either IPv4 or IPv6. Limited
|
8834
|
+
# to 100 per action.
|
8835
|
+
# Corresponds to the JSON property `ipAddressRanges`
|
8836
|
+
# @return [Array<String>]
|
8837
|
+
attr_accessor :ip_address_ranges
|
8838
|
+
|
8839
|
+
def initialize(**args)
|
8840
|
+
update!(**args)
|
8841
|
+
end
|
8842
|
+
|
8843
|
+
# Update properties of this object
|
8844
|
+
def update!(**args)
|
8845
|
+
@bot_reasons = args[:bot_reasons] if args.key?(:bot_reasons)
|
8846
|
+
@ip_address_ranges = args[:ip_address_ranges] if args.key?(:ip_address_ranges)
|
8847
|
+
end
|
8848
|
+
end
|
8849
|
+
|
8850
|
+
# Message that should be set in case of a Deny Action.
|
8851
|
+
class GoogleCloudApigeeV1SecurityActionDeny
|
8852
|
+
include Google::Apis::Core::Hashable
|
8853
|
+
|
8854
|
+
# Optional. The HTTP response code if the Action = DENY.
|
8855
|
+
# Corresponds to the JSON property `responseCode`
|
8856
|
+
# @return [Fixnum]
|
8857
|
+
attr_accessor :response_code
|
8858
|
+
|
8859
|
+
def initialize(**args)
|
8860
|
+
update!(**args)
|
8861
|
+
end
|
8862
|
+
|
8863
|
+
# Update properties of this object
|
8864
|
+
def update!(**args)
|
8865
|
+
@response_code = args[:response_code] if args.key?(:response_code)
|
8866
|
+
end
|
8867
|
+
end
|
8868
|
+
|
8869
|
+
# The message that should be set in the case of a Flag action.
|
8870
|
+
class GoogleCloudApigeeV1SecurityActionFlag
|
8871
|
+
include Google::Apis::Core::Hashable
|
8872
|
+
|
8873
|
+
# Optional. A list of HTTP headers to be sent to the target in case of a FLAG
|
8874
|
+
# SecurityAction. Limit 5 headers per SecurityAction. At least one is mandatory.
|
8875
|
+
# Corresponds to the JSON property `headers`
|
8876
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionHttpHeader>]
|
8877
|
+
attr_accessor :headers
|
8878
|
+
|
8879
|
+
def initialize(**args)
|
8880
|
+
update!(**args)
|
8881
|
+
end
|
8882
|
+
|
8883
|
+
# Update properties of this object
|
8884
|
+
def update!(**args)
|
8885
|
+
@headers = args[:headers] if args.key?(:headers)
|
8886
|
+
end
|
8887
|
+
end
|
8888
|
+
|
8889
|
+
# An HTTP header.
|
8890
|
+
class GoogleCloudApigeeV1SecurityActionHttpHeader
|
8891
|
+
include Google::Apis::Core::Hashable
|
8892
|
+
|
8893
|
+
# The header name to be sent to the target.
|
8894
|
+
# Corresponds to the JSON property `name`
|
8895
|
+
# @return [String]
|
8896
|
+
attr_accessor :name
|
8897
|
+
|
8898
|
+
# The header value to be sent to the target.
|
8899
|
+
# Corresponds to the JSON property `value`
|
8900
|
+
# @return [String]
|
8901
|
+
attr_accessor :value
|
8902
|
+
|
8903
|
+
def initialize(**args)
|
8904
|
+
update!(**args)
|
8905
|
+
end
|
8906
|
+
|
8907
|
+
# Update properties of this object
|
8908
|
+
def update!(**args)
|
8909
|
+
@name = args[:name] if args.key?(:name)
|
8910
|
+
@value = args[:value] if args.key?(:value)
|
8911
|
+
end
|
8912
|
+
end
|
8913
|
+
|
8914
|
+
# SecurityActionsConfig reflects the current state of the SecurityActions
|
8915
|
+
# feature. This is a singleton resource: https://google.aip.dev/156
|
8916
|
+
class GoogleCloudApigeeV1SecurityActionsConfig
|
8917
|
+
include Google::Apis::Core::Hashable
|
8918
|
+
|
8919
|
+
# The flag that controls whether this feature is enabled. This is `unset` by
|
8920
|
+
# default. When this flag is `false`, even if individual rules are enabled, no
|
8921
|
+
# SecurityActions will be enforced.
|
8922
|
+
# Corresponds to the JSON property `enabled`
|
8923
|
+
# @return [Boolean]
|
8924
|
+
attr_accessor :enabled
|
8925
|
+
alias_method :enabled?, :enabled
|
8926
|
+
|
8927
|
+
# This is a singleton resource, the name will always be set by SecurityActions
|
8928
|
+
# and any user input will be ignored. The name is always: `organizations/`org`/
|
8929
|
+
# environments/`env`/security_actions_config`
|
8930
|
+
# Corresponds to the JSON property `name`
|
8931
|
+
# @return [String]
|
8932
|
+
attr_accessor :name
|
8933
|
+
|
8934
|
+
# Output only. The update time for configuration.
|
8935
|
+
# Corresponds to the JSON property `updateTime`
|
8936
|
+
# @return [String]
|
8937
|
+
attr_accessor :update_time
|
8938
|
+
|
8939
|
+
def initialize(**args)
|
8940
|
+
update!(**args)
|
8941
|
+
end
|
8942
|
+
|
8943
|
+
# Update properties of this object
|
8944
|
+
def update!(**args)
|
8945
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
8946
|
+
@name = args[:name] if args.key?(:name)
|
8947
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
8948
|
+
end
|
8949
|
+
end
|
8950
|
+
|
8506
8951
|
# Represents an SecurityIncident resource.
|
8507
8952
|
class GoogleCloudApigeeV1SecurityIncident
|
8508
8953
|
include Google::Apis::Core::Hashable
|
@@ -8687,8 +9132,7 @@ module Google
|
|
8687
9132
|
# @return [String]
|
8688
9133
|
attr_accessor :attach_time
|
8689
9134
|
|
8690
|
-
# Immutable. Name of the
|
8691
|
-
# organizations/`org`/securityProfiles/`profile`/environments/`env`
|
9135
|
+
# Immutable. Name of the environment that the profile is attached to.
|
8692
9136
|
# Corresponds to the JSON property `name`
|
8693
9137
|
# @return [String]
|
8694
9138
|
attr_accessor :name
|
@@ -9153,6 +9597,33 @@ module Google
|
|
9153
9597
|
end
|
9154
9598
|
end
|
9155
9599
|
|
9600
|
+
# Request for SetAddonEnablement.
|
9601
|
+
class GoogleCloudApigeeV1SetAddonEnablementRequest
|
9602
|
+
include Google::Apis::Core::Hashable
|
9603
|
+
|
9604
|
+
# If the Analytics should be enabled in the environment.
|
9605
|
+
# Corresponds to the JSON property `analyticsEnabled`
|
9606
|
+
# @return [Boolean]
|
9607
|
+
attr_accessor :analytics_enabled
|
9608
|
+
alias_method :analytics_enabled?, :analytics_enabled
|
9609
|
+
|
9610
|
+
# If the API Security should be enabled in the environment.
|
9611
|
+
# Corresponds to the JSON property `apiSecurityEnabled`
|
9612
|
+
# @return [Boolean]
|
9613
|
+
attr_accessor :api_security_enabled
|
9614
|
+
alias_method :api_security_enabled?, :api_security_enabled
|
9615
|
+
|
9616
|
+
def initialize(**args)
|
9617
|
+
update!(**args)
|
9618
|
+
end
|
9619
|
+
|
9620
|
+
# Update properties of this object
|
9621
|
+
def update!(**args)
|
9622
|
+
@analytics_enabled = args[:analytics_enabled] if args.key?(:analytics_enabled)
|
9623
|
+
@api_security_enabled = args[:api_security_enabled] if args.key?(:api_security_enabled)
|
9624
|
+
end
|
9625
|
+
end
|
9626
|
+
|
9156
9627
|
# Request for SetAddons.
|
9157
9628
|
class GoogleCloudApigeeV1SetAddonsRequest
|
9158
9629
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ApigeeV1
|
18
18
|
# Version of the google-apis-apigee_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.76.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230924"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|