Class: Google::Apis::ComputeBeta::LogConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::LogConfig
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Overview
Specifies what kind of log the caller must write
Instance Attribute Summary collapse
-
#cloud_audit ⇒ Google::Apis::ComputeBeta::LogConfigCloudAuditOptions
Write a Cloud Audit log Corresponds to the JSON property
cloudAudit. -
#counter ⇒ Google::Apis::ComputeBeta::LogConfigCounterOptions
Options for counters Corresponds to the JSON property
counter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LogConfig
constructor
A new instance of LogConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ LogConfig
Returns a new instance of LogConfig
7010 7011 7012 |
# File 'generated/google/apis/compute_beta/classes.rb', line 7010 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_audit ⇒ Google::Apis::ComputeBeta::LogConfigCloudAuditOptions
Write a Cloud Audit log
Corresponds to the JSON property cloudAudit
7003 7004 7005 |
# File 'generated/google/apis/compute_beta/classes.rb', line 7003 def cloud_audit @cloud_audit end |
#counter ⇒ Google::Apis::ComputeBeta::LogConfigCounterOptions
Options for counters
Corresponds to the JSON property counter
7008 7009 7010 |
# File 'generated/google/apis/compute_beta/classes.rb', line 7008 def counter @counter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7015 7016 7017 7018 |
# File 'generated/google/apis/compute_beta/classes.rb', line 7015 def update!(**args) @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) @counter = args[:counter] if args.key?(:counter) end |