Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse

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 annotation spec set under a project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse

Returns a new instance of GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse.



3482
3483
3484
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3482

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

Instance Attribute Details

#annotation_spec_setsArray<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet>

The list of annotation spec sets. Corresponds to the JSON property annotationSpecSets



3475
3476
3477
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3475

def annotation_spec_sets
  @annotation_spec_sets
end

#next_page_tokenString

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

Returns:

  • (String)


3480
3481
3482
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3480

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3487
3488
3489
3490
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3487

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