Class: Google::Apis::ComputeAlpha::LogConfigCloudAuditOptions
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComputeAlpha::LogConfigCloudAuditOptions
 
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
 generated/google/apis/compute_alpha/representations.rb,
 generated/google/apis/compute_alpha/representations.rb
Overview
Write a Cloud Audit log
Instance Attribute Summary collapse
- 
  
    
      #authorization_logging_options  ⇒ Google::Apis::ComputeAlpha::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 Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ LogConfigCloudAuditOptions
Returns a new instance of LogConfigCloudAuditOptions
| 13821 13822 13823 | # File 'generated/google/apis/compute_alpha/classes.rb', line 13821 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#authorization_logging_options ⇒ Google::Apis::ComputeAlpha::AuthorizationLoggingOptions
Authorization-related information used by Cloud Audit Logging.
Corresponds to the JSON property authorizationLoggingOptions
| 13814 13815 13816 | # File 'generated/google/apis/compute_alpha/classes.rb', line 13814 def @authorization_logging_options end | 
#log_name ⇒ String
The log_name to populate in the Cloud Audit Record.
Corresponds to the JSON property logName
| 13819 13820 13821 | # File 'generated/google/apis/compute_alpha/classes.rb', line 13819 def log_name @log_name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 13826 13827 13828 13829 | # File 'generated/google/apis/compute_alpha/classes.rb', line 13826 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 |