Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse

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 annotated datasets for a dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse

Returns a new instance of GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse.



3457
3458
3459
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3457

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

Instance Attribute Details

#annotated_datasetsArray<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDataset>

The list of annotated datasets to return. Corresponds to the JSON property annotatedDatasets



3450
3451
3452
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3450

def annotated_datasets
  @annotated_datasets
end

#next_page_tokenString

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

Returns:

  • (String)


3455
3456
3457
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3455

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3462
3463
3464
3465
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3462

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