Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class AccessContextManagerOperationMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessContextManagerOperationMetadata::class, 'Google_Service_AccessContextManager_AccessContextManagerOperationMetadata');

View File

@@ -0,0 +1,112 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class AccessLevel extends \Google\Model
{
protected $basicType = BasicLevel::class;
protected $basicDataType = '';
protected $customType = CustomLevel::class;
protected $customDataType = '';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $title;
/**
* @param BasicLevel
*/
public function setBasic(BasicLevel $basic)
{
$this->basic = $basic;
}
/**
* @return BasicLevel
*/
public function getBasic()
{
return $this->basic;
}
/**
* @param CustomLevel
*/
public function setCustom(CustomLevel $custom)
{
$this->custom = $custom;
}
/**
* @return CustomLevel
*/
public function getCustom()
{
return $this->custom;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessLevel::class, 'Google_Service_AccessContextManager_AccessLevel');

View File

@@ -0,0 +1,117 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class AccessPolicy extends \Google\Collection
{
protected $collection_key = 'scopes';
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $parent;
/**
* @var string[]
*/
public $scopes;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param string[]
*/
public function setScopes($scopes)
{
$this->scopes = $scopes;
}
/**
* @return string[]
*/
public function getScopes()
{
return $this->scopes;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessPolicy::class, 'Google_Service_AccessContextManager_AccessPolicy');

View File

@@ -0,0 +1,42 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class AccessScope extends \Google\Model
{
protected $clientScopeType = ClientScope::class;
protected $clientScopeDataType = '';
/**
* @param ClientScope
*/
public function setClientScope(ClientScope $clientScope)
{
$this->clientScope = $clientScope;
}
/**
* @return ClientScope
*/
public function getClientScope()
{
return $this->clientScope;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessScope::class, 'Google_Service_AccessContextManager_AccessScope');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class AccessSettings extends \Google\Collection
{
protected $collection_key = 'accessLevels';
/**
* @var string[]
*/
public $accessLevels;
protected $sessionSettingsType = SessionSettings::class;
protected $sessionSettingsDataType = '';
/**
* @param string[]
*/
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
/**
* @return string[]
*/
public function getAccessLevels()
{
return $this->accessLevels;
}
/**
* @param SessionSettings
*/
public function setSessionSettings(SessionSettings $sessionSettings)
{
$this->sessionSettings = $sessionSettings;
}
/**
* @return SessionSettings
*/
public function getSessionSettings()
{
return $this->sessionSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSettings::class, 'Google_Service_AccessContextManager_AccessSettings');

View File

@@ -0,0 +1,25 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class AccesscontextmanagerEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccesscontextmanagerEmpty::class, 'Google_Service_AccessContextManager_AccesscontextmanagerEmpty');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class ApiOperation extends \Google\Collection
{
protected $collection_key = 'methodSelectors';
protected $methodSelectorsType = MethodSelector::class;
protected $methodSelectorsDataType = 'array';
/**
* @var string
*/
public $serviceName;
/**
* @param MethodSelector[]
*/
public function setMethodSelectors($methodSelectors)
{
$this->methodSelectors = $methodSelectors;
}
/**
* @return MethodSelector[]
*/
public function getMethodSelectors()
{
return $this->methodSelectors;
}
/**
* @param string
*/
public function setServiceName($serviceName)
{
$this->serviceName = $serviceName;
}
/**
* @return string
*/
public function getServiceName()
{
return $this->serviceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApiOperation::class, 'Google_Service_AccessContextManager_ApiOperation');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class Application extends \Google\Model
{
/**
* @var string
*/
public $clientId;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Application::class, 'Google_Service_AccessContextManager_Application');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class AuditConfig extends \Google\Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = AuditLogConfig::class;
protected $auditLogConfigsDataType = 'array';
/**
* @var string
*/
public $service;
/**
* @param AuditLogConfig[]
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return AuditLogConfig[]
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditConfig::class, 'Google_Service_AccessContextManager_AuditConfig');

View File

@@ -0,0 +1,63 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class AuditLogConfig extends \Google\Collection
{
protected $collection_key = 'exemptedMembers';
/**
* @var string[]
*/
public $exemptedMembers;
/**
* @var string
*/
public $logType;
/**
* @param string[]
*/
public function setExemptedMembers($exemptedMembers)
{
$this->exemptedMembers = $exemptedMembers;
}
/**
* @return string[]
*/
public function getExemptedMembers()
{
return $this->exemptedMembers;
}
/**
* @param string
*/
public function setLogType($logType)
{
$this->logType = $logType;
}
/**
* @return string
*/
public function getLogType()
{
return $this->logType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditLogConfig::class, 'Google_Service_AccessContextManager_AuditLogConfig');

View File

@@ -0,0 +1,117 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class AuthorizedOrgsDesc extends \Google\Collection
{
protected $collection_key = 'orgs';
/**
* @var string
*/
public $assetType;
/**
* @var string
*/
public $authorizationDirection;
/**
* @var string
*/
public $authorizationType;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $orgs;
/**
* @param string
*/
public function setAssetType($assetType)
{
$this->assetType = $assetType;
}
/**
* @return string
*/
public function getAssetType()
{
return $this->assetType;
}
/**
* @param string
*/
public function setAuthorizationDirection($authorizationDirection)
{
$this->authorizationDirection = $authorizationDirection;
}
/**
* @return string
*/
public function getAuthorizationDirection()
{
return $this->authorizationDirection;
}
/**
* @param string
*/
public function setAuthorizationType($authorizationType)
{
$this->authorizationType = $authorizationType;
}
/**
* @return string
*/
public function getAuthorizationType()
{
return $this->authorizationType;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setOrgs($orgs)
{
$this->orgs = $orgs;
}
/**
* @return string[]
*/
public function getOrgs()
{
return $this->orgs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthorizedOrgsDesc::class, 'Google_Service_AccessContextManager_AuthorizedOrgsDesc');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class BasicLevel extends \Google\Collection
{
protected $collection_key = 'conditions';
/**
* @var string
*/
public $combiningFunction;
protected $conditionsType = Condition::class;
protected $conditionsDataType = 'array';
/**
* @param string
*/
public function setCombiningFunction($combiningFunction)
{
$this->combiningFunction = $combiningFunction;
}
/**
* @return string
*/
public function getCombiningFunction()
{
return $this->combiningFunction;
}
/**
* @param Condition[]
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return Condition[]
*/
public function getConditions()
{
return $this->conditions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BasicLevel::class, 'Google_Service_AccessContextManager_BasicLevel');

View File

@@ -0,0 +1,79 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param Expr
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Binding::class, 'Google_Service_AccessContextManager_Binding');

View File

@@ -0,0 +1,25 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_AccessContextManager_CancelOperationRequest');

View File

@@ -0,0 +1,42 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class ClientScope extends \Google\Model
{
protected $restrictedClientApplicationType = Application::class;
protected $restrictedClientApplicationDataType = '';
/**
* @param Application
*/
public function setRestrictedClientApplication(Application $restrictedClientApplication)
{
$this->restrictedClientApplication = $restrictedClientApplication;
}
/**
* @return Application
*/
public function getRestrictedClientApplication()
{
return $this->restrictedClientApplication;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClientScope::class, 'Google_Service_AccessContextManager_ClientScope');

View File

@@ -0,0 +1,44 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class CommitServicePerimetersRequest extends \Google\Model
{
/**
* @var string
*/
public $etag;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CommitServicePerimetersRequest::class, 'Google_Service_AccessContextManager_CommitServicePerimetersRequest');

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.
*/
namespace Google\Service\AccessContextManager;
class CommitServicePerimetersResponse extends \Google\Collection
{
protected $collection_key = 'servicePerimeters';
protected $servicePerimetersType = ServicePerimeter::class;
protected $servicePerimetersDataType = 'array';
/**
* @param ServicePerimeter[]
*/
public function setServicePerimeters($servicePerimeters)
{
$this->servicePerimeters = $servicePerimeters;
}
/**
* @return ServicePerimeter[]
*/
public function getServicePerimeters()
{
return $this->servicePerimeters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CommitServicePerimetersResponse::class, 'Google_Service_AccessContextManager_CommitServicePerimetersResponse');

View File

@@ -0,0 +1,149 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class Condition extends \Google\Collection
{
protected $collection_key = 'vpcNetworkSources';
protected $devicePolicyType = DevicePolicy::class;
protected $devicePolicyDataType = '';
/**
* @var string[]
*/
public $ipSubnetworks;
/**
* @var string[]
*/
public $members;
/**
* @var bool
*/
public $negate;
/**
* @var string[]
*/
public $regions;
/**
* @var string[]
*/
public $requiredAccessLevels;
protected $vpcNetworkSourcesType = VpcNetworkSource::class;
protected $vpcNetworkSourcesDataType = 'array';
/**
* @param DevicePolicy
*/
public function setDevicePolicy(DevicePolicy $devicePolicy)
{
$this->devicePolicy = $devicePolicy;
}
/**
* @return DevicePolicy
*/
public function getDevicePolicy()
{
return $this->devicePolicy;
}
/**
* @param string[]
*/
public function setIpSubnetworks($ipSubnetworks)
{
$this->ipSubnetworks = $ipSubnetworks;
}
/**
* @return string[]
*/
public function getIpSubnetworks()
{
return $this->ipSubnetworks;
}
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param bool
*/
public function setNegate($negate)
{
$this->negate = $negate;
}
/**
* @return bool
*/
public function getNegate()
{
return $this->negate;
}
/**
* @param string[]
*/
public function setRegions($regions)
{
$this->regions = $regions;
}
/**
* @return string[]
*/
public function getRegions()
{
return $this->regions;
}
/**
* @param string[]
*/
public function setRequiredAccessLevels($requiredAccessLevels)
{
$this->requiredAccessLevels = $requiredAccessLevels;
}
/**
* @return string[]
*/
public function getRequiredAccessLevels()
{
return $this->requiredAccessLevels;
}
/**
* @param VpcNetworkSource[]
*/
public function setVpcNetworkSources($vpcNetworkSources)
{
$this->vpcNetworkSources = $vpcNetworkSources;
}
/**
* @return VpcNetworkSource[]
*/
public function getVpcNetworkSources()
{
return $this->vpcNetworkSources;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Condition::class, 'Google_Service_AccessContextManager_Condition');

View File

@@ -0,0 +1,42 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class CustomLevel extends \Google\Model
{
protected $exprType = Expr::class;
protected $exprDataType = '';
/**
* @param Expr
*/
public function setExpr(Expr $expr)
{
$this->expr = $expr;
}
/**
* @return Expr
*/
public function getExpr()
{
return $this->expr;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomLevel::class, 'Google_Service_AccessContextManager_CustomLevel');

View File

@@ -0,0 +1,133 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class DevicePolicy extends \Google\Collection
{
protected $collection_key = 'osConstraints';
/**
* @var string[]
*/
public $allowedDeviceManagementLevels;
/**
* @var string[]
*/
public $allowedEncryptionStatuses;
protected $osConstraintsType = OsConstraint::class;
protected $osConstraintsDataType = 'array';
/**
* @var bool
*/
public $requireAdminApproval;
/**
* @var bool
*/
public $requireCorpOwned;
/**
* @var bool
*/
public $requireScreenlock;
/**
* @param string[]
*/
public function setAllowedDeviceManagementLevels($allowedDeviceManagementLevels)
{
$this->allowedDeviceManagementLevels = $allowedDeviceManagementLevels;
}
/**
* @return string[]
*/
public function getAllowedDeviceManagementLevels()
{
return $this->allowedDeviceManagementLevels;
}
/**
* @param string[]
*/
public function setAllowedEncryptionStatuses($allowedEncryptionStatuses)
{
$this->allowedEncryptionStatuses = $allowedEncryptionStatuses;
}
/**
* @return string[]
*/
public function getAllowedEncryptionStatuses()
{
return $this->allowedEncryptionStatuses;
}
/**
* @param OsConstraint[]
*/
public function setOsConstraints($osConstraints)
{
$this->osConstraints = $osConstraints;
}
/**
* @return OsConstraint[]
*/
public function getOsConstraints()
{
return $this->osConstraints;
}
/**
* @param bool
*/
public function setRequireAdminApproval($requireAdminApproval)
{
$this->requireAdminApproval = $requireAdminApproval;
}
/**
* @return bool
*/
public function getRequireAdminApproval()
{
return $this->requireAdminApproval;
}
/**
* @param bool
*/
public function setRequireCorpOwned($requireCorpOwned)
{
$this->requireCorpOwned = $requireCorpOwned;
}
/**
* @return bool
*/
public function getRequireCorpOwned()
{
return $this->requireCorpOwned;
}
/**
* @param bool
*/
public function setRequireScreenlock($requireScreenlock)
{
$this->requireScreenlock = $requireScreenlock;
}
/**
* @return bool
*/
public function getRequireScreenlock()
{
return $this->requireScreenlock;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DevicePolicy::class, 'Google_Service_AccessContextManager_DevicePolicy');

View File

@@ -0,0 +1,97 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class EgressFrom extends \Google\Collection
{
protected $collection_key = 'sources';
/**
* @var string[]
*/
public $identities;
/**
* @var string
*/
public $identityType;
/**
* @var string
*/
public $sourceRestriction;
protected $sourcesType = EgressSource::class;
protected $sourcesDataType = 'array';
/**
* @param string[]
*/
public function setIdentities($identities)
{
$this->identities = $identities;
}
/**
* @return string[]
*/
public function getIdentities()
{
return $this->identities;
}
/**
* @param string
*/
public function setIdentityType($identityType)
{
$this->identityType = $identityType;
}
/**
* @return string
*/
public function getIdentityType()
{
return $this->identityType;
}
/**
* @param string
*/
public function setSourceRestriction($sourceRestriction)
{
$this->sourceRestriction = $sourceRestriction;
}
/**
* @return string
*/
public function getSourceRestriction()
{
return $this->sourceRestriction;
}
/**
* @param EgressSource[]
*/
public function setSources($sources)
{
$this->sources = $sources;
}
/**
* @return EgressSource[]
*/
public function getSources()
{
return $this->sources;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EgressFrom::class, 'Google_Service_AccessContextManager_EgressFrom');

View File

@@ -0,0 +1,76 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class EgressPolicy extends \Google\Model
{
protected $egressFromType = EgressFrom::class;
protected $egressFromDataType = '';
protected $egressToType = EgressTo::class;
protected $egressToDataType = '';
/**
* @var string
*/
public $title;
/**
* @param EgressFrom
*/
public function setEgressFrom(EgressFrom $egressFrom)
{
$this->egressFrom = $egressFrom;
}
/**
* @return EgressFrom
*/
public function getEgressFrom()
{
return $this->egressFrom;
}
/**
* @param EgressTo
*/
public function setEgressTo(EgressTo $egressTo)
{
$this->egressTo = $egressTo;
}
/**
* @return EgressTo
*/
public function getEgressTo()
{
return $this->egressTo;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EgressPolicy::class, 'Google_Service_AccessContextManager_EgressPolicy');

View File

@@ -0,0 +1,44 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class EgressSource extends \Google\Model
{
/**
* @var string
*/
public $accessLevel;
/**
* @param string
*/
public function setAccessLevel($accessLevel)
{
$this->accessLevel = $accessLevel;
}
/**
* @return string
*/
public function getAccessLevel()
{
return $this->accessLevel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EgressSource::class, 'Google_Service_AccessContextManager_EgressSource');

View File

@@ -0,0 +1,79 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class EgressTo extends \Google\Collection
{
protected $collection_key = 'resources';
/**
* @var string[]
*/
public $externalResources;
protected $operationsType = ApiOperation::class;
protected $operationsDataType = 'array';
/**
* @var string[]
*/
public $resources;
/**
* @param string[]
*/
public function setExternalResources($externalResources)
{
$this->externalResources = $externalResources;
}
/**
* @return string[]
*/
public function getExternalResources()
{
return $this->externalResources;
}
/**
* @param ApiOperation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return ApiOperation[]
*/
public function getOperations()
{
return $this->operations;
}
/**
* @param string[]
*/
public function setResources($resources)
{
$this->resources = $resources;
}
/**
* @return string[]
*/
public function getResources()
{
return $this->resources;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EgressTo::class, 'Google_Service_AccessContextManager_EgressTo');

View File

@@ -0,0 +1,98 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class Expr extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Expr::class, 'Google_Service_AccessContextManager_Expr');

View File

@@ -0,0 +1,147 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class GcpUserAccessBinding extends \Google\Collection
{
protected $collection_key = 'scopedAccessSettings';
/**
* @var string[]
*/
public $accessLevels;
/**
* @var string[]
*/
public $dryRunAccessLevels;
/**
* @var string
*/
public $groupKey;
/**
* @var string
*/
public $name;
protected $restrictedClientApplicationsType = Application::class;
protected $restrictedClientApplicationsDataType = 'array';
protected $scopedAccessSettingsType = ScopedAccessSettings::class;
protected $scopedAccessSettingsDataType = 'array';
protected $sessionSettingsType = SessionSettings::class;
protected $sessionSettingsDataType = '';
/**
* @param string[]
*/
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
/**
* @return string[]
*/
public function getAccessLevels()
{
return $this->accessLevels;
}
/**
* @param string[]
*/
public function setDryRunAccessLevels($dryRunAccessLevels)
{
$this->dryRunAccessLevels = $dryRunAccessLevels;
}
/**
* @return string[]
*/
public function getDryRunAccessLevels()
{
return $this->dryRunAccessLevels;
}
/**
* @param string
*/
public function setGroupKey($groupKey)
{
$this->groupKey = $groupKey;
}
/**
* @return string
*/
public function getGroupKey()
{
return $this->groupKey;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Application[]
*/
public function setRestrictedClientApplications($restrictedClientApplications)
{
$this->restrictedClientApplications = $restrictedClientApplications;
}
/**
* @return Application[]
*/
public function getRestrictedClientApplications()
{
return $this->restrictedClientApplications;
}
/**
* @param ScopedAccessSettings[]
*/
public function setScopedAccessSettings($scopedAccessSettings)
{
$this->scopedAccessSettings = $scopedAccessSettings;
}
/**
* @return ScopedAccessSettings[]
*/
public function getScopedAccessSettings()
{
return $this->scopedAccessSettings;
}
/**
* @param SessionSettings
*/
public function setSessionSettings(SessionSettings $sessionSettings)
{
$this->sessionSettings = $sessionSettings;
}
/**
* @return SessionSettings
*/
public function getSessionSettings()
{
return $this->sessionSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcpUserAccessBinding::class, 'Google_Service_AccessContextManager_GcpUserAccessBinding');

View File

@@ -0,0 +1,25 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class GcpUserAccessBindingOperationMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcpUserAccessBindingOperationMetadata::class, 'Google_Service_AccessContextManager_GcpUserAccessBindingOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class GetIamPolicyRequest extends \Google\Model
{
protected $optionsType = GetPolicyOptions::class;
protected $optionsDataType = '';
/**
* @param GetPolicyOptions
*/
public function setOptions(GetPolicyOptions $options)
{
$this->options = $options;
}
/**
* @return GetPolicyOptions
*/
public function getOptions()
{
return $this->options;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetIamPolicyRequest::class, 'Google_Service_AccessContextManager_GetIamPolicyRequest');

View File

@@ -0,0 +1,44 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class GetPolicyOptions extends \Google\Model
{
/**
* @var int
*/
public $requestedPolicyVersion;
/**
* @param int
*/
public function setRequestedPolicyVersion($requestedPolicyVersion)
{
$this->requestedPolicyVersion = $requestedPolicyVersion;
}
/**
* @return int
*/
public function getRequestedPolicyVersion()
{
return $this->requestedPolicyVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetPolicyOptions::class, 'Google_Service_AccessContextManager_GetPolicyOptions');

View File

@@ -0,0 +1,79 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class IngressFrom extends \Google\Collection
{
protected $collection_key = 'sources';
/**
* @var string[]
*/
public $identities;
/**
* @var string
*/
public $identityType;
protected $sourcesType = IngressSource::class;
protected $sourcesDataType = 'array';
/**
* @param string[]
*/
public function setIdentities($identities)
{
$this->identities = $identities;
}
/**
* @return string[]
*/
public function getIdentities()
{
return $this->identities;
}
/**
* @param string
*/
public function setIdentityType($identityType)
{
$this->identityType = $identityType;
}
/**
* @return string
*/
public function getIdentityType()
{
return $this->identityType;
}
/**
* @param IngressSource[]
*/
public function setSources($sources)
{
$this->sources = $sources;
}
/**
* @return IngressSource[]
*/
public function getSources()
{
return $this->sources;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IngressFrom::class, 'Google_Service_AccessContextManager_IngressFrom');

View File

@@ -0,0 +1,76 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class IngressPolicy extends \Google\Model
{
protected $ingressFromType = IngressFrom::class;
protected $ingressFromDataType = '';
protected $ingressToType = IngressTo::class;
protected $ingressToDataType = '';
/**
* @var string
*/
public $title;
/**
* @param IngressFrom
*/
public function setIngressFrom(IngressFrom $ingressFrom)
{
$this->ingressFrom = $ingressFrom;
}
/**
* @return IngressFrom
*/
public function getIngressFrom()
{
return $this->ingressFrom;
}
/**
* @param IngressTo
*/
public function setIngressTo(IngressTo $ingressTo)
{
$this->ingressTo = $ingressTo;
}
/**
* @return IngressTo
*/
public function getIngressTo()
{
return $this->ingressTo;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IngressPolicy::class, 'Google_Service_AccessContextManager_IngressPolicy');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class IngressSource extends \Google\Model
{
/**
* @var string
*/
public $accessLevel;
/**
* @var string
*/
public $resource;
/**
* @param string
*/
public function setAccessLevel($accessLevel)
{
$this->accessLevel = $accessLevel;
}
/**
* @return string
*/
public function getAccessLevel()
{
return $this->accessLevel;
}
/**
* @param string
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IngressSource::class, 'Google_Service_AccessContextManager_IngressSource');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class IngressTo extends \Google\Collection
{
protected $collection_key = 'resources';
protected $operationsType = ApiOperation::class;
protected $operationsDataType = 'array';
/**
* @var string[]
*/
public $resources;
/**
* @param ApiOperation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return ApiOperation[]
*/
public function getOperations()
{
return $this->operations;
}
/**
* @param string[]
*/
public function setResources($resources)
{
$this->resources = $resources;
}
/**
* @return string[]
*/
public function getResources()
{
return $this->resources;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IngressTo::class, 'Google_Service_AccessContextManager_IngressTo');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class ListAccessLevelsResponse extends \Google\Collection
{
protected $collection_key = 'accessLevels';
protected $accessLevelsType = AccessLevel::class;
protected $accessLevelsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AccessLevel[]
*/
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
/**
* @return AccessLevel[]
*/
public function getAccessLevels()
{
return $this->accessLevels;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAccessLevelsResponse::class, 'Google_Service_AccessContextManager_ListAccessLevelsResponse');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class ListAccessPoliciesResponse extends \Google\Collection
{
protected $collection_key = 'accessPolicies';
protected $accessPoliciesType = AccessPolicy::class;
protected $accessPoliciesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AccessPolicy[]
*/
public function setAccessPolicies($accessPolicies)
{
$this->accessPolicies = $accessPolicies;
}
/**
* @return AccessPolicy[]
*/
public function getAccessPolicies()
{
return $this->accessPolicies;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAccessPoliciesResponse::class, 'Google_Service_AccessContextManager_ListAccessPoliciesResponse');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class ListAuthorizedOrgsDescsResponse extends \Google\Collection
{
protected $collection_key = 'authorizedOrgsDescs';
protected $authorizedOrgsDescsType = AuthorizedOrgsDesc::class;
protected $authorizedOrgsDescsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AuthorizedOrgsDesc[]
*/
public function setAuthorizedOrgsDescs($authorizedOrgsDescs)
{
$this->authorizedOrgsDescs = $authorizedOrgsDescs;
}
/**
* @return AuthorizedOrgsDesc[]
*/
public function getAuthorizedOrgsDescs()
{
return $this->authorizedOrgsDescs;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAuthorizedOrgsDescsResponse::class, 'Google_Service_AccessContextManager_ListAuthorizedOrgsDescsResponse');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class ListGcpUserAccessBindingsResponse extends \Google\Collection
{
protected $collection_key = 'gcpUserAccessBindings';
protected $gcpUserAccessBindingsType = GcpUserAccessBinding::class;
protected $gcpUserAccessBindingsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GcpUserAccessBinding[]
*/
public function setGcpUserAccessBindings($gcpUserAccessBindings)
{
$this->gcpUserAccessBindings = $gcpUserAccessBindings;
}
/**
* @return GcpUserAccessBinding[]
*/
public function getGcpUserAccessBindings()
{
return $this->gcpUserAccessBindings;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListGcpUserAccessBindingsResponse::class, 'Google_Service_AccessContextManager_ListGcpUserAccessBindingsResponse');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_AccessContextManager_ListOperationsResponse');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class ListServicePerimetersResponse extends \Google\Collection
{
protected $collection_key = 'servicePerimeters';
/**
* @var string
*/
public $nextPageToken;
protected $servicePerimetersType = ServicePerimeter::class;
protected $servicePerimetersDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ServicePerimeter[]
*/
public function setServicePerimeters($servicePerimeters)
{
$this->servicePerimeters = $servicePerimeters;
}
/**
* @return ServicePerimeter[]
*/
public function getServicePerimeters()
{
return $this->servicePerimeters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListServicePerimetersResponse::class, 'Google_Service_AccessContextManager_ListServicePerimetersResponse');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class ListSupportedServicesResponse extends \Google\Collection
{
protected $collection_key = 'supportedServices';
/**
* @var string
*/
public $nextPageToken;
protected $supportedServicesType = SupportedService::class;
protected $supportedServicesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param SupportedService[]
*/
public function setSupportedServices($supportedServices)
{
$this->supportedServices = $supportedServices;
}
/**
* @return SupportedService[]
*/
public function getSupportedServices()
{
return $this->supportedServices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListSupportedServicesResponse::class, 'Google_Service_AccessContextManager_ListSupportedServicesResponse');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class MethodSelector extends \Google\Model
{
/**
* @var string
*/
public $method;
/**
* @var string
*/
public $permission;
/**
* @param string
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return string
*/
public function getMethod()
{
return $this->method;
}
/**
* @param string
*/
public function setPermission($permission)
{
$this->permission = $permission;
}
/**
* @return string
*/
public function getPermission()
{
return $this->permission;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MethodSelector::class, 'Google_Service_AccessContextManager_MethodSelector');

View File

@@ -0,0 +1,114 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_AccessContextManager_Operation');

View File

@@ -0,0 +1,80 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class OsConstraint extends \Google\Model
{
/**
* @var string
*/
public $minimumVersion;
/**
* @var string
*/
public $osType;
/**
* @var bool
*/
public $requireVerifiedChromeOs;
/**
* @param string
*/
public function setMinimumVersion($minimumVersion)
{
$this->minimumVersion = $minimumVersion;
}
/**
* @return string
*/
public function getMinimumVersion()
{
return $this->minimumVersion;
}
/**
* @param string
*/
public function setOsType($osType)
{
$this->osType = $osType;
}
/**
* @return string
*/
public function getOsType()
{
return $this->osType;
}
/**
* @param bool
*/
public function setRequireVerifiedChromeOs($requireVerifiedChromeOs)
{
$this->requireVerifiedChromeOs = $requireVerifiedChromeOs;
}
/**
* @return bool
*/
public function getRequireVerifiedChromeOs()
{
return $this->requireVerifiedChromeOs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OsConstraint::class, 'Google_Service_AccessContextManager_OsConstraint');

View File

@@ -0,0 +1,95 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $auditConfigsType = AuditConfig::class;
protected $auditConfigsDataType = 'array';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $version;
/**
* @param AuditConfig[]
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return AuditConfig[]
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* @param Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param int
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_AccessContextManager_Policy');

View File

@@ -0,0 +1,116 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class ReauthSettings extends \Google\Model
{
/**
* @var string
*/
public $maxInactivity;
/**
* @var string
*/
public $reauthMethod;
/**
* @var string
*/
public $sessionLength;
/**
* @var bool
*/
public $sessionLengthEnabled;
/**
* @var bool
*/
public $useOidcMaxAge;
/**
* @param string
*/
public function setMaxInactivity($maxInactivity)
{
$this->maxInactivity = $maxInactivity;
}
/**
* @return string
*/
public function getMaxInactivity()
{
return $this->maxInactivity;
}
/**
* @param string
*/
public function setReauthMethod($reauthMethod)
{
$this->reauthMethod = $reauthMethod;
}
/**
* @return string
*/
public function getReauthMethod()
{
return $this->reauthMethod;
}
/**
* @param string
*/
public function setSessionLength($sessionLength)
{
$this->sessionLength = $sessionLength;
}
/**
* @return string
*/
public function getSessionLength()
{
return $this->sessionLength;
}
/**
* @param bool
*/
public function setSessionLengthEnabled($sessionLengthEnabled)
{
$this->sessionLengthEnabled = $sessionLengthEnabled;
}
/**
* @return bool
*/
public function getSessionLengthEnabled()
{
return $this->sessionLengthEnabled;
}
/**
* @param bool
*/
public function setUseOidcMaxAge($useOidcMaxAge)
{
$this->useOidcMaxAge = $useOidcMaxAge;
}
/**
* @return bool
*/
public function getUseOidcMaxAge()
{
return $this->useOidcMaxAge;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReauthSettings::class, 'Google_Service_AccessContextManager_ReauthSettings');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class ReplaceAccessLevelsRequest extends \Google\Collection
{
protected $collection_key = 'accessLevels';
protected $accessLevelsType = AccessLevel::class;
protected $accessLevelsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @param AccessLevel[]
*/
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
/**
* @return AccessLevel[]
*/
public function getAccessLevels()
{
return $this->accessLevels;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReplaceAccessLevelsRequest::class, 'Google_Service_AccessContextManager_ReplaceAccessLevelsRequest');

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.
*/
namespace Google\Service\AccessContextManager;
class ReplaceAccessLevelsResponse extends \Google\Collection
{
protected $collection_key = 'accessLevels';
protected $accessLevelsType = AccessLevel::class;
protected $accessLevelsDataType = 'array';
/**
* @param AccessLevel[]
*/
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
/**
* @return AccessLevel[]
*/
public function getAccessLevels()
{
return $this->accessLevels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReplaceAccessLevelsResponse::class, 'Google_Service_AccessContextManager_ReplaceAccessLevelsResponse');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class ReplaceServicePerimetersRequest extends \Google\Collection
{
protected $collection_key = 'servicePerimeters';
/**
* @var string
*/
public $etag;
protected $servicePerimetersType = ServicePerimeter::class;
protected $servicePerimetersDataType = 'array';
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param ServicePerimeter[]
*/
public function setServicePerimeters($servicePerimeters)
{
$this->servicePerimeters = $servicePerimeters;
}
/**
* @return ServicePerimeter[]
*/
public function getServicePerimeters()
{
return $this->servicePerimeters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReplaceServicePerimetersRequest::class, 'Google_Service_AccessContextManager_ReplaceServicePerimetersRequest');

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.
*/
namespace Google\Service\AccessContextManager;
class ReplaceServicePerimetersResponse extends \Google\Collection
{
protected $collection_key = 'servicePerimeters';
protected $servicePerimetersType = ServicePerimeter::class;
protected $servicePerimetersDataType = 'array';
/**
* @param ServicePerimeter[]
*/
public function setServicePerimeters($servicePerimeters)
{
$this->servicePerimeters = $servicePerimeters;
}
/**
* @return ServicePerimeter[]
*/
public function getServicePerimeters()
{
return $this->servicePerimeters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReplaceServicePerimetersResponse::class, 'Google_Service_AccessContextManager_ReplaceServicePerimetersResponse');

View File

@@ -0,0 +1,195 @@
<?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.
*/
namespace Google\Service\AccessContextManager\Resource;
use Google\Service\AccessContextManager\AccessPolicy;
use Google\Service\AccessContextManager\GetIamPolicyRequest;
use Google\Service\AccessContextManager\ListAccessPoliciesResponse;
use Google\Service\AccessContextManager\Operation;
use Google\Service\AccessContextManager\Policy;
use Google\Service\AccessContextManager\SetIamPolicyRequest;
use Google\Service\AccessContextManager\TestIamPermissionsRequest;
use Google\Service\AccessContextManager\TestIamPermissionsResponse;
/**
* The "accessPolicies" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google\Service\AccessContextManager(...);
* $accessPolicies = $accesscontextmanagerService->accessPolicies;
* </code>
*/
class AccessPolicies extends \Google\Service\Resource
{
/**
* Creates an access policy. This method fails if the organization already has
* an access policy. The long-running operation has a successful status after
* the access policy propagates to long-lasting storage. Syntactic and basic
* semantic errors are returned in `metadata` as a BadRequest proto.
* (accessPolicies.create)
*
* @param AccessPolicy $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create(AccessPolicy $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes an access policy based on the resource name. The long-running
* operation has a successful status after the access policy is 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 Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Returns an access policy based on the 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 AccessPolicy
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], AccessPolicy::class);
}
/**
* Gets the IAM policy for the specified Access Context Manager access policy.
* (accessPolicies.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param GetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, GetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists all access policies in an organization.
* (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 pageToken Next page token for the next batch of
* AccessPolicy instances. Defaults to the first page of results.
* @opt_param string parent Required. Resource name for the container to list
* AccessPolicy instances from. Format: `organizations/{org_id}`
* @return ListAccessPoliciesResponse
* @throws \Google\Service\Exception
*/
public function listAccessPolicies($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAccessPoliciesResponse::class);
}
/**
* Updates an access policy. The long-running operation from this RPC has a
* successful status after the changes to the access policy propagate to long-
* lasting storage. (accessPolicies.patch)
*
* @param string $name Output only. Identifier. Resource name of the
* `AccessPolicy`. Format: `accessPolicies/{access_policy}`
* @param AccessPolicy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask to control which fields get
* updated. Must be non-empty.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, AccessPolicy $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Sets the IAM policy for the specified Access Context Manager access policy.
* This method replaces the existing IAM policy on the access policy. The IAM
* policy controls the set of users who can perform specific operations on the
* Access Context Manager access policy. (accessPolicies.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns the IAM permissions that the caller has on the specified Access
* Context Manager resource. The resource can be an AccessPolicy, AccessLevel,
* or ServicePerimeter. This method does not support other resources.
* (accessPolicies.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessPolicies::class, 'Google_Service_AccessContextManager_Resource_AccessPolicies');

View File

@@ -0,0 +1,193 @@
<?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.
*/
namespace Google\Service\AccessContextManager\Resource;
use Google\Service\AccessContextManager\AccessLevel;
use Google\Service\AccessContextManager\ListAccessLevelsResponse;
use Google\Service\AccessContextManager\Operation;
use Google\Service\AccessContextManager\ReplaceAccessLevelsRequest;
use Google\Service\AccessContextManager\TestIamPermissionsRequest;
use Google\Service\AccessContextManager\TestIamPermissionsResponse;
/**
* The "accessLevels" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google\Service\AccessContextManager(...);
* $accessLevels = $accesscontextmanagerService->accessPolicies_accessLevels;
* </code>
*/
class AccessPoliciesAccessLevels extends \Google\Service\Resource
{
/**
* Creates an access level. The long-running operation from this RPC has a
* successful status after the access level propagates to long-lasting storage.
* If access levels contain errors, an error response is returned 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 AccessLevel $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, AccessLevel $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes an access level based on the resource name. The long-running
* operation from this RPC has a successful status after 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 Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets an access level based on the 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 AccessLevel
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], AccessLevel::class);
}
/**
* Lists 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 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 int pageSize Number of Access Levels to include in the list.
* Default 100.
* @opt_param string pageToken Next page token for the next batch of Access
* Level instances. Defaults to the first page of results.
* @return ListAccessLevelsResponse
* @throws \Google\Service\Exception
*/
public function listAccessPoliciesAccessLevels($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAccessLevelsResponse::class);
}
/**
* Updates an access level. The long-running operation from this RPC has a
* successful status after the changes to the access level propagate to long-
* lasting storage. If access levels contain errors, an error response is
* returned for the first error encountered. (accessLevels.patch)
*
* @param string $name Identifier. Resource name for the `AccessLevel`. Format:
* `accessPolicies/{access_policy}/accessLevels/{access_level}`. The
* `access_level` component must begin with a letter, followed by alphanumeric
* characters or `_`. Its maximum length is 50 characters. After you create an
* `AccessLevel`, you cannot change its `name`.
* @param AccessLevel $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask to control which fields get
* updated. Must be non-empty.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, AccessLevel $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Replaces all existing access levels in an access policy with the access
* levels provided. This is done atomically. The long-running operation from
* this RPC has a successful status after all replacements propagate to long-
* lasting storage. If the replacement contains errors, an error response is
* returned for the first error encountered. Upon error, the replacement is
* cancelled, and existing access levels are not affected. The
* Operation.response field contains ReplaceAccessLevelsResponse. Removing
* access levels contained in existing service perimeters result in an error.
* (accessLevels.replaceAll)
*
* @param string $parent Required. Resource name for the access policy which
* owns these Access Levels. Format: `accessPolicies/{policy_id}`
* @param ReplaceAccessLevelsRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function replaceAll($parent, ReplaceAccessLevelsRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('replaceAll', [$params], Operation::class);
}
/**
* Returns the IAM permissions that the caller has on the specified Access
* Context Manager resource. The resource can be an AccessPolicy, AccessLevel,
* or ServicePerimeter. This method does not support other resources.
* (accessLevels.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessPoliciesAccessLevels::class, 'Google_Service_AccessContextManager_Resource_AccessPoliciesAccessLevels');

View File

@@ -0,0 +1,142 @@
<?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.
*/
namespace Google\Service\AccessContextManager\Resource;
use Google\Service\AccessContextManager\AuthorizedOrgsDesc;
use Google\Service\AccessContextManager\ListAuthorizedOrgsDescsResponse;
use Google\Service\AccessContextManager\Operation;
/**
* The "authorizedOrgsDescs" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google\Service\AccessContextManager(...);
* $authorizedOrgsDescs = $accesscontextmanagerService->accessPolicies_authorizedOrgsDescs;
* </code>
*/
class AccessPoliciesAuthorizedOrgsDescs extends \Google\Service\Resource
{
/**
* Creates an authorized orgs desc. The long-running operation from this RPC has
* a successful status after the authorized orgs desc propagates to long-lasting
* storage. If a authorized orgs desc contains errors, an error response is
* returned for the first error encountered. The name of this
* `AuthorizedOrgsDesc` will be assigned during creation.
* (authorizedOrgsDescs.create)
*
* @param string $parent Required. Resource name for the access policy which
* owns this Authorized Orgs Desc. Format: `accessPolicies/{policy_id}`
* @param AuthorizedOrgsDesc $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, AuthorizedOrgsDesc $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes an authorized orgs desc based on the resource name. The long-running
* operation from this RPC has a successful status after the authorized orgs
* desc is removed from long-lasting storage. (authorizedOrgsDescs.delete)
*
* @param string $name Required. Resource name for the Authorized Orgs Desc.
* Format:
* `accessPolicies/{policy_id}/authorizedOrgsDesc/{authorized_orgs_desc_id}`
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets an authorized orgs desc based on the resource name.
* (authorizedOrgsDescs.get)
*
* @param string $name Required. Resource name for the Authorized Orgs Desc.
* Format:
* `accessPolicies/{policy_id}/authorizedOrgsDescs/{authorized_orgs_descs_id}`
* @param array $optParams Optional parameters.
* @return AuthorizedOrgsDesc
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], AuthorizedOrgsDesc::class);
}
/**
* Lists all authorized orgs descs for an access policy.
* (authorizedOrgsDescs.listAccessPoliciesAuthorizedOrgsDescs)
*
* @param string $parent Required. Resource name for the access policy to list
* Authorized Orgs Desc from. Format: `accessPolicies/{policy_id}`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Number of Authorized Orgs Descs to include in the
* list. Default 100.
* @opt_param string pageToken Next page token for the next batch of Authorized
* Orgs Desc instances. Defaults to the first page of results.
* @return ListAuthorizedOrgsDescsResponse
* @throws \Google\Service\Exception
*/
public function listAccessPoliciesAuthorizedOrgsDescs($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAuthorizedOrgsDescsResponse::class);
}
/**
* Updates an authorized orgs desc. The long-running operation from this RPC has
* a successful status after the authorized orgs desc propagates to long-lasting
* storage. If a authorized orgs desc contains errors, an error response is
* returned for the first error encountered. Only the organization list in
* `AuthorizedOrgsDesc` can be updated. The name, authorization_type, asset_type
* and authorization_direction cannot be updated. (authorizedOrgsDescs.patch)
*
* @param string $name Identifier. Resource name for the `AuthorizedOrgsDesc`.
* Format:
* `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`.
* The `authorized_orgs_desc` component must begin with a letter, followed by
* alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, you
* cannot change its `name`.
* @param AuthorizedOrgsDesc $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask to control which fields get
* updated. Must be non-empty.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, AuthorizedOrgsDesc $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessPoliciesAuthorizedOrgsDescs::class, 'Google_Service_AccessContextManager_Resource_AccessPoliciesAuthorizedOrgsDescs');

View File

@@ -0,0 +1,210 @@
<?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.
*/
namespace Google\Service\AccessContextManager\Resource;
use Google\Service\AccessContextManager\CommitServicePerimetersRequest;
use Google\Service\AccessContextManager\ListServicePerimetersResponse;
use Google\Service\AccessContextManager\Operation;
use Google\Service\AccessContextManager\ReplaceServicePerimetersRequest;
use Google\Service\AccessContextManager\ServicePerimeter;
use Google\Service\AccessContextManager\TestIamPermissionsRequest;
use Google\Service\AccessContextManager\TestIamPermissionsResponse;
/**
* The "servicePerimeters" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google\Service\AccessContextManager(...);
* $servicePerimeters = $accesscontextmanagerService->accessPolicies_servicePerimeters;
* </code>
*/
class AccessPoliciesServicePerimeters extends \Google\Service\Resource
{
/**
* Commits the dry-run specification for all the service perimeters in an access
* policy. A commit operation on a service perimeter involves copying its `spec`
* field to the `status` field of the service perimeter. Only service perimeters
* with `use_explicit_dry_run_spec` field set to true are affected by a commit
* operation. The long-running operation from this RPC has a successful status
* after the dry-run specifications for all the service perimeters have been
* committed. If a commit fails, it causes the long-running operation to return
* an error response and the entire commit operation is cancelled. When
* successful, the Operation.response field contains
* CommitServicePerimetersResponse. The `dry_run` and the `spec` fields are
* cleared after a successful commit operation. (servicePerimeters.commit)
*
* @param string $parent Required. Resource name for the parent Access Policy
* which owns all Service Perimeters in scope for the commit operation. Format:
* `accessPolicies/{policy_id}`
* @param CommitServicePerimetersRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function commit($parent, CommitServicePerimetersRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('commit', [$params], Operation::class);
}
/**
* Creates a service perimeter. The long-running operation from this RPC has a
* successful status after the service perimeter propagates to long-lasting
* storage. If a service perimeter contains errors, an error response is
* returned 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 ServicePerimeter $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, ServicePerimeter $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a service perimeter based on the resource name. The long-running
* operation from this RPC has a successful status after the service perimeter
* is 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 Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets a service perimeter based on the 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 ServicePerimeter
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ServicePerimeter::class);
}
/**
* Lists 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 ListServicePerimetersResponse
* @throws \Google\Service\Exception
*/
public function listAccessPoliciesServicePerimeters($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListServicePerimetersResponse::class);
}
/**
* Updates a service perimeter. The long-running operation from this RPC has a
* successful status after the service perimeter propagates to long-lasting
* storage. If a service perimeter contains errors, an error response is
* returned for the first error encountered. (servicePerimeters.patch)
*
* @param string $name Identifier. Resource name for the `ServicePerimeter`.
* Format:
* `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The
* `service_perimeter` component must begin with a letter, followed by
* alphanumeric characters or `_`. After you create a `ServicePerimeter`, you
* cannot change its `name`.
* @param ServicePerimeter $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask to control which fields get
* updated. Must be non-empty.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, ServicePerimeter $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Replace all existing service perimeters in an access policy with the service
* perimeters provided. This is done atomically. The long-running operation from
* this RPC has a successful status after all replacements propagate to long-
* lasting storage. Replacements containing errors result in an error response
* for the first error encountered. Upon an error, replacement are cancelled and
* existing service perimeters are not affected. The Operation.response field
* contains ReplaceServicePerimetersResponse. (servicePerimeters.replaceAll)
*
* @param string $parent Required. Resource name for the access policy which
* owns these Service Perimeters. Format: `accessPolicies/{policy_id}`
* @param ReplaceServicePerimetersRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function replaceAll($parent, ReplaceServicePerimetersRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('replaceAll', [$params], Operation::class);
}
/**
* Returns the IAM permissions that the caller has on the specified Access
* Context Manager resource. The resource can be an AccessPolicy, AccessLevel,
* or ServicePerimeter. This method does not support other resources.
* (servicePerimeters.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessPoliciesServicePerimeters::class, 'Google_Service_AccessContextManager_Resource_AccessPoliciesServicePerimeters');

View File

@@ -0,0 +1,114 @@
<?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.
*/
namespace Google\Service\AccessContextManager\Resource;
use Google\Service\AccessContextManager\AccesscontextmanagerEmpty;
use Google\Service\AccessContextManager\CancelOperationRequest;
use Google\Service\AccessContextManager\ListOperationsResponse;
use Google\Service\AccessContextManager\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google\Service\AccessContextManager(...);
* $operations = $accesscontextmanagerService->operations;
* </code>
*/
class Operations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return AccesscontextmanagerEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], AccesscontextmanagerEmpty::class);
}
/**
* 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 AccesscontextmanagerEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], AccesscontextmanagerEmpty::class);
}
/**
* 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 Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listOperations)
*
* @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 int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operations::class, 'Google_Service_AccessContextManager_Resource_Operations');

View File

@@ -0,0 +1,33 @@
<?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.
*/
namespace Google\Service\AccessContextManager\Resource;
/**
* The "organizations" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google\Service\AccessContextManager(...);
* $organizations = $accesscontextmanagerService->organizations;
* </code>
*/
class Organizations extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Organizations::class, 'Google_Service_AccessContextManager_Resource_Organizations');

View File

@@ -0,0 +1,149 @@
<?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.
*/
namespace Google\Service\AccessContextManager\Resource;
use Google\Service\AccessContextManager\GcpUserAccessBinding;
use Google\Service\AccessContextManager\ListGcpUserAccessBindingsResponse;
use Google\Service\AccessContextManager\Operation;
/**
* The "gcpUserAccessBindings" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google\Service\AccessContextManager(...);
* $gcpUserAccessBindings = $accesscontextmanagerService->organizations_gcpUserAccessBindings;
* </code>
*/
class OrganizationsGcpUserAccessBindings extends \Google\Service\Resource
{
/**
* Creates a GcpUserAccessBinding. If the client specifies a name, the server
* ignores it. Fails if a resource already exists with the same group_key.
* Completion of this long-running operation does not necessarily signify that
* the new binding is deployed onto all affected users, which may take more
* time. (gcpUserAccessBindings.create)
*
* @param string $parent Required. Example: "organizations/256"
* @param GcpUserAccessBinding $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, GcpUserAccessBinding $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a GcpUserAccessBinding. Completion of this long-running operation
* does not necessarily signify that the binding deletion is deployed onto all
* affected users, which may take more time. (gcpUserAccessBindings.delete)
*
* @param string $name Required. Example:
* "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets the GcpUserAccessBinding with the given name.
* (gcpUserAccessBindings.get)
*
* @param string $name Required. Example:
* "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
* @param array $optParams Optional parameters.
* @return GcpUserAccessBinding
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GcpUserAccessBinding::class);
}
/**
* Lists all GcpUserAccessBindings for a Google Cloud organization.
* (gcpUserAccessBindings.listOrganizationsGcpUserAccessBindings)
*
* @param string $parent Required. Example: "organizations/256"
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. Maximum number of items to return. The
* server may return fewer items. If left blank, the server may return any
* number of items.
* @opt_param string pageToken Optional. If left blank, returns the first page.
* To enumerate all items, use the next_page_token from your previous list
* operation.
* @return ListGcpUserAccessBindingsResponse
* @throws \Google\Service\Exception
*/
public function listOrganizationsGcpUserAccessBindings($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListGcpUserAccessBindingsResponse::class);
}
/**
* Updates a GcpUserAccessBinding. Completion of this long-running operation
* does not necessarily signify that the changed binding is deployed onto all
* affected users, which may take more time. (gcpUserAccessBindings.patch)
*
* @param string $name Immutable. Assigned by the server during creation. The
* last segment has an arbitrary length and has only URI unreserved characters
* (as defined by [RFC 3986 Section
* 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be
* specified by the client during creation. Example:
* "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
* @param GcpUserAccessBinding $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool append Optional. This field controls whether or not certain
* repeated settings in the update request overwrite or append to existing
* settings on the binding. If true, then append. Otherwise overwrite. So far,
* only scoped_access_settings with reauth_settings supports appending. Global
* access_levels, access_levels in scoped_access_settings,
* dry_run_access_levels, reauth_settings, and session_settings are not
* compatible with append functionality, and the request will return an error if
* append=true when these settings are in the update_mask. The request will also
* return an error if append=true when "scoped_access_settings" is not set in
* the update_mask.
* @opt_param string updateMask Required. Only the fields specified in this mask
* are updated. Because name and group_key cannot be changed, update_mask is
* required and may only contain the following fields: `access_levels`,
* `dry_run_access_levels`, `reauth_settings` `session_settings`,
* `scoped_access_settings`. update_mask { paths: "access_levels" }
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, GcpUserAccessBinding $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrganizationsGcpUserAccessBindings::class, 'Google_Service_AccessContextManager_Resource_OrganizationsGcpUserAccessBindings');

View File

@@ -0,0 +1,70 @@
<?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.
*/
namespace Google\Service\AccessContextManager\Resource;
use Google\Service\AccessContextManager\ListSupportedServicesResponse;
use Google\Service\AccessContextManager\SupportedService;
/**
* The "services" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google\Service\AccessContextManager(...);
* $services = $accesscontextmanagerService->services;
* </code>
*/
class Services extends \Google\Service\Resource
{
/**
* Returns a VPC-SC supported service based on the service name. (services.get)
*
* @param string $name The name of the service to get information about. The
* names must be in the same format as used in defining a service perimeter, for
* example, `storage.googleapis.com`.
* @param array $optParams Optional parameters.
* @return SupportedService
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SupportedService::class);
}
/**
* Lists all VPC-SC supported services. (services.listServices)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize This flag specifies the maximum number of services to
* return per page. Default is 100.
* @opt_param string pageToken Token to start on a later page. Default is the
* first page.
* @return ListSupportedServicesResponse
* @throws \Google\Service\Exception
*/
public function listServices($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListSupportedServicesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Services::class, 'Google_Service_AccessContextManager_Resource_Services');

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.
*/
namespace Google\Service\AccessContextManager;
class ScopedAccessSettings extends \Google\Model
{
protected $activeSettingsType = AccessSettings::class;
protected $activeSettingsDataType = '';
protected $dryRunSettingsType = AccessSettings::class;
protected $dryRunSettingsDataType = '';
protected $scopeType = AccessScope::class;
protected $scopeDataType = '';
/**
* @param AccessSettings
*/
public function setActiveSettings(AccessSettings $activeSettings)
{
$this->activeSettings = $activeSettings;
}
/**
* @return AccessSettings
*/
public function getActiveSettings()
{
return $this->activeSettings;
}
/**
* @param AccessSettings
*/
public function setDryRunSettings(AccessSettings $dryRunSettings)
{
$this->dryRunSettings = $dryRunSettings;
}
/**
* @return AccessSettings
*/
public function getDryRunSettings()
{
return $this->dryRunSettings;
}
/**
* @param AccessScope
*/
public function setScope(AccessScope $scope)
{
$this->scope = $scope;
}
/**
* @return AccessScope
*/
public function getScope()
{
return $this->scope;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ScopedAccessSettings::class, 'Google_Service_AccessContextManager_ScopedAccessSettings');

View File

@@ -0,0 +1,166 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class ServicePerimeter extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $perimeterType;
protected $specType = ServicePerimeterConfig::class;
protected $specDataType = '';
protected $statusType = ServicePerimeterConfig::class;
protected $statusDataType = '';
/**
* @var string
*/
public $title;
/**
* @var bool
*/
public $useExplicitDryRunSpec;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPerimeterType($perimeterType)
{
$this->perimeterType = $perimeterType;
}
/**
* @return string
*/
public function getPerimeterType()
{
return $this->perimeterType;
}
/**
* @param ServicePerimeterConfig
*/
public function setSpec(ServicePerimeterConfig $spec)
{
$this->spec = $spec;
}
/**
* @return ServicePerimeterConfig
*/
public function getSpec()
{
return $this->spec;
}
/**
* @param ServicePerimeterConfig
*/
public function setStatus(ServicePerimeterConfig $status)
{
$this->status = $status;
}
/**
* @return ServicePerimeterConfig
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param bool
*/
public function setUseExplicitDryRunSpec($useExplicitDryRunSpec)
{
$this->useExplicitDryRunSpec = $useExplicitDryRunSpec;
}
/**
* @return bool
*/
public function getUseExplicitDryRunSpec()
{
return $this->useExplicitDryRunSpec;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServicePerimeter::class, 'Google_Service_AccessContextManager_ServicePerimeter');

View File

@@ -0,0 +1,129 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class ServicePerimeterConfig extends \Google\Collection
{
protected $collection_key = 'restrictedServices';
/**
* @var string[]
*/
public $accessLevels;
protected $egressPoliciesType = EgressPolicy::class;
protected $egressPoliciesDataType = 'array';
protected $ingressPoliciesType = IngressPolicy::class;
protected $ingressPoliciesDataType = 'array';
/**
* @var string[]
*/
public $resources;
/**
* @var string[]
*/
public $restrictedServices;
protected $vpcAccessibleServicesType = VpcAccessibleServices::class;
protected $vpcAccessibleServicesDataType = '';
/**
* @param string[]
*/
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
/**
* @return string[]
*/
public function getAccessLevels()
{
return $this->accessLevels;
}
/**
* @param EgressPolicy[]
*/
public function setEgressPolicies($egressPolicies)
{
$this->egressPolicies = $egressPolicies;
}
/**
* @return EgressPolicy[]
*/
public function getEgressPolicies()
{
return $this->egressPolicies;
}
/**
* @param IngressPolicy[]
*/
public function setIngressPolicies($ingressPolicies)
{
$this->ingressPolicies = $ingressPolicies;
}
/**
* @return IngressPolicy[]
*/
public function getIngressPolicies()
{
return $this->ingressPolicies;
}
/**
* @param string[]
*/
public function setResources($resources)
{
$this->resources = $resources;
}
/**
* @return string[]
*/
public function getResources()
{
return $this->resources;
}
/**
* @param string[]
*/
public function setRestrictedServices($restrictedServices)
{
$this->restrictedServices = $restrictedServices;
}
/**
* @return string[]
*/
public function getRestrictedServices()
{
return $this->restrictedServices;
}
/**
* @param VpcAccessibleServices
*/
public function setVpcAccessibleServices(VpcAccessibleServices $vpcAccessibleServices)
{
$this->vpcAccessibleServices = $vpcAccessibleServices;
}
/**
* @return VpcAccessibleServices
*/
public function getVpcAccessibleServices()
{
return $this->vpcAccessibleServices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServicePerimeterConfig::class, 'Google_Service_AccessContextManager_ServicePerimeterConfig');

View File

@@ -0,0 +1,116 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class SessionSettings extends \Google\Model
{
/**
* @var string
*/
public $maxInactivity;
/**
* @var string
*/
public $sessionLength;
/**
* @var bool
*/
public $sessionLengthEnabled;
/**
* @var string
*/
public $sessionReauthMethod;
/**
* @var bool
*/
public $useOidcMaxAge;
/**
* @param string
*/
public function setMaxInactivity($maxInactivity)
{
$this->maxInactivity = $maxInactivity;
}
/**
* @return string
*/
public function getMaxInactivity()
{
return $this->maxInactivity;
}
/**
* @param string
*/
public function setSessionLength($sessionLength)
{
$this->sessionLength = $sessionLength;
}
/**
* @return string
*/
public function getSessionLength()
{
return $this->sessionLength;
}
/**
* @param bool
*/
public function setSessionLengthEnabled($sessionLengthEnabled)
{
$this->sessionLengthEnabled = $sessionLengthEnabled;
}
/**
* @return bool
*/
public function getSessionLengthEnabled()
{
return $this->sessionLengthEnabled;
}
/**
* @param string
*/
public function setSessionReauthMethod($sessionReauthMethod)
{
$this->sessionReauthMethod = $sessionReauthMethod;
}
/**
* @return string
*/
public function getSessionReauthMethod()
{
return $this->sessionReauthMethod;
}
/**
* @param bool
*/
public function setUseOidcMaxAge($useOidcMaxAge)
{
$this->useOidcMaxAge = $useOidcMaxAge;
}
/**
* @return bool
*/
public function getUseOidcMaxAge()
{
return $this->useOidcMaxAge;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SessionSettings::class, 'Google_Service_AccessContextManager_SessionSettings');

View File

@@ -0,0 +1,60 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class SetIamPolicyRequest extends \Google\Model
{
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param Policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SetIamPolicyRequest::class, 'Google_Service_AccessContextManager_SetIamPolicyRequest');

View File

@@ -0,0 +1,81 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_AccessContextManager_Status');

View File

@@ -0,0 +1,151 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class SupportedService extends \Google\Collection
{
protected $collection_key = 'supportedMethods';
/**
* @var bool
*/
public $availableOnRestrictedVip;
/**
* @var bool
*/
public $knownLimitations;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $serviceSupportStage;
/**
* @var string
*/
public $supportStage;
protected $supportedMethodsType = MethodSelector::class;
protected $supportedMethodsDataType = 'array';
/**
* @var string
*/
public $title;
/**
* @param bool
*/
public function setAvailableOnRestrictedVip($availableOnRestrictedVip)
{
$this->availableOnRestrictedVip = $availableOnRestrictedVip;
}
/**
* @return bool
*/
public function getAvailableOnRestrictedVip()
{
return $this->availableOnRestrictedVip;
}
/**
* @param bool
*/
public function setKnownLimitations($knownLimitations)
{
$this->knownLimitations = $knownLimitations;
}
/**
* @return bool
*/
public function getKnownLimitations()
{
return $this->knownLimitations;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setServiceSupportStage($serviceSupportStage)
{
$this->serviceSupportStage = $serviceSupportStage;
}
/**
* @return string
*/
public function getServiceSupportStage()
{
return $this->serviceSupportStage;
}
/**
* @param string
*/
public function setSupportStage($supportStage)
{
$this->supportStage = $supportStage;
}
/**
* @return string
*/
public function getSupportStage()
{
return $this->supportStage;
}
/**
* @param MethodSelector[]
*/
public function setSupportedMethods($supportedMethods)
{
$this->supportedMethods = $supportedMethods;
}
/**
* @return MethodSelector[]
*/
public function getSupportedMethods()
{
return $this->supportedMethods;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SupportedService::class, 'Google_Service_AccessContextManager_SupportedService');

View File

@@ -0,0 +1,45 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class TestIamPermissionsRequest extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* @var string[]
*/
public $permissions;
/**
* @param string[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsRequest::class, 'Google_Service_AccessContextManager_TestIamPermissionsRequest');

View File

@@ -0,0 +1,45 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class TestIamPermissionsResponse extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* @var string[]
*/
public $permissions;
/**
* @param string[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsResponse::class, 'Google_Service_AccessContextManager_TestIamPermissionsResponse');

View File

@@ -0,0 +1,63 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class VpcAccessibleServices extends \Google\Collection
{
protected $collection_key = 'allowedServices';
/**
* @var string[]
*/
public $allowedServices;
/**
* @var bool
*/
public $enableRestriction;
/**
* @param string[]
*/
public function setAllowedServices($allowedServices)
{
$this->allowedServices = $allowedServices;
}
/**
* @return string[]
*/
public function getAllowedServices()
{
return $this->allowedServices;
}
/**
* @param bool
*/
public function setEnableRestriction($enableRestriction)
{
$this->enableRestriction = $enableRestriction;
}
/**
* @return bool
*/
public function getEnableRestriction()
{
return $this->enableRestriction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VpcAccessibleServices::class, 'Google_Service_AccessContextManager_VpcAccessibleServices');

View File

@@ -0,0 +1,42 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class VpcNetworkSource extends \Google\Model
{
protected $vpcSubnetworkType = VpcSubNetwork::class;
protected $vpcSubnetworkDataType = '';
/**
* @param VpcSubNetwork
*/
public function setVpcSubnetwork(VpcSubNetwork $vpcSubnetwork)
{
$this->vpcSubnetwork = $vpcSubnetwork;
}
/**
* @return VpcSubNetwork
*/
public function getVpcSubnetwork()
{
return $this->vpcSubnetwork;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VpcNetworkSource::class, 'Google_Service_AccessContextManager_VpcNetworkSource');

View File

@@ -0,0 +1,63 @@
<?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.
*/
namespace Google\Service\AccessContextManager;
class VpcSubNetwork extends \Google\Collection
{
protected $collection_key = 'vpcIpSubnetworks';
/**
* @var string
*/
public $network;
/**
* @var string[]
*/
public $vpcIpSubnetworks;
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string[]
*/
public function setVpcIpSubnetworks($vpcIpSubnetworks)
{
$this->vpcIpSubnetworks = $vpcIpSubnetworks;
}
/**
* @return string[]
*/
public function getVpcIpSubnetworks()
{
return $this->vpcIpSubnetworks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VpcSubNetwork::class, 'Google_Service_AccessContextManager_VpcSubNetwork');