Class: Google::Apis::VisionV1::ListReferenceImagesResponse
- Inherits:
-
Object
- Object
- Google::Apis::VisionV1::ListReferenceImagesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vision_v1/classes.rb,
generated/google/apis/vision_v1/representations.rb,
generated/google/apis/vision_v1/representations.rb
Overview
Response message for the ListReferenceImages
method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
The next_page_token returned from a previous List request, if any.
-
#page_size ⇒ Fixnum
The maximum number of items to return.
-
#reference_images ⇒ Array<Google::Apis::VisionV1::ReferenceImage>
The list of reference images.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListReferenceImagesResponse
constructor
A new instance of ListReferenceImagesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListReferenceImagesResponse
Returns a new instance of ListReferenceImagesResponse
7159 7160 7161 |
# File 'generated/google/apis/vision_v1/classes.rb', line 7159 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
The next_page_token returned from a previous List request, if any.
Corresponds to the JSON property nextPageToken
7147 7148 7149 |
# File 'generated/google/apis/vision_v1/classes.rb', line 7147 def next_page_token @next_page_token end |
#page_size ⇒ Fixnum
The maximum number of items to return. Default 10, maximum 100.
Corresponds to the JSON property pageSize
7152 7153 7154 |
# File 'generated/google/apis/vision_v1/classes.rb', line 7152 def page_size @page_size end |
#reference_images ⇒ Array<Google::Apis::VisionV1::ReferenceImage>
The list of reference images.
Corresponds to the JSON property referenceImages
7157 7158 7159 |
# File 'generated/google/apis/vision_v1/classes.rb', line 7157 def reference_images @reference_images end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7164 7165 7166 7167 7168 |
# File 'generated/google/apis/vision_v1/classes.rb', line 7164 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @page_size = args[:page_size] if args.key?(:page_size) @reference_images = args[:reference_images] if args.key?(:reference_images) end |