Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1MuteConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1MuteConfig
- 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. -
#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.
3262 3263 3264 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3262 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Corresponds to the JSON property createTime
3220 3221 3222 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3220 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
3225 3226 3227 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3225 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
3230 3231 3232 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3230 def display_name @display_name end |
#expiry_time ⇒ String
Corresponds to the JSON property expiryTime
3235 3236 3237 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3235 def expiry_time @expiry_time end |
#filter ⇒ String
Corresponds to the JSON property filter
3240 3241 3242 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3240 def filter @filter end |
#most_recent_editor ⇒ String
Corresponds to the JSON property mostRecentEditor
3245 3246 3247 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3245 def most_recent_editor @most_recent_editor end |
#name ⇒ String
Corresponds to the JSON property name
3250 3251 3252 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3250 def name @name end |
#type ⇒ String
Corresponds to the JSON property type
3255 3256 3257 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3255 def type @type end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
3260 3261 3262 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3260 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3267 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 |