* Provisions and manages developers' App Engine applications.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class Appengine extends \Google\Service { /** View and manage your applications deployed on Google App Engine. */ const APPENGINE_ADMIN = "https://www.googleapis.com/auth/appengine.admin"; /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; /** View your data across Google Cloud services and see the email address of your Google Account. */ const CLOUD_PLATFORM_READ_ONLY = "https://www.googleapis.com/auth/cloud-platform.read-only"; public $apps; public $apps_authorizedCertificates; public $apps_authorizedDomains; public $apps_domainMappings; public $apps_firewall_ingressRules; public $apps_locations; public $apps_operations; public $apps_services; public $apps_services_versions; public $apps_services_versions_instances; /** * Constructs the internal representation of the Appengine service. * * @param Client|array $clientOrConfig The client used to deliver requests, or a * config array to pass to a new Client instance. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct($clientOrConfig = [], $rootUrl = null) { parent::__construct($clientOrConfig); $this->rootUrl = $rootUrl ?: 'https://appengine.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1'; $this->serviceName = 'appengine'; $this->apps = new Appengine\Resource\Apps( $this, $this->serviceName, 'apps', [ 'methods' => [ 'create' => [ 'path' => 'v1/apps', 'httpMethod' => 'POST', 'parameters' => [], ],'get' => [ 'path' => 'v1/apps/{appsId}', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'patch' => [ 'path' => 'v1/apps/{appsId}', 'httpMethod' => 'PATCH', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ],'repair' => [ 'path' => 'v1/apps/{appsId}:repair', 'httpMethod' => 'POST', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ], ] ] ); $this->apps_authorizedCertificates = new Appengine\Resource\AppsAuthorizedCertificates( $this, $this->serviceName, 'authorizedCertificates', [ 'methods' => [ 'create' => [ 'path' => 'v1/apps/{appsId}/authorizedCertificates', 'httpMethod' => 'POST', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', 'httpMethod' => 'DELETE', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'authorizedCertificatesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'authorizedCertificatesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'view' => [ 'location' => 'query', 'type' => 'string', ], ], ],'list' => [ 'path' => 'v1/apps/{appsId}/authorizedCertificates', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], 'view' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', 'httpMethod' => 'PATCH', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'authorizedCertificatesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->apps_authorizedDomains = new Appengine\Resource\AppsAuthorizedDomains( $this, $this->serviceName, 'authorizedDomains', [ 'methods' => [ 'list' => [ 'path' => 'v1/apps/{appsId}/authorizedDomains', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->apps_domainMappings = new Appengine\Resource\AppsDomainMappings( $this, $this->serviceName, 'domainMappings', [ 'methods' => [ 'create' => [ 'path' => 'v1/apps/{appsId}/domainMappings', 'httpMethod' => 'POST', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'overrideStrategy' => [ 'location' => 'query', 'type' => 'string', ], ], ],'delete' => [ 'path' => 'v1/apps/{appsId}/domainMappings/{domainMappingsId}', 'httpMethod' => 'DELETE', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'domainMappingsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v1/apps/{appsId}/domainMappings/{domainMappingsId}', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'domainMappingsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v1/apps/{appsId}/domainMappings', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v1/apps/{appsId}/domainMappings/{domainMappingsId}', 'httpMethod' => 'PATCH', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'domainMappingsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->apps_firewall_ingressRules = new Appengine\Resource\AppsFirewallIngressRules( $this, $this->serviceName, 'ingressRules', [ 'methods' => [ 'batchUpdate' => [ 'path' => 'v1/apps/{appsId}/firewall/ingressRules:batchUpdate', 'httpMethod' => 'POST', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'create' => [ 'path' => 'v1/apps/{appsId}/firewall/ingressRules', 'httpMethod' => 'POST', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', 'httpMethod' => 'DELETE', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'ingressRulesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'ingressRulesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v1/apps/{appsId}/firewall/ingressRules', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'matchingAddress' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', 'httpMethod' => 'PATCH', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'ingressRulesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->apps_locations = new Appengine\Resource\AppsLocations( $this, $this->serviceName, 'locations', [ 'methods' => [ 'get' => [ 'path' => 'v1/apps/{appsId}/locations/{locationsId}', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'locationsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v1/apps/{appsId}/locations', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'filter' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->apps_operations = new Appengine\Resource\AppsOperations( $this, $this->serviceName, 'operations', [ 'methods' => [ 'get' => [ 'path' => 'v1/apps/{appsId}/operations/{operationsId}', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'operationsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v1/apps/{appsId}/operations', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'filter' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->apps_services = new Appengine\Resource\AppsServices( $this, $this->serviceName, 'services', [ 'methods' => [ 'delete' => [ 'path' => 'v1/apps/{appsId}/services/{servicesId}', 'httpMethod' => 'DELETE', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'servicesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v1/apps/{appsId}/services/{servicesId}', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'servicesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v1/apps/{appsId}/services', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v1/apps/{appsId}/services/{servicesId}', 'httpMethod' => 'PATCH', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'servicesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'migrateTraffic' => [ 'location' => 'query', 'type' => 'boolean', ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->apps_services_versions = new Appengine\Resource\AppsServicesVersions( $this, $this->serviceName, 'versions', [ 'methods' => [ 'create' => [ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions', 'httpMethod' => 'POST', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'servicesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', 'httpMethod' => 'DELETE', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'servicesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'versionsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'servicesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'versionsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'view' => [ 'location' => 'query', 'type' => 'string', ], ], ],'list' => [ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'servicesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], 'view' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', 'httpMethod' => 'PATCH', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'servicesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'versionsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->apps_services_versions_instances = new Appengine\Resource\AppsServicesVersionsInstances( $this, $this->serviceName, 'instances', [ 'methods' => [ 'debug' => [ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', 'httpMethod' => 'POST', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'servicesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'versionsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'instancesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', 'httpMethod' => 'DELETE', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'servicesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'versionsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'instancesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'servicesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'versionsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'instancesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances', 'httpMethod' => 'GET', 'parameters' => [ 'appsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'servicesId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'versionsId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Appengine::class, 'Google_Service_Appengine');