Class: Google::Apis::FirebasestorageV1beta::Bucket
- Inherits:
-
Object
- Object
- Google::Apis::FirebasestorageV1beta::Bucket
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasestorage_v1beta/classes.rb,
lib/google/apis/firebasestorage_v1beta/representations.rb,
lib/google/apis/firebasestorage_v1beta/representations.rb
Overview
A storage bucket and its relation to a parent Firebase project.
Instance Attribute Summary collapse
-
#location ⇒ String
Output only.
-
#name ⇒ String
Resource name of the bucket.
-
#reconciling ⇒ Boolean
(also: #reconciling?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Bucket
constructor
A new instance of Bucket.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Bucket
Returns a new instance of Bucket.
59 60 61 |
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 59 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ String
Output only. Location of the storage bucket.
Corresponds to the JSON property location
45 46 47 |
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 45 def location @location end |
#name ⇒ String
Resource name of the bucket.
Corresponds to the JSON property name
50 51 52 |
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 50 def name @name end |
#reconciling ⇒ Boolean Also known as: reconciling?
Output only. Represents whether a bucket is being moved to a new location, in
which case reconciling is set to true.
Corresponds to the JSON property reconciling
56 57 58 |
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 56 def reconciling @reconciling end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
64 65 66 67 68 |
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 64 def update!(**args) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @reconciling = args[:reconciling] if args.key?(:reconciling) end |