class Google::Apis::SqladminV1beta4::SqlServerAuditConfig

SQL Server specific audit configuration.

Attributes

bucket[RW]

The name of the destination bucket (e.g., gs://mybucket). Corresponds to the JSON property `bucket` @return [String]

kind[RW]

This is always sql#sqlServerAuditConfig Corresponds to the JSON property `kind` @return [String]

retention_interval[RW]

How long to keep generated audit files. Corresponds to the JSON property `retentionInterval` @return [String]

upload_interval[RW]

How often to upload generated audit files. Corresponds to the JSON property `uploadInterval` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 3200
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 3205
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