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,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\DataPortability;
class CancelPortabilityArchiveRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelPortabilityArchiveRequest::class, 'Google_Service_DataPortability_CancelPortabilityArchiveRequest');
@@ -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\DataPortability;
class CancelPortabilityArchiveResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelPortabilityArchiveResponse::class, 'Google_Service_DataPortability_CancelPortabilityArchiveResponse');
@@ -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\DataPortability;
class CheckAccessTypeRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckAccessTypeRequest::class, 'Google_Service_DataPortability_CheckAccessTypeRequest');
@@ -0,0 +1,75 @@
<?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\DataPortability;
class CheckAccessTypeResponse extends \Google\Collection
{
protected $collection_key = 'timeBasedResources';
/**
* Jobs initiated with this token will be one-time if any requested resources
* have one-time access.
*
* @var string[]
*/
public $oneTimeResources;
/**
* Jobs initiated with this token will be time-based if all requested
* resources have time-based access.
*
* @var string[]
*/
public $timeBasedResources;
/**
* Jobs initiated with this token will be one-time if any requested resources
* have one-time access.
*
* @param string[] $oneTimeResources
*/
public function setOneTimeResources($oneTimeResources)
{
$this->oneTimeResources = $oneTimeResources;
}
/**
* @return string[]
*/
public function getOneTimeResources()
{
return $this->oneTimeResources;
}
/**
* Jobs initiated with this token will be time-based if all requested
* resources have time-based access.
*
* @param string[] $timeBasedResources
*/
public function setTimeBasedResources($timeBasedResources)
{
$this->timeBasedResources = $timeBasedResources;
}
/**
* @return string[]
*/
public function getTimeBasedResources()
{
return $this->timeBasedResources;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckAccessTypeResponse::class, 'Google_Service_DataPortability_CheckAccessTypeResponse');
@@ -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\DataPortability;
class DataportabilityEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataportabilityEmpty::class, 'Google_Service_DataPortability_DataportabilityEmpty');
@@ -0,0 +1,107 @@
<?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\DataPortability;
class InitiatePortabilityArchiveRequest extends \Google\Collection
{
protected $collection_key = 'resources';
/**
* Optional. The timestamp that represents the end point for the data you are
* exporting. If the end_time is not specified in the
* InitiatePortabilityArchiveRequest, this field is set to the latest
* available data.
*
* @var string
*/
public $endTime;
/**
* The resources from which you're exporting data. These values have a 1:1
* correspondence with the OAuth scopes.
*
* @var string[]
*/
public $resources;
/**
* Optional. The timestamp that represents the starting point for the data you
* are exporting. If the start_time is not specified in the
* InitiatePortabilityArchiveRequest, the field is set to the earliest
* available data.
*
* @var string
*/
public $startTime;
/**
* Optional. The timestamp that represents the end point for the data you are
* exporting. If the end_time is not specified in the
* InitiatePortabilityArchiveRequest, this field is set to the latest
* available data.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* The resources from which you're exporting data. These values have a 1:1
* correspondence with the OAuth scopes.
*
* @param string[] $resources
*/
public function setResources($resources)
{
$this->resources = $resources;
}
/**
* @return string[]
*/
public function getResources()
{
return $this->resources;
}
/**
* Optional. The timestamp that represents the starting point for the data you
* are exporting. If the start_time is not specified in the
* InitiatePortabilityArchiveRequest, the field is set to the earliest
* available data.
*
* @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(InitiatePortabilityArchiveRequest::class, 'Google_Service_DataPortability_InitiatePortabilityArchiveRequest');
@@ -0,0 +1,88 @@
<?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\DataPortability;
class InitiatePortabilityArchiveResponse extends \Google\Model
{
/**
* Default value. This value is unused.
*/
public const ACCESS_TYPE_ACCESS_TYPE_UNSPECIFIED = 'ACCESS_TYPE_UNSPECIFIED';
/**
* One-time access to the requested scopes.
*/
public const ACCESS_TYPE_ACCESS_TYPE_ONE_TIME = 'ACCESS_TYPE_ONE_TIME';
/**
* Multiple exports allowed over 30 days. Enum value subject to change before
* launch.
*/
public const ACCESS_TYPE_ACCESS_TYPE_TIME_BASED = 'ACCESS_TYPE_TIME_BASED';
/**
* The access type of the Archive job initiated by the API.
*
* @var string
*/
public $accessType;
/**
* The archive job ID that is initiated in the API. This can be used to get
* the state of the job.
*
* @var string
*/
public $archiveJobId;
/**
* The access type of the Archive job initiated by the API.
*
* Accepted values: ACCESS_TYPE_UNSPECIFIED, ACCESS_TYPE_ONE_TIME,
* ACCESS_TYPE_TIME_BASED
*
* @param self::ACCESS_TYPE_* $accessType
*/
public function setAccessType($accessType)
{
$this->accessType = $accessType;
}
/**
* @return self::ACCESS_TYPE_*
*/
public function getAccessType()
{
return $this->accessType;
}
/**
* The archive job ID that is initiated in the API. This can be used to get
* the state of the job.
*
* @param string $archiveJobId
*/
public function setArchiveJobId($archiveJobId)
{
$this->archiveJobId = $archiveJobId;
}
/**
* @return string
*/
public function getArchiveJobId()
{
return $this->archiveJobId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InitiatePortabilityArchiveResponse::class, 'Google_Service_DataPortability_InitiatePortabilityArchiveResponse');
@@ -0,0 +1,176 @@
<?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\DataPortability;
class PortabilityArchiveState extends \Google\Collection
{
/**
* Default value. This value is unused.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The job is in progress.
*/
public const STATE_IN_PROGRESS = 'IN_PROGRESS';
/**
* The job is complete.
*/
public const STATE_COMPLETE = 'COMPLETE';
/**
* The job failed.
*/
public const STATE_FAILED = 'FAILED';
/**
* The job is cancelled.
*/
public const STATE_CANCELLED = 'CANCELLED';
protected $collection_key = 'urls';
/**
* The timestamp that represents the end point for the data you are exporting.
* If the end_time value is set in the InitiatePortabilityArchiveRequest, this
* field is set to that value. If end_time is not set, this value is set to
* the time the export was requested.
*
* @var string
*/
public $exportTime;
/**
* The resource name of ArchiveJob's PortabilityArchiveState singleton. The
* format is: archiveJobs/{archive_job}/portabilityArchiveState. archive_job
* is the job ID provided in the request.
*
* @var string
*/
public $name;
/**
* The timestamp that represents the starting point for the data you are
* exporting. This field is set only if the start_time field is specified in
* the InitiatePortabilityArchiveRequest.
*
* @var string
*/
public $startTime;
/**
* Resource that represents the state of the Archive job.
*
* @var string
*/
public $state;
/**
* If the state is complete, this method returns the signed URLs of the
* objects in the Cloud Storage bucket.
*
* @var string[]
*/
public $urls;
/**
* The timestamp that represents the end point for the data you are exporting.
* If the end_time value is set in the InitiatePortabilityArchiveRequest, this
* field is set to that value. If end_time is not set, this value is set to
* the time the export was requested.
*
* @param string $exportTime
*/
public function setExportTime($exportTime)
{
$this->exportTime = $exportTime;
}
/**
* @return string
*/
public function getExportTime()
{
return $this->exportTime;
}
/**
* The resource name of ArchiveJob's PortabilityArchiveState singleton. The
* format is: archiveJobs/{archive_job}/portabilityArchiveState. archive_job
* is the job ID provided in the request.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The timestamp that represents the starting point for the data you are
* exporting. This field is set only if the start_time field is specified in
* the InitiatePortabilityArchiveRequest.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* Resource that represents the state of the Archive job.
*
* Accepted values: STATE_UNSPECIFIED, IN_PROGRESS, COMPLETE, FAILED,
* CANCELLED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* If the state is complete, this method returns the signed URLs of the
* objects in the Cloud Storage bucket.
*
* @param string[] $urls
*/
public function setUrls($urls)
{
$this->urls = $urls;
}
/**
* @return string[]
*/
public function getUrls()
{
return $this->urls;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PortabilityArchiveState::class, 'Google_Service_DataPortability_PortabilityArchiveState');
@@ -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\DataPortability;
class ResetAuthorizationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResetAuthorizationRequest::class, 'Google_Service_DataPortability_ResetAuthorizationRequest');
@@ -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\DataPortability\Resource;
use Google\Service\DataPortability\CheckAccessTypeRequest;
use Google\Service\DataPortability\CheckAccessTypeResponse;
/**
* The "accessType" collection of methods.
* Typical usage is:
* <code>
* $dataportabilityService = new Google\Service\DataPortability(...);
* $accessType = $dataportabilityService->accessType;
* </code>
*/
class AccessType extends \Google\Service\Resource
{
/**
* Gets the access type of the token. (accessType.check)
*
* @param CheckAccessTypeRequest $postBody
* @param array $optParams Optional parameters.
* @return CheckAccessTypeResponse
* @throws \Google\Service\Exception
*/
public function check(CheckAccessTypeRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('check', [$params], CheckAccessTypeResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessType::class, 'Google_Service_DataPortability_Resource_AccessType');
@@ -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\DataPortability\Resource;
use Google\Service\DataPortability\CancelPortabilityArchiveRequest;
use Google\Service\DataPortability\CancelPortabilityArchiveResponse;
use Google\Service\DataPortability\PortabilityArchiveState;
use Google\Service\DataPortability\RetryPortabilityArchiveRequest;
use Google\Service\DataPortability\RetryPortabilityArchiveResponse;
/**
* The "archiveJobs" collection of methods.
* Typical usage is:
* <code>
* $dataportabilityService = new Google\Service\DataPortability(...);
* $archiveJobs = $dataportabilityService->archiveJobs;
* </code>
*/
class ArchiveJobs extends \Google\Service\Resource
{
/**
* Cancels a Portability Archive job. (archiveJobs.cancel)
*
* @param string $name Required. The Archive job ID you're canceling. This is
* returned by the InitiatePortabilityArchive response. The format is:
* archiveJobs/{archive_job}. Canceling is only executed if the job is in
* progress.
* @param CancelPortabilityArchiveRequest $postBody
* @param array $optParams Optional parameters.
* @return CancelPortabilityArchiveResponse
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelPortabilityArchiveRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], CancelPortabilityArchiveResponse::class);
}
/**
* Retrieves the state of an Archive job for the Portability API.
* (archiveJobs.getPortabilityArchiveState)
*
* @param string $name Required. The archive job ID that is returned when you
* request the state of the job. The format is:
* archiveJobs/{archive_job}/portabilityArchiveState. archive_job is the job ID
* returned by the InitiatePortabilityArchiveResponse.
* @param array $optParams Optional parameters.
* @return PortabilityArchiveState
* @throws \Google\Service\Exception
*/
public function getPortabilityArchiveState($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getPortabilityArchiveState', [$params], PortabilityArchiveState::class);
}
/**
* Retries a failed Portability Archive job. (archiveJobs.retry)
*
* @param string $name Required. The Archive job ID you're retrying. This is
* returned by the InitiatePortabilityArchiveResponse. Retrying is only executed
* if the initial job failed.
* @param RetryPortabilityArchiveRequest $postBody
* @param array $optParams Optional parameters.
* @return RetryPortabilityArchiveResponse
* @throws \Google\Service\Exception
*/
public function retry($name, RetryPortabilityArchiveRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('retry', [$params], RetryPortabilityArchiveResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ArchiveJobs::class, 'Google_Service_DataPortability_Resource_ArchiveJobs');
@@ -0,0 +1,55 @@
<?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\DataPortability\Resource;
use Google\Service\DataPortability\DataportabilityEmpty;
use Google\Service\DataPortability\ResetAuthorizationRequest;
/**
* The "authorization" collection of methods.
* Typical usage is:
* <code>
* $dataportabilityService = new Google\Service\DataPortability(...);
* $authorization = $dataportabilityService->authorization;
* </code>
*/
class Authorization extends \Google\Service\Resource
{
/**
* Revokes OAuth tokens and resets exhausted scopes for a user/project pair.
* This method allows you to initiate a request after a new consent is granted.
* This method also indicates that previous archives can be garbage collected.
* You should call this method when all jobs are complete and all archives are
* downloaded. Do not call it only when you start a new job.
* (authorization.reset)
*
* @param ResetAuthorizationRequest $postBody
* @param array $optParams Optional parameters.
* @return DataportabilityEmpty
* @throws \Google\Service\Exception
*/
public function reset(ResetAuthorizationRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('reset', [$params], DataportabilityEmpty::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Authorization::class, 'Google_Service_DataPortability_Resource_Authorization');
@@ -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\DataPortability\Resource;
use Google\Service\DataPortability\InitiatePortabilityArchiveRequest;
use Google\Service\DataPortability\InitiatePortabilityArchiveResponse;
/**
* The "portabilityArchive" collection of methods.
* Typical usage is:
* <code>
* $dataportabilityService = new Google\Service\DataPortability(...);
* $portabilityArchive = $dataportabilityService->portabilityArchive;
* </code>
*/
class PortabilityArchive extends \Google\Service\Resource
{
/**
* Initiates a new Archive job for the Portability API.
* (portabilityArchive.initiate)
*
* @param InitiatePortabilityArchiveRequest $postBody
* @param array $optParams Optional parameters.
* @return InitiatePortabilityArchiveResponse
* @throws \Google\Service\Exception
*/
public function initiate(InitiatePortabilityArchiveRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('initiate', [$params], InitiatePortabilityArchiveResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PortabilityArchive::class, 'Google_Service_DataPortability_Resource_PortabilityArchive');
@@ -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\DataPortability;
class RetryPortabilityArchiveRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RetryPortabilityArchiveRequest::class, 'Google_Service_DataPortability_RetryPortabilityArchiveRequest');
@@ -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\DataPortability;
class RetryPortabilityArchiveResponse extends \Google\Model
{
/**
* The archive job ID that is initiated by the retry endpoint. This can be
* used to get the state of the new job.
*
* @var string
*/
public $archiveJobId;
/**
* The archive job ID that is initiated by the retry endpoint. This can be
* used to get the state of the new job.
*
* @param string $archiveJobId
*/
public function setArchiveJobId($archiveJobId)
{
$this->archiveJobId = $archiveJobId;
}
/**
* @return string
*/
public function getArchiveJobId()
{
return $this->archiveJobId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RetryPortabilityArchiveResponse::class, 'Google_Service_DataPortability_RetryPortabilityArchiveResponse');