Class: Google::Apis::VisionV1p1beta1::ImportProductSetsResponse
- Inherits:
-
Object
- Object
- Google::Apis::VisionV1p1beta1::ImportProductSetsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vision_v1p1beta1/classes.rb,
lib/google/apis/vision_v1p1beta1/representations.rb,
lib/google/apis/vision_v1p1beta1/representations.rb
Overview
Response message for the ImportProductSets
method. This message is returned
by the google.longrunning.Operations.GetOperation method in the returned
google.longrunning.Operation.response field.
Instance Attribute Summary collapse
-
#reference_images ⇒ Array<Google::Apis::VisionV1p1beta1::ReferenceImage>
The list of reference_images that are imported successfully.
-
#statuses ⇒ Array<Google::Apis::VisionV1p1beta1::Status>
The rpc status for each ImportProductSet request, including both successes and errors.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImportProductSetsResponse
constructor
A new instance of ImportProductSetsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImportProductSetsResponse
Returns a new instance of ImportProductSetsResponse.
8809 8810 8811 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 8809 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reference_images ⇒ Array<Google::Apis::VisionV1p1beta1::ReferenceImage>
The list of reference_images that are imported successfully.
Corresponds to the JSON property referenceImages
8799 8800 8801 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 8799 def reference_images @reference_images end |
#statuses ⇒ Array<Google::Apis::VisionV1p1beta1::Status>
The rpc status for each ImportProductSet request, including both successes and
errors. The number of statuses here matches the number of lines in the csv
file, and statuses[i] stores the success or failure status of processing the i-
th line of the csv, starting from line 0.
Corresponds to the JSON property statuses
8807 8808 8809 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 8807 def statuses @statuses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8814 8815 8816 8817 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 8814 def update!(**args) @reference_images = args[:reference_images] if args.key?(:reference_images) @statuses = args[:statuses] if args.key?(:statuses) end |