struct Google::Cloud::Storage::Tasks::List(T)

Included Modules

Extended Modules

Defined in:

cloud/storage.cr

Constructors

Instance Method Summary

Macros inherited from module Google::Resource

field(var, key = nil, **options, &block) field, field!(var, key = nil, **options, &block) field!, field?(var, key = nil, **options, &block) field?

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(pull : MessagePack::Unpacker) #

Instance Method Detail

def each(page_count : Int32 | Nil = nil, &block : T -> ) : Nil #
Description copied from module Enumerable(T)

Must yield this collection's elements to the block.


[View source]
def etag : String #

def items : Array(T) #

def kind : String #

def next_page_token : String | Nil #

def to_a #
Description copied from module Enumerable(T)

Returns an Array with all the elements in the collection.

(1..5).to_a # => [1, 2, 3, 4, 5]

[View source]