Mise à jour des librairies

This commit is contained in:
lars
2019-03-10 23:30:23 +01:00
parent 2040b7be39
commit 7df3d72953
3603 changed files with 233169 additions and 107764 deletions

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_ActingUser extends Google_Model
{
public $email;
public $imageUrl;
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
public function setImageUrl($imageUrl)
{
$this->imageUrl = $imageUrl;
}
public function getImageUrl()
{
return $this->imageUrl;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_CertDnsChallenge extends Google_Model
{
public $domainName;
public $token;
public function setDomainName($domainName)
{
$this->domainName = $domainName;
}
public function getDomainName()
{
return $this->domainName;
}
public function setToken($token)
{
$this->token = $token;
}
public function getToken()
{
return $this->token;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_CertHttpChallenge extends Google_Model
{
public $path;
public $token;
public function setPath($path)
{
$this->path = $path;
}
public function getPath()
{
return $this->path;
}
public function setToken($token)
{
$this->token = $token;
}
public function getToken()
{
return $this->token;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_CloudRunRewrite extends Google_Model
{
public $region;
public $serviceId;
public function setRegion($region)
{
$this->region = $region;
}
public function getRegion()
{
return $this->region;
}
public function setServiceId($serviceId)
{
$this->serviceId = $serviceId;
}
public function getServiceId()
{
return $this->serviceId;
}
}

View File

@@ -0,0 +1,89 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_Domain extends Google_Model
{
public $domainName;
protected $domainRedirectType = 'Google_Service_FirebaseHosting_DomainRedirect';
protected $domainRedirectDataType = '';
protected $provisioningType = 'Google_Service_FirebaseHosting_DomainProvisioning';
protected $provisioningDataType = '';
public $site;
public $status;
public $updateTime;
public function setDomainName($domainName)
{
$this->domainName = $domainName;
}
public function getDomainName()
{
return $this->domainName;
}
/**
* @param Google_Service_FirebaseHosting_DomainRedirect
*/
public function setDomainRedirect(Google_Service_FirebaseHosting_DomainRedirect $domainRedirect)
{
$this->domainRedirect = $domainRedirect;
}
/**
* @return Google_Service_FirebaseHosting_DomainRedirect
*/
public function getDomainRedirect()
{
return $this->domainRedirect;
}
/**
* @param Google_Service_FirebaseHosting_DomainProvisioning
*/
public function setProvisioning(Google_Service_FirebaseHosting_DomainProvisioning $provisioning)
{
$this->provisioning = $provisioning;
}
/**
* @return Google_Service_FirebaseHosting_DomainProvisioning
*/
public function getProvisioning()
{
return $this->provisioning;
}
public function setSite($site)
{
$this->site = $site;
}
public function getSite()
{
return $this->site;
}
public function setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

View File

@@ -0,0 +1,108 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_DomainProvisioning extends Google_Collection
{
protected $collection_key = 'expectedIps';
public $certChallengeDiscoveredTxt;
protected $certChallengeDnsType = 'Google_Service_FirebaseHosting_CertDnsChallenge';
protected $certChallengeDnsDataType = '';
protected $certChallengeHttpType = 'Google_Service_FirebaseHosting_CertHttpChallenge';
protected $certChallengeHttpDataType = '';
public $certStatus;
public $discoveredIps;
public $dnsFetchTime;
public $dnsStatus;
public $expectedIps;
public function setCertChallengeDiscoveredTxt($certChallengeDiscoveredTxt)
{
$this->certChallengeDiscoveredTxt = $certChallengeDiscoveredTxt;
}
public function getCertChallengeDiscoveredTxt()
{
return $this->certChallengeDiscoveredTxt;
}
/**
* @param Google_Service_FirebaseHosting_CertDnsChallenge
*/
public function setCertChallengeDns(Google_Service_FirebaseHosting_CertDnsChallenge $certChallengeDns)
{
$this->certChallengeDns = $certChallengeDns;
}
/**
* @return Google_Service_FirebaseHosting_CertDnsChallenge
*/
public function getCertChallengeDns()
{
return $this->certChallengeDns;
}
/**
* @param Google_Service_FirebaseHosting_CertHttpChallenge
*/
public function setCertChallengeHttp(Google_Service_FirebaseHosting_CertHttpChallenge $certChallengeHttp)
{
$this->certChallengeHttp = $certChallengeHttp;
}
/**
* @return Google_Service_FirebaseHosting_CertHttpChallenge
*/
public function getCertChallengeHttp()
{
return $this->certChallengeHttp;
}
public function setCertStatus($certStatus)
{
$this->certStatus = $certStatus;
}
public function getCertStatus()
{
return $this->certStatus;
}
public function setDiscoveredIps($discoveredIps)
{
$this->discoveredIps = $discoveredIps;
}
public function getDiscoveredIps()
{
return $this->discoveredIps;
}
public function setDnsFetchTime($dnsFetchTime)
{
$this->dnsFetchTime = $dnsFetchTime;
}
public function getDnsFetchTime()
{
return $this->dnsFetchTime;
}
public function setDnsStatus($dnsStatus)
{
$this->dnsStatus = $dnsStatus;
}
public function getDnsStatus()
{
return $this->dnsStatus;
}
public function setExpectedIps($expectedIps)
{
$this->expectedIps = $expectedIps;
}
public function getExpectedIps()
{
return $this->expectedIps;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_DomainRedirect extends Google_Model
{
public $domainName;
public $type;
public function setDomainName($domainName)
{
$this->domainName = $domainName;
}
public function getDomainName()
{
return $this->domainName;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

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

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_Header extends Google_Model
{
public $glob;
public $headers;
public function setGlob($glob)
{
$this->glob = $glob;
}
public function getGlob()
{
return $this->glob;
}
public function setHeaders($headers)
{
$this->headers = $headers;
}
public function getHeaders()
{
return $this->headers;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_ListDomainsResponse extends Google_Collection
{
protected $collection_key = 'domains';
protected $domainsType = 'Google_Service_FirebaseHosting_Domain';
protected $domainsDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_FirebaseHosting_Domain
*/
public function setDomains($domains)
{
$this->domains = $domains;
}
/**
* @return Google_Service_FirebaseHosting_Domain
*/
public function getDomains()
{
return $this->domains;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_ListReleasesResponse extends Google_Collection
{
protected $collection_key = 'releases';
public $nextPageToken;
protected $releasesType = 'Google_Service_FirebaseHosting_Release';
protected $releasesDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_FirebaseHosting_Release
*/
public function setReleases($releases)
{
$this->releases = $releases;
}
/**
* @return Google_Service_FirebaseHosting_Release
*/
public function getReleases()
{
return $this->releases;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_ListVersionFilesResponse extends Google_Collection
{
protected $collection_key = 'files';
protected $filesType = 'Google_Service_FirebaseHosting_VersionFile';
protected $filesDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_FirebaseHosting_VersionFile
*/
public function setFiles($files)
{
$this->files = $files;
}
/**
* @return Google_Service_FirebaseHosting_VersionFile
*/
public function getFiles()
{
return $this->files;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_PopulateVersionFilesRequest extends Google_Model
{
public $files;
public function setFiles($files)
{
$this->files = $files;
}
public function getFiles()
{
return $this->files;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_PopulateVersionFilesResponse extends Google_Collection
{
protected $collection_key = 'uploadRequiredHashes';
public $uploadRequiredHashes;
public $uploadUrl;
public function setUploadRequiredHashes($uploadRequiredHashes)
{
$this->uploadRequiredHashes = $uploadRequiredHashes;
}
public function getUploadRequiredHashes()
{
return $this->uploadRequiredHashes;
}
public function setUploadUrl($uploadUrl)
{
$this->uploadUrl = $uploadUrl;
}
public function getUploadUrl()
{
return $this->uploadUrl;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_Redirect extends Google_Model
{
public $glob;
public $location;
public $statusCode;
public function setGlob($glob)
{
$this->glob = $glob;
}
public function getGlob()
{
return $this->glob;
}
public function setLocation($location)
{
$this->location = $location;
}
public function getLocation()
{
return $this->location;
}
public function setStatusCode($statusCode)
{
$this->statusCode = $statusCode;
}
public function getStatusCode()
{
return $this->statusCode;
}
}

View File

@@ -0,0 +1,89 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_Release extends Google_Model
{
public $message;
public $name;
public $releaseTime;
protected $releaseUserType = 'Google_Service_FirebaseHosting_ActingUser';
protected $releaseUserDataType = '';
public $type;
protected $versionType = 'Google_Service_FirebaseHosting_Version';
protected $versionDataType = '';
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setReleaseTime($releaseTime)
{
$this->releaseTime = $releaseTime;
}
public function getReleaseTime()
{
return $this->releaseTime;
}
/**
* @param Google_Service_FirebaseHosting_ActingUser
*/
public function setReleaseUser(Google_Service_FirebaseHosting_ActingUser $releaseUser)
{
$this->releaseUser = $releaseUser;
}
/**
* @return Google_Service_FirebaseHosting_ActingUser
*/
public function getReleaseUser()
{
return $this->releaseUser;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
/**
* @param Google_Service_FirebaseHosting_Version
*/
public function setVersion(Google_Service_FirebaseHosting_Version $version)
{
$this->version = $version;
}
/**
* @return Google_Service_FirebaseHosting_Version
*/
public function getVersion()
{
return $this->version;
}
}

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "sites" collection of methods.
* Typical usage is:
* <code>
* $firebasehostingService = new Google_Service_FirebaseHosting(...);
* $sites = $firebasehostingService->sites;
* </code>
*/
class Google_Service_FirebaseHosting_Resource_Sites extends Google_Service_Resource
{
/**
* Gets the Hosting metadata for a specific site. (sites.getConfig)
*
* @param string $name Required. The site for which to get the SiteConfig, in
* the format: sites/site-name/config
* @param array $optParams Optional parameters.
* @return Google_Service_FirebaseHosting_SiteConfig
*/
public function getConfig($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('getConfig', array($params), "Google_Service_FirebaseHosting_SiteConfig");
}
/**
* Sets the Hosting metadata for a specific site. (sites.updateConfig)
*
* @param string $name Required. The site for which to update the SiteConfig, in
* the format: sites/site-name/config
* @param Google_Service_FirebaseHosting_SiteConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask A set of field names from your [site
* configuration](../sites.SiteConfig) that you want to update. A field will be
* overwritten if, and only if, it's in the mask. If a mask is not provided then
* a default mask of only [`max_versions`](../sites.SiteConfig.max_versions)
* will be used.
* @return Google_Service_FirebaseHosting_SiteConfig
*/
public function updateConfig($name, Google_Service_FirebaseHosting_SiteConfig $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateConfig', array($params), "Google_Service_FirebaseHosting_SiteConfig");
}
}

View File

@@ -0,0 +1,103 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "domains" collection of methods.
* Typical usage is:
* <code>
* $firebasehostingService = new Google_Service_FirebaseHosting(...);
* $domains = $firebasehostingService->domains;
* </code>
*/
class Google_Service_FirebaseHosting_Resource_SitesDomains extends Google_Service_Resource
{
/**
* Creates a domain mapping on the specified site. (domains.create)
*
* @param string $parent Required. The parent to create the domain association
* for, in the format: sites/site-name
* @param Google_Service_FirebaseHosting_Domain $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_FirebaseHosting_Domain
*/
public function create($parent, Google_Service_FirebaseHosting_Domain $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_FirebaseHosting_Domain");
}
/**
* Deletes the existing domain mapping on the specified site. (domains.delete)
*
* @param string $name Required. The name of the domain association to delete.
* @param array $optParams Optional parameters.
* @return Google_Service_FirebaseHosting_FirebasehostingEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_FirebaseHosting_FirebasehostingEmpty");
}
/**
* Gets a domain mapping on the specified site. (domains.get)
*
* @param string $name Required. The name of the domain configuration to get.
* @param array $optParams Optional parameters.
* @return Google_Service_FirebaseHosting_Domain
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_FirebaseHosting_Domain");
}
/**
* Lists the domains for the specified site. (domains.listSitesDomains)
*
* @param string $parent Required. The parent for which to list domains, in the
* format: sites/site-name
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken The next_page_token from a previous request, if
* provided.
* @opt_param int pageSize The page size to return. Defaults to 50.
* @return Google_Service_FirebaseHosting_ListDomainsResponse
*/
public function listSitesDomains($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_FirebaseHosting_ListDomainsResponse");
}
/**
* Updates the specified domain mapping, creating the mapping as if it does not
* exist. (domains.update)
*
* @param string $name Required. The name of the domain association to update or
* create, if an association doesn't already exist.
* @param Google_Service_FirebaseHosting_Domain $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_FirebaseHosting_Domain
*/
public function update($name, Google_Service_FirebaseHosting_Domain $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_FirebaseHosting_Domain");
}
}

View File

@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "releases" collection of methods.
* Typical usage is:
* <code>
* $firebasehostingService = new Google_Service_FirebaseHosting(...);
* $releases = $firebasehostingService->releases;
* </code>
*/
class Google_Service_FirebaseHosting_Resource_SitesReleases extends Google_Service_Resource
{
/**
* Creates a new release which makes the content of the specified version
* actively display on the site. (releases.create)
*
* @param string $parent The site that the release belongs to, in the format:
* sites/site-name
* @param Google_Service_FirebaseHosting_Release $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string versionName The unique identifier for a version, in the
* format: /sites/site-name/versions/versionID The site-name in this version
* identifier must match the site-name in the `parent` parameter.
*
* This query parameter must be empty if the `type` field in the request body is
* `SITE_DISABLE`.
* @return Google_Service_FirebaseHosting_Release
*/
public function create($parent, Google_Service_FirebaseHosting_Release $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_FirebaseHosting_Release");
}
/**
* Lists the releases that have been created on the specified site.
* (releases.listSitesReleases)
*
* @param string $parent Required. The parent for which to list files, in the
* format: sites/site-name
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken The next_page_token from a previous request, if
* provided.
* @opt_param int pageSize The page size to return. Defaults to 100.
* @return Google_Service_FirebaseHosting_ListReleasesResponse
*/
public function listSitesReleases($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_FirebaseHosting_ListReleasesResponse");
}
}

View File

@@ -0,0 +1,103 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "versions" collection of methods.
* Typical usage is:
* <code>
* $firebasehostingService = new Google_Service_FirebaseHosting(...);
* $versions = $firebasehostingService->versions;
* </code>
*/
class Google_Service_FirebaseHosting_Resource_SitesVersions extends Google_Service_Resource
{
/**
* Creates a new version for a site. (versions.create)
*
* @param string $parent Required. The parent to create the version for, in the
* format: sites/site-name
* @param Google_Service_FirebaseHosting_Version $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string sizeBytes The self-reported size of the version. This value
* is used for a pre-emptive quota check for legacy version uploads.
* @opt_param string versionId A unique id for the new version. This is only
* specified for legacy version creations.
* @return Google_Service_FirebaseHosting_Version
*/
public function create($parent, Google_Service_FirebaseHosting_Version $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_FirebaseHosting_Version");
}
/**
* Deletes the specified version. (versions.delete)
*
* @param string $name Required. The name of the version to be deleted, in the
* format: sites/site-name/versions/versionID
* @param array $optParams Optional parameters.
* @return Google_Service_FirebaseHosting_FirebasehostingEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_FirebaseHosting_FirebasehostingEmpty");
}
/**
* Updates the specified metadata for a version. Note that this method will fail
* with `FAILED_PRECONDITION` in the event of an invalid state transition. The
* only valid transition for a version is currently from a `CREATED` status to a
* `FINALIZED` status. Use [`DeleteVersion`](../sites.versions/delete) to set
* the status of a version to `DELETED`. (versions.patch)
*
* @param string $name The unique identifier for a version, in the format: sites
* /site-name/versions/versionID This name is provided in the response body when
* you call the [`CreateVersion`](../sites.versions/create) endpoint.
* @param Google_Service_FirebaseHosting_Version $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask A set of field names from your
* [version](../sites.versions) that you want to update. A field will be
* overwritten if, and only if, it's in the mask. If a mask is not provided then
* a default mask of only [`status`](../sites.versions#Version.FIELDS.status)
* will be used.
* @return Google_Service_FirebaseHosting_Version
*/
public function patch($name, Google_Service_FirebaseHosting_Version $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_FirebaseHosting_Version");
}
/**
* Adds content files to a version. (versions.populateFiles)
*
* @param string $parent Required. The version to add files to, in the format:
* sites/site-name/versions/versionID
* @param Google_Service_FirebaseHosting_PopulateVersionFilesRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_FirebaseHosting_PopulateVersionFilesResponse
*/
public function populateFiles($parent, Google_Service_FirebaseHosting_PopulateVersionFilesRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('populateFiles', array($params), "Google_Service_FirebaseHosting_PopulateVersionFilesResponse");
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "files" collection of methods.
* Typical usage is:
* <code>
* $firebasehostingService = new Google_Service_FirebaseHosting(...);
* $files = $firebasehostingService->files;
* </code>
*/
class Google_Service_FirebaseHosting_Resource_SitesVersionsFiles extends Google_Service_Resource
{
/**
* Lists the remaining files to be uploaded for the specified version.
* (files.listSitesVersionsFiles)
*
* @param string $parent Required. The parent to list files for, in the format:
* sites/site-name/versions/versionID
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken The next_page_token from a previous request, if
* provided. This will be the encoded version of a
* firebase.hosting.proto.metadata.ListFilesPageToken.
* @opt_param int pageSize The page size to return. Defaults to 1000.
* @opt_param string status The type of files in the version that should be
* listed.
* @return Google_Service_FirebaseHosting_ListVersionFilesResponse
*/
public function listSitesVersionsFiles($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_FirebaseHosting_ListVersionFilesResponse");
}
}

View File

@@ -0,0 +1,73 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_Rewrite extends Google_Model
{
public $dynamicLinks;
public $function;
public $glob;
public $path;
protected $runType = 'Google_Service_FirebaseHosting_CloudRunRewrite';
protected $runDataType = '';
public function setDynamicLinks($dynamicLinks)
{
$this->dynamicLinks = $dynamicLinks;
}
public function getDynamicLinks()
{
return $this->dynamicLinks;
}
public function setFunction($function)
{
$this->function = $function;
}
public function getFunction()
{
return $this->function;
}
public function setGlob($glob)
{
$this->glob = $glob;
}
public function getGlob()
{
return $this->glob;
}
public function setPath($path)
{
$this->path = $path;
}
public function getPath()
{
return $this->path;
}
/**
* @param Google_Service_FirebaseHosting_CloudRunRewrite
*/
public function setRun(Google_Service_FirebaseHosting_CloudRunRewrite $run)
{
$this->run = $run;
}
/**
* @return Google_Service_FirebaseHosting_CloudRunRewrite
*/
public function getRun()
{
return $this->run;
}
}

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_ServingConfig extends Google_Collection
{
protected $collection_key = 'rewrites';
public $appAssociation;
public $cleanUrls;
protected $headersType = 'Google_Service_FirebaseHosting_Header';
protected $headersDataType = 'array';
protected $redirectsType = 'Google_Service_FirebaseHosting_Redirect';
protected $redirectsDataType = 'array';
protected $rewritesType = 'Google_Service_FirebaseHosting_Rewrite';
protected $rewritesDataType = 'array';
public $trailingSlashBehavior;
public function setAppAssociation($appAssociation)
{
$this->appAssociation = $appAssociation;
}
public function getAppAssociation()
{
return $this->appAssociation;
}
public function setCleanUrls($cleanUrls)
{
$this->cleanUrls = $cleanUrls;
}
public function getCleanUrls()
{
return $this->cleanUrls;
}
/**
* @param Google_Service_FirebaseHosting_Header
*/
public function setHeaders($headers)
{
$this->headers = $headers;
}
/**
* @return Google_Service_FirebaseHosting_Header
*/
public function getHeaders()
{
return $this->headers;
}
/**
* @param Google_Service_FirebaseHosting_Redirect
*/
public function setRedirects($redirects)
{
$this->redirects = $redirects;
}
/**
* @return Google_Service_FirebaseHosting_Redirect
*/
public function getRedirects()
{
return $this->redirects;
}
/**
* @param Google_Service_FirebaseHosting_Rewrite
*/
public function setRewrites($rewrites)
{
$this->rewrites = $rewrites;
}
/**
* @return Google_Service_FirebaseHosting_Rewrite
*/
public function getRewrites()
{
return $this->rewrites;
}
public function setTrailingSlashBehavior($trailingSlashBehavior)
{
$this->trailingSlashBehavior = $trailingSlashBehavior;
}
public function getTrailingSlashBehavior()
{
return $this->trailingSlashBehavior;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_SiteConfig extends Google_Model
{
public $maxVersions;
public function setMaxVersions($maxVersions)
{
$this->maxVersions = $maxVersions;
}
public function getMaxVersions()
{
return $this->maxVersions;
}
}

View File

@@ -0,0 +1,157 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_Version extends Google_Model
{
protected $configType = 'Google_Service_FirebaseHosting_ServingConfig';
protected $configDataType = '';
public $createTime;
protected $createUserType = 'Google_Service_FirebaseHosting_ActingUser';
protected $createUserDataType = '';
public $deleteTime;
protected $deleteUserType = 'Google_Service_FirebaseHosting_ActingUser';
protected $deleteUserDataType = '';
public $fileCount;
public $finalizeTime;
protected $finalizeUserType = 'Google_Service_FirebaseHosting_ActingUser';
protected $finalizeUserDataType = '';
public $labels;
public $name;
public $status;
public $versionBytes;
/**
* @param Google_Service_FirebaseHosting_ServingConfig
*/
public function setConfig(Google_Service_FirebaseHosting_ServingConfig $config)
{
$this->config = $config;
}
/**
* @return Google_Service_FirebaseHosting_ServingConfig
*/
public function getConfig()
{
return $this->config;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param Google_Service_FirebaseHosting_ActingUser
*/
public function setCreateUser(Google_Service_FirebaseHosting_ActingUser $createUser)
{
$this->createUser = $createUser;
}
/**
* @return Google_Service_FirebaseHosting_ActingUser
*/
public function getCreateUser()
{
return $this->createUser;
}
public function setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* @param Google_Service_FirebaseHosting_ActingUser
*/
public function setDeleteUser(Google_Service_FirebaseHosting_ActingUser $deleteUser)
{
$this->deleteUser = $deleteUser;
}
/**
* @return Google_Service_FirebaseHosting_ActingUser
*/
public function getDeleteUser()
{
return $this->deleteUser;
}
public function setFileCount($fileCount)
{
$this->fileCount = $fileCount;
}
public function getFileCount()
{
return $this->fileCount;
}
public function setFinalizeTime($finalizeTime)
{
$this->finalizeTime = $finalizeTime;
}
public function getFinalizeTime()
{
return $this->finalizeTime;
}
/**
* @param Google_Service_FirebaseHosting_ActingUser
*/
public function setFinalizeUser(Google_Service_FirebaseHosting_ActingUser $finalizeUser)
{
$this->finalizeUser = $finalizeUser;
}
/**
* @return Google_Service_FirebaseHosting_ActingUser
*/
public function getFinalizeUser()
{
return $this->finalizeUser;
}
public function setLabels($labels)
{
$this->labels = $labels;
}
public function getLabels()
{
return $this->labels;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
public function setVersionBytes($versionBytes)
{
$this->versionBytes = $versionBytes;
}
public function getVersionBytes()
{
return $this->versionBytes;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_FirebaseHosting_VersionFile extends Google_Model
{
public $hash;
public $path;
public $status;
public function setHash($hash)
{
$this->hash = $hash;
}
public function getHash()
{
return $this->hash;
}
public function setPath($path)
{
$this->path = $path;
}
public function getPath()
{
return $this->path;
}
public function setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
}