Retail V2 API - Class Google::Cloud::Retail::V2::GetProductRequest (v0.15.0)

Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::GetProductRequest.

Request message for ProductService.GetProduct method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::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=

def name=(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.