gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,180 @@
<?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\YouTubeReporting;
class GdataBlobstore2Info extends \Google\Model
{
/**
* gdata
*
* @var string
*/
public $blobGeneration;
/**
* gdata
*
* @var string
*/
public $blobId;
/**
* gdata
*
* @var string
*/
public $downloadExternalReadToken;
/**
* gdata
*
* @var string
*/
public $downloadReadHandle;
/**
* gdata
*
* @var string
*/
public $readToken;
/**
* gdata
*
* @var string
*/
public $uploadFragmentListCreationInfo;
/**
* gdata
*
* @var string
*/
public $uploadMetadataContainer;
/**
* gdata
*
* @param string $blobGeneration
*/
public function setBlobGeneration($blobGeneration)
{
$this->blobGeneration = $blobGeneration;
}
/**
* @return string
*/
public function getBlobGeneration()
{
return $this->blobGeneration;
}
/**
* gdata
*
* @param string $blobId
*/
public function setBlobId($blobId)
{
$this->blobId = $blobId;
}
/**
* @return string
*/
public function getBlobId()
{
return $this->blobId;
}
/**
* gdata
*
* @param string $downloadExternalReadToken
*/
public function setDownloadExternalReadToken($downloadExternalReadToken)
{
$this->downloadExternalReadToken = $downloadExternalReadToken;
}
/**
* @return string
*/
public function getDownloadExternalReadToken()
{
return $this->downloadExternalReadToken;
}
/**
* gdata
*
* @param string $downloadReadHandle
*/
public function setDownloadReadHandle($downloadReadHandle)
{
$this->downloadReadHandle = $downloadReadHandle;
}
/**
* @return string
*/
public function getDownloadReadHandle()
{
return $this->downloadReadHandle;
}
/**
* gdata
*
* @param string $readToken
*/
public function setReadToken($readToken)
{
$this->readToken = $readToken;
}
/**
* @return string
*/
public function getReadToken()
{
return $this->readToken;
}
/**
* gdata
*
* @param string $uploadFragmentListCreationInfo
*/
public function setUploadFragmentListCreationInfo($uploadFragmentListCreationInfo)
{
$this->uploadFragmentListCreationInfo = $uploadFragmentListCreationInfo;
}
/**
* @return string
*/
public function getUploadFragmentListCreationInfo()
{
return $this->uploadFragmentListCreationInfo;
}
/**
* gdata
*
* @param string $uploadMetadataContainer
*/
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_YouTubeReporting_GdataBlobstore2Info');
@@ -0,0 +1,286 @@
<?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\YouTubeReporting;
class GdataCompositeMedia extends \Google\Model
{
/**
* gdata
*/
public const REFERENCE_TYPE_PATH = 'PATH';
/**
* gdata
*/
public const REFERENCE_TYPE_BLOB_REF = 'BLOB_REF';
/**
* gdata
*/
public const REFERENCE_TYPE_INLINE = 'INLINE';
/**
* gdata
*/
public const REFERENCE_TYPE_BIGSTORE_REF = 'BIGSTORE_REF';
/**
* gdata
*/
public const REFERENCE_TYPE_COSMO_BINARY_REFERENCE = 'COSMO_BINARY_REFERENCE';
/**
* gdata
*
* @deprecated
* @var string
*/
public $blobRef;
protected $blobstore2InfoType = GdataBlobstore2Info::class;
protected $blobstore2InfoDataType = '';
/**
* gdata
*
* @var string
*/
public $cosmoBinaryReference;
/**
* gdata
*
* @var string
*/
public $crc32cHash;
/**
* gdata
*
* @var string
*/
public $inline;
/**
* gdata
*
* @var string
*/
public $length;
/**
* gdata
*
* @var string
*/
public $md5Hash;
protected $objectIdType = GdataObjectId::class;
protected $objectIdDataType = '';
/**
* gdata
*
* @var string
*/
public $path;
/**
* gdata
*
* @var string
*/
public $referenceType;
/**
* gdata
*
* @var string
*/
public $sha1Hash;
/**
* gdata
*
* @deprecated
* @param string $blobRef
*/
public function setBlobRef($blobRef)
{
$this->blobRef = $blobRef;
}
/**
* @deprecated
* @return string
*/
public function getBlobRef()
{
return $this->blobRef;
}
/**
* gdata
*
* @param GdataBlobstore2Info $blobstore2Info
*/
public function setBlobstore2Info(GdataBlobstore2Info $blobstore2Info)
{
$this->blobstore2Info = $blobstore2Info;
}
/**
* @return GdataBlobstore2Info
*/
public function getBlobstore2Info()
{
return $this->blobstore2Info;
}
/**
* gdata
*
* @param string $cosmoBinaryReference
*/
public function setCosmoBinaryReference($cosmoBinaryReference)
{
$this->cosmoBinaryReference = $cosmoBinaryReference;
}
/**
* @return string
*/
public function getCosmoBinaryReference()
{
return $this->cosmoBinaryReference;
}
/**
* gdata
*
* @param string $crc32cHash
*/
public function setCrc32cHash($crc32cHash)
{
$this->crc32cHash = $crc32cHash;
}
/**
* @return string
*/
public function getCrc32cHash()
{
return $this->crc32cHash;
}
/**
* gdata
*
* @param string $inline
*/
public function setInline($inline)
{
$this->inline = $inline;
}
/**
* @return string
*/
public function getInline()
{
return $this->inline;
}
/**
* gdata
*
* @param string $length
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return string
*/
public function getLength()
{
return $this->length;
}
/**
* gdata
*
* @param string $md5Hash
*/
public function setMd5Hash($md5Hash)
{
$this->md5Hash = $md5Hash;
}
/**
* @return string
*/
public function getMd5Hash()
{
return $this->md5Hash;
}
/**
* gdata
*
* @param GdataObjectId $objectId
*/
public function setObjectId(GdataObjectId $objectId)
{
$this->objectId = $objectId;
}
/**
* @return GdataObjectId
*/
public function getObjectId()
{
return $this->objectId;
}
/**
* gdata
*
* @param string $path
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* gdata
*
* Accepted values: PATH, BLOB_REF, INLINE, BIGSTORE_REF,
* COSMO_BINARY_REFERENCE
*
* @param self::REFERENCE_TYPE_* $referenceType
*/
public function setReferenceType($referenceType)
{
$this->referenceType = $referenceType;
}
/**
* @return self::REFERENCE_TYPE_*
*/
public function getReferenceType()
{
return $this->referenceType;
}
/**
* gdata
*
* @param string $sha1Hash
*/
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_YouTubeReporting_GdataCompositeMedia');
@@ -0,0 +1,180 @@
<?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\YouTubeReporting;
class GdataContentTypeInfo extends \Google\Model
{
/**
* gdata
*
* @var string
*/
public $bestGuess;
/**
* gdata
*
* @var string
*/
public $fromBytes;
/**
* gdata
*
* @var string
*/
public $fromFileName;
/**
* gdata
*
* @var string
*/
public $fromFusionId;
/**
* gdata
*
* @var string
*/
public $fromHeader;
/**
* gdata
*
* @var string
*/
public $fromUrlPath;
/**
* gdata
*
* @var string
*/
public $fusionIdDetectionMetadata;
/**
* gdata
*
* @param string $bestGuess
*/
public function setBestGuess($bestGuess)
{
$this->bestGuess = $bestGuess;
}
/**
* @return string
*/
public function getBestGuess()
{
return $this->bestGuess;
}
/**
* gdata
*
* @param string $fromBytes
*/
public function setFromBytes($fromBytes)
{
$this->fromBytes = $fromBytes;
}
/**
* @return string
*/
public function getFromBytes()
{
return $this->fromBytes;
}
/**
* gdata
*
* @param string $fromFileName
*/
public function setFromFileName($fromFileName)
{
$this->fromFileName = $fromFileName;
}
/**
* @return string
*/
public function getFromFileName()
{
return $this->fromFileName;
}
/**
* gdata
*
* @param string $fromFusionId
*/
public function setFromFusionId($fromFusionId)
{
$this->fromFusionId = $fromFusionId;
}
/**
* @return string
*/
public function getFromFusionId()
{
return $this->fromFusionId;
}
/**
* gdata
*
* @param string $fromHeader
*/
public function setFromHeader($fromHeader)
{
$this->fromHeader = $fromHeader;
}
/**
* @return string
*/
public function getFromHeader()
{
return $this->fromHeader;
}
/**
* gdata
*
* @param string $fromUrlPath
*/
public function setFromUrlPath($fromUrlPath)
{
$this->fromUrlPath = $fromUrlPath;
}
/**
* @return string
*/
public function getFromUrlPath()
{
return $this->fromUrlPath;
}
/**
* gdata
*
* @param string $fusionIdDetectionMetadata
*/
public function setFusionIdDetectionMetadata($fusionIdDetectionMetadata)
{
$this->fusionIdDetectionMetadata = $fusionIdDetectionMetadata;
}
/**
* @return string
*/
public function getFusionIdDetectionMetadata()
{
return $this->fusionIdDetectionMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GdataContentTypeInfo::class, 'Google_Service_YouTubeReporting_GdataContentTypeInfo');
@@ -0,0 +1,128 @@
<?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\YouTubeReporting;
class GdataDiffChecksumsResponse extends \Google\Model
{
protected $checksumsLocationType = GdataCompositeMedia::class;
protected $checksumsLocationDataType = '';
/**
* gdata
*
* @var string
*/
public $chunkSizeBytes;
protected $objectLocationType = GdataCompositeMedia::class;
protected $objectLocationDataType = '';
/**
* gdata
*
* @var string
*/
public $objectSizeBytes;
/**
* gdata
*
* @var string
*/
public $objectVersion;
/**
* gdata
*
* @param GdataCompositeMedia $checksumsLocation
*/
public function setChecksumsLocation(GdataCompositeMedia $checksumsLocation)
{
$this->checksumsLocation = $checksumsLocation;
}
/**
* @return GdataCompositeMedia
*/
public function getChecksumsLocation()
{
return $this->checksumsLocation;
}
/**
* gdata
*
* @param string $chunkSizeBytes
*/
public function setChunkSizeBytes($chunkSizeBytes)
{
$this->chunkSizeBytes = $chunkSizeBytes;
}
/**
* @return string
*/
public function getChunkSizeBytes()
{
return $this->chunkSizeBytes;
}
/**
* gdata
*
* @param GdataCompositeMedia $objectLocation
*/
public function setObjectLocation(GdataCompositeMedia $objectLocation)
{
$this->objectLocation = $objectLocation;
}
/**
* @return GdataCompositeMedia
*/
public function getObjectLocation()
{
return $this->objectLocation;
}
/**
* gdata
*
* @param string $objectSizeBytes
*/
public function setObjectSizeBytes($objectSizeBytes)
{
$this->objectSizeBytes = $objectSizeBytes;
}
/**
* @return string
*/
public function getObjectSizeBytes()
{
return $this->objectSizeBytes;
}
/**
* gdata
*
* @param string $objectVersion
*/
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_YouTubeReporting_GdataDiffChecksumsResponse');
@@ -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\YouTubeReporting;
class GdataDiffDownloadResponse extends \Google\Model
{
protected $objectLocationType = GdataCompositeMedia::class;
protected $objectLocationDataType = '';
/**
* gdata
*
* @param GdataCompositeMedia $objectLocation
*/
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_YouTubeReporting_GdataDiffDownloadResponse');
@@ -0,0 +1,84 @@
<?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\YouTubeReporting;
class GdataDiffUploadRequest extends \Google\Model
{
protected $checksumsInfoType = GdataCompositeMedia::class;
protected $checksumsInfoDataType = '';
protected $objectInfoType = GdataCompositeMedia::class;
protected $objectInfoDataType = '';
/**
* gdata
*
* @var string
*/
public $objectVersion;
/**
* gdata
*
* @param GdataCompositeMedia $checksumsInfo
*/
public function setChecksumsInfo(GdataCompositeMedia $checksumsInfo)
{
$this->checksumsInfo = $checksumsInfo;
}
/**
* @return GdataCompositeMedia
*/
public function getChecksumsInfo()
{
return $this->checksumsInfo;
}
/**
* gdata
*
* @param GdataCompositeMedia $objectInfo
*/
public function setObjectInfo(GdataCompositeMedia $objectInfo)
{
$this->objectInfo = $objectInfo;
}
/**
* @return GdataCompositeMedia
*/
public function getObjectInfo()
{
return $this->objectInfo;
}
/**
* gdata
*
* @param string $objectVersion
*/
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_YouTubeReporting_GdataDiffUploadRequest');
@@ -0,0 +1,66 @@
<?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\YouTubeReporting;
class GdataDiffUploadResponse extends \Google\Model
{
/**
* gdata
*
* @var string
*/
public $objectVersion;
protected $originalObjectType = GdataCompositeMedia::class;
protected $originalObjectDataType = '';
/**
* gdata
*
* @param string $objectVersion
*/
public function setObjectVersion($objectVersion)
{
$this->objectVersion = $objectVersion;
}
/**
* @return string
*/
public function getObjectVersion()
{
return $this->objectVersion;
}
/**
* gdata
*
* @param GdataCompositeMedia $originalObject
*/
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_YouTubeReporting_GdataDiffUploadResponse');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\YouTubeReporting;
class GdataDiffVersionResponse extends \Google\Model
{
/**
* gdata
*
* @var string
*/
public $objectSizeBytes;
/**
* gdata
*
* @var string
*/
public $objectVersion;
/**
* gdata
*
* @param string $objectSizeBytes
*/
public function setObjectSizeBytes($objectSizeBytes)
{
$this->objectSizeBytes = $objectSizeBytes;
}
/**
* @return string
*/
public function getObjectSizeBytes()
{
return $this->objectSizeBytes;
}
/**
* gdata
*
* @param string $objectVersion
*/
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_YouTubeReporting_GdataDiffVersionResponse');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\YouTubeReporting;
class GdataDownloadParameters extends \Google\Model
{
/**
* gdata
*
* @var bool
*/
public $allowGzipCompression;
/**
* gdata
*
* @var bool
*/
public $ignoreRange;
/**
* gdata
*
* @param bool $allowGzipCompression
*/
public function setAllowGzipCompression($allowGzipCompression)
{
$this->allowGzipCompression = $allowGzipCompression;
}
/**
* @return bool
*/
public function getAllowGzipCompression()
{
return $this->allowGzipCompression;
}
/**
* gdata
*
* @param bool $ignoreRange
*/
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_YouTubeReporting_GdataDownloadParameters');
@@ -0,0 +1,738 @@
<?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\YouTubeReporting;
class GdataMedia extends \Google\Collection
{
/**
* gdata
*/
public const REFERENCE_TYPE_PATH = 'PATH';
/**
* gdata
*/
public const REFERENCE_TYPE_BLOB_REF = 'BLOB_REF';
/**
* gdata
*/
public const REFERENCE_TYPE_INLINE = 'INLINE';
/**
* gdata
*/
public const REFERENCE_TYPE_GET_MEDIA = 'GET_MEDIA';
/**
* gdata
*/
public const REFERENCE_TYPE_COMPOSITE_MEDIA = 'COMPOSITE_MEDIA';
/**
* gdata
*/
public const REFERENCE_TYPE_BIGSTORE_REF = 'BIGSTORE_REF';
/**
* gdata
*/
public const REFERENCE_TYPE_DIFF_VERSION_RESPONSE = 'DIFF_VERSION_RESPONSE';
/**
* gdata
*/
public const REFERENCE_TYPE_DIFF_CHECKSUMS_RESPONSE = 'DIFF_CHECKSUMS_RESPONSE';
/**
* gdata
*/
public const REFERENCE_TYPE_DIFF_DOWNLOAD_RESPONSE = 'DIFF_DOWNLOAD_RESPONSE';
/**
* gdata
*/
public const REFERENCE_TYPE_DIFF_UPLOAD_REQUEST = 'DIFF_UPLOAD_REQUEST';
/**
* gdata
*/
public const REFERENCE_TYPE_DIFF_UPLOAD_RESPONSE = 'DIFF_UPLOAD_RESPONSE';
/**
* gdata
*/
public const REFERENCE_TYPE_COSMO_BINARY_REFERENCE = 'COSMO_BINARY_REFERENCE';
/**
* gdata
*/
public const REFERENCE_TYPE_ARBITRARY_BYTES = 'ARBITRARY_BYTES';
protected $collection_key = 'compositeMedia';
/**
* gdata
*
* @deprecated
* @var string
*/
public $algorithm;
/**
* gdata
*
* @deprecated
* @var string
*/
public $bigstoreObjectRef;
/**
* gdata
*
* @deprecated
* @var string
*/
public $blobRef;
protected $blobstore2InfoType = GdataBlobstore2Info::class;
protected $blobstore2InfoDataType = '';
protected $compositeMediaType = GdataCompositeMedia::class;
protected $compositeMediaDataType = 'array';
/**
* gdata
*
* @var string
*/
public $contentType;
protected $contentTypeInfoType = GdataContentTypeInfo::class;
protected $contentTypeInfoDataType = '';
/**
* gdata
*
* @var string
*/
public $cosmoBinaryReference;
/**
* gdata
*
* @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 = '';
/**
* gdata
*
* @var string
*/
public $filename;
/**
* gdata
*
* @deprecated
* @var string
*/
public $hash;
/**
* gdata
*
* @var bool
*/
public $hashVerified;
/**
* gdata
*
* @var string
*/
public $inline;
/**
* gdata
*
* @var bool
*/
public $isPotentialRetry;
/**
* gdata
*
* @var string
*/
public $length;
/**
* gdata
*
* @var string
*/
public $md5Hash;
/**
* gdata
*
* @var string
*/
public $mediaId;
protected $objectIdType = GdataObjectId::class;
protected $objectIdDataType = '';
/**
* gdata
*
* @var string
*/
public $path;
/**
* gdata
*
* @var string
*/
public $referenceType;
/**
* gdata
*
* @var string
*/
public $sha1Hash;
/**
* gdata
*
* @var string
*/
public $sha256Hash;
/**
* gdata
*
* @var string
*/
public $sha512Hash;
/**
* gdata
*
* @var string
*/
public $timestamp;
/**
* gdata
*
* @var string
*/
public $token;
/**
* gdata
*
* @deprecated
* @param string $algorithm
*/
public function setAlgorithm($algorithm)
{
$this->algorithm = $algorithm;
}
/**
* @deprecated
* @return string
*/
public function getAlgorithm()
{
return $this->algorithm;
}
/**
* gdata
*
* @deprecated
* @param string $bigstoreObjectRef
*/
public function setBigstoreObjectRef($bigstoreObjectRef)
{
$this->bigstoreObjectRef = $bigstoreObjectRef;
}
/**
* @deprecated
* @return string
*/
public function getBigstoreObjectRef()
{
return $this->bigstoreObjectRef;
}
/**
* gdata
*
* @deprecated
* @param string $blobRef
*/
public function setBlobRef($blobRef)
{
$this->blobRef = $blobRef;
}
/**
* @deprecated
* @return string
*/
public function getBlobRef()
{
return $this->blobRef;
}
/**
* gdata
*
* @param GdataBlobstore2Info $blobstore2Info
*/
public function setBlobstore2Info(GdataBlobstore2Info $blobstore2Info)
{
$this->blobstore2Info = $blobstore2Info;
}
/**
* @return GdataBlobstore2Info
*/
public function getBlobstore2Info()
{
return $this->blobstore2Info;
}
/**
* gdata
*
* @param GdataCompositeMedia[] $compositeMedia
*/
public function setCompositeMedia($compositeMedia)
{
$this->compositeMedia = $compositeMedia;
}
/**
* @return GdataCompositeMedia[]
*/
public function getCompositeMedia()
{
return $this->compositeMedia;
}
/**
* gdata
*
* @param string $contentType
*/
public function setContentType($contentType)
{
$this->contentType = $contentType;
}
/**
* @return string
*/
public function getContentType()
{
return $this->contentType;
}
/**
* gdata
*
* @param GdataContentTypeInfo $contentTypeInfo
*/
public function setContentTypeInfo(GdataContentTypeInfo $contentTypeInfo)
{
$this->contentTypeInfo = $contentTypeInfo;
}
/**
* @return GdataContentTypeInfo
*/
public function getContentTypeInfo()
{
return $this->contentTypeInfo;
}
/**
* gdata
*
* @param string $cosmoBinaryReference
*/
public function setCosmoBinaryReference($cosmoBinaryReference)
{
$this->cosmoBinaryReference = $cosmoBinaryReference;
}
/**
* @return string
*/
public function getCosmoBinaryReference()
{
return $this->cosmoBinaryReference;
}
/**
* gdata
*
* @param string $crc32cHash
*/
public function setCrc32cHash($crc32cHash)
{
$this->crc32cHash = $crc32cHash;
}
/**
* @return string
*/
public function getCrc32cHash()
{
return $this->crc32cHash;
}
/**
* gdata
*
* @param GdataDiffChecksumsResponse $diffChecksumsResponse
*/
public function setDiffChecksumsResponse(GdataDiffChecksumsResponse $diffChecksumsResponse)
{
$this->diffChecksumsResponse = $diffChecksumsResponse;
}
/**
* @return GdataDiffChecksumsResponse
*/
public function getDiffChecksumsResponse()
{
return $this->diffChecksumsResponse;
}
/**
* gdata
*
* @param GdataDiffDownloadResponse $diffDownloadResponse
*/
public function setDiffDownloadResponse(GdataDiffDownloadResponse $diffDownloadResponse)
{
$this->diffDownloadResponse = $diffDownloadResponse;
}
/**
* @return GdataDiffDownloadResponse
*/
public function getDiffDownloadResponse()
{
return $this->diffDownloadResponse;
}
/**
* gdata
*
* @param GdataDiffUploadRequest $diffUploadRequest
*/
public function setDiffUploadRequest(GdataDiffUploadRequest $diffUploadRequest)
{
$this->diffUploadRequest = $diffUploadRequest;
}
/**
* @return GdataDiffUploadRequest
*/
public function getDiffUploadRequest()
{
return $this->diffUploadRequest;
}
/**
* gdata
*
* @param GdataDiffUploadResponse $diffUploadResponse
*/
public function setDiffUploadResponse(GdataDiffUploadResponse $diffUploadResponse)
{
$this->diffUploadResponse = $diffUploadResponse;
}
/**
* @return GdataDiffUploadResponse
*/
public function getDiffUploadResponse()
{
return $this->diffUploadResponse;
}
/**
* gdata
*
* @param GdataDiffVersionResponse $diffVersionResponse
*/
public function setDiffVersionResponse(GdataDiffVersionResponse $diffVersionResponse)
{
$this->diffVersionResponse = $diffVersionResponse;
}
/**
* @return GdataDiffVersionResponse
*/
public function getDiffVersionResponse()
{
return $this->diffVersionResponse;
}
/**
* gdata
*
* @param GdataDownloadParameters $downloadParameters
*/
public function setDownloadParameters(GdataDownloadParameters $downloadParameters)
{
$this->downloadParameters = $downloadParameters;
}
/**
* @return GdataDownloadParameters
*/
public function getDownloadParameters()
{
return $this->downloadParameters;
}
/**
* gdata
*
* @param string $filename
*/
public function setFilename($filename)
{
$this->filename = $filename;
}
/**
* @return string
*/
public function getFilename()
{
return $this->filename;
}
/**
* gdata
*
* @deprecated
* @param string $hash
*/
public function setHash($hash)
{
$this->hash = $hash;
}
/**
* @deprecated
* @return string
*/
public function getHash()
{
return $this->hash;
}
/**
* gdata
*
* @param bool $hashVerified
*/
public function setHashVerified($hashVerified)
{
$this->hashVerified = $hashVerified;
}
/**
* @return bool
*/
public function getHashVerified()
{
return $this->hashVerified;
}
/**
* gdata
*
* @param string $inline
*/
public function setInline($inline)
{
$this->inline = $inline;
}
/**
* @return string
*/
public function getInline()
{
return $this->inline;
}
/**
* gdata
*
* @param bool $isPotentialRetry
*/
public function setIsPotentialRetry($isPotentialRetry)
{
$this->isPotentialRetry = $isPotentialRetry;
}
/**
* @return bool
*/
public function getIsPotentialRetry()
{
return $this->isPotentialRetry;
}
/**
* gdata
*
* @param string $length
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return string
*/
public function getLength()
{
return $this->length;
}
/**
* gdata
*
* @param string $md5Hash
*/
public function setMd5Hash($md5Hash)
{
$this->md5Hash = $md5Hash;
}
/**
* @return string
*/
public function getMd5Hash()
{
return $this->md5Hash;
}
/**
* gdata
*
* @param string $mediaId
*/
public function setMediaId($mediaId)
{
$this->mediaId = $mediaId;
}
/**
* @return string
*/
public function getMediaId()
{
return $this->mediaId;
}
/**
* gdata
*
* @param GdataObjectId $objectId
*/
public function setObjectId(GdataObjectId $objectId)
{
$this->objectId = $objectId;
}
/**
* @return GdataObjectId
*/
public function getObjectId()
{
return $this->objectId;
}
/**
* gdata
*
* @param string $path
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* gdata
*
* Accepted values: PATH, BLOB_REF, INLINE, GET_MEDIA, COMPOSITE_MEDIA,
* BIGSTORE_REF, DIFF_VERSION_RESPONSE, DIFF_CHECKSUMS_RESPONSE,
* DIFF_DOWNLOAD_RESPONSE, DIFF_UPLOAD_REQUEST, DIFF_UPLOAD_RESPONSE,
* COSMO_BINARY_REFERENCE, ARBITRARY_BYTES
*
* @param self::REFERENCE_TYPE_* $referenceType
*/
public function setReferenceType($referenceType)
{
$this->referenceType = $referenceType;
}
/**
* @return self::REFERENCE_TYPE_*
*/
public function getReferenceType()
{
return $this->referenceType;
}
/**
* gdata
*
* @param string $sha1Hash
*/
public function setSha1Hash($sha1Hash)
{
$this->sha1Hash = $sha1Hash;
}
/**
* @return string
*/
public function getSha1Hash()
{
return $this->sha1Hash;
}
/**
* gdata
*
* @param string $sha256Hash
*/
public function setSha256Hash($sha256Hash)
{
$this->sha256Hash = $sha256Hash;
}
/**
* @return string
*/
public function getSha256Hash()
{
return $this->sha256Hash;
}
/**
* gdata
*
* @param string $sha512Hash
*/
public function setSha512Hash($sha512Hash)
{
$this->sha512Hash = $sha512Hash;
}
/**
* @return string
*/
public function getSha512Hash()
{
return $this->sha512Hash;
}
/**
* gdata
*
* @param string $timestamp
*/
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
/**
* @return string
*/
public function getTimestamp()
{
return $this->timestamp;
}
/**
* gdata
*
* @param string $token
*/
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_YouTubeReporting_GdataMedia');
@@ -0,0 +1,92 @@
<?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\YouTubeReporting;
class GdataObjectId extends \Google\Model
{
/**
* gdata
*
* @var string
*/
public $bucketName;
/**
* gdata
*
* @var string
*/
public $generation;
/**
* gdata
*
* @var string
*/
public $objectName;
/**
* gdata
*
* @param string $bucketName
*/
public function setBucketName($bucketName)
{
$this->bucketName = $bucketName;
}
/**
* @return string
*/
public function getBucketName()
{
return $this->bucketName;
}
/**
* gdata
*
* @param string $generation
*/
public function setGeneration($generation)
{
$this->generation = $generation;
}
/**
* @return string
*/
public function getGeneration()
{
return $this->generation;
}
/**
* gdata
*
* @param string $objectName
*/
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_YouTubeReporting_GdataObjectId');
@@ -0,0 +1,164 @@
<?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\YouTubeReporting;
class Job extends \Google\Model
{
/**
* The creation date/time of the job.
*
* @var string
*/
public $createTime;
/**
* The date/time when this job will expire/expired. After a job expired, no
* new reports are generated.
*
* @var string
*/
public $expireTime;
/**
* The server-generated ID of the job (max. 40 characters).
*
* @var string
*/
public $id;
/**
* The name of the job (max. 100 characters).
*
* @var string
*/
public $name;
/**
* The type of reports this job creates. Corresponds to the ID of a
* ReportType.
*
* @var string
*/
public $reportTypeId;
/**
* True if this a system-managed job that cannot be modified by the user;
* otherwise false.
*
* @var bool
*/
public $systemManaged;
/**
* The creation date/time of the job.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* The date/time when this job will expire/expired. After a job expired, no
* new reports are generated.
*
* @param string $expireTime
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* The server-generated ID of the job (max. 40 characters).
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* The name of the job (max. 100 characters).
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The type of reports this job creates. Corresponds to the ID of a
* ReportType.
*
* @param string $reportTypeId
*/
public function setReportTypeId($reportTypeId)
{
$this->reportTypeId = $reportTypeId;
}
/**
* @return string
*/
public function getReportTypeId()
{
return $this->reportTypeId;
}
/**
* True if this a system-managed job that cannot be modified by the user;
* otherwise false.
*
* @param bool $systemManaged
*/
public function setSystemManaged($systemManaged)
{
$this->systemManaged = $systemManaged;
}
/**
* @return bool
*/
public function getSystemManaged()
{
return $this->systemManaged;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Job::class, 'Google_Service_YouTubeReporting_Job');
@@ -0,0 +1,71 @@
<?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\YouTubeReporting;
class ListJobsResponse extends \Google\Collection
{
protected $collection_key = 'jobs';
protected $jobsType = Job::class;
protected $jobsDataType = 'array';
/**
* A token to retrieve next page of results. Pass this value in the
* ListJobsRequest.page_token field in the subsequent call to `ListJobs`
* method to retrieve the next page of results.
*
* @var string
*/
public $nextPageToken;
/**
* The list of jobs.
*
* @param Job[] $jobs
*/
public function setJobs($jobs)
{
$this->jobs = $jobs;
}
/**
* @return Job[]
*/
public function getJobs()
{
return $this->jobs;
}
/**
* A token to retrieve next page of results. Pass this value in the
* ListJobsRequest.page_token field in the subsequent call to `ListJobs`
* method to retrieve the next page of results.
*
* @param string $nextPageToken
*/
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(ListJobsResponse::class, 'Google_Service_YouTubeReporting_ListJobsResponse');
@@ -0,0 +1,71 @@
<?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\YouTubeReporting;
class ListReportTypesResponse extends \Google\Collection
{
protected $collection_key = 'reportTypes';
/**
* A token to retrieve next page of results. Pass this value in the
* ListReportTypesRequest.page_token field in the subsequent call to
* `ListReportTypes` method to retrieve the next page of results.
*
* @var string
*/
public $nextPageToken;
protected $reportTypesType = ReportType::class;
protected $reportTypesDataType = 'array';
/**
* A token to retrieve next page of results. Pass this value in the
* ListReportTypesRequest.page_token field in the subsequent call to
* `ListReportTypes` method to retrieve the next page of results.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The list of report types.
*
* @param ReportType[] $reportTypes
*/
public function setReportTypes($reportTypes)
{
$this->reportTypes = $reportTypes;
}
/**
* @return ReportType[]
*/
public function getReportTypes()
{
return $this->reportTypes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListReportTypesResponse::class, 'Google_Service_YouTubeReporting_ListReportTypesResponse');
@@ -0,0 +1,71 @@
<?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\YouTubeReporting;
class ListReportsResponse extends \Google\Collection
{
protected $collection_key = 'reports';
/**
* A token to retrieve next page of results. Pass this value in the
* ListReportsRequest.page_token field in the subsequent call to `ListReports`
* method to retrieve the next page of results.
*
* @var string
*/
public $nextPageToken;
protected $reportsType = Report::class;
protected $reportsDataType = 'array';
/**
* A token to retrieve next page of results. Pass this value in the
* ListReportsRequest.page_token field in the subsequent call to `ListReports`
* method to retrieve the next page of results.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The list of report types.
*
* @param Report[] $reports
*/
public function setReports($reports)
{
$this->reports = $reports;
}
/**
* @return Report[]
*/
public function getReports()
{
return $this->reports;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListReportsResponse::class, 'Google_Service_YouTubeReporting_ListReportsResponse');
@@ -0,0 +1,184 @@
<?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\YouTubeReporting;
class Report extends \Google\Model
{
/**
* The date/time when this report was created.
*
* @var string
*/
public $createTime;
/**
* The URL from which the report can be downloaded (max. 1000 characters).
*
* @var string
*/
public $downloadUrl;
/**
* The end of the time period that the report instance covers. The value is
* exclusive.
*
* @var string
*/
public $endTime;
/**
* The server-generated ID of the report.
*
* @var string
*/
public $id;
/**
* The date/time when the job this report belongs to will expire/expired.
*
* @var string
*/
public $jobExpireTime;
/**
* The ID of the job that created this report.
*
* @var string
*/
public $jobId;
/**
* The start of the time period that the report instance covers. The value is
* inclusive.
*
* @var string
*/
public $startTime;
/**
* The date/time when this report was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* The URL from which the report can be downloaded (max. 1000 characters).
*
* @param string $downloadUrl
*/
public function setDownloadUrl($downloadUrl)
{
$this->downloadUrl = $downloadUrl;
}
/**
* @return string
*/
public function getDownloadUrl()
{
return $this->downloadUrl;
}
/**
* The end of the time period that the report instance covers. The value is
* exclusive.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* The server-generated ID of the report.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* The date/time when the job this report belongs to will expire/expired.
*
* @param string $jobExpireTime
*/
public function setJobExpireTime($jobExpireTime)
{
$this->jobExpireTime = $jobExpireTime;
}
/**
* @return string
*/
public function getJobExpireTime()
{
return $this->jobExpireTime;
}
/**
* The ID of the job that created this report.
*
* @param string $jobId
*/
public function setJobId($jobId)
{
$this->jobId = $jobId;
}
/**
* @return string
*/
public function getJobId()
{
return $this->jobId;
}
/**
* The start of the time period that the report instance covers. The value is
* inclusive.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Report::class, 'Google_Service_YouTubeReporting_Report');
@@ -0,0 +1,118 @@
<?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\YouTubeReporting;
class ReportType extends \Google\Model
{
/**
* The date/time when this report type was/will be deprecated.
*
* @var string
*/
public $deprecateTime;
/**
* The ID of the report type (max. 100 characters).
*
* @var string
*/
public $id;
/**
* The name of the report type (max. 100 characters).
*
* @var string
*/
public $name;
/**
* True if this a system-managed report type; otherwise false. Reporting jobs
* for system-managed report types are created automatically and can thus not
* be used in the `CreateJob` method.
*
* @var bool
*/
public $systemManaged;
/**
* The date/time when this report type was/will be deprecated.
*
* @param string $deprecateTime
*/
public function setDeprecateTime($deprecateTime)
{
$this->deprecateTime = $deprecateTime;
}
/**
* @return string
*/
public function getDeprecateTime()
{
return $this->deprecateTime;
}
/**
* The ID of the report type (max. 100 characters).
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* The name of the report type (max. 100 characters).
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* True if this a system-managed report type; otherwise false. Reporting jobs
* for system-managed report types are created automatically and can thus not
* be used in the `CreateJob` method.
*
* @param bool $systemManaged
*/
public function setSystemManaged($systemManaged)
{
$this->systemManaged = $systemManaged;
}
/**
* @return bool
*/
public function getSystemManaged()
{
return $this->systemManaged;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReportType::class, 'Google_Service_YouTubeReporting_ReportType');
@@ -0,0 +1,117 @@
<?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\YouTubeReporting\Resource;
use Google\Service\YouTubeReporting\Job;
use Google\Service\YouTubeReporting\ListJobsResponse;
use Google\Service\YouTubeReporting\YoutubereportingEmpty;
/**
* The "jobs" collection of methods.
* Typical usage is:
* <code>
* $youtubereportingService = new Google\Service\YouTubeReporting(...);
* $jobs = $youtubereportingService->jobs;
* </code>
*/
class Jobs extends \Google\Service\Resource
{
/**
* Creates a job and returns it. (jobs.create)
*
* @param Job $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string onBehalfOfContentOwner The content owner's external ID on
* which behalf the user is acting on. If not set, the user is acting for
* himself (his own channel).
* @return Job
* @throws \Google\Service\Exception
*/
public function create(Job $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Job::class);
}
/**
* Deletes a job. (jobs.delete)
*
* @param string $jobId The ID of the job to delete.
* @param array $optParams Optional parameters.
*
* @opt_param string onBehalfOfContentOwner The content owner's external ID on
* which behalf the user is acting on. If not set, the user is acting for
* himself (his own channel).
* @return YoutubereportingEmpty
* @throws \Google\Service\Exception
*/
public function delete($jobId, $optParams = [])
{
$params = ['jobId' => $jobId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], YoutubereportingEmpty::class);
}
/**
* Gets a job. (jobs.get)
*
* @param string $jobId The ID of the job to retrieve.
* @param array $optParams Optional parameters.
*
* @opt_param string onBehalfOfContentOwner The content owner's external ID on
* which behalf the user is acting on. If not set, the user is acting for
* himself (his own channel).
* @return Job
* @throws \Google\Service\Exception
*/
public function get($jobId, $optParams = [])
{
$params = ['jobId' => $jobId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Job::class);
}
/**
* Lists jobs. (jobs.listJobs)
*
* @param array $optParams Optional parameters.
*
* @opt_param bool includeSystemManaged If set to true, also system-managed jobs
* will be returned; otherwise only user-created jobs will be returned. System-
* managed jobs can neither be modified nor deleted.
* @opt_param string onBehalfOfContentOwner The content owner's external ID on
* which behalf the user is acting on. If not set, the user is acting for
* himself (his own channel).
* @opt_param int pageSize Requested page size. Server may return fewer jobs
* than requested. If unspecified, server will pick an appropriate default.
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListReportTypesResponse.next_page_token returned in response to the previous
* call to the `ListJobs` method.
* @return ListJobsResponse
* @throws \Google\Service\Exception
*/
public function listJobs($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListJobsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Jobs::class, 'Google_Service_YouTubeReporting_Resource_Jobs');
@@ -0,0 +1,87 @@
<?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\YouTubeReporting\Resource;
use Google\Service\YouTubeReporting\ListReportsResponse;
use Google\Service\YouTubeReporting\Report;
/**
* The "reports" collection of methods.
* Typical usage is:
* <code>
* $youtubereportingService = new Google\Service\YouTubeReporting(...);
* $reports = $youtubereportingService->jobs_reports;
* </code>
*/
class JobsReports extends \Google\Service\Resource
{
/**
* Gets the metadata of a specific report. (reports.get)
*
* @param string $jobId The ID of the job.
* @param string $reportId The ID of the report to retrieve.
* @param array $optParams Optional parameters.
*
* @opt_param string onBehalfOfContentOwner The content owner's external ID on
* which behalf the user is acting on. If not set, the user is acting for
* himself (his own channel).
* @return Report
* @throws \Google\Service\Exception
*/
public function get($jobId, $reportId, $optParams = [])
{
$params = ['jobId' => $jobId, 'reportId' => $reportId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Report::class);
}
/**
* Lists reports created by a specific job. Returns NOT_FOUND if the job does
* not exist. (reports.listJobsReports)
*
* @param string $jobId The ID of the job.
* @param array $optParams Optional parameters.
*
* @opt_param string createdAfter If set, only reports created after the
* specified date/time are returned.
* @opt_param string onBehalfOfContentOwner The content owner's external ID on
* which behalf the user is acting on. If not set, the user is acting for
* himself (his own channel).
* @opt_param int pageSize Requested page size. Server may return fewer report
* types than requested. If unspecified, server will pick an appropriate
* default.
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListReportsResponse.next_page_token returned in response to the previous call
* to the `ListReports` method.
* @opt_param string startTimeAtOrAfter If set, only reports whose start time is
* greater than or equal the specified date/time are returned.
* @opt_param string startTimeBefore If set, only reports whose start time is
* smaller than the specified date/time are returned.
* @return ListReportsResponse
* @throws \Google\Service\Exception
*/
public function listJobsReports($jobId, $optParams = [])
{
$params = ['jobId' => $jobId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListReportsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JobsReports::class, 'Google_Service_YouTubeReporting_Resource_JobsReports');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\YouTubeReporting\Resource;
use Google\Service\YouTubeReporting\GdataMedia;
/**
* The "media" collection of methods.
* Typical usage is:
* <code>
* $youtubereportingService = new Google\Service\YouTubeReporting(...);
* $media = $youtubereportingService->media;
* </code>
*/
class Media extends \Google\Service\Resource
{
/**
* Method for media download. Download is supported on the URI
* `/v1/media/{+name}?alt=media`. (media.download)
*
* @param string $resourceName Name of the media that is being downloaded.
* @param array $optParams Optional parameters.
* @return GdataMedia
* @throws \Google\Service\Exception
*/
public function download($resourceName, $optParams = [])
{
$params = ['resourceName' => $resourceName];
$params = array_merge($params, $optParams);
return $this->call('download', [$params], GdataMedia::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Media::class, 'Google_Service_YouTubeReporting_Resource_Media');
@@ -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\YouTubeReporting\Resource;
use Google\Service\YouTubeReporting\ListReportTypesResponse;
/**
* The "reportTypes" collection of methods.
* Typical usage is:
* <code>
* $youtubereportingService = new Google\Service\YouTubeReporting(...);
* $reportTypes = $youtubereportingService->reportTypes;
* </code>
*/
class ReportTypes extends \Google\Service\Resource
{
/**
* Lists report types. (reportTypes.listReportTypes)
*
* @param array $optParams Optional parameters.
*
* @opt_param bool includeSystemManaged If set to true, also system-managed
* report types will be returned; otherwise only the report types that can be
* used to create new reporting jobs will be returned.
* @opt_param string onBehalfOfContentOwner The content owner's external ID on
* which behalf the user is acting on. If not set, the user is acting for
* himself (his own channel).
* @opt_param int pageSize Requested page size. Server may return fewer report
* types than requested. If unspecified, server will pick an appropriate
* default.
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListReportTypesResponse.next_page_token returned in response to the previous
* call to the `ListReportTypes` method.
* @return ListReportTypesResponse
* @throws \Google\Service\Exception
*/
public function listReportTypes($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListReportTypesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReportTypes::class, 'Google_Service_YouTubeReporting_Resource_ReportTypes');
@@ -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\YouTubeReporting;
class YoutubereportingEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(YoutubereportingEmpty::class, 'Google_Service_YouTubeReporting_YoutubereportingEmpty');