Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule

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

Returns a new instance of GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule.



3120
3121
3122
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3120

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

Instance Attribute Details

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


3098
3099
3100
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3098

def cloud_provider
  @cloud_provider
end

#custom_configGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig

Corresponds to the JSON property customConfig



3103
3104
3105
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3103

def custom_config
  @custom_config
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3108
3109
3110
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3108

def display_name
  @display_name
end

#enablement_stateString

Corresponds to the JSON property enablementState

Returns:

  • (String)


3113
3114
3115
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3113

def enablement_state
  @enablement_state
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3118
3119
3120
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3118

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3125
3126
3127
3128
3129
3130
3131
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3125

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