class Google::Apis::StorageV1::Bucket::Billing

The bucket's billing configuration.

Attributes

requester_pays[RW]

When set to true, Requester Pays is enabled for this bucket. Corresponds to the JSON property `requesterPays` @return [Boolean]

requester_pays?[RW]

When set to true, Requester Pays is enabled for this bucket. Corresponds to the JSON property `requesterPays` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/storage_v1/classes.rb, line 252
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 257
def update!(**args)
  @requester_pays = args[:requester_pays] if args.key?(:requester_pays)
end