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
-
#authorization_logging_options ⇒ Google::Apis::DeploymentmanagerV2::AuthorizationLoggingOptions
Authorization-related information used by Cloud Audit Logging.
-
#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
638 639 640 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 638 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authorization_logging_options ⇒ Google::Apis::DeploymentmanagerV2::AuthorizationLoggingOptions
Authorization-related information used by Cloud Audit Logging.
Corresponds to the JSON property authorizationLoggingOptions
631 632 633 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 631 def @authorization_logging_options end |
#log_name ⇒ String
The log_name to populate in the Cloud Audit Record.
Corresponds to the JSON property logName
636 637 638 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 636 def log_name @log_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
643 644 645 646 |
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 643 def update!(**args) @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options) @log_name = args[:log_name] if args.key?(:log_name) end |