Mise à jour des librairies vendor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_CloudRuntimeConfig_Cardinality extends Google_Model
|
||||
{
|
||||
public $number;
|
||||
public $path;
|
||||
|
||||
public function setNumber($number)
|
||||
{
|
||||
$this->number = $number;
|
||||
}
|
||||
public function getNumber()
|
||||
{
|
||||
return $this->number;
|
||||
}
|
||||
public function setPath($path)
|
||||
{
|
||||
$this->path = $path;
|
||||
}
|
||||
public function getPath()
|
||||
{
|
||||
return $this->path;
|
||||
}
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_CloudRuntimeConfig_EndCondition extends Google_Model
|
||||
{
|
||||
protected $cardinalityType = 'Google_Service_CloudRuntimeConfig_Cardinality';
|
||||
protected $cardinalityDataType = '';
|
||||
|
||||
public function setCardinality(Google_Service_CloudRuntimeConfig_Cardinality $cardinality)
|
||||
{
|
||||
$this->cardinality = $cardinality;
|
||||
}
|
||||
public function getCardinality()
|
||||
{
|
||||
return $this->cardinality;
|
||||
}
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_CloudRuntimeConfig_ListConfigsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'configs';
|
||||
protected $configsType = 'Google_Service_CloudRuntimeConfig_RuntimeConfig';
|
||||
protected $configsDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
public function setConfigs($configs)
|
||||
{
|
||||
$this->configs = $configs;
|
||||
}
|
||||
public function getConfigs()
|
||||
{
|
||||
return $this->configs;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -30,10 +30,16 @@ class Google_Service_CloudRuntimeConfig_ListOperationsResponse extends Google_Co
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_CloudRuntimeConfig_Operation
|
||||
*/
|
||||
public function setOperations($operations)
|
||||
{
|
||||
$this->operations = $operations;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_CloudRuntimeConfig_Operation
|
||||
*/
|
||||
public function getOperations()
|
||||
{
|
||||
return $this->operations;
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_CloudRuntimeConfig_ListVariablesResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'variables';
|
||||
public $nextPageToken;
|
||||
protected $variablesType = 'Google_Service_CloudRuntimeConfig_Variable';
|
||||
protected $variablesDataType = 'array';
|
||||
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setVariables($variables)
|
||||
{
|
||||
$this->variables = $variables;
|
||||
}
|
||||
public function getVariables()
|
||||
{
|
||||
return $this->variables;
|
||||
}
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_CloudRuntimeConfig_ListWaitersResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'waiters';
|
||||
public $nextPageToken;
|
||||
protected $waitersType = 'Google_Service_CloudRuntimeConfig_Waiter';
|
||||
protected $waitersDataType = 'array';
|
||||
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setWaiters($waiters)
|
||||
{
|
||||
$this->waiters = $waiters;
|
||||
}
|
||||
public function getWaiters()
|
||||
{
|
||||
return $this->waiters;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -32,10 +32,16 @@ class Google_Service_CloudRuntimeConfig_Operation extends Google_Model
|
||||
{
|
||||
return $this->done;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_CloudRuntimeConfig_Status
|
||||
*/
|
||||
public function setError(Google_Service_CloudRuntimeConfig_Status $error)
|
||||
{
|
||||
$this->error = $error;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_CloudRuntimeConfig_Status
|
||||
*/
|
||||
public function getError()
|
||||
{
|
||||
return $this->error;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -67,16 +67,20 @@ class Google_Service_CloudRuntimeConfig_Resource_Operations extends Google_Servi
|
||||
* Lists operations that match the specified filter in the request. If the
|
||||
* server doesn't support this method, it returns `UNIMPLEMENTED`.
|
||||
*
|
||||
* NOTE: the `name` binding below allows API services to override the binding to
|
||||
* use different resource name schemes, such as `users/operations`.
|
||||
* (operations.listOperations)
|
||||
* NOTE: the `name` binding allows API services to override the binding to use
|
||||
* different resource name schemes, such as `users/operations`. To override the
|
||||
* binding, API services can add a binding such as
|
||||
* `"/v1/{name=users}/operations"` to their service configuration. For backwards
|
||||
* compatibility, the default name includes the operations collection id,
|
||||
* however overriding users must ensure the name binding is the parent resource,
|
||||
* without the operations collection id. (operations.listOperations)
|
||||
*
|
||||
* @param string $name The name of the operation collection.
|
||||
* @param string $name The name of the operation's parent resource.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string filter The standard list filter.
|
||||
* @opt_param string pageToken The standard list page token.
|
||||
* @opt_param int pageSize The standard list page size.
|
||||
* @opt_param string filter The standard list filter.
|
||||
* @return Google_Service_CloudRuntimeConfig_ListOperationsResponse
|
||||
*/
|
||||
public function listOperations($name, $optParams = array())
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "projects" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...);
|
||||
* $projects = $runtimeconfigService->projects;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_CloudRuntimeConfig_Resource_Projects extends Google_Service_Resource
|
||||
{
|
||||
}
|
||||
@@ -1,123 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "configs" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...);
|
||||
* $configs = $runtimeconfigService->configs;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_CloudRuntimeConfig_Resource_ProjectsConfigs extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a new RuntimeConfig resource. The configuration name must be unique
|
||||
* within project. (configs.create)
|
||||
*
|
||||
* @param string $parent The [project
|
||||
* ID](https://support.google.com/cloud/answer/6158840?hl=en_topic=6158848) for
|
||||
* this request, in the format `projects/[PROJECT_ID]`.
|
||||
* @param Google_Service_CloudRuntimeConfig_RuntimeConfig $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string requestId An optional unique request_id. If server receives
|
||||
* two Create requests with the same request_id then second request will be
|
||||
* ignored and the resource stored in the backend will be returned. Empty
|
||||
* request_id fields are ignored. It is responsibility of the client to ensure
|
||||
* uniqueness of the request_id strings. The strings are limited to 64
|
||||
* characters.
|
||||
* @return Google_Service_CloudRuntimeConfig_RuntimeConfig
|
||||
*/
|
||||
public function create($parent, Google_Service_CloudRuntimeConfig_RuntimeConfig $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_CloudRuntimeConfig_RuntimeConfig");
|
||||
}
|
||||
/**
|
||||
* Deletes a RuntimeConfig resource. (configs.delete)
|
||||
*
|
||||
* @param string $name The RuntimeConfig resource to delete, in the format:
|
||||
*
|
||||
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty
|
||||
*/
|
||||
public function delete($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty");
|
||||
}
|
||||
/**
|
||||
* Gets information about a RuntimeConfig resource. (configs.get)
|
||||
*
|
||||
* @param string $name The name of the RuntimeConfig resource to retrieve, in
|
||||
* the format:
|
||||
*
|
||||
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_CloudRuntimeConfig_RuntimeConfig
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_CloudRuntimeConfig_RuntimeConfig");
|
||||
}
|
||||
/**
|
||||
* Lists all the RuntimeConfig resources within project.
|
||||
* (configs.listProjectsConfigs)
|
||||
*
|
||||
* @param string $parent The [project
|
||||
* ID](https://support.google.com/cloud/answer/6158840?hl=en_topic=6158848) for
|
||||
* this request, in the format `projects/[PROJECT_ID]`.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int pageSize Specifies the number of results to return per page.
|
||||
* If there are fewer elements than the specified number, returns all elements.
|
||||
* @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
|
||||
* a `nextPageToken` returned by a previous list request to get the next page of
|
||||
* results.
|
||||
* @return Google_Service_CloudRuntimeConfig_ListConfigsResponse
|
||||
*/
|
||||
public function listProjectsConfigs($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_CloudRuntimeConfig_ListConfigsResponse");
|
||||
}
|
||||
/**
|
||||
* Updates a RuntimeConfig resource. The configuration must exist beforehand.
|
||||
* (configs.update)
|
||||
*
|
||||
* @param string $name The name of the RuntimeConfig resource to update, in the
|
||||
* format:
|
||||
*
|
||||
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
|
||||
* @param Google_Service_CloudRuntimeConfig_RuntimeConfig $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_CloudRuntimeConfig_RuntimeConfig
|
||||
*/
|
||||
public function update($name, Google_Service_CloudRuntimeConfig_RuntimeConfig $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('update', array($params), "Google_Service_CloudRuntimeConfig_RuntimeConfig");
|
||||
}
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "operations" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...);
|
||||
* $operations = $runtimeconfigService->operations;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_CloudRuntimeConfig_Resource_ProjectsConfigsOperations extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets the latest state of a long-running operation. Clients can use this
|
||||
* method to poll the operation result at intervals as recommended by the API
|
||||
* service. (operations.get)
|
||||
*
|
||||
* @param string $name The name of the operation resource.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_CloudRuntimeConfig_Operation
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_CloudRuntimeConfig_Operation");
|
||||
}
|
||||
}
|
||||
@@ -1,170 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "variables" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...);
|
||||
* $variables = $runtimeconfigService->variables;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_CloudRuntimeConfig_Resource_ProjectsConfigsVariables extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a variable within the given configuration. You cannot create a
|
||||
* variable with a name that is a prefix of an existing variable name, or a name
|
||||
* that has an existing variable name as a prefix.
|
||||
*
|
||||
* To learn more about creating a variable, read the [Setting and Getting Data
|
||||
* ](/deployment-manager/runtime-configurator/set-and-get-variables)
|
||||
* documentation. (variables.create)
|
||||
*
|
||||
* @param string $parent The path to the RutimeConfig resource that this
|
||||
* variable should belong to. The configuration must exist beforehand; the path
|
||||
* must by in the format:
|
||||
*
|
||||
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
|
||||
* @param Google_Service_CloudRuntimeConfig_Variable $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string requestId An optional unique request_id. If server receives
|
||||
* two Create requests with the same request_id then second request will be
|
||||
* ignored and the resource stored in the backend will be returned. Empty
|
||||
* request_id fields are ignored. It is responsibility of the client to ensure
|
||||
* uniqueness of the request_id strings. The strings are limited to 64
|
||||
* characters.
|
||||
* @return Google_Service_CloudRuntimeConfig_Variable
|
||||
*/
|
||||
public function create($parent, Google_Service_CloudRuntimeConfig_Variable $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_CloudRuntimeConfig_Variable");
|
||||
}
|
||||
/**
|
||||
* Deletes a variable or multiple variables.
|
||||
*
|
||||
* If you specify a variable name, then that variable is deleted. If you specify
|
||||
* a prefix and `recursive` is true, then all variables with that prefix are
|
||||
* deleted. You must set a `recursive` to true if you delete variables by
|
||||
* prefix. (variables.delete)
|
||||
*
|
||||
* @param string $name The name of the variable to delete, in the format:
|
||||
*
|
||||
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool recursive Set to `true` to recursively delete multiple
|
||||
* variables with the same prefix.
|
||||
* @return Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty
|
||||
*/
|
||||
public function delete($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty");
|
||||
}
|
||||
/**
|
||||
* Gets information about a single variable. (variables.get)
|
||||
*
|
||||
* @param string $name The name of the variable to return, in the format:
|
||||
*
|
||||
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIBLE_NAME]`
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_CloudRuntimeConfig_Variable
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_CloudRuntimeConfig_Variable");
|
||||
}
|
||||
/**
|
||||
* Lists variables within given a configuration, matching any provided filters.
|
||||
* This only lists variable names, not the values.
|
||||
* (variables.listProjectsConfigsVariables)
|
||||
*
|
||||
* @param string $parent The path to the RuntimeConfig resource for which you
|
||||
* want to list variables. The configuration must exist beforehand; the path
|
||||
* must by in the format:
|
||||
*
|
||||
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int pageSize Specifies the number of results to return per page.
|
||||
* If there are fewer elements than the specified number, returns all elements.
|
||||
* @opt_param string filter Filters variables by matching the specified filter.
|
||||
* For example:
|
||||
*
|
||||
* `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`.
|
||||
* @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
|
||||
* a `nextPageToken` returned by a previous list request to get the next page of
|
||||
* results.
|
||||
* @return Google_Service_CloudRuntimeConfig_ListVariablesResponse
|
||||
*/
|
||||
public function listProjectsConfigsVariables($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_CloudRuntimeConfig_ListVariablesResponse");
|
||||
}
|
||||
/**
|
||||
* Updates an existing variable with a new value. (variables.update)
|
||||
*
|
||||
* @param string $name The name of the variable to update, in the format:
|
||||
*
|
||||
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`
|
||||
* @param Google_Service_CloudRuntimeConfig_Variable $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_CloudRuntimeConfig_Variable
|
||||
*/
|
||||
public function update($name, Google_Service_CloudRuntimeConfig_Variable $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('update', array($params), "Google_Service_CloudRuntimeConfig_Variable");
|
||||
}
|
||||
/**
|
||||
* Watches a specific variable and waits for a change in the variable's value.
|
||||
* When there is a change, this method returns the new value or times out.
|
||||
*
|
||||
* If a variable is deleted while being watched, the `variableState` state is
|
||||
* set to `DELETED` and the method returns the last known variable `value`.
|
||||
*
|
||||
* If you set the deadline for watching to a larger value than internal timeout
|
||||
* (60 seconds), the current variable value is returned and the `variableState`
|
||||
* will be `VARIABLE_STATE_UNSPECIFIED`.
|
||||
*
|
||||
* To learn more about creating a watcher, read the [Watching a Variable for
|
||||
* Changes](/deployment-manager/runtime-configurator/watching-a-variable)
|
||||
* documentation. (variables.watch)
|
||||
*
|
||||
* @param string $name The name of the variable to watch, in the format:
|
||||
*
|
||||
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
|
||||
* @param Google_Service_CloudRuntimeConfig_WatchVariableRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_CloudRuntimeConfig_Variable
|
||||
*/
|
||||
public function watch($name, Google_Service_CloudRuntimeConfig_WatchVariableRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('watch', array($params), "Google_Service_CloudRuntimeConfig_Variable");
|
||||
}
|
||||
}
|
||||
@@ -1,111 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "waiters" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $runtimeconfigService = new Google_Service_CloudRuntimeConfig(...);
|
||||
* $waiters = $runtimeconfigService->waiters;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_CloudRuntimeConfig_Resource_ProjectsConfigsWaiters extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a Waiter resource. This operation returns a long-running Operation
|
||||
* resource which can be polled for completion. However, a waiter with the given
|
||||
* name will exist (and can be retrieved) prior to the operation completing. If
|
||||
* the operation fails, the failed Waiter resource will still exist and must be
|
||||
* deleted prior to subsequent creation attempts. (waiters.create)
|
||||
*
|
||||
* @param string $parent The path to the configuration that will own the waiter.
|
||||
* The configuration must exist beforehand; the path must by in the format:
|
||||
*
|
||||
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
|
||||
* @param Google_Service_CloudRuntimeConfig_Waiter $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string requestId An optional unique request_id. If server receives
|
||||
* two Create requests with the same request_id then second request will be
|
||||
* ignored and information stored in the backend will be returned. Empty
|
||||
* request_id fields are ignored. It is responsibility of the client to ensure
|
||||
* uniqueness of the request_id strings. The strings are limited to 64
|
||||
* characters.
|
||||
* @return Google_Service_CloudRuntimeConfig_Operation
|
||||
*/
|
||||
public function create($parent, Google_Service_CloudRuntimeConfig_Waiter $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_CloudRuntimeConfig_Operation");
|
||||
}
|
||||
/**
|
||||
* Deletes the waiter with the specified name. (waiters.delete)
|
||||
*
|
||||
* @param string $name The Waiter resource to delete, in the format:
|
||||
*
|
||||
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty
|
||||
*/
|
||||
public function delete($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_CloudRuntimeConfig_RuntimeconfigEmpty");
|
||||
}
|
||||
/**
|
||||
* Gets information about a single waiter. (waiters.get)
|
||||
*
|
||||
* @param string $name The fully-qualified name of the Waiter resource object to
|
||||
* retrieve, in the format:
|
||||
*
|
||||
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_CloudRuntimeConfig_Waiter
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_CloudRuntimeConfig_Waiter");
|
||||
}
|
||||
/**
|
||||
* List waiters within the given configuration.
|
||||
* (waiters.listProjectsConfigsWaiters)
|
||||
*
|
||||
* @param string $parent The path to the configuration for which you want to get
|
||||
* a list of waiters. The configuration must exist beforehand; the path must by
|
||||
* in the format:
|
||||
*
|
||||
* `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int pageSize Specifies the number of results to return per page.
|
||||
* If there are fewer elements than the specified number, returns all elements.
|
||||
* @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
|
||||
* a `nextPageToken` returned by a previous list request to get the next page of
|
||||
* results.
|
||||
* @return Google_Service_CloudRuntimeConfig_ListWaitersResponse
|
||||
*/
|
||||
public function listProjectsConfigsWaiters($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_CloudRuntimeConfig_ListWaitersResponse");
|
||||
}
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_CloudRuntimeConfig_RuntimeConfig extends Google_Model
|
||||
{
|
||||
public $description;
|
||||
public $name;
|
||||
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_CloudRuntimeConfig_Variable extends Google_Model
|
||||
{
|
||||
public $name;
|
||||
public $state;
|
||||
public $text;
|
||||
public $updateTime;
|
||||
public $value;
|
||||
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setState($state)
|
||||
{
|
||||
$this->state = $state;
|
||||
}
|
||||
public function getState()
|
||||
{
|
||||
return $this->state;
|
||||
}
|
||||
public function setText($text)
|
||||
{
|
||||
$this->text = $text;
|
||||
}
|
||||
public function getText()
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
public function setUpdateTime($updateTime)
|
||||
{
|
||||
$this->updateTime = $updateTime;
|
||||
}
|
||||
public function getUpdateTime()
|
||||
{
|
||||
return $this->updateTime;
|
||||
}
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
@@ -1,87 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_CloudRuntimeConfig_Waiter extends Google_Model
|
||||
{
|
||||
public $createTime;
|
||||
public $done;
|
||||
protected $errorType = 'Google_Service_CloudRuntimeConfig_Status';
|
||||
protected $errorDataType = '';
|
||||
protected $failureType = 'Google_Service_CloudRuntimeConfig_EndCondition';
|
||||
protected $failureDataType = '';
|
||||
public $name;
|
||||
protected $successType = 'Google_Service_CloudRuntimeConfig_EndCondition';
|
||||
protected $successDataType = '';
|
||||
public $timeout;
|
||||
|
||||
public function setCreateTime($createTime)
|
||||
{
|
||||
$this->createTime = $createTime;
|
||||
}
|
||||
public function getCreateTime()
|
||||
{
|
||||
return $this->createTime;
|
||||
}
|
||||
public function setDone($done)
|
||||
{
|
||||
$this->done = $done;
|
||||
}
|
||||
public function getDone()
|
||||
{
|
||||
return $this->done;
|
||||
}
|
||||
public function setError(Google_Service_CloudRuntimeConfig_Status $error)
|
||||
{
|
||||
$this->error = $error;
|
||||
}
|
||||
public function getError()
|
||||
{
|
||||
return $this->error;
|
||||
}
|
||||
public function setFailure(Google_Service_CloudRuntimeConfig_EndCondition $failure)
|
||||
{
|
||||
$this->failure = $failure;
|
||||
}
|
||||
public function getFailure()
|
||||
{
|
||||
return $this->failure;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setSuccess(Google_Service_CloudRuntimeConfig_EndCondition $success)
|
||||
{
|
||||
$this->success = $success;
|
||||
}
|
||||
public function getSuccess()
|
||||
{
|
||||
return $this->success;
|
||||
}
|
||||
public function setTimeout($timeout)
|
||||
{
|
||||
$this->timeout = $timeout;
|
||||
}
|
||||
public function getTimeout()
|
||||
{
|
||||
return $this->timeout;
|
||||
}
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_CloudRuntimeConfig_WatchVariableRequest extends Google_Model
|
||||
{
|
||||
public $newerThan;
|
||||
|
||||
public function setNewerThan($newerThan)
|
||||
{
|
||||
$this->newerThan = $newerThan;
|
||||
}
|
||||
public function getNewerThan()
|
||||
{
|
||||
return $this->newerThan;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user