class Google::Apis::StorageV1::Bucket::Logging

The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.

Attributes

log_bucket[RW]

The destination bucket where the current bucket's logs should be placed. Corresponds to the JSON property `logBucket` @return [String]

log_object_prefix[RW]

A prefix for log object names. Corresponds to the JSON property `logObjectPrefix` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/storage_v1/classes.rb, line 609
def update!(**args)
  @log_bucket = args[:log_bucket] if args.key?(:log_bucket)
  @log_object_prefix = args[:log_object_prefix] if args.key?(:log_object_prefix)
end