Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2MuteConfig

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

Returns a new instance of GoogleCloudSecuritycenterV2MuteConfig.



8757
8758
8759
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8757

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


8715
8716
8717
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8715

def create_time
  @create_time
end

#crypto_key_nameString

Corresponds to the JSON property cryptoKeyName

Returns:

  • (String)


8720
8721
8722
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8720

def crypto_key_name
  @crypto_key_name
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


8725
8726
8727
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8725

def description
  @description
end

#expiry_timeString

Corresponds to the JSON property expiryTime

Returns:

  • (String)


8730
8731
8732
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8730

def expiry_time
  @expiry_time
end

#filterString

Corresponds to the JSON property filter

Returns:

  • (String)


8735
8736
8737
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8735

def filter
  @filter
end

#most_recent_editorString

Corresponds to the JSON property mostRecentEditor

Returns:

  • (String)


8740
8741
8742
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8740

def most_recent_editor
  @most_recent_editor
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8745
8746
8747
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8745

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


8750
8751
8752
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8750

def type
  @type
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


8755
8756
8757
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8755

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8762

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name)
  @description = args[:description] if args.key?(:description)
  @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