Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2StaticMute

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

Returns a new instance of GoogleCloudSecuritycenterV2StaticMute.



9652
9653
9654
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9652

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

Instance Attribute Details

#apply_timeString

Corresponds to the JSON property applyTime

Returns:

  • (String)


9645
9646
9647
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9645

def apply_time
  @apply_time
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


9650
9651
9652
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9650

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9657
9658
9659
9660
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9657

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