Initial commit

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

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class AddFirebaseRequest extends \Google\Model
{
/**
* @var string
*/
public $locationId;
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddFirebaseRequest::class, 'Google_Service_FirebaseManagement_AddFirebaseRequest');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class AddGoogleAnalyticsRequest extends \Google\Model
{
/**
* @var string
*/
public $analyticsAccountId;
/**
* @var string
*/
public $analyticsPropertyId;
/**
* @param string
*/
public function setAnalyticsAccountId($analyticsAccountId)
{
$this->analyticsAccountId = $analyticsAccountId;
}
/**
* @return string
*/
public function getAnalyticsAccountId()
{
return $this->analyticsAccountId;
}
/**
* @param string
*/
public function setAnalyticsPropertyId($analyticsPropertyId)
{
$this->analyticsPropertyId = $analyticsPropertyId;
}
/**
* @return string
*/
public function getAnalyticsPropertyId()
{
return $this->analyticsPropertyId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddGoogleAnalyticsRequest::class, 'Google_Service_FirebaseManagement_AddGoogleAnalyticsRequest');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class AdminSdkConfig extends \Google\Model
{
/**
* @var string
*/
public $databaseURL;
/**
* @var string
*/
public $locationId;
/**
* @var string
*/
public $projectId;
/**
* @var string
*/
public $storageBucket;
/**
* @param string
*/
public function setDatabaseURL($databaseURL)
{
$this->databaseURL = $databaseURL;
}
/**
* @return string
*/
public function getDatabaseURL()
{
return $this->databaseURL;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string
*/
public function setStorageBucket($storageBucket)
{
$this->storageBucket = $storageBucket;
}
/**
* @return string
*/
public function getStorageBucket()
{
return $this->storageBucket;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdminSdkConfig::class, 'Google_Service_FirebaseManagement_AdminSdkConfig');

View File

@@ -0,0 +1,59 @@
<?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\FirebaseManagement;
class AnalyticsDetails extends \Google\Collection
{
protected $collection_key = 'streamMappings';
protected $analyticsPropertyType = AnalyticsProperty::class;
protected $analyticsPropertyDataType = '';
protected $streamMappingsType = StreamMapping::class;
protected $streamMappingsDataType = 'array';
/**
* @param AnalyticsProperty
*/
public function setAnalyticsProperty(AnalyticsProperty $analyticsProperty)
{
$this->analyticsProperty = $analyticsProperty;
}
/**
* @return AnalyticsProperty
*/
public function getAnalyticsProperty()
{
return $this->analyticsProperty;
}
/**
* @param StreamMapping[]
*/
public function setStreamMappings($streamMappings)
{
$this->streamMappings = $streamMappings;
}
/**
* @return StreamMapping[]
*/
public function getStreamMappings()
{
return $this->streamMappings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnalyticsDetails::class, 'Google_Service_FirebaseManagement_AnalyticsDetails');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class AnalyticsProperty extends \Google\Model
{
/**
* @var string
*/
public $analyticsAccountId;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $id;
/**
* @param string
*/
public function setAnalyticsAccountId($analyticsAccountId)
{
$this->analyticsAccountId = $analyticsAccountId;
}
/**
* @return string
*/
public function getAnalyticsAccountId()
{
return $this->analyticsAccountId;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnalyticsProperty::class, 'Google_Service_FirebaseManagement_AnalyticsProperty');

View File

@@ -0,0 +1,225 @@
<?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\FirebaseManagement;
class AndroidApp extends \Google\Collection
{
protected $collection_key = 'sha256Hashes';
/**
* @var string
*/
public $apiKeyId;
/**
* @var string
*/
public $appId;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $packageName;
/**
* @var string
*/
public $projectId;
/**
* @var string[]
*/
public $sha1Hashes;
/**
* @var string[]
*/
public $sha256Hashes;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setApiKeyId($apiKeyId)
{
$this->apiKeyId = $apiKeyId;
}
/**
* @return string
*/
public function getApiKeyId()
{
return $this->apiKeyId;
}
/**
* @param string
*/
public function setAppId($appId)
{
$this->appId = $appId;
}
/**
* @return string
*/
public function getAppId()
{
return $this->appId;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPackageName($packageName)
{
$this->packageName = $packageName;
}
/**
* @return string
*/
public function getPackageName()
{
return $this->packageName;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string[]
*/
public function setSha1Hashes($sha1Hashes)
{
$this->sha1Hashes = $sha1Hashes;
}
/**
* @return string[]
*/
public function getSha1Hashes()
{
return $this->sha1Hashes;
}
/**
* @param string[]
*/
public function setSha256Hashes($sha256Hashes)
{
$this->sha256Hashes = $sha256Hashes;
}
/**
* @return string[]
*/
public function getSha256Hashes()
{
return $this->sha256Hashes;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AndroidApp::class, 'Google_Service_FirebaseManagement_AndroidApp');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class AndroidAppConfig extends \Google\Model
{
/**
* @var string
*/
public $configFileContents;
/**
* @var string
*/
public $configFilename;
/**
* @param string
*/
public function setConfigFileContents($configFileContents)
{
$this->configFileContents = $configFileContents;
}
/**
* @return string
*/
public function getConfigFileContents()
{
return $this->configFileContents;
}
/**
* @param string
*/
public function setConfigFilename($configFilename)
{
$this->configFilename = $configFilename;
}
/**
* @return string
*/
public function getConfigFilename()
{
return $this->configFilename;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AndroidAppConfig::class, 'Google_Service_FirebaseManagement_AndroidAppConfig');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class DefaultResources extends \Google\Model
{
/**
* @var string
*/
public $hostingSite;
/**
* @var string
*/
public $locationId;
/**
* @var string
*/
public $realtimeDatabaseInstance;
/**
* @var string
*/
public $storageBucket;
/**
* @param string
*/
public function setHostingSite($hostingSite)
{
$this->hostingSite = $hostingSite;
}
/**
* @return string
*/
public function getHostingSite()
{
return $this->hostingSite;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param string
*/
public function setRealtimeDatabaseInstance($realtimeDatabaseInstance)
{
$this->realtimeDatabaseInstance = $realtimeDatabaseInstance;
}
/**
* @return string
*/
public function getRealtimeDatabaseInstance()
{
return $this->realtimeDatabaseInstance;
}
/**
* @param string
*/
public function setStorageBucket($storageBucket)
{
$this->storageBucket = $storageBucket;
}
/**
* @return string
*/
public function getStorageBucket()
{
return $this->storageBucket;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DefaultResources::class, 'Google_Service_FirebaseManagement_DefaultResources');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class FinalizeDefaultLocationRequest extends \Google\Model
{
/**
* @var string
*/
public $locationId;
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FinalizeDefaultLocationRequest::class, 'Google_Service_FirebaseManagement_FinalizeDefaultLocationRequest');

View File

@@ -0,0 +1,170 @@
<?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\FirebaseManagement;
class FirebaseAppInfo extends \Google\Model
{
/**
* @var string
*/
public $apiKeyId;
/**
* @var string
*/
public $appId;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $namespace;
/**
* @var string
*/
public $platform;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setApiKeyId($apiKeyId)
{
$this->apiKeyId = $apiKeyId;
}
/**
* @return string
*/
public function getApiKeyId()
{
return $this->apiKeyId;
}
/**
* @param string
*/
public function setAppId($appId)
{
$this->appId = $appId;
}
/**
* @return string
*/
public function getAppId()
{
return $this->appId;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNamespace($namespace)
{
$this->namespace = $namespace;
}
/**
* @return string
*/
public function getNamespace()
{
return $this->namespace;
}
/**
* @param string
*/
public function setPlatform($platform)
{
$this->platform = $platform;
}
/**
* @return string
*/
public function getPlatform()
{
return $this->platform;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FirebaseAppInfo::class, 'Google_Service_FirebaseManagement_FirebaseAppInfo');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class FirebaseEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FirebaseEmpty::class, 'Google_Service_FirebaseManagement_FirebaseEmpty');

View File

@@ -0,0 +1,168 @@
<?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\FirebaseManagement;
class FirebaseProject extends \Google\Model
{
/**
* @var string[]
*/
public $annotations;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $projectId;
/**
* @var string
*/
public $projectNumber;
protected $resourcesType = DefaultResources::class;
protected $resourcesDataType = '';
/**
* @var string
*/
public $state;
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @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 setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string
*/
public function setProjectNumber($projectNumber)
{
$this->projectNumber = $projectNumber;
}
/**
* @return string
*/
public function getProjectNumber()
{
return $this->projectNumber;
}
/**
* @param DefaultResources
*/
public function setResources(DefaultResources $resources)
{
$this->resources = $resources;
}
/**
* @return DefaultResources
*/
public function getResources()
{
return $this->resources;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FirebaseProject::class, 'Google_Service_FirebaseManagement_FirebaseProject');

View File

@@ -0,0 +1,224 @@
<?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\FirebaseManagement;
class IosApp extends \Google\Model
{
/**
* @var string
*/
public $apiKeyId;
/**
* @var string
*/
public $appId;
/**
* @var string
*/
public $appStoreId;
/**
* @var string
*/
public $bundleId;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $projectId;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $teamId;
/**
* @param string
*/
public function setApiKeyId($apiKeyId)
{
$this->apiKeyId = $apiKeyId;
}
/**
* @return string
*/
public function getApiKeyId()
{
return $this->apiKeyId;
}
/**
* @param string
*/
public function setAppId($appId)
{
$this->appId = $appId;
}
/**
* @return string
*/
public function getAppId()
{
return $this->appId;
}
/**
* @param string
*/
public function setAppStoreId($appStoreId)
{
$this->appStoreId = $appStoreId;
}
/**
* @return string
*/
public function getAppStoreId()
{
return $this->appStoreId;
}
/**
* @param string
*/
public function setBundleId($bundleId)
{
$this->bundleId = $bundleId;
}
/**
* @return string
*/
public function getBundleId()
{
return $this->bundleId;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setTeamId($teamId)
{
$this->teamId = $teamId;
}
/**
* @return string
*/
public function getTeamId()
{
return $this->teamId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IosApp::class, 'Google_Service_FirebaseManagement_IosApp');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class IosAppConfig extends \Google\Model
{
/**
* @var string
*/
public $configFileContents;
/**
* @var string
*/
public $configFilename;
/**
* @param string
*/
public function setConfigFileContents($configFileContents)
{
$this->configFileContents = $configFileContents;
}
/**
* @return string
*/
public function getConfigFileContents()
{
return $this->configFileContents;
}
/**
* @param string
*/
public function setConfigFilename($configFilename)
{
$this->configFilename = $configFilename;
}
/**
* @return string
*/
public function getConfigFilename()
{
return $this->configFilename;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IosAppConfig::class, 'Google_Service_FirebaseManagement_IosAppConfig');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class ListAndroidAppsResponse extends \Google\Collection
{
protected $collection_key = 'apps';
protected $appsType = AndroidApp::class;
protected $appsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AndroidApp[]
*/
public function setApps($apps)
{
$this->apps = $apps;
}
/**
* @return AndroidApp[]
*/
public function getApps()
{
return $this->apps;
}
/**
* @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(ListAndroidAppsResponse::class, 'Google_Service_FirebaseManagement_ListAndroidAppsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class ListAvailableLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @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(ListAvailableLocationsResponse::class, 'Google_Service_FirebaseManagement_ListAvailableLocationsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class ListAvailableProjectsResponse extends \Google\Collection
{
protected $collection_key = 'projectInfo';
/**
* @var string
*/
public $nextPageToken;
protected $projectInfoType = ProjectInfo::class;
protected $projectInfoDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ProjectInfo[]
*/
public function setProjectInfo($projectInfo)
{
$this->projectInfo = $projectInfo;
}
/**
* @return ProjectInfo[]
*/
public function getProjectInfo()
{
return $this->projectInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAvailableProjectsResponse::class, 'Google_Service_FirebaseManagement_ListAvailableProjectsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class ListFirebaseProjectsResponse extends \Google\Collection
{
protected $collection_key = 'results';
/**
* @var string
*/
public $nextPageToken;
protected $resultsType = FirebaseProject::class;
protected $resultsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param FirebaseProject[]
*/
public function setResults($results)
{
$this->results = $results;
}
/**
* @return FirebaseProject[]
*/
public function getResults()
{
return $this->results;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListFirebaseProjectsResponse::class, 'Google_Service_FirebaseManagement_ListFirebaseProjectsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class ListIosAppsResponse extends \Google\Collection
{
protected $collection_key = 'apps';
protected $appsType = IosApp::class;
protected $appsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param IosApp[]
*/
public function setApps($apps)
{
$this->apps = $apps;
}
/**
* @return IosApp[]
*/
public function getApps()
{
return $this->apps;
}
/**
* @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(ListIosAppsResponse::class, 'Google_Service_FirebaseManagement_ListIosAppsResponse');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class ListShaCertificatesResponse extends \Google\Collection
{
protected $collection_key = 'certificates';
protected $certificatesType = ShaCertificate::class;
protected $certificatesDataType = 'array';
/**
* @param ShaCertificate[]
*/
public function setCertificates($certificates)
{
$this->certificates = $certificates;
}
/**
* @return ShaCertificate[]
*/
public function getCertificates()
{
return $this->certificates;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListShaCertificatesResponse::class, 'Google_Service_FirebaseManagement_ListShaCertificatesResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class ListWebAppsResponse extends \Google\Collection
{
protected $collection_key = 'apps';
protected $appsType = WebApp::class;
protected $appsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param WebApp[]
*/
public function setApps($apps)
{
$this->apps = $apps;
}
/**
* @return WebApp[]
*/
public function getApps()
{
return $this->apps;
}
/**
* @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(ListWebAppsResponse::class, 'Google_Service_FirebaseManagement_ListWebAppsResponse');

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class Location extends \Google\Collection
{
protected $collection_key = 'features';
/**
* @var string[]
*/
public $features;
/**
* @var string
*/
public $locationId;
/**
* @var string
*/
public $type;
/**
* @param string[]
*/
public function setFeatures($features)
{
$this->features = $features;
}
/**
* @return string[]
*/
public function getFeatures()
{
return $this->features;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_FirebaseManagement_Location');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class MessageSet extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MessageSet::class, 'Google_Service_FirebaseManagement_MessageSet');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_FirebaseManagement_Operation');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class OperationMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_FirebaseManagement_OperationMetadata');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class ProductMetadata extends \Google\Collection
{
protected $collection_key = 'warningMessages';
/**
* @var string[]
*/
public $warningMessages;
/**
* @param string[]
*/
public function setWarningMessages($warningMessages)
{
$this->warningMessages = $warningMessages;
}
/**
* @return string[]
*/
public function getWarningMessages()
{
return $this->warningMessages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProductMetadata::class, 'Google_Service_FirebaseManagement_ProductMetadata');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class ProjectInfo extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $locationId;
/**
* @var string
*/
public $project;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param string
*/
public function setProject($project)
{
$this->project = $project;
}
/**
* @return string
*/
public function getProject()
{
return $this->project;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectInfo::class, 'Google_Service_FirebaseManagement_ProjectInfo');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class RemoveAnalyticsRequest extends \Google\Model
{
/**
* @var string
*/
public $analyticsPropertyId;
/**
* @param string
*/
public function setAnalyticsPropertyId($analyticsPropertyId)
{
$this->analyticsPropertyId = $analyticsPropertyId;
}
/**
* @return string
*/
public function getAnalyticsPropertyId()
{
return $this->analyticsPropertyId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveAnalyticsRequest::class, 'Google_Service_FirebaseManagement_RemoveAnalyticsRequest');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class RemoveAndroidAppRequest extends \Google\Model
{
/**
* @var bool
*/
public $allowMissing;
/**
* @var string
*/
public $etag;
/**
* @var bool
*/
public $immediate;
/**
* @var bool
*/
public $validateOnly;
/**
* @param bool
*/
public function setAllowMissing($allowMissing)
{
$this->allowMissing = $allowMissing;
}
/**
* @return bool
*/
public function getAllowMissing()
{
return $this->allowMissing;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param bool
*/
public function setImmediate($immediate)
{
$this->immediate = $immediate;
}
/**
* @return bool
*/
public function getImmediate()
{
return $this->immediate;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveAndroidAppRequest::class, 'Google_Service_FirebaseManagement_RemoveAndroidAppRequest');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class RemoveIosAppRequest extends \Google\Model
{
/**
* @var bool
*/
public $allowMissing;
/**
* @var string
*/
public $etag;
/**
* @var bool
*/
public $immediate;
/**
* @var bool
*/
public $validateOnly;
/**
* @param bool
*/
public function setAllowMissing($allowMissing)
{
$this->allowMissing = $allowMissing;
}
/**
* @return bool
*/
public function getAllowMissing()
{
return $this->allowMissing;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param bool
*/
public function setImmediate($immediate)
{
$this->immediate = $immediate;
}
/**
* @return bool
*/
public function getImmediate()
{
return $this->immediate;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveIosAppRequest::class, 'Google_Service_FirebaseManagement_RemoveIosAppRequest');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class RemoveWebAppRequest extends \Google\Model
{
/**
* @var bool
*/
public $allowMissing;
/**
* @var string
*/
public $etag;
/**
* @var bool
*/
public $immediate;
/**
* @var bool
*/
public $validateOnly;
/**
* @param bool
*/
public function setAllowMissing($allowMissing)
{
$this->allowMissing = $allowMissing;
}
/**
* @return bool
*/
public function getAllowMissing()
{
return $this->allowMissing;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param bool
*/
public function setImmediate($immediate)
{
$this->immediate = $immediate;
}
/**
* @return bool
*/
public function getImmediate()
{
return $this->immediate;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveWebAppRequest::class, 'Google_Service_FirebaseManagement_RemoveWebAppRequest');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement\Resource;
use Google\Service\FirebaseManagement\ListAvailableProjectsResponse;
/**
* The "availableProjects" collection of methods.
* Typical usage is:
* <code>
* $firebaseService = new Google\Service\FirebaseManagement(...);
* $availableProjects = $firebaseService->availableProjects;
* </code>
*/
class AvailableProjects extends \Google\Service\Resource
{
/**
* Lists each [Google Cloud `Project`](https://cloud.google.com/resource-
* manager/reference/rest/v1/projects) that can have Firebase resources added
* and Firebase services enabled. A Project will only be listed if: - The caller
* has sufficient [Google IAM](https://cloud.google.com/iam) permissions to call
* AddFirebase. - The Project is not already a FirebaseProject. - The Project is
* not in an Organization which has policies that prevent Firebase resources
* from being added. (availableProjects.listAvailableProjects)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of Projects to return in the
* response. The server may return fewer than this value at its discretion. If
* no value is specified (or too large a value is specified), the server will
* impose its own limit. This value cannot be negative.
* @opt_param string pageToken Token returned from a previous call to
* `ListAvailableProjects` indicating where in the set of Projects to resume
* listing.
* @return ListAvailableProjectsResponse
* @throws \Google\Service\Exception
*/
public function listAvailableProjects($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAvailableProjectsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AvailableProjects::class, 'Google_Service_FirebaseManagement_Resource_AvailableProjects');

View File

@@ -0,0 +1,51 @@
<?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\FirebaseManagement\Resource;
use Google\Service\FirebaseManagement\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $firebaseService = new Google\Service\FirebaseManagement(...);
* $operations = $firebaseService->operations;
* </code>
*/
class Operations extends \Google\Service\Resource
{
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operations::class, 'Google_Service_FirebaseManagement_Resource_Operations');

View File

@@ -0,0 +1,342 @@
<?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\FirebaseManagement\Resource;
use Google\Service\FirebaseManagement\AddFirebaseRequest;
use Google\Service\FirebaseManagement\AddGoogleAnalyticsRequest;
use Google\Service\FirebaseManagement\AdminSdkConfig;
use Google\Service\FirebaseManagement\AnalyticsDetails;
use Google\Service\FirebaseManagement\FirebaseEmpty;
use Google\Service\FirebaseManagement\FirebaseProject;
use Google\Service\FirebaseManagement\ListFirebaseProjectsResponse;
use Google\Service\FirebaseManagement\Operation;
use Google\Service\FirebaseManagement\RemoveAnalyticsRequest;
use Google\Service\FirebaseManagement\SearchFirebaseAppsResponse;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $firebaseService = new Google\Service\FirebaseManagement(...);
* $projects = $firebaseService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
/**
* Adds Firebase resources and enables Firebase services in the specified
* existing [Google Cloud `Project`](https://cloud.google.com/resource-
* manager/reference/rest/v1/projects). Since a FirebaseProject is actually also
* a Google Cloud `Project`, a `FirebaseProject` has the same underlying Google
* Cloud identifiers (`projectNumber` and `projectId`). This allows for easy
* interop with Google APIs. The result of this call is an
* [`Operation`](../../v1beta1/operations). Poll the `Operation` to track the
* provisioning process by calling GetOperation until
* [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When
* `done` is `true`, the `Operation` has either succeeded or failed. If the
* `Operation` succeeded, its
* [`response`](../../v1beta1/operations#Operation.FIELDS.response) is set to a
* FirebaseProject; if the `Operation` failed, its
* [`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a
* google.rpc.Status. The `Operation` is automatically deleted after completion,
* so there is no need to call DeleteOperation. This method does not modify any
* billing account information on the underlying Google Cloud `Project`. To call
* `AddFirebase`, a project member or service account must have the following
* permissions (the IAM roles of Editor and Owner contain these permissions):
* `firebase.projects.update`, `resourcemanager.projects.get`,
* `serviceusage.services.enable`, and `serviceusage.services.get`.
* (projects.addFirebase)
*
* @param string $project The resource name of the Google Cloud `Project` in
* which Firebase resources will be added and Firebase services enabled, in the
* format: projects/ PROJECT_IDENTIFIER Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about
* PROJECT_IDENTIFIER values. After calling `AddFirebase`, the unique Project
* identifiers ( [`projectNumber`](https://cloud.google.com/resource-
* manager/reference/rest/v1/projects#Project.FIELDS.project_number) and
* [`projectId`](https://cloud.google.com/resource-
* manager/reference/rest/v1/projects#Project.FIELDS.project_id)) of the
* underlying Google Cloud `Project` are also the identifiers of the
* FirebaseProject.
* @param AddFirebaseRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function addFirebase($project, AddFirebaseRequest $postBody, $optParams = [])
{
$params = ['project' => $project, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('addFirebase', [$params], Operation::class);
}
/**
* Links the specified FirebaseProject with an existing [Google Analytics
* account](http://www.google.com/analytics/). Using this call, you can either:
* - Specify an `analyticsAccountId` to provision a new Google Analytics
* property within the specified account and associate the new property with the
* `FirebaseProject`. - Specify an existing `analyticsPropertyId` to associate
* the property with the `FirebaseProject`. Note that when you call
* `AddGoogleAnalytics`: 1. The first check determines if any existing data
* streams in the Google Analytics property correspond to any existing Firebase
* Apps in the `FirebaseProject` (based on the `packageName` or `bundleId`
* associated with the data stream). Then, as applicable, the data streams and
* apps are linked. Note that this auto-linking only applies to `AndroidApps`
* and `IosApps`. 2. If no corresponding data streams are found for the Firebase
* Apps, new data streams are provisioned in the Google Analytics property for
* each of the Firebase Apps. Note that a new data stream is always provisioned
* for a Web App even if it was previously associated with a data stream in the
* Analytics property. Learn more about the hierarchy and structure of Google
* Analytics accounts in the [Analytics
* documentation](https://support.google.com/analytics/answer/9303323). The
* result of this call is an [`Operation`](../../v1beta1/operations). Poll the
* `Operation` to track the provisioning process by calling GetOperation until
* [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When
* `done` is `true`, the `Operation` has either succeeded or failed. If the
* `Operation` succeeded, its
* [`response`](../../v1beta1/operations#Operation.FIELDS.response) is set to an
* AnalyticsDetails; if the `Operation` failed, its
* [`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a
* google.rpc.Status. To call `AddGoogleAnalytics`, a project member must be an
* Owner for the existing `FirebaseProject` and have the [`Edit`
* permission](https://support.google.com/analytics/answer/2884495) for the
* Google Analytics account. If the `FirebaseProject` already has Google
* Analytics enabled, and you call `AddGoogleAnalytics` using an
* `analyticsPropertyId` that's different from the currently associated
* property, then the call will fail. Analytics may have already been enabled in
* the Firebase console or by specifying `timeZone` and `regionCode` in the call
* to [`AddFirebase`](../../v1beta1/projects/addFirebase).
* (projects.addGoogleAnalytics)
*
* @param string $parent The resource name of the FirebaseProject to link to an
* existing Google Analytics account, in the format: projects/PROJECT_IDENTIFIER
* Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about
* PROJECT_IDENTIFIER values.
* @param AddGoogleAnalyticsRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function addGoogleAnalytics($parent, AddGoogleAnalyticsRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('addGoogleAnalytics', [$params], Operation::class);
}
/**
* Gets the specified FirebaseProject. (projects.get)
*
* @param string $name The resource name of the FirebaseProject, in the format:
* projects/ PROJECT_IDENTIFIER Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about
* PROJECT_IDENTIFIER values.
* @param array $optParams Optional parameters.
* @return FirebaseProject
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], FirebaseProject::class);
}
/**
* Gets the configuration artifact associated with the specified
* FirebaseProject, which can be used by servers to simplify initialization.
* Typically, this configuration is used with the Firebase Admin SDK [initialize
* App](https://firebase.google.com/docs/admin/setup#initialize_the_sdk)
* command. (projects.getAdminSdkConfig)
*
* @param string $name The resource name of the FirebaseProject, in the format:
* projects/ PROJECT_IDENTIFIER/adminSdkConfig Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about
* PROJECT_IDENTIFIER values.
* @param array $optParams Optional parameters.
* @return AdminSdkConfig
* @throws \Google\Service\Exception
*/
public function getAdminSdkConfig($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getAdminSdkConfig', [$params], AdminSdkConfig::class);
}
/**
* Gets the Google Analytics details currently associated with the specified
* FirebaseProject. If the `FirebaseProject` is not yet linked to Google
* Analytics, then the response to `GetAnalyticsDetails` is `NOT_FOUND`.
* (projects.getAnalyticsDetails)
*
* @param string $name The resource name of the FirebaseProject, in the format:
* projects/ PROJECT_IDENTIFIER/analyticsDetails Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about
* PROJECT_IDENTIFIER values.
* @param array $optParams Optional parameters.
* @return AnalyticsDetails
* @throws \Google\Service\Exception
*/
public function getAnalyticsDetails($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getAnalyticsDetails', [$params], AnalyticsDetails::class);
}
/**
* Lists each FirebaseProject accessible to the caller. The elements are
* returned in no particular order, but they will be a consistent view of the
* Projects when additional requests are made with a `pageToken`. This method is
* eventually consistent with Project mutations, which means newly provisioned
* Projects and recent modifications to existing Projects might not be reflected
* in the set of Projects. The list will include only ACTIVE Projects. Use
* GetFirebaseProject for consistent reads as well as for additional Project
* details. (projects.listProjects)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of Projects to return in the
* response. The server may return fewer than this at its discretion. If no
* value is specified (or too large a value is specified), the server will
* impose its own limit. This value cannot be negative.
* @opt_param string pageToken Token returned from a previous call to
* `ListFirebaseProjects` indicating where in the set of Projects to resume
* listing.
* @opt_param bool showDeleted Optional. Controls whether Projects in the
* DELETED state should be returned in the response. If not specified, only
* `ACTIVE` Projects will be returned.
* @return ListFirebaseProjectsResponse
* @throws \Google\Service\Exception
*/
public function listProjects($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListFirebaseProjectsResponse::class);
}
/**
* Updates the attributes of the specified FirebaseProject. All [query
* parameters](#query-parameters) are required. (projects.patch)
*
* @param string $name The resource name of the Project, in the format:
* projects/PROJECT_IDENTIFIER PROJECT_IDENTIFIER: the Project's
* [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number)
* ***(recommended)*** or its
* [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id). Learn more
* about using project identifiers in Google's [AIP 2510
* standard](https://google.aip.dev/cloud/2510). Note that the value for
* PROJECT_IDENTIFIER in any response body will be the `ProjectId`.
* @param FirebaseProject $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Specifies which fields of the FirebaseProject to
* update. Note that the following fields are immutable: `name`, `project_id`,
* and `project_number`. To update `state`, use any of the following Google
* Cloud endpoints: [`projects.delete`](https://cloud.google.com/resource-
* manager/reference/rest/v1/projects/delete) or
* [`projects.undelete`](https://cloud.google.com/resource-
* manager/reference/rest/v1/projects/undelete)
* @return FirebaseProject
* @throws \Google\Service\Exception
*/
public function patch($name, FirebaseProject $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], FirebaseProject::class);
}
/**
* Unlinks the specified FirebaseProject from its Google Analytics account. This
* call removes the association of the specified `FirebaseProject` with its
* current Google Analytics property. However, this call does not delete the
* Google Analytics resources, such as the Google Analytics property or any data
* streams. These resources may be re-associated later to the `FirebaseProject`
* by calling [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics)
* and specifying the same `analyticsPropertyId`. For Android Apps and iOS Apps,
* this call re-links data streams with their corresponding apps. However, for
* Web Apps, this call provisions a *new* data stream for each Web App. To call
* `RemoveAnalytics`, a project member must be an Owner for the
* `FirebaseProject`. (projects.removeAnalytics)
*
* @param string $parent The resource name of the FirebaseProject to unlink from
* its Google Analytics account, in the format: projects/PROJECT_IDENTIFIER
* Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about
* PROJECT_IDENTIFIER values.
* @param RemoveAnalyticsRequest $postBody
* @param array $optParams Optional parameters.
* @return FirebaseEmpty
* @throws \Google\Service\Exception
*/
public function removeAnalytics($parent, RemoveAnalyticsRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('removeAnalytics', [$params], FirebaseEmpty::class);
}
/**
* Lists all available Apps for the specified FirebaseProject. This is a
* convenience method. Typically, interaction with an App should be done using
* the platform-specific service, but some tool use-cases require a summary of
* all known Apps (such as for App selector interfaces). (projects.searchApps)
*
* @param string $parent The parent FirebaseProject for which to list Apps, in
* the format: projects/ PROJECT_IDENTIFIER Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about
* PROJECT_IDENTIFIER values.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A query string compatible with Google's [AIP-160
* standard](https://google.aip.dev/160). Use any of the following fields in a
* query: * [`app_id`](../projects/searchApps#FirebaseAppInfo.FIELDS.app_id) *
* [`namespace`](../projects/searchApps#FirebaseAppInfo.FIELDS.namespace) *
* [`platform`](../projects/searchApps#FirebaseAppInfo.FIELDS.platform) This
* query also supports the following "virtual" fields. These are fields which
* are not actually part of the returned resource object, but they can be
* queried as if they are pre-populated with specific values. * `sha1_hash` or
* `sha1_hashes`: This field is considered to be a _repeated_ `string` field,
* populated with the list of all SHA-1 certificate fingerprints registered with
* the AndroidApp. This list is empty if the App is not an `AndroidApp`. *
* `sha256_hash` or `sha256_hashes`: This field is considered to be a _repeated_
* `string` field, populated with the list of all SHA-256 certificate
* fingerprints registered with the AndroidApp. This list is empty if the App is
* not an `AndroidApp`. * `app_store_id`: This field is considered to be a
* _singular_ `string` field, populated with the Apple App Store ID registered
* with the IosApp. This field is empty if the App is not an `IosApp`. *
* `team_id`: This field is considered to be a _singular_ `string` field,
* populated with the Apple team ID registered with the IosApp. This field is
* empty if the App is not an `IosApp`.
* @opt_param int pageSize The maximum number of Apps to return in the response.
* The server may return fewer than this value at its discretion. If no value is
* specified (or too large a value is specified), then the server will impose
* its own limit. This value cannot be negative.
* @opt_param string pageToken Token returned from a previous call to
* `SearchFirebaseApps` indicating where in the set of Apps to resume listing.
* @opt_param bool showDeleted Controls whether Apps in the DELETED state should
* be returned. If not specified, only `ACTIVE` Apps will be returned.
* @return SearchFirebaseAppsResponse
* @throws \Google\Service\Exception
*/
public function searchApps($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('searchApps', [$params], SearchFirebaseAppsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_FirebaseManagement_Resource_Projects');

View File

@@ -0,0 +1,206 @@
<?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\FirebaseManagement\Resource;
use Google\Service\FirebaseManagement\AndroidApp;
use Google\Service\FirebaseManagement\AndroidAppConfig;
use Google\Service\FirebaseManagement\ListAndroidAppsResponse;
use Google\Service\FirebaseManagement\Operation;
use Google\Service\FirebaseManagement\RemoveAndroidAppRequest;
use Google\Service\FirebaseManagement\UndeleteAndroidAppRequest;
/**
* The "androidApps" collection of methods.
* Typical usage is:
* <code>
* $firebaseService = new Google\Service\FirebaseManagement(...);
* $androidApps = $firebaseService->projects_androidApps;
* </code>
*/
class ProjectsAndroidApps extends \Google\Service\Resource
{
/**
* Requests the creation of a new AndroidApp in the specified FirebaseProject.
* The result of this call is an `Operation` which can be used to track the
* provisioning process. The `Operation` is automatically deleted after
* completion, so there is no need to call `DeleteOperation`.
* (androidApps.create)
*
* @param string $parent The resource name of the parent FirebaseProject in
* which to create an AndroidApp, in the format:
* projects/PROJECT_IDENTIFIER/androidApps Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about
* PROJECT_IDENTIFIER values.
* @param AndroidApp $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, AndroidApp $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Gets the specified AndroidApp. (androidApps.get)
*
* @param string $name The resource name of the AndroidApp, in the format:
* projects/ PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique
* identifier, the Unique Resource from Sub-Collection access pattern may be
* used here, in the format: projects/-/androidApps/APP_ID Refer to the
* `AndroidApp` [`name`](../projects.androidApps#AndroidApp.FIELDS.name) field
* for details about PROJECT_IDENTIFIER and APP_ID values.
* @param array $optParams Optional parameters.
* @return AndroidApp
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], AndroidApp::class);
}
/**
* Gets the configuration artifact associated with the specified AndroidApp.
* (androidApps.getConfig)
*
* @param string $name The resource name of the AndroidApp configuration to
* download, in the format:
* projects/PROJECT_IDENTIFIER/androidApps/APP_ID/config Since an APP_ID is a
* unique identifier, the Unique Resource from Sub-Collection access pattern may
* be used here, in the format: projects/-/androidApps/APP_ID Refer to the
* `AndroidApp` [`name`](../projects.androidApps#AndroidApp.FIELDS.name) field
* for details about PROJECT_IDENTIFIER and APP_ID values.
* @param array $optParams Optional parameters.
* @return AndroidAppConfig
* @throws \Google\Service\Exception
*/
public function getConfig($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getConfig', [$params], AndroidAppConfig::class);
}
/**
* Lists each AndroidApp associated with the specified FirebaseProject. The
* elements are returned in no particular order, but will be a consistent view
* of the Apps when additional requests are made with a `pageToken`.
* (androidApps.listProjectsAndroidApps)
*
* @param string $parent The resource name of the parent FirebaseProject for
* which to list each associated AndroidApp, in the format:
* projects/PROJECT_IDENTIFIER /androidApps Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about
* PROJECT_IDENTIFIER values.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of Apps to return in the response.
* The server may return fewer than this at its discretion. If no value is
* specified (or too large a value is specified), then the server will impose
* its own limit.
* @opt_param string pageToken Token returned from a previous call to
* `ListAndroidApps` indicating where in the set of Apps to resume listing.
* @opt_param bool showDeleted Controls whether Apps in the DELETED state should
* be returned in the response. If not specified, only `ACTIVE` Apps will be
* returned.
* @return ListAndroidAppsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsAndroidApps($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAndroidAppsResponse::class);
}
/**
* Updates the attributes of the specified AndroidApp. (androidApps.patch)
*
* @param string $name The resource name of the AndroidApp, in the format:
* projects/ PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the
* parent Project's
* [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number)
* ***(recommended)*** or its
* [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id). Learn more
* about using project identifiers in Google's [AIP 2510
* standard](https://google.aip.dev/cloud/2510). Note that the value for
* PROJECT_IDENTIFIER in any response body will be the `ProjectId`. * APP_ID:
* the globally unique, Firebase-assigned identifier for the App (see
* [`appId`](../projects.androidApps#AndroidApp.FIELDS.app_id)).
* @param AndroidApp $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Specifies which fields of the AndroidApp to
* update. Note that the following fields are immutable: `name`, `app_id`,
* `project_id`, and `package_name`. To update `state`, use any of the following
* endpoints: RemoveAndroidApp or UndeleteAndroidApp.
* @return AndroidApp
* @throws \Google\Service\Exception
*/
public function patch($name, AndroidApp $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], AndroidApp::class);
}
/**
* Removes the specified AndroidApp from the FirebaseProject.
* (androidApps.remove)
*
* @param string $name Required. The resource name of the AndroidApp, in the
* format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a
* unique identifier, the Unique Resource from Sub-Collection access pattern may
* be used here, in the format: projects/-/androidApps/APP_ID Refer to the
* AndroidApp [name](../projects.androidApps#AndroidApp.FIELDS.name) field for
* details about PROJECT_IDENTIFIER and APP_ID values.
* @param RemoveAndroidAppRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function remove($name, RemoveAndroidAppRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('remove', [$params], Operation::class);
}
/**
* Restores the specified AndroidApp to the FirebaseProject.
* (androidApps.undelete)
*
* @param string $name Required. The resource name of the AndroidApp, in the
* format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a
* unique identifier, the Unique Resource from Sub-Collection access pattern may
* be used here, in the format: projects/-/androidApps/APP_ID Refer to the
* AndroidApp [name](../projects.androidApps#AndroidApp.FIELDS.name) field for
* details about PROJECT_IDENTIFIER and APP_ID values.
* @param UndeleteAndroidAppRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function undelete($name, UndeleteAndroidAppRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('undelete', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAndroidApps::class, 'Google_Service_FirebaseManagement_Resource_ProjectsAndroidApps');

View File

@@ -0,0 +1,101 @@
<?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\FirebaseManagement\Resource;
use Google\Service\FirebaseManagement\FirebaseEmpty;
use Google\Service\FirebaseManagement\ListShaCertificatesResponse;
use Google\Service\FirebaseManagement\ShaCertificate;
/**
* The "sha" collection of methods.
* Typical usage is:
* <code>
* $firebaseService = new Google\Service\FirebaseManagement(...);
* $sha = $firebaseService->projects_androidApps_sha;
* </code>
*/
class ProjectsAndroidAppsSha extends \Google\Service\Resource
{
/**
* Adds a ShaCertificate to the specified AndroidApp. (sha.create)
*
* @param string $parent The resource name of the parent AndroidApp to which to
* add a ShaCertificate, in the format: projects/PROJECT_IDENTIFIER/androidApps/
* APP_ID Since an APP_ID is a unique identifier, the Unique Resource from Sub-
* Collection access pattern may be used here, in the format:
* projects/-/androidApps/APP_ID Refer to the `AndroidApp`
* [`name`](../projects.androidApps#AndroidApp.FIELDS.name) field for details
* about PROJECT_IDENTIFIER and APP_ID values.
* @param ShaCertificate $postBody
* @param array $optParams Optional parameters.
* @return ShaCertificate
* @throws \Google\Service\Exception
*/
public function create($parent, ShaCertificate $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], ShaCertificate::class);
}
/**
* Removes a ShaCertificate from the specified AndroidApp. (sha.delete)
*
* @param string $name The resource name of the ShaCertificate to remove from
* the parent AndroidApp, in the format:
* projects/PROJECT_IDENTIFIER/androidApps/APP_ID /sha/SHA_HASH Refer to the
* `ShaCertificate`
* [`name`](../projects.androidApps.sha#ShaCertificate.FIELDS.name) field for
* details about PROJECT_IDENTIFIER, APP_ID, and SHA_HASH values. You can obtain
* the full resource name of the `ShaCertificate` from the response of
* [`ListShaCertificates`](../projects.androidApps.sha/list) or the original
* [`CreateShaCertificate`](../projects.androidApps.sha/create).
* @param array $optParams Optional parameters.
* @return FirebaseEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], FirebaseEmpty::class);
}
/**
* Lists the SHA-1 and SHA-256 certificates for the specified AndroidApp.
* (sha.listProjectsAndroidAppsSha)
*
* @param string $parent The resource name of the parent AndroidApp for which to
* list each associated ShaCertificate, in the format:
* projects/PROJECT_IDENTIFIER /androidApps/APP_ID Since an APP_ID is a unique
* identifier, the Unique Resource from Sub-Collection access pattern may be
* used here, in the format: projects/-/androidApps/APP_ID Refer to the
* `AndroidApp` [`name`](../projects.androidApps#AndroidApp.FIELDS.name) field
* for details about PROJECT_IDENTIFIER and APP_ID values.
* @param array $optParams Optional parameters.
* @return ListShaCertificatesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsAndroidAppsSha($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListShaCertificatesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAndroidAppsSha::class, 'Google_Service_FirebaseManagement_Resource_ProjectsAndroidAppsSha');

View File

@@ -0,0 +1,85 @@
<?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\FirebaseManagement\Resource;
use Google\Service\FirebaseManagement\ListAvailableLocationsResponse;
/**
* The "availableLocations" collection of methods.
* Typical usage is:
* <code>
* $firebaseService = new Google\Service\FirebaseManagement(...);
* $availableLocations = $firebaseService->projects_availableLocations;
* </code>
*/
class ProjectsAvailableLocations extends \Google\Service\Resource
{
/**
* **DECOMMISSIONED.** **If called, this endpoint will return a 404 error.**
* _Instead, use the applicable resource-specific REST API (or associated
* documentation, as needed) to determine valid locations for each resource used
* in your Project._ Lists the valid ["locations for default Google Cloud
* resources"](https://firebase.google.com/docs/projects/locations#default-
* cloud-location) for the specified Project (including a FirebaseProject). One
* of these locations can be selected as the Project's location for default
* Google Cloud resources, which is the geographical location where the
* Project's resources associated with Google App Engine (such as the default
* Cloud Firestore instance) will be provisioned by default. However, if the
* location for default Google Cloud resources has already been set for the
* Project, then this setting cannot be changed. This call checks for any
* possible [location restrictions](https://cloud.google.com/resource-
* manager/docs/organization-policy/defining-locations) for the specified
* Project and, thus, might return a subset of all possible locations. To list
* all locations (regardless of any restrictions), call the endpoint without
* specifying a unique project identifier (that is,
* `/v1beta1/{parent=projects/-}/listAvailableLocations`). To call
* `ListAvailableLocations` with a specified project, a member must be at
* minimum a Viewer of the Project. Calls without a specified project do not
* require any specific project permissions.
* (availableLocations.listProjectsAvailableLocations)
*
* @param string $parent The FirebaseProject for which to list [locations for
* default Google Cloud
* resources](https://firebase.google.com/docs/projects/locations#default-cloud-
* location), in the format: projects/PROJECT_IDENTIFIER Refer to the
* `FirebaseProject` [`name`](../projects#FirebaseProject.FIELDS.name) field for
* details about PROJECT_IDENTIFIER values. If no unique project identifier is
* specified (that is, `projects/-`), the returned list does not take into
* account org-specific or project-specific location restrictions.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of locations to return in the
* response. The server may return fewer than this value at its discretion. If
* no value is specified (or too large a value is specified), then the server
* will impose its own limit. This value cannot be negative.
* @opt_param string pageToken Token returned from a previous call to
* `ListAvailableLocations` indicating where in the list of locations to resume
* listing.
* @return ListAvailableLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsAvailableLocations($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAvailableLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAvailableLocations::class, 'Google_Service_FirebaseManagement_Resource_ProjectsAvailableLocations');

View File

@@ -0,0 +1,86 @@
<?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\FirebaseManagement\Resource;
use Google\Service\FirebaseManagement\FinalizeDefaultLocationRequest;
use Google\Service\FirebaseManagement\Operation;
/**
* The "defaultLocation" collection of methods.
* Typical usage is:
* <code>
* $firebaseService = new Google\Service\FirebaseManagement(...);
* $defaultLocation = $firebaseService->projects_defaultLocation;
* </code>
*/
class ProjectsDefaultLocation extends \Google\Service\Resource
{
/**
* **DECOMMISSIONED.** **If called, this endpoint will return a 404 error.**
* _Instead, use the applicable resource-specific REST API to set the location
* for each resource used in your Project._ Sets the ["location for default
* Google Cloud
* resources"](https://firebase.google.com/docs/projects/locations#default-
* cloud-location) for the specified FirebaseProject. This method creates a
* Google App Engine application with a [default Cloud Storage bucket](https://c
* loud.google.com/appengine/docs/standard/python/googlecloudstorageclient/setti
* ng-up-cloud-storage#activating_a_cloud_storage_bucket), located in the
* specified [`locationId`](#body.request_body.FIELDS.location_id). This
* location must be one of the available [App Engine
* locations](https://cloud.google.com/about/locations#region). After the
* location for default Google Cloud resources is finalized, or if it was
* already set, it cannot be changed. The location for default Google Cloud
* resources for the specified `FirebaseProject` might already be set because
* either the underlying Google Cloud `Project` already has an App Engine
* application or `FinalizeDefaultLocation` was previously called with a
* specified `locationId`. The result of this call is an
* [`Operation`](../../v1beta1/operations), which can be used to track the
* provisioning process. The
* [`response`](../../v1beta1/operations#Operation.FIELDS.response) type of the
* `Operation` is google.protobuf.Empty. The `Operation` can be polled by its
* `name` using GetOperation until `done` is true. When `done` is true, the
* `Operation` has either succeeded or failed. If the `Operation` has succeeded,
* its [`response`](../../v1beta1/operations#Operation.FIELDS.response) will be
* set to a google.protobuf.Empty; if the `Operation` has failed, its `error`
* will be set to a google.rpc.Status. The `Operation` is automatically deleted
* after completion, so there is no need to call DeleteOperation. All fields
* listed in the [request body](#request-body) are required. To call
* `FinalizeDefaultLocation`, a member must be an Owner of the Project.
* (defaultLocation.finalize)
*
* @param string $parent The resource name of the FirebaseProject for which the
* ["location for default Google Cloud
* resources"](https://firebase.google.com/docs/projects/locations#default-
* cloud-location) will be set, in the format: projects/PROJECT_IDENTIFIER Refer
* to the `FirebaseProject` [`name`](../projects#FirebaseProject.FIELDS.name)
* field for details about PROJECT_IDENTIFIER values.
* @param FinalizeDefaultLocationRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function finalize($parent, FinalizeDefaultLocationRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('finalize', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsDefaultLocation::class, 'Google_Service_FirebaseManagement_Resource_ProjectsDefaultLocation');

View File

@@ -0,0 +1,202 @@
<?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\FirebaseManagement\Resource;
use Google\Service\FirebaseManagement\IosApp;
use Google\Service\FirebaseManagement\IosAppConfig;
use Google\Service\FirebaseManagement\ListIosAppsResponse;
use Google\Service\FirebaseManagement\Operation;
use Google\Service\FirebaseManagement\RemoveIosAppRequest;
use Google\Service\FirebaseManagement\UndeleteIosAppRequest;
/**
* The "iosApps" collection of methods.
* Typical usage is:
* <code>
* $firebaseService = new Google\Service\FirebaseManagement(...);
* $iosApps = $firebaseService->projects_iosApps;
* </code>
*/
class ProjectsIosApps extends \Google\Service\Resource
{
/**
* Requests the creation of a new IosApp in the specified FirebaseProject. The
* result of this call is an `Operation` which can be used to track the
* provisioning process. The `Operation` is automatically deleted after
* completion, so there is no need to call `DeleteOperation`. (iosApps.create)
*
* @param string $parent The resource name of the parent FirebaseProject in
* which to create an IosApp, in the format: projects/PROJECT_IDENTIFIER/iosApps
* Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about
* PROJECT_IDENTIFIER values.
* @param IosApp $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, IosApp $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Gets the specified IosApp. (iosApps.get)
*
* @param string $name The resource name of the IosApp, in the format:
* projects/PROJECT_IDENTIFIER /iosApps/APP_ID Since an APP_ID is a unique
* identifier, the Unique Resource from Sub-Collection access pattern may be
* used here, in the format: projects/-/iosApps/APP_ID Refer to the `IosApp`
* [`name`](../projects.iosApps#IosApp.FIELDS.name) field for details about
* PROJECT_IDENTIFIER and APP_ID values.
* @param array $optParams Optional parameters.
* @return IosApp
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], IosApp::class);
}
/**
* Gets the configuration artifact associated with the specified IosApp.
* (iosApps.getConfig)
*
* @param string $name The resource name of the App configuration to download,
* in the format: projects/PROJECT_IDENTIFIER/iosApps/APP_ID/config Since an
* APP_ID is a unique identifier, the Unique Resource from Sub-Collection access
* pattern may be used here, in the format: projects/-/iosApps/APP_ID Refer to
* the `IosApp` [`name`](../projects.iosApps#IosApp.FIELDS.name) field for
* details about PROJECT_IDENTIFIER and APP_ID values.
* @param array $optParams Optional parameters.
* @return IosAppConfig
* @throws \Google\Service\Exception
*/
public function getConfig($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getConfig', [$params], IosAppConfig::class);
}
/**
* Lists each IosApp associated with the specified FirebaseProject. The elements
* are returned in no particular order, but will be a consistent view of the
* Apps when additional requests are made with a `pageToken`.
* (iosApps.listProjectsIosApps)
*
* @param string $parent The resource name of the parent FirebaseProject for
* which to list each associated IosApp, in the format:
* projects/PROJECT_IDENTIFIER/iosApps Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about
* PROJECT_IDENTIFIER values.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of Apps to return in the response.
* The server may return fewer than this at its 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
* `ListIosApps` indicating where in the set of Apps to resume listing.
* @opt_param bool showDeleted Controls whether Apps in the DELETED state should
* be returned in the response. If not specified, only `ACTIVE` Apps will be
* returned.
* @return ListIosAppsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsIosApps($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListIosAppsResponse::class);
}
/**
* Updates the attributes of the specified IosApp. (iosApps.patch)
*
* @param string $name The resource name of the IosApp, in the format:
* projects/PROJECT_IDENTIFIER /iosApps/APP_ID * PROJECT_IDENTIFIER: the parent
* Project's
* [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number)
* ***(recommended)*** or its
* [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id). Learn more
* about using project identifiers in Google's [AIP 2510
* standard](https://google.aip.dev/cloud/2510). Note that the value for
* PROJECT_IDENTIFIER in any response body will be the `ProjectId`. * APP_ID:
* the globally unique, Firebase-assigned identifier for the App (see
* [`appId`](../projects.iosApps#IosApp.FIELDS.app_id)).
* @param IosApp $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Specifies which fields of the IosApp to update.
* Note that the following fields are immutable: `name`, `app_id`, `project_id`,
* and `bundle_id`. To update `state`, use any of the following endpoints:
* RemoveIosApp or UndeleteIosApp.
* @return IosApp
* @throws \Google\Service\Exception
*/
public function patch($name, IosApp $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], IosApp::class);
}
/**
* Removes the specified IosApp from the FirebaseProject. (iosApps.remove)
*
* @param string $name Required. The resource name of the IosApp, in the format:
* projects/ PROJECT_IDENTIFIER/iosApps/APP_ID Since an APP_ID is a unique
* identifier, the Unique Resource from Sub-Collection access pattern may be
* used here, in the format: projects/-/iosApps/APP_ID Refer to the IosApp
* [name](../projects.iosApps#IosApp.FIELDS.name) field for details about
* PROJECT_IDENTIFIER and APP_ID values.
* @param RemoveIosAppRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function remove($name, RemoveIosAppRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('remove', [$params], Operation::class);
}
/**
* Restores the specified IosApp to the FirebaseProject. (iosApps.undelete)
*
* @param string $name Required. The resource name of the IosApp, in the format:
* projects/ PROJECT_IDENTIFIER/iosApps/APP_ID Since an APP_ID is a unique
* identifier, the Unique Resource from Sub-Collection access pattern may be
* used here, in the format: projects/-/iosApps/APP_ID Refer to the IosApp
* [name](../projects.iosApps#IosApp.FIELDS.name) field for details about
* PROJECT_IDENTIFIER and APP_ID values.
* @param UndeleteIosAppRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function undelete($name, UndeleteIosAppRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('undelete', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsIosApps::class, 'Google_Service_FirebaseManagement_Resource_ProjectsIosApps');

View File

@@ -0,0 +1,203 @@
<?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\FirebaseManagement\Resource;
use Google\Service\FirebaseManagement\ListWebAppsResponse;
use Google\Service\FirebaseManagement\Operation;
use Google\Service\FirebaseManagement\RemoveWebAppRequest;
use Google\Service\FirebaseManagement\UndeleteWebAppRequest;
use Google\Service\FirebaseManagement\WebApp;
use Google\Service\FirebaseManagement\WebAppConfig;
/**
* The "webApps" collection of methods.
* Typical usage is:
* <code>
* $firebaseService = new Google\Service\FirebaseManagement(...);
* $webApps = $firebaseService->projects_webApps;
* </code>
*/
class ProjectsWebApps extends \Google\Service\Resource
{
/**
* Requests the creation of a new WebApp in the specified FirebaseProject. The
* result of this call is an `Operation` which can be used to track the
* provisioning process. The `Operation` is automatically deleted after
* completion, so there is no need to call `DeleteOperation`. (webApps.create)
*
* @param string $parent The resource name of the parent FirebaseProject in
* which to create a WebApp, in the format: projects/PROJECT_IDENTIFIER/webApps
* Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about
* PROJECT_IDENTIFIER values.
* @param WebApp $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, WebApp $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Gets the specified WebApp. (webApps.get)
*
* @param string $name The resource name of the WebApp, in the format:
* projects/PROJECT_IDENTIFIER /webApps/APP_ID Since an APP_ID is a unique
* identifier, the Unique Resource from Sub-Collection access pattern may be
* used here, in the format: projects/-/webApps/APP_ID Refer to the `WebApp`
* [`name`](../projects.webApps#WebApp.FIELDS.name) field for details about
* PROJECT_IDENTIFIER and APP_ID values.
* @param array $optParams Optional parameters.
* @return WebApp
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], WebApp::class);
}
/**
* Gets the configuration artifact associated with the specified WebApp.
* (webApps.getConfig)
*
* @param string $name The resource name of the WebApp configuration to
* download, in the format: projects/PROJECT_IDENTIFIER/webApps/APP_ID/config
* Since an APP_ID is a unique identifier, the Unique Resource from Sub-
* Collection access pattern may be used here, in the format:
* projects/-/webApps/APP_ID Refer to the `WebApp`
* [`name`](../projects.webApps#WebApp.FIELDS.name) field for details about
* PROJECT_IDENTIFIER and APP_ID values.
* @param array $optParams Optional parameters.
* @return WebAppConfig
* @throws \Google\Service\Exception
*/
public function getConfig($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getConfig', [$params], WebAppConfig::class);
}
/**
* Lists each WebApp associated with the specified FirebaseProject. The elements
* are returned in no particular order, but will be a consistent view of the
* Apps when additional requests are made with a `pageToken`.
* (webApps.listProjectsWebApps)
*
* @param string $parent The resource name of the parent FirebaseProject for
* which to list each associated WebApp, in the format:
* projects/PROJECT_IDENTIFIER/webApps Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about
* PROJECT_IDENTIFIER values.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of Apps to return in the response.
* The server may return fewer than this value at its discretion. If no value is
* specified (or too large a value is specified), then the server will impose
* its own limit.
* @opt_param string pageToken Token returned from a previous call to
* `ListWebApps` indicating where in the set of Apps to resume listing.
* @opt_param bool showDeleted Controls whether Apps in the DELETED state should
* be returned in the response. If not specified, only `ACTIVE` Apps will be
* returned.
* @return ListWebAppsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsWebApps($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListWebAppsResponse::class);
}
/**
* Updates the attributes of the specified WebApp. (webApps.patch)
*
* @param string $name The resource name of the WebApp, in the format:
* projects/PROJECT_IDENTIFIER /webApps/APP_ID * PROJECT_IDENTIFIER: the parent
* Project's
* [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number)
* ***(recommended)*** or its
* [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id). Learn more
* about using project identifiers in Google's [AIP 2510
* standard](https://google.aip.dev/cloud/2510). Note that the value for
* PROJECT_IDENTIFIER in any response body will be the `ProjectId`. * APP_ID:
* the globally unique, Firebase-assigned identifier for the App (see
* [`appId`](../projects.webApps#WebApp.FIELDS.app_id)).
* @param WebApp $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Specifies which fields of the WebApp to update.
* Note that the following fields are immutable: `name`, `app_id`, and
* `project_id`. To update `state`, use any of the following endpoints:
* RemoveWebApp or UndeleteWebApp.
* @return WebApp
* @throws \Google\Service\Exception
*/
public function patch($name, WebApp $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], WebApp::class);
}
/**
* Removes the specified WebApp from the FirebaseProject. (webApps.remove)
*
* @param string $name Required. The resource name of the WebApp, in the format:
* projects/ PROJECT_IDENTIFIER/webApps/APP_ID Since an APP_ID is a unique
* identifier, the Unique Resource from Sub-Collection access pattern may be
* used here, in the format: projects/-/webApps/APP_ID Refer to the WebApp
* [name](../projects.webApps#WebApp.FIELDS.name) field for details about
* PROJECT_IDENTIFIER and APP_ID values.
* @param RemoveWebAppRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function remove($name, RemoveWebAppRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('remove', [$params], Operation::class);
}
/**
* Restores the specified WebApp to the FirebaseProject. (webApps.undelete)
*
* @param string $name Required. The resource name of the WebApp, in the format:
* projects/ PROJECT_IDENTIFIER/webApps/APP_ID Since an APP_ID is a unique
* identifier, the Unique Resource from Sub-Collection access pattern may be
* used here, in the format: projects/-/webApps/APP_ID Refer to the WebApp
* [name](../projects.webApps#WebApp.FIELDS.name) field for details about
* PROJECT_IDENTIFIER and APP_ID values.
* @param UndeleteWebAppRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function undelete($name, UndeleteWebAppRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('undelete', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsWebApps::class, 'Google_Service_FirebaseManagement_Resource_ProjectsWebApps');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class SearchFirebaseAppsResponse extends \Google\Collection
{
protected $collection_key = 'apps';
protected $appsType = FirebaseAppInfo::class;
protected $appsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param FirebaseAppInfo[]
*/
public function setApps($apps)
{
$this->apps = $apps;
}
/**
* @return FirebaseAppInfo[]
*/
public function getApps()
{
return $this->apps;
}
/**
* @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(SearchFirebaseAppsResponse::class, 'Google_Service_FirebaseManagement_SearchFirebaseAppsResponse');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class ShaCertificate extends \Google\Model
{
/**
* @var string
*/
public $certType;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $shaHash;
/**
* @param string
*/
public function setCertType($certType)
{
$this->certType = $certType;
}
/**
* @return string
*/
public function getCertType()
{
return $this->certType;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setShaHash($shaHash)
{
$this->shaHash = $shaHash;
}
/**
* @return string
*/
public function getShaHash()
{
return $this->shaHash;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ShaCertificate::class, 'Google_Service_FirebaseManagement_ShaCertificate');

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_FirebaseManagement_Status');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class StatusProto extends \Google\Model
{
/**
* @var int
*/
public $canonicalCode;
/**
* @var int
*/
public $code;
/**
* @var string
*/
public $message;
protected $messageSetType = MessageSet::class;
protected $messageSetDataType = '';
/**
* @var string
*/
public $space;
/**
* @param int
*/
public function setCanonicalCode($canonicalCode)
{
$this->canonicalCode = $canonicalCode;
}
/**
* @return int
*/
public function getCanonicalCode()
{
return $this->canonicalCode;
}
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param MessageSet
*/
public function setMessageSet(MessageSet $messageSet)
{
$this->messageSet = $messageSet;
}
/**
* @return MessageSet
*/
public function getMessageSet()
{
return $this->messageSet;
}
/**
* @param string
*/
public function setSpace($space)
{
$this->space = $space;
}
/**
* @return string
*/
public function getSpace()
{
return $this->space;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StatusProto::class, 'Google_Service_FirebaseManagement_StatusProto');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class StreamMapping extends \Google\Model
{
/**
* @var string
*/
public $app;
/**
* @var string
*/
public $measurementId;
/**
* @var string
*/
public $streamId;
/**
* @param string
*/
public function setApp($app)
{
$this->app = $app;
}
/**
* @return string
*/
public function getApp()
{
return $this->app;
}
/**
* @param string
*/
public function setMeasurementId($measurementId)
{
$this->measurementId = $measurementId;
}
/**
* @return string
*/
public function getMeasurementId()
{
return $this->measurementId;
}
/**
* @param string
*/
public function setStreamId($streamId)
{
$this->streamId = $streamId;
}
/**
* @return string
*/
public function getStreamId()
{
return $this->streamId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StreamMapping::class, 'Google_Service_FirebaseManagement_StreamMapping');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class UndeleteAndroidAppRequest extends \Google\Model
{
/**
* @var string
*/
public $etag;
/**
* @var bool
*/
public $validateOnly;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UndeleteAndroidAppRequest::class, 'Google_Service_FirebaseManagement_UndeleteAndroidAppRequest');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class UndeleteIosAppRequest extends \Google\Model
{
/**
* @var string
*/
public $etag;
/**
* @var bool
*/
public $validateOnly;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UndeleteIosAppRequest::class, 'Google_Service_FirebaseManagement_UndeleteIosAppRequest');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseManagement;
class UndeleteWebAppRequest extends \Google\Model
{
/**
* @var string
*/
public $etag;
/**
* @var bool
*/
public $validateOnly;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UndeleteWebAppRequest::class, 'Google_Service_FirebaseManagement_UndeleteWebAppRequest');

View File

@@ -0,0 +1,207 @@
<?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\FirebaseManagement;
class WebApp extends \Google\Collection
{
protected $collection_key = 'appUrls';
/**
* @var string
*/
public $apiKeyId;
/**
* @var string
*/
public $appId;
/**
* @var string[]
*/
public $appUrls;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $projectId;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $webId;
/**
* @param string
*/
public function setApiKeyId($apiKeyId)
{
$this->apiKeyId = $apiKeyId;
}
/**
* @return string
*/
public function getApiKeyId()
{
return $this->apiKeyId;
}
/**
* @param string
*/
public function setAppId($appId)
{
$this->appId = $appId;
}
/**
* @return string
*/
public function getAppId()
{
return $this->appId;
}
/**
* @param string[]
*/
public function setAppUrls($appUrls)
{
$this->appUrls = $appUrls;
}
/**
* @return string[]
*/
public function getAppUrls()
{
return $this->appUrls;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setWebId($webId)
{
$this->webId = $webId;
}
/**
* @return string
*/
public function getWebId()
{
return $this->webId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WebApp::class, 'Google_Service_FirebaseManagement_WebApp');

View File

@@ -0,0 +1,242 @@
<?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\FirebaseManagement;
class WebAppConfig extends \Google\Model
{
/**
* @var string
*/
public $apiKey;
/**
* @var string
*/
public $appId;
/**
* @var string
*/
public $authDomain;
/**
* @var string
*/
public $databaseURL;
/**
* @var string
*/
public $locationId;
/**
* @var string
*/
public $measurementId;
/**
* @var string
*/
public $messagingSenderId;
/**
* @var string
*/
public $projectId;
/**
* @var string
*/
public $projectNumber;
/**
* @var string
*/
public $realtimeDatabaseUrl;
/**
* @var string
*/
public $storageBucket;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setApiKey($apiKey)
{
$this->apiKey = $apiKey;
}
/**
* @return string
*/
public function getApiKey()
{
return $this->apiKey;
}
/**
* @param string
*/
public function setAppId($appId)
{
$this->appId = $appId;
}
/**
* @return string
*/
public function getAppId()
{
return $this->appId;
}
/**
* @param string
*/
public function setAuthDomain($authDomain)
{
$this->authDomain = $authDomain;
}
/**
* @return string
*/
public function getAuthDomain()
{
return $this->authDomain;
}
/**
* @param string
*/
public function setDatabaseURL($databaseURL)
{
$this->databaseURL = $databaseURL;
}
/**
* @return string
*/
public function getDatabaseURL()
{
return $this->databaseURL;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param string
*/
public function setMeasurementId($measurementId)
{
$this->measurementId = $measurementId;
}
/**
* @return string
*/
public function getMeasurementId()
{
return $this->measurementId;
}
/**
* @param string
*/
public function setMessagingSenderId($messagingSenderId)
{
$this->messagingSenderId = $messagingSenderId;
}
/**
* @return string
*/
public function getMessagingSenderId()
{
return $this->messagingSenderId;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string
*/
public function setProjectNumber($projectNumber)
{
$this->projectNumber = $projectNumber;
}
/**
* @return string
*/
public function getProjectNumber()
{
return $this->projectNumber;
}
/**
* @param string
*/
public function setRealtimeDatabaseUrl($realtimeDatabaseUrl)
{
$this->realtimeDatabaseUrl = $realtimeDatabaseUrl;
}
/**
* @return string
*/
public function getRealtimeDatabaseUrl()
{
return $this->realtimeDatabaseUrl;
}
/**
* @param string
*/
public function setStorageBucket($storageBucket)
{
$this->storageBucket = $storageBucket;
}
/**
* @return string
*/
public function getStorageBucket()
{
return $this->storageBucket;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WebAppConfig::class, 'Google_Service_FirebaseManagement_WebAppConfig');