Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1MuteConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1MuteConfig

Returns a new instance of GoogleCloudSecuritycenterV1MuteConfig.



3339
3340
3341
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3339

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


3297
3298
3299
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3297

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


3302
3303
3304
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3302

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3307
3308
3309
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3307

def display_name
  @display_name
end

#expiry_timeString

Corresponds to the JSON property expiryTime

Returns:

  • (String)


3312
3313
3314
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3312

def expiry_time
  @expiry_time
end

#filterString

Corresponds to the JSON property filter

Returns:

  • (String)


3317
3318
3319
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3317

def filter
  @filter
end

#most_recent_editorString

Corresponds to the JSON property mostRecentEditor

Returns:

  • (String)


3322
3323
3324
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3322

def most_recent_editor
  @most_recent_editor
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3327
3328
3329
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3327

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


3332
3333
3334
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3332

def type
  @type
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


3337
3338
3339
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3337

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3344

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