Class: Google::Apis::CoordinateV1::ListJobResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/coordinate_v1/classes.rb,
generated/google/apis/coordinate_v1/representations.rb,
generated/google/apis/coordinate_v1/representations.rb

Overview

Response from a List Jobs request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListJobResponse

Returns a new instance of ListJobResponse.


286
287
288
# File 'generated/google/apis/coordinate_v1/classes.rb', line 286

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

Instance Attribute Details

#itemsArray<Google::Apis::CoordinateV1::Job>

Jobs in the collection. Corresponds to the JSON property items


274
275
276
# File 'generated/google/apis/coordinate_v1/classes.rb', line 274

def items
  @items
end

#kindString

Identifies this object as a list of jobs. Corresponds to the JSON property kind

Returns:

  • (String)

279
280
281
# File 'generated/google/apis/coordinate_v1/classes.rb', line 279

def kind
  @kind
end

#next_page_tokenString

A token to provide to get the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)

284
285
286
# File 'generated/google/apis/coordinate_v1/classes.rb', line 284

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


291
292
293
294
295
# File 'generated/google/apis/coordinate_v1/classes.rb', line 291

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