class Webapps extends Resource (View source)

The "webapps" collection of methods.

Typical usage is:

 $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
 $webapps = $androidenterpriseService->webapps;

Methods

delete(string $enterpriseId, string $webAppId, array $optParams = [])

Deletes an existing web app. (webapps.delete)

get(string $enterpriseId, string $webAppId, array $optParams = [])

Gets an existing web app. (webapps.get)

insert(string $enterpriseId, WebApp $postBody, array $optParams = [])

Creates a new web app for the enterprise. (webapps.insert)

listWebapps(string $enterpriseId, array $optParams = [])

Retrieves the details of all web apps for a given enterprise.

update(string $enterpriseId, string $webAppId, WebApp $postBody, array $optParams = [])

Updates an existing web app. (webapps.update)

Details

delete(string $enterpriseId, string $webAppId, array $optParams = [])

Deletes an existing web app. (webapps.delete)

Parameters

string $enterpriseId

The ID of the enterprise.

string $webAppId

The ID of the web app.

array $optParams

Optional parameters.

Exceptions

Exception

WebApp get(string $enterpriseId, string $webAppId, array $optParams = [])

Gets an existing web app. (webapps.get)

Parameters

string $enterpriseId

The ID of the enterprise.

string $webAppId

The ID of the web app.

array $optParams

Optional parameters.

Return Value

WebApp

Exceptions

Exception

WebApp insert(string $enterpriseId, WebApp $postBody, array $optParams = [])

Creates a new web app for the enterprise. (webapps.insert)

Parameters

string $enterpriseId

The ID of the enterprise.

WebApp $postBody
array $optParams

Optional parameters.

Return Value

WebApp

Exceptions

Exception

WebAppsListResponse listWebapps(string $enterpriseId, array $optParams = [])

Retrieves the details of all web apps for a given enterprise.

(webapps.listWebapps)

Parameters

string $enterpriseId

The ID of the enterprise.

array $optParams

Optional parameters.

Return Value

WebAppsListResponse

Exceptions

Exception

WebApp update(string $enterpriseId, string $webAppId, WebApp $postBody, array $optParams = [])

Updates an existing web app. (webapps.update)

Parameters

string $enterpriseId

The ID of the enterprise.

string $webAppId

The ID of the web app.

WebApp $postBody
array $optParams

Optional parameters.

Return Value

WebApp

Exceptions

Exception