Class: Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1ImportProductSetsResponse
- Inherits:
-
Object
- Object
- Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1ImportProductSetsResponse
- 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 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::VisionV1::GoogleCloudVisionV1p3beta1ReferenceImage>
The list of reference_images that are imported successfully.
-
#statuses ⇒ Array<Google::Apis::VisionV1::Status>
The rpc status for each ImportProductSet request, including both successes and errors.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVisionV1p3beta1ImportProductSetsResponse
constructor
A new instance of GoogleCloudVisionV1p3beta1ImportProductSetsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVisionV1p3beta1ImportProductSetsResponse
Returns a new instance of GoogleCloudVisionV1p3beta1ImportProductSetsResponse
5557 5558 5559 |
# File 'generated/google/apis/vision_v1/classes.rb', line 5557 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reference_images ⇒ Array<Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1ReferenceImage>
The list of reference_images that are imported successfully.
Corresponds to the JSON property referenceImages
5546 5547 5548 |
# File 'generated/google/apis/vision_v1/classes.rb', line 5546 def reference_images @reference_images end |
#statuses ⇒ Array<Google::Apis::VisionV1::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
5555 5556 5557 |
# File 'generated/google/apis/vision_v1/classes.rb', line 5555 def statuses @statuses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5562 5563 5564 5565 |
# File 'generated/google/apis/vision_v1/classes.rb', line 5562 def update!(**args) @reference_images = args[:reference_images] if args.key?(:reference_images) @statuses = args[:statuses] if args.key?(:statuses) end |