class Google::Apis::VisionV1::AddProductToProductSetRequest
Request message for the `AddProductToProductSet` method.
Attributes
product[RW]
Required. The resource name for the Product
to be added to this ProductSet
. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID` Corresponds to the JSON property `product` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vision_v1/classes.rb, line 35 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/vision_v1/classes.rb, line 40 def update!(**args) @product = args[:product] if args.key?(:product) end