Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2
- 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
Security profile for risk assessment version 2.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#google_defined ⇒ Boolean
(also: #google_defined?)
Output only.
-
#name ⇒ String
Identifier.
-
#profile_assessment_configs ⇒ Hash<String,Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig>
Required.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityProfileV2
constructor
A new instance of GoogleCloudApigeeV1SecurityProfileV2.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityProfileV2
Returns a new instance of GoogleCloudApigeeV1SecurityProfileV2.
10287 10288 10289 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10287 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time of the security profile creation.
Corresponds to the JSON property createTime
10257 10258 10259 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10257 def create_time @create_time end |
#description ⇒ String
Optional. The description of the security profile.
Corresponds to the JSON property description
10262 10263 10264 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10262 def description @description end |
#google_defined ⇒ Boolean Also known as: google_defined?
Output only. Whether the security profile is google defined.
Corresponds to the JSON property googleDefined
10267 10268 10269 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10267 def google_defined @google_defined end |
#name ⇒ String
Identifier. Name of the security profile v2 resource. Format: organizations/
org/securityProfilesV2/profile
Corresponds to the JSON property name
10274 10275 10276 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10274 def name @name end |
#profile_assessment_configs ⇒ Hash<String,Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig>
Required. The configuration for each assessment in this profile. Key is the
name/id of the assessment.
Corresponds to the JSON property profileAssessmentConfigs
10280 10281 10282 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10280 def profile_assessment_configs @profile_assessment_configs end |
#update_time ⇒ String
Output only. The time of the security profile update.
Corresponds to the JSON property updateTime
10285 10286 10287 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10285 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10292 10293 10294 10295 10296 10297 10298 10299 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10292 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @google_defined = args[:google_defined] if args.key?(:google_defined) @name = args[:name] if args.key?(:name) @profile_assessment_configs = args[:profile_assessment_configs] if args.key?(:profile_assessment_configs) @update_time = args[:update_time] if args.key?(:update_time) end |