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

View File

@@ -0,0 +1,58 @@
<?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\FirebaseHosting;
class CertVerification extends \Google\Model
{
protected $dnsType = DnsUpdates::class;
protected $dnsDataType = '';
protected $httpType = HttpUpdate::class;
protected $httpDataType = '';
/**
* @param DnsUpdates
*/
public function setDns(DnsUpdates $dns)
{
$this->dns = $dns;
}
/**
* @return DnsUpdates
*/
public function getDns()
{
return $this->dns;
}
/**
* @param HttpUpdate
*/
public function setHttp(HttpUpdate $http)
{
$this->http = $http;
}
/**
* @return HttpUpdate
*/
public function getHttp()
{
return $this->http;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CertVerification::class, 'Google_Service_FirebaseHosting_CertVerification');

View File

@@ -0,0 +1,129 @@
<?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\FirebaseHosting;
class CustomDomainMetadata extends \Google\Collection
{
protected $collection_key = 'liveMigrationSteps';
/**
* @var string
*/
public $certState;
/**
* @var string
*/
public $hostState;
protected $issuesType = Status::class;
protected $issuesDataType = 'array';
protected $liveMigrationStepsType = LiveMigrationStep::class;
protected $liveMigrationStepsDataType = 'array';
/**
* @var string
*/
public $ownershipState;
protected $quickSetupUpdatesType = DnsUpdates::class;
protected $quickSetupUpdatesDataType = '';
/**
* @param string
*/
public function setCertState($certState)
{
$this->certState = $certState;
}
/**
* @return string
*/
public function getCertState()
{
return $this->certState;
}
/**
* @param string
*/
public function setHostState($hostState)
{
$this->hostState = $hostState;
}
/**
* @return string
*/
public function getHostState()
{
return $this->hostState;
}
/**
* @param Status[]
*/
public function setIssues($issues)
{
$this->issues = $issues;
}
/**
* @return Status[]
*/
public function getIssues()
{
return $this->issues;
}
/**
* @param LiveMigrationStep[]
*/
public function setLiveMigrationSteps($liveMigrationSteps)
{
$this->liveMigrationSteps = $liveMigrationSteps;
}
/**
* @return LiveMigrationStep[]
*/
public function getLiveMigrationSteps()
{
return $this->liveMigrationSteps;
}
/**
* @param string
*/
public function setOwnershipState($ownershipState)
{
$this->ownershipState = $ownershipState;
}
/**
* @return string
*/
public function getOwnershipState()
{
return $this->ownershipState;
}
/**
* @param DnsUpdates
*/
public function setQuickSetupUpdates(DnsUpdates $quickSetupUpdates)
{
$this->quickSetupUpdates = $quickSetupUpdates;
}
/**
* @return DnsUpdates
*/
public function getQuickSetupUpdates()
{
return $this->quickSetupUpdates;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomDomainMetadata::class, 'Google_Service_FirebaseHosting_CustomDomainMetadata');

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\FirebaseHosting;
class DnsRecord extends \Google\Model
{
/**
* @var string
*/
public $domainName;
/**
* @var string
*/
public $rdata;
/**
* @var string
*/
public $requiredAction;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDomainName($domainName)
{
$this->domainName = $domainName;
}
/**
* @return string
*/
public function getDomainName()
{
return $this->domainName;
}
/**
* @param string
*/
public function setRdata($rdata)
{
$this->rdata = $rdata;
}
/**
* @return string
*/
public function getRdata()
{
return $this->rdata;
}
/**
* @param string
*/
public function setRequiredAction($requiredAction)
{
$this->requiredAction = $requiredAction;
}
/**
* @return string
*/
public function getRequiredAction()
{
return $this->requiredAction;
}
/**
* @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(DnsRecord::class, 'Google_Service_FirebaseHosting_DnsRecord');

View File

@@ -0,0 +1,77 @@
<?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\FirebaseHosting;
class DnsRecordSet extends \Google\Collection
{
protected $collection_key = 'records';
protected $checkErrorType = Status::class;
protected $checkErrorDataType = '';
/**
* @var string
*/
public $domainName;
protected $recordsType = DnsRecord::class;
protected $recordsDataType = 'array';
/**
* @param Status
*/
public function setCheckError(Status $checkError)
{
$this->checkError = $checkError;
}
/**
* @return Status
*/
public function getCheckError()
{
return $this->checkError;
}
/**
* @param string
*/
public function setDomainName($domainName)
{
$this->domainName = $domainName;
}
/**
* @return string
*/
public function getDomainName()
{
return $this->domainName;
}
/**
* @param DnsRecord[]
*/
public function setRecords($records)
{
$this->records = $records;
}
/**
* @return DnsRecord[]
*/
public function getRecords()
{
return $this->records;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DnsRecordSet::class, 'Google_Service_FirebaseHosting_DnsRecordSet');

View File

@@ -0,0 +1,77 @@
<?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\FirebaseHosting;
class DnsUpdates extends \Google\Collection
{
protected $collection_key = 'discovered';
/**
* @var string
*/
public $checkTime;
protected $desiredType = DnsRecordSet::class;
protected $desiredDataType = 'array';
protected $discoveredType = DnsRecordSet::class;
protected $discoveredDataType = 'array';
/**
* @param string
*/
public function setCheckTime($checkTime)
{
$this->checkTime = $checkTime;
}
/**
* @return string
*/
public function getCheckTime()
{
return $this->checkTime;
}
/**
* @param DnsRecordSet[]
*/
public function setDesired($desired)
{
$this->desired = $desired;
}
/**
* @return DnsRecordSet[]
*/
public function getDesired()
{
return $this->desired;
}
/**
* @param DnsRecordSet[]
*/
public function setDiscovered($discovered)
{
$this->discovered = $discovered;
}
/**
* @return DnsRecordSet[]
*/
public function getDiscovered()
{
return $this->discovered;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DnsUpdates::class, 'Google_Service_FirebaseHosting_DnsUpdates');

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

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\FirebaseHosting;
class HttpUpdate extends \Google\Model
{
protected $checkErrorType = Status::class;
protected $checkErrorDataType = '';
/**
* @var string
*/
public $desired;
/**
* @var string
*/
public $discovered;
/**
* @var string
*/
public $lastCheckTime;
/**
* @var string
*/
public $path;
/**
* @param Status
*/
public function setCheckError(Status $checkError)
{
$this->checkError = $checkError;
}
/**
* @return Status
*/
public function getCheckError()
{
return $this->checkError;
}
/**
* @param string
*/
public function setDesired($desired)
{
$this->desired = $desired;
}
/**
* @return string
*/
public function getDesired()
{
return $this->desired;
}
/**
* @param string
*/
public function setDiscovered($discovered)
{
$this->discovered = $discovered;
}
/**
* @return string
*/
public function getDiscovered()
{
return $this->discovered;
}
/**
* @param string
*/
public function setLastCheckTime($lastCheckTime)
{
$this->lastCheckTime = $lastCheckTime;
}
/**
* @return string
*/
public function getLastCheckTime()
{
return $this->lastCheckTime;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpUpdate::class, 'Google_Service_FirebaseHosting_HttpUpdate');

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\FirebaseHosting;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_FirebaseHosting_ListOperationsResponse');

View File

@@ -0,0 +1,93 @@
<?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\FirebaseHosting;
class LiveMigrationStep extends \Google\Collection
{
protected $collection_key = 'issues';
protected $certVerificationType = CertVerification::class;
protected $certVerificationDataType = '';
protected $dnsUpdatesType = DnsUpdates::class;
protected $dnsUpdatesDataType = '';
protected $issuesType = Status::class;
protected $issuesDataType = 'array';
/**
* @var string
*/
public $state;
/**
* @param CertVerification
*/
public function setCertVerification(CertVerification $certVerification)
{
$this->certVerification = $certVerification;
}
/**
* @return CertVerification
*/
public function getCertVerification()
{
return $this->certVerification;
}
/**
* @param DnsUpdates
*/
public function setDnsUpdates(DnsUpdates $dnsUpdates)
{
$this->dnsUpdates = $dnsUpdates;
}
/**
* @return DnsUpdates
*/
public function getDnsUpdates()
{
return $this->dnsUpdates;
}
/**
* @param Status[]
*/
public function setIssues($issues)
{
$this->issues = $issues;
}
/**
* @return Status[]
*/
public function getIssues()
{
return $this->issues;
}
/**
* @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(LiveMigrationStep::class, 'Google_Service_FirebaseHosting_LiveMigrationStep');

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\FirebaseHosting;
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_FirebaseHosting_Operation');

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.
*/
namespace Google\Service\FirebaseHosting\Resource;
use Google\Service\FirebaseHosting\CancelOperationRequest;
use Google\Service\FirebaseHosting\FirebasehostingEmpty;
use Google\Service\FirebaseHosting\ListOperationsResponse;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $firebasehostingService = new Google\Service\FirebaseHosting(...);
* $operations = $firebasehostingService->operations;
* </code>
*/
class Operations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return FirebasehostingEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], FirebasehostingEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return FirebasehostingEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], FirebasehostingEmpty::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operations::class, 'Google_Service_FirebaseHosting_Resource_Operations');

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,67 @@
<?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\FirebaseHosting\Resource;
use Google\Service\FirebaseHosting\CancelOperationRequest;
use Google\Service\FirebaseHosting\FirebasehostingEmpty;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $firebasehostingService = new Google\Service\FirebaseHosting(...);
* $operations = $firebasehostingService->projects_sites_customDomains_operations;
* </code>
*/
class ProjectsSitesCustomDomainsOperations extends \Google\Service\Resource
{
/**
* CancelOperation is a part of the google.longrunning.Operations interface, but
* is not implemented for CustomDomain resources. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return FirebasehostingEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], FirebasehostingEmpty::class);
}
/**
* DeleteOperation is a part of the google.longrunning.Operations interface, but
* is not implemented for CustomDomain resources. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return FirebasehostingEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], FirebasehostingEmpty::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsSitesCustomDomainsOperations::class, 'Google_Service_FirebaseHosting_Resource_ProjectsSitesCustomDomainsOperations');

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\FirebaseHosting;
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_FirebaseHosting_Status');