Class: Google::Apis::DeploymentmanagerAlpha::LogConfigCloudAuditOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/deploymentmanager_alpha/classes.rb,
generated/google/apis/deploymentmanager_alpha/representations.rb,
generated/google/apis/deploymentmanager_alpha/representations.rb

Overview

Write a Cloud Audit log

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LogConfigCloudAuditOptions

Returns a new instance of LogConfigCloudAuditOptions



1014
1015
1016
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1014

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#authorization_logging_optionsGoogle::Apis::DeploymentmanagerAlpha::AuthorizationLoggingOptions

Authorization-related information used by Cloud Audit Logging. Corresponds to the JSON property authorizationLoggingOptions



1007
1008
1009
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1007

def authorization_logging_options
  @authorization_logging_options
end

#log_nameString

The log_name to populate in the Cloud Audit Record. Corresponds to the JSON property logName

Returns:

  • (String)


1012
1013
1014
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1012

def log_name
  @log_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1019
1020
1021
1022
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1019

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