Class: Google::Apis::FirebasestorageV1beta::Bucket

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Bucket

Returns a new instance of Bucket.



54
55
56
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 54

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

Resource name of the bucket. Corresponds to the JSON property name

Returns:

  • (String)


45
46
47
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 45

def name
  @name
end

#reconcilingBoolean 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

Returns:

  • (Boolean)


51
52
53
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 51

def reconciling
  @reconciling
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



59
60
61
62
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 59

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @reconciling = args[:reconciling] if args.key?(:reconciling)
end