Class: Google::Apis::VisionV1::ListReferenceImagesResponse

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

Overview

Response message for the ListReferenceImages method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListReferenceImagesResponse

Returns a new instance of ListReferenceImagesResponse.



9091
9092
9093
# File 'lib/google/apis/vision_v1/classes.rb', line 9091

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

Instance Attribute Details

#next_page_tokenString

The next_page_token returned from a previous List request, if any. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


9079
9080
9081
# File 'lib/google/apis/vision_v1/classes.rb', line 9079

def next_page_token
  @next_page_token
end

#page_sizeFixnum

The maximum number of items to return. Default 10, maximum 100. Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


9084
9085
9086
# File 'lib/google/apis/vision_v1/classes.rb', line 9084

def page_size
  @page_size
end

#reference_imagesArray<Google::Apis::VisionV1::ReferenceImage>

The list of reference images. Corresponds to the JSON property referenceImages



9089
9090
9091
# File 'lib/google/apis/vision_v1/classes.rb', line 9089

def reference_images
  @reference_images
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9096
9097
9098
9099
9100
# File 'lib/google/apis/vision_v1/classes.rb', line 9096

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