Class: Google::Apis::SecuritycenterV1beta1::AuditConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::AuditConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#audit_log_configs ⇒ Array<Google::Apis::SecuritycenterV1beta1::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.
644 645 646 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 644 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audit_log_configs ⇒ Array<Google::Apis::SecuritycenterV1beta1::AuditLogConfig>
Corresponds to the JSON property auditLogConfigs
637 638 639 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 637 def audit_log_configs @audit_log_configs end |
#service ⇒ String
Corresponds to the JSON property service
642 643 644 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 642 def service @service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
649 650 651 652 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 649 def update!(**args) @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) @service = args[:service] if args.key?(:service) end |