Class: Google::Apis::SecuritycenterV1::AuditConfig

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

Returns a new instance of AuditConfig.



885
886
887
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 885

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

Instance Attribute Details

#audit_log_configsArray<Google::Apis::SecuritycenterV1::AuditLogConfig>

Corresponds to the JSON property auditLogConfigs



878
879
880
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 878

def audit_log_configs
  @audit_log_configs
end

#serviceString

Corresponds to the JSON property service

Returns:

  • (String)


883
884
885
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 883

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



890
891
892
893
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 890

def update!(**args)
  @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
  @service = args[:service] if args.key?(:service)
end