Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2MuteConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2MuteConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#create_time ⇒ String
Corresponds to the JSON property
createTime. -
#crypto_key_name ⇒ String
Corresponds to the JSON property
cryptoKeyName. -
#description ⇒ String
Corresponds to the JSON property
description. -
#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) ⇒ GoogleCloudSecuritycenterV2MuteConfig
constructor
A new instance of GoogleCloudSecuritycenterV2MuteConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2MuteConfig
Returns a new instance of GoogleCloudSecuritycenterV2MuteConfig.
8657 8658 8659 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8657 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
8615 8616 8617 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8615 def create_time @create_time end |
#crypto_key_name ⇒ String
Corresponds to the JSON property cryptoKeyName
8620 8621 8622 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8620 def crypto_key_name @crypto_key_name end |
#description ⇒ String
Corresponds to the JSON property description
8625 8626 8627 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8625 def description @description end |
#expiry_time ⇒ String
Corresponds to the JSON property expiryTime
8630 8631 8632 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8630 def expiry_time @expiry_time end |
#filter ⇒ String
Corresponds to the JSON property filter
8635 8636 8637 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8635 def filter @filter end |
#most_recent_editor ⇒ String
Corresponds to the JSON property mostRecentEditor
8640 8641 8642 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8640 def most_recent_editor @most_recent_editor end |
#name ⇒ String
Corresponds to the JSON property name
8645 8646 8647 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8645 def name @name end |
#type ⇒ String
Corresponds to the JSON property type
8650 8651 8652 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8650 def type @type end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
8655 8656 8657 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8655 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8662 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name) @description = args[:description] if args.key?(:description) @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 |