Method: projects.getRetailProject

Gets the project.

Throws NOT_FOUND if the project wasn't initialized for the Retail API service.

HTTP request

GET https://retail.googleapis.com/v2alpha/{name=projects/*/retailProject}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Full resource name of the project. Format: projects/{project_number_or_id}/retailProject

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Project.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • retail.retailProjects.get

For more information, see the IAM documentation.