Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb

Overview

Results of listing data items in a dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ListDataItemsResponse

Returns a new instance of GoogleCloudDatalabelingV1beta1ListDataItemsResponse.



3507
3508
3509
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3507

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

Instance Attribute Details

#data_itemsArray<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem>

The list of data items to return. Corresponds to the JSON property dataItems



3500
3501
3502
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3500

def data_items
  @data_items
end

#next_page_tokenString

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

Returns:

  • (String)


3505
3506
3507
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3505

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3512
3513
3514
3515
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3512

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