9305 lines
316 KiB
PHP
9305 lines
316 KiB
PHP
<?php
|
|
/*
|
|
* Copyright 2014 Google Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
* use this file except in compliance with the License. You may obtain a copy of
|
|
* the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
* License for the specific language governing permissions and limitations under
|
|
* the License.
|
|
*/
|
|
|
|
/**
|
|
* Service definition for Compute (v1).
|
|
*
|
|
* <p>
|
|
* Creates and runs virtual machines on Google Cloud Platform.</p>
|
|
*
|
|
* <p>
|
|
* For more information about this service, see the API
|
|
* <a href="https://developers.google.com/compute/docs/reference/latest/" target="_blank">Documentation</a>
|
|
* </p>
|
|
*
|
|
* @author Google, Inc.
|
|
*/
|
|
class Google_Service_Compute extends Google_Service
|
|
{
|
|
/** View and manage your data across Google Cloud Platform services. */
|
|
const CLOUD_PLATFORM =
|
|
"https://www.googleapis.com/auth/cloud-platform";
|
|
/** View and manage your Google Compute Engine resources. */
|
|
const COMPUTE =
|
|
"https://www.googleapis.com/auth/compute";
|
|
/** View your Google Compute Engine resources. */
|
|
const COMPUTE_READONLY =
|
|
"https://www.googleapis.com/auth/compute.readonly";
|
|
/** Manage your data and permissions in Google Cloud Storage. */
|
|
const DEVSTORAGE_FULL_CONTROL =
|
|
"https://www.googleapis.com/auth/devstorage.full_control";
|
|
/** View your data in Google Cloud Storage. */
|
|
const DEVSTORAGE_READ_ONLY =
|
|
"https://www.googleapis.com/auth/devstorage.read_only";
|
|
/** Manage your data in Google Cloud Storage. */
|
|
const DEVSTORAGE_READ_WRITE =
|
|
"https://www.googleapis.com/auth/devstorage.read_write";
|
|
|
|
public $acceleratorTypes;
|
|
public $addresses;
|
|
public $autoscalers;
|
|
public $backendBuckets;
|
|
public $backendServices;
|
|
public $diskTypes;
|
|
public $disks;
|
|
public $firewalls;
|
|
public $forwardingRules;
|
|
public $globalAddresses;
|
|
public $globalForwardingRules;
|
|
public $globalOperations;
|
|
public $healthChecks;
|
|
public $httpHealthChecks;
|
|
public $httpsHealthChecks;
|
|
public $images;
|
|
public $instanceGroupManagers;
|
|
public $instanceGroups;
|
|
public $instanceTemplates;
|
|
public $instances;
|
|
public $interconnectAttachments;
|
|
public $interconnectLocations;
|
|
public $interconnects;
|
|
public $licenseCodes;
|
|
public $licenses;
|
|
public $machineTypes;
|
|
public $networks;
|
|
public $nodeGroups;
|
|
public $nodeTemplates;
|
|
public $nodeTypes;
|
|
public $projects;
|
|
public $regionAutoscalers;
|
|
public $regionBackendServices;
|
|
public $regionCommitments;
|
|
public $regionDiskTypes;
|
|
public $regionDisks;
|
|
public $regionInstanceGroupManagers;
|
|
public $regionInstanceGroups;
|
|
public $regionOperations;
|
|
public $regions;
|
|
public $routers;
|
|
public $routes;
|
|
public $securityPolicies;
|
|
public $snapshots;
|
|
public $sslCertificates;
|
|
public $sslPolicies;
|
|
public $subnetworks;
|
|
public $targetHttpProxies;
|
|
public $targetHttpsProxies;
|
|
public $targetInstances;
|
|
public $targetPools;
|
|
public $targetSslProxies;
|
|
public $targetTcpProxies;
|
|
public $targetVpnGateways;
|
|
public $urlMaps;
|
|
public $vpnTunnels;
|
|
public $zoneOperations;
|
|
public $zones;
|
|
|
|
/**
|
|
* Constructs the internal representation of the Compute service.
|
|
*
|
|
* @param Google_Client $client
|
|
*/
|
|
public function __construct(Google_Client $client)
|
|
{
|
|
parent::__construct($client);
|
|
$this->rootUrl = 'https://www.googleapis.com/';
|
|
$this->servicePath = 'compute/v1/projects/';
|
|
$this->batchPath = 'batch/compute/v1';
|
|
$this->version = 'v1';
|
|
$this->serviceName = 'compute';
|
|
|
|
$this->acceleratorTypes = new Google_Service_Compute_Resource_AcceleratorTypes(
|
|
$this,
|
|
$this->serviceName,
|
|
'acceleratorTypes',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/acceleratorTypes',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/zones/{zone}/acceleratorTypes/{acceleratorType}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'acceleratorType' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/zones/{zone}/acceleratorTypes',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->addresses = new Google_Service_Compute_Resource_Addresses(
|
|
$this,
|
|
$this->serviceName,
|
|
'addresses',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/addresses',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/regions/{region}/addresses/{address}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'address' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/addresses/{address}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'address' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/regions/{region}/addresses',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/addresses',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->autoscalers = new Google_Service_Compute_Resource_Autoscalers(
|
|
$this,
|
|
$this->serviceName,
|
|
'autoscalers',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/autoscalers',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/zones/{zone}/autoscalers/{autoscaler}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'autoscaler' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/zones/{zone}/autoscalers/{autoscaler}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'autoscaler' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/zones/{zone}/autoscalers',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/zones/{zone}/autoscalers',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/zones/{zone}/autoscalers',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'autoscaler' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'update' => array(
|
|
'path' => '{project}/zones/{zone}/autoscalers',
|
|
'httpMethod' => 'PUT',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'autoscaler' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->backendBuckets = new Google_Service_Compute_Resource_BackendBuckets(
|
|
$this,
|
|
$this->serviceName,
|
|
'backendBuckets',
|
|
array(
|
|
'methods' => array(
|
|
'addSignedUrlKey' => array(
|
|
'path' => '{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendBucket' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/global/backendBuckets/{backendBucket}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendBucket' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'deleteSignedUrlKey' => array(
|
|
'path' => '{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendBucket' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'keyName' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/backendBuckets/{backendBucket}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendBucket' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/backendBuckets',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/backendBuckets',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/global/backendBuckets/{backendBucket}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendBucket' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'update' => array(
|
|
'path' => '{project}/global/backendBuckets/{backendBucket}',
|
|
'httpMethod' => 'PUT',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendBucket' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->backendServices = new Google_Service_Compute_Resource_BackendServices(
|
|
$this,
|
|
$this->serviceName,
|
|
'backendServices',
|
|
array(
|
|
'methods' => array(
|
|
'addSignedUrlKey' => array(
|
|
'path' => '{project}/global/backendServices/{backendService}/addSignedUrlKey',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendService' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/backendServices',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/global/backendServices/{backendService}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendService' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'deleteSignedUrlKey' => array(
|
|
'path' => '{project}/global/backendServices/{backendService}/deleteSignedUrlKey',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendService' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'keyName' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/backendServices/{backendService}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendService' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getHealth' => array(
|
|
'path' => '{project}/global/backendServices/{backendService}/getHealth',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendService' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/backendServices',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/backendServices',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/global/backendServices/{backendService}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendService' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setSecurityPolicy' => array(
|
|
'path' => '{project}/global/backendServices/{backendService}/setSecurityPolicy',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendService' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'update' => array(
|
|
'path' => '{project}/global/backendServices/{backendService}',
|
|
'httpMethod' => 'PUT',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendService' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->diskTypes = new Google_Service_Compute_Resource_DiskTypes(
|
|
$this,
|
|
$this->serviceName,
|
|
'diskTypes',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/diskTypes',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/zones/{zone}/diskTypes/{diskType}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'diskType' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/zones/{zone}/diskTypes',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->disks = new Google_Service_Compute_Resource_Disks(
|
|
$this,
|
|
$this->serviceName,
|
|
'disks',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/disks',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'createSnapshot' => array(
|
|
'path' => '{project}/zones/{zone}/disks/{disk}/createSnapshot',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'disk' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'guestFlush' => array(
|
|
'location' => 'query',
|
|
'type' => 'boolean',
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/zones/{zone}/disks/{disk}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'disk' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/zones/{zone}/disks/{disk}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'disk' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getIamPolicy' => array(
|
|
'path' => '{project}/zones/{zone}/disks/{resource}/getIamPolicy',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/zones/{zone}/disks',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'sourceImage' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/zones/{zone}/disks',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'resize' => array(
|
|
'path' => '{project}/zones/{zone}/disks/{disk}/resize',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'disk' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setIamPolicy' => array(
|
|
'path' => '{project}/zones/{zone}/disks/{resource}/setIamPolicy',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'setLabels' => array(
|
|
'path' => '{project}/zones/{zone}/disks/{resource}/setLabels',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'testIamPermissions' => array(
|
|
'path' => '{project}/zones/{zone}/disks/{resource}/testIamPermissions',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->firewalls = new Google_Service_Compute_Resource_Firewalls(
|
|
$this,
|
|
$this->serviceName,
|
|
'firewalls',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/firewalls/{firewall}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'firewall' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/firewalls/{firewall}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'firewall' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/firewalls',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/firewalls',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/global/firewalls/{firewall}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'firewall' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'update' => array(
|
|
'path' => '{project}/global/firewalls/{firewall}',
|
|
'httpMethod' => 'PUT',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'firewall' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->forwardingRules = new Google_Service_Compute_Resource_ForwardingRules(
|
|
$this,
|
|
$this->serviceName,
|
|
'forwardingRules',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/forwardingRules',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'forwardingRule' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'forwardingRule' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/regions/{region}/forwardingRules',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/forwardingRules',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setTarget' => array(
|
|
'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'forwardingRule' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->globalAddresses = new Google_Service_Compute_Resource_GlobalAddresses(
|
|
$this,
|
|
$this->serviceName,
|
|
'globalAddresses',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/addresses/{address}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'address' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/addresses/{address}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'address' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/addresses',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/addresses',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->globalForwardingRules = new Google_Service_Compute_Resource_GlobalForwardingRules(
|
|
$this,
|
|
$this->serviceName,
|
|
'globalForwardingRules',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/forwardingRules/{forwardingRule}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'forwardingRule' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/forwardingRules/{forwardingRule}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'forwardingRule' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/forwardingRules',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/forwardingRules',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setTarget' => array(
|
|
'path' => '{project}/global/forwardingRules/{forwardingRule}/setTarget',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'forwardingRule' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->globalOperations = new Google_Service_Compute_Resource_GlobalOperations(
|
|
$this,
|
|
$this->serviceName,
|
|
'globalOperations',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/operations',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/global/operations/{operation}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'operation' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/operations/{operation}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'operation' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/operations',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->healthChecks = new Google_Service_Compute_Resource_HealthChecks(
|
|
$this,
|
|
$this->serviceName,
|
|
'healthChecks',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/healthChecks/{healthCheck}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'healthCheck' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/healthChecks/{healthCheck}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'healthCheck' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/healthChecks',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/healthChecks',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/global/healthChecks/{healthCheck}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'healthCheck' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'update' => array(
|
|
'path' => '{project}/global/healthChecks/{healthCheck}',
|
|
'httpMethod' => 'PUT',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'healthCheck' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->httpHealthChecks = new Google_Service_Compute_Resource_HttpHealthChecks(
|
|
$this,
|
|
$this->serviceName,
|
|
'httpHealthChecks',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'httpHealthCheck' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'httpHealthCheck' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/httpHealthChecks',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/httpHealthChecks',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'httpHealthCheck' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'update' => array(
|
|
'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
|
|
'httpMethod' => 'PUT',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'httpHealthCheck' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->httpsHealthChecks = new Google_Service_Compute_Resource_HttpsHealthChecks(
|
|
$this,
|
|
$this->serviceName,
|
|
'httpsHealthChecks',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'httpsHealthCheck' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'httpsHealthCheck' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/httpsHealthChecks',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/httpsHealthChecks',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'httpsHealthCheck' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'update' => array(
|
|
'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
|
|
'httpMethod' => 'PUT',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'httpsHealthCheck' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->images = new Google_Service_Compute_Resource_Images(
|
|
$this,
|
|
$this->serviceName,
|
|
'images',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/images/{image}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'image' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'deprecate' => array(
|
|
'path' => '{project}/global/images/{image}/deprecate',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'image' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/images/{image}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'image' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getFromFamily' => array(
|
|
'path' => '{project}/global/images/family/{family}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'family' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getIamPolicy' => array(
|
|
'path' => '{project}/global/images/{resource}/getIamPolicy',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/images',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'forceCreate' => array(
|
|
'location' => 'query',
|
|
'type' => 'boolean',
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/images',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setIamPolicy' => array(
|
|
'path' => '{project}/global/images/{resource}/setIamPolicy',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'setLabels' => array(
|
|
'path' => '{project}/global/images/{resource}/setLabels',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'testIamPermissions' => array(
|
|
'path' => '{project}/global/images/{resource}/testIamPermissions',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->instanceGroupManagers = new Google_Service_Compute_Resource_InstanceGroupManagers(
|
|
$this,
|
|
$this->serviceName,
|
|
'instanceGroupManagers',
|
|
array(
|
|
'methods' => array(
|
|
'abandonInstances' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/instanceGroupManagers',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'deleteInstances' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroupManagers',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroupManagers',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'listManagedInstances' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'order_by' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'recreateInstances' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'resize' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'size' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setInstanceTemplate' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setTargetPools' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->instanceGroups = new Google_Service_Compute_Resource_InstanceGroups(
|
|
$this,
|
|
$this->serviceName,
|
|
'instanceGroups',
|
|
array(
|
|
'methods' => array(
|
|
'addInstances' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/instanceGroups',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroups',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroups',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'listInstances' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'removeInstances' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setNamedPorts' => array(
|
|
'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->instanceTemplates = new Google_Service_Compute_Resource_InstanceTemplates(
|
|
$this,
|
|
$this->serviceName,
|
|
'instanceTemplates',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/instanceTemplates/{instanceTemplate}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceTemplate' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/instanceTemplates/{instanceTemplate}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceTemplate' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getIamPolicy' => array(
|
|
'path' => '{project}/global/instanceTemplates/{resource}/getIamPolicy',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/instanceTemplates',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/instanceTemplates',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setIamPolicy' => array(
|
|
'path' => '{project}/global/instanceTemplates/{resource}/setIamPolicy',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'testIamPermissions' => array(
|
|
'path' => '{project}/global/instanceTemplates/{resource}/testIamPermissions',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->instances = new Google_Service_Compute_Resource_Instances(
|
|
$this,
|
|
$this->serviceName,
|
|
'instances',
|
|
array(
|
|
'methods' => array(
|
|
'addAccessConfig' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/addAccessConfig',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'networkInterface' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/instances',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'attachDisk' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/attachDisk',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'forceAttach' => array(
|
|
'location' => 'query',
|
|
'type' => 'boolean',
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'deleteAccessConfig' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'accessConfig' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'networkInterface' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'detachDisk' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/detachDisk',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'deviceName' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getIamPolicy' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{resource}/getIamPolicy',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getSerialPortOutput' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/serialPort',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'port' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'start' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/zones/{zone}/instances',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'sourceInstanceTemplate' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/zones/{zone}/instances',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'listReferrers' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/referrers',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'reset' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/reset',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setDeletionProtection' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{resource}/setDeletionProtection',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'deletionProtection' => array(
|
|
'location' => 'query',
|
|
'type' => 'boolean',
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setDiskAutoDelete' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'autoDelete' => array(
|
|
'location' => 'query',
|
|
'type' => 'boolean',
|
|
'required' => true,
|
|
),
|
|
'deviceName' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setIamPolicy' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{resource}/setIamPolicy',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'setLabels' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/setLabels',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setMachineResources' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/setMachineResources',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setMachineType' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/setMachineType',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setMetadata' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/setMetadata',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setMinCpuPlatform' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setScheduling' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/setScheduling',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setServiceAccount' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/setServiceAccount',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setTags' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/setTags',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'simulateMaintenanceEvent' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'start' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/start',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'startWithEncryptionKey' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'stop' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/stop',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'testIamPermissions' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{resource}/testIamPermissions',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'updateAccessConfig' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/updateAccessConfig',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'networkInterface' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'updateNetworkInterface' => array(
|
|
'path' => '{project}/zones/{zone}/instances/{instance}/updateNetworkInterface',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'networkInterface' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->interconnectAttachments = new Google_Service_Compute_Resource_InterconnectAttachments(
|
|
$this,
|
|
$this->serviceName,
|
|
'interconnectAttachments',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/interconnectAttachments',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'interconnectAttachment' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'interconnectAttachment' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/regions/{region}/interconnectAttachments',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/interconnectAttachments',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'interconnectAttachment' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->interconnectLocations = new Google_Service_Compute_Resource_InterconnectLocations(
|
|
$this,
|
|
$this->serviceName,
|
|
'interconnectLocations',
|
|
array(
|
|
'methods' => array(
|
|
'get' => array(
|
|
'path' => '{project}/global/interconnectLocations/{interconnectLocation}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'interconnectLocation' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/interconnectLocations',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->interconnects = new Google_Service_Compute_Resource_Interconnects(
|
|
$this,
|
|
$this->serviceName,
|
|
'interconnects',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/interconnects/{interconnect}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'interconnect' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/interconnects/{interconnect}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'interconnect' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getDiagnostics' => array(
|
|
'path' => '{project}/global/interconnects/{interconnect}/getDiagnostics',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'interconnect' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/interconnects',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/interconnects',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/global/interconnects/{interconnect}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'interconnect' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->licenseCodes = new Google_Service_Compute_Resource_LicenseCodes(
|
|
$this,
|
|
$this->serviceName,
|
|
'licenseCodes',
|
|
array(
|
|
'methods' => array(
|
|
'get' => array(
|
|
'path' => '{project}/global/licenseCodes/{licenseCode}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'licenseCode' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'testIamPermissions' => array(
|
|
'path' => '{project}/global/licenseCodes/{resource}/testIamPermissions',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->licenses = new Google_Service_Compute_Resource_Licenses(
|
|
$this,
|
|
$this->serviceName,
|
|
'licenses',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/licenses/{license}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'license' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/licenses/{license}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'license' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getIamPolicy' => array(
|
|
'path' => '{project}/global/licenses/{resource}/getIamPolicy',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/licenses',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/licenses',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setIamPolicy' => array(
|
|
'path' => '{project}/global/licenses/{resource}/setIamPolicy',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'testIamPermissions' => array(
|
|
'path' => '{project}/global/licenses/{resource}/testIamPermissions',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->machineTypes = new Google_Service_Compute_Resource_MachineTypes(
|
|
$this,
|
|
$this->serviceName,
|
|
'machineTypes',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/machineTypes',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/zones/{zone}/machineTypes/{machineType}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'machineType' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/zones/{zone}/machineTypes',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->networks = new Google_Service_Compute_Resource_Networks(
|
|
$this,
|
|
$this->serviceName,
|
|
'networks',
|
|
array(
|
|
'methods' => array(
|
|
'addPeering' => array(
|
|
'path' => '{project}/global/networks/{network}/addPeering',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'network' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/global/networks/{network}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'network' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/networks/{network}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'network' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/networks',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/networks',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/global/networks/{network}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'network' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'removePeering' => array(
|
|
'path' => '{project}/global/networks/{network}/removePeering',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'network' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'switchToCustomMode' => array(
|
|
'path' => '{project}/global/networks/{network}/switchToCustomMode',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'network' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->nodeGroups = new Google_Service_Compute_Resource_NodeGroups(
|
|
$this,
|
|
$this->serviceName,
|
|
'nodeGroups',
|
|
array(
|
|
'methods' => array(
|
|
'addNodes' => array(
|
|
'path' => '{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'nodeGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/nodeGroups',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/zones/{zone}/nodeGroups/{nodeGroup}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'nodeGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'deleteNodes' => array(
|
|
'path' => '{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'nodeGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/zones/{zone}/nodeGroups/{nodeGroup}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'nodeGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getIamPolicy' => array(
|
|
'path' => '{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/zones/{zone}/nodeGroups',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'initialNodeCount' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/zones/{zone}/nodeGroups',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'listNodes' => array(
|
|
'path' => '{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'nodeGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setIamPolicy' => array(
|
|
'path' => '{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'setNodeTemplate' => array(
|
|
'path' => '{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'nodeGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'testIamPermissions' => array(
|
|
'path' => '{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->nodeTemplates = new Google_Service_Compute_Resource_NodeTemplates(
|
|
$this,
|
|
$this->serviceName,
|
|
'nodeTemplates',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/nodeTemplates',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/regions/{region}/nodeTemplates/{nodeTemplate}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'nodeTemplate' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/nodeTemplates/{nodeTemplate}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'nodeTemplate' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getIamPolicy' => array(
|
|
'path' => '{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/regions/{region}/nodeTemplates',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/nodeTemplates',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setIamPolicy' => array(
|
|
'path' => '{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'testIamPermissions' => array(
|
|
'path' => '{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->nodeTypes = new Google_Service_Compute_Resource_NodeTypes(
|
|
$this,
|
|
$this->serviceName,
|
|
'nodeTypes',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/nodeTypes',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/zones/{zone}/nodeTypes/{nodeType}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'nodeType' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/zones/{zone}/nodeTypes',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->projects = new Google_Service_Compute_Resource_Projects(
|
|
$this,
|
|
$this->serviceName,
|
|
'projects',
|
|
array(
|
|
'methods' => array(
|
|
'disableXpnHost' => array(
|
|
'path' => '{project}/disableXpnHost',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'disableXpnResource' => array(
|
|
'path' => '{project}/disableXpnResource',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'enableXpnHost' => array(
|
|
'path' => '{project}/enableXpnHost',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'enableXpnResource' => array(
|
|
'path' => '{project}/enableXpnResource',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getXpnHost' => array(
|
|
'path' => '{project}/getXpnHost',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getXpnResources' => array(
|
|
'path' => '{project}/getXpnResources',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'order_by' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'listXpnHosts' => array(
|
|
'path' => '{project}/listXpnHosts',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'order_by' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'moveDisk' => array(
|
|
'path' => '{project}/moveDisk',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'moveInstance' => array(
|
|
'path' => '{project}/moveInstance',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setCommonInstanceMetadata' => array(
|
|
'path' => '{project}/setCommonInstanceMetadata',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setDefaultNetworkTier' => array(
|
|
'path' => '{project}/setDefaultNetworkTier',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setUsageExportBucket' => array(
|
|
'path' => '{project}/setUsageExportBucket',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->regionAutoscalers = new Google_Service_Compute_Resource_RegionAutoscalers(
|
|
$this,
|
|
$this->serviceName,
|
|
'regionAutoscalers',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/regions/{region}/autoscalers/{autoscaler}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'autoscaler' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/autoscalers/{autoscaler}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'autoscaler' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/regions/{region}/autoscalers',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/autoscalers',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/regions/{region}/autoscalers',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'autoscaler' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'update' => array(
|
|
'path' => '{project}/regions/{region}/autoscalers',
|
|
'httpMethod' => 'PUT',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'autoscaler' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->regionBackendServices = new Google_Service_Compute_Resource_RegionBackendServices(
|
|
$this,
|
|
$this->serviceName,
|
|
'regionBackendServices',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/regions/{region}/backendServices/{backendService}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendService' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/backendServices/{backendService}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendService' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getHealth' => array(
|
|
'path' => '{project}/regions/{region}/backendServices/{backendService}/getHealth',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendService' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/regions/{region}/backendServices',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/backendServices',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/regions/{region}/backendServices/{backendService}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendService' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'update' => array(
|
|
'path' => '{project}/regions/{region}/backendServices/{backendService}',
|
|
'httpMethod' => 'PUT',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'backendService' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->regionCommitments = new Google_Service_Compute_Resource_RegionCommitments(
|
|
$this,
|
|
$this->serviceName,
|
|
'regionCommitments',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/commitments',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/commitments/{commitment}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'commitment' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/regions/{region}/commitments',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/commitments',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->regionDiskTypes = new Google_Service_Compute_Resource_RegionDiskTypes(
|
|
$this,
|
|
$this->serviceName,
|
|
'regionDiskTypes',
|
|
array(
|
|
'methods' => array(
|
|
'get' => array(
|
|
'path' => '{project}/regions/{region}/diskTypes/{diskType}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'diskType' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/diskTypes',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->regionDisks = new Google_Service_Compute_Resource_RegionDisks(
|
|
$this,
|
|
$this->serviceName,
|
|
'regionDisks',
|
|
array(
|
|
'methods' => array(
|
|
'createSnapshot' => array(
|
|
'path' => '{project}/regions/{region}/disks/{disk}/createSnapshot',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'disk' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/regions/{region}/disks/{disk}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'disk' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/disks/{disk}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'disk' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/regions/{region}/disks',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'sourceImage' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/disks',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'resize' => array(
|
|
'path' => '{project}/regions/{region}/disks/{disk}/resize',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'disk' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setLabels' => array(
|
|
'path' => '{project}/regions/{region}/disks/{resource}/setLabels',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'testIamPermissions' => array(
|
|
'path' => '{project}/regions/{region}/disks/{resource}/testIamPermissions',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->regionInstanceGroupManagers = new Google_Service_Compute_Resource_RegionInstanceGroupManagers(
|
|
$this,
|
|
$this->serviceName,
|
|
'regionInstanceGroupManagers',
|
|
array(
|
|
'methods' => array(
|
|
'abandonInstances' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'deleteInstances' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroupManagers',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroupManagers',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'listManagedInstances' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'order_by' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'recreateInstances' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'resize' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'size' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setInstanceTemplate' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setTargetPools' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroupManager' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->regionInstanceGroups = new Google_Service_Compute_Resource_RegionInstanceGroups(
|
|
$this,
|
|
$this->serviceName,
|
|
'regionInstanceGroups',
|
|
array(
|
|
'methods' => array(
|
|
'get' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroups/{instanceGroup}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroups',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'listInstances' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setNamedPorts' => array(
|
|
'path' => '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'instanceGroup' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->regionOperations = new Google_Service_Compute_Resource_RegionOperations(
|
|
$this,
|
|
$this->serviceName,
|
|
'regionOperations',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/regions/{region}/operations/{operation}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'operation' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/operations/{operation}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'operation' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/operations',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->regions = new Google_Service_Compute_Resource_Regions(
|
|
$this,
|
|
$this->serviceName,
|
|
'regions',
|
|
array(
|
|
'methods' => array(
|
|
'get' => array(
|
|
'path' => '{project}/regions/{region}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->routers = new Google_Service_Compute_Resource_Routers(
|
|
$this,
|
|
$this->serviceName,
|
|
'routers',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/routers',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/regions/{region}/routers/{router}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'router' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/routers/{router}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'router' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getNatMappingInfo' => array(
|
|
'path' => '{project}/regions/{region}/routers/{router}/getNatMappingInfo',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'router' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'getRouterStatus' => array(
|
|
'path' => '{project}/regions/{region}/routers/{router}/getRouterStatus',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'router' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/regions/{region}/routers',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/routers',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/regions/{region}/routers/{router}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'router' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'preview' => array(
|
|
'path' => '{project}/regions/{region}/routers/{router}/preview',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'router' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'update' => array(
|
|
'path' => '{project}/regions/{region}/routers/{router}',
|
|
'httpMethod' => 'PUT',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'router' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->routes = new Google_Service_Compute_Resource_Routes(
|
|
$this,
|
|
$this->serviceName,
|
|
'routes',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/routes/{route}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'route' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/routes/{route}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'route' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/routes',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/routes',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->securityPolicies = new Google_Service_Compute_Resource_SecurityPolicies(
|
|
$this,
|
|
$this->serviceName,
|
|
'securityPolicies',
|
|
array(
|
|
'methods' => array(
|
|
'addRule' => array(
|
|
'path' => '{project}/global/securityPolicies/{securityPolicy}/addRule',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'securityPolicy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/global/securityPolicies/{securityPolicy}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'securityPolicy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/securityPolicies/{securityPolicy}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'securityPolicy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getRule' => array(
|
|
'path' => '{project}/global/securityPolicies/{securityPolicy}/getRule',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'securityPolicy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'priority' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/securityPolicies',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/securityPolicies',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/global/securityPolicies/{securityPolicy}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'securityPolicy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patchRule' => array(
|
|
'path' => '{project}/global/securityPolicies/{securityPolicy}/patchRule',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'securityPolicy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'priority' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
),'removeRule' => array(
|
|
'path' => '{project}/global/securityPolicies/{securityPolicy}/removeRule',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'securityPolicy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'priority' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->snapshots = new Google_Service_Compute_Resource_Snapshots(
|
|
$this,
|
|
$this->serviceName,
|
|
'snapshots',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/snapshots/{snapshot}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'snapshot' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/snapshots/{snapshot}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'snapshot' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getIamPolicy' => array(
|
|
'path' => '{project}/global/snapshots/{resource}/getIamPolicy',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/snapshots',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setIamPolicy' => array(
|
|
'path' => '{project}/global/snapshots/{resource}/setIamPolicy',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'setLabels' => array(
|
|
'path' => '{project}/global/snapshots/{resource}/setLabels',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'testIamPermissions' => array(
|
|
'path' => '{project}/global/snapshots/{resource}/testIamPermissions',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->sslCertificates = new Google_Service_Compute_Resource_SslCertificates(
|
|
$this,
|
|
$this->serviceName,
|
|
'sslCertificates',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/sslCertificates/{sslCertificate}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'sslCertificate' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/sslCertificates/{sslCertificate}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'sslCertificate' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/sslCertificates',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/sslCertificates',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->sslPolicies = new Google_Service_Compute_Resource_SslPolicies(
|
|
$this,
|
|
$this->serviceName,
|
|
'sslPolicies',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/sslPolicies/{sslPolicy}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'sslPolicy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/sslPolicies/{sslPolicy}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'sslPolicy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/sslPolicies',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/sslPolicies',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'listAvailableFeatures' => array(
|
|
'path' => '{project}/global/sslPolicies/listAvailableFeatures',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/global/sslPolicies/{sslPolicy}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'sslPolicy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->subnetworks = new Google_Service_Compute_Resource_Subnetworks(
|
|
$this,
|
|
$this->serviceName,
|
|
'subnetworks',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/subnetworks',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/regions/{region}/subnetworks/{subnetwork}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'subnetwork' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'expandIpCidrRange' => array(
|
|
'path' => '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'subnetwork' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/subnetworks/{subnetwork}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'subnetwork' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getIamPolicy' => array(
|
|
'path' => '{project}/regions/{region}/subnetworks/{resource}/getIamPolicy',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/regions/{region}/subnetworks',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/subnetworks',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'listUsable' => array(
|
|
'path' => '{project}/aggregated/subnetworks/listUsable',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/regions/{region}/subnetworks/{subnetwork}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'subnetwork' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setIamPolicy' => array(
|
|
'path' => '{project}/regions/{region}/subnetworks/{resource}/setIamPolicy',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'setPrivateIpGoogleAccess' => array(
|
|
'path' => '{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'subnetwork' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'testIamPermissions' => array(
|
|
'path' => '{project}/regions/{region}/subnetworks/{resource}/testIamPermissions',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'resource' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->targetHttpProxies = new Google_Service_Compute_Resource_TargetHttpProxies(
|
|
$this,
|
|
$this->serviceName,
|
|
'targetHttpProxies',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetHttpProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetHttpProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/targetHttpProxies',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/targetHttpProxies',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setUrlMap' => array(
|
|
'path' => '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetHttpProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->targetHttpsProxies = new Google_Service_Compute_Resource_TargetHttpsProxies(
|
|
$this,
|
|
$this->serviceName,
|
|
'targetHttpsProxies',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetHttpsProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetHttpsProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/targetHttpsProxies',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/targetHttpsProxies',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setQuicOverride' => array(
|
|
'path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetHttpsProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setSslCertificates' => array(
|
|
'path' => '{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetHttpsProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setSslPolicy' => array(
|
|
'path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetHttpsProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setUrlMap' => array(
|
|
'path' => '{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetHttpsProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->targetInstances = new Google_Service_Compute_Resource_TargetInstances(
|
|
$this,
|
|
$this->serviceName,
|
|
'targetInstances',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/targetInstances',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetInstance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetInstance' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/zones/{zone}/targetInstances',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/zones/{zone}/targetInstances',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->targetPools = new Google_Service_Compute_Resource_TargetPools(
|
|
$this,
|
|
$this->serviceName,
|
|
'targetPools',
|
|
array(
|
|
'methods' => array(
|
|
'addHealthCheck' => array(
|
|
'path' => '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetPool' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'addInstance' => array(
|
|
'path' => '{project}/regions/{region}/targetPools/{targetPool}/addInstance',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetPool' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/targetPools',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/regions/{region}/targetPools/{targetPool}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetPool' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/targetPools/{targetPool}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetPool' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'getHealth' => array(
|
|
'path' => '{project}/regions/{region}/targetPools/{targetPool}/getHealth',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetPool' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/regions/{region}/targetPools',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/targetPools',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'removeHealthCheck' => array(
|
|
'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetPool' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'removeInstance' => array(
|
|
'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeInstance',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetPool' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setBackup' => array(
|
|
'path' => '{project}/regions/{region}/targetPools/{targetPool}/setBackup',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetPool' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'failoverRatio' => array(
|
|
'location' => 'query',
|
|
'type' => 'number',
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->targetSslProxies = new Google_Service_Compute_Resource_TargetSslProxies(
|
|
$this,
|
|
$this->serviceName,
|
|
'targetSslProxies',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/targetSslProxies/{targetSslProxy}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetSslProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/targetSslProxies/{targetSslProxy}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetSslProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/targetSslProxies',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/targetSslProxies',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setBackendService' => array(
|
|
'path' => '{project}/global/targetSslProxies/{targetSslProxy}/setBackendService',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetSslProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setProxyHeader' => array(
|
|
'path' => '{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetSslProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setSslCertificates' => array(
|
|
'path' => '{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetSslProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setSslPolicy' => array(
|
|
'path' => '{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetSslProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->targetTcpProxies = new Google_Service_Compute_Resource_TargetTcpProxies(
|
|
$this,
|
|
$this->serviceName,
|
|
'targetTcpProxies',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/targetTcpProxies/{targetTcpProxy}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetTcpProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/targetTcpProxies/{targetTcpProxy}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetTcpProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/targetTcpProxies',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/targetTcpProxies',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setBackendService' => array(
|
|
'path' => '{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetTcpProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'setProxyHeader' => array(
|
|
'path' => '{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetTcpProxy' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->targetVpnGateways = new Google_Service_Compute_Resource_TargetVpnGateways(
|
|
$this,
|
|
$this->serviceName,
|
|
'targetVpnGateways',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/targetVpnGateways',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetVpnGateway' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'targetVpnGateway' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/regions/{region}/targetVpnGateways',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/targetVpnGateways',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->urlMaps = new Google_Service_Compute_Resource_UrlMaps(
|
|
$this,
|
|
$this->serviceName,
|
|
'urlMaps',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/global/urlMaps/{urlMap}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'urlMap' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/global/urlMaps/{urlMap}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'urlMap' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/global/urlMaps',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'invalidateCache' => array(
|
|
'path' => '{project}/global/urlMaps/{urlMap}/invalidateCache',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'urlMap' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/global/urlMaps',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'patch' => array(
|
|
'path' => '{project}/global/urlMaps/{urlMap}',
|
|
'httpMethod' => 'PATCH',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'urlMap' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'update' => array(
|
|
'path' => '{project}/global/urlMaps/{urlMap}',
|
|
'httpMethod' => 'PUT',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'urlMap' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'validate' => array(
|
|
'path' => '{project}/global/urlMaps/{urlMap}/validate',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'urlMap' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->vpnTunnels = new Google_Service_Compute_Resource_VpnTunnels(
|
|
$this,
|
|
$this->serviceName,
|
|
'vpnTunnels',
|
|
array(
|
|
'methods' => array(
|
|
'aggregatedList' => array(
|
|
'path' => '{project}/aggregated/vpnTunnels',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'delete' => array(
|
|
'path' => '{project}/regions/{region}/vpnTunnels/{vpnTunnel}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'vpnTunnel' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/regions/{region}/vpnTunnels/{vpnTunnel}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'vpnTunnel' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'insert' => array(
|
|
'path' => '{project}/regions/{region}/vpnTunnels',
|
|
'httpMethod' => 'POST',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'requestId' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/regions/{region}/vpnTunnels',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'region' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->zoneOperations = new Google_Service_Compute_Resource_ZoneOperations(
|
|
$this,
|
|
$this->serviceName,
|
|
'zoneOperations',
|
|
array(
|
|
'methods' => array(
|
|
'delete' => array(
|
|
'path' => '{project}/zones/{zone}/operations/{operation}',
|
|
'httpMethod' => 'DELETE',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'operation' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'get' => array(
|
|
'path' => '{project}/zones/{zone}/operations/{operation}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'operation' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/zones/{zone}/operations',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
$this->zones = new Google_Service_Compute_Resource_Zones(
|
|
$this,
|
|
$this->serviceName,
|
|
'zones',
|
|
array(
|
|
'methods' => array(
|
|
'get' => array(
|
|
'path' => '{project}/zones/{zone}',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'zone' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
),
|
|
),'list' => array(
|
|
'path' => '{project}/zones',
|
|
'httpMethod' => 'GET',
|
|
'parameters' => array(
|
|
'project' => array(
|
|
'location' => 'path',
|
|
'type' => 'string',
|
|
'required' => true,
|
|
),
|
|
'filter' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'maxResults' => array(
|
|
'location' => 'query',
|
|
'type' => 'integer',
|
|
),
|
|
'orderBy' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
'pageToken' => array(
|
|
'location' => 'query',
|
|
'type' => 'string',
|
|
),
|
|
),
|
|
),
|
|
)
|
|
)
|
|
);
|
|
}
|
|
}
|