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.



3531
3532
3533
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3531

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


3489
3490
3491
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3489

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


3494
3495
3496
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3494

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3499
3500
3501
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3499

def display_name
  @display_name
end

#expiry_timeString

Corresponds to the JSON property expiryTime

Returns:

  • (String)


3504
3505
3506
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3504

def expiry_time
  @expiry_time
end

#filterString

Corresponds to the JSON property filter

Returns:

  • (String)


3509
3510
3511
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3509

def filter
  @filter
end

#most_recent_editorString

Corresponds to the JSON property mostRecentEditor

Returns:

  • (String)


3514
3515
3516
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3514

def most_recent_editor
  @most_recent_editor
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3519
3520
3521
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3519

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


3524
3525
3526
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3524

def type
  @type
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


3529
3530
3531
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3529

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3536

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