Google_Service_Appengine_Resource_AppsServicesVersions
extends Google_Service_Resource
in package
The "versions" collection of methods.
Typical usage is:
$appengineService = new Google_Service_Appengine(...);
$versions = $appengineService->versions;
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
- Deploys code and resource files to a new version. (versions.create)
- createRequestUri() : string
- Parse/expand request parameters and create a fully qualified request uri.
- delete() : Google_Service_Appengine_Operation
- Deletes an existing Version resource. (versions.delete)
- get() : Google_Service_Appengine_Version
- Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.
- listAppsServicesVersions() : Google_Service_Appengine_ListVersionsResponse
- Lists the versions of a service. (versions.listAppsServicesVersions)
- patch() : Google_Service_Appengine_Operation
- Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser vices.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser vices.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs /admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_ scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin- api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin- api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin- api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin- api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin- api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin- api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api /reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)autom atic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser vices.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser vices.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser vices.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser vices.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin- api/reference/rest/v1/apps.services.versions#manualscaling) (versions.patch)
- convertToArrayAndStripNulls() : mixed
Properties
$client
private
Google_Client
$client
$methods
private
array<string|int, mixed>
$methods
$resourceName
private
string
$resourceName
$rootUrl
private
string
$rootUrl
$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
Tags
Return values
Google_Http_Request|expectedClass —create()
Deploys code and resource files to a new version. (versions.create)
public
create(string $appsId, string $servicesId, Google_Service_Appengine_Version $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Appengine_Operation
Parameters
- $appsId : string
-
Part of
parent. Name of the parent resource to create this version under. Example: apps/myapp/services/default. - $servicesId : string
-
Part of
parent. See documentation ofappsId. - $postBody : Google_Service_Appengine_Version
- $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
Return values
string —$requestUrl
delete()
Deletes an existing Version resource. (versions.delete)
public
delete(string $appsId, string $servicesId, string $versionsId[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Appengine_Operation
Parameters
- $appsId : string
-
Part of
name. Name of the resource requested. Example: apps/myapp/services/default/versions/v1. - $servicesId : string
-
Part of
name. See documentation ofappsId. - $versionsId : string
-
Part of
name. See documentation ofappsId. - $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_Appengine_Operation —get()
Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.
public
get(string $appsId, string $servicesId, string $versionsId[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Appengine_Version
(versions.get)
Parameters
- $appsId : string
-
Part of
name. Name of the resource requested. Example: apps/myapp/services/default/versions/v1. - $servicesId : string
-
Part of
name. See documentation ofappsId. - $versionsId : string
-
Part of
name. See documentation ofappsId. - $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_Appengine_Version —listAppsServicesVersions()
Lists the versions of a service. (versions.listAppsServicesVersions)
public
listAppsServicesVersions(string $appsId, string $servicesId[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Appengine_ListVersionsResponse
Parameters
- $appsId : string
-
Part of
parent. Name of the parent Service resource. Example: apps/myapp/services/default. - $servicesId : string
-
Part of
parent. See documentation ofappsId. - $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_Appengine_ListVersionsResponse —patch()
Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser vices.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser vices.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs /admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_ scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin- api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin- api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin- api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin- api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin- api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin- api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api /reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)autom atic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser vices.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser vices.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser vices.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser vices.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin- api/reference/rest/v1/apps.services.versions#manualscaling) (versions.patch)
public
patch(string $appsId, string $servicesId, string $versionsId, Google_Service_Appengine_Version $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Appengine_Operation
Parameters
- $appsId : string
-
Part of
name. Name of the resource to update. Example: apps/myapp/services/default/versions/1. - $servicesId : string
-
Part of
name. See documentation ofappsId. - $versionsId : string
-
Part of
name. See documentation ofappsId. - $postBody : Google_Service_Appengine_Version
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_Appengine_Operation —convertToArrayAndStripNulls()
protected
convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
- $o : mixed