class ProjectsBrands extends Resource (View source)

The "brands" collection of methods.

Typical usage is:

 $iapService = new Google\Service\CloudIAP(...);
 $brands = $iapService->projects_brands;

Methods

create(string $parent, Brand $postBody, array $optParams = [])

Constructs a new OAuth brand for the project if one does not exist. The created brand is "internal only", meaning that OAuth clients created under it only accept requests from users who belong to the same Google Workspace organization as the project. The brand is created in an un-reviewed status.

get(string $name, array $optParams = [])

Retrieves the OAuth brand of the project. (brands.get)

listProjectsBrands(string $parent, array $optParams = [])

Lists the existing brands for the project. (brands.listProjectsBrands)

Details

Brand create(string $parent, Brand $postBody, array $optParams = [])

Constructs a new OAuth brand for the project if one does not exist. The created brand is "internal only", meaning that OAuth clients created under it only accept requests from users who belong to the same Google Workspace organization as the project. The brand is created in an un-reviewed status.

NOTE: The "internal only" status can be manually changed in the Google Cloud Console. Requires that a brand does not already exist for the project, and that the specified support email is owned by the caller. (brands.create)

Parameters

string $parent

Required. GCP Project number/id under which the brand is to be created. In the following format: projects/{project_number/id}.

Brand $postBody
array $optParams

Optional parameters.

Return Value

Brand

Exceptions

Exception

Brand get(string $name, array $optParams = [])

Retrieves the OAuth brand of the project. (brands.get)

Parameters

string $name

Required. Name of the brand to be fetched. In the following format: projects/{project_number/id}/brands/{brand}.

array $optParams

Optional parameters.

Return Value

Brand

Exceptions

Exception

ListBrandsResponse listProjectsBrands(string $parent, array $optParams = [])

Lists the existing brands for the project. (brands.listProjectsBrands)

Parameters

string $parent

Required. GCP Project number/id. In the following format: projects/{project_number/id}.

array $optParams

Optional parameters.

Return Value

ListBrandsResponse

Exceptions

Exception