Class: Google::Apis::StorageV1::Bucket::Billing
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::StorageV1::Bucket::Billing
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/storage_v1/classes.rb,
 generated/google/apis/storage_v1/representations.rb,
 generated/google/apis/storage_v1/representations.rb
Overview
The bucket's billing configuration.
Instance Attribute Summary collapse
- 
  
    
      #requester_pays  ⇒ Boolean 
    
    
      (also: #requester_pays?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    When set to true, Requester Pays is enabled for this bucket. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Billing 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Billing. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Billing
Returns a new instance of Billing
| 220 221 222 | # File 'generated/google/apis/storage_v1/classes.rb', line 220 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#requester_pays ⇒ Boolean Also known as: requester_pays?
When set to true, Requester Pays is enabled for this bucket.
Corresponds to the JSON property requesterPays
| 217 218 219 | # File 'generated/google/apis/storage_v1/classes.rb', line 217 def requester_pays @requester_pays end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 225 226 227 | # File 'generated/google/apis/storage_v1/classes.rb', line 225 def update!(**args) @requester_pays = args[:requester_pays] if args.key?(:requester_pays) end |