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,82 @@
<?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_AccessContextManager_AccessLevel extends Google_Model
{
protected $basicType = 'Google_Service_AccessContextManager_BasicLevel';
protected $basicDataType = '';
public $createTime;
public $description;
public $name;
public $title;
public $updateTime;
/**
* @param Google_Service_AccessContextManager_BasicLevel
*/
public function setBasic(Google_Service_AccessContextManager_BasicLevel $basic)
{
$this->basic = $basic;
}
/**
* @return Google_Service_AccessContextManager_BasicLevel
*/
public function getBasic()
{
return $this->basic;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
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;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

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_AccessContextManager_AccessPolicy extends Google_Model
{
public $createTime;
public $name;
public $parent;
public $title;
public $updateTime;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setParent($parent)
{
$this->parent = $parent;
}
public function getParent()
{
return $this->parent;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

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_AccessContextManager_BasicLevel extends Google_Collection
{
protected $collection_key = 'conditions';
public $combiningFunction;
protected $conditionsType = 'Google_Service_AccessContextManager_Condition';
protected $conditionsDataType = 'array';
public function setCombiningFunction($combiningFunction)
{
$this->combiningFunction = $combiningFunction;
}
public function getCombiningFunction()
{
return $this->combiningFunction;
}
/**
* @param Google_Service_AccessContextManager_Condition
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return Google_Service_AccessContextManager_Condition
*/
public function getConditions()
{
return $this->conditions;
}
}

View File

@@ -0,0 +1,74 @@
<?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_AccessContextManager_Condition extends Google_Collection
{
protected $collection_key = 'requiredAccessLevels';
protected $devicePolicyType = 'Google_Service_AccessContextManager_DevicePolicy';
protected $devicePolicyDataType = '';
public $ipSubnetworks;
public $members;
public $negate;
public $requiredAccessLevels;
/**
* @param Google_Service_AccessContextManager_DevicePolicy
*/
public function setDevicePolicy(Google_Service_AccessContextManager_DevicePolicy $devicePolicy)
{
$this->devicePolicy = $devicePolicy;
}
/**
* @return Google_Service_AccessContextManager_DevicePolicy
*/
public function getDevicePolicy()
{
return $this->devicePolicy;
}
public function setIpSubnetworks($ipSubnetworks)
{
$this->ipSubnetworks = $ipSubnetworks;
}
public function getIpSubnetworks()
{
return $this->ipSubnetworks;
}
public function setMembers($members)
{
$this->members = $members;
}
public function getMembers()
{
return $this->members;
}
public function setNegate($negate)
{
$this->negate = $negate;
}
public function getNegate()
{
return $this->negate;
}
public function setRequiredAccessLevels($requiredAccessLevels)
{
$this->requiredAccessLevels = $requiredAccessLevels;
}
public function getRequiredAccessLevels()
{
return $this->requiredAccessLevels;
}
}

View File

@@ -0,0 +1,65 @@
<?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_AccessContextManager_DevicePolicy extends Google_Collection
{
protected $collection_key = 'osConstraints';
public $allowedDeviceManagementLevels;
public $allowedEncryptionStatuses;
protected $osConstraintsType = 'Google_Service_AccessContextManager_OsConstraint';
protected $osConstraintsDataType = 'array';
public $requireScreenlock;
public function setAllowedDeviceManagementLevels($allowedDeviceManagementLevels)
{
$this->allowedDeviceManagementLevels = $allowedDeviceManagementLevels;
}
public function getAllowedDeviceManagementLevels()
{
return $this->allowedDeviceManagementLevels;
}
public function setAllowedEncryptionStatuses($allowedEncryptionStatuses)
{
$this->allowedEncryptionStatuses = $allowedEncryptionStatuses;
}
public function getAllowedEncryptionStatuses()
{
return $this->allowedEncryptionStatuses;
}
/**
* @param Google_Service_AccessContextManager_OsConstraint
*/
public function setOsConstraints($osConstraints)
{
$this->osConstraints = $osConstraints;
}
/**
* @return Google_Service_AccessContextManager_OsConstraint
*/
public function getOsConstraints()
{
return $this->osConstraints;
}
public function setRequireScreenlock($requireScreenlock)
{
$this->requireScreenlock = $requireScreenlock;
}
public function getRequireScreenlock()
{
return $this->requireScreenlock;
}
}

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_AccessContextManager_ListAccessLevelsResponse extends Google_Collection
{
protected $collection_key = 'accessLevels';
protected $accessLevelsType = 'Google_Service_AccessContextManager_AccessLevel';
protected $accessLevelsDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AccessContextManager_AccessLevel
*/
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
/**
* @return Google_Service_AccessContextManager_AccessLevel
*/
public function getAccessLevels()
{
return $this->accessLevels;
}
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_AccessContextManager_ListAccessPoliciesResponse extends Google_Collection
{
protected $collection_key = 'accessPolicies';
protected $accessPoliciesType = 'Google_Service_AccessContextManager_AccessPolicy';
protected $accessPoliciesDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AccessContextManager_AccessPolicy
*/
public function setAccessPolicies($accessPolicies)
{
$this->accessPolicies = $accessPolicies;
}
/**
* @return Google_Service_AccessContextManager_AccessPolicy
*/
public function getAccessPolicies()
{
return $this->accessPolicies;
}
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_AccessContextManager_ListServicePerimetersResponse extends Google_Collection
{
protected $collection_key = 'servicePerimeters';
public $nextPageToken;
protected $servicePerimetersType = 'Google_Service_AccessContextManager_ServicePerimeter';
protected $servicePerimetersDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_AccessContextManager_ServicePerimeter
*/
public function setServicePerimeters($servicePerimeters)
{
$this->servicePerimeters = $servicePerimeters;
}
/**
* @return Google_Service_AccessContextManager_ServicePerimeter
*/
public function getServicePerimeters()
{
return $this->servicePerimeters;
}
}

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_AccessContextManager_Operation extends Google_Model
{
public $done;
protected $errorType = 'Google_Service_AccessContextManager_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_AccessContextManager_Status
*/
public function setError(Google_Service_AccessContextManager_Status $error)
{
$this->error = $error;
}
/**
* @return Google_Service_AccessContextManager_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,39 @@
<?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_AccessContextManager_OsConstraint extends Google_Model
{
public $minimumVersion;
public $osType;
public function setMinimumVersion($minimumVersion)
{
$this->minimumVersion = $minimumVersion;
}
public function getMinimumVersion()
{
return $this->minimumVersion;
}
public function setOsType($osType)
{
$this->osType = $osType;
}
public function getOsType()
{
return $this->osType;
}
}

View File

@@ -0,0 +1,120 @@
<?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 "accessPolicies" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google_Service_AccessContextManager(...);
* $accessPolicies = $accesscontextmanagerService->accessPolicies;
* </code>
*/
class Google_Service_AccessContextManager_Resource_AccessPolicies extends Google_Service_Resource
{
/**
* Create an `AccessPolicy`. Fails if this organization already has a
* `AccessPolicy`. The longrunning Operation will have a successful status once
* the `AccessPolicy` has propagated to long-lasting storage. Syntactic and
* basic semantic errors will be returned in `metadata` as a BadRequest proto.
* (accessPolicies.create)
*
* @param Google_Service_AccessContextManager_AccessPolicy $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function create(Google_Service_AccessContextManager_AccessPolicy $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Delete an AccessPolicy by resource name. The longrunning Operation will have
* a successful status once the AccessPolicy has been removed from long-lasting
* storage. (accessPolicies.delete)
*
* @param string $name Required. Resource name for the access policy to delete.
*
* Format `accessPolicies/{policy_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Get an AccessPolicy by name. (accessPolicies.get)
*
* @param string $name Required. Resource name for the access policy to get.
*
* Format `accessPolicies/{policy_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_AccessPolicy
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessContextManager_AccessPolicy");
}
/**
* List all AccessPolicies under a container.
* (accessPolicies.listAccessPolicies)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Number of AccessPolicy instances to include in the
* list. Default 100.
* @opt_param string parent Required. Resource name for the container to list
* AccessPolicy instances from.
*
* Format: `organizations/{org_id}`
* @opt_param string pageToken Next page token for the next batch of
* AccessPolicy instances. Defaults to the first page of results.
* @return Google_Service_AccessContextManager_ListAccessPoliciesResponse
*/
public function listAccessPolicies($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessContextManager_ListAccessPoliciesResponse");
}
/**
* Update an AccessPolicy. The longrunning Operation from this RPC will have a
* successful status once the changes to the AccessPolicy have propagated to
* long-lasting storage. Syntactic and basic semantic errors will be returned in
* `metadata` as a BadRequest proto. (accessPolicies.patch)
*
* @param string $name Output only. Resource name of the `AccessPolicy`. Format:
* `accessPolicies/{policy_id}`
* @param Google_Service_AccessContextManager_AccessPolicy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask to control which fields get
* updated. Must be non-empty.
* @return Google_Service_AccessContextManager_Operation
*/
public function patch($name, Google_Service_AccessContextManager_AccessPolicy $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AccessContextManager_Operation");
}
}

View File

@@ -0,0 +1,135 @@
<?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 "accessLevels" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google_Service_AccessContextManager(...);
* $accessLevels = $accesscontextmanagerService->accessLevels;
* </code>
*/
class Google_Service_AccessContextManager_Resource_AccessPoliciesAccessLevels extends Google_Service_Resource
{
/**
* Create an Access Level. The longrunning operation from this RPC will have a
* successful status once the Access Level has propagated to long-lasting
* storage. Access Levels containing errors will result in an error response for
* the first error encountered. (accessLevels.create)
*
* @param string $parent Required. Resource name for the access policy which
* owns this Access Level.
*
* Format: `accessPolicies/{policy_id}`
* @param Google_Service_AccessContextManager_AccessLevel $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function create($parent, Google_Service_AccessContextManager_AccessLevel $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Delete an Access Level by resource name. The longrunning operation from this
* RPC will have a successful status once the Access Level has been removed from
* long-lasting storage. (accessLevels.delete)
*
* @param string $name Required. Resource name for the Access Level.
*
* Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Get an Access Level by resource name. (accessLevels.get)
*
* @param string $name Required. Resource name for the Access Level.
*
* Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}`
* @param array $optParams Optional parameters.
*
* @opt_param string accessLevelFormat Whether to return `BasicLevels` in the
* Cloud Common Expression Language rather than as `BasicLevels`. Defaults to
* AS_DEFINED, where Access Levels are returned as `BasicLevels` or
* `CustomLevels` based on how they were created. If set to CEL, all Access
* Levels are returned as `CustomLevels`. In the CEL case, `BasicLevels` are
* translated to equivalent `CustomLevels`.
* @return Google_Service_AccessContextManager_AccessLevel
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessContextManager_AccessLevel");
}
/**
* List all Access Levels for an access policy.
* (accessLevels.listAccessPoliciesAccessLevels)
*
* @param string $parent Required. Resource name for the access policy to list
* Access Levels from.
*
* Format: `accessPolicies/{policy_id}`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Number of Access Levels to include in the list.
* Default 100.
* @opt_param string accessLevelFormat Whether to return `BasicLevels` in the
* Cloud Common Expression language, as `CustomLevels`, rather than as
* `BasicLevels`. Defaults to returning `AccessLevels` in the format they were
* defined.
* @opt_param string pageToken Next page token for the next batch of Access
* Level instances. Defaults to the first page of results.
* @return Google_Service_AccessContextManager_ListAccessLevelsResponse
*/
public function listAccessPoliciesAccessLevels($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessContextManager_ListAccessLevelsResponse");
}
/**
* Update an Access Level. The longrunning operation from this RPC will have a
* successful status once the changes to the Access Level have propagated to
* long-lasting storage. Access Levels containing errors will result in an error
* response for the first error encountered. (accessLevels.patch)
*
* @param string $name Required. Resource name for the Access Level. The
* `short_name` component must begin with a letter and only include alphanumeric
* and '_'. Format: `accessPolicies/{policy_id}/accessLevels/{short_name}`
* @param Google_Service_AccessContextManager_AccessLevel $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask to control which fields get
* updated. Must be non-empty.
* @return Google_Service_AccessContextManager_Operation
*/
public function patch($name, Google_Service_AccessContextManager_AccessLevel $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AccessContextManager_Operation");
}
}

View File

@@ -0,0 +1,126 @@
<?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 "servicePerimeters" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google_Service_AccessContextManager(...);
* $servicePerimeters = $accesscontextmanagerService->servicePerimeters;
* </code>
*/
class Google_Service_AccessContextManager_Resource_AccessPoliciesServicePerimeters extends Google_Service_Resource
{
/**
* Create an Service Perimeter. The longrunning operation from this RPC will
* have a successful status once the Service Perimeter has propagated to long-
* lasting storage. Service Perimeters containing errors will result in an error
* response for the first error encountered. (servicePerimeters.create)
*
* @param string $parent Required. Resource name for the access policy which
* owns this Service Perimeter.
*
* Format: `accessPolicies/{policy_id}`
* @param Google_Service_AccessContextManager_ServicePerimeter $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function create($parent, Google_Service_AccessContextManager_ServicePerimeter $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Delete an Service Perimeter by resource name. The longrunning operation from
* this RPC will have a successful status once the Service Perimeter has been
* removed from long-lasting storage. (servicePerimeters.delete)
*
* @param string $name Required. Resource name for the Service Perimeter.
*
* Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Get an Service Perimeter by resource name. (servicePerimeters.get)
*
* @param string $name Required. Resource name for the Service Perimeter.
*
* Format:
* `accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_ServicePerimeter
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessContextManager_ServicePerimeter");
}
/**
* List all Service Perimeters for an access policy.
* (servicePerimeters.listAccessPoliciesServicePerimeters)
*
* @param string $parent Required. Resource name for the access policy to list
* Service Perimeters from.
*
* Format: `accessPolicies/{policy_id}`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Number of Service Perimeters to include in the list.
* Default 100.
* @opt_param string pageToken Next page token for the next batch of Service
* Perimeter instances. Defaults to the first page of results.
* @return Google_Service_AccessContextManager_ListServicePerimetersResponse
*/
public function listAccessPoliciesServicePerimeters($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessContextManager_ListServicePerimetersResponse");
}
/**
* Update an Service Perimeter. The longrunning operation from this RPC will
* have a successful status once the changes to the Service Perimeter have
* propagated to long-lasting storage. Service Perimeter containing errors will
* result in an error response for the first error encountered.
* (servicePerimeters.patch)
*
* @param string $name Required. Resource name for the ServicePerimeter. The
* `short_name` component must begin with a letter and only include alphanumeric
* and '_'. Format: `accessPolicies/{policy_id}/servicePerimeters/{short_name}`
* @param Google_Service_AccessContextManager_ServicePerimeter $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask to control which fields get
* updated. Must be non-empty.
* @return Google_Service_AccessContextManager_Operation
*/
public function patch($name, Google_Service_AccessContextManager_ServicePerimeter $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AccessContextManager_Operation");
}
}

View File

@@ -0,0 +1,43 @@
<?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>
* $accesscontextmanagerService = new Google_Service_AccessContextManager(...);
* $operations = $accesscontextmanagerService->operations;
* </code>
*/
class Google_Service_AccessContextManager_Resource_Operations 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_AccessContextManager_Operation
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessContextManager_Operation");
}
}

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_AccessContextManager_ServicePerimeter extends Google_Model
{
public $createTime;
public $description;
public $name;
public $perimeterType;
protected $statusType = 'Google_Service_AccessContextManager_ServicePerimeterConfig';
protected $statusDataType = '';
public $title;
public $updateTime;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
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;
}
public function setPerimeterType($perimeterType)
{
$this->perimeterType = $perimeterType;
}
public function getPerimeterType()
{
return $this->perimeterType;
}
/**
* @param Google_Service_AccessContextManager_ServicePerimeterConfig
*/
public function setStatus(Google_Service_AccessContextManager_ServicePerimeterConfig $status)
{
$this->status = $status;
}
/**
* @return Google_Service_AccessContextManager_ServicePerimeterConfig
*/
public function getStatus()
{
return $this->status;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

View File

@@ -0,0 +1,58 @@
<?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_AccessContextManager_ServicePerimeterConfig extends Google_Collection
{
protected $collection_key = 'unrestrictedServices';
public $accessLevels;
public $resources;
public $restrictedServices;
public $unrestrictedServices;
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
public function getAccessLevels()
{
return $this->accessLevels;
}
public function setResources($resources)
{
$this->resources = $resources;
}
public function getResources()
{
return $this->resources;
}
public function setRestrictedServices($restrictedServices)
{
$this->restrictedServices = $restrictedServices;
}
public function getRestrictedServices()
{
return $this->restrictedServices;
}
public function setUnrestrictedServices($unrestrictedServices)
{
$this->unrestrictedServices = $unrestrictedServices;
}
public function getUnrestrictedServices()
{
return $this->unrestrictedServices;
}
}

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_AccessContextManager_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;
}
}