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
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1AppAttestConfig extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $tokenTtl;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTokenTtl($tokenTtl)
{
$this->tokenTtl = $tokenTtl;
}
/**
* @return string
*/
public function getTokenTtl()
{
return $this->tokenTtl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1AppAttestConfig::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1AppAttestConfig');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1AppCheckToken extends \Google\Model
{
/**
* @var string
*/
public $token;
/**
* @var string
*/
public $ttl;
/**
* @param string
*/
public function setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
/**
* @param string
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return string
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1AppCheckToken::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1AppCheckToken');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse extends \Google\Collection
{
protected $collection_key = 'configs';
protected $configsType = GoogleFirebaseAppcheckV1AppAttestConfig::class;
protected $configsDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1AppAttestConfig[]
*/
public function setConfigs($configs)
{
$this->configs = $configs;
}
/**
* @return GoogleFirebaseAppcheckV1AppAttestConfig[]
*/
public function getConfigs()
{
return $this->configs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse extends \Google\Collection
{
protected $collection_key = 'configs';
protected $configsType = GoogleFirebaseAppcheckV1DeviceCheckConfig::class;
protected $configsDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1DeviceCheckConfig[]
*/
public function setConfigs($configs)
{
$this->configs = $configs;
}
/**
* @return GoogleFirebaseAppcheckV1DeviceCheckConfig[]
*/
public function getConfigs()
{
return $this->configs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse extends \Google\Collection
{
protected $collection_key = 'configs';
protected $configsType = GoogleFirebaseAppcheckV1PlayIntegrityConfig::class;
protected $configsDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1PlayIntegrityConfig[]
*/
public function setConfigs($configs)
{
$this->configs = $configs;
}
/**
* @return GoogleFirebaseAppcheckV1PlayIntegrityConfig[]
*/
public function getConfigs()
{
return $this->configs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse extends \Google\Collection
{
protected $collection_key = 'configs';
protected $configsType = GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig::class;
protected $configsDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig[]
*/
public function setConfigs($configs)
{
$this->configs = $configs;
}
/**
* @return GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig[]
*/
public function getConfigs()
{
return $this->configs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse extends \Google\Collection
{
protected $collection_key = 'configs';
protected $configsType = GoogleFirebaseAppcheckV1RecaptchaV3Config::class;
protected $configsDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1RecaptchaV3Config[]
*/
public function setConfigs($configs)
{
$this->configs = $configs;
}
/**
* @return GoogleFirebaseAppcheckV1RecaptchaV3Config[]
*/
public function getConfigs()
{
return $this->configs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse extends \Google\Collection
{
protected $collection_key = 'configs';
protected $configsType = GoogleFirebaseAppcheckV1SafetyNetConfig::class;
protected $configsDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1SafetyNetConfig[]
*/
public function setConfigs($configs)
{
$this->configs = $configs;
}
/**
* @return GoogleFirebaseAppcheckV1SafetyNetConfig[]
*/
public function getConfigs()
{
return $this->configs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest::class;
protected $requestsDataType = 'array';
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest[]
*/
public function getRequests()
{
return $this->requests;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse extends \Google\Collection
{
protected $collection_key = 'resourcePolicies';
protected $resourcePoliciesType = GoogleFirebaseAppcheckV1ResourcePolicy::class;
protected $resourcePoliciesDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1ResourcePolicy[]
*/
public function setResourcePolicies($resourcePolicies)
{
$this->resourcePolicies = $resourcePolicies;
}
/**
* @return GoogleFirebaseAppcheckV1ResourcePolicy[]
*/
public function getResourcePolicies()
{
return $this->resourcePolicies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1BatchUpdateServicesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleFirebaseAppcheckV1UpdateServiceRequest::class;
protected $requestsDataType = 'array';
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleFirebaseAppcheckV1UpdateServiceRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleFirebaseAppcheckV1UpdateServiceRequest[]
*/
public function getRequests()
{
return $this->requests;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1BatchUpdateServicesRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1BatchUpdateServicesRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1BatchUpdateServicesResponse extends \Google\Collection
{
protected $collection_key = 'services';
protected $servicesType = GoogleFirebaseAppcheckV1Service::class;
protected $servicesDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1Service[]
*/
public function setServices($services)
{
$this->services = $services;
}
/**
* @return GoogleFirebaseAppcheckV1Service[]
*/
public function getServices()
{
return $this->services;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1BatchUpdateServicesResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1BatchUpdateServicesResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1DebugToken extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $token;
/**
* @var string
*/
public $updateTime;
/**
* @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 setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1DebugToken::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1DebugToken');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Firebaseappcheck;
class GoogleFirebaseAppcheckV1DeviceCheckConfig extends \Google\Model
{
/**
* @var string
*/
public $keyId;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $privateKey;
/**
* @var bool
*/
public $privateKeySet;
/**
* @var string
*/
public $tokenTtl;
/**
* @param string
*/
public function setKeyId($keyId)
{
$this->keyId = $keyId;
}
/**
* @return string
*/
public function getKeyId()
{
return $this->keyId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPrivateKey($privateKey)
{
$this->privateKey = $privateKey;
}
/**
* @return string
*/
public function getPrivateKey()
{
return $this->privateKey;
}
/**
* @param bool
*/
public function setPrivateKeySet($privateKeySet)
{
$this->privateKeySet = $privateKeySet;
}
/**
* @return bool
*/
public function getPrivateKeySet()
{
return $this->privateKeySet;
}
/**
* @param string
*/
public function setTokenTtl($tokenTtl)
{
$this->tokenTtl = $tokenTtl;
}
/**
* @return string
*/
public function getTokenTtl()
{
return $this->tokenTtl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1DeviceCheckConfig::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1DeviceCheckConfig');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest extends \Google\Model
{
/**
* @var string
*/
public $artifact;
/**
* @var string
*/
public $assertion;
/**
* @var string
*/
public $challenge;
/**
* @var bool
*/
public $limitedUse;
/**
* @param string
*/
public function setArtifact($artifact)
{
$this->artifact = $artifact;
}
/**
* @return string
*/
public function getArtifact()
{
return $this->artifact;
}
/**
* @param string
*/
public function setAssertion($assertion)
{
$this->assertion = $assertion;
}
/**
* @return string
*/
public function getAssertion()
{
return $this->assertion;
}
/**
* @param string
*/
public function setChallenge($challenge)
{
$this->challenge = $challenge;
}
/**
* @return string
*/
public function getChallenge()
{
return $this->challenge;
}
/**
* @param bool
*/
public function setLimitedUse($limitedUse)
{
$this->limitedUse = $limitedUse;
}
/**
* @return bool
*/
public function getLimitedUse()
{
return $this->limitedUse;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest extends \Google\Model
{
/**
* @var string
*/
public $attestationStatement;
/**
* @var string
*/
public $challenge;
/**
* @var string
*/
public $keyId;
/**
* @var bool
*/
public $limitedUse;
/**
* @param string
*/
public function setAttestationStatement($attestationStatement)
{
$this->attestationStatement = $attestationStatement;
}
/**
* @return string
*/
public function getAttestationStatement()
{
return $this->attestationStatement;
}
/**
* @param string
*/
public function setChallenge($challenge)
{
$this->challenge = $challenge;
}
/**
* @return string
*/
public function getChallenge()
{
return $this->challenge;
}
/**
* @param string
*/
public function setKeyId($keyId)
{
$this->keyId = $keyId;
}
/**
* @return string
*/
public function getKeyId()
{
return $this->keyId;
}
/**
* @param bool
*/
public function setLimitedUse($limitedUse)
{
$this->limitedUse = $limitedUse;
}
/**
* @return bool
*/
public function getLimitedUse()
{
return $this->limitedUse;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Firebaseappcheck;
class GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse extends \Google\Model
{
protected $appCheckTokenType = GoogleFirebaseAppcheckV1AppCheckToken::class;
protected $appCheckTokenDataType = '';
/**
* @var string
*/
public $artifact;
/**
* @param GoogleFirebaseAppcheckV1AppCheckToken
*/
public function setAppCheckToken(GoogleFirebaseAppcheckV1AppCheckToken $appCheckToken)
{
$this->appCheckToken = $appCheckToken;
}
/**
* @return GoogleFirebaseAppcheckV1AppCheckToken
*/
public function getAppCheckToken()
{
return $this->appCheckToken;
}
/**
* @param string
*/
public function setArtifact($artifact)
{
$this->artifact = $artifact;
}
/**
* @return string
*/
public function getArtifact()
{
return $this->artifact;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest extends \Google\Model
{
/**
* @var string
*/
public $customToken;
/**
* @var bool
*/
public $limitedUse;
/**
* @param string
*/
public function setCustomToken($customToken)
{
$this->customToken = $customToken;
}
/**
* @return string
*/
public function getCustomToken()
{
return $this->customToken;
}
/**
* @param bool
*/
public function setLimitedUse($limitedUse)
{
$this->limitedUse = $limitedUse;
}
/**
* @return bool
*/
public function getLimitedUse()
{
return $this->limitedUse;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest extends \Google\Model
{
/**
* @var string
*/
public $debugToken;
/**
* @var bool
*/
public $limitedUse;
/**
* @param string
*/
public function setDebugToken($debugToken)
{
$this->debugToken = $debugToken;
}
/**
* @return string
*/
public function getDebugToken()
{
return $this->debugToken;
}
/**
* @param bool
*/
public function setLimitedUse($limitedUse)
{
$this->limitedUse = $limitedUse;
}
/**
* @return bool
*/
public function getLimitedUse()
{
return $this->limitedUse;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest extends \Google\Model
{
/**
* @var string
*/
public $deviceToken;
/**
* @var bool
*/
public $limitedUse;
/**
* @param string
*/
public function setDeviceToken($deviceToken)
{
$this->deviceToken = $deviceToken;
}
/**
* @return string
*/
public function getDeviceToken()
{
return $this->deviceToken;
}
/**
* @param bool
*/
public function setLimitedUse($limitedUse)
{
$this->limitedUse = $limitedUse;
}
/**
* @return bool
*/
public function getLimitedUse()
{
return $this->limitedUse;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest extends \Google\Model
{
/**
* @var bool
*/
public $limitedUse;
/**
* @var string
*/
public $playIntegrityToken;
/**
* @param bool
*/
public function setLimitedUse($limitedUse)
{
$this->limitedUse = $limitedUse;
}
/**
* @return bool
*/
public function getLimitedUse()
{
return $this->limitedUse;
}
/**
* @param string
*/
public function setPlayIntegrityToken($playIntegrityToken)
{
$this->playIntegrityToken = $playIntegrityToken;
}
/**
* @return string
*/
public function getPlayIntegrityToken()
{
return $this->playIntegrityToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest extends \Google\Model
{
/**
* @var bool
*/
public $limitedUse;
/**
* @var string
*/
public $recaptchaEnterpriseToken;
/**
* @param bool
*/
public function setLimitedUse($limitedUse)
{
$this->limitedUse = $limitedUse;
}
/**
* @return bool
*/
public function getLimitedUse()
{
return $this->limitedUse;
}
/**
* @param string
*/
public function setRecaptchaEnterpriseToken($recaptchaEnterpriseToken)
{
$this->recaptchaEnterpriseToken = $recaptchaEnterpriseToken;
}
/**
* @return string
*/
public function getRecaptchaEnterpriseToken()
{
return $this->recaptchaEnterpriseToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest extends \Google\Model
{
/**
* @var bool
*/
public $limitedUse;
/**
* @var string
*/
public $recaptchaV3Token;
/**
* @param bool
*/
public function setLimitedUse($limitedUse)
{
$this->limitedUse = $limitedUse;
}
/**
* @return bool
*/
public function getLimitedUse()
{
return $this->limitedUse;
}
/**
* @param string
*/
public function setRecaptchaV3Token($recaptchaV3Token)
{
$this->recaptchaV3Token = $recaptchaV3Token;
}
/**
* @return string
*/
public function getRecaptchaV3Token()
{
return $this->recaptchaV3Token;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest extends \Google\Model
{
/**
* @var string
*/
public $safetyNetToken;
/**
* @param string
*/
public function setSafetyNetToken($safetyNetToken)
{
$this->safetyNetToken = $safetyNetToken;
}
/**
* @return string
*/
public function getSafetyNetToken()
{
return $this->safetyNetToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse extends \Google\Model
{
/**
* @var string
*/
public $challenge;
/**
* @var string
*/
public $ttl;
/**
* @param string
*/
public function setChallenge($challenge)
{
$this->challenge = $challenge;
}
/**
* @return string
*/
public function getChallenge()
{
return $this->challenge;
}
/**
* @param string
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return string
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse extends \Google\Model
{
/**
* @var string
*/
public $challenge;
/**
* @var string
*/
public $ttl;
/**
* @param string
*/
public function setChallenge($challenge)
{
$this->challenge = $challenge;
}
/**
* @return string
*/
public function getChallenge()
{
return $this->challenge;
}
/**
* @param string
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return string
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1ListDebugTokensResponse extends \Google\Collection
{
protected $collection_key = 'debugTokens';
protected $debugTokensType = GoogleFirebaseAppcheckV1DebugToken::class;
protected $debugTokensDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleFirebaseAppcheckV1DebugToken[]
*/
public function setDebugTokens($debugTokens)
{
$this->debugTokens = $debugTokens;
}
/**
* @return GoogleFirebaseAppcheckV1DebugToken[]
*/
public function getDebugTokens()
{
return $this->debugTokens;
}
/**
* @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(GoogleFirebaseAppcheckV1ListDebugTokensResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ListDebugTokensResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1ListResourcePoliciesResponse extends \Google\Collection
{
protected $collection_key = 'resourcePolicies';
/**
* @var string
*/
public $nextPageToken;
protected $resourcePoliciesType = GoogleFirebaseAppcheckV1ResourcePolicy::class;
protected $resourcePoliciesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleFirebaseAppcheckV1ResourcePolicy[]
*/
public function setResourcePolicies($resourcePolicies)
{
$this->resourcePolicies = $resourcePolicies;
}
/**
* @return GoogleFirebaseAppcheckV1ResourcePolicy[]
*/
public function getResourcePolicies()
{
return $this->resourcePolicies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ListResourcePoliciesResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ListResourcePoliciesResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1ListServicesResponse extends \Google\Collection
{
protected $collection_key = 'services';
/**
* @var string
*/
public $nextPageToken;
protected $servicesType = GoogleFirebaseAppcheckV1Service::class;
protected $servicesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleFirebaseAppcheckV1Service[]
*/
public function setServices($services)
{
$this->services = $services;
}
/**
* @return GoogleFirebaseAppcheckV1Service[]
*/
public function getServices()
{
return $this->services;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ListServicesResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ListServicesResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1PlayIntegrityConfig extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $tokenTtl;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTokenTtl($tokenTtl)
{
$this->tokenTtl = $tokenTtl;
}
/**
* @return string
*/
public function getTokenTtl()
{
return $this->tokenTtl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1PlayIntegrityConfig::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfig');
@@ -0,0 +1,134 @@
<?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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1PublicJwk extends \Google\Model
{
/**
* @var string
*/
public $alg;
/**
* @var string
*/
public $e;
/**
* @var string
*/
public $kid;
/**
* @var string
*/
public $kty;
/**
* @var string
*/
public $n;
/**
* @var string
*/
public $use;
/**
* @param string
*/
public function setAlg($alg)
{
$this->alg = $alg;
}
/**
* @return string
*/
public function getAlg()
{
return $this->alg;
}
/**
* @param string
*/
public function setE($e)
{
$this->e = $e;
}
/**
* @return string
*/
public function getE()
{
return $this->e;
}
/**
* @param string
*/
public function setKid($kid)
{
$this->kid = $kid;
}
/**
* @return string
*/
public function getKid()
{
return $this->kid;
}
/**
* @param string
*/
public function setKty($kty)
{
$this->kty = $kty;
}
/**
* @return string
*/
public function getKty()
{
return $this->kty;
}
/**
* @param string
*/
public function setN($n)
{
$this->n = $n;
}
/**
* @return string
*/
public function getN()
{
return $this->n;
}
/**
* @param string
*/
public function setUse($use)
{
$this->use = $use;
}
/**
* @return string
*/
public function getUse()
{
return $this->use;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1PublicJwk::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1PublicJwk');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1PublicJwkSet extends \Google\Collection
{
protected $collection_key = 'keys';
protected $keysType = GoogleFirebaseAppcheckV1PublicJwk::class;
protected $keysDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1PublicJwk[]
*/
public function setKeys($keys)
{
$this->keys = $keys;
}
/**
* @return GoogleFirebaseAppcheckV1PublicJwk[]
*/
public function getKeys()
{
return $this->keys;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1PublicJwkSet::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1PublicJwkSet');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $siteKey;
/**
* @var string
*/
public $tokenTtl;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSiteKey($siteKey)
{
$this->siteKey = $siteKey;
}
/**
* @return string
*/
public function getSiteKey()
{
return $this->siteKey;
}
/**
* @param string
*/
public function setTokenTtl($tokenTtl)
{
$this->tokenTtl = $tokenTtl;
}
/**
* @return string
*/
public function getTokenTtl()
{
return $this->tokenTtl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1RecaptchaV3Config extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $siteSecret;
/**
* @var bool
*/
public $siteSecretSet;
/**
* @var string
*/
public $tokenTtl;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSiteSecret($siteSecret)
{
$this->siteSecret = $siteSecret;
}
/**
* @return string
*/
public function getSiteSecret()
{
return $this->siteSecret;
}
/**
* @param bool
*/
public function setSiteSecretSet($siteSecretSet)
{
$this->siteSecretSet = $siteSecretSet;
}
/**
* @return bool
*/
public function getSiteSecretSet()
{
return $this->siteSecretSet;
}
/**
* @param string
*/
public function setTokenTtl($tokenTtl)
{
$this->tokenTtl = $tokenTtl;
}
/**
* @return string
*/
public function getTokenTtl()
{
return $this->tokenTtl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1RecaptchaV3Config::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1RecaptchaV3Config');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Firebaseappcheck;
class GoogleFirebaseAppcheckV1ResourcePolicy extends \Google\Model
{
/**
* @var string
*/
public $enforcementMode;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $targetResource;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setEnforcementMode($enforcementMode)
{
$this->enforcementMode = $enforcementMode;
}
/**
* @return string
*/
public function getEnforcementMode()
{
return $this->enforcementMode;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ResourcePolicy::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ResourcePolicy');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1SafetyNetConfig extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $tokenTtl;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTokenTtl($tokenTtl)
{
$this->tokenTtl = $tokenTtl;
}
/**
* @return string
*/
public function getTokenTtl()
{
return $this->tokenTtl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1SafetyNetConfig::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1SafetyNetConfig');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1Service extends \Google\Model
{
/**
* @var string
*/
public $enforcementMode;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setEnforcementMode($enforcementMode)
{
$this->enforcementMode = $enforcementMode;
}
/**
* @return string
*/
public function getEnforcementMode()
{
return $this->enforcementMode;
}
/**
* @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(GoogleFirebaseAppcheckV1Service::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1Service');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Firebaseappcheck;
class GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest extends \Google\Model
{
protected $resourcePolicyType = GoogleFirebaseAppcheckV1ResourcePolicy::class;
protected $resourcePolicyDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleFirebaseAppcheckV1ResourcePolicy
*/
public function setResourcePolicy(GoogleFirebaseAppcheckV1ResourcePolicy $resourcePolicy)
{
$this->resourcePolicy = $resourcePolicy;
}
/**
* @return GoogleFirebaseAppcheckV1ResourcePolicy
*/
public function getResourcePolicy()
{
return $this->resourcePolicy;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Firebaseappcheck;
class GoogleFirebaseAppcheckV1UpdateServiceRequest extends \Google\Model
{
protected $serviceType = GoogleFirebaseAppcheckV1Service::class;
protected $serviceDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleFirebaseAppcheckV1Service
*/
public function setService(GoogleFirebaseAppcheckV1Service $service)
{
$this->service = $service;
}
/**
* @return GoogleFirebaseAppcheckV1Service
*/
public function getService()
{
return $this->service;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1UpdateServiceRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1UpdateServiceRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse extends \Google\Model
{
/**
* @var string
*/
public $challenge;
/**
* @var string
*/
public $ttl;
/**
* @param string
*/
public function setChallenge($challenge)
{
$this->challenge = $challenge;
}
/**
* @return string
*/
public function getChallenge()
{
return $this->challenge;
}
/**
* @param string
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return string
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaAppAttestConfig extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $tokenTtl;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTokenTtl($tokenTtl)
{
$this->tokenTtl = $tokenTtl;
}
/**
* @return string
*/
public function getTokenTtl()
{
return $this->tokenTtl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaAppAttestConfig::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaAppAttestConfig');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaAppCheckToken extends \Google\Model
{
/**
* @var string
*/
public $attestationToken;
/**
* @var string
*/
public $token;
/**
* @var string
*/
public $ttl;
/**
* @param string
*/
public function setAttestationToken($attestationToken)
{
$this->attestationToken = $attestationToken;
}
/**
* @return string
*/
public function getAttestationToken()
{
return $this->attestationToken;
}
/**
* @param string
*/
public function setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
/**
* @param string
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return string
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaAppCheckToken::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaAppCheckToken');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaAttestationTokenResponse extends \Google\Model
{
/**
* @var string
*/
public $attestationToken;
/**
* @var string
*/
public $ttl;
/**
* @param string
*/
public function setAttestationToken($attestationToken)
{
$this->attestationToken = $attestationToken;
}
/**
* @return string
*/
public function getAttestationToken()
{
return $this->attestationToken;
}
/**
* @param string
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return string
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaAttestationTokenResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaAttestationTokenResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse extends \Google\Collection
{
protected $collection_key = 'configs';
protected $configsType = GoogleFirebaseAppcheckV1betaAppAttestConfig::class;
protected $configsDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1betaAppAttestConfig[]
*/
public function setConfigs($configs)
{
$this->configs = $configs;
}
/**
* @return GoogleFirebaseAppcheckV1betaAppAttestConfig[]
*/
public function getConfigs()
{
return $this->configs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse extends \Google\Collection
{
protected $collection_key = 'configs';
protected $configsType = GoogleFirebaseAppcheckV1betaDeviceCheckConfig::class;
protected $configsDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1betaDeviceCheckConfig[]
*/
public function setConfigs($configs)
{
$this->configs = $configs;
}
/**
* @return GoogleFirebaseAppcheckV1betaDeviceCheckConfig[]
*/
public function getConfigs()
{
return $this->configs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse extends \Google\Collection
{
protected $collection_key = 'configs';
protected $configsType = GoogleFirebaseAppcheckV1betaPlayIntegrityConfig::class;
protected $configsDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1betaPlayIntegrityConfig[]
*/
public function setConfigs($configs)
{
$this->configs = $configs;
}
/**
* @return GoogleFirebaseAppcheckV1betaPlayIntegrityConfig[]
*/
public function getConfigs()
{
return $this->configs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse extends \Google\Collection
{
protected $collection_key = 'configs';
protected $configsType = GoogleFirebaseAppcheckV1betaRecaptchaConfig::class;
protected $configsDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1betaRecaptchaConfig[]
*/
public function setConfigs($configs)
{
$this->configs = $configs;
}
/**
* @return GoogleFirebaseAppcheckV1betaRecaptchaConfig[]
*/
public function getConfigs()
{
return $this->configs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse extends \Google\Collection
{
protected $collection_key = 'configs';
protected $configsType = GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig::class;
protected $configsDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig[]
*/
public function setConfigs($configs)
{
$this->configs = $configs;
}
/**
* @return GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig[]
*/
public function getConfigs()
{
return $this->configs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse extends \Google\Collection
{
protected $collection_key = 'configs';
protected $configsType = GoogleFirebaseAppcheckV1betaRecaptchaV3Config::class;
protected $configsDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1betaRecaptchaV3Config[]
*/
public function setConfigs($configs)
{
$this->configs = $configs;
}
/**
* @return GoogleFirebaseAppcheckV1betaRecaptchaV3Config[]
*/
public function getConfigs()
{
return $this->configs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse extends \Google\Collection
{
protected $collection_key = 'configs';
protected $configsType = GoogleFirebaseAppcheckV1betaSafetyNetConfig::class;
protected $configsDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1betaSafetyNetConfig[]
*/
public function setConfigs($configs)
{
$this->configs = $configs;
}
/**
* @return GoogleFirebaseAppcheckV1betaSafetyNetConfig[]
*/
public function getConfigs()
{
return $this->configs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleFirebaseAppcheckV1betaUpdateServiceRequest::class;
protected $requestsDataType = 'array';
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleFirebaseAppcheckV1betaUpdateServiceRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleFirebaseAppcheckV1betaUpdateServiceRequest[]
*/
public function getRequests()
{
return $this->requests;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse extends \Google\Collection
{
protected $collection_key = 'services';
protected $servicesType = GoogleFirebaseAppcheckV1betaService::class;
protected $servicesDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1betaService[]
*/
public function setServices($services)
{
$this->services = $services;
}
/**
* @return GoogleFirebaseAppcheckV1betaService[]
*/
public function getServices()
{
return $this->services;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaDebugToken extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $token;
/**
* @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 setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaDebugToken::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaDebugToken');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaDeviceCheckConfig extends \Google\Model
{
/**
* @var string
*/
public $keyId;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $privateKey;
/**
* @var bool
*/
public $privateKeySet;
/**
* @var string
*/
public $tokenTtl;
/**
* @param string
*/
public function setKeyId($keyId)
{
$this->keyId = $keyId;
}
/**
* @return string
*/
public function getKeyId()
{
return $this->keyId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPrivateKey($privateKey)
{
$this->privateKey = $privateKey;
}
/**
* @return string
*/
public function getPrivateKey()
{
return $this->privateKey;
}
/**
* @param bool
*/
public function setPrivateKeySet($privateKeySet)
{
$this->privateKeySet = $privateKeySet;
}
/**
* @return bool
*/
public function getPrivateKeySet()
{
return $this->privateKeySet;
}
/**
* @param string
*/
public function setTokenTtl($tokenTtl)
{
$this->tokenTtl = $tokenTtl;
}
/**
* @return string
*/
public function getTokenTtl()
{
return $this->tokenTtl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaDeviceCheckConfig::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaDeviceCheckConfig');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest extends \Google\Model
{
/**
* @var string
*/
public $artifact;
/**
* @var string
*/
public $assertion;
/**
* @var string
*/
public $challenge;
/**
* @param string
*/
public function setArtifact($artifact)
{
$this->artifact = $artifact;
}
/**
* @return string
*/
public function getArtifact()
{
return $this->artifact;
}
/**
* @param string
*/
public function setAssertion($assertion)
{
$this->assertion = $assertion;
}
/**
* @return string
*/
public function getAssertion()
{
return $this->assertion;
}
/**
* @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(GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest extends \Google\Model
{
/**
* @var string
*/
public $attestationStatement;
/**
* @var string
*/
public $challenge;
/**
* @var string
*/
public $keyId;
/**
* @param string
*/
public function setAttestationStatement($attestationStatement)
{
$this->attestationStatement = $attestationStatement;
}
/**
* @return string
*/
public function getAttestationStatement()
{
return $this->attestationStatement;
}
/**
* @param string
*/
public function setChallenge($challenge)
{
$this->challenge = $challenge;
}
/**
* @return string
*/
public function getChallenge()
{
return $this->challenge;
}
/**
* @param string
*/
public function setKeyId($keyId)
{
$this->keyId = $keyId;
}
/**
* @return string
*/
public function getKeyId()
{
return $this->keyId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse extends \Google\Model
{
protected $appCheckTokenType = GoogleFirebaseAppcheckV1betaAppCheckToken::class;
protected $appCheckTokenDataType = '';
/**
* @var string
*/
public $artifact;
protected $attestationTokenType = GoogleFirebaseAppcheckV1betaAttestationTokenResponse::class;
protected $attestationTokenDataType = '';
/**
* @param GoogleFirebaseAppcheckV1betaAppCheckToken
*/
public function setAppCheckToken(GoogleFirebaseAppcheckV1betaAppCheckToken $appCheckToken)
{
$this->appCheckToken = $appCheckToken;
}
/**
* @return GoogleFirebaseAppcheckV1betaAppCheckToken
*/
public function getAppCheckToken()
{
return $this->appCheckToken;
}
/**
* @param string
*/
public function setArtifact($artifact)
{
$this->artifact = $artifact;
}
/**
* @return string
*/
public function getArtifact()
{
return $this->artifact;
}
/**
* @param GoogleFirebaseAppcheckV1betaAttestationTokenResponse
*/
public function setAttestationToken(GoogleFirebaseAppcheckV1betaAttestationTokenResponse $attestationToken)
{
$this->attestationToken = $attestationToken;
}
/**
* @return GoogleFirebaseAppcheckV1betaAttestationTokenResponse
*/
public function getAttestationToken()
{
return $this->attestationToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest extends \Google\Model
{
/**
* @var string
*/
public $customToken;
/**
* @param string
*/
public function setCustomToken($customToken)
{
$this->customToken = $customToken;
}
/**
* @return string
*/
public function getCustomToken()
{
return $this->customToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest extends \Google\Model
{
/**
* @var string
*/
public $debugToken;
/**
* @param string
*/
public function setDebugToken($debugToken)
{
$this->debugToken = $debugToken;
}
/**
* @return string
*/
public function getDebugToken()
{
return $this->debugToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest extends \Google\Model
{
/**
* @var string
*/
public $deviceToken;
/**
* @param string
*/
public function setDeviceToken($deviceToken)
{
$this->deviceToken = $deviceToken;
}
/**
* @return string
*/
public function getDeviceToken()
{
return $this->deviceToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest extends \Google\Model
{
/**
* @var string
*/
public $playIntegrityToken;
/**
* @param string
*/
public function setPlayIntegrityToken($playIntegrityToken)
{
$this->playIntegrityToken = $playIntegrityToken;
}
/**
* @return string
*/
public function getPlayIntegrityToken()
{
return $this->playIntegrityToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest extends \Google\Model
{
/**
* @var string
*/
public $recaptchaEnterpriseToken;
/**
* @param string
*/
public function setRecaptchaEnterpriseToken($recaptchaEnterpriseToken)
{
$this->recaptchaEnterpriseToken = $recaptchaEnterpriseToken;
}
/**
* @return string
*/
public function getRecaptchaEnterpriseToken()
{
return $this->recaptchaEnterpriseToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest extends \Google\Model
{
/**
* @var string
*/
public $recaptchaToken;
/**
* @param string
*/
public function setRecaptchaToken($recaptchaToken)
{
$this->recaptchaToken = $recaptchaToken;
}
/**
* @return string
*/
public function getRecaptchaToken()
{
return $this->recaptchaToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest extends \Google\Model
{
/**
* @var string
*/
public $recaptchaV3Token;
/**
* @param string
*/
public function setRecaptchaV3Token($recaptchaV3Token)
{
$this->recaptchaV3Token = $recaptchaV3Token;
}
/**
* @return string
*/
public function getRecaptchaV3Token()
{
return $this->recaptchaV3Token;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest extends \Google\Model
{
/**
* @var string
*/
public $safetyNetToken;
/**
* @param string
*/
public function setSafetyNetToken($safetyNetToken)
{
$this->safetyNetToken = $safetyNetToken;
}
/**
* @return string
*/
public function getSafetyNetToken()
{
return $this->safetyNetToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse extends \Google\Model
{
/**
* @var string
*/
public $challenge;
/**
* @var string
*/
public $ttl;
/**
* @param string
*/
public function setChallenge($challenge)
{
$this->challenge = $challenge;
}
/**
* @return string
*/
public function getChallenge()
{
return $this->challenge;
}
/**
* @param string
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return string
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse extends \Google\Model
{
/**
* @var string
*/
public $challenge;
/**
* @var string
*/
public $ttl;
/**
* @param string
*/
public function setChallenge($challenge)
{
$this->challenge = $challenge;
}
/**
* @return string
*/
public function getChallenge()
{
return $this->challenge;
}
/**
* @param string
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return string
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaListDebugTokensResponse extends \Google\Collection
{
protected $collection_key = 'debugTokens';
protected $debugTokensType = GoogleFirebaseAppcheckV1betaDebugToken::class;
protected $debugTokensDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleFirebaseAppcheckV1betaDebugToken[]
*/
public function setDebugTokens($debugTokens)
{
$this->debugTokens = $debugTokens;
}
/**
* @return GoogleFirebaseAppcheckV1betaDebugToken[]
*/
public function getDebugTokens()
{
return $this->debugTokens;
}
/**
* @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(GoogleFirebaseAppcheckV1betaListDebugTokensResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaListDebugTokensResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaListServicesResponse extends \Google\Collection
{
protected $collection_key = 'services';
/**
* @var string
*/
public $nextPageToken;
protected $servicesType = GoogleFirebaseAppcheckV1betaService::class;
protected $servicesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleFirebaseAppcheckV1betaService[]
*/
public function setServices($services)
{
$this->services = $services;
}
/**
* @return GoogleFirebaseAppcheckV1betaService[]
*/
public function getServices()
{
return $this->services;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaListServicesResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaListServicesResponse');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaPlayIntegrityConfig extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $tokenTtl;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTokenTtl($tokenTtl)
{
$this->tokenTtl = $tokenTtl;
}
/**
* @return string
*/
public function getTokenTtl()
{
return $this->tokenTtl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaPlayIntegrityConfig::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaPlayIntegrityConfig');
@@ -0,0 +1,134 @@
<?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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaPublicJwk extends \Google\Model
{
/**
* @var string
*/
public $alg;
/**
* @var string
*/
public $e;
/**
* @var string
*/
public $kid;
/**
* @var string
*/
public $kty;
/**
* @var string
*/
public $n;
/**
* @var string
*/
public $use;
/**
* @param string
*/
public function setAlg($alg)
{
$this->alg = $alg;
}
/**
* @return string
*/
public function getAlg()
{
return $this->alg;
}
/**
* @param string
*/
public function setE($e)
{
$this->e = $e;
}
/**
* @return string
*/
public function getE()
{
return $this->e;
}
/**
* @param string
*/
public function setKid($kid)
{
$this->kid = $kid;
}
/**
* @return string
*/
public function getKid()
{
return $this->kid;
}
/**
* @param string
*/
public function setKty($kty)
{
$this->kty = $kty;
}
/**
* @return string
*/
public function getKty()
{
return $this->kty;
}
/**
* @param string
*/
public function setN($n)
{
$this->n = $n;
}
/**
* @return string
*/
public function getN()
{
return $this->n;
}
/**
* @param string
*/
public function setUse($use)
{
$this->use = $use;
}
/**
* @return string
*/
public function getUse()
{
return $this->use;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaPublicJwk::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaPublicJwk');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaPublicJwkSet extends \Google\Collection
{
protected $collection_key = 'keys';
protected $keysType = GoogleFirebaseAppcheckV1betaPublicJwk::class;
protected $keysDataType = 'array';
/**
* @param GoogleFirebaseAppcheckV1betaPublicJwk[]
*/
public function setKeys($keys)
{
$this->keys = $keys;
}
/**
* @return GoogleFirebaseAppcheckV1betaPublicJwk[]
*/
public function getKeys()
{
return $this->keys;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaPublicJwkSet::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaPublicJwkSet');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaRecaptchaConfig extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $siteSecret;
/**
* @var bool
*/
public $siteSecretSet;
/**
* @var string
*/
public $tokenTtl;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSiteSecret($siteSecret)
{
$this->siteSecret = $siteSecret;
}
/**
* @return string
*/
public function getSiteSecret()
{
return $this->siteSecret;
}
/**
* @param bool
*/
public function setSiteSecretSet($siteSecretSet)
{
$this->siteSecretSet = $siteSecretSet;
}
/**
* @return bool
*/
public function getSiteSecretSet()
{
return $this->siteSecretSet;
}
/**
* @param string
*/
public function setTokenTtl($tokenTtl)
{
$this->tokenTtl = $tokenTtl;
}
/**
* @return string
*/
public function getTokenTtl()
{
return $this->tokenTtl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaRecaptchaConfig::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaRecaptchaConfig');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $siteKey;
/**
* @var string
*/
public $tokenTtl;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSiteKey($siteKey)
{
$this->siteKey = $siteKey;
}
/**
* @return string
*/
public function getSiteKey()
{
return $this->siteKey;
}
/**
* @param string
*/
public function setTokenTtl($tokenTtl)
{
$this->tokenTtl = $tokenTtl;
}
/**
* @return string
*/
public function getTokenTtl()
{
return $this->tokenTtl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaRecaptchaV3Config extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $siteSecret;
/**
* @var bool
*/
public $siteSecretSet;
/**
* @var string
*/
public $tokenTtl;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSiteSecret($siteSecret)
{
$this->siteSecret = $siteSecret;
}
/**
* @return string
*/
public function getSiteSecret()
{
return $this->siteSecret;
}
/**
* @param bool
*/
public function setSiteSecretSet($siteSecretSet)
{
$this->siteSecretSet = $siteSecretSet;
}
/**
* @return bool
*/
public function getSiteSecretSet()
{
return $this->siteSecretSet;
}
/**
* @param string
*/
public function setTokenTtl($tokenTtl)
{
$this->tokenTtl = $tokenTtl;
}
/**
* @return string
*/
public function getTokenTtl()
{
return $this->tokenTtl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaRecaptchaV3Config::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaRecaptchaV3Config');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaSafetyNetConfig extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $tokenTtl;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTokenTtl($tokenTtl)
{
$this->tokenTtl = $tokenTtl;
}
/**
* @return string
*/
public function getTokenTtl()
{
return $this->tokenTtl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaSafetyNetConfig::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaSafetyNetConfig');
@@ -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\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaService extends \Google\Model
{
/**
* @var string
*/
public $enforcementMode;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setEnforcementMode($enforcementMode)
{
$this->enforcementMode = $enforcementMode;
}
/**
* @return string
*/
public function getEnforcementMode()
{
return $this->enforcementMode;
}
/**
* @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(GoogleFirebaseAppcheckV1betaService::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaService');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Firebaseappcheck;
class GoogleFirebaseAppcheckV1betaUpdateServiceRequest extends \Google\Model
{
protected $serviceType = GoogleFirebaseAppcheckV1betaService::class;
protected $serviceDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param GoogleFirebaseAppcheckV1betaService
*/
public function setService(GoogleFirebaseAppcheckV1betaService $service)
{
$this->service = $service;
}
/**
* @return GoogleFirebaseAppcheckV1betaService
*/
public function getService()
{
return $this->service;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1betaUpdateServiceRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1betaUpdateServiceRequest');
@@ -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\Firebaseappcheck;
class GoogleProtobufEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleProtobufEmpty::class, 'Google_Service_Firebaseappcheck_GoogleProtobufEmpty');
@@ -0,0 +1,53 @@
<?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\Firebaseappcheck\Resource;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1PublicJwkSet;
/**
* The "jwks" collection of methods.
* Typical usage is:
* <code>
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
* $jwks = $firebaseappcheckService->jwks;
* </code>
*/
class Jwks extends \Google\Service\Resource
{
/**
* Returns a public JWK set as specified by [RFC
* 7517](https://tools.ietf.org/html/rfc7517) that can be used to verify App
* Check tokens. Exactly one of the public keys in the returned set will
* successfully validate any App Check token that is currently valid. (jwks.get)
*
* @param string $name Required. The relative resource name to the public JWK
* set. Must always be exactly the string `jwks`.
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1PublicJwkSet
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleFirebaseAppcheckV1PublicJwkSet::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Jwks::class, 'Google_Service_Firebaseappcheck_Resource_Jwks');
@@ -0,0 +1,130 @@
<?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\Firebaseappcheck\Resource;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1AppCheckToken;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse;
/**
* The "oauthClients" collection of methods.
* Typical usage is:
* <code>
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
* $oauthClients = $firebaseappcheckService->oauthClients;
* </code>
*/
class OauthClients extends \Google\Service\Resource
{
/**
* Accepts an App Attest assertion and an artifact previously obtained from
* ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns
* an AppCheckToken. (oauthClients.exchangeAppAttestAssertion)
*
* @param string $app Required. The relative resource name of the iOS app, in
* the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
* `project_number` element can be replaced with the project ID of the Firebase
* project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1AppCheckToken
* @throws \Google\Service\Exception
*/
public function exchangeAppAttestAssertion($app, GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('exchangeAppAttestAssertion', [$params], GoogleFirebaseAppcheckV1AppCheckToken::class);
}
/**
* Accepts an App Attest CBOR attestation and verifies it with Apple using your
* preconfigured team and bundle IDs. If valid, returns an attestation artifact
* that can later be exchanged for an AppCheckToken using
* ExchangeAppAttestAssertion. For convenience and performance, this method's
* response object will also contain an AppCheckToken (if the verification is
* successful). (oauthClients.exchangeAppAttestAttestation)
*
* @param string $app Required. The relative resource name of the iOS app, in
* the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
* `project_number` element can be replaced with the project ID of the Firebase
* project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse
* @throws \Google\Service\Exception
*/
public function exchangeAppAttestAttestation($app, GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('exchangeAppAttestAttestation', [$params], GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse::class);
}
/**
* Validates a debug token secret that you have previously created using
* CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive
* quota is enforced on this method to prevent accidental exposure of the app to
* abuse. (oauthClients.exchangeDebugToken)
*
* @param string $app Required. The relative resource name of the app, in the
* format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
* `project_number` element can be replaced with the project ID of the Firebase
* project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1AppCheckToken
* @throws \Google\Service\Exception
*/
public function exchangeDebugToken($app, GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('exchangeDebugToken', [$params], GoogleFirebaseAppcheckV1AppCheckToken::class);
}
/**
* Generates a challenge that protects the integrity of an immediately following
* call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A
* challenge should not be reused for multiple calls.
* (oauthClients.generateAppAttestChallenge)
*
* @param string $app Required. The relative resource name of the iOS app, in
* the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
* `project_number` element can be replaced with the project ID of the Firebase
* project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse
* @throws \Google\Service\Exception
*/
public function generateAppAttestChallenge($app, GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('generateAppAttestChallenge', [$params], GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OauthClients::class, 'Google_Service_Firebaseappcheck_Resource_OauthClients');
@@ -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\Firebaseappcheck\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
* $projects = $firebaseappcheckService->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_Firebaseappcheck_Resource_Projects');
@@ -0,0 +1,289 @@
<?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\Firebaseappcheck\Resource;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1AppCheckToken;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse;
/**
* The "apps" collection of methods.
* Typical usage is:
* <code>
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
* $apps = $firebaseappcheckService->projects_apps;
* </code>
*/
class ProjectsApps extends \Google\Service\Resource
{
/**
* Accepts an App Attest assertion and an artifact previously obtained from
* ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns
* an AppCheckToken. (apps.exchangeAppAttestAssertion)
*
* @param string $app Required. The relative resource name of the iOS app, in
* the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
* `project_number` element can be replaced with the project ID of the Firebase
* project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1AppCheckToken
* @throws \Google\Service\Exception
*/
public function exchangeAppAttestAssertion($app, GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('exchangeAppAttestAssertion', [$params], GoogleFirebaseAppcheckV1AppCheckToken::class);
}
/**
* Accepts an App Attest CBOR attestation and verifies it with Apple using your
* preconfigured team and bundle IDs. If valid, returns an attestation artifact
* that can later be exchanged for an AppCheckToken using
* ExchangeAppAttestAssertion. For convenience and performance, this method's
* response object will also contain an AppCheckToken (if the verification is
* successful). (apps.exchangeAppAttestAttestation)
*
* @param string $app Required. The relative resource name of the iOS app, in
* the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
* `project_number` element can be replaced with the project ID of the Firebase
* project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse
* @throws \Google\Service\Exception
*/
public function exchangeAppAttestAttestation($app, GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('exchangeAppAttestAttestation', [$params], GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse::class);
}
/**
* Validates a custom token signed using your project's Admin SDK service
* account credentials. If valid, returns an AppCheckToken.
* (apps.exchangeCustomToken)
*
* @param string $app Required. The relative resource name of the app, in the
* format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
* `project_number` element can be replaced with the project ID of the Firebase
* project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1AppCheckToken
* @throws \Google\Service\Exception
*/
public function exchangeCustomToken($app, GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('exchangeCustomToken', [$params], GoogleFirebaseAppcheckV1AppCheckToken::class);
}
/**
* Validates a debug token secret that you have previously created using
* CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive
* quota is enforced on this method to prevent accidental exposure of the app to
* abuse. (apps.exchangeDebugToken)
*
* @param string $app Required. The relative resource name of the app, in the
* format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
* `project_number` element can be replaced with the project ID of the Firebase
* project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1AppCheckToken
* @throws \Google\Service\Exception
*/
public function exchangeDebugToken($app, GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('exchangeDebugToken', [$params], GoogleFirebaseAppcheckV1AppCheckToken::class);
}
/**
* Accepts a [`device_token`](https://developer.apple.com/documentation/devicech
* eck/dcdevice) issued by DeviceCheck, and attempts to validate it with Apple.
* If valid, returns an AppCheckToken. (apps.exchangeDeviceCheckToken)
*
* @param string $app Required. The relative resource name of the iOS app, in
* the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
* `project_number` element can be replaced with the project ID of the Firebase
* project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1AppCheckToken
* @throws \Google\Service\Exception
*/
public function exchangeDeviceCheckToken($app, GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('exchangeDeviceCheckToken', [$params], GoogleFirebaseAppcheckV1AppCheckToken::class);
}
/**
* Validates an [integrity verdict response token from Play Integrity](https://d
* eveloper.android.com/google/play/integrity/verdict#decrypt-verify). If valid,
* returns an AppCheckToken. (apps.exchangePlayIntegrityToken)
*
* @param string $app Required. The relative resource name of the Android app,
* in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary,
* the `project_number` element can be replaced with the project ID of the
* Firebase project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1AppCheckToken
* @throws \Google\Service\Exception
*/
public function exchangePlayIntegrityToken($app, GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('exchangePlayIntegrityToken', [$params], GoogleFirebaseAppcheckV1AppCheckToken::class);
}
/**
* Validates a [reCAPTCHA Enterprise response
* token](https://cloud.google.com/recaptcha-enterprise/docs/create-
* assessment#retrieve_token). If valid, returns an AppCheckToken.
* (apps.exchangeRecaptchaEnterpriseToken)
*
* @param string $app Required. The relative resource name of the web app, in
* the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
* `project_number` element can be replaced with the project ID of the Firebase
* project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1AppCheckToken
* @throws \Google\Service\Exception
*/
public function exchangeRecaptchaEnterpriseToken($app, GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('exchangeRecaptchaEnterpriseToken', [$params], GoogleFirebaseAppcheckV1AppCheckToken::class);
}
/**
* Validates a [reCAPTCHA v3 response
* token](https://developers.google.com/recaptcha/docs/v3). If valid, returns an
* AppCheckToken. (apps.exchangeRecaptchaV3Token)
*
* @param string $app Required. The relative resource name of the web app, in
* the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
* `project_number` element can be replaced with the project ID of the Firebase
* project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1AppCheckToken
* @throws \Google\Service\Exception
*/
public function exchangeRecaptchaV3Token($app, GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('exchangeRecaptchaV3Token', [$params], GoogleFirebaseAppcheckV1AppCheckToken::class);
}
/**
* Validates a [SafetyNet
* token](https://developer.android.com/training/safetynet/attestation#request-
* attestation-step). If valid, returns an AppCheckToken.
* (apps.exchangeSafetyNetToken)
*
* @param string $app Required. The relative resource name of the Android app,
* in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary,
* the `project_number` element can be replaced with the project ID of the
* Firebase project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1AppCheckToken
* @throws \Google\Service\Exception
*/
public function exchangeSafetyNetToken($app, GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('exchangeSafetyNetToken', [$params], GoogleFirebaseAppcheckV1AppCheckToken::class);
}
/**
* Generates a challenge that protects the integrity of an immediately following
* call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A
* challenge should not be reused for multiple calls.
* (apps.generateAppAttestChallenge)
*
* @param string $app Required. The relative resource name of the iOS app, in
* the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
* `project_number` element can be replaced with the project ID of the Firebase
* project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse
* @throws \Google\Service\Exception
*/
public function generateAppAttestChallenge($app, GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('generateAppAttestChallenge', [$params], GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse::class);
}
/**
* Generates a challenge that protects the integrity of an immediately following
* integrity verdict request to the Play Integrity API. The next call to
* ExchangePlayIntegrityToken using the resulting integrity token will verify
* the presence and validity of the challenge. A challenge should not be reused
* for multiple calls. (apps.generatePlayIntegrityChallenge)
*
* @param string $app Required. The relative resource name of the app, in the
* format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
* `project_number` element can be replaced with the project ID of the Firebase
* project. Learn more about using project identifiers in Google's [AIP
* 2510](https://google.aip.dev/cloud/2510) standard.
* @param GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse
* @throws \Google\Service\Exception
*/
public function generatePlayIntegrityChallenge($app, GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('generatePlayIntegrityChallenge', [$params], GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsApps::class, 'Google_Service_Firebaseappcheck_Resource_ProjectsApps');
@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Firebaseappcheck\Resource;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1AppAttestConfig;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse;
/**
* The "appAttestConfig" collection of methods.
* Typical usage is:
* <code>
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
* $appAttestConfig = $firebaseappcheckService->projects_apps_appAttestConfig;
* </code>
*/
class ProjectsAppsAppAttestConfig extends \Google\Service\Resource
{
/**
* Atomically gets the AppAttestConfigs for the specified list of apps.
* (appAttestConfig.batchGet)
*
* @param string $parent Required. The parent project name shared by all
* AppAttestConfigs being retrieved, in the format ``` projects/{project_number}
* ``` The parent collection in the `name` field of any resource being retrieved
* must match this field, or the entire batch fails.
* @param array $optParams Optional parameters.
*
* @opt_param string names Required. The relative resource names of the
* AppAttestConfigs to retrieve, in the format ```
* projects/{project_number}/apps/{app_id}/appAttestConfig ``` A maximum of 100
* objects can be retrieved in a batch.
* @return GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse
* @throws \Google\Service\Exception
*/
public function batchGet($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('batchGet', [$params], GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse::class);
}
/**
* Gets the AppAttestConfig for the specified app. (appAttestConfig.get)
*
* @param string $name Required. The relative resource name of the
* AppAttestConfig, in the format: ```
* projects/{project_number}/apps/{app_id}/appAttestConfig ```
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1AppAttestConfig
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleFirebaseAppcheckV1AppAttestConfig::class);
}
/**
* Updates the AppAttestConfig for the specified app. While this configuration
* is incomplete or invalid, the app will be unable to exchange AppAttest tokens
* for App Check tokens. (appAttestConfig.patch)
*
* @param string $name Required. The relative resource name of the App Attest
* configuration object, in the format: ```
* projects/{project_number}/apps/{app_id}/appAttestConfig ```
* @param GoogleFirebaseAppcheckV1AppAttestConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. A comma-separated list of names of
* fields in the AppAttestConfig to update. Example: `token_ttl`.
* @return GoogleFirebaseAppcheckV1AppAttestConfig
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleFirebaseAppcheckV1AppAttestConfig $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleFirebaseAppcheckV1AppAttestConfig::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAppsAppAttestConfig::class, 'Google_Service_Firebaseappcheck_Resource_ProjectsAppsAppAttestConfig');
@@ -0,0 +1,143 @@
<?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\Firebaseappcheck\Resource;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1DebugToken;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ListDebugTokensResponse;
use Google\Service\Firebaseappcheck\GoogleProtobufEmpty;
/**
* The "debugTokens" collection of methods.
* Typical usage is:
* <code>
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
* $debugTokens = $firebaseappcheckService->projects_apps_debugTokens;
* </code>
*/
class ProjectsAppsDebugTokens extends \Google\Service\Resource
{
/**
* Creates a new DebugToken for the specified app. For security reasons, after
* the creation operation completes, the `token` field cannot be updated or
* retrieved, but you can revoke the debug token using DeleteDebugToken. Each
* app can have a maximum of 20 debug tokens. (debugTokens.create)
*
* @param string $parent Required. The relative resource name of the parent app
* in which the specified DebugToken will be created, in the format: ```
* projects/{project_number}/apps/{app_id} ```
* @param GoogleFirebaseAppcheckV1DebugToken $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1DebugToken
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleFirebaseAppcheckV1DebugToken $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleFirebaseAppcheckV1DebugToken::class);
}
/**
* Deletes the specified DebugToken. A deleted debug token cannot be used to
* exchange for an App Check token. Use this method when you suspect the secret
* `token` has been compromised or when you no longer need the debug token.
* (debugTokens.delete)
*
* @param string $name Required. The relative resource name of the DebugToken to
* delete, in the format: ```
* projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ```
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Gets the specified DebugToken. For security reasons, the `token` field is
* never populated in the response. (debugTokens.get)
*
* @param string $name Required. The relative resource name of the debug token,
* in the format: ```
* projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ```
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1DebugToken
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleFirebaseAppcheckV1DebugToken::class);
}
/**
* Lists all DebugTokens for the specified app. For security reasons, the
* `token` field is never populated in the response.
* (debugTokens.listProjectsAppsDebugTokens)
*
* @param string $parent Required. The relative resource name of the parent app
* for which to list each associated DebugToken, in the format: ```
* projects/{project_number}/apps/{app_id} ```
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of DebugTokens to return in the
* response. Note that an app can have at most 20 debug tokens. The server may
* return fewer than this at its own discretion. If no value is specified (or
* too large a value is specified), the server will impose its own limit.
* @opt_param string pageToken Token returned from a previous call to
* ListDebugTokens indicating where in the set of DebugTokens to resume listing.
* Provide this to retrieve the subsequent page. When paginating, all other
* parameters provided to ListDebugTokens must match the call that provided the
* page token; if they do not match, the result is undefined.
* @return GoogleFirebaseAppcheckV1ListDebugTokensResponse
* @throws \Google\Service\Exception
*/
public function listProjectsAppsDebugTokens($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleFirebaseAppcheckV1ListDebugTokensResponse::class);
}
/**
* Updates the specified DebugToken. For security reasons, the `token` field
* cannot be updated, nor will it be populated in the response, but you can
* revoke the debug token using DeleteDebugToken. (debugTokens.patch)
*
* @param string $name Required. The relative resource name of the debug token,
* in the format: ```
* projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ```
* @param GoogleFirebaseAppcheckV1DebugToken $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. A comma-separated list of names of
* fields in the DebugToken to update. Example: `display_name`.
* @return GoogleFirebaseAppcheckV1DebugToken
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleFirebaseAppcheckV1DebugToken $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleFirebaseAppcheckV1DebugToken::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAppsDebugTokens::class, 'Google_Service_Firebaseappcheck_Resource_ProjectsAppsDebugTokens');
@@ -0,0 +1,102 @@
<?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\Firebaseappcheck\Resource;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1DeviceCheckConfig;
/**
* The "deviceCheckConfig" collection of methods.
* Typical usage is:
* <code>
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
* $deviceCheckConfig = $firebaseappcheckService->projects_apps_deviceCheckConfig;
* </code>
*/
class ProjectsAppsDeviceCheckConfig extends \Google\Service\Resource
{
/**
* Atomically gets the DeviceCheckConfigs for the specified list of apps. For
* security reasons, the `private_key` field is never populated in the response.
* (deviceCheckConfig.batchGet)
*
* @param string $parent Required. The parent project name shared by all
* DeviceCheckConfigs being retrieved, in the format ```
* projects/{project_number} ``` The parent collection in the `name` field of
* any resource being retrieved must match this field, or the entire batch
* fails.
* @param array $optParams Optional parameters.
*
* @opt_param string names Required. The relative resource names of the
* DeviceCheckConfigs to retrieve, in the format ```
* projects/{project_number}/apps/{app_id}/deviceCheckConfig ``` A maximum of
* 100 objects can be retrieved in a batch.
* @return GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse
* @throws \Google\Service\Exception
*/
public function batchGet($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('batchGet', [$params], GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse::class);
}
/**
* Gets the DeviceCheckConfig for the specified app. For security reasons, the
* `private_key` field is never populated in the response.
* (deviceCheckConfig.get)
*
* @param string $name Required. The relative resource name of the
* DeviceCheckConfig, in the format: ```
* projects/{project_number}/apps/{app_id}/deviceCheckConfig ```
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1DeviceCheckConfig
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleFirebaseAppcheckV1DeviceCheckConfig::class);
}
/**
* Updates the DeviceCheckConfig for the specified app. While this configuration
* is incomplete or invalid, the app will be unable to exchange DeviceCheck
* tokens for App Check tokens. For security reasons, the `private_key` field is
* never populated in the response. (deviceCheckConfig.patch)
*
* @param string $name Required. The relative resource name of the DeviceCheck
* configuration object, in the format: ```
* projects/{project_number}/apps/{app_id}/deviceCheckConfig ```
* @param GoogleFirebaseAppcheckV1DeviceCheckConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. A comma-separated list of names of
* fields in the DeviceCheckConfig to update. Example: `key_id,private_key`.
* @return GoogleFirebaseAppcheckV1DeviceCheckConfig
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleFirebaseAppcheckV1DeviceCheckConfig $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleFirebaseAppcheckV1DeviceCheckConfig::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAppsDeviceCheckConfig::class, 'Google_Service_Firebaseappcheck_Resource_ProjectsAppsDeviceCheckConfig');
@@ -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\Firebaseappcheck\Resource;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1PlayIntegrityConfig;
/**
* The "playIntegrityConfig" collection of methods.
* Typical usage is:
* <code>
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
* $playIntegrityConfig = $firebaseappcheckService->projects_apps_playIntegrityConfig;
* </code>
*/
class ProjectsAppsPlayIntegrityConfig extends \Google\Service\Resource
{
/**
* Atomically gets the PlayIntegrityConfigs for the specified list of apps.
* (playIntegrityConfig.batchGet)
*
* @param string $parent Required. The parent project name shared by all
* PlayIntegrityConfigs being retrieved, in the format ```
* projects/{project_number} ``` The parent collection in the `name` field of
* any resource being retrieved must match this field, or the entire batch
* fails.
* @param array $optParams Optional parameters.
*
* @opt_param string names Required. The relative resource names of the
* PlayIntegrityConfigs to retrieve, in the format ```
* projects/{project_number}/apps/{app_id}/playIntegrityConfig ``` A maximum of
* 100 objects can be retrieved in a batch.
* @return GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse
* @throws \Google\Service\Exception
*/
public function batchGet($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('batchGet', [$params], GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse::class);
}
/**
* Gets the PlayIntegrityConfig for the specified app. (playIntegrityConfig.get)
*
* @param string $name Required. The relative resource name of the
* PlayIntegrityConfig, in the format: ```
* projects/{project_number}/apps/{app_id}/playIntegrityConfig ```
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1PlayIntegrityConfig
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleFirebaseAppcheckV1PlayIntegrityConfig::class);
}
/**
* Updates the PlayIntegrityConfig for the specified app. While this
* configuration is incomplete or invalid, the app will be unable to exchange
* Play Integrity tokens for App Check tokens. (playIntegrityConfig.patch)
*
* @param string $name Required. The relative resource name of the Play
* Integrity configuration object, in the format: ```
* projects/{project_number}/apps/{app_id}/playIntegrityConfig ```
* @param GoogleFirebaseAppcheckV1PlayIntegrityConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. A comma-separated list of names of
* fields in the PlayIntegrityConfig to update. Example: `token_ttl`.
* @return GoogleFirebaseAppcheckV1PlayIntegrityConfig
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleFirebaseAppcheckV1PlayIntegrityConfig $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleFirebaseAppcheckV1PlayIntegrityConfig::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAppsPlayIntegrityConfig::class, 'Google_Service_Firebaseappcheck_Resource_ProjectsAppsPlayIntegrityConfig');
@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Firebaseappcheck\Resource;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1betaRecaptchaConfig;
/**
* The "recaptchaConfig" collection of methods.
* Typical usage is:
* <code>
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
* $recaptchaConfig = $firebaseappcheckService->recaptchaConfig;
* </code>
*/
class ProjectsAppsRecaptchaConfig extends \Google\Service\Resource
{
/**
* Atomically gets the RecaptchaConfigs for the specified list of apps. For
* security reasons, the `site_secret` field is never populated in the response.
* (recaptchaConfig.batchGet)
*
* @param string $parent Required. The parent project name shared by all
* RecaptchaConfigs being retrieved, in the format ``` projects/{project_number}
* ``` The parent collection in the `name` field of any resource being retrieved
* must match this field, or the entire batch fails.
* @param array $optParams Optional parameters.
*
* @opt_param string names Required. The relative resource names of the
* RecaptchaConfigs to retrieve, in the format: ```
* projects/{project_number}/apps/{app_id}/recaptchaConfig ``` A maximum of 100
* objects can be retrieved in a batch.
* @return GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse
*/
public function batchGet($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('batchGet', [$params], GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse::class);
}
/**
* Gets the RecaptchaConfig for the specified app. For security reasons, the
* `site_secret` field is never populated in the response. (recaptchaConfig.get)
*
* @param string $name Required. The relative resource name of the
* RecaptchaConfig, in the format: ```
* projects/{project_number}/apps/{app_id}/recaptchaConfig ```
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1betaRecaptchaConfig
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleFirebaseAppcheckV1betaRecaptchaConfig::class);
}
/**
* Updates the RecaptchaConfig for the specified app. While this configuration
* is incomplete or invalid, the app will be unable to exchange reCAPTCHA tokens
* for App Check tokens. For security reasons, the `site_secret` field is never
* populated in the response. (recaptchaConfig.patch)
*
* @param string $name Required. The relative resource name of the reCAPTCHA v3
* configuration object, in the format: ```
* projects/{project_number}/apps/{app_id}/recaptchaConfig ```
* @param GoogleFirebaseAppcheckV1betaRecaptchaConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. A comma-separated list of names of
* fields in the RecaptchaConfig to update. Example: `site_secret`.
* @return GoogleFirebaseAppcheckV1betaRecaptchaConfig
*/
public function patch($name, GoogleFirebaseAppcheckV1betaRecaptchaConfig $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleFirebaseAppcheckV1betaRecaptchaConfig::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAppsRecaptchaConfig::class, 'Google_Service_Firebaseappcheck_Resource_ProjectsAppsRecaptchaConfig');
@@ -0,0 +1,100 @@
<?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\Firebaseappcheck\Resource;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig;
/**
* The "recaptchaEnterpriseConfig" collection of methods.
* Typical usage is:
* <code>
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
* $recaptchaEnterpriseConfig = $firebaseappcheckService->projects_apps_recaptchaEnterpriseConfig;
* </code>
*/
class ProjectsAppsRecaptchaEnterpriseConfig extends \Google\Service\Resource
{
/**
* Atomically gets the RecaptchaEnterpriseConfigs for the specified list of
* apps. (recaptchaEnterpriseConfig.batchGet)
*
* @param string $parent Required. The parent project name shared by all
* RecaptchaEnterpriseConfigs being retrieved, in the format ```
* projects/{project_number} ``` The parent collection in the `name` field of
* any resource being retrieved must match this field, or the entire batch
* fails.
* @param array $optParams Optional parameters.
*
* @opt_param string names Required. The relative resource names of the
* RecaptchaEnterpriseConfigs to retrieve, in the format: ```
* projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig ``` A
* maximum of 100 objects can be retrieved in a batch.
* @return GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse
* @throws \Google\Service\Exception
*/
public function batchGet($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('batchGet', [$params], GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse::class);
}
/**
* Gets the RecaptchaEnterpriseConfig for the specified app.
* (recaptchaEnterpriseConfig.get)
*
* @param string $name Required. The relative resource name of the
* RecaptchaEnterpriseConfig, in the format: ```
* projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig ```
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig::class);
}
/**
* Updates the RecaptchaEnterpriseConfig for the specified app. While this
* configuration is incomplete or invalid, the app will be unable to exchange
* reCAPTCHA Enterprise tokens for App Check tokens.
* (recaptchaEnterpriseConfig.patch)
*
* @param string $name Required. The relative resource name of the reCAPTCHA
* Enterprise configuration object, in the format: ```
* projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig ```
* @param GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. A comma-separated list of names of
* fields in the RecaptchaEnterpriseConfig to update. Example: `site_key`.
* @return GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAppsRecaptchaEnterpriseConfig::class, 'Google_Service_Firebaseappcheck_Resource_ProjectsAppsRecaptchaEnterpriseConfig');
@@ -0,0 +1,102 @@
<?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\Firebaseappcheck\Resource;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1RecaptchaV3Config;
/**
* The "recaptchaV3Config" collection of methods.
* Typical usage is:
* <code>
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
* $recaptchaV3Config = $firebaseappcheckService->projects_apps_recaptchaV3Config;
* </code>
*/
class ProjectsAppsRecaptchaV3Config extends \Google\Service\Resource
{
/**
* Atomically gets the RecaptchaV3Configs for the specified list of apps. For
* security reasons, the `site_secret` field is never populated in the response.
* (recaptchaV3Config.batchGet)
*
* @param string $parent Required. The parent project name shared by all
* RecaptchaV3Configs being retrieved, in the format ```
* projects/{project_number} ``` The parent collection in the `name` field of
* any resource being retrieved must match this field, or the entire batch
* fails.
* @param array $optParams Optional parameters.
*
* @opt_param string names Required. The relative resource names of the
* RecaptchaV3Configs to retrieve, in the format: ```
* projects/{project_number}/apps/{app_id}/recaptchaV3Config ``` A maximum of
* 100 objects can be retrieved in a batch.
* @return GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse
* @throws \Google\Service\Exception
*/
public function batchGet($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('batchGet', [$params], GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse::class);
}
/**
* Gets the RecaptchaV3Config for the specified app. For security reasons, the
* `site_secret` field is never populated in the response.
* (recaptchaV3Config.get)
*
* @param string $name Required. The relative resource name of the
* RecaptchaV3Config, in the format: ```
* projects/{project_number}/apps/{app_id}/recaptchaV3Config ```
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1RecaptchaV3Config
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleFirebaseAppcheckV1RecaptchaV3Config::class);
}
/**
* Updates the RecaptchaV3Config for the specified app. While this configuration
* is incomplete or invalid, the app will be unable to exchange reCAPTCHA V3
* tokens for App Check tokens. For security reasons, the `site_secret` field is
* never populated in the response. (recaptchaV3Config.patch)
*
* @param string $name Required. The relative resource name of the reCAPTCHA v3
* configuration object, in the format: ```
* projects/{project_number}/apps/{app_id}/recaptchaV3Config ```
* @param GoogleFirebaseAppcheckV1RecaptchaV3Config $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. A comma-separated list of names of
* fields in the RecaptchaV3Config to update. Example: `site_secret`.
* @return GoogleFirebaseAppcheckV1RecaptchaV3Config
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleFirebaseAppcheckV1RecaptchaV3Config $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleFirebaseAppcheckV1RecaptchaV3Config::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAppsRecaptchaV3Config::class, 'Google_Service_Firebaseappcheck_Resource_ProjectsAppsRecaptchaV3Config');
@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Firebaseappcheck\Resource;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1SafetyNetConfig;
/**
* The "safetyNetConfig" collection of methods.
* Typical usage is:
* <code>
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
* $safetyNetConfig = $firebaseappcheckService->projects_apps_safetyNetConfig;
* </code>
*/
class ProjectsAppsSafetyNetConfig extends \Google\Service\Resource
{
/**
* Atomically gets the SafetyNetConfigs for the specified list of apps.
* (safetyNetConfig.batchGet)
*
* @param string $parent Required. The parent project name shared by all
* SafetyNetConfigs being retrieved, in the format ``` projects/{project_number}
* ``` The parent collection in the `name` field of any resource being retrieved
* must match this field, or the entire batch fails.
* @param array $optParams Optional parameters.
*
* @opt_param string names Required. The relative resource names of the
* SafetyNetConfigs to retrieve, in the format ```
* projects/{project_number}/apps/{app_id}/safetyNetConfig ``` A maximum of 100
* objects can be retrieved in a batch.
* @return GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse
* @throws \Google\Service\Exception
*/
public function batchGet($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('batchGet', [$params], GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse::class);
}
/**
* Gets the SafetyNetConfig for the specified app. (safetyNetConfig.get)
*
* @param string $name Required. The relative resource name of the
* SafetyNetConfig, in the format: ```
* projects/{project_number}/apps/{app_id}/safetyNetConfig ```
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1SafetyNetConfig
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleFirebaseAppcheckV1SafetyNetConfig::class);
}
/**
* Updates the SafetyNetConfig for the specified app. While this configuration
* is incomplete or invalid, the app will be unable to exchange SafetyNet tokens
* for App Check tokens. (safetyNetConfig.patch)
*
* @param string $name Required. The relative resource name of the SafetyNet
* configuration object, in the format: ```
* projects/{project_number}/apps/{app_id}/safetyNetConfig ```
* @param GoogleFirebaseAppcheckV1SafetyNetConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. A comma-separated list of names of
* fields in the SafetyNetConfig to update. Example: `token_ttl`.
* @return GoogleFirebaseAppcheckV1SafetyNetConfig
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleFirebaseAppcheckV1SafetyNetConfig $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleFirebaseAppcheckV1SafetyNetConfig::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAppsSafetyNetConfig::class, 'Google_Service_Firebaseappcheck_Resource_ProjectsAppsSafetyNetConfig');
@@ -0,0 +1,131 @@
<?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\Firebaseappcheck\Resource;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1BatchUpdateServicesRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1BatchUpdateServicesResponse;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ListServicesResponse;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1Service;
/**
* The "services" collection of methods.
* Typical usage is:
* <code>
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
* $services = $firebaseappcheckService->projects_services;
* </code>
*/
class ProjectsServices extends \Google\Service\Resource
{
/**
* Atomically updates the specified Service configurations.
* (services.batchUpdate)
*
* @param string $parent Required. The parent project name shared by all Service
* configurations being updated, in the format ``` projects/{project_number} ```
* The parent collection in the `name` field of any resource being updated must
* match this field, or the entire batch fails.
* @param GoogleFirebaseAppcheckV1BatchUpdateServicesRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1BatchUpdateServicesResponse
* @throws \Google\Service\Exception
*/
public function batchUpdate($parent, GoogleFirebaseAppcheckV1BatchUpdateServicesRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchUpdate', [$params], GoogleFirebaseAppcheckV1BatchUpdateServicesResponse::class);
}
/**
* Gets the Service configuration for the specified service name. (services.get)
*
* @param string $name Required. The relative resource name of the Service to
* retrieve, in the format: ``` projects/{project_number}/services/{service_id}
* ``` Note that the `service_id` element must be a supported service ID.
* Currently, the following service IDs are supported: *
* `firebasestorage.googleapis.com` (Cloud Storage for Firebase) *
* `firebasedatabase.googleapis.com` (Firebase Realtime Database) *
* `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com`
* (Google Identity for iOS)
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1Service
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleFirebaseAppcheckV1Service::class);
}
/**
* Lists all Service configurations for the specified project. Only Services
* which were explicitly configured using UpdateService or BatchUpdateServices
* will be returned. (services.listProjectsServices)
*
* @param string $parent Required. The relative resource name of the parent
* project for which to list each associated Service, in the format: ```
* projects/{project_number} ```
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of Services to return in the
* response. Only explicitly configured services are returned. The server may
* return fewer than this at its own discretion. If no value is specified (or
* too large a value is specified), the server will impose its own limit.
* @opt_param string pageToken Token returned from a previous call to
* ListServices indicating where in the set of Services to resume listing.
* Provide this to retrieve the subsequent page. When paginating, all other
* parameters provided to ListServices must match the call that provided the
* page token; if they do not match, the result is undefined.
* @return GoogleFirebaseAppcheckV1ListServicesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsServices($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleFirebaseAppcheckV1ListServicesResponse::class);
}
/**
* Updates the specified Service configuration. (services.patch)
*
* @param string $name Required. The relative resource name of the service
* configuration object, in the format: ```
* projects/{project_number}/services/{service_id} ``` Note that the
* `service_id` element must be a supported service ID. Currently, the following
* service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage
* for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime
* Database) * `firestore.googleapis.com` (Cloud Firestore) *
* `oauth2.googleapis.com` (Google Identity for iOS)
* @param GoogleFirebaseAppcheckV1Service $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. A comma-separated list of names of
* fields in the Service to update. Example: `enforcement_mode`.
* @return GoogleFirebaseAppcheckV1Service
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleFirebaseAppcheckV1Service $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleFirebaseAppcheckV1Service::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsServices::class, 'Google_Service_Firebaseappcheck_Resource_ProjectsServices');
@@ -0,0 +1,186 @@
<?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\Firebaseappcheck\Resource;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ListResourcePoliciesResponse;
use Google\Service\Firebaseappcheck\GoogleFirebaseAppcheckV1ResourcePolicy;
use Google\Service\Firebaseappcheck\GoogleProtobufEmpty;
/**
* The "resourcePolicies" collection of methods.
* Typical usage is:
* <code>
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
* $resourcePolicies = $firebaseappcheckService->projects_services_resourcePolicies;
* </code>
*/
class ProjectsServicesResourcePolicies extends \Google\Service\Resource
{
/**
* Atomically updates the specified ResourcePolicy configurations.
* (resourcePolicies.batchUpdate)
*
* @param string $parent Required. The parent service name, in the format ```
* projects/{project_number}/services/{service_id} ``` The parent collection in
* the `name` field of any resource being updated must match this field, or the
* entire batch fails.
* @param GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse
* @throws \Google\Service\Exception
*/
public function batchUpdate($parent, GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchUpdate', [$params], GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse::class);
}
/**
* Creates the specified ResourcePolicy configuration. (resourcePolicies.create)
*
* @param string $parent Required. The relative resource name of the parent
* Service in which the specified ResourcePolicy will be created, in the format:
* ``` projects/{project_number}/services/{service_id} ``` Note that the
* `service_id` element must be a supported service ID. Currently, the following
* service IDs are supported: * `oauth2.googleapis.com` (Google Identity for
* iOS)
* @param GoogleFirebaseAppcheckV1ResourcePolicy $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1ResourcePolicy
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleFirebaseAppcheckV1ResourcePolicy $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleFirebaseAppcheckV1ResourcePolicy::class);
}
/**
* Deletes the specified ResourcePolicy configuration. (resourcePolicies.delete)
*
* @param string $name Required. The relative resource name of the
* ResourcePolicy to delete, in the format: ``` projects/{project_number}/servic
* es/{service_id}/resourcePolicies/{resource_policy_id} ```
* @param array $optParams Optional parameters.
*
* @opt_param string etag The checksum to be validated against the current
* ResourcePolicy, to ensure the client has an up-to-date value before
* proceeding. This checksum is computed by the server based on the values of
* fields in the ResourcePolicy object, and can be obtained from the
* ResourcePolicy object received from the last CreateResourcePolicy,
* GetResourcePolicy, ListResourcePolicies, UpdateResourcePolicy, or
* BatchUpdateResourcePolicies call. This etag is strongly validated as defined
* by RFC 7232.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Gets the requested ResourcePolicy configuration. (resourcePolicies.get)
*
* @param string $name Required. The relative resource name of the
* ResourcePolicy to retrieve, in the format: ``` projects/{project_number}/serv
* ices/{service_id}/resourcePolicies/{resource_policy_id} ``` Note that the
* `service_id` element must be a supported service ID. Currently, the following
* service IDs are supported: * `oauth2.googleapis.com` (Google Identity for
* iOS)
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppcheckV1ResourcePolicy
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleFirebaseAppcheckV1ResourcePolicy::class);
}
/**
* Lists all ResourcePolicy configurations for the specified project and
* service. (resourcePolicies.listProjectsServicesResourcePolicies)
*
* @param string $parent Required. The relative resource name of the parent
* Service for which to list each associated ResourcePolicy, in the format: ```
* projects/{project_number}/services/{service_id} ``` Note that the
* `service_id` element must be a supported service ID. Currently, the following
* service IDs are supported: * `oauth2.googleapis.com` (Google Identity for
* iOS)
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filters the results by the specified rule.
* For the exact syntax of this field, please consult the
* [AIP-160](https://google.aip.dev/160) standard. Currently, since the only
* fields in the ResourcePolicy resource are the scalar fields
* `enforcement_mode` and `target_resource`, this method does not support the
* traversal operator (`.`) or the has operator (`:`). Here are some examples of
* valid filters: * `enforcement_mode = ENFORCED` * `target_resource =
* "//oauth2.googleapis.com/projects/12345/oauthClients/"` * `enforcement_mode =
* ENFORCED AND target_resource =
* "//oauth2.googleapis.com/projects/12345/oauthClients/"`
* @opt_param int pageSize The maximum number of ResourcePolicy objects to
* return in the response. The server may return fewer than this at its own
* discretion. If no value is specified (or too large a value is specified), the
* server will impose its own limit.
* @opt_param string pageToken Token returned from a previous call to
* ListResourcePolicies indicating where in the set of ResourcePolicy objects to
* resume listing. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to ListResourcePolicies must match
* the call that provided the page token; if they do not match, the result is
* undefined.
* @return GoogleFirebaseAppcheckV1ListResourcePoliciesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsServicesResourcePolicies($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleFirebaseAppcheckV1ListResourcePoliciesResponse::class);
}
/**
* Updates the specified ResourcePolicy configuration. (resourcePolicies.patch)
*
* @param string $name Required. Identifier. The relative name of the resource
* policy object, in the format: ``` projects/{project_number}/services/{service
* _id}/resourcePolicies/{resource_policy_id} ``` Note that the `service_id`
* element must be a supported service ID. Currently, the following service IDs
* are supported: * `oauth2.googleapis.com` (Google Identity for iOS)
* `resource_policy_id` is a system-generated UID.
* @param GoogleFirebaseAppcheckV1ResourcePolicy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. A comma-separated list of names of
* fields in the ResourcePolicy to update. Example: `enforcement_mode`.
* @return GoogleFirebaseAppcheckV1ResourcePolicy
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleFirebaseAppcheckV1ResourcePolicy $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleFirebaseAppcheckV1ResourcePolicy::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsServicesResourcePolicies::class, 'Google_Service_Firebaseappcheck_Resource_ProjectsServicesResourcePolicies');