Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDatasetsResponse

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

Overview

Results of listing datasets within a project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ListDatasetsResponse

Returns a new instance of GoogleCloudDatalabelingV1beta1ListDatasetsResponse.



3532
3533
3534
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3532

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

Instance Attribute Details

#datasetsArray<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset>

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



3525
3526
3527
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3525

def datasets
  @datasets
end

#next_page_tokenString

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

Returns:

  • (String)


3530
3531
3532
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3530

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3537
3538
3539
3540
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3537

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