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.



13071
13072
13073
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13071

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

Instance Attribute Details

#apply_timeString

Corresponds to the JSON property applyTime

Returns:

  • (String)


13064
13065
13066
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13064

def apply_time
  @apply_time
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


13069
13070
13071
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13069

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13076
13077
13078
13079
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13076

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