Class: Google::Apis::SecuritycenterV1::StaticMute

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StaticMute

Returns a new instance of StaticMute.



13171
13172
13173
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13171

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

Instance Attribute Details

#apply_timeString

Corresponds to the JSON property applyTime

Returns:

  • (String)


13164
13165
13166
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13164

def apply_time
  @apply_time
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


13169
13170
13171
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13169

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13176
13177
13178
13179
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13176

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