Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule

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

Returns a new instance of GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule.



3634
3635
3636
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3634

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

Instance Attribute Details

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


3612
3613
3614
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3612

def cloud_provider
  @cloud_provider
end

#custom_configGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig

Corresponds to the JSON property customConfig



3617
3618
3619
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3617

def custom_config
  @custom_config
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3622
3623
3624
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3622

def display_name
  @display_name
end

#enablement_stateString

Corresponds to the JSON property enablementState

Returns:

  • (String)


3627
3628
3629
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3627

def enablement_state
  @enablement_state
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3632
3633
3634
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3632

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3639
3640
3641
3642
3643
3644
3645
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 3639

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