Retail V2 API - Class Google::Cloud::Retail::V2::UpdateCatalogRequest (v0.20.0)

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

Request for CatalogService.UpdateCatalog method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#catalog

def catalog() -> ::Google::Cloud::Retail::V2::Catalog
Returns
  • (::Google::Cloud::Retail::V2::Catalog) — Required. The Catalog to update.

    If the caller does not have permission to update the Catalog, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

    If the Catalog to update does not exist, a NOT_FOUND error is returned.

#catalog=

def catalog=(value) -> ::Google::Cloud::Retail::V2::Catalog
Parameter
  • value (::Google::Cloud::Retail::V2::Catalog) — Required. The Catalog to update.

    If the caller does not have permission to update the Catalog, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

    If the Catalog to update does not exist, a NOT_FOUND error is returned.

Returns
  • (::Google::Cloud::Retail::V2::Catalog) — Required. The Catalog to update.

    If the caller does not have permission to update the Catalog, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

    If the Catalog to update does not exist, a NOT_FOUND error is returned.

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns
  • (::Google::Protobuf::FieldMask) — Indicates which fields in the provided Catalog to update.

    If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
  • value (::Google::Protobuf::FieldMask) — Indicates which fields in the provided Catalog to update.

    If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

Returns
  • (::Google::Protobuf::FieldMask) — Indicates which fields in the provided Catalog to update.

    If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.