Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
SecuritySettings reflects the current state of the SecuritySettings feature.
Instance Attribute Summary collapse
-
#ml_retraining_feedback_enabled ⇒ Boolean
(also: #ml_retraining_feedback_enabled?)
Optional.
-
#name ⇒ String
Identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1SecuritySettings
constructor
A new instance of GoogleCloudApigeeV1SecuritySettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1SecuritySettings
Returns a new instance of GoogleCloudApigeeV1SecuritySettings.
10502 10503 10504 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10502 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ml_retraining_feedback_enabled ⇒ Boolean Also known as: ml_retraining_feedback_enabled?
Optional. If true the user consents to the use of ML models for Abuse
detection.
Corresponds to the JSON property mlRetrainingFeedbackEnabled
10493 10494 10495 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10493 def ml_retraining_feedback_enabled @ml_retraining_feedback_enabled end |
#name ⇒ String
Identifier. Full resource name is always organizations/
org/securitySettings
.
Corresponds to the JSON property name
10500 10501 10502 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10500 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10507 10508 10509 10510 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10507 def update!(**args) @ml_retraining_feedback_enabled = args[:ml_retraining_feedback_enabled] if args.key?(:ml_retraining_feedback_enabled) @name = args[:name] if args.key?(:name) end |