Class: Google::Apis::DeploymentmanagerV2::LogConfigCloudAuditOptions
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2::LogConfigCloudAuditOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_v2/classes.rb,
generated/google/apis/deploymentmanager_v2/representations.rb,
generated/google/apis/deploymentmanager_v2/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 Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LogConfigCloudAuditOptions
Returns a new instance of LogConfigCloudAuditOptions
590 591 592 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 590 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
588 589 590 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 588 def log_name @log_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
595 596 597 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 595 def update!(**args) @log_name = args[:log_name] if args.key?(:log_name) end |