Mise à jour des librairies
This commit is contained in:
@@ -16,15 +16,15 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Service definition for Replicapool (v1beta2).
|
||||
* Service definition for Replicapool (v1beta1).
|
||||
*
|
||||
* <p>
|
||||
* [Deprecated. Please use Instance Group Manager in Compute API] Provides
|
||||
* groups of homogenous Compute Engine instances.</p>
|
||||
* The Replica Pool API allows users to declaratively provision and manage
|
||||
* groups of Google Compute Engine instances based on a common template.</p>
|
||||
*
|
||||
* <p>
|
||||
* For more information about this service, see the API
|
||||
* <a href="https://developers.google.com/compute/docs/instance-groups/manager/v1beta2" target="_blank">Documentation</a>
|
||||
* <a href="https://developers.google.com/compute/docs/replica-pool/" target="_blank">Documentation</a>
|
||||
* </p>
|
||||
*
|
||||
* @author Google, Inc.
|
||||
@@ -37,15 +37,21 @@ class Google_Service_Replicapool extends Google_Service
|
||||
/** View your data across Google Cloud Platform services. */
|
||||
const CLOUD_PLATFORM_READ_ONLY =
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only";
|
||||
/** 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";
|
||||
/** View and manage your Google Cloud Platform management resources and deployment status information. */
|
||||
const NDEV_CLOUDMAN =
|
||||
"https://www.googleapis.com/auth/ndev.cloudman";
|
||||
/** View your Google Cloud Platform management resources and deployment status information. */
|
||||
const NDEV_CLOUDMAN_READONLY =
|
||||
"https://www.googleapis.com/auth/ndev.cloudman.readonly";
|
||||
/** View and manage replica pools. */
|
||||
const REPLICAPOOL =
|
||||
"https://www.googleapis.com/auth/replicapool";
|
||||
/** View replica pools. */
|
||||
const REPLICAPOOL_READONLY =
|
||||
"https://www.googleapis.com/auth/replicapool.readonly";
|
||||
|
||||
public $instanceGroupManagers;
|
||||
public $zoneOperations;
|
||||
public $pools;
|
||||
public $replicas;
|
||||
|
||||
/**
|
||||
* Constructs the internal representation of the Replicapool service.
|
||||
@@ -56,21 +62,22 @@ class Google_Service_Replicapool extends Google_Service
|
||||
{
|
||||
parent::__construct($client);
|
||||
$this->rootUrl = 'https://www.googleapis.com/';
|
||||
$this->servicePath = 'replicapool/v1beta2/projects/';
|
||||
$this->version = 'v1beta2';
|
||||
$this->servicePath = 'replicapool/v1beta1/projects/';
|
||||
$this->batchPath = 'batch/replicapool/v1beta1';
|
||||
$this->version = 'v1beta1';
|
||||
$this->serviceName = 'replicapool';
|
||||
|
||||
$this->instanceGroupManagers = new Google_Service_Replicapool_Resource_InstanceGroupManagers(
|
||||
$this->pools = new Google_Service_Replicapool_Resource_Pools(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'instanceGroupManagers',
|
||||
'pools',
|
||||
array(
|
||||
'methods' => array(
|
||||
'abandonInstances' => array(
|
||||
'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances',
|
||||
'delete' => array(
|
||||
'path' => '{projectName}/zones/{zone}/pools/{poolName}',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'project' => array(
|
||||
'projectName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
@@ -80,57 +87,17 @@ class Google_Service_Replicapool extends Google_Service
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'instanceGroupManager' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'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,
|
||||
),
|
||||
),
|
||||
),'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(
|
||||
'poolName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'get' => array(
|
||||
'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}',
|
||||
'path' => '{projectName}/zones/{zone}/pools/{poolName}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'project' => array(
|
||||
'projectName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
@@ -140,17 +107,17 @@ class Google_Service_Replicapool extends Google_Service
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'instanceGroupManager' => array(
|
||||
'poolName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'insert' => array(
|
||||
'path' => '{project}/zones/{zone}/instanceGroupManagers',
|
||||
'path' => '{projectName}/zones/{zone}/pools',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'project' => array(
|
||||
'projectName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
@@ -160,17 +127,12 @@ class Google_Service_Replicapool extends Google_Service
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'size' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'list' => array(
|
||||
'path' => '{project}/zones/{zone}/instanceGroupManagers',
|
||||
'path' => '{projectName}/zones/{zone}/pools',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'project' => array(
|
||||
'projectName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
@@ -180,10 +142,6 @@ class Google_Service_Replicapool extends Google_Service
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'filter' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
'maxResults' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
@@ -193,31 +151,11 @@ class Google_Service_Replicapool extends Google_Service
|
||||
'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,
|
||||
),
|
||||
),
|
||||
),'resize' => array(
|
||||
'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize',
|
||||
'path' => '{projectName}/zones/{zone}/pools/{poolName}/resize',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'project' => array(
|
||||
'projectName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
@@ -227,22 +165,21 @@ class Google_Service_Replicapool extends Google_Service
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'instanceGroupManager' => array(
|
||||
'poolName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'size' => array(
|
||||
'numReplicas' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'setInstanceTemplate' => array(
|
||||
'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate',
|
||||
),'updatetemplate' => array(
|
||||
'path' => '{projectName}/zones/{zone}/pools/{poolName}/updateTemplate',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'project' => array(
|
||||
'projectName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
@@ -252,27 +189,7 @@ class Google_Service_Replicapool extends Google_Service
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'instanceGroupManager' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'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(
|
||||
'poolName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
@@ -282,17 +199,17 @@ class Google_Service_Replicapool extends Google_Service
|
||||
)
|
||||
)
|
||||
);
|
||||
$this->zoneOperations = new Google_Service_Replicapool_Resource_ZoneOperations(
|
||||
$this->replicas = new Google_Service_Replicapool_Resource_Replicas(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'zoneOperations',
|
||||
'replicas',
|
||||
array(
|
||||
'methods' => array(
|
||||
'get' => array(
|
||||
'path' => '{project}/zones/{zone}/operations/{operation}',
|
||||
'httpMethod' => 'GET',
|
||||
'delete' => array(
|
||||
'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'project' => array(
|
||||
'projectName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
@@ -302,17 +219,47 @@ class Google_Service_Replicapool extends Google_Service
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'operation' => array(
|
||||
'poolName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'replicaName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'get' => array(
|
||||
'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'projectName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'zone' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'poolName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'replicaName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'list' => array(
|
||||
'path' => '{project}/zones/{zone}/operations',
|
||||
'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'project' => array(
|
||||
'projectName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
@@ -322,9 +269,10 @@ class Google_Service_Replicapool extends Google_Service
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'filter' => array(
|
||||
'location' => 'query',
|
||||
'poolName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'maxResults' => array(
|
||||
'location' => 'query',
|
||||
@@ -335,6 +283,31 @@ class Google_Service_Replicapool extends Google_Service
|
||||
'type' => 'string',
|
||||
),
|
||||
),
|
||||
),'restart' => array(
|
||||
'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}/restart',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'projectName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'zone' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'poolName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'replicaName' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user