Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2MuteConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2MuteConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/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.
8534 8535 8536 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8534 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
8492 8493 8494 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8492 def create_time @create_time end |
#crypto_key_name ⇒ String
Corresponds to the JSON property cryptoKeyName
8497 8498 8499 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8497 def crypto_key_name @crypto_key_name end |
#description ⇒ String
Corresponds to the JSON property description
8502 8503 8504 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8502 def description @description end |
#expiry_time ⇒ String
Corresponds to the JSON property expiryTime
8507 8508 8509 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8507 def expiry_time @expiry_time end |
#filter ⇒ String
Corresponds to the JSON property filter
8512 8513 8514 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8512 def filter @filter end |
#most_recent_editor ⇒ String
Corresponds to the JSON property mostRecentEditor
8517 8518 8519 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8517 def most_recent_editor @most_recent_editor end |
#name ⇒ String
Corresponds to the JSON property name
8522 8523 8524 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8522 def name @name end |
#type ⇒ String
Corresponds to the JSON property type
8527 8528 8529 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8527 def type @type end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
8532 8533 8534 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8532 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8539 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 |