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,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\Verifiedaccess;
class Challenge extends \Google\Model
{
/**
* @var string
*/
public $challenge;
/**
* @param string
*/
public function setChallenge($challenge)
{
$this->challenge = $challenge;
}
/**
* @return string
*/
public function getChallenge()
{
return $this->challenge;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Challenge::class, 'Google_Service_Verifiedaccess_Challenge');

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\Verifiedaccess;
class CrowdStrikeAgent extends \Google\Model
{
/**
* @var string
*/
public $agentId;
/**
* @var string
*/
public $customerId;
/**
* @param string
*/
public function setAgentId($agentId)
{
$this->agentId = $agentId;
}
/**
* @return string
*/
public function getAgentId()
{
return $this->agentId;
}
/**
* @param string
*/
public function setCustomerId($customerId)
{
$this->customerId = $customerId;
}
/**
* @return string
*/
public function getCustomerId()
{
return $this->customerId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CrowdStrikeAgent::class, 'Google_Service_Verifiedaccess_CrowdStrikeAgent');

View File

@@ -0,0 +1,601 @@
<?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\Verifiedaccess;
class DeviceSignals extends \Google\Collection
{
protected $collection_key = 'systemDnsServers';
/**
* @var bool
*/
public $allowScreenLock;
/**
* @var string
*/
public $browserVersion;
/**
* @var bool
*/
public $builtInDnsClientEnabled;
/**
* @var bool
*/
public $chromeRemoteDesktopAppBlocked;
protected $crowdStrikeAgentType = CrowdStrikeAgent::class;
protected $crowdStrikeAgentDataType = '';
/**
* @var string[]
*/
public $deviceAffiliationIds;
/**
* @var string
*/
public $deviceEnrollmentDomain;
/**
* @var string
*/
public $deviceManufacturer;
/**
* @var string
*/
public $deviceModel;
/**
* @var string
*/
public $diskEncryption;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $hostname;
/**
* @var string[]
*/
public $imei;
/**
* @var string[]
*/
public $macAddresses;
/**
* @var string[]
*/
public $meid;
/**
* @var string
*/
public $operatingSystem;
/**
* @var string
*/
public $osFirewall;
/**
* @var string
*/
public $osVersion;
/**
* @var string
*/
public $passwordProtectionWarningTrigger;
/**
* @var string[]
*/
public $profileAffiliationIds;
/**
* @var string
*/
public $profileEnrollmentDomain;
/**
* @var string
*/
public $realtimeUrlCheckMode;
/**
* @var string
*/
public $safeBrowsingProtectionLevel;
/**
* @var string
*/
public $screenLockSecured;
/**
* @var string
*/
public $secureBootMode;
/**
* @var string
*/
public $serialNumber;
/**
* @var bool
*/
public $siteIsolationEnabled;
/**
* @var string[]
*/
public $systemDnsServers;
/**
* @var bool
*/
public $thirdPartyBlockingEnabled;
/**
* @var string
*/
public $trigger;
/**
* @var string
*/
public $windowsMachineDomain;
/**
* @var string
*/
public $windowsUserDomain;
/**
* @param bool
*/
public function setAllowScreenLock($allowScreenLock)
{
$this->allowScreenLock = $allowScreenLock;
}
/**
* @return bool
*/
public function getAllowScreenLock()
{
return $this->allowScreenLock;
}
/**
* @param string
*/
public function setBrowserVersion($browserVersion)
{
$this->browserVersion = $browserVersion;
}
/**
* @return string
*/
public function getBrowserVersion()
{
return $this->browserVersion;
}
/**
* @param bool
*/
public function setBuiltInDnsClientEnabled($builtInDnsClientEnabled)
{
$this->builtInDnsClientEnabled = $builtInDnsClientEnabled;
}
/**
* @return bool
*/
public function getBuiltInDnsClientEnabled()
{
return $this->builtInDnsClientEnabled;
}
/**
* @param bool
*/
public function setChromeRemoteDesktopAppBlocked($chromeRemoteDesktopAppBlocked)
{
$this->chromeRemoteDesktopAppBlocked = $chromeRemoteDesktopAppBlocked;
}
/**
* @return bool
*/
public function getChromeRemoteDesktopAppBlocked()
{
return $this->chromeRemoteDesktopAppBlocked;
}
/**
* @param CrowdStrikeAgent
*/
public function setCrowdStrikeAgent(CrowdStrikeAgent $crowdStrikeAgent)
{
$this->crowdStrikeAgent = $crowdStrikeAgent;
}
/**
* @return CrowdStrikeAgent
*/
public function getCrowdStrikeAgent()
{
return $this->crowdStrikeAgent;
}
/**
* @param string[]
*/
public function setDeviceAffiliationIds($deviceAffiliationIds)
{
$this->deviceAffiliationIds = $deviceAffiliationIds;
}
/**
* @return string[]
*/
public function getDeviceAffiliationIds()
{
return $this->deviceAffiliationIds;
}
/**
* @param string
*/
public function setDeviceEnrollmentDomain($deviceEnrollmentDomain)
{
$this->deviceEnrollmentDomain = $deviceEnrollmentDomain;
}
/**
* @return string
*/
public function getDeviceEnrollmentDomain()
{
return $this->deviceEnrollmentDomain;
}
/**
* @param string
*/
public function setDeviceManufacturer($deviceManufacturer)
{
$this->deviceManufacturer = $deviceManufacturer;
}
/**
* @return string
*/
public function getDeviceManufacturer()
{
return $this->deviceManufacturer;
}
/**
* @param string
*/
public function setDeviceModel($deviceModel)
{
$this->deviceModel = $deviceModel;
}
/**
* @return string
*/
public function getDeviceModel()
{
return $this->deviceModel;
}
/**
* @param string
*/
public function setDiskEncryption($diskEncryption)
{
$this->diskEncryption = $diskEncryption;
}
/**
* @return string
*/
public function getDiskEncryption()
{
return $this->diskEncryption;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @param string[]
*/
public function setImei($imei)
{
$this->imei = $imei;
}
/**
* @return string[]
*/
public function getImei()
{
return $this->imei;
}
/**
* @param string[]
*/
public function setMacAddresses($macAddresses)
{
$this->macAddresses = $macAddresses;
}
/**
* @return string[]
*/
public function getMacAddresses()
{
return $this->macAddresses;
}
/**
* @param string[]
*/
public function setMeid($meid)
{
$this->meid = $meid;
}
/**
* @return string[]
*/
public function getMeid()
{
return $this->meid;
}
/**
* @param string
*/
public function setOperatingSystem($operatingSystem)
{
$this->operatingSystem = $operatingSystem;
}
/**
* @return string
*/
public function getOperatingSystem()
{
return $this->operatingSystem;
}
/**
* @param string
*/
public function setOsFirewall($osFirewall)
{
$this->osFirewall = $osFirewall;
}
/**
* @return string
*/
public function getOsFirewall()
{
return $this->osFirewall;
}
/**
* @param string
*/
public function setOsVersion($osVersion)
{
$this->osVersion = $osVersion;
}
/**
* @return string
*/
public function getOsVersion()
{
return $this->osVersion;
}
/**
* @param string
*/
public function setPasswordProtectionWarningTrigger($passwordProtectionWarningTrigger)
{
$this->passwordProtectionWarningTrigger = $passwordProtectionWarningTrigger;
}
/**
* @return string
*/
public function getPasswordProtectionWarningTrigger()
{
return $this->passwordProtectionWarningTrigger;
}
/**
* @param string[]
*/
public function setProfileAffiliationIds($profileAffiliationIds)
{
$this->profileAffiliationIds = $profileAffiliationIds;
}
/**
* @return string[]
*/
public function getProfileAffiliationIds()
{
return $this->profileAffiliationIds;
}
/**
* @param string
*/
public function setProfileEnrollmentDomain($profileEnrollmentDomain)
{
$this->profileEnrollmentDomain = $profileEnrollmentDomain;
}
/**
* @return string
*/
public function getProfileEnrollmentDomain()
{
return $this->profileEnrollmentDomain;
}
/**
* @param string
*/
public function setRealtimeUrlCheckMode($realtimeUrlCheckMode)
{
$this->realtimeUrlCheckMode = $realtimeUrlCheckMode;
}
/**
* @return string
*/
public function getRealtimeUrlCheckMode()
{
return $this->realtimeUrlCheckMode;
}
/**
* @param string
*/
public function setSafeBrowsingProtectionLevel($safeBrowsingProtectionLevel)
{
$this->safeBrowsingProtectionLevel = $safeBrowsingProtectionLevel;
}
/**
* @return string
*/
public function getSafeBrowsingProtectionLevel()
{
return $this->safeBrowsingProtectionLevel;
}
/**
* @param string
*/
public function setScreenLockSecured($screenLockSecured)
{
$this->screenLockSecured = $screenLockSecured;
}
/**
* @return string
*/
public function getScreenLockSecured()
{
return $this->screenLockSecured;
}
/**
* @param string
*/
public function setSecureBootMode($secureBootMode)
{
$this->secureBootMode = $secureBootMode;
}
/**
* @return string
*/
public function getSecureBootMode()
{
return $this->secureBootMode;
}
/**
* @param string
*/
public function setSerialNumber($serialNumber)
{
$this->serialNumber = $serialNumber;
}
/**
* @return string
*/
public function getSerialNumber()
{
return $this->serialNumber;
}
/**
* @param bool
*/
public function setSiteIsolationEnabled($siteIsolationEnabled)
{
$this->siteIsolationEnabled = $siteIsolationEnabled;
}
/**
* @return bool
*/
public function getSiteIsolationEnabled()
{
return $this->siteIsolationEnabled;
}
/**
* @param string[]
*/
public function setSystemDnsServers($systemDnsServers)
{
$this->systemDnsServers = $systemDnsServers;
}
/**
* @return string[]
*/
public function getSystemDnsServers()
{
return $this->systemDnsServers;
}
/**
* @param bool
*/
public function setThirdPartyBlockingEnabled($thirdPartyBlockingEnabled)
{
$this->thirdPartyBlockingEnabled = $thirdPartyBlockingEnabled;
}
/**
* @return bool
*/
public function getThirdPartyBlockingEnabled()
{
return $this->thirdPartyBlockingEnabled;
}
/**
* @param string
*/
public function setTrigger($trigger)
{
$this->trigger = $trigger;
}
/**
* @return string
*/
public function getTrigger()
{
return $this->trigger;
}
/**
* @param string
*/
public function setWindowsMachineDomain($windowsMachineDomain)
{
$this->windowsMachineDomain = $windowsMachineDomain;
}
/**
* @return string
*/
public function getWindowsMachineDomain()
{
return $this->windowsMachineDomain;
}
/**
* @param string
*/
public function setWindowsUserDomain($windowsUserDomain)
{
$this->windowsUserDomain = $windowsUserDomain;
}
/**
* @return string
*/
public function getWindowsUserDomain()
{
return $this->windowsUserDomain;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeviceSignals::class, 'Google_Service_Verifiedaccess_DeviceSignals');

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Verifiedaccess\Resource;
use Google\Service\Verifiedaccess\Challenge as ChallengeModel;
use Google\Service\Verifiedaccess\VerifiedaccessEmpty;
use Google\Service\Verifiedaccess\VerifyChallengeResponseRequest;
use Google\Service\Verifiedaccess\VerifyChallengeResponseResult;
/**
* The "challenge" collection of methods.
* Typical usage is:
* <code>
* $verifiedaccessService = new Google\Service\Verifiedaccess(...);
* $challenge = $verifiedaccessService->challenge;
* </code>
*/
class Challenge extends \Google\Service\Resource
{
/**
* Generates a new challenge. (challenge.generate)
*
* @param VerifiedaccessEmpty $postBody
* @param array $optParams Optional parameters.
* @return ChallengeModel
* @throws \Google\Service\Exception
*/
public function generate(VerifiedaccessEmpty $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('generate', [$params], ChallengeModel::class);
}
/**
* Verifies the challenge response. (challenge.verify)
*
* @param VerifyChallengeResponseRequest $postBody
* @param array $optParams Optional parameters.
* @return VerifyChallengeResponseResult
* @throws \Google\Service\Exception
*/
public function verify(VerifyChallengeResponseRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('verify', [$params], VerifyChallengeResponseResult::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Challenge::class, 'Google_Service_Verifiedaccess_Resource_Challenge');

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\Verifiedaccess;
class SignedData extends \Google\Model
{
/**
* @var string
*/
public $data;
/**
* @var string
*/
public $signature;
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setSignature($signature)
{
$this->signature = $signature;
}
/**
* @return string
*/
public function getSignature()
{
return $this->signature;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SignedData::class, 'Google_Service_Verifiedaccess_SignedData');

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

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\Verifiedaccess;
class VerifyChallengeResponseRequest extends \Google\Model
{
/**
* @var string
*/
public $challengeResponse;
/**
* @var string
*/
public $expectedIdentity;
/**
* @param string
*/
public function setChallengeResponse($challengeResponse)
{
$this->challengeResponse = $challengeResponse;
}
/**
* @return string
*/
public function getChallengeResponse()
{
return $this->challengeResponse;
}
/**
* @param string
*/
public function setExpectedIdentity($expectedIdentity)
{
$this->expectedIdentity = $expectedIdentity;
}
/**
* @return string
*/
public function getExpectedIdentity()
{
return $this->expectedIdentity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VerifyChallengeResponseRequest::class, 'Google_Service_Verifiedaccess_VerifyChallengeResponseRequest');

View File

@@ -0,0 +1,240 @@
<?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\Verifiedaccess;
class VerifyChallengeResponseResult extends \Google\Model
{
/**
* @var string
*/
public $attestedDeviceId;
/**
* @var string
*/
public $customerId;
/**
* @var string
*/
public $deviceEnrollmentId;
/**
* @var string
*/
public $devicePermanentId;
/**
* @var string
*/
public $deviceSignal;
protected $deviceSignalsType = DeviceSignals::class;
protected $deviceSignalsDataType = '';
/**
* @var string
*/
public $keyTrustLevel;
/**
* @var string
*/
public $profileCustomerId;
/**
* @var string
*/
public $profileKeyTrustLevel;
/**
* @var string
*/
public $signedPublicKeyAndChallenge;
/**
* @var string
*/
public $virtualDeviceId;
/**
* @var string
*/
public $virtualProfileId;
/**
* @param string
*/
public function setAttestedDeviceId($attestedDeviceId)
{
$this->attestedDeviceId = $attestedDeviceId;
}
/**
* @return string
*/
public function getAttestedDeviceId()
{
return $this->attestedDeviceId;
}
/**
* @param string
*/
public function setCustomerId($customerId)
{
$this->customerId = $customerId;
}
/**
* @return string
*/
public function getCustomerId()
{
return $this->customerId;
}
/**
* @param string
*/
public function setDeviceEnrollmentId($deviceEnrollmentId)
{
$this->deviceEnrollmentId = $deviceEnrollmentId;
}
/**
* @return string
*/
public function getDeviceEnrollmentId()
{
return $this->deviceEnrollmentId;
}
/**
* @param string
*/
public function setDevicePermanentId($devicePermanentId)
{
$this->devicePermanentId = $devicePermanentId;
}
/**
* @return string
*/
public function getDevicePermanentId()
{
return $this->devicePermanentId;
}
/**
* @param string
*/
public function setDeviceSignal($deviceSignal)
{
$this->deviceSignal = $deviceSignal;
}
/**
* @return string
*/
public function getDeviceSignal()
{
return $this->deviceSignal;
}
/**
* @param DeviceSignals
*/
public function setDeviceSignals(DeviceSignals $deviceSignals)
{
$this->deviceSignals = $deviceSignals;
}
/**
* @return DeviceSignals
*/
public function getDeviceSignals()
{
return $this->deviceSignals;
}
/**
* @param string
*/
public function setKeyTrustLevel($keyTrustLevel)
{
$this->keyTrustLevel = $keyTrustLevel;
}
/**
* @return string
*/
public function getKeyTrustLevel()
{
return $this->keyTrustLevel;
}
/**
* @param string
*/
public function setProfileCustomerId($profileCustomerId)
{
$this->profileCustomerId = $profileCustomerId;
}
/**
* @return string
*/
public function getProfileCustomerId()
{
return $this->profileCustomerId;
}
/**
* @param string
*/
public function setProfileKeyTrustLevel($profileKeyTrustLevel)
{
$this->profileKeyTrustLevel = $profileKeyTrustLevel;
}
/**
* @return string
*/
public function getProfileKeyTrustLevel()
{
return $this->profileKeyTrustLevel;
}
/**
* @param string
*/
public function setSignedPublicKeyAndChallenge($signedPublicKeyAndChallenge)
{
$this->signedPublicKeyAndChallenge = $signedPublicKeyAndChallenge;
}
/**
* @return string
*/
public function getSignedPublicKeyAndChallenge()
{
return $this->signedPublicKeyAndChallenge;
}
/**
* @param string
*/
public function setVirtualDeviceId($virtualDeviceId)
{
$this->virtualDeviceId = $virtualDeviceId;
}
/**
* @return string
*/
public function getVirtualDeviceId()
{
return $this->virtualDeviceId;
}
/**
* @param string
*/
public function setVirtualProfileId($virtualProfileId)
{
$this->virtualProfileId = $virtualProfileId;
}
/**
* @return string
*/
public function getVirtualProfileId()
{
return $this->virtualProfileId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VerifyChallengeResponseResult::class, 'Google_Service_Verifiedaccess_VerifyChallengeResponseResult');