Class: Google::Apis::SecuritycenterV1::AuditConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::AuditConfig
- 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
-
#audit_log_configs ⇒ Array<Google::Apis::SecuritycenterV1::AuditLogConfig>
Corresponds to the JSON property
auditLogConfigs. -
#service ⇒ String
Corresponds to the JSON property
service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuditConfig
constructor
A new instance of AuditConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_configs ⇒ Array<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 |
#service ⇒ String
Corresponds to the JSON property service
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 |