Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SecuritySettings

Returns a new instance of GoogleCloudApigeeV1SecuritySettings.



10491
10492
10493
# File 'lib/google/apis/apigee_v1/classes.rb', line 10491

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ml_retraining_feedback_enabledBoolean 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

Returns:

  • (Boolean)


10482
10483
10484
# File 'lib/google/apis/apigee_v1/classes.rb', line 10482

def ml_retraining_feedback_enabled
  @ml_retraining_feedback_enabled
end

#nameString

Identifier. Full resource name is always organizations/org/securitySettings . Corresponds to the JSON property name

Returns:

  • (String)


10489
10490
10491
# File 'lib/google/apis/apigee_v1/classes.rb', line 10489

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10496
10497
10498
10499
# File 'lib/google/apis/apigee_v1/classes.rb', line 10496

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