Class: Google::Apis::FirebasestorageV1beta::ListBucketsResponse

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

The response returned by ListBuckets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListBucketsResponse

Returns a new instance of ListBucketsResponse.



89
90
91
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 89

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

Instance Attribute Details

#bucketsArray<Google::Apis::FirebasestorageV1beta::Bucket>

The list of linked buckets. Corresponds to the JSON property buckets



81
82
83
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 81

def buckets
  @buckets
end

#next_page_tokenString

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


87
88
89
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 87

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



94
95
96
97
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 94

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