Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule

Returns a new instance of GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule.



3755
3756
3757
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3755

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

Instance Attribute Details

#ancestor_moduleString

Corresponds to the JSON property ancestorModule

Returns:

  • (String)


3718
3719
3720
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3718

def ancestor_module
  @ancestor_module
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


3723
3724
3725
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3723

def cloud_provider
  @cloud_provider
end

#custom_configGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig

Corresponds to the JSON property customConfig



3728
3729
3730
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3728

def custom_config
  @custom_config
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3733
3734
3735
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3733

def display_name
  @display_name
end

#enablement_stateString

Corresponds to the JSON property enablementState

Returns:

  • (String)


3738
3739
3740
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3738

def enablement_state
  @enablement_state
end

#last_editorString

Corresponds to the JSON property lastEditor

Returns:

  • (String)


3743
3744
3745
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3743

def last_editor
  @last_editor
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3748
3749
3750
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3748

def name
  @name
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


3753
3754
3755
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3753

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3760

def update!(**args)
  @ancestor_module = args[:ancestor_module] if args.key?(:ancestor_module)
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
  @custom_config = args[:custom_config] if args.key?(:custom_config)
  @display_name = args[:display_name] if args.key?(:display_name)
  @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
  @last_editor = args[:last_editor] if args.key?(:last_editor)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end