Class: Google::Storage::Data::BucketLoggingApi

Inherits:
BucketLogging show all
Defined in:
lib/google/storage/property/bucket_logging.rb

Overview

Manages a BucketLogging nested object Data is coming from the GCP API

Instance Attribute Summary

Attributes inherited from BucketLogging

#log_bucket, #log_object_prefix

Instance Method Summary collapse

Methods inherited from BucketLogging

#<=>, #==, #to_json, #to_s

Constructor Details

#initialize(args) ⇒ BucketLoggingApi

Returns a new instance of BucketLoggingApi.



86
87
88
89
# File 'lib/google/storage/property/bucket_logging.rb', line 86

def initialize(args)
  @log_bucket = Google::Storage::Property::String.api_munge(args['logBucket'])
  @log_object_prefix = Google::Storage::Property::String.api_munge(args['logObjectPrefix'])
end