Mise à jour des librairies

This commit is contained in:
lars
2019-03-10 23:30:23 +01:00
parent 2040b7be39
commit 7df3d72953
3603 changed files with 233169 additions and 107764 deletions

View File

@@ -0,0 +1,20 @@
<?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.
*/
class Google_Service_CloudComposer_ComposerEmpty extends Google_Model
{
}

View File

@@ -0,0 +1,91 @@
<?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.
*/
class Google_Service_CloudComposer_Environment extends Google_Model
{
protected $configType = 'Google_Service_CloudComposer_EnvironmentConfig';
protected $configDataType = '';
public $createTime;
public $labels;
public $name;
public $state;
public $updateTime;
public $uuid;
/**
* @param Google_Service_CloudComposer_EnvironmentConfig
*/
public function setConfig(Google_Service_CloudComposer_EnvironmentConfig $config)
{
$this->config = $config;
}
/**
* @return Google_Service_CloudComposer_EnvironmentConfig
*/
public function getConfig()
{
return $this->config;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setLabels($labels)
{
$this->labels = $labels;
}
public function getLabels()
{
return $this->labels;
}
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 setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
public function setUuid($uuid)
{
$this->uuid = $uuid;
}
public function getUuid()
{
return $this->uuid;
}
}

View File

@@ -0,0 +1,89 @@
<?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.
*/
class Google_Service_CloudComposer_EnvironmentConfig extends Google_Model
{
public $airflowUri;
public $dagGcsPrefix;
public $gkeCluster;
protected $nodeConfigType = 'Google_Service_CloudComposer_NodeConfig';
protected $nodeConfigDataType = '';
public $nodeCount;
protected $softwareConfigType = 'Google_Service_CloudComposer_SoftwareConfig';
protected $softwareConfigDataType = '';
public function setAirflowUri($airflowUri)
{
$this->airflowUri = $airflowUri;
}
public function getAirflowUri()
{
return $this->airflowUri;
}
public function setDagGcsPrefix($dagGcsPrefix)
{
$this->dagGcsPrefix = $dagGcsPrefix;
}
public function getDagGcsPrefix()
{
return $this->dagGcsPrefix;
}
public function setGkeCluster($gkeCluster)
{
$this->gkeCluster = $gkeCluster;
}
public function getGkeCluster()
{
return $this->gkeCluster;
}
/**
* @param Google_Service_CloudComposer_NodeConfig
*/
public function setNodeConfig(Google_Service_CloudComposer_NodeConfig $nodeConfig)
{
$this->nodeConfig = $nodeConfig;
}
/**
* @return Google_Service_CloudComposer_NodeConfig
*/
public function getNodeConfig()
{
return $this->nodeConfig;
}
public function setNodeCount($nodeCount)
{
$this->nodeCount = $nodeCount;
}
public function getNodeCount()
{
return $this->nodeCount;
}
/**
* @param Google_Service_CloudComposer_SoftwareConfig
*/
public function setSoftwareConfig(Google_Service_CloudComposer_SoftwareConfig $softwareConfig)
{
$this->softwareConfig = $softwareConfig;
}
/**
* @return Google_Service_CloudComposer_SoftwareConfig
*/
public function getSoftwareConfig()
{
return $this->softwareConfig;
}
}

View File

@@ -0,0 +1,49 @@
<?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.
*/
class Google_Service_CloudComposer_ImageVersion extends Google_Collection
{
protected $collection_key = 'supportedPythonVersions';
public $imageVersionId;
public $isDefault;
public $supportedPythonVersions;
public function setImageVersionId($imageVersionId)
{
$this->imageVersionId = $imageVersionId;
}
public function getImageVersionId()
{
return $this->imageVersionId;
}
public function setIsDefault($isDefault)
{
$this->isDefault = $isDefault;
}
public function getIsDefault()
{
return $this->isDefault;
}
public function setSupportedPythonVersions($supportedPythonVersions)
{
$this->supportedPythonVersions = $supportedPythonVersions;
}
public function getSupportedPythonVersions()
{
return $this->supportedPythonVersions;
}
}

View File

@@ -0,0 +1,47 @@
<?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.
*/
class Google_Service_CloudComposer_ListEnvironmentsResponse extends Google_Collection
{
protected $collection_key = 'environments';
protected $environmentsType = 'Google_Service_CloudComposer_Environment';
protected $environmentsDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_CloudComposer_Environment
*/
public function setEnvironments($environments)
{
$this->environments = $environments;
}
/**
* @return Google_Service_CloudComposer_Environment
*/
public function getEnvironments()
{
return $this->environments;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,47 @@
<?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.
*/
class Google_Service_CloudComposer_ListImageVersionsResponse extends Google_Collection
{
protected $collection_key = 'imageVersions';
protected $imageVersionsType = 'Google_Service_CloudComposer_ImageVersion';
protected $imageVersionsDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_CloudComposer_ImageVersion
*/
public function setImageVersions($imageVersions)
{
$this->imageVersions = $imageVersions;
}
/**
* @return Google_Service_CloudComposer_ImageVersion
*/
public function getImageVersions()
{
return $this->imageVersions;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,47 @@
<?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.
*/
class Google_Service_CloudComposer_ListOperationsResponse extends Google_Collection
{
protected $collection_key = 'operations';
public $nextPageToken;
protected $operationsType = 'Google_Service_CloudComposer_Operation';
protected $operationsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_CloudComposer_Operation
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Google_Service_CloudComposer_Operation
*/
public function getOperations()
{
return $this->operations;
}
}

View File

@@ -0,0 +1,94 @@
<?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.
*/
class Google_Service_CloudComposer_NodeConfig extends Google_Collection
{
protected $collection_key = 'tags';
public $diskSizeGb;
public $location;
public $machineType;
public $network;
public $oauthScopes;
public $serviceAccount;
public $subnetwork;
public $tags;
public function setDiskSizeGb($diskSizeGb)
{
$this->diskSizeGb = $diskSizeGb;
}
public function getDiskSizeGb()
{
return $this->diskSizeGb;
}
public function setLocation($location)
{
$this->location = $location;
}
public function getLocation()
{
return $this->location;
}
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
public function getMachineType()
{
return $this->machineType;
}
public function setNetwork($network)
{
$this->network = $network;
}
public function getNetwork()
{
return $this->network;
}
public function setOauthScopes($oauthScopes)
{
$this->oauthScopes = $oauthScopes;
}
public function getOauthScopes()
{
return $this->oauthScopes;
}
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
public function getServiceAccount()
{
return $this->serviceAccount;
}
public function setSubnetwork($subnetwork)
{
$this->subnetwork = $subnetwork;
}
public function getSubnetwork()
{
return $this->subnetwork;
}
public function setTags($tags)
{
$this->tags = $tags;
}
public function getTags()
{
return $this->tags;
}
}

View File

@@ -0,0 +1,73 @@
<?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.
*/
class Google_Service_CloudComposer_Operation extends Google_Model
{
public $done;
protected $errorType = 'Google_Service_CloudComposer_Status';
protected $errorDataType = '';
public $metadata;
public $name;
public $response;
public function setDone($done)
{
$this->done = $done;
}
public function getDone()
{
return $this->done;
}
/**
* @param Google_Service_CloudComposer_Status
*/
public function setError(Google_Service_CloudComposer_Status $error)
{
$this->error = $error;
}
/**
* @return Google_Service_CloudComposer_Status
*/
public function getError()
{
return $this->error;
}
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
public function getMetadata()
{
return $this->metadata;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setResponse($response)
{
$this->response = $response;
}
public function getResponse()
{
return $this->response;
}
}

View File

@@ -0,0 +1,75 @@
<?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.
*/
class Google_Service_CloudComposer_OperationMetadata extends Google_Model
{
public $createTime;
public $endTime;
public $operationType;
public $resource;
public $resourceUuid;
public $state;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
public function getEndTime()
{
return $this->endTime;
}
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
public function getOperationType()
{
return $this->operationType;
}
public function setResource($resource)
{
$this->resource = $resource;
}
public function getResource()
{
return $this->resource;
}
public function setResourceUuid($resourceUuid)
{
$this->resourceUuid = $resourceUuid;
}
public function getResourceUuid()
{
return $this->resourceUuid;
}
public function setState($state)
{
$this->state = $state;
}
public function getState()
{
return $this->state;
}
}

View File

@@ -0,0 +1,28 @@
<?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.
*/
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $composerService = new Google_Service_CloudComposer(...);
* $projects = $composerService->projects;
* </code>
*/
class Google_Service_CloudComposer_Resource_Projects extends Google_Service_Resource
{
}

View File

@@ -0,0 +1,28 @@
<?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.
*/
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $composerService = new Google_Service_CloudComposer(...);
* $locations = $composerService->locations;
* </code>
*/
class Google_Service_CloudComposer_Resource_ProjectsLocations extends Google_Service_Resource
{
}

View File

@@ -0,0 +1,180 @@
<?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.
*/
/**
* The "environments" collection of methods.
* Typical usage is:
* <code>
* $composerService = new Google_Service_CloudComposer(...);
* $environments = $composerService->environments;
* </code>
*/
class Google_Service_CloudComposer_Resource_ProjectsLocationsEnvironments extends Google_Service_Resource
{
/**
* Create a new environment. (environments.create)
*
* @param string $parent The parent must be of the form
* "projects/{projectId}/locations/{locationId}".
* @param Google_Service_CloudComposer_Environment $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudComposer_Operation
*/
public function create($parent, Google_Service_CloudComposer_Environment $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_CloudComposer_Operation");
}
/**
* Delete an environment. (environments.delete)
*
* @param string $name The environment to delete, in the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param array $optParams Optional parameters.
* @return Google_Service_CloudComposer_Operation
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_CloudComposer_Operation");
}
/**
* Get an existing environment. (environments.get)
*
* @param string $name The resource name of the environment to get, in the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param array $optParams Optional parameters.
* @return Google_Service_CloudComposer_Environment
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_CloudComposer_Environment");
}
/**
* List environments. (environments.listProjectsLocationsEnvironments)
*
* @param string $parent List environments in the given project and location, in
* the form: "projects/{projectId}/locations/{locationId}"
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken The next_page_token value returned from a
* previous List request, if any.
* @opt_param int pageSize The maximum number of environments to return.
* @return Google_Service_CloudComposer_ListEnvironmentsResponse
*/
public function listProjectsLocationsEnvironments($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudComposer_ListEnvironmentsResponse");
}
/**
* Update an environment. (environments.patch)
*
* @param string $name The relative resource name of the environment to update,
* in the form:
* "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
* @param Google_Service_CloudComposer_Environment $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. A comma-separated list of paths,
* relative to `Environment`, of fields to update. For example, to set the
* version of scikit-learn to install in the environment to 0.19.0 and to remove
* an existing installation of numpy, the `updateMask` parameter would include
* the following two `paths` values: "config.softwareConfig.pypiPackages.scikit-
* learn" and "config.softwareConfig.pypiPackages.numpy". The included patch
* environment would specify the scikit-learn version as follows:
*
* { "config":{ "softwareConfig":{ "pypiPackages":{
* "scikit-learn":"==0.19.0" } } } }
*
* Note that in the above example, any existing PyPI packages other than scikit-
* learn and numpy will be unaffected.
*
* Only one update type may be included in a single request's `updateMask`. For
* example, one cannot update both the PyPI packages and labels in the same
* request. However, it is possible to update multiple members of a map field
* simultaneously in the same request. For example, to set the labels "label1"
* and "label2" while clearing "label3" (assuming it already exists), one can
* provide the paths "labels.label1", "labels.label2", and "labels.label3" and
* populate the patch environment as follows:
*
* { "labels":{ "label1":"new-label1-value" "label2
* ":"new-label2-value" } }
*
* Note that in the above example, any existing labels that are not included in
* the `updateMask` will be unaffected.
*
* It is also possible to replace an entire map field by providing the map
* field's path in the `updateMask`. The new value of the field will be that
* which is provided in the patch environment. For example, to delete all pre-
* existing user-specified PyPI packages and install botocore at version 1.7.14,
* the `updateMask` would contain the path "config.softwareConfig.pypiPackages",
* and the patch environment would be the following:
*
* { "config":{ "softwareConfig":{ "pypiPackages":{
* "botocore":"==1.7.14" } } } }
*
* **Note:** Only the following fields can be updated:
*
* Mask Purpose config.softwareConfig.pypiPackages Replace all
* custom custom PyPI packages. If a replacement package map is not included in
* `environment`, all custom PyPI packages are cleared. It is an error to
* provide both this mask and a mask specifying an individual package.
* config.softwareConfig.pypiPackages.packagename Update the custom PyPI
* package packagename, preserving other packages. To delete the package,
* include it in `updateMask`, and omit the mapping for it in
* `environment.config.softwareConfig.pypiPackages`. It is an error to provide
* both a mask of this form and the "config.softwareConfig.pypiPackages" mask.
* labels Replace all environment labels. If a replacement labels map is not
* included in `environment`, all labels are cleared. It is an error to provide
* both this mask and a mask specifying one or more individual labels.
* labels.labelName Set the label named labelName, while preserving other
* labels. To delete the label, include it in `updateMask` and omit its mapping
* in `environment.labels`. It is an error to provide both a mask of this form
* and the "labels" mask. config.nodeCount Horizontally scale the number
* of nodes in the environment. An integer greater than or equal to 3 must be
* provided in the `config.nodeCount` field.
* config.softwareConfig.airflowConfigOverrides Replace all Apache Airflow
* config overrides. If a replacement config overrides map is not included in
* `environment`, all config overrides are cleared. It is an error to provide
* both this mask and a mask specifying one or more individual config
* overrides. config.softwareConfig.airflowConfigOverrides.section-name
* Override the Apache Airflow config property name in the section named
* section, preserving other properties. To delete the property override,
* include it in `updateMask` and omit its mapping in
* `environment.config.softwareConfig.airflowConfigOverrides`. It is an error
* to provide both a mask of this form and the
* "config.softwareConfig.airflowConfigOverrides" mask.
* config.softwareConfig.envVariables Replace all environment variables. If a
* replacement environment variable map is not included in `environment`, all
* custom environment variables are cleared. It is an error to provide both
* this mask and a mask specifying one or more individual environment
* variables.
* @return Google_Service_CloudComposer_Operation
*/
public function patch($name, Google_Service_CloudComposer_Environment $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_CloudComposer_Operation");
}
}

View File

@@ -0,0 +1,47 @@
<?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.
*/
/**
* The "imageVersions" collection of methods.
* Typical usage is:
* <code>
* $composerService = new Google_Service_CloudComposer(...);
* $imageVersions = $composerService->imageVersions;
* </code>
*/
class Google_Service_CloudComposer_Resource_ProjectsLocationsImageVersions extends Google_Service_Resource
{
/**
* List ImageVersions for provided location.
* (imageVersions.listProjectsLocationsImageVersions)
*
* @param string $parent List ImageVersions in the given project and location,
* in the form: "projects/{projectId}/locations/{locationId}"
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken The next_page_token value returned from a
* previous List request, if any.
* @opt_param int pageSize The maximum number of image_versions to return.
* @return Google_Service_CloudComposer_ListImageVersionsResponse
*/
public function listProjectsLocationsImageVersions($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudComposer_ListImageVersionsResponse");
}
}

View File

@@ -0,0 +1,86 @@
<?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.
*/
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $composerService = new Google_Service_CloudComposer(...);
* $operations = $composerService->operations;
* </code>
*/
class Google_Service_CloudComposer_Resource_ProjectsLocationsOperations extends Google_Service_Resource
{
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return Google_Service_CloudComposer_ComposerEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_CloudComposer_ComposerEmpty");
}
/**
* 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_CloudComposer_Operation
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_CloudComposer_Operation");
}
/**
* 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 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.listProjectsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @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_CloudComposer_ListOperationsResponse
*/
public function listProjectsLocationsOperations($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudComposer_ListOperationsResponse");
}
}

View File

@@ -0,0 +1,66 @@
<?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.
*/
class Google_Service_CloudComposer_SoftwareConfig extends Google_Model
{
public $airflowConfigOverrides;
public $envVariables;
public $imageVersion;
public $pypiPackages;
public $pythonVersion;
public function setAirflowConfigOverrides($airflowConfigOverrides)
{
$this->airflowConfigOverrides = $airflowConfigOverrides;
}
public function getAirflowConfigOverrides()
{
return $this->airflowConfigOverrides;
}
public function setEnvVariables($envVariables)
{
$this->envVariables = $envVariables;
}
public function getEnvVariables()
{
return $this->envVariables;
}
public function setImageVersion($imageVersion)
{
$this->imageVersion = $imageVersion;
}
public function getImageVersion()
{
return $this->imageVersion;
}
public function setPypiPackages($pypiPackages)
{
$this->pypiPackages = $pypiPackages;
}
public function getPypiPackages()
{
return $this->pypiPackages;
}
public function setPythonVersion($pythonVersion)
{
$this->pythonVersion = $pythonVersion;
}
public function getPythonVersion()
{
return $this->pythonVersion;
}
}

View File

@@ -0,0 +1,49 @@
<?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.
*/
class Google_Service_CloudComposer_Status extends Google_Collection
{
protected $collection_key = 'details';
public $code;
public $details;
public $message;
public function setCode($code)
{
$this->code = $code;
}
public function getCode()
{
return $this->code;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
}