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,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\CloudIAP;
class AccessDeniedPageSettings extends \Google\Model
{
/**
* @var string
*/
public $accessDeniedPageUri;
/**
* @var bool
*/
public $generateTroubleshootingUri;
/**
* @var bool
*/
public $remediationTokenGenerationEnabled;
/**
* @param string
*/
public function setAccessDeniedPageUri($accessDeniedPageUri)
{
$this->accessDeniedPageUri = $accessDeniedPageUri;
}
/**
* @return string
*/
public function getAccessDeniedPageUri()
{
return $this->accessDeniedPageUri;
}
/**
* @param bool
*/
public function setGenerateTroubleshootingUri($generateTroubleshootingUri)
{
$this->generateTroubleshootingUri = $generateTroubleshootingUri;
}
/**
* @return bool
*/
public function getGenerateTroubleshootingUri()
{
return $this->generateTroubleshootingUri;
}
/**
* @param bool
*/
public function setRemediationTokenGenerationEnabled($remediationTokenGenerationEnabled)
{
$this->remediationTokenGenerationEnabled = $remediationTokenGenerationEnabled;
}
/**
* @return bool
*/
public function getRemediationTokenGenerationEnabled()
{
return $this->remediationTokenGenerationEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessDeniedPageSettings::class, 'Google_Service_CloudIAP_AccessDeniedPageSettings');

View File

@@ -0,0 +1,157 @@
<?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\CloudIAP;
class AccessSettings extends \Google\Collection
{
protected $collection_key = 'identitySources';
protected $allowedDomainsSettingsType = AllowedDomainsSettings::class;
protected $allowedDomainsSettingsDataType = '';
protected $corsSettingsType = CorsSettings::class;
protected $corsSettingsDataType = '';
protected $gcipSettingsType = GcipSettings::class;
protected $gcipSettingsDataType = '';
/**
* @var string[]
*/
public $identitySources;
protected $oauthSettingsType = OAuthSettings::class;
protected $oauthSettingsDataType = '';
protected $policyDelegationSettingsType = PolicyDelegationSettings::class;
protected $policyDelegationSettingsDataType = '';
protected $reauthSettingsType = ReauthSettings::class;
protected $reauthSettingsDataType = '';
protected $workforceIdentitySettingsType = WorkforceIdentitySettings::class;
protected $workforceIdentitySettingsDataType = '';
/**
* @param AllowedDomainsSettings
*/
public function setAllowedDomainsSettings(AllowedDomainsSettings $allowedDomainsSettings)
{
$this->allowedDomainsSettings = $allowedDomainsSettings;
}
/**
* @return AllowedDomainsSettings
*/
public function getAllowedDomainsSettings()
{
return $this->allowedDomainsSettings;
}
/**
* @param CorsSettings
*/
public function setCorsSettings(CorsSettings $corsSettings)
{
$this->corsSettings = $corsSettings;
}
/**
* @return CorsSettings
*/
public function getCorsSettings()
{
return $this->corsSettings;
}
/**
* @param GcipSettings
*/
public function setGcipSettings(GcipSettings $gcipSettings)
{
$this->gcipSettings = $gcipSettings;
}
/**
* @return GcipSettings
*/
public function getGcipSettings()
{
return $this->gcipSettings;
}
/**
* @param string[]
*/
public function setIdentitySources($identitySources)
{
$this->identitySources = $identitySources;
}
/**
* @return string[]
*/
public function getIdentitySources()
{
return $this->identitySources;
}
/**
* @param OAuthSettings
*/
public function setOauthSettings(OAuthSettings $oauthSettings)
{
$this->oauthSettings = $oauthSettings;
}
/**
* @return OAuthSettings
*/
public function getOauthSettings()
{
return $this->oauthSettings;
}
/**
* @param PolicyDelegationSettings
*/
public function setPolicyDelegationSettings(PolicyDelegationSettings $policyDelegationSettings)
{
$this->policyDelegationSettings = $policyDelegationSettings;
}
/**
* @return PolicyDelegationSettings
*/
public function getPolicyDelegationSettings()
{
return $this->policyDelegationSettings;
}
/**
* @param ReauthSettings
*/
public function setReauthSettings(ReauthSettings $reauthSettings)
{
$this->reauthSettings = $reauthSettings;
}
/**
* @return ReauthSettings
*/
public function getReauthSettings()
{
return $this->reauthSettings;
}
/**
* @param WorkforceIdentitySettings
*/
public function setWorkforceIdentitySettings(WorkforceIdentitySettings $workforceIdentitySettings)
{
$this->workforceIdentitySettings = $workforceIdentitySettings;
}
/**
* @return WorkforceIdentitySettings
*/
public function getWorkforceIdentitySettings()
{
return $this->workforceIdentitySettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessSettings::class, 'Google_Service_CloudIAP_AccessSettings');

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\CloudIAP;
class AllowedDomainsSettings extends \Google\Collection
{
protected $collection_key = 'domains';
/**
* @var string[]
*/
public $domains;
/**
* @var bool
*/
public $enable;
/**
* @param string[]
*/
public function setDomains($domains)
{
$this->domains = $domains;
}
/**
* @return string[]
*/
public function getDomains()
{
return $this->domains;
}
/**
* @param bool
*/
public function setEnable($enable)
{
$this->enable = $enable;
}
/**
* @return bool
*/
public function getEnable()
{
return $this->enable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllowedDomainsSettings::class, 'Google_Service_CloudIAP_AllowedDomainsSettings');

View File

@@ -0,0 +1,92 @@
<?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\CloudIAP;
class ApplicationSettings extends \Google\Model
{
protected $accessDeniedPageSettingsType = AccessDeniedPageSettings::class;
protected $accessDeniedPageSettingsDataType = '';
protected $attributePropagationSettingsType = AttributePropagationSettings::class;
protected $attributePropagationSettingsDataType = '';
/**
* @var string
*/
public $cookieDomain;
protected $csmSettingsType = CsmSettings::class;
protected $csmSettingsDataType = '';
/**
* @param AccessDeniedPageSettings
*/
public function setAccessDeniedPageSettings(AccessDeniedPageSettings $accessDeniedPageSettings)
{
$this->accessDeniedPageSettings = $accessDeniedPageSettings;
}
/**
* @return AccessDeniedPageSettings
*/
public function getAccessDeniedPageSettings()
{
return $this->accessDeniedPageSettings;
}
/**
* @param AttributePropagationSettings
*/
public function setAttributePropagationSettings(AttributePropagationSettings $attributePropagationSettings)
{
$this->attributePropagationSettings = $attributePropagationSettings;
}
/**
* @return AttributePropagationSettings
*/
public function getAttributePropagationSettings()
{
return $this->attributePropagationSettings;
}
/**
* @param string
*/
public function setCookieDomain($cookieDomain)
{
$this->cookieDomain = $cookieDomain;
}
/**
* @return string
*/
public function getCookieDomain()
{
return $this->cookieDomain;
}
/**
* @param CsmSettings
*/
public function setCsmSettings(CsmSettings $csmSettings)
{
$this->csmSettings = $csmSettings;
}
/**
* @return CsmSettings
*/
public function getCsmSettings()
{
return $this->csmSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApplicationSettings::class, 'Google_Service_CloudIAP_ApplicationSettings');

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\CloudIAP;
class AttributePropagationSettings extends \Google\Collection
{
protected $collection_key = 'outputCredentials';
/**
* @var bool
*/
public $enable;
/**
* @var string
*/
public $expression;
/**
* @var string[]
*/
public $outputCredentials;
/**
* @param bool
*/
public function setEnable($enable)
{
$this->enable = $enable;
}
/**
* @return bool
*/
public function getEnable()
{
return $this->enable;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string[]
*/
public function setOutputCredentials($outputCredentials)
{
$this->outputCredentials = $outputCredentials;
}
/**
* @return string[]
*/
public function getOutputCredentials()
{
return $this->outputCredentials;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AttributePropagationSettings::class, 'Google_Service_CloudIAP_AttributePropagationSettings');

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\CloudIAP;
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_CloudIAP_Binding');

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\CloudIAP;
class Brand extends \Google\Model
{
/**
* @var string
*/
public $applicationTitle;
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $orgInternalOnly;
/**
* @var string
*/
public $supportEmail;
/**
* @param string
*/
public function setApplicationTitle($applicationTitle)
{
$this->applicationTitle = $applicationTitle;
}
/**
* @return string
*/
public function getApplicationTitle()
{
return $this->applicationTitle;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setOrgInternalOnly($orgInternalOnly)
{
$this->orgInternalOnly = $orgInternalOnly;
}
/**
* @return bool
*/
public function getOrgInternalOnly()
{
return $this->orgInternalOnly;
}
/**
* @param string
*/
public function setSupportEmail($supportEmail)
{
$this->supportEmail = $supportEmail;
}
/**
* @return string
*/
public function getSupportEmail()
{
return $this->supportEmail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Brand::class, 'Google_Service_CloudIAP_Brand');

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\CloudIAP;
class CorsSettings extends \Google\Model
{
/**
* @var bool
*/
public $allowHttpOptions;
/**
* @param bool
*/
public function setAllowHttpOptions($allowHttpOptions)
{
$this->allowHttpOptions = $allowHttpOptions;
}
/**
* @return bool
*/
public function getAllowHttpOptions()
{
return $this->allowHttpOptions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CorsSettings::class, 'Google_Service_CloudIAP_CorsSettings');

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\CloudIAP;
class CsmSettings extends \Google\Model
{
/**
* @var string
*/
public $rctokenAud;
/**
* @param string
*/
public function setRctokenAud($rctokenAud)
{
$this->rctokenAud = $rctokenAud;
}
/**
* @return string
*/
public function getRctokenAud()
{
return $this->rctokenAud;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CsmSettings::class, 'Google_Service_CloudIAP_CsmSettings');

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\CloudIAP;
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_CloudIAP_Expr');

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\CloudIAP;
class GcipSettings extends \Google\Collection
{
protected $collection_key = 'tenantIds';
/**
* @var string
*/
public $loginPageUri;
/**
* @var string[]
*/
public $tenantIds;
/**
* @param string
*/
public function setLoginPageUri($loginPageUri)
{
$this->loginPageUri = $loginPageUri;
}
/**
* @return string
*/
public function getLoginPageUri()
{
return $this->loginPageUri;
}
/**
* @param string[]
*/
public function setTenantIds($tenantIds)
{
$this->tenantIds = $tenantIds;
}
/**
* @return string[]
*/
public function getTenantIds()
{
return $this->tenantIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcipSettings::class, 'Google_Service_CloudIAP_GcipSettings');

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\CloudIAP;
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_CloudIAP_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\CloudIAP;
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_CloudIAP_GetPolicyOptions');

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\CloudIAP;
class IapEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IapEmpty::class, 'Google_Service_CloudIAP_IapEmpty');

View File

@@ -0,0 +1,132 @@
<?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\CloudIAP;
class IapResource extends \Google\Model
{
/**
* @var array[]
*/
public $expectedNextState;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $nextStateOfTagsType = NextStateOfTags::class;
protected $nextStateOfTagsDataType = '';
/**
* @var string
*/
public $service;
/**
* @var string
*/
public $type;
/**
* @param array[]
*/
public function setExpectedNextState($expectedNextState)
{
$this->expectedNextState = $expectedNextState;
}
/**
* @return array[]
*/
public function getExpectedNextState()
{
return $this->expectedNextState;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param NextStateOfTags
*/
public function setNextStateOfTags(NextStateOfTags $nextStateOfTags)
{
$this->nextStateOfTags = $nextStateOfTags;
}
/**
* @return NextStateOfTags
*/
public function getNextStateOfTags()
{
return $this->nextStateOfTags;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IapResource::class, 'Google_Service_CloudIAP_IapResource');

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\CloudIAP;
class IapSettings extends \Google\Model
{
protected $accessSettingsType = AccessSettings::class;
protected $accessSettingsDataType = '';
protected $applicationSettingsType = ApplicationSettings::class;
protected $applicationSettingsDataType = '';
/**
* @var string
*/
public $name;
/**
* @param AccessSettings
*/
public function setAccessSettings(AccessSettings $accessSettings)
{
$this->accessSettings = $accessSettings;
}
/**
* @return AccessSettings
*/
public function getAccessSettings()
{
return $this->accessSettings;
}
/**
* @param ApplicationSettings
*/
public function setApplicationSettings(ApplicationSettings $applicationSettings)
{
$this->applicationSettings = $applicationSettings;
}
/**
* @return ApplicationSettings
*/
public function getApplicationSettings()
{
return $this->applicationSettings;
}
/**
* @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(IapSettings::class, 'Google_Service_CloudIAP_IapSettings');

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\CloudIAP;
class IdentityAwareProxyClient extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $secret;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSecret($secret)
{
$this->secret = $secret;
}
/**
* @return string
*/
public function getSecret()
{
return $this->secret;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IdentityAwareProxyClient::class, 'Google_Service_CloudIAP_IdentityAwareProxyClient');

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\CloudIAP;
class ListBrandsResponse extends \Google\Collection
{
protected $collection_key = 'brands';
protected $brandsType = Brand::class;
protected $brandsDataType = 'array';
/**
* @param Brand[]
*/
public function setBrands($brands)
{
$this->brands = $brands;
}
/**
* @return Brand[]
*/
public function getBrands()
{
return $this->brands;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListBrandsResponse::class, 'Google_Service_CloudIAP_ListBrandsResponse');

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\CloudIAP;
class ListIdentityAwareProxyClientsResponse extends \Google\Collection
{
protected $collection_key = 'identityAwareProxyClients';
protected $identityAwareProxyClientsType = IdentityAwareProxyClient::class;
protected $identityAwareProxyClientsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param IdentityAwareProxyClient[]
*/
public function setIdentityAwareProxyClients($identityAwareProxyClients)
{
$this->identityAwareProxyClients = $identityAwareProxyClients;
}
/**
* @return IdentityAwareProxyClient[]
*/
public function getIdentityAwareProxyClients()
{
return $this->identityAwareProxyClients;
}
/**
* @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(ListIdentityAwareProxyClientsResponse::class, 'Google_Service_CloudIAP_ListIdentityAwareProxyClientsResponse');

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\CloudIAP;
class ListTunnelDestGroupsResponse extends \Google\Collection
{
protected $collection_key = 'tunnelDestGroups';
/**
* @var string
*/
public $nextPageToken;
protected $tunnelDestGroupsType = TunnelDestGroup::class;
protected $tunnelDestGroupsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param TunnelDestGroup[]
*/
public function setTunnelDestGroups($tunnelDestGroups)
{
$this->tunnelDestGroups = $tunnelDestGroups;
}
/**
* @return TunnelDestGroup[]
*/
public function getTunnelDestGroups()
{
return $this->tunnelDestGroups;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListTunnelDestGroupsResponse::class, 'Google_Service_CloudIAP_ListTunnelDestGroupsResponse');

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\CloudIAP;
class NextStateOfTags extends \Google\Model
{
protected $tagsFullStateType = TagsFullState::class;
protected $tagsFullStateDataType = '';
protected $tagsFullStateForChildResourceType = TagsFullStateForChildResource::class;
protected $tagsFullStateForChildResourceDataType = '';
protected $tagsPartialStateType = TagsPartialState::class;
protected $tagsPartialStateDataType = '';
/**
* @param TagsFullState
*/
public function setTagsFullState(TagsFullState $tagsFullState)
{
$this->tagsFullState = $tagsFullState;
}
/**
* @return TagsFullState
*/
public function getTagsFullState()
{
return $this->tagsFullState;
}
/**
* @param TagsFullStateForChildResource
*/
public function setTagsFullStateForChildResource(TagsFullStateForChildResource $tagsFullStateForChildResource)
{
$this->tagsFullStateForChildResource = $tagsFullStateForChildResource;
}
/**
* @return TagsFullStateForChildResource
*/
public function getTagsFullStateForChildResource()
{
return $this->tagsFullStateForChildResource;
}
/**
* @param TagsPartialState
*/
public function setTagsPartialState(TagsPartialState $tagsPartialState)
{
$this->tagsPartialState = $tagsPartialState;
}
/**
* @return TagsPartialState
*/
public function getTagsPartialState()
{
return $this->tagsPartialState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NextStateOfTags::class, 'Google_Service_CloudIAP_NextStateOfTags');

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\CloudIAP;
class OAuth2 extends \Google\Model
{
/**
* @var string
*/
public $clientId;
/**
* @var string
*/
public $clientSecret;
/**
* @var string
*/
public $clientSecretSha256;
/**
* @param string
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* @param string
*/
public function setClientSecret($clientSecret)
{
$this->clientSecret = $clientSecret;
}
/**
* @return string
*/
public function getClientSecret()
{
return $this->clientSecret;
}
/**
* @param string
*/
public function setClientSecretSha256($clientSecretSha256)
{
$this->clientSecretSha256 = $clientSecretSha256;
}
/**
* @return string
*/
public function getClientSecretSha256()
{
return $this->clientSecretSha256;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OAuth2::class, 'Google_Service_CloudIAP_OAuth2');

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\CloudIAP;
class OAuthSettings extends \Google\Collection
{
protected $collection_key = 'programmaticClients';
/**
* @var string
*/
public $loginHint;
/**
* @var string[]
*/
public $programmaticClients;
/**
* @param string
*/
public function setLoginHint($loginHint)
{
$this->loginHint = $loginHint;
}
/**
* @return string
*/
public function getLoginHint()
{
return $this->loginHint;
}
/**
* @param string[]
*/
public function setProgrammaticClients($programmaticClients)
{
$this->programmaticClients = $programmaticClients;
}
/**
* @return string[]
*/
public function getProgrammaticClients()
{
return $this->programmaticClients;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OAuthSettings::class, 'Google_Service_CloudIAP_OAuthSettings');

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\CloudIAP;
class Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $version;
/**
* @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_CloudIAP_Policy');

View File

@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudIAP;
class PolicyDelegationSettings extends \Google\Model
{
/**
* @var string
*/
public $iamPermission;
/**
* @var string
*/
public $iamServiceName;
protected $policyNameType = PolicyName::class;
protected $policyNameDataType = '';
protected $resourceType = IapResource::class;
protected $resourceDataType = '';
/**
* @param string
*/
public function setIamPermission($iamPermission)
{
$this->iamPermission = $iamPermission;
}
/**
* @return string
*/
public function getIamPermission()
{
return $this->iamPermission;
}
/**
* @param string
*/
public function setIamServiceName($iamServiceName)
{
$this->iamServiceName = $iamServiceName;
}
/**
* @return string
*/
public function getIamServiceName()
{
return $this->iamServiceName;
}
/**
* @param PolicyName
*/
public function setPolicyName(PolicyName $policyName)
{
$this->policyName = $policyName;
}
/**
* @return PolicyName
*/
public function getPolicyName()
{
return $this->policyName;
}
/**
* @param IapResource
*/
public function setResource(IapResource $resource)
{
$this->resource = $resource;
}
/**
* @return IapResource
*/
public function getResource()
{
return $this->resource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyDelegationSettings::class, 'Google_Service_CloudIAP_PolicyDelegationSettings');

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\CloudIAP;
class PolicyName extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyName::class, 'Google_Service_CloudIAP_PolicyName');

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\CloudIAP;
class ReauthSettings extends \Google\Model
{
/**
* @var string
*/
public $maxAge;
/**
* @var string
*/
public $method;
/**
* @var string
*/
public $policyType;
/**
* @param string
*/
public function setMaxAge($maxAge)
{
$this->maxAge = $maxAge;
}
/**
* @return string
*/
public function getMaxAge()
{
return $this->maxAge;
}
/**
* @param string
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return string
*/
public function getMethod()
{
return $this->method;
}
/**
* @param string
*/
public function setPolicyType($policyType)
{
$this->policyType = $policyType;
}
/**
* @return string
*/
public function getPolicyType()
{
return $this->policyType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReauthSettings::class, 'Google_Service_CloudIAP_ReauthSettings');

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\CloudIAP;
class ResetIdentityAwareProxyClientSecretRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResetIdentityAwareProxyClientSecretRequest::class, 'Google_Service_CloudIAP_ResetIdentityAwareProxyClientSecretRequest');

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\CloudIAP\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $iapService = new Google\Service\CloudIAP(...);
* $projects = $iapService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_CloudIAP_Resource_Projects');

View File

@@ -0,0 +1,88 @@
<?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\CloudIAP\Resource;
use Google\Service\CloudIAP\Brand;
use Google\Service\CloudIAP\ListBrandsResponse;
/**
* The "brands" collection of methods.
* Typical usage is:
* <code>
* $iapService = new Google\Service\CloudIAP(...);
* $brands = $iapService->projects_brands;
* </code>
*/
class ProjectsBrands extends \Google\Service\Resource
{
/**
* Constructs a new OAuth brand for the project if one does not exist. The
* created brand is "internal only", meaning that OAuth clients created under it
* only accept requests from users who belong to the same Google Workspace
* organization as the project. The brand is created in an un-reviewed status.
* NOTE: The "internal only" status can be manually changed in the Google Cloud
* Console. Requires that a brand does not already exist for the project, and
* that the specified support email is owned by the caller. (brands.create)
*
* @param string $parent Required. GCP Project number/id under which the brand
* is to be created. In the following format: projects/{project_number/id}.
* @param Brand $postBody
* @param array $optParams Optional parameters.
* @return Brand
* @throws \Google\Service\Exception
*/
public function create($parent, Brand $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Brand::class);
}
/**
* Retrieves the OAuth brand of the project. (brands.get)
*
* @param string $name Required. Name of the brand to be fetched. In the
* following format: projects/{project_number/id}/brands/{brand}.
* @param array $optParams Optional parameters.
* @return Brand
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Brand::class);
}
/**
* Lists the existing brands for the project. (brands.listProjectsBrands)
*
* @param string $parent Required. GCP Project number/id. In the following
* format: projects/{project_number/id}.
* @param array $optParams Optional parameters.
* @return ListBrandsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsBrands($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListBrandsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsBrands::class, 'Google_Service_CloudIAP_Resource_ProjectsBrands');

View File

@@ -0,0 +1,138 @@
<?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\CloudIAP\Resource;
use Google\Service\CloudIAP\IapEmpty;
use Google\Service\CloudIAP\IdentityAwareProxyClient;
use Google\Service\CloudIAP\ListIdentityAwareProxyClientsResponse;
use Google\Service\CloudIAP\ResetIdentityAwareProxyClientSecretRequest;
/**
* The "identityAwareProxyClients" collection of methods.
* Typical usage is:
* <code>
* $iapService = new Google\Service\CloudIAP(...);
* $identityAwareProxyClients = $iapService->projects_brands_identityAwareProxyClients;
* </code>
*/
class ProjectsBrandsIdentityAwareProxyClients extends \Google\Service\Resource
{
/**
* Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned by
* IAP. Requires that the brand for the project exists and that it is set for
* internal-only use. (identityAwareProxyClients.create)
*
* @param string $parent Required. Path to create the client in. In the
* following format: projects/{project_number/id}/brands/{brand}. The project
* must belong to a G Suite account.
* @param IdentityAwareProxyClient $postBody
* @param array $optParams Optional parameters.
* @return IdentityAwareProxyClient
* @throws \Google\Service\Exception
*/
public function create($parent, IdentityAwareProxyClient $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], IdentityAwareProxyClient::class);
}
/**
* Deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing
* obsolete clients, managing the number of clients in a given project, and
* cleaning up after tests. Requires that the client is owned by IAP.
* (identityAwareProxyClients.delete)
*
* @param string $name Required. Name of the Identity Aware Proxy client to be
* deleted. In the following format: projects/{project_number/id}/brands/{brand}
* /identityAwareProxyClients/{client_id}.
* @param array $optParams Optional parameters.
* @return IapEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], IapEmpty::class);
}
/**
* Retrieves an Identity Aware Proxy (IAP) OAuth client. Requires that the
* client is owned by IAP. (identityAwareProxyClients.get)
*
* @param string $name Required. Name of the Identity Aware Proxy client to be
* fetched. In the following format: projects/{project_number/id}/brands/{brand}
* /identityAwareProxyClients/{client_id}.
* @param array $optParams Optional parameters.
* @return IdentityAwareProxyClient
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], IdentityAwareProxyClient::class);
}
/**
* Lists the existing clients for the brand.
* (identityAwareProxyClients.listProjectsBrandsIdentityAwareProxyClients)
*
* @param string $parent Required. Full brand path. In the following format:
* projects/{project_number/id}/brands/{brand}.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of clients to return. The service
* may return fewer than this value. If unspecified, at most 100 clients will be
* returned. The maximum value is 1000; values above 1000 will be coerced to
* 1000.
* @opt_param string pageToken A page token, received from a previous
* `ListIdentityAwareProxyClients` call. Provide this to retrieve the subsequent
* page. When paginating, all other parameters provided to
* `ListIdentityAwareProxyClients` must match the call that provided the page
* token.
* @return ListIdentityAwareProxyClientsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsBrandsIdentityAwareProxyClients($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListIdentityAwareProxyClientsResponse::class);
}
/**
* Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the
* secret was compromised. Requires that the client is owned by IAP.
* (identityAwareProxyClients.resetSecret)
*
* @param string $name Required. Name of the Identity Aware Proxy client to that
* will have its secret reset. In the following format: projects/{project_number
* /id}/brands/{brand}/identityAwareProxyClients/{client_id}.
* @param ResetIdentityAwareProxyClientSecretRequest $postBody
* @param array $optParams Optional parameters.
* @return IdentityAwareProxyClient
* @throws \Google\Service\Exception
*/
public function resetSecret($name, ResetIdentityAwareProxyClientSecretRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('resetSecret', [$params], IdentityAwareProxyClient::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsBrandsIdentityAwareProxyClients::class, 'Google_Service_CloudIAP_Resource_ProjectsBrandsIdentityAwareProxyClients');

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\CloudIAP\Resource;
/**
* The "iap_tunnel" collection of methods.
* Typical usage is:
* <code>
* $iapService = new Google\Service\CloudIAP(...);
* $iap_tunnel = $iapService->projects_iap_tunnel;
* </code>
*/
class ProjectsIapTunnel extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsIapTunnel::class, 'Google_Service_CloudIAP_Resource_ProjectsIapTunnel');

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\CloudIAP\Resource;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $iapService = new Google\Service\CloudIAP(...);
* $locations = $iapService->projects_iap_tunnel_locations;
* </code>
*/
class ProjectsIapTunnelLocations extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsIapTunnelLocations::class, 'Google_Service_CloudIAP_Resource_ProjectsIapTunnelLocations');

View File

@@ -0,0 +1,140 @@
<?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\CloudIAP\Resource;
use Google\Service\CloudIAP\IapEmpty;
use Google\Service\CloudIAP\ListTunnelDestGroupsResponse;
use Google\Service\CloudIAP\TunnelDestGroup;
/**
* The "destGroups" collection of methods.
* Typical usage is:
* <code>
* $iapService = new Google\Service\CloudIAP(...);
* $destGroups = $iapService->projects_iap_tunnel_locations_destGroups;
* </code>
*/
class ProjectsIapTunnelLocationsDestGroups extends \Google\Service\Resource
{
/**
* Creates a new TunnelDestGroup. (destGroups.create)
*
* @param string $parent Required. Google Cloud Project ID and location. In the
* following format:
* `projects/{project_number/id}/iap_tunnel/locations/{location}`.
* @param TunnelDestGroup $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string tunnelDestGroupId Required. The ID to use for the
* TunnelDestGroup, which becomes the final component of the resource name. This
* value must be 4-63 characters, and valid characters are `[a-z]-`.
* @return TunnelDestGroup
* @throws \Google\Service\Exception
*/
public function create($parent, TunnelDestGroup $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], TunnelDestGroup::class);
}
/**
* Deletes a TunnelDestGroup. (destGroups.delete)
*
* @param string $name Required. Name of the TunnelDestGroup to delete. In the
* following format: `projects/{project_number/id}/iap_tunnel/locations/{locatio
* n}/destGroups/{dest_group}`.
* @param array $optParams Optional parameters.
* @return IapEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], IapEmpty::class);
}
/**
* Retrieves an existing TunnelDestGroup. (destGroups.get)
*
* @param string $name Required. Name of the TunnelDestGroup to be fetched. In
* the following format: `projects/{project_number/id}/iap_tunnel/locations/{loc
* ation}/destGroups/{dest_group}`.
* @param array $optParams Optional parameters.
* @return TunnelDestGroup
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], TunnelDestGroup::class);
}
/**
* Lists the existing TunnelDestGroups. To group across all locations, use a `-`
* as the location ID. For example:
* `/v1/projects/123/iap_tunnel/locations/-/destGroups`
* (destGroups.listProjectsIapTunnelLocationsDestGroups)
*
* @param string $parent Required. Google Cloud Project ID and location. In the
* following format:
* `projects/{project_number/id}/iap_tunnel/locations/{location}`. A `-` can be
* used for the location to group across all locations.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of groups to return. The service
* might return fewer than this value. If unspecified, at most 100 groups are
* returned. The maximum value is 1000; values above 1000 are coerced to 1000.
* @opt_param string pageToken A page token, received from a previous
* `ListTunnelDestGroups` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListTunnelDestGroups` must
* match the call that provided the page token.
* @return ListTunnelDestGroupsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsIapTunnelLocationsDestGroups($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListTunnelDestGroupsResponse::class);
}
/**
* Updates a TunnelDestGroup. (destGroups.patch)
*
* @param string $name Identifier. Identifier for the TunnelDestGroup. Must be
* unique within the project and contain only lower case letters (a-z) and
* dashes (-).
* @param TunnelDestGroup $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask A field mask that specifies which IAP settings
* to update. If omitted, then all of the settings are updated. See
* https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmask
* @return TunnelDestGroup
* @throws \Google\Service\Exception
*/
public function patch($name, TunnelDestGroup $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], TunnelDestGroup::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsIapTunnelLocationsDestGroups::class, 'Google_Service_CloudIAP_Resource_ProjectsIapTunnelLocationsDestGroups');

View File

@@ -0,0 +1,165 @@
<?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\CloudIAP\Resource;
use Google\Service\CloudIAP\GetIamPolicyRequest;
use Google\Service\CloudIAP\IapSettings;
use Google\Service\CloudIAP\Policy;
use Google\Service\CloudIAP\SetIamPolicyRequest;
use Google\Service\CloudIAP\TestIamPermissionsRequest;
use Google\Service\CloudIAP\TestIamPermissionsResponse;
use Google\Service\CloudIAP\ValidateIapAttributeExpressionResponse;
/**
* The "v1" collection of methods.
* Typical usage is:
* <code>
* $iapService = new Google\Service\CloudIAP(...);
* $v1 = $iapService->v1;
* </code>
*/
class V1 extends \Google\Service\Resource
{
/**
* Gets the access control policy for an Identity-Aware Proxy protected
* resource. More information about managing access via IAP can be found at:
* https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
* (v1.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);
}
/**
* Gets the IAP settings on a particular IAP protected resource.
* (v1.getIapSettings)
*
* @param string $name Required. The resource name for which to retrieve the
* settings. Authorization: Requires the `getSettings` permission for the
* associated resource.
* @param array $optParams Optional parameters.
* @return IapSettings
* @throws \Google\Service\Exception
*/
public function getIapSettings($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getIapSettings', [$params], IapSettings::class);
}
/**
* Sets the access control policy for an Identity-Aware Proxy protected
* resource. Replaces any existing policy. More information about managing
* access via IAP can be found at: https://cloud.google.com/iap/docs/managing-
* access#managing_access_via_the_api (v1.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 permissions that a caller has on the Identity-Aware Proxy protected
* resource. More information about managing access via IAP can be found at:
* https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
* (v1.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);
}
/**
* Updates the IAP settings on a particular IAP protected resource. It replaces
* all fields unless the `update_mask` is set. (v1.updateIapSettings)
*
* @param string $name Required. The resource name of the IAP protected
* resource.
* @param IapSettings $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The field mask specifying which IAP settings
* should be updated. If omitted, then all of the settings are updated. See
* https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmask. Note: All IAP reauth
* settings must always be set together, using the field mask:
* `iapSettings.accessSettings.reauthSettings`.
* @return IapSettings
* @throws \Google\Service\Exception
*/
public function updateIapSettings($name, IapSettings $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateIapSettings', [$params], IapSettings::class);
}
/**
* Validates that a given CEL expression conforms to IAP restrictions.
* (v1.validateAttributeExpression)
*
* @param string $name Required. The resource name of the IAP protected
* resource.
* @param array $optParams Optional parameters.
*
* @opt_param string expression Required. User input string expression. Should
* be of the form `attributes.saml_attributes.filter(attribute, attribute.name
* in ['{attribute_name}', '{attribute_name}'])`
* @return ValidateIapAttributeExpressionResponse
* @throws \Google\Service\Exception
*/
public function validateAttributeExpression($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('validateAttributeExpression', [$params], ValidateIapAttributeExpressionResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V1::class, 'Google_Service_CloudIAP_Resource_V1');

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\CloudIAP;
class SetIamPolicyRequest extends \Google\Model
{
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* @param Policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SetIamPolicyRequest::class, 'Google_Service_CloudIAP_SetIamPolicyRequest');

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\CloudIAP;
class TagsFullState extends \Google\Model
{
/**
* @var string[]
*/
public $tags;
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TagsFullState::class, 'Google_Service_CloudIAP_TagsFullState');

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\CloudIAP;
class TagsFullStateForChildResource extends \Google\Model
{
/**
* @var string[]
*/
public $tags;
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TagsFullStateForChildResource::class, 'Google_Service_CloudIAP_TagsFullStateForChildResource');

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\CloudIAP;
class TagsPartialState extends \Google\Collection
{
protected $collection_key = 'tagKeysToRemove';
/**
* @var string[]
*/
public $tagKeysToRemove;
/**
* @var string[]
*/
public $tagsToUpsert;
/**
* @param string[]
*/
public function setTagKeysToRemove($tagKeysToRemove)
{
$this->tagKeysToRemove = $tagKeysToRemove;
}
/**
* @return string[]
*/
public function getTagKeysToRemove()
{
return $this->tagKeysToRemove;
}
/**
* @param string[]
*/
public function setTagsToUpsert($tagsToUpsert)
{
$this->tagsToUpsert = $tagsToUpsert;
}
/**
* @return string[]
*/
public function getTagsToUpsert()
{
return $this->tagsToUpsert;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TagsPartialState::class, 'Google_Service_CloudIAP_TagsPartialState');

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\CloudIAP;
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_CloudIAP_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\CloudIAP;
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_CloudIAP_TestIamPermissionsResponse');

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\CloudIAP;
class TunnelDestGroup extends \Google\Collection
{
protected $collection_key = 'fqdns';
/**
* @var string[]
*/
public $cidrs;
/**
* @var string[]
*/
public $fqdns;
/**
* @var string
*/
public $name;
/**
* @param string[]
*/
public function setCidrs($cidrs)
{
$this->cidrs = $cidrs;
}
/**
* @return string[]
*/
public function getCidrs()
{
return $this->cidrs;
}
/**
* @param string[]
*/
public function setFqdns($fqdns)
{
$this->fqdns = $fqdns;
}
/**
* @return string[]
*/
public function getFqdns()
{
return $this->fqdns;
}
/**
* @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(TunnelDestGroup::class, 'Google_Service_CloudIAP_TunnelDestGroup');

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\CloudIAP;
class ValidateIapAttributeExpressionResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ValidateIapAttributeExpressionResponse::class, 'Google_Service_CloudIAP_ValidateIapAttributeExpressionResponse');

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\CloudIAP;
class WorkforceIdentitySettings extends \Google\Collection
{
protected $collection_key = 'workforcePools';
protected $oauth2Type = OAuth2::class;
protected $oauth2DataType = '';
/**
* @var string[]
*/
public $workforcePools;
/**
* @param OAuth2
*/
public function setOauth2(OAuth2 $oauth2)
{
$this->oauth2 = $oauth2;
}
/**
* @return OAuth2
*/
public function getOauth2()
{
return $this->oauth2;
}
/**
* @param string[]
*/
public function setWorkforcePools($workforcePools)
{
$this->workforcePools = $workforcePools;
}
/**
* @return string[]
*/
public function getWorkforcePools()
{
return $this->workforcePools;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WorkforceIdentitySettings::class, 'Google_Service_CloudIAP_WorkforceIdentitySettings');