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.
3531 3532 3533 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3531 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
3489 3490 3491 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3489 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
3494 3495 3496 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3494 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
3499 3500 3501 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3499 def display_name @display_name end |
#expiry_time ⇒ String
Corresponds to the JSON property expiryTime
3504 3505 3506 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3504 def expiry_time @expiry_time end |
#filter ⇒ String
Corresponds to the JSON property filter
3509 3510 3511 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3509 def filter @filter end |
#most_recent_editor ⇒ String
Corresponds to the JSON property mostRecentEditor
3514 3515 3516 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3514 def most_recent_editor @most_recent_editor end |
#name ⇒ String
Corresponds to the JSON property name
3519 3520 3521 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3519 def name @name end |
#type ⇒ String
Corresponds to the JSON property type
3524 3525 3526 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3524 def type @type end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
3529 3530 3531 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3529 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3536 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 |