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.
810 811 812 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 810 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audit_log_configs ⇒ Array<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 |
#service ⇒ String
Corresponds to the JSON property service
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 |