Class: Google::Apis::FirebasestorageV1beta::ListBucketsResponse
- Inherits:
-
Object
- Object
- Google::Apis::FirebasestorageV1beta::ListBucketsResponse
- 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
-
#buckets ⇒ Array<Google::Apis::FirebasestorageV1beta::Bucket>
The list of linked buckets.
-
#next_page_token ⇒ String
A token that can be sent as
page_token
to retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListBucketsResponse
constructor
A new instance of ListBucketsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListBucketsResponse
Returns a new instance of ListBucketsResponse.
150 151 152 |
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 150 def initialize(**args) update!(**args) end |
Instance Attribute Details
#buckets ⇒ Array<Google::Apis::FirebasestorageV1beta::Bucket>
The list of linked buckets.
Corresponds to the JSON property buckets
142 143 144 |
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 142 def buckets @buckets end |
#next_page_token ⇒ String
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
148 149 150 |
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 148 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
155 156 157 158 |
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 155 def update!(**args) @buckets = args[:buckets] if args.key?(:buckets) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |