Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1MuteConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1MuteConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#create_time ⇒ String
Corresponds to the JSON property
createTime. -
#description ⇒ String
Corresponds to the JSON property
description. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#expiry_time ⇒ String
Corresponds to the JSON property
expiryTime. -
#filter ⇒ String
Corresponds to the JSON property
filter. -
#most_recent_editor ⇒ String
Corresponds to the JSON property
mostRecentEditor. -
#name ⇒ String
Corresponds to the JSON property
name. -
#type ⇒ String
Corresponds to the JSON property
type. -
#update_time ⇒ String
Corresponds to the JSON property
updateTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV1MuteConfig
constructor
A new instance of GoogleCloudSecuritycenterV1MuteConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV1MuteConfig
Returns a new instance of GoogleCloudSecuritycenterV1MuteConfig.
3395 3396 3397 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3395 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
3353 3354 3355 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3353 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
3358 3359 3360 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3358 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
3363 3364 3365 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3363 def display_name @display_name end |
#expiry_time ⇒ String
Corresponds to the JSON property expiryTime
3368 3369 3370 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3368 def expiry_time @expiry_time end |
#filter ⇒ String
Corresponds to the JSON property filter
3373 3374 3375 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3373 def filter @filter end |
#most_recent_editor ⇒ String
Corresponds to the JSON property mostRecentEditor
3378 3379 3380 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3378 def most_recent_editor @most_recent_editor end |
#name ⇒ String
Corresponds to the JSON property name
3383 3384 3385 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3383 def name @name end |
#type ⇒ String
Corresponds to the JSON property type
3388 3389 3390 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3388 def type @type end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
3393 3394 3395 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3393 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3400 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @expiry_time = args[:expiry_time] if args.key?(:expiry_time) @filter = args[:filter] if args.key?(:filter) @most_recent_editor = args[:most_recent_editor] if args.key?(:most_recent_editor) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) @update_time = args[:update_time] if args.key?(:update_time) end |