Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1MuteConfig

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1MuteConfig

Returns a new instance of GoogleCloudSecuritycenterV1MuteConfig.



3448
3449
3450
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3448

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


3406
3407
3408
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3406

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


3411
3412
3413
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3411

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3416
3417
3418
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3416

def display_name
  @display_name
end

#expiry_timeString

Corresponds to the JSON property expiryTime

Returns:

  • (String)


3421
3422
3423
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3421

def expiry_time
  @expiry_time
end

#filterString

Corresponds to the JSON property filter

Returns:

  • (String)


3426
3427
3428
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3426

def filter
  @filter
end

#most_recent_editorString

Corresponds to the JSON property mostRecentEditor

Returns:

  • (String)


3431
3432
3433
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3431

def most_recent_editor
  @most_recent_editor
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3436
3437
3438
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3436

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


3441
3442
3443
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3441

def type
  @type
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


3446
3447
3448
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3446

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3453

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