Cloud Identity-Aware Proxy API . projects . brands

Instance Methods

identityAwareProxyClients()

Returns the identityAwareProxyClients Resource.

close()

Close httplib2 connections.

create(parent, body=None, x__xgafv=None)

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.

get(name, x__xgafv=None)

Retrieves the OAuth brand of the project.

list(parent, x__xgafv=None)

Lists the existing brands for the project.

Method Details

close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
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.

Args:
  parent: string, Required. GCP Project number/id under which the brand is to be created. In the following format: projects/{project_number/id}. (required)
  body: object, The request body.
    The object takes the form of:

{ # OAuth brand data. NOTE: Only contains a portion of the data that describes a brand.
  "applicationTitle": "A String", # Application name displayed on OAuth consent screen.
  "name": "A 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.
  "orgInternalOnly": True or False, # Output only. Whether the brand is only intended for usage inside the G Suite organization only.
  "supportEmail": "A String", # Support email displayed on the OAuth consent screen.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # OAuth brand data. NOTE: Only contains a portion of the data that describes a brand.
  "applicationTitle": "A String", # Application name displayed on OAuth consent screen.
  "name": "A 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.
  "orgInternalOnly": True or False, # Output only. Whether the brand is only intended for usage inside the G Suite organization only.
  "supportEmail": "A String", # Support email displayed on the OAuth consent screen.
}
get(name, x__xgafv=None)
Retrieves the OAuth brand of the project.

Args:
  name: string, Required. Name of the brand to be fetched. In the following format: projects/{project_number/id}/brands/{brand}. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # OAuth brand data. NOTE: Only contains a portion of the data that describes a brand.
  "applicationTitle": "A String", # Application name displayed on OAuth consent screen.
  "name": "A 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.
  "orgInternalOnly": True or False, # Output only. Whether the brand is only intended for usage inside the G Suite organization only.
  "supportEmail": "A String", # Support email displayed on the OAuth consent screen.
}
list(parent, x__xgafv=None)
Lists the existing brands for the project.

Args:
  parent: string, Required. GCP Project number/id. In the following format: projects/{project_number/id}. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for ListBrands.
  "brands": [ # Brands existing in the project.
    { # OAuth brand data. NOTE: Only contains a portion of the data that describes a brand.
      "applicationTitle": "A String", # Application name displayed on OAuth consent screen.
      "name": "A 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.
      "orgInternalOnly": True or False, # Output only. Whether the brand is only intended for usage inside the G Suite organization only.
      "supportEmail": "A String", # Support email displayed on the OAuth consent screen.
    },
  ],
}