Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig
- 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. -
#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.
3826 3827 3828 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3826 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
3784 3785 3786 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3784 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
3789 3790 3791 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3789 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
3794 3795 3796 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3794 def display_name @display_name end |
#expiry_time ⇒ String
Corresponds to the JSON property expiryTime
3799 3800 3801 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3799 def expiry_time @expiry_time end |
#filter ⇒ String
Corresponds to the JSON property filter
3804 3805 3806 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3804 def filter @filter end |
#most_recent_editor ⇒ String
Corresponds to the JSON property mostRecentEditor
3809 3810 3811 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3809 def most_recent_editor @most_recent_editor end |
#name ⇒ String
Corresponds to the JSON property name
3814 3815 3816 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3814 def name @name end |
#type ⇒ String
Corresponds to the JSON property type
3819 3820 3821 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3819 def type @type end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
3824 3825 3826 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3824 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3831 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 |