Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2MuteConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2MuteConfig
- 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. -
#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.
8715 8716 8717 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8715 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
8673 8674 8675 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8673 def create_time @create_time end |
#crypto_key_name ⇒ String
Corresponds to the JSON property cryptoKeyName
8678 8679 8680 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8678 def crypto_key_name @crypto_key_name end |
#description ⇒ String
Corresponds to the JSON property description
8683 8684 8685 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8683 def description @description end |
#expiry_time ⇒ String
Corresponds to the JSON property expiryTime
8688 8689 8690 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8688 def expiry_time @expiry_time end |
#filter ⇒ String
Corresponds to the JSON property filter
8693 8694 8695 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8693 def filter @filter end |
#most_recent_editor ⇒ String
Corresponds to the JSON property mostRecentEditor
8698 8699 8700 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8698 def most_recent_editor @most_recent_editor end |
#name ⇒ String
Corresponds to the JSON property name
8703 8704 8705 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8703 def name @name end |
#type ⇒ String
Corresponds to the JSON property type
8708 8709 8710 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8708 def type @type end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
8713 8714 8715 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8713 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8720 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 |