Identity and Access Management (IAM)

This page describes how you can control AI Commerce Search access and permissions using Identity and Access Management (IAM).

Overview

Google Cloud offers Identity and Access Management (IAM), which lets you give more granular access to specific Google Cloud resources and prevents unwanted access to other resources. This page describes the AI Commerce Search IAM roles and permissions. For a detailed description of Google Cloud IAM, see the IAM documentation.

AI Commerce Search provides a set of predefined roles designed for quick control over access to your AI Commerce Search resources. You can also create your own custom roles, if the predefined roles don't provide the sets of permissions you need. The prior basic roles (Editor, Viewer, and Owner) are also still available to you, although they don't provide the same fine-grained control as the AI Commerce Search roles. In particular, the basic roles provide access to resources across Google Cloud rather than just for AI Commerce Search. See the basic roles documentation for more information.

Predefined roles

The AI Commerce Search provides some predefined roles you can use to provide finer-grained permissions to principals. The role you grant to a principal controls what actions the principal can take. Principals can be individuals, groups, or service accounts.

You can grant multiple roles to the same principal, and you can change the roles granted to a principal at any time, provided you have the permissions to do so.

The broader roles include the more narrowly defined roles. For example, the Retail Editor role includes all of the permissions of the Retail Viewer role, along with the addition permissions of the Retail Editor role. Likewise, the Retail Admin role includes all of the permissions of the Retail Editor role, along with its additional permissions.

The basic roles (Owner, Editor, Viewer) provide permissions across Google Cloud. The roles specific to AI Commerce Search provide only AI Commerce Search permissions, except for the following Google Cloud (Google Cloud) permissions, which are needed for general Google Cloud usage:

  • resourcemanager.projects.get
  • resourcemanager.projects.list
  • serviceusage.services.list
  • serviceusage.services.get

The following table lists the predefined roles available for AI Commerce Search, along with their AI Commerce Search permissions:

Migrate permissions from the Recommendations API

If you are migrating from the previous Recommendations Engine API to AI Commerce Search, note that the following predefined roles also include permissions for the previous API.

  • Retail Admin: Includes all the permissions of Recommendations Admin, except for apiKeys permissions.
  • Retail Editor: Includes all the permissions of Recommendations Editor, as well as catalog.update, and excluding apiKeys permissions.
  • Retail Viewer: Includes all the permissions of Recommendations Viewer.

Manage AI Commerce Search IAM

You can get and set IAM policies and IAM roles using the Google Cloud console, the IAM methods of the API, or AI Commerce Search. For more information, see Granting, Changing, and Revoking Access.

What's next