brands
Creates, updates, deletes, gets or lists a brands
resource.
Overview
Name | brands |
Type | Resource |
Id | google.iap.brands |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. Identifier of the brand. NOTE: GCP project number achieves the same brand identification purpose as only one brand per project can be created. |
applicationTitle | string | Application name displayed on OAuth consent screen. |
orgInternalOnly | boolean | Output only. Whether the brand is only intended for usage inside the G Suite organization only. |
supportEmail | string | Support email displayed on the OAuth consent screen. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | brandsId, projectsId | Retrieves the OAuth brand of the project. |
list | SELECT | projectsId | Lists the existing brands for the project. |
create | INSERT | projectsId | 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. |
SELECT
examples
Lists the existing brands for the project.
SELECT
name,
applicationTitle,
orgInternalOnly,
supportEmail
FROM google.iap.brands
WHERE projectsId = '{{ projectsId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new brands
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.iap.brands (
projectsId,
supportEmail,
applicationTitle
)
SELECT
'{{ projectsId }}',
'{{ supportEmail }}',
'{{ applicationTitle }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: supportEmail
value: string
- name: applicationTitle
value: string
- name: orgInternalOnly
value: boolean