Documentation

Google_Service_Appengine_Resource_Apps extends Google_Service_Resource
in package

The "apps" collection of methods.

Typical usage is: $appengineService = new Google_Service_Appengine(...); $apps = $appengineService->apps;

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_Appengine_Operation
Creates an App Engine application for a Google Cloud Platform project.
createRequestUri()  : string
Parse/expand request parameters and create a fully qualified request uri.
get()  : Google_Service_Appengine_Application
Gets information about an application. (apps.get)
patch()  : Google_Service_Appengine_Operation
Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application. default_cookie_expiration - Cookie expiration policy for the application. (apps.patch)
repair()  : Google_Service_Appengine_Operation
Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account. If you have deleted your App Engine service account, this will not be able to recreate it. Instead, you should attempt to use the IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAc counts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funi que_id"%2C"resource"%3A%7B%7D%7D . If the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log. (apps.repair)
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()

Creates an App Engine application for a Google Cloud Platform project.

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

Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/). (apps.create)

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

Optional parameters.

Return values
Google_Service_Appengine_Operation

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()

Gets information about an application. (apps.get)

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

Part of name. Name of the Application resource to get. Example: apps/myapp.

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

Optional parameters.

Return values
Google_Service_Appengine_Application

patch()

Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application. default_cookie_expiration - Cookie expiration policy for the application. (apps.patch)

public patch(string $appsId, Google_Service_Appengine_Application $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Appengine_Operation
Parameters
$appsId : string

Part of name. Name of the Application resource to update. Example: apps/myapp.

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

Optional parameters.

Tags
opt_param

string updateMask Standard field mask for the set of fields to be updated.

Return values
Google_Service_Appengine_Operation

repair()

Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account. If you have deleted your App Engine service account, this will not be able to recreate it. Instead, you should attempt to use the IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAc counts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funi que_id"%2C"resource"%3A%7B%7D%7D . If the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log. (apps.repair)

public repair(string $appsId, Google_Service_Appengine_RepairApplicationRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Appengine_Operation
Parameters
$appsId : string

Part of name. Name of the application to repair. Example: apps/myapp

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

Optional parameters.

Return values
Google_Service_Appengine_Operation

convertToArrayAndStripNulls()

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

Search results