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.



810
811
812
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 810

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

Instance Attribute Details

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

Corresponds to the JSON property auditLogConfigs



803
804
805
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 803

def audit_log_configs
  @audit_log_configs
end

#serviceString

Corresponds to the JSON property service

Returns:

  • (String)


808
809
810
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 808

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



815
816
817
818
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 815

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