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.



47
48
49
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 47

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

Instance Attribute Details

#nameString

Output only. 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

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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