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,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseAppDistribution;
class GdataBlobstore2Info extends \Google\Model
{
/**
* @var string
*/
public $blobGeneration;
/**
* @var string
*/
public $blobId;
/**
* @var string
*/
public $downloadReadHandle;
/**
* @var string
*/
public $readToken;
/**
* @var string
*/
public $uploadMetadataContainer;
/**
* @param string
*/
public function setBlobGeneration($blobGeneration)
{
$this->blobGeneration = $blobGeneration;
}
/**
* @return string
*/
public function getBlobGeneration()
{
return $this->blobGeneration;
}
/**
* @param string
*/
public function setBlobId($blobId)
{
$this->blobId = $blobId;
}
/**
* @return string
*/
public function getBlobId()
{
return $this->blobId;
}
/**
* @param string
*/
public function setDownloadReadHandle($downloadReadHandle)
{
$this->downloadReadHandle = $downloadReadHandle;
}
/**
* @return string
*/
public function getDownloadReadHandle()
{
return $this->downloadReadHandle;
}
/**
* @param string
*/
public function setReadToken($readToken)
{
$this->readToken = $readToken;
}
/**
* @return string
*/
public function getReadToken()
{
return $this->readToken;
}
/**
* @param string
*/
public function setUploadMetadataContainer($uploadMetadataContainer)
{
$this->uploadMetadataContainer = $uploadMetadataContainer;
}
/**
* @return string
*/
public function getUploadMetadataContainer()
{
return $this->uploadMetadataContainer;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GdataBlobstore2Info::class, 'Google_Service_FirebaseAppDistribution_GdataBlobstore2Info');

View File

@@ -0,0 +1,220 @@
<?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\FirebaseAppDistribution;
class GdataCompositeMedia extends \Google\Model
{
/**
* @var string
*/
public $blobRef;
protected $blobstore2InfoType = GdataBlobstore2Info::class;
protected $blobstore2InfoDataType = '';
/**
* @var string
*/
public $cosmoBinaryReference;
/**
* @var string
*/
public $crc32cHash;
/**
* @var string
*/
public $inline;
/**
* @var string
*/
public $length;
/**
* @var string
*/
public $md5Hash;
protected $objectIdType = GdataObjectId::class;
protected $objectIdDataType = '';
/**
* @var string
*/
public $path;
/**
* @var string
*/
public $referenceType;
/**
* @var string
*/
public $sha1Hash;
/**
* @param string
*/
public function setBlobRef($blobRef)
{
$this->blobRef = $blobRef;
}
/**
* @return string
*/
public function getBlobRef()
{
return $this->blobRef;
}
/**
* @param GdataBlobstore2Info
*/
public function setBlobstore2Info(GdataBlobstore2Info $blobstore2Info)
{
$this->blobstore2Info = $blobstore2Info;
}
/**
* @return GdataBlobstore2Info
*/
public function getBlobstore2Info()
{
return $this->blobstore2Info;
}
/**
* @param string
*/
public function setCosmoBinaryReference($cosmoBinaryReference)
{
$this->cosmoBinaryReference = $cosmoBinaryReference;
}
/**
* @return string
*/
public function getCosmoBinaryReference()
{
return $this->cosmoBinaryReference;
}
/**
* @param string
*/
public function setCrc32cHash($crc32cHash)
{
$this->crc32cHash = $crc32cHash;
}
/**
* @return string
*/
public function getCrc32cHash()
{
return $this->crc32cHash;
}
/**
* @param string
*/
public function setInline($inline)
{
$this->inline = $inline;
}
/**
* @return string
*/
public function getInline()
{
return $this->inline;
}
/**
* @param string
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return string
*/
public function getLength()
{
return $this->length;
}
/**
* @param string
*/
public function setMd5Hash($md5Hash)
{
$this->md5Hash = $md5Hash;
}
/**
* @return string
*/
public function getMd5Hash()
{
return $this->md5Hash;
}
/**
* @param GdataObjectId
*/
public function setObjectId(GdataObjectId $objectId)
{
$this->objectId = $objectId;
}
/**
* @return GdataObjectId
*/
public function getObjectId()
{
return $this->objectId;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param string
*/
public function setReferenceType($referenceType)
{
$this->referenceType = $referenceType;
}
/**
* @return string
*/
public function getReferenceType()
{
return $this->referenceType;
}
/**
* @param string
*/
public function setSha1Hash($sha1Hash)
{
$this->sha1Hash = $sha1Hash;
}
/**
* @return string
*/
public function getSha1Hash()
{
return $this->sha1Hash;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GdataCompositeMedia::class, 'Google_Service_FirebaseAppDistribution_GdataCompositeMedia');

View File

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

View File

@@ -0,0 +1,112 @@
<?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\FirebaseAppDistribution;
class GdataDiffChecksumsResponse extends \Google\Model
{
protected $checksumsLocationType = GdataCompositeMedia::class;
protected $checksumsLocationDataType = '';
/**
* @var string
*/
public $chunkSizeBytes;
protected $objectLocationType = GdataCompositeMedia::class;
protected $objectLocationDataType = '';
/**
* @var string
*/
public $objectSizeBytes;
/**
* @var string
*/
public $objectVersion;
/**
* @param GdataCompositeMedia
*/
public function setChecksumsLocation(GdataCompositeMedia $checksumsLocation)
{
$this->checksumsLocation = $checksumsLocation;
}
/**
* @return GdataCompositeMedia
*/
public function getChecksumsLocation()
{
return $this->checksumsLocation;
}
/**
* @param string
*/
public function setChunkSizeBytes($chunkSizeBytes)
{
$this->chunkSizeBytes = $chunkSizeBytes;
}
/**
* @return string
*/
public function getChunkSizeBytes()
{
return $this->chunkSizeBytes;
}
/**
* @param GdataCompositeMedia
*/
public function setObjectLocation(GdataCompositeMedia $objectLocation)
{
$this->objectLocation = $objectLocation;
}
/**
* @return GdataCompositeMedia
*/
public function getObjectLocation()
{
return $this->objectLocation;
}
/**
* @param string
*/
public function setObjectSizeBytes($objectSizeBytes)
{
$this->objectSizeBytes = $objectSizeBytes;
}
/**
* @return string
*/
public function getObjectSizeBytes()
{
return $this->objectSizeBytes;
}
/**
* @param string
*/
public function setObjectVersion($objectVersion)
{
$this->objectVersion = $objectVersion;
}
/**
* @return string
*/
public function getObjectVersion()
{
return $this->objectVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GdataDiffChecksumsResponse::class, 'Google_Service_FirebaseAppDistribution_GdataDiffChecksumsResponse');

View File

@@ -0,0 +1,42 @@
<?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\FirebaseAppDistribution;
class GdataDiffDownloadResponse extends \Google\Model
{
protected $objectLocationType = GdataCompositeMedia::class;
protected $objectLocationDataType = '';
/**
* @param GdataCompositeMedia
*/
public function setObjectLocation(GdataCompositeMedia $objectLocation)
{
$this->objectLocation = $objectLocation;
}
/**
* @return GdataCompositeMedia
*/
public function getObjectLocation()
{
return $this->objectLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GdataDiffDownloadResponse::class, 'Google_Service_FirebaseAppDistribution_GdataDiffDownloadResponse');

View File

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

View File

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

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\FirebaseAppDistribution;
class GdataDiffVersionResponse extends \Google\Model
{
/**
* @var string
*/
public $objectSizeBytes;
/**
* @var string
*/
public $objectVersion;
/**
* @param string
*/
public function setObjectSizeBytes($objectSizeBytes)
{
$this->objectSizeBytes = $objectSizeBytes;
}
/**
* @return string
*/
public function getObjectSizeBytes()
{
return $this->objectSizeBytes;
}
/**
* @param string
*/
public function setObjectVersion($objectVersion)
{
$this->objectVersion = $objectVersion;
}
/**
* @return string
*/
public function getObjectVersion()
{
return $this->objectVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GdataDiffVersionResponse::class, 'Google_Service_FirebaseAppDistribution_GdataDiffVersionResponse');

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\FirebaseAppDistribution;
class GdataDownloadParameters extends \Google\Model
{
/**
* @var bool
*/
public $allowGzipCompression;
/**
* @var bool
*/
public $ignoreRange;
/**
* @param bool
*/
public function setAllowGzipCompression($allowGzipCompression)
{
$this->allowGzipCompression = $allowGzipCompression;
}
/**
* @return bool
*/
public function getAllowGzipCompression()
{
return $this->allowGzipCompression;
}
/**
* @param bool
*/
public function setIgnoreRange($ignoreRange)
{
$this->ignoreRange = $ignoreRange;
}
/**
* @return bool
*/
public function getIgnoreRange()
{
return $this->ignoreRange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GdataDownloadParameters::class, 'Google_Service_FirebaseAppDistribution_GdataDownloadParameters');

View File

@@ -0,0 +1,547 @@
<?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\FirebaseAppDistribution;
class GdataMedia extends \Google\Collection
{
protected $collection_key = 'compositeMedia';
/**
* @var string
*/
public $algorithm;
/**
* @var string
*/
public $bigstoreObjectRef;
/**
* @var string
*/
public $blobRef;
protected $blobstore2InfoType = GdataBlobstore2Info::class;
protected $blobstore2InfoDataType = '';
protected $compositeMediaType = GdataCompositeMedia::class;
protected $compositeMediaDataType = 'array';
/**
* @var string
*/
public $contentType;
protected $contentTypeInfoType = GdataContentTypeInfo::class;
protected $contentTypeInfoDataType = '';
/**
* @var string
*/
public $cosmoBinaryReference;
/**
* @var string
*/
public $crc32cHash;
protected $diffChecksumsResponseType = GdataDiffChecksumsResponse::class;
protected $diffChecksumsResponseDataType = '';
protected $diffDownloadResponseType = GdataDiffDownloadResponse::class;
protected $diffDownloadResponseDataType = '';
protected $diffUploadRequestType = GdataDiffUploadRequest::class;
protected $diffUploadRequestDataType = '';
protected $diffUploadResponseType = GdataDiffUploadResponse::class;
protected $diffUploadResponseDataType = '';
protected $diffVersionResponseType = GdataDiffVersionResponse::class;
protected $diffVersionResponseDataType = '';
protected $downloadParametersType = GdataDownloadParameters::class;
protected $downloadParametersDataType = '';
/**
* @var string
*/
public $filename;
/**
* @var string
*/
public $hash;
/**
* @var bool
*/
public $hashVerified;
/**
* @var string
*/
public $inline;
/**
* @var bool
*/
public $isPotentialRetry;
/**
* @var string
*/
public $length;
/**
* @var string
*/
public $md5Hash;
/**
* @var string
*/
public $mediaId;
protected $objectIdType = GdataObjectId::class;
protected $objectIdDataType = '';
/**
* @var string
*/
public $path;
/**
* @var string
*/
public $referenceType;
/**
* @var string
*/
public $sha1Hash;
/**
* @var string
*/
public $sha256Hash;
/**
* @var string
*/
public $timestamp;
/**
* @var string
*/
public $token;
/**
* @param string
*/
public function setAlgorithm($algorithm)
{
$this->algorithm = $algorithm;
}
/**
* @return string
*/
public function getAlgorithm()
{
return $this->algorithm;
}
/**
* @param string
*/
public function setBigstoreObjectRef($bigstoreObjectRef)
{
$this->bigstoreObjectRef = $bigstoreObjectRef;
}
/**
* @return string
*/
public function getBigstoreObjectRef()
{
return $this->bigstoreObjectRef;
}
/**
* @param string
*/
public function setBlobRef($blobRef)
{
$this->blobRef = $blobRef;
}
/**
* @return string
*/
public function getBlobRef()
{
return $this->blobRef;
}
/**
* @param GdataBlobstore2Info
*/
public function setBlobstore2Info(GdataBlobstore2Info $blobstore2Info)
{
$this->blobstore2Info = $blobstore2Info;
}
/**
* @return GdataBlobstore2Info
*/
public function getBlobstore2Info()
{
return $this->blobstore2Info;
}
/**
* @param GdataCompositeMedia[]
*/
public function setCompositeMedia($compositeMedia)
{
$this->compositeMedia = $compositeMedia;
}
/**
* @return GdataCompositeMedia[]
*/
public function getCompositeMedia()
{
return $this->compositeMedia;
}
/**
* @param string
*/
public function setContentType($contentType)
{
$this->contentType = $contentType;
}
/**
* @return string
*/
public function getContentType()
{
return $this->contentType;
}
/**
* @param GdataContentTypeInfo
*/
public function setContentTypeInfo(GdataContentTypeInfo $contentTypeInfo)
{
$this->contentTypeInfo = $contentTypeInfo;
}
/**
* @return GdataContentTypeInfo
*/
public function getContentTypeInfo()
{
return $this->contentTypeInfo;
}
/**
* @param string
*/
public function setCosmoBinaryReference($cosmoBinaryReference)
{
$this->cosmoBinaryReference = $cosmoBinaryReference;
}
/**
* @return string
*/
public function getCosmoBinaryReference()
{
return $this->cosmoBinaryReference;
}
/**
* @param string
*/
public function setCrc32cHash($crc32cHash)
{
$this->crc32cHash = $crc32cHash;
}
/**
* @return string
*/
public function getCrc32cHash()
{
return $this->crc32cHash;
}
/**
* @param GdataDiffChecksumsResponse
*/
public function setDiffChecksumsResponse(GdataDiffChecksumsResponse $diffChecksumsResponse)
{
$this->diffChecksumsResponse = $diffChecksumsResponse;
}
/**
* @return GdataDiffChecksumsResponse
*/
public function getDiffChecksumsResponse()
{
return $this->diffChecksumsResponse;
}
/**
* @param GdataDiffDownloadResponse
*/
public function setDiffDownloadResponse(GdataDiffDownloadResponse $diffDownloadResponse)
{
$this->diffDownloadResponse = $diffDownloadResponse;
}
/**
* @return GdataDiffDownloadResponse
*/
public function getDiffDownloadResponse()
{
return $this->diffDownloadResponse;
}
/**
* @param GdataDiffUploadRequest
*/
public function setDiffUploadRequest(GdataDiffUploadRequest $diffUploadRequest)
{
$this->diffUploadRequest = $diffUploadRequest;
}
/**
* @return GdataDiffUploadRequest
*/
public function getDiffUploadRequest()
{
return $this->diffUploadRequest;
}
/**
* @param GdataDiffUploadResponse
*/
public function setDiffUploadResponse(GdataDiffUploadResponse $diffUploadResponse)
{
$this->diffUploadResponse = $diffUploadResponse;
}
/**
* @return GdataDiffUploadResponse
*/
public function getDiffUploadResponse()
{
return $this->diffUploadResponse;
}
/**
* @param GdataDiffVersionResponse
*/
public function setDiffVersionResponse(GdataDiffVersionResponse $diffVersionResponse)
{
$this->diffVersionResponse = $diffVersionResponse;
}
/**
* @return GdataDiffVersionResponse
*/
public function getDiffVersionResponse()
{
return $this->diffVersionResponse;
}
/**
* @param GdataDownloadParameters
*/
public function setDownloadParameters(GdataDownloadParameters $downloadParameters)
{
$this->downloadParameters = $downloadParameters;
}
/**
* @return GdataDownloadParameters
*/
public function getDownloadParameters()
{
return $this->downloadParameters;
}
/**
* @param string
*/
public function setFilename($filename)
{
$this->filename = $filename;
}
/**
* @return string
*/
public function getFilename()
{
return $this->filename;
}
/**
* @param string
*/
public function setHash($hash)
{
$this->hash = $hash;
}
/**
* @return string
*/
public function getHash()
{
return $this->hash;
}
/**
* @param bool
*/
public function setHashVerified($hashVerified)
{
$this->hashVerified = $hashVerified;
}
/**
* @return bool
*/
public function getHashVerified()
{
return $this->hashVerified;
}
/**
* @param string
*/
public function setInline($inline)
{
$this->inline = $inline;
}
/**
* @return string
*/
public function getInline()
{
return $this->inline;
}
/**
* @param bool
*/
public function setIsPotentialRetry($isPotentialRetry)
{
$this->isPotentialRetry = $isPotentialRetry;
}
/**
* @return bool
*/
public function getIsPotentialRetry()
{
return $this->isPotentialRetry;
}
/**
* @param string
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return string
*/
public function getLength()
{
return $this->length;
}
/**
* @param string
*/
public function setMd5Hash($md5Hash)
{
$this->md5Hash = $md5Hash;
}
/**
* @return string
*/
public function getMd5Hash()
{
return $this->md5Hash;
}
/**
* @param string
*/
public function setMediaId($mediaId)
{
$this->mediaId = $mediaId;
}
/**
* @return string
*/
public function getMediaId()
{
return $this->mediaId;
}
/**
* @param GdataObjectId
*/
public function setObjectId(GdataObjectId $objectId)
{
$this->objectId = $objectId;
}
/**
* @return GdataObjectId
*/
public function getObjectId()
{
return $this->objectId;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param string
*/
public function setReferenceType($referenceType)
{
$this->referenceType = $referenceType;
}
/**
* @return string
*/
public function getReferenceType()
{
return $this->referenceType;
}
/**
* @param string
*/
public function setSha1Hash($sha1Hash)
{
$this->sha1Hash = $sha1Hash;
}
/**
* @return string
*/
public function getSha1Hash()
{
return $this->sha1Hash;
}
/**
* @param string
*/
public function setSha256Hash($sha256Hash)
{
$this->sha256Hash = $sha256Hash;
}
/**
* @return string
*/
public function getSha256Hash()
{
return $this->sha256Hash;
}
/**
* @param string
*/
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
/**
* @return string
*/
public function getTimestamp()
{
return $this->timestamp;
}
/**
* @param string
*/
public function setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GdataMedia::class, 'Google_Service_FirebaseAppDistribution_GdataMedia');

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\FirebaseAppDistribution;
class GdataObjectId extends \Google\Model
{
/**
* @var string
*/
public $bucketName;
/**
* @var string
*/
public $generation;
/**
* @var string
*/
public $objectName;
/**
* @param string
*/
public function setBucketName($bucketName)
{
$this->bucketName = $bucketName;
}
/**
* @return string
*/
public function getBucketName()
{
return $this->bucketName;
}
/**
* @param string
*/
public function setGeneration($generation)
{
$this->generation = $generation;
}
/**
* @return string
*/
public function getGeneration()
{
return $this->generation;
}
/**
* @param string
*/
public function setObjectName($objectName)
{
$this->objectName = $objectName;
}
/**
* @return string
*/
public function getObjectName()
{
return $this->objectName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GdataObjectId::class, 'Google_Service_FirebaseAppDistribution_GdataObjectId');

View File

@@ -0,0 +1,78 @@
<?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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1AabInfo extends \Google\Model
{
/**
* @var string
*/
public $integrationState;
/**
* @var string
*/
public $name;
protected $testCertificateType = GoogleFirebaseAppdistroV1TestCertificate::class;
protected $testCertificateDataType = '';
/**
* @param string
*/
public function setIntegrationState($integrationState)
{
$this->integrationState = $integrationState;
}
/**
* @return string
*/
public function getIntegrationState()
{
return $this->integrationState;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleFirebaseAppdistroV1TestCertificate
*/
public function setTestCertificate(GoogleFirebaseAppdistroV1TestCertificate $testCertificate)
{
$this->testCertificate = $testCertificate;
}
/**
* @return GoogleFirebaseAppdistroV1TestCertificate
*/
public function getTestCertificate()
{
return $this->testCertificate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1AabInfo::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1AabInfo');

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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1BatchAddTestersRequest extends \Google\Collection
{
protected $collection_key = 'emails';
/**
* @var string[]
*/
public $emails;
/**
* @param string[]
*/
public function setEmails($emails)
{
$this->emails = $emails;
}
/**
* @return string[]
*/
public function getEmails()
{
return $this->emails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1BatchAddTestersRequest::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1BatchAddTestersRequest');

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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1BatchAddTestersResponse extends \Google\Collection
{
protected $collection_key = 'testers';
protected $testersType = GoogleFirebaseAppdistroV1Tester::class;
protected $testersDataType = 'array';
/**
* @param GoogleFirebaseAppdistroV1Tester[]
*/
public function setTesters($testers)
{
$this->testers = $testers;
}
/**
* @return GoogleFirebaseAppdistroV1Tester[]
*/
public function getTesters()
{
return $this->testers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1BatchAddTestersResponse::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1BatchAddTestersResponse');

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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest extends \Google\Collection
{
protected $collection_key = 'names';
/**
* @var string[]
*/
public $names;
/**
* @param string[]
*/
public function setNames($names)
{
$this->names = $names;
}
/**
* @return string[]
*/
public function getNames()
{
return $this->names;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest');

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.
*/
namespace Google\Service\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1BatchJoinGroupRequest extends \Google\Collection
{
protected $collection_key = 'emails';
/**
* @var bool
*/
public $createMissingTesters;
/**
* @var string[]
*/
public $emails;
/**
* @param bool
*/
public function setCreateMissingTesters($createMissingTesters)
{
$this->createMissingTesters = $createMissingTesters;
}
/**
* @return bool
*/
public function getCreateMissingTesters()
{
return $this->createMissingTesters;
}
/**
* @param string[]
*/
public function setEmails($emails)
{
$this->emails = $emails;
}
/**
* @return string[]
*/
public function getEmails()
{
return $this->emails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1BatchJoinGroupRequest::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1BatchJoinGroupRequest');

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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1BatchLeaveGroupRequest extends \Google\Collection
{
protected $collection_key = 'emails';
/**
* @var string[]
*/
public $emails;
/**
* @param string[]
*/
public function setEmails($emails)
{
$this->emails = $emails;
}
/**
* @return string[]
*/
public function getEmails()
{
return $this->emails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1BatchLeaveGroupRequest::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1BatchLeaveGroupRequest');

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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1BatchRemoveTestersRequest extends \Google\Collection
{
protected $collection_key = 'emails';
/**
* @var string[]
*/
public $emails;
/**
* @param string[]
*/
public function setEmails($emails)
{
$this->emails = $emails;
}
/**
* @return string[]
*/
public function getEmails()
{
return $this->emails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1BatchRemoveTestersRequest::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1BatchRemoveTestersRequest');

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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1BatchRemoveTestersResponse extends \Google\Collection
{
protected $collection_key = 'emails';
/**
* @var string[]
*/
public $emails;
/**
* @param string[]
*/
public function setEmails($emails)
{
$this->emails = $emails;
}
/**
* @return string[]
*/
public function getEmails()
{
return $this->emails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1BatchRemoveTestersResponse::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1BatchRemoveTestersResponse');

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.
*/
namespace Google\Service\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1DistributeReleaseRequest extends \Google\Collection
{
protected $collection_key = 'testerEmails';
/**
* @var string[]
*/
public $groupAliases;
/**
* @var string[]
*/
public $testerEmails;
/**
* @param string[]
*/
public function setGroupAliases($groupAliases)
{
$this->groupAliases = $groupAliases;
}
/**
* @return string[]
*/
public function getGroupAliases()
{
return $this->groupAliases;
}
/**
* @param string[]
*/
public function setTesterEmails($testerEmails)
{
$this->testerEmails = $testerEmails;
}
/**
* @return string[]
*/
public function getTesterEmails()
{
return $this->testerEmails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1DistributeReleaseRequest::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1DistributeReleaseRequest');

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

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1FeedbackReport extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $firebaseConsoleUri;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $screenshotUri;
/**
* @var string
*/
public $tester;
/**
* @var string
*/
public $text;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setFirebaseConsoleUri($firebaseConsoleUri)
{
$this->firebaseConsoleUri = $firebaseConsoleUri;
}
/**
* @return string
*/
public function getFirebaseConsoleUri()
{
return $this->firebaseConsoleUri;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setScreenshotUri($screenshotUri)
{
$this->screenshotUri = $screenshotUri;
}
/**
* @return string
*/
public function getScreenshotUri()
{
return $this->screenshotUri;
}
/**
* @param string
*/
public function setTester($tester)
{
$this->tester = $tester;
}
/**
* @return string
*/
public function getTester()
{
return $this->tester;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1FeedbackReport::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1FeedbackReport');

View File

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

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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1ListFeedbackReportsResponse extends \Google\Collection
{
protected $collection_key = 'feedbackReports';
protected $feedbackReportsType = GoogleFirebaseAppdistroV1FeedbackReport::class;
protected $feedbackReportsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleFirebaseAppdistroV1FeedbackReport[]
*/
public function setFeedbackReports($feedbackReports)
{
$this->feedbackReports = $feedbackReports;
}
/**
* @return GoogleFirebaseAppdistroV1FeedbackReport[]
*/
public function getFeedbackReports()
{
return $this->feedbackReports;
}
/**
* @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(GoogleFirebaseAppdistroV1ListFeedbackReportsResponse::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1ListFeedbackReportsResponse');

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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1ListGroupsResponse extends \Google\Collection
{
protected $collection_key = 'groups';
protected $groupsType = GoogleFirebaseAppdistroV1Group::class;
protected $groupsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleFirebaseAppdistroV1Group[]
*/
public function setGroups($groups)
{
$this->groups = $groups;
}
/**
* @return GoogleFirebaseAppdistroV1Group[]
*/
public function getGroups()
{
return $this->groups;
}
/**
* @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(GoogleFirebaseAppdistroV1ListGroupsResponse::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1ListGroupsResponse');

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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1ListReleasesResponse extends \Google\Collection
{
protected $collection_key = 'releases';
/**
* @var string
*/
public $nextPageToken;
protected $releasesType = GoogleFirebaseAppdistroV1Release::class;
protected $releasesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleFirebaseAppdistroV1Release[]
*/
public function setReleases($releases)
{
$this->releases = $releases;
}
/**
* @return GoogleFirebaseAppdistroV1Release[]
*/
public function getReleases()
{
return $this->releases;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1ListReleasesResponse::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1ListReleasesResponse');

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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1ListTestersResponse extends \Google\Collection
{
protected $collection_key = 'testers';
/**
* @var string
*/
public $nextPageToken;
protected $testersType = GoogleFirebaseAppdistroV1Tester::class;
protected $testersDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleFirebaseAppdistroV1Tester[]
*/
public function setTesters($testers)
{
$this->testers = $testers;
}
/**
* @return GoogleFirebaseAppdistroV1Tester[]
*/
public function getTesters()
{
return $this->testers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1ListTestersResponse::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1ListTestersResponse');

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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1Release extends \Google\Model
{
/**
* @var string
*/
public $binaryDownloadUri;
/**
* @var string
*/
public $buildVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayVersion;
/**
* @var string
*/
public $firebaseConsoleUri;
/**
* @var string
*/
public $name;
protected $releaseNotesType = GoogleFirebaseAppdistroV1ReleaseNotes::class;
protected $releaseNotesDataType = '';
/**
* @var string
*/
public $testingUri;
/**
* @param string
*/
public function setBinaryDownloadUri($binaryDownloadUri)
{
$this->binaryDownloadUri = $binaryDownloadUri;
}
/**
* @return string
*/
public function getBinaryDownloadUri()
{
return $this->binaryDownloadUri;
}
/**
* @param string
*/
public function setBuildVersion($buildVersion)
{
$this->buildVersion = $buildVersion;
}
/**
* @return string
*/
public function getBuildVersion()
{
return $this->buildVersion;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayVersion($displayVersion)
{
$this->displayVersion = $displayVersion;
}
/**
* @return string
*/
public function getDisplayVersion()
{
return $this->displayVersion;
}
/**
* @param string
*/
public function setFirebaseConsoleUri($firebaseConsoleUri)
{
$this->firebaseConsoleUri = $firebaseConsoleUri;
}
/**
* @return string
*/
public function getFirebaseConsoleUri()
{
return $this->firebaseConsoleUri;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleFirebaseAppdistroV1ReleaseNotes
*/
public function setReleaseNotes(GoogleFirebaseAppdistroV1ReleaseNotes $releaseNotes)
{
$this->releaseNotes = $releaseNotes;
}
/**
* @return GoogleFirebaseAppdistroV1ReleaseNotes
*/
public function getReleaseNotes()
{
return $this->releaseNotes;
}
/**
* @param string
*/
public function setTestingUri($testingUri)
{
$this->testingUri = $testingUri;
}
/**
* @return string
*/
public function getTestingUri()
{
return $this->testingUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1Release::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1Release');

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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1ReleaseNotes extends \Google\Model
{
/**
* @var string
*/
public $text;
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1ReleaseNotes::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1ReleaseNotes');

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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1TestCertificate extends \Google\Model
{
/**
* @var string
*/
public $hashMd5;
/**
* @var string
*/
public $hashSha1;
/**
* @var string
*/
public $hashSha256;
/**
* @param string
*/
public function setHashMd5($hashMd5)
{
$this->hashMd5 = $hashMd5;
}
/**
* @return string
*/
public function getHashMd5()
{
return $this->hashMd5;
}
/**
* @param string
*/
public function setHashSha1($hashSha1)
{
$this->hashSha1 = $hashSha1;
}
/**
* @return string
*/
public function getHashSha1()
{
return $this->hashSha1;
}
/**
* @param string
*/
public function setHashSha256($hashSha256)
{
$this->hashSha256 = $hashSha256;
}
/**
* @return string
*/
public function getHashSha256()
{
return $this->hashSha256;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1TestCertificate::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1TestCertificate');

View File

@@ -0,0 +1,99 @@
<?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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1Tester extends \Google\Collection
{
protected $collection_key = 'groups';
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $groups;
/**
* @var string
*/
public $lastActivityTime;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setGroups($groups)
{
$this->groups = $groups;
}
/**
* @return string[]
*/
public function getGroups()
{
return $this->groups;
}
/**
* @param string
*/
public function setLastActivityTime($lastActivityTime)
{
$this->lastActivityTime = $lastActivityTime;
}
/**
* @return string
*/
public function getLastActivityTime()
{
return $this->lastActivityTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1Tester::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1Tester');

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

View File

@@ -0,0 +1,42 @@
<?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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1UploadReleaseRequest extends \Google\Model
{
protected $blobType = GdataMedia::class;
protected $blobDataType = '';
/**
* @param GdataMedia
*/
public function setBlob(GdataMedia $blob)
{
$this->blob = $blob;
}
/**
* @return GdataMedia
*/
public function getBlob()
{
return $this->blob;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1UploadReleaseRequest::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1UploadReleaseRequest');

View File

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

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

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\FirebaseAppDistribution;
class GoogleFirebaseAppdistroV1alphaTestReleaseResponse extends \Google\Model
{
/**
* @var string
*/
public $testMatrix;
/**
* @param string
*/
public function setTestMatrix($testMatrix)
{
$this->testMatrix = $testMatrix;
}
/**
* @return string
*/
public function getTestMatrix()
{
return $this->testMatrix;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppdistroV1alphaTestReleaseResponse::class, 'Google_Service_FirebaseAppDistribution_GoogleFirebaseAppdistroV1alphaTestReleaseResponse');

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

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

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\FirebaseAppDistribution;
class GoogleLongrunningOperation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = GoogleRpcStatus::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 GoogleRpcStatus
*/
public function setError(GoogleRpcStatus $error)
{
$this->error = $error;
}
/**
* @return GoogleRpcStatus
*/
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(GoogleLongrunningOperation::class, 'Google_Service_FirebaseAppDistribution_GoogleLongrunningOperation');

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\FirebaseAppDistribution;
class GoogleLongrunningWaitOperationRequest extends \Google\Model
{
/**
* @var string
*/
public $timeout;
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleLongrunningWaitOperationRequest::class, 'Google_Service_FirebaseAppDistribution_GoogleLongrunningWaitOperationRequest');

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

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\FirebaseAppDistribution;
class GoogleRpcStatus 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(GoogleRpcStatus::class, 'Google_Service_FirebaseAppDistribution_GoogleRpcStatus');

View File

@@ -0,0 +1,54 @@
<?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\FirebaseAppDistribution\Resource;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1UploadReleaseRequest;
use Google\Service\FirebaseAppDistribution\GoogleLongrunningOperation;
/**
* The "media" collection of methods.
* Typical usage is:
* <code>
* $firebaseappdistributionService = new Google\Service\FirebaseAppDistribution(...);
* $media = $firebaseappdistributionService->media;
* </code>
*/
class Media extends \Google\Service\Resource
{
/**
* Uploads a binary. Uploading a binary can result in a new release being
* created, an update to an existing release, or a no-op if a release with the
* same binary already exists. (media.upload)
*
* @param string $app The name of the app resource. Format:
* `projects/{project_number}/apps/{app_id}`
* @param GoogleFirebaseAppdistroV1UploadReleaseRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function upload($app, GoogleFirebaseAppdistroV1UploadReleaseRequest $postBody, $optParams = [])
{
$params = ['app' => $app, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('upload', [$params], GoogleLongrunningOperation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Media::class, 'Google_Service_FirebaseAppDistribution_Resource_Media');

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\FirebaseAppDistribution\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $firebaseappdistributionService = new Google\Service\FirebaseAppDistribution(...);
* $projects = $firebaseappdistributionService->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_FirebaseAppDistribution_Resource_Projects');

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\FirebaseAppDistribution\Resource;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1AabInfo;
/**
* The "apps" collection of methods.
* Typical usage is:
* <code>
* $firebaseappdistributionService = new Google\Service\FirebaseAppDistribution(...);
* $apps = $firebaseappdistributionService->projects_apps;
* </code>
*/
class ProjectsApps extends \Google\Service\Resource
{
/**
* Gets Android App Bundle (AAB) information for a Firebase app.
* (apps.getAabInfo)
*
* @param string $name Required. The name of the `AabInfo` resource to retrieve.
* Format: `projects/{project_number}/apps/{app_id}/aabInfo`
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppdistroV1AabInfo
* @throws \Google\Service\Exception
*/
public function getAabInfo($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getAabInfo', [$params], GoogleFirebaseAppdistroV1AabInfo::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsApps::class, 'Google_Service_FirebaseAppDistribution_Resource_ProjectsApps');

View File

@@ -0,0 +1,149 @@
<?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\FirebaseAppDistribution\Resource;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1DistributeReleaseRequest;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1DistributeReleaseResponse;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1ListReleasesResponse;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1Release;
use Google\Service\FirebaseAppDistribution\GoogleProtobufEmpty;
/**
* The "releases" collection of methods.
* Typical usage is:
* <code>
* $firebaseappdistributionService = new Google\Service\FirebaseAppDistribution(...);
* $releases = $firebaseappdistributionService->projects_apps_releases;
* </code>
*/
class ProjectsAppsReleases extends \Google\Service\Resource
{
/**
* Deletes releases. A maximum of 100 releases can be deleted per request.
* (releases.batchDelete)
*
* @param string $parent Required. The name of the app resource, which is the
* parent of the release resources. Format:
* `projects/{project_number}/apps/{app_id}`
* @param GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function batchDelete($parent, GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchDelete', [$params], GoogleProtobufEmpty::class);
}
/**
* Distributes a release to testers. This call does the following: 1. Creates
* testers for the specified emails, if none exist. 2. Adds the testers and
* groups to the release. 3. Sends new testers an invitation email. 4. Sends
* existing testers a new release email. The request will fail with a
* `INVALID_ARGUMENT` if it contains a group that doesn't exist.
* (releases.distribute)
*
* @param string $name Required. The name of the release resource to distribute.
* Format: `projects/{project_number}/apps/{app_id}/releases/{release_id}`
* @param GoogleFirebaseAppdistroV1DistributeReleaseRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppdistroV1DistributeReleaseResponse
* @throws \Google\Service\Exception
*/
public function distribute($name, GoogleFirebaseAppdistroV1DistributeReleaseRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('distribute', [$params], GoogleFirebaseAppdistroV1DistributeReleaseResponse::class);
}
/**
* Gets a release. (releases.get)
*
* @param string $name Required. The name of the release resource to retrieve.
* Format: projects/{project_number}/apps/{app_id}/releases/{release_id}
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppdistroV1Release
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleFirebaseAppdistroV1Release::class);
}
/**
* Lists releases. By default, sorts by `createTime` in descending order.
* (releases.listProjectsAppsReleases)
*
* @param string $parent Required. The name of the app resource, which is the
* parent of the release resources. Format:
* `projects/{project_number}/apps/{app_id}`
* @param array $optParams Optional parameters.
*
* @opt_param string filter The expression to filter releases listed in the
* response. To learn more about filtering, refer to [Google's AIP-160
* standard](http://aip.dev/160). Supported fields: - `releaseNotes.text`
* supports `=` (can contain a wildcard character (`*`) at the beginning or end
* of the string) - `createTime` supports `<`, `<=`, `>` and `>=`, and expects
* an RFC-3339 formatted string Examples: - `createTime <=
* "2021-09-08T00:00:00+04:00"` - `releaseNotes.text="fixes" AND createTime >=
* "2021-09-08T00:00:00.0Z"` - `releaseNotes.text="*v1.0.0-rc*"`
* @opt_param string orderBy The fields used to order releases. Supported
* fields: - `createTime` To specify descending order for a field, append a
* "desc" suffix, for example, `createTime desc`. If this parameter is not set,
* releases are ordered by `createTime` in descending order.
* @opt_param int pageSize The maximum number of releases to return. The service
* may return fewer than this value. The valid range is [1-100]; If unspecified
* (0), at most 25 releases are returned. Values above 100 are coerced to 100.
* @opt_param string pageToken A page token, received from a previous
* `ListReleases` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListReleases` must match the
* call that provided the page token.
* @return GoogleFirebaseAppdistroV1ListReleasesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsAppsReleases($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleFirebaseAppdistroV1ListReleasesResponse::class);
}
/**
* Updates a release. (releases.patch)
*
* @param string $name The name of the release resource. Format:
* `projects/{project_number}/apps/{app_id}/releases/{release_id}`
* @param GoogleFirebaseAppdistroV1Release $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The list of fields to update.
* @return GoogleFirebaseAppdistroV1Release
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleFirebaseAppdistroV1Release $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleFirebaseAppdistroV1Release::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAppsReleases::class, 'Google_Service_FirebaseAppDistribution_Resource_ProjectsAppsReleases');

View File

@@ -0,0 +1,95 @@
<?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\FirebaseAppDistribution\Resource;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1FeedbackReport;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1ListFeedbackReportsResponse;
use Google\Service\FirebaseAppDistribution\GoogleProtobufEmpty;
/**
* The "feedbackReports" collection of methods.
* Typical usage is:
* <code>
* $firebaseappdistributionService = new Google\Service\FirebaseAppDistribution(...);
* $feedbackReports = $firebaseappdistributionService->projects_apps_releases_feedbackReports;
* </code>
*/
class ProjectsAppsReleasesFeedbackReports extends \Google\Service\Resource
{
/**
* Deletes a feedback report. (feedbackReports.delete)
*
* @param string $name Required. The name of the feedback report to delete.
* Format: projects/{project_number}/apps/{app}/releases/{release}/feedbackRepor
* ts/{feedback_report}
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Gets a feedback report. (feedbackReports.get)
*
* @param string $name Required. The name of the feedback report to retrieve.
* Format: projects/{project_number}/apps/{app}/releases/{release}/feedbackRepor
* ts/{feedback_report}
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppdistroV1FeedbackReport
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleFirebaseAppdistroV1FeedbackReport::class);
}
/**
* Lists feedback reports. By default, sorts by `createTime` in descending
* order. (feedbackReports.listProjectsAppsReleasesFeedbackReports)
*
* @param string $parent Required. The name of the release resource, which is
* the parent of the feedback report resources. Format:
* `projects/{project_number}/apps/{app}/releases/{release}`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of feedback reports to return. The
* service may return fewer than this value. The valid range is [1-100]; If
* unspecified (0), at most 25 feedback reports are returned. Values above 100
* are coerced to 100.
* @opt_param string pageToken A page token, received from a previous
* `ListFeedbackReports` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListFeedbackReports` must
* match the call that provided the page token.
* @return GoogleFirebaseAppdistroV1ListFeedbackReportsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsAppsReleasesFeedbackReports($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleFirebaseAppdistroV1ListFeedbackReportsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAppsReleasesFeedbackReports::class, 'Google_Service_FirebaseAppDistribution_Resource_ProjectsAppsReleasesFeedbackReports');

View File

@@ -0,0 +1,138 @@
<?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\FirebaseAppDistribution\Resource;
use Google\Service\FirebaseAppDistribution\GoogleLongrunningCancelOperationRequest;
use Google\Service\FirebaseAppDistribution\GoogleLongrunningListOperationsResponse;
use Google\Service\FirebaseAppDistribution\GoogleLongrunningOperation;
use Google\Service\FirebaseAppDistribution\GoogleLongrunningWaitOperationRequest;
use Google\Service\FirebaseAppDistribution\GoogleProtobufEmpty;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $firebaseappdistributionService = new Google\Service\FirebaseAppDistribution(...);
* $operations = $firebaseappdistributionService->projects_apps_releases_operations;
* </code>
*/
class ProjectsAppsReleasesOperations 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 GoogleLongrunningCancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, GoogleLongrunningCancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], GoogleProtobufEmpty::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 GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Gets the 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 GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleLongrunningOperation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsAppsReleasesOperations)
*
* @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 GoogleLongrunningListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsAppsReleasesOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleLongrunningListOperationsResponse::class);
}
/**
* Waits until the specified long-running operation is done or reaches at most a
* specified timeout, returning the latest state. If the operation is already
* done, the latest state is immediately returned. If the timeout specified is
* greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
* the server does not support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort
* basis. It may return the latest state before the specified timeout (including
* immediately), meaning even an immediate response is no guarantee that the
* operation is done. (operations.wait)
*
* @param string $name The name of the operation resource to wait on.
* @param GoogleLongrunningWaitOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleLongrunningOperation
* @throws \Google\Service\Exception
*/
public function wait($name, GoogleLongrunningWaitOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('wait', [$params], GoogleLongrunningOperation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAppsReleasesOperations::class, 'Google_Service_FirebaseAppDistribution_Resource_ProjectsAppsReleasesOperations');

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\FirebaseAppDistribution\Resource;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1BatchJoinGroupRequest;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1BatchLeaveGroupRequest;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1Group;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1ListGroupsResponse;
use Google\Service\FirebaseAppDistribution\GoogleProtobufEmpty;
/**
* The "groups" collection of methods.
* Typical usage is:
* <code>
* $firebaseappdistributionService = new Google\Service\FirebaseAppDistribution(...);
* $groups = $firebaseappdistributionService->projects_groups;
* </code>
*/
class ProjectsGroups extends \Google\Service\Resource
{
/**
* Batch adds members to a group. The testers will gain access to all releases
* that the groups have access to. (groups.batchJoin)
*
* @param string $group Required. The name of the group resource to which
* testers are added. Format: `projects/{project_number}/groups/{group_alias}`
* @param GoogleFirebaseAppdistroV1BatchJoinGroupRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function batchJoin($group, GoogleFirebaseAppdistroV1BatchJoinGroupRequest $postBody, $optParams = [])
{
$params = ['group' => $group, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchJoin', [$params], GoogleProtobufEmpty::class);
}
/**
* Batch removed members from a group. The testers will lose access to all
* releases that the groups have access to. (groups.batchLeave)
*
* @param string $group Required. The name of the group resource from which
* testers are removed. Format: `projects/{project_number}/groups/{group_alias}`
* @param GoogleFirebaseAppdistroV1BatchLeaveGroupRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function batchLeave($group, GoogleFirebaseAppdistroV1BatchLeaveGroupRequest $postBody, $optParams = [])
{
$params = ['group' => $group, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchLeave', [$params], GoogleProtobufEmpty::class);
}
/**
* Create a group. (groups.create)
*
* @param string $parent Required. The name of the project resource, which is
* the parent of the group resource. Format: `projects/{project_number}`
* @param GoogleFirebaseAppdistroV1Group $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string groupId Optional. The "alias" to use for the group, which
* will become the final component of the group's resource name. This value must
* be unique per project. The field is named `groupId` to comply with AIP
* guidance for user-specified IDs. This value should be 4-63 characters, and
* valid characters are `/a-z-/`. If not set, it will be generated based on the
* display name.
* @return GoogleFirebaseAppdistroV1Group
* @throws \Google\Service\Exception
*/
public function create($parent, GoogleFirebaseAppdistroV1Group $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleFirebaseAppdistroV1Group::class);
}
/**
* Delete a group. (groups.delete)
*
* @param string $name Required. The name of the group resource. Format:
* `projects/{project_number}/groups/{group_alias}`
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GoogleProtobufEmpty::class);
}
/**
* Get a group. (groups.get)
*
* @param string $name Required. The name of the group resource to retrieve.
* Format: `projects/{project_number}/groups/{group_alias}`
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppdistroV1Group
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleFirebaseAppdistroV1Group::class);
}
/**
* List groups. (groups.listProjectsGroups)
*
* @param string $parent Required. The name of the project resource, which is
* the parent of the group resources. Format: `projects/{project_number}`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of groups to return. The
* service may return fewer than this value. The valid range is [1-1000]; If
* unspecified (0), at most 25 groups are returned. Values above 1000 are
* coerced to 1000.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListGroups` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListGroups` must match the call
* that provided the page token.
* @return GoogleFirebaseAppdistroV1ListGroupsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsGroups($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleFirebaseAppdistroV1ListGroupsResponse::class);
}
/**
* Update a group. (groups.patch)
*
* @param string $name The name of the group resource. Format:
* `projects/{project_number}/groups/{group_alias}`
* @param GoogleFirebaseAppdistroV1Group $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The list of fields to update.
* @return GoogleFirebaseAppdistroV1Group
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleFirebaseAppdistroV1Group $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleFirebaseAppdistroV1Group::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsGroups::class, 'Google_Service_FirebaseAppDistribution_Resource_ProjectsGroups');

View File

@@ -0,0 +1,124 @@
<?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\FirebaseAppDistribution\Resource;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1BatchAddTestersRequest;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1BatchAddTestersResponse;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1BatchRemoveTestersRequest;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1BatchRemoveTestersResponse;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1ListTestersResponse;
use Google\Service\FirebaseAppDistribution\GoogleFirebaseAppdistroV1Tester;
/**
* The "testers" collection of methods.
* Typical usage is:
* <code>
* $firebaseappdistributionService = new Google\Service\FirebaseAppDistribution(...);
* $testers = $firebaseappdistributionService->projects_testers;
* </code>
*/
class ProjectsTesters extends \Google\Service\Resource
{
/**
* Batch adds testers. This call adds testers for the specified emails if they
* don't already exist. Returns all testers specified in the request, including
* newly created and previously existing testers. This action is idempotent.
* (testers.batchAdd)
*
* @param string $project Required. The name of the project resource. Format:
* `projects/{project_number}`
* @param GoogleFirebaseAppdistroV1BatchAddTestersRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppdistroV1BatchAddTestersResponse
* @throws \Google\Service\Exception
*/
public function batchAdd($project, GoogleFirebaseAppdistroV1BatchAddTestersRequest $postBody, $optParams = [])
{
$params = ['project' => $project, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchAdd', [$params], GoogleFirebaseAppdistroV1BatchAddTestersResponse::class);
}
/**
* Batch removes testers. If found, this call deletes testers for the specified
* emails. Returns all deleted testers. (testers.batchRemove)
*
* @param string $project Required. The name of the project resource. Format:
* `projects/{project_number}`
* @param GoogleFirebaseAppdistroV1BatchRemoveTestersRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleFirebaseAppdistroV1BatchRemoveTestersResponse
* @throws \Google\Service\Exception
*/
public function batchRemove($project, GoogleFirebaseAppdistroV1BatchRemoveTestersRequest $postBody, $optParams = [])
{
$params = ['project' => $project, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchRemove', [$params], GoogleFirebaseAppdistroV1BatchRemoveTestersResponse::class);
}
/**
* Lists testers and their resource ids. (testers.listProjectsTesters)
*
* @param string $parent Required. The name of the project resource, which is
* the parent of the tester resources. Format: `projects/{project_number}`
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. The expression to filter testers listed in
* the response. To learn more about filtering, refer to [Google's AIP-160
* standard](http://aip.dev/160). Supported fields: - `name` - `displayName` -
* `groups` Example: - `name = "projects/-/testers@example.com"` - `displayName
* = "Joe Sixpack"` - `groups = "projects/groups/qa-team"`
* @opt_param int pageSize Optional. The maximum number of testers to return.
* The service may return fewer than this value. The valid range is [1-1000]; If
* unspecified (0), at most 10 testers are returned. Values above 1000 are
* coerced to 1000.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListTesters` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListTesters` must match the
* call that provided the page token.
* @return GoogleFirebaseAppdistroV1ListTestersResponse
* @throws \Google\Service\Exception
*/
public function listProjectsTesters($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleFirebaseAppdistroV1ListTestersResponse::class);
}
/**
* Update a tester. If the testers joins a group they gain access to all
* releases that the group has access to. (testers.patch)
*
* @param string $name The name of the tester resource. Format:
* `projects/{project_number}/testers/{email_address}`
* @param GoogleFirebaseAppdistroV1Tester $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The list of fields to update.
* @return GoogleFirebaseAppdistroV1Tester
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleFirebaseAppdistroV1Tester $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleFirebaseAppdistroV1Tester::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsTesters::class, 'Google_Service_FirebaseAppDistribution_Resource_ProjectsTesters');