Class: Google::Apis::SecuritycenterV1beta2::StaticMute

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) ⇒ StaticMute

Returns a new instance of StaticMute.



11278
11279
11280
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11278

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

Instance Attribute Details

#apply_timeString

Corresponds to the JSON property applyTime

Returns:

  • (String)


11271
11272
11273
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11271

def apply_time
  @apply_time
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


11276
11277
11278
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11276

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11283
11284
11285
11286
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11283

def update!(**args)
  @apply_time = args[:apply_time] if args.key?(:apply_time)
  @state = args[:state] if args.key?(:state)
end