Class: Google::Apis::ComputeBeta::LogConfigCloudAuditOptions
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::LogConfigCloudAuditOptions
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Overview
Write a Cloud Audit log
Instance Attribute Summary collapse
-
#log_name ⇒ String
The log_name to populate in the Cloud Audit Record.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LogConfigCloudAuditOptions
constructor
A new instance of LogConfigCloudAuditOptions.
-
#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) ⇒ LogConfigCloudAuditOptions
Returns a new instance of LogConfigCloudAuditOptions
7030 7031 7032 |
# File 'generated/google/apis/compute_beta/classes.rb', line 7030 def initialize(**args) update!(**args) end |
Instance Attribute Details
#log_name ⇒ String
The log_name to populate in the Cloud Audit Record.
Corresponds to the JSON property logName
7028 7029 7030 |
# File 'generated/google/apis/compute_beta/classes.rb', line 7028 def log_name @log_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7035 7036 7037 |
# File 'generated/google/apis/compute_beta/classes.rb', line 7035 def update!(**args) @log_name = args[:log_name] if args.key?(:log_name) end |