Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDatasetsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDatasetsResponse
- 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 datasets within a project.
Instance Attribute Summary collapse
-
#datasets ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset>
The list of datasets to return.
-
#next_page_token ⇒ String
A token to retrieve next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ListDatasetsResponse
constructor
A new instance of GoogleCloudDatalabelingV1beta1ListDatasetsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ListDatasetsResponse
Returns a new instance of GoogleCloudDatalabelingV1beta1ListDatasetsResponse.
3532 3533 3534 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3532 def initialize(**args) update!(**args) end |
Instance Attribute Details
#datasets ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset>
The list of datasets to return.
Corresponds to the JSON property datasets
3525 3526 3527 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3525 def datasets @datasets end |
#next_page_token ⇒ String
A token to retrieve next page of results.
Corresponds to the JSON property nextPageToken
3530 3531 3532 |
# File 'lib/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 'lib/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 |