Class: Google::Apis::SqladminV1beta4::SqlServerAuditConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SqladminV1beta4::SqlServerAuditConfig
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/sqladmin_v1beta4/classes.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb 
Overview
SQL Server specific audit configuration.
Instance Attribute Summary collapse
- 
  
    
      #bucket  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the destination bucket (e.g., gs://mybucket).
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
This is always sql#sqlServerAuditConfig Corresponds to the JSON property
kind. - 
  
    
      #retention_interval  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
How long to keep generated audit files.
 - 
  
    
      #upload_interval  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
How often to upload generated audit files.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SqlServerAuditConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SqlServerAuditConfig.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ SqlServerAuditConfig
Returns a new instance of SqlServerAuditConfig.
      4246 4247 4248  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4246 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#bucket ⇒ String
The name of the destination bucket (e.g., gs://mybucket).
Corresponds to the JSON property bucket
      4229 4230 4231  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4229 def bucket @bucket end  | 
  
#kind ⇒ String
This is always sql#sqlServerAuditConfig
Corresponds to the JSON property kind
      4234 4235 4236  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4234 def kind @kind end  | 
  
#retention_interval ⇒ String
How long to keep generated audit files.
Corresponds to the JSON property retentionInterval
      4239 4240 4241  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4239 def retention_interval @retention_interval end  | 
  
#upload_interval ⇒ String
How often to upload generated audit files.
Corresponds to the JSON property uploadInterval
      4244 4245 4246  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4244 def upload_interval @upload_interval end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4251 4252 4253 4254 4255 4256  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4251 def update!(**args) @bucket = args[:bucket] if args.key?(:bucket) @kind = args[:kind] if args.key?(:kind) @retention_interval = args[:retention_interval] if args.key?(:retention_interval) @upload_interval = args[:upload_interval] if args.key?(:upload_interval) end  |