Documentation

Google_Service_CloudIAP_Resource_ProjectsBrands extends Google_Service_Resource
in package

The "brands" collection of methods.

Typical usage is: $iapService = new Google_Service_CloudIAP(...); $brands = $iapService->brands;

Table of Contents

$client  : Google_Client
$methods  : array<string|int, mixed>
$resourceName  : string
$rootUrl  : string
$serviceName  : string
$servicePath  : string
$stackParameters  : mixed
__construct()  : mixed
call()  : Google_Http_Request|expectedClass
TODO: This function needs simplifying.
create()  : Google_Service_CloudIAP_Brand
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 G Suite 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.
createRequestUri()  : string
Parse/expand request parameters and create a fully qualified request uri.
get()  : Google_Service_CloudIAP_Brand
Retrieves the OAuth brand of the project. (brands.get)
listProjectsBrands()  : Google_Service_CloudIAP_ListBrandsResponse
Lists the existing brands for the project. (brands.listProjectsBrands)
convertToArrayAndStripNulls()  : mixed

Properties

$methods

private array<string|int, mixed> $methods

$resourceName

private string $resourceName

$serviceName

private string $serviceName

$servicePath

private string $servicePath

$stackParameters

private mixed $stackParameters = array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))

Methods

__construct()

public __construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
$service : mixed
$serviceName : mixed
$resourceName : mixed
$resource : mixed
Return values
mixed

call()

TODO: This function needs simplifying.

public call( $name,  $arguments[,  $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
$name :
$arguments :
$expectedClass : = null
  • optional, the expected class name
Tags
throws
Google_Exception
Return values
Google_Http_Request|expectedClass

create()

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 G Suite 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.

public create(string $parent, Google_Service_CloudIAP_Brand $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_CloudIAP_Brand

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
$parent : string

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

$postBody : Google_Service_CloudIAP_Brand
$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_CloudIAP_Brand

createRequestUri()

Parse/expand request parameters and create a fully qualified request uri.

public createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
$restPath : string
$params : array<string|int, mixed>
Tags
static
Return values
string

$requestUrl

get()

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

public get(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_CloudIAP_Brand
Parameters
$name : string

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

$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_CloudIAP_Brand

listProjectsBrands()

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

public listProjectsBrands(string $parent[, array<string|int, mixed> $optParams = array() ]) : Google_Service_CloudIAP_ListBrandsResponse
Parameters
$parent : string

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

$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_CloudIAP_ListBrandsResponse

convertToArrayAndStripNulls()

protected convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
$o : mixed
Return values
mixed

Search results