Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListExamplesResponse

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 Examples in and annotated dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ListExamplesResponse

Returns a new instance of GoogleCloudDatalabelingV1beta1ListExamplesResponse.



3582
3583
3584
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3582

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

Instance Attribute Details

#examplesArray<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example>

The list of examples to return. Corresponds to the JSON property examples



3575
3576
3577
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3575

def examples
  @examples
end

#next_page_tokenString

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

Returns:

  • (String)


3580
3581
3582
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3580

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3587
3588
3589
3590
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3587

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