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.



3776
3777
3778
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3776

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


3734
3735
3736
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3734

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


3739
3740
3741
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3739

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3744
3745
3746
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3744

def display_name
  @display_name
end

#expiry_timeString

Corresponds to the JSON property expiryTime

Returns:

  • (String)


3749
3750
3751
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3749

def expiry_time
  @expiry_time
end

#filterString

Corresponds to the JSON property filter

Returns:

  • (String)


3754
3755
3756
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3754

def filter
  @filter
end

#most_recent_editorString

Corresponds to the JSON property mostRecentEditor

Returns:

  • (String)


3759
3760
3761
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3759

def most_recent_editor
  @most_recent_editor
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3764
3765
3766
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3764

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


3769
3770
3771
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3769

def type
  @type
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


3774
3775
3776
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3774

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3781

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