Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::SqlServerAuditConfig.
SQL Server specific audit configuration.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bucket
def bucket() -> ::String
Returns
- (::String) — The name of the destination bucket (e.g., gs://mybucket).
#bucket=
def bucket=(value) -> ::String
Parameter
- value (::String) — The name of the destination bucket (e.g., gs://mybucket).
Returns
- (::String) — The name of the destination bucket (e.g., gs://mybucket).
#kind
def kind() -> ::String
Returns
- (::String) — This is always sql#sqlServerAuditConfig
#kind=
def kind=(value) -> ::String
Parameter
- value (::String) — This is always sql#sqlServerAuditConfig
Returns
- (::String) — This is always sql#sqlServerAuditConfig
#retention_interval
def retention_interval() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — How long to keep generated audit files.
#retention_interval=
def retention_interval=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — How long to keep generated audit files.
Returns
- (::Google::Protobuf::Duration) — How long to keep generated audit files.
#upload_interval
def upload_interval() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — How often to upload generated audit files.
#upload_interval=
def upload_interval=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — How often to upload generated audit files.
Returns
- (::Google::Protobuf::Duration) — How often to upload generated audit files.