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.



164
165
166
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 164

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



156
157
158
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 156

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)


162
163
164
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 162

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



169
170
171
172
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 169

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