Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::GetProductRequest.
Request message for [GetProduct][] method.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#name
defname()->::String
Returns
(::String) — Required. Full resource name of Product,
such as
projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id.
If the caller does not have permission to access the
Product, regardless of whether or not it
exists, a PERMISSION_DENIED error is returned.
If the requested Product does not exist,
a NOT_FOUND error is returned.
#name=
defname=(value)->::String
Parameter
value (::String) — Required. Full resource name of Product,
such as
projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id.
If the caller does not have permission to access the
Product, regardless of whether or not it
exists, a PERMISSION_DENIED error is returned.
If the requested Product does not exist,
a NOT_FOUND error is returned.
Returns
(::String) — Required. Full resource name of Product,
such as
projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id.
If the caller does not have permission to access the
Product, regardless of whether or not it
exists, a PERMISSION_DENIED error is returned.
If the requested Product does not exist,
a NOT_FOUND error is returned.