Class: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1ImportProductSetsResponse

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 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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudVisionV1p4beta1ImportProductSetsResponse

Returns a new instance of GoogleCloudVisionV1p4beta1ImportProductSetsResponse.



7445
7446
7447
# File 'lib/google/apis/vision_v1/classes.rb', line 7445

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

Instance Attribute Details

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

The list of reference_images that are imported successfully. Corresponds to the JSON property referenceImages



7435
7436
7437
# File 'lib/google/apis/vision_v1/classes.rb', line 7435

def reference_images
  @reference_images
end

#statusesArray<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

Returns:



7443
7444
7445
# File 'lib/google/apis/vision_v1/classes.rb', line 7443

def statuses
  @statuses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7450
7451
7452
7453
# File 'lib/google/apis/vision_v1/classes.rb', line 7450

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