Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig

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

Returns a new instance of GoogleCloudSecuritycenterV1MuteConfig.



3962
3963
3964
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3962

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


3920
3921
3922
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3920

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


3925
3926
3927
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3925

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3930
3931
3932
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3930

def display_name
  @display_name
end

#expiry_timeString

Corresponds to the JSON property expiryTime

Returns:

  • (String)


3935
3936
3937
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3935

def expiry_time
  @expiry_time
end

#filterString

Corresponds to the JSON property filter

Returns:

  • (String)


3940
3941
3942
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3940

def filter
  @filter
end

#most_recent_editorString

Corresponds to the JSON property mostRecentEditor

Returns:

  • (String)


3945
3946
3947
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3945

def most_recent_editor
  @most_recent_editor
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3950
3951
3952
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3950

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


3955
3956
3957
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3955

def type
  @type
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


3960
3961
3962
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3960

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3967

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