Class: Google::Apis::ComputeV1::LogConfigCloudAuditOptions
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::LogConfigCloudAuditOptions
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb
Overview
Write a Cloud Audit log
Instance Attribute Summary collapse
-
#authorization_logging_options ⇒ Google::Apis::ComputeV1::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.
Constructor Details
#initialize(**args) ⇒ LogConfigCloudAuditOptions
Returns a new instance of LogConfigCloudAuditOptions.
16104 16105 16106 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16104 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authorization_logging_options ⇒ Google::Apis::ComputeV1::AuthorizationLoggingOptions
Authorization-related information used by Cloud Audit Logging.
Corresponds to the JSON property authorizationLoggingOptions
16097 16098 16099 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16097 def @authorization_logging_options end |
#log_name ⇒ String
The log_name to populate in the Cloud Audit Record.
Corresponds to the JSON property logName
16102 16103 16104 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16102 def log_name @log_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16109 16110 16111 16112 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16109 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 |