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
@@ -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\Vault;
class AccountCount extends \Google\Model
{
protected $accountType = UserInfo::class;
protected $accountDataType = '';
/**
* @var string
*/
public $count;
/**
* @param UserInfo
*/
public function setAccount(UserInfo $account)
{
$this->account = $account;
}
/**
* @return UserInfo
*/
public function getAccount()
{
return $this->account;
}
/**
* @param string
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return string
*/
public function getCount()
{
return $this->count;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountCount::class, 'Google_Service_Vault_AccountCount');
@@ -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\Vault;
class AccountCountError extends \Google\Model
{
protected $accountType = UserInfo::class;
protected $accountDataType = '';
/**
* @var string
*/
public $errorType;
/**
* @param UserInfo
*/
public function setAccount(UserInfo $account)
{
$this->account = $account;
}
/**
* @return UserInfo
*/
public function getAccount()
{
return $this->account;
}
/**
* @param string
*/
public function setErrorType($errorType)
{
$this->errorType = $errorType;
}
/**
* @return string
*/
public function getErrorType()
{
return $this->errorType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountCountError::class, 'Google_Service_Vault_AccountCountError');
@@ -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\Vault;
class AccountInfo 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(AccountInfo::class, 'Google_Service_Vault_AccountInfo');
@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Vault;
class AddHeldAccountResult extends \Google\Model
{
protected $accountType = HeldAccount::class;
protected $accountDataType = '';
protected $statusType = Status::class;
protected $statusDataType = '';
/**
* @param HeldAccount
*/
public function setAccount(HeldAccount $account)
{
$this->account = $account;
}
/**
* @return HeldAccount
*/
public function getAccount()
{
return $this->account;
}
/**
* @param Status
*/
public function setStatus(Status $status)
{
$this->status = $status;
}
/**
* @return Status
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddHeldAccountResult::class, 'Google_Service_Vault_AddHeldAccountResult');
@@ -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\Vault;
class AddHeldAccountsRequest extends \Google\Collection
{
protected $collection_key = 'emails';
/**
* @var string[]
*/
public $accountIds;
/**
* @var string[]
*/
public $emails;
/**
* @param string[]
*/
public function setAccountIds($accountIds)
{
$this->accountIds = $accountIds;
}
/**
* @return string[]
*/
public function getAccountIds()
{
return $this->accountIds;
}
/**
* @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(AddHeldAccountsRequest::class, 'Google_Service_Vault_AddHeldAccountsRequest');
@@ -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\Vault;
class AddHeldAccountsResponse extends \Google\Collection
{
protected $collection_key = 'responses';
protected $responsesType = AddHeldAccountResult::class;
protected $responsesDataType = 'array';
/**
* @param AddHeldAccountResult[]
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return AddHeldAccountResult[]
*/
public function getResponses()
{
return $this->responses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddHeldAccountsResponse::class, 'Google_Service_Vault_AddHeldAccountsResponse');
@@ -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\Vault;
class AddMatterPermissionsRequest extends \Google\Model
{
/**
* @var bool
*/
public $ccMe;
protected $matterPermissionType = MatterPermission::class;
protected $matterPermissionDataType = '';
/**
* @var bool
*/
public $sendEmails;
/**
* @param bool
*/
public function setCcMe($ccMe)
{
$this->ccMe = $ccMe;
}
/**
* @return bool
*/
public function getCcMe()
{
return $this->ccMe;
}
/**
* @param MatterPermission
*/
public function setMatterPermission(MatterPermission $matterPermission)
{
$this->matterPermission = $matterPermission;
}
/**
* @return MatterPermission
*/
public function getMatterPermission()
{
return $this->matterPermission;
}
/**
* @param bool
*/
public function setSendEmails($sendEmails)
{
$this->sendEmails = $sendEmails;
}
/**
* @return bool
*/
public function getSendEmails()
{
return $this->sendEmails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddMatterPermissionsRequest::class, 'Google_Service_Vault_AddMatterPermissionsRequest');
@@ -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\Vault;
class CalendarExportOptions extends \Google\Model
{
/**
* @var string
*/
public $exportFormat;
/**
* @param string
*/
public function setExportFormat($exportFormat)
{
$this->exportFormat = $exportFormat;
}
/**
* @return string
*/
public function getExportFormat()
{
return $this->exportFormat;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CalendarExportOptions::class, 'Google_Service_Vault_CalendarExportOptions');
@@ -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\Vault;
class CalendarOptions extends \Google\Collection
{
protected $collection_key = 'responseStatuses';
/**
* @var string[]
*/
public $locationQuery;
/**
* @var string[]
*/
public $minusWords;
/**
* @var string[]
*/
public $peopleQuery;
/**
* @var string[]
*/
public $responseStatuses;
/**
* @var string
*/
public $versionDate;
/**
* @param string[]
*/
public function setLocationQuery($locationQuery)
{
$this->locationQuery = $locationQuery;
}
/**
* @return string[]
*/
public function getLocationQuery()
{
return $this->locationQuery;
}
/**
* @param string[]
*/
public function setMinusWords($minusWords)
{
$this->minusWords = $minusWords;
}
/**
* @return string[]
*/
public function getMinusWords()
{
return $this->minusWords;
}
/**
* @param string[]
*/
public function setPeopleQuery($peopleQuery)
{
$this->peopleQuery = $peopleQuery;
}
/**
* @return string[]
*/
public function getPeopleQuery()
{
return $this->peopleQuery;
}
/**
* @param string[]
*/
public function setResponseStatuses($responseStatuses)
{
$this->responseStatuses = $responseStatuses;
}
/**
* @return string[]
*/
public function getResponseStatuses()
{
return $this->responseStatuses;
}
/**
* @param string
*/
public function setVersionDate($versionDate)
{
$this->versionDate = $versionDate;
}
/**
* @return string
*/
public function getVersionDate()
{
return $this->versionDate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CalendarOptions::class, 'Google_Service_Vault_CalendarOptions');
@@ -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\Vault;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_Vault_CancelOperationRequest');
@@ -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\Vault;
class CloseMatterRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloseMatterRequest::class, 'Google_Service_Vault_CloseMatterRequest');
@@ -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\Vault;
class CloseMatterResponse extends \Google\Model
{
protected $matterType = Matter::class;
protected $matterDataType = '';
/**
* @param Matter
*/
public function setMatter(Matter $matter)
{
$this->matter = $matter;
}
/**
* @return Matter
*/
public function getMatter()
{
return $this->matter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloseMatterResponse::class, 'Google_Service_Vault_CloseMatterResponse');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Vault;
class CloudStorageFile extends \Google\Model
{
/**
* @var string
*/
public $bucketName;
/**
* @var string
*/
public $md5Hash;
/**
* @var string
*/
public $objectName;
/**
* @var string
*/
public $size;
/**
* @param string
*/
public function setBucketName($bucketName)
{
$this->bucketName = $bucketName;
}
/**
* @return string
*/
public function getBucketName()
{
return $this->bucketName;
}
/**
* @param string
*/
public function setMd5Hash($md5Hash)
{
$this->md5Hash = $md5Hash;
}
/**
* @return string
*/
public function getMd5Hash()
{
return $this->md5Hash;
}
/**
* @param string
*/
public function setObjectName($objectName)
{
$this->objectName = $objectName;
}
/**
* @return string
*/
public function getObjectName()
{
return $this->objectName;
}
/**
* @param string
*/
public function setSize($size)
{
$this->size = $size;
}
/**
* @return string
*/
public function getSize()
{
return $this->size;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudStorageFile::class, 'Google_Service_Vault_CloudStorageFile');
@@ -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\Vault;
class CloudStorageSink extends \Google\Collection
{
protected $collection_key = 'files';
protected $filesType = CloudStorageFile::class;
protected $filesDataType = 'array';
/**
* @param CloudStorageFile[]
*/
public function setFiles($files)
{
$this->files = $files;
}
/**
* @return CloudStorageFile[]
*/
public function getFiles()
{
return $this->files;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudStorageSink::class, 'Google_Service_Vault_CloudStorageSink');
@@ -0,0 +1,122 @@
<?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\Vault;
class CorpusQuery extends \Google\Model
{
protected $calendarQueryType = HeldCalendarQuery::class;
protected $calendarQueryDataType = '';
protected $driveQueryType = HeldDriveQuery::class;
protected $driveQueryDataType = '';
protected $groupsQueryType = HeldGroupsQuery::class;
protected $groupsQueryDataType = '';
protected $hangoutsChatQueryType = HeldHangoutsChatQuery::class;
protected $hangoutsChatQueryDataType = '';
protected $mailQueryType = HeldMailQuery::class;
protected $mailQueryDataType = '';
protected $voiceQueryType = HeldVoiceQuery::class;
protected $voiceQueryDataType = '';
/**
* @param HeldCalendarQuery
*/
public function setCalendarQuery(HeldCalendarQuery $calendarQuery)
{
$this->calendarQuery = $calendarQuery;
}
/**
* @return HeldCalendarQuery
*/
public function getCalendarQuery()
{
return $this->calendarQuery;
}
/**
* @param HeldDriveQuery
*/
public function setDriveQuery(HeldDriveQuery $driveQuery)
{
$this->driveQuery = $driveQuery;
}
/**
* @return HeldDriveQuery
*/
public function getDriveQuery()
{
return $this->driveQuery;
}
/**
* @param HeldGroupsQuery
*/
public function setGroupsQuery(HeldGroupsQuery $groupsQuery)
{
$this->groupsQuery = $groupsQuery;
}
/**
* @return HeldGroupsQuery
*/
public function getGroupsQuery()
{
return $this->groupsQuery;
}
/**
* @param HeldHangoutsChatQuery
*/
public function setHangoutsChatQuery(HeldHangoutsChatQuery $hangoutsChatQuery)
{
$this->hangoutsChatQuery = $hangoutsChatQuery;
}
/**
* @return HeldHangoutsChatQuery
*/
public function getHangoutsChatQuery()
{
return $this->hangoutsChatQuery;
}
/**
* @param HeldMailQuery
*/
public function setMailQuery(HeldMailQuery $mailQuery)
{
$this->mailQuery = $mailQuery;
}
/**
* @return HeldMailQuery
*/
public function getMailQuery()
{
return $this->mailQuery;
}
/**
* @param HeldVoiceQuery
*/
public function setVoiceQuery(HeldVoiceQuery $voiceQuery)
{
$this->voiceQuery = $voiceQuery;
}
/**
* @return HeldVoiceQuery
*/
public function getVoiceQuery()
{
return $this->voiceQuery;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CorpusQuery::class, 'Google_Service_Vault_CorpusQuery');
@@ -0,0 +1,96 @@
<?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\Vault;
class CountArtifactsMetadata extends \Google\Model
{
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $matterId;
protected $queryType = Query::class;
protected $queryDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setMatterId($matterId)
{
$this->matterId = $matterId;
}
/**
* @return string
*/
public function getMatterId()
{
return $this->matterId;
}
/**
* @param Query
*/
public function setQuery(Query $query)
{
$this->query = $query;
}
/**
* @return Query
*/
public function getQuery()
{
return $this->query;
}
/**
* @param string
*/
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(CountArtifactsMetadata::class, 'Google_Service_Vault_CountArtifactsMetadata');
@@ -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\Vault;
class CountArtifactsRequest extends \Google\Model
{
protected $queryType = Query::class;
protected $queryDataType = '';
/**
* @var string
*/
public $view;
/**
* @param Query
*/
public function setQuery(Query $query)
{
$this->query = $query;
}
/**
* @return Query
*/
public function getQuery()
{
return $this->query;
}
/**
* @param string
*/
public function setView($view)
{
$this->view = $view;
}
/**
* @return string
*/
public function getView()
{
return $this->view;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CountArtifactsRequest::class, 'Google_Service_Vault_CountArtifactsRequest');
@@ -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\Vault;
class CountArtifactsResponse extends \Google\Model
{
protected $groupsCountResultType = GroupsCountResult::class;
protected $groupsCountResultDataType = '';
protected $mailCountResultType = MailCountResult::class;
protected $mailCountResultDataType = '';
/**
* @var string
*/
public $totalCount;
/**
* @param GroupsCountResult
*/
public function setGroupsCountResult(GroupsCountResult $groupsCountResult)
{
$this->groupsCountResult = $groupsCountResult;
}
/**
* @return GroupsCountResult
*/
public function getGroupsCountResult()
{
return $this->groupsCountResult;
}
/**
* @param MailCountResult
*/
public function setMailCountResult(MailCountResult $mailCountResult)
{
$this->mailCountResult = $mailCountResult;
}
/**
* @return MailCountResult
*/
public function getMailCountResult()
{
return $this->mailCountResult;
}
/**
* @param string
*/
public function setTotalCount($totalCount)
{
$this->totalCount = $totalCount;
}
/**
* @return string
*/
public function getTotalCount()
{
return $this->totalCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CountArtifactsResponse::class, 'Google_Service_Vault_CountArtifactsResponse');
@@ -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\Vault;
class DriveExportOptions extends \Google\Model
{
/**
* @var bool
*/
public $includeAccessInfo;
/**
* @param bool
*/
public function setIncludeAccessInfo($includeAccessInfo)
{
$this->includeAccessInfo = $includeAccessInfo;
}
/**
* @return bool
*/
public function getIncludeAccessInfo()
{
return $this->includeAccessInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DriveExportOptions::class, 'Google_Service_Vault_DriveExportOptions');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Vault;
class DriveOptions extends \Google\Model
{
/**
* @var string
*/
public $clientSideEncryptedOption;
/**
* @var bool
*/
public $includeSharedDrives;
/**
* @var bool
*/
public $includeTeamDrives;
/**
* @var string
*/
public $versionDate;
/**
* @param string
*/
public function setClientSideEncryptedOption($clientSideEncryptedOption)
{
$this->clientSideEncryptedOption = $clientSideEncryptedOption;
}
/**
* @return string
*/
public function getClientSideEncryptedOption()
{
return $this->clientSideEncryptedOption;
}
/**
* @param bool
*/
public function setIncludeSharedDrives($includeSharedDrives)
{
$this->includeSharedDrives = $includeSharedDrives;
}
/**
* @return bool
*/
public function getIncludeSharedDrives()
{
return $this->includeSharedDrives;
}
/**
* @param bool
*/
public function setIncludeTeamDrives($includeTeamDrives)
{
$this->includeTeamDrives = $includeTeamDrives;
}
/**
* @return bool
*/
public function getIncludeTeamDrives()
{
return $this->includeTeamDrives;
}
/**
* @param string
*/
public function setVersionDate($versionDate)
{
$this->versionDate = $versionDate;
}
/**
* @return string
*/
public function getVersionDate()
{
return $this->versionDate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DriveOptions::class, 'Google_Service_Vault_DriveOptions');
@@ -0,0 +1,214 @@
<?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\Vault;
class Export extends \Google\Model
{
protected $cloudStorageSinkType = CloudStorageSink::class;
protected $cloudStorageSinkDataType = '';
/**
* @var string
*/
public $createTime;
protected $exportOptionsType = ExportOptions::class;
protected $exportOptionsDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $matterId;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $parentExportId;
protected $queryType = Query::class;
protected $queryDataType = '';
protected $requesterType = UserInfo::class;
protected $requesterDataType = '';
protected $statsType = ExportStats::class;
protected $statsDataType = '';
/**
* @var string
*/
public $status;
/**
* @param CloudStorageSink
*/
public function setCloudStorageSink(CloudStorageSink $cloudStorageSink)
{
$this->cloudStorageSink = $cloudStorageSink;
}
/**
* @return CloudStorageSink
*/
public function getCloudStorageSink()
{
return $this->cloudStorageSink;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param ExportOptions
*/
public function setExportOptions(ExportOptions $exportOptions)
{
$this->exportOptions = $exportOptions;
}
/**
* @return ExportOptions
*/
public function getExportOptions()
{
return $this->exportOptions;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setMatterId($matterId)
{
$this->matterId = $matterId;
}
/**
* @return string
*/
public function getMatterId()
{
return $this->matterId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setParentExportId($parentExportId)
{
$this->parentExportId = $parentExportId;
}
/**
* @return string
*/
public function getParentExportId()
{
return $this->parentExportId;
}
/**
* @param Query
*/
public function setQuery(Query $query)
{
$this->query = $query;
}
/**
* @return Query
*/
public function getQuery()
{
return $this->query;
}
/**
* @param UserInfo
*/
public function setRequester(UserInfo $requester)
{
$this->requester = $requester;
}
/**
* @return UserInfo
*/
public function getRequester()
{
return $this->requester;
}
/**
* @param ExportStats
*/
public function setStats(ExportStats $stats)
{
$this->stats = $stats;
}
/**
* @return ExportStats
*/
public function getStats()
{
return $this->stats;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Export::class, 'Google_Service_Vault_Export');
@@ -0,0 +1,140 @@
<?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\Vault;
class ExportOptions extends \Google\Model
{
protected $calendarOptionsType = CalendarExportOptions::class;
protected $calendarOptionsDataType = '';
protected $driveOptionsType = DriveExportOptions::class;
protected $driveOptionsDataType = '';
protected $groupsOptionsType = GroupsExportOptions::class;
protected $groupsOptionsDataType = '';
protected $hangoutsChatOptionsType = HangoutsChatExportOptions::class;
protected $hangoutsChatOptionsDataType = '';
protected $mailOptionsType = MailExportOptions::class;
protected $mailOptionsDataType = '';
/**
* @var string
*/
public $region;
protected $voiceOptionsType = VoiceExportOptions::class;
protected $voiceOptionsDataType = '';
/**
* @param CalendarExportOptions
*/
public function setCalendarOptions(CalendarExportOptions $calendarOptions)
{
$this->calendarOptions = $calendarOptions;
}
/**
* @return CalendarExportOptions
*/
public function getCalendarOptions()
{
return $this->calendarOptions;
}
/**
* @param DriveExportOptions
*/
public function setDriveOptions(DriveExportOptions $driveOptions)
{
$this->driveOptions = $driveOptions;
}
/**
* @return DriveExportOptions
*/
public function getDriveOptions()
{
return $this->driveOptions;
}
/**
* @param GroupsExportOptions
*/
public function setGroupsOptions(GroupsExportOptions $groupsOptions)
{
$this->groupsOptions = $groupsOptions;
}
/**
* @return GroupsExportOptions
*/
public function getGroupsOptions()
{
return $this->groupsOptions;
}
/**
* @param HangoutsChatExportOptions
*/
public function setHangoutsChatOptions(HangoutsChatExportOptions $hangoutsChatOptions)
{
$this->hangoutsChatOptions = $hangoutsChatOptions;
}
/**
* @return HangoutsChatExportOptions
*/
public function getHangoutsChatOptions()
{
return $this->hangoutsChatOptions;
}
/**
* @param MailExportOptions
*/
public function setMailOptions(MailExportOptions $mailOptions)
{
$this->mailOptions = $mailOptions;
}
/**
* @return MailExportOptions
*/
public function getMailOptions()
{
return $this->mailOptions;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param VoiceExportOptions
*/
public function setVoiceOptions(VoiceExportOptions $voiceOptions)
{
$this->voiceOptions = $voiceOptions;
}
/**
* @return VoiceExportOptions
*/
public function getVoiceOptions()
{
return $this->voiceOptions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExportOptions::class, 'Google_Service_Vault_ExportOptions');
@@ -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\Vault;
class ExportStats extends \Google\Model
{
/**
* @var string
*/
public $exportedArtifactCount;
/**
* @var string
*/
public $sizeInBytes;
/**
* @var string
*/
public $totalArtifactCount;
/**
* @param string
*/
public function setExportedArtifactCount($exportedArtifactCount)
{
$this->exportedArtifactCount = $exportedArtifactCount;
}
/**
* @return string
*/
public function getExportedArtifactCount()
{
return $this->exportedArtifactCount;
}
/**
* @param string
*/
public function setSizeInBytes($sizeInBytes)
{
$this->sizeInBytes = $sizeInBytes;
}
/**
* @return string
*/
public function getSizeInBytes()
{
return $this->sizeInBytes;
}
/**
* @param string
*/
public function setTotalArtifactCount($totalArtifactCount)
{
$this->totalArtifactCount = $totalArtifactCount;
}
/**
* @return string
*/
public function getTotalArtifactCount()
{
return $this->totalArtifactCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExportStats::class, 'Google_Service_Vault_ExportStats');
@@ -0,0 +1,113 @@
<?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\Vault;
class GroupsCountResult extends \Google\Collection
{
protected $collection_key = 'nonQueryableAccounts';
protected $accountCountErrorsType = AccountCountError::class;
protected $accountCountErrorsDataType = 'array';
protected $accountCountsType = AccountCount::class;
protected $accountCountsDataType = 'array';
/**
* @var string
*/
public $matchingAccountsCount;
/**
* @var string[]
*/
public $nonQueryableAccounts;
/**
* @var string
*/
public $queriedAccountsCount;
/**
* @param AccountCountError[]
*/
public function setAccountCountErrors($accountCountErrors)
{
$this->accountCountErrors = $accountCountErrors;
}
/**
* @return AccountCountError[]
*/
public function getAccountCountErrors()
{
return $this->accountCountErrors;
}
/**
* @param AccountCount[]
*/
public function setAccountCounts($accountCounts)
{
$this->accountCounts = $accountCounts;
}
/**
* @return AccountCount[]
*/
public function getAccountCounts()
{
return $this->accountCounts;
}
/**
* @param string
*/
public function setMatchingAccountsCount($matchingAccountsCount)
{
$this->matchingAccountsCount = $matchingAccountsCount;
}
/**
* @return string
*/
public function getMatchingAccountsCount()
{
return $this->matchingAccountsCount;
}
/**
* @param string[]
*/
public function setNonQueryableAccounts($nonQueryableAccounts)
{
$this->nonQueryableAccounts = $nonQueryableAccounts;
}
/**
* @return string[]
*/
public function getNonQueryableAccounts()
{
return $this->nonQueryableAccounts;
}
/**
* @param string
*/
public function setQueriedAccountsCount($queriedAccountsCount)
{
$this->queriedAccountsCount = $queriedAccountsCount;
}
/**
* @return string
*/
public function getQueriedAccountsCount()
{
return $this->queriedAccountsCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GroupsCountResult::class, 'Google_Service_Vault_GroupsCountResult');
@@ -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\Vault;
class GroupsExportOptions extends \Google\Model
{
/**
* @var string
*/
public $exportFormat;
/**
* @param string
*/
public function setExportFormat($exportFormat)
{
$this->exportFormat = $exportFormat;
}
/**
* @return string
*/
public function getExportFormat()
{
return $this->exportFormat;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GroupsExportOptions::class, 'Google_Service_Vault_GroupsExportOptions');
@@ -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\Vault;
class HangoutsChatExportOptions extends \Google\Model
{
/**
* @var string
*/
public $exportFormat;
/**
* @param string
*/
public function setExportFormat($exportFormat)
{
$this->exportFormat = $exportFormat;
}
/**
* @return string
*/
public function getExportFormat()
{
return $this->exportFormat;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HangoutsChatExportOptions::class, 'Google_Service_Vault_HangoutsChatExportOptions');
@@ -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\Vault;
class HangoutsChatInfo extends \Google\Collection
{
protected $collection_key = 'roomId';
/**
* @var string[]
*/
public $roomId;
/**
* @param string[]
*/
public function setRoomId($roomId)
{
$this->roomId = $roomId;
}
/**
* @return string[]
*/
public function getRoomId()
{
return $this->roomId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HangoutsChatInfo::class, 'Google_Service_Vault_HangoutsChatInfo');
@@ -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\Vault;
class HangoutsChatOptions extends \Google\Model
{
/**
* @var bool
*/
public $includeRooms;
/**
* @param bool
*/
public function setIncludeRooms($includeRooms)
{
$this->includeRooms = $includeRooms;
}
/**
* @return bool
*/
public function getIncludeRooms()
{
return $this->includeRooms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HangoutsChatOptions::class, 'Google_Service_Vault_HangoutsChatOptions');
@@ -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\Vault;
class HeldAccount extends \Google\Model
{
/**
* @var string
*/
public $accountId;
/**
* @var string
*/
public $email;
/**
* @var string
*/
public $firstName;
/**
* @var string
*/
public $holdTime;
/**
* @var string
*/
public $lastName;
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string
*/
public function setFirstName($firstName)
{
$this->firstName = $firstName;
}
/**
* @return string
*/
public function getFirstName()
{
return $this->firstName;
}
/**
* @param string
*/
public function setHoldTime($holdTime)
{
$this->holdTime = $holdTime;
}
/**
* @return string
*/
public function getHoldTime()
{
return $this->holdTime;
}
/**
* @param string
*/
public function setLastName($lastName)
{
$this->lastName = $lastName;
}
/**
* @return string
*/
public function getLastName()
{
return $this->lastName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HeldAccount::class, 'Google_Service_Vault_HeldAccount');
@@ -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\Vault;
class HeldCalendarQuery extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HeldCalendarQuery::class, 'Google_Service_Vault_HeldCalendarQuery');
@@ -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\Vault;
class HeldDriveQuery extends \Google\Model
{
/**
* @var bool
*/
public $includeSharedDriveFiles;
/**
* @var bool
*/
public $includeTeamDriveFiles;
/**
* @param bool
*/
public function setIncludeSharedDriveFiles($includeSharedDriveFiles)
{
$this->includeSharedDriveFiles = $includeSharedDriveFiles;
}
/**
* @return bool
*/
public function getIncludeSharedDriveFiles()
{
return $this->includeSharedDriveFiles;
}
/**
* @param bool
*/
public function setIncludeTeamDriveFiles($includeTeamDriveFiles)
{
$this->includeTeamDriveFiles = $includeTeamDriveFiles;
}
/**
* @return bool
*/
public function getIncludeTeamDriveFiles()
{
return $this->includeTeamDriveFiles;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HeldDriveQuery::class, 'Google_Service_Vault_HeldDriveQuery');
@@ -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\Vault;
class HeldGroupsQuery extends \Google\Model
{
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $terms;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setTerms($terms)
{
$this->terms = $terms;
}
/**
* @return string
*/
public function getTerms()
{
return $this->terms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HeldGroupsQuery::class, 'Google_Service_Vault_HeldGroupsQuery');
@@ -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\Vault;
class HeldHangoutsChatQuery extends \Google\Model
{
/**
* @var bool
*/
public $includeRooms;
/**
* @param bool
*/
public function setIncludeRooms($includeRooms)
{
$this->includeRooms = $includeRooms;
}
/**
* @return bool
*/
public function getIncludeRooms()
{
return $this->includeRooms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HeldHangoutsChatQuery::class, 'Google_Service_Vault_HeldHangoutsChatQuery');
@@ -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\Vault;
class HeldMailQuery extends \Google\Model
{
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $terms;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setTerms($terms)
{
$this->terms = $terms;
}
/**
* @return string
*/
public function getTerms()
{
return $this->terms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HeldMailQuery::class, 'Google_Service_Vault_HeldMailQuery');
@@ -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\Vault;
class HeldOrgUnit extends \Google\Model
{
/**
* @var string
*/
public $holdTime;
/**
* @var string
*/
public $orgUnitId;
/**
* @param string
*/
public function setHoldTime($holdTime)
{
$this->holdTime = $holdTime;
}
/**
* @return string
*/
public function getHoldTime()
{
return $this->holdTime;
}
/**
* @param string
*/
public function setOrgUnitId($orgUnitId)
{
$this->orgUnitId = $orgUnitId;
}
/**
* @return string
*/
public function getOrgUnitId()
{
return $this->orgUnitId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HeldOrgUnit::class, 'Google_Service_Vault_HeldOrgUnit');
@@ -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\Vault;
class HeldVoiceQuery extends \Google\Collection
{
protected $collection_key = 'coveredData';
/**
* @var string[]
*/
public $coveredData;
/**
* @param string[]
*/
public function setCoveredData($coveredData)
{
$this->coveredData = $coveredData;
}
/**
* @return string[]
*/
public function getCoveredData()
{
return $this->coveredData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HeldVoiceQuery::class, 'Google_Service_Vault_HeldVoiceQuery');
@@ -0,0 +1,147 @@
<?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\Vault;
class Hold extends \Google\Collection
{
protected $collection_key = 'accounts';
protected $accountsType = HeldAccount::class;
protected $accountsDataType = 'array';
/**
* @var string
*/
public $corpus;
/**
* @var string
*/
public $holdId;
/**
* @var string
*/
public $name;
protected $orgUnitType = HeldOrgUnit::class;
protected $orgUnitDataType = '';
protected $queryType = CorpusQuery::class;
protected $queryDataType = '';
/**
* @var string
*/
public $updateTime;
/**
* @param HeldAccount[]
*/
public function setAccounts($accounts)
{
$this->accounts = $accounts;
}
/**
* @return HeldAccount[]
*/
public function getAccounts()
{
return $this->accounts;
}
/**
* @param string
*/
public function setCorpus($corpus)
{
$this->corpus = $corpus;
}
/**
* @return string
*/
public function getCorpus()
{
return $this->corpus;
}
/**
* @param string
*/
public function setHoldId($holdId)
{
$this->holdId = $holdId;
}
/**
* @return string
*/
public function getHoldId()
{
return $this->holdId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param HeldOrgUnit
*/
public function setOrgUnit(HeldOrgUnit $orgUnit)
{
$this->orgUnit = $orgUnit;
}
/**
* @return HeldOrgUnit
*/
public function getOrgUnit()
{
return $this->orgUnit;
}
/**
* @param CorpusQuery
*/
public function setQuery(CorpusQuery $query)
{
$this->query = $query;
}
/**
* @return CorpusQuery
*/
public function getQuery()
{
return $this->query;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Hold::class, 'Google_Service_Vault_Hold');
@@ -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\Vault;
class ListExportsResponse extends \Google\Collection
{
protected $collection_key = 'exports';
protected $exportsType = Export::class;
protected $exportsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Export[]
*/
public function setExports($exports)
{
$this->exports = $exports;
}
/**
* @return Export[]
*/
public function getExports()
{
return $this->exports;
}
/**
* @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(ListExportsResponse::class, 'Google_Service_Vault_ListExportsResponse');
@@ -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\Vault;
class ListHeldAccountsResponse extends \Google\Collection
{
protected $collection_key = 'accounts';
protected $accountsType = HeldAccount::class;
protected $accountsDataType = 'array';
/**
* @param HeldAccount[]
*/
public function setAccounts($accounts)
{
$this->accounts = $accounts;
}
/**
* @return HeldAccount[]
*/
public function getAccounts()
{
return $this->accounts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListHeldAccountsResponse::class, 'Google_Service_Vault_ListHeldAccountsResponse');
@@ -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\Vault;
class ListHoldsResponse extends \Google\Collection
{
protected $collection_key = 'holds';
protected $holdsType = Hold::class;
protected $holdsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Hold[]
*/
public function setHolds($holds)
{
$this->holds = $holds;
}
/**
* @return Hold[]
*/
public function getHolds()
{
return $this->holds;
}
/**
* @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(ListHoldsResponse::class, 'Google_Service_Vault_ListHoldsResponse');
@@ -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\Vault;
class ListMattersResponse extends \Google\Collection
{
protected $collection_key = 'matters';
protected $mattersType = Matter::class;
protected $mattersDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Matter[]
*/
public function setMatters($matters)
{
$this->matters = $matters;
}
/**
* @return Matter[]
*/
public function getMatters()
{
return $this->matters;
}
/**
* @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(ListMattersResponse::class, 'Google_Service_Vault_ListMattersResponse');
@@ -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\Vault;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_Vault_ListOperationsResponse');
@@ -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\Vault;
class ListSavedQueriesResponse extends \Google\Collection
{
protected $collection_key = 'savedQueries';
/**
* @var string
*/
public $nextPageToken;
protected $savedQueriesType = SavedQuery::class;
protected $savedQueriesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param SavedQuery[]
*/
public function setSavedQueries($savedQueries)
{
$this->savedQueries = $savedQueries;
}
/**
* @return SavedQuery[]
*/
public function getSavedQueries()
{
return $this->savedQueries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListSavedQueriesResponse::class, 'Google_Service_Vault_ListSavedQueriesResponse');
@@ -0,0 +1,113 @@
<?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\Vault;
class MailCountResult extends \Google\Collection
{
protected $collection_key = 'nonQueryableAccounts';
protected $accountCountErrorsType = AccountCountError::class;
protected $accountCountErrorsDataType = 'array';
protected $accountCountsType = AccountCount::class;
protected $accountCountsDataType = 'array';
/**
* @var string
*/
public $matchingAccountsCount;
/**
* @var string[]
*/
public $nonQueryableAccounts;
/**
* @var string
*/
public $queriedAccountsCount;
/**
* @param AccountCountError[]
*/
public function setAccountCountErrors($accountCountErrors)
{
$this->accountCountErrors = $accountCountErrors;
}
/**
* @return AccountCountError[]
*/
public function getAccountCountErrors()
{
return $this->accountCountErrors;
}
/**
* @param AccountCount[]
*/
public function setAccountCounts($accountCounts)
{
$this->accountCounts = $accountCounts;
}
/**
* @return AccountCount[]
*/
public function getAccountCounts()
{
return $this->accountCounts;
}
/**
* @param string
*/
public function setMatchingAccountsCount($matchingAccountsCount)
{
$this->matchingAccountsCount = $matchingAccountsCount;
}
/**
* @return string
*/
public function getMatchingAccountsCount()
{
return $this->matchingAccountsCount;
}
/**
* @param string[]
*/
public function setNonQueryableAccounts($nonQueryableAccounts)
{
$this->nonQueryableAccounts = $nonQueryableAccounts;
}
/**
* @return string[]
*/
public function getNonQueryableAccounts()
{
return $this->nonQueryableAccounts;
}
/**
* @param string
*/
public function setQueriedAccountsCount($queriedAccountsCount)
{
$this->queriedAccountsCount = $queriedAccountsCount;
}
/**
* @return string
*/
public function getQueriedAccountsCount()
{
return $this->queriedAccountsCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MailCountResult::class, 'Google_Service_Vault_MailCountResult');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Vault;
class MailExportOptions extends \Google\Model
{
/**
* @var string
*/
public $exportFormat;
/**
* @var bool
*/
public $exportLinkedDriveFiles;
/**
* @var bool
*/
public $showConfidentialModeContent;
/**
* @var bool
*/
public $useNewExport;
/**
* @param string
*/
public function setExportFormat($exportFormat)
{
$this->exportFormat = $exportFormat;
}
/**
* @return string
*/
public function getExportFormat()
{
return $this->exportFormat;
}
/**
* @param bool
*/
public function setExportLinkedDriveFiles($exportLinkedDriveFiles)
{
$this->exportLinkedDriveFiles = $exportLinkedDriveFiles;
}
/**
* @return bool
*/
public function getExportLinkedDriveFiles()
{
return $this->exportLinkedDriveFiles;
}
/**
* @param bool
*/
public function setShowConfidentialModeContent($showConfidentialModeContent)
{
$this->showConfidentialModeContent = $showConfidentialModeContent;
}
/**
* @return bool
*/
public function getShowConfidentialModeContent()
{
return $this->showConfidentialModeContent;
}
/**
* @param bool
*/
public function setUseNewExport($useNewExport)
{
$this->useNewExport = $useNewExport;
}
/**
* @return bool
*/
public function getUseNewExport()
{
return $this->useNewExport;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MailExportOptions::class, 'Google_Service_Vault_MailExportOptions');
@@ -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\Vault;
class MailOptions extends \Google\Model
{
/**
* @var string
*/
public $clientSideEncryptedOption;
/**
* @var bool
*/
public $excludeDrafts;
/**
* @param string
*/
public function setClientSideEncryptedOption($clientSideEncryptedOption)
{
$this->clientSideEncryptedOption = $clientSideEncryptedOption;
}
/**
* @return string
*/
public function getClientSideEncryptedOption()
{
return $this->clientSideEncryptedOption;
}
/**
* @param bool
*/
public function setExcludeDrafts($excludeDrafts)
{
$this->excludeDrafts = $excludeDrafts;
}
/**
* @return bool
*/
public function getExcludeDrafts()
{
return $this->excludeDrafts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MailOptions::class, 'Google_Service_Vault_MailOptions');
@@ -0,0 +1,133 @@
<?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\Vault;
class Matter extends \Google\Collection
{
protected $collection_key = 'matterPermissions';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $matterId;
protected $matterPermissionsType = MatterPermission::class;
protected $matterPermissionsDataType = 'array';
/**
* @var string
*/
public $matterRegion;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setMatterId($matterId)
{
$this->matterId = $matterId;
}
/**
* @return string
*/
public function getMatterId()
{
return $this->matterId;
}
/**
* @param MatterPermission[]
*/
public function setMatterPermissions($matterPermissions)
{
$this->matterPermissions = $matterPermissions;
}
/**
* @return MatterPermission[]
*/
public function getMatterPermissions()
{
return $this->matterPermissions;
}
/**
* @param string
*/
public function setMatterRegion($matterRegion)
{
$this->matterRegion = $matterRegion;
}
/**
* @return string
*/
public function getMatterRegion()
{
return $this->matterRegion;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Matter::class, 'Google_Service_Vault_Matter');
@@ -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\Vault;
class MatterPermission extends \Google\Model
{
/**
* @var string
*/
public $accountId;
/**
* @var string
*/
public $role;
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MatterPermission::class, 'Google_Service_Vault_MatterPermission');
@@ -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\Vault;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_Vault_Operation');
@@ -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\Vault;
class OrgUnitInfo extends \Google\Model
{
/**
* @var string
*/
public $orgUnitId;
/**
* @param string
*/
public function setOrgUnitId($orgUnitId)
{
$this->orgUnitId = $orgUnitId;
}
/**
* @return string
*/
public function getOrgUnitId()
{
return $this->orgUnitId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrgUnitInfo::class, 'Google_Service_Vault_OrgUnitInfo');
@@ -0,0 +1,346 @@
<?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\Vault;
class Query extends \Google\Model
{
protected $accountInfoType = AccountInfo::class;
protected $accountInfoDataType = '';
protected $calendarOptionsType = CalendarOptions::class;
protected $calendarOptionsDataType = '';
/**
* @var string
*/
public $corpus;
/**
* @var string
*/
public $dataScope;
protected $driveOptionsType = DriveOptions::class;
protected $driveOptionsDataType = '';
/**
* @var string
*/
public $endTime;
protected $hangoutsChatInfoType = HangoutsChatInfo::class;
protected $hangoutsChatInfoDataType = '';
protected $hangoutsChatOptionsType = HangoutsChatOptions::class;
protected $hangoutsChatOptionsDataType = '';
protected $mailOptionsType = MailOptions::class;
protected $mailOptionsDataType = '';
/**
* @var string
*/
public $method;
protected $orgUnitInfoType = OrgUnitInfo::class;
protected $orgUnitInfoDataType = '';
/**
* @var string
*/
public $searchMethod;
protected $sharedDriveInfoType = SharedDriveInfo::class;
protected $sharedDriveInfoDataType = '';
protected $sitesUrlInfoType = SitesUrlInfo::class;
protected $sitesUrlInfoDataType = '';
/**
* @var string
*/
public $startTime;
protected $teamDriveInfoType = TeamDriveInfo::class;
protected $teamDriveInfoDataType = '';
/**
* @var string
*/
public $terms;
/**
* @var string
*/
public $timeZone;
protected $voiceOptionsType = VoiceOptions::class;
protected $voiceOptionsDataType = '';
/**
* @param AccountInfo
*/
public function setAccountInfo(AccountInfo $accountInfo)
{
$this->accountInfo = $accountInfo;
}
/**
* @return AccountInfo
*/
public function getAccountInfo()
{
return $this->accountInfo;
}
/**
* @param CalendarOptions
*/
public function setCalendarOptions(CalendarOptions $calendarOptions)
{
$this->calendarOptions = $calendarOptions;
}
/**
* @return CalendarOptions
*/
public function getCalendarOptions()
{
return $this->calendarOptions;
}
/**
* @param string
*/
public function setCorpus($corpus)
{
$this->corpus = $corpus;
}
/**
* @return string
*/
public function getCorpus()
{
return $this->corpus;
}
/**
* @param string
*/
public function setDataScope($dataScope)
{
$this->dataScope = $dataScope;
}
/**
* @return string
*/
public function getDataScope()
{
return $this->dataScope;
}
/**
* @param DriveOptions
*/
public function setDriveOptions(DriveOptions $driveOptions)
{
$this->driveOptions = $driveOptions;
}
/**
* @return DriveOptions
*/
public function getDriveOptions()
{
return $this->driveOptions;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param HangoutsChatInfo
*/
public function setHangoutsChatInfo(HangoutsChatInfo $hangoutsChatInfo)
{
$this->hangoutsChatInfo = $hangoutsChatInfo;
}
/**
* @return HangoutsChatInfo
*/
public function getHangoutsChatInfo()
{
return $this->hangoutsChatInfo;
}
/**
* @param HangoutsChatOptions
*/
public function setHangoutsChatOptions(HangoutsChatOptions $hangoutsChatOptions)
{
$this->hangoutsChatOptions = $hangoutsChatOptions;
}
/**
* @return HangoutsChatOptions
*/
public function getHangoutsChatOptions()
{
return $this->hangoutsChatOptions;
}
/**
* @param MailOptions
*/
public function setMailOptions(MailOptions $mailOptions)
{
$this->mailOptions = $mailOptions;
}
/**
* @return MailOptions
*/
public function getMailOptions()
{
return $this->mailOptions;
}
/**
* @param string
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return string
*/
public function getMethod()
{
return $this->method;
}
/**
* @param OrgUnitInfo
*/
public function setOrgUnitInfo(OrgUnitInfo $orgUnitInfo)
{
$this->orgUnitInfo = $orgUnitInfo;
}
/**
* @return OrgUnitInfo
*/
public function getOrgUnitInfo()
{
return $this->orgUnitInfo;
}
/**
* @param string
*/
public function setSearchMethod($searchMethod)
{
$this->searchMethod = $searchMethod;
}
/**
* @return string
*/
public function getSearchMethod()
{
return $this->searchMethod;
}
/**
* @param SharedDriveInfo
*/
public function setSharedDriveInfo(SharedDriveInfo $sharedDriveInfo)
{
$this->sharedDriveInfo = $sharedDriveInfo;
}
/**
* @return SharedDriveInfo
*/
public function getSharedDriveInfo()
{
return $this->sharedDriveInfo;
}
/**
* @param SitesUrlInfo
*/
public function setSitesUrlInfo(SitesUrlInfo $sitesUrlInfo)
{
$this->sitesUrlInfo = $sitesUrlInfo;
}
/**
* @return SitesUrlInfo
*/
public function getSitesUrlInfo()
{
return $this->sitesUrlInfo;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param TeamDriveInfo
*/
public function setTeamDriveInfo(TeamDriveInfo $teamDriveInfo)
{
$this->teamDriveInfo = $teamDriveInfo;
}
/**
* @return TeamDriveInfo
*/
public function getTeamDriveInfo()
{
return $this->teamDriveInfo;
}
/**
* @param string
*/
public function setTerms($terms)
{
$this->terms = $terms;
}
/**
* @return string
*/
public function getTerms()
{
return $this->terms;
}
/**
* @param string
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
/**
* @param VoiceOptions
*/
public function setVoiceOptions(VoiceOptions $voiceOptions)
{
$this->voiceOptions = $voiceOptions;
}
/**
* @return VoiceOptions
*/
public function getVoiceOptions()
{
return $this->voiceOptions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Query::class, 'Google_Service_Vault_Query');
@@ -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\Vault;
class RemoveHeldAccountsRequest extends \Google\Collection
{
protected $collection_key = 'accountIds';
/**
* @var string[]
*/
public $accountIds;
/**
* @param string[]
*/
public function setAccountIds($accountIds)
{
$this->accountIds = $accountIds;
}
/**
* @return string[]
*/
public function getAccountIds()
{
return $this->accountIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveHeldAccountsRequest::class, 'Google_Service_Vault_RemoveHeldAccountsRequest');
@@ -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\Vault;
class RemoveHeldAccountsResponse extends \Google\Collection
{
protected $collection_key = 'statuses';
protected $statusesType = Status::class;
protected $statusesDataType = 'array';
/**
* @param Status[]
*/
public function setStatuses($statuses)
{
$this->statuses = $statuses;
}
/**
* @return Status[]
*/
public function getStatuses()
{
return $this->statuses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveHeldAccountsResponse::class, 'Google_Service_Vault_RemoveHeldAccountsResponse');
@@ -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\Vault;
class RemoveMatterPermissionsRequest extends \Google\Model
{
/**
* @var string
*/
public $accountId;
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveMatterPermissionsRequest::class, 'Google_Service_Vault_RemoveMatterPermissionsRequest');
@@ -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\Vault;
class ReopenMatterRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReopenMatterRequest::class, 'Google_Service_Vault_ReopenMatterRequest');
@@ -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\Vault;
class ReopenMatterResponse extends \Google\Model
{
protected $matterType = Matter::class;
protected $matterDataType = '';
/**
* @param Matter
*/
public function setMatter(Matter $matter)
{
$this->matter = $matter;
}
/**
* @return Matter
*/
public function getMatter()
{
return $this->matter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReopenMatterResponse::class, 'Google_Service_Vault_ReopenMatterResponse');
@@ -0,0 +1,226 @@
<?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\Vault\Resource;
use Google\Service\Vault\AddMatterPermissionsRequest;
use Google\Service\Vault\CloseMatterRequest;
use Google\Service\Vault\CloseMatterResponse;
use Google\Service\Vault\CountArtifactsRequest;
use Google\Service\Vault\ListMattersResponse;
use Google\Service\Vault\Matter;
use Google\Service\Vault\MatterPermission;
use Google\Service\Vault\Operation;
use Google\Service\Vault\RemoveMatterPermissionsRequest;
use Google\Service\Vault\ReopenMatterRequest;
use Google\Service\Vault\ReopenMatterResponse;
use Google\Service\Vault\UndeleteMatterRequest;
use Google\Service\Vault\VaultEmpty;
/**
* The "matters" collection of methods.
* Typical usage is:
* <code>
* $vaultService = new Google\Service\Vault(...);
* $matters = $vaultService->matters;
* </code>
*/
class Matters extends \Google\Service\Resource
{
/**
* Adds an account as a matter collaborator. (matters.addPermissions)
*
* @param string $matterId The matter ID.
* @param AddMatterPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return MatterPermission
* @throws \Google\Service\Exception
*/
public function addPermissions($matterId, AddMatterPermissionsRequest $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('addPermissions', [$params], MatterPermission::class);
}
/**
* Closes the specified matter. Returns the matter with updated state.
* (matters.close)
*
* @param string $matterId The matter ID.
* @param CloseMatterRequest $postBody
* @param array $optParams Optional parameters.
* @return CloseMatterResponse
* @throws \Google\Service\Exception
*/
public function close($matterId, CloseMatterRequest $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('close', [$params], CloseMatterResponse::class);
}
/**
* Counts the accounts processed by the specified query. (matters.count)
*
* @param string $matterId The matter ID.
* @param CountArtifactsRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function count($matterId, CountArtifactsRequest $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('count', [$params], Operation::class);
}
/**
* Creates a matter with the given name and description. The initial state is
* open, and the owner is the method caller. Returns the created matter with
* default view. (matters.create)
*
* @param Matter $postBody
* @param array $optParams Optional parameters.
* @return Matter
* @throws \Google\Service\Exception
*/
public function create(Matter $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Matter::class);
}
/**
* Deletes the specified matter. Returns the matter with updated state.
* (matters.delete)
*
* @param string $matterId The matter ID
* @param array $optParams Optional parameters.
* @return Matter
* @throws \Google\Service\Exception
*/
public function delete($matterId, $optParams = [])
{
$params = ['matterId' => $matterId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Matter::class);
}
/**
* Gets the specified matter. (matters.get)
*
* @param string $matterId The matter ID.
* @param array $optParams Optional parameters.
*
* @opt_param string view Specifies how much information about the matter to
* return in the response.
* @return Matter
* @throws \Google\Service\Exception
*/
public function get($matterId, $optParams = [])
{
$params = ['matterId' => $matterId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Matter::class);
}
/**
* Lists matters the requestor has access to. (matters.listMatters)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The number of matters to return in the response.
* Default and maximum are 100.
* @opt_param string pageToken The pagination token as returned in the response.
* @opt_param string state If set, lists only matters with the specified state.
* The default lists matters of all states.
* @opt_param string view Specifies how much information about the matter to
* return in response.
* @return ListMattersResponse
* @throws \Google\Service\Exception
*/
public function listMatters($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListMattersResponse::class);
}
/**
* Removes an account as a matter collaborator. (matters.removePermissions)
*
* @param string $matterId The matter ID.
* @param RemoveMatterPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return VaultEmpty
* @throws \Google\Service\Exception
*/
public function removePermissions($matterId, RemoveMatterPermissionsRequest $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('removePermissions', [$params], VaultEmpty::class);
}
/**
* Reopens the specified matter. Returns the matter with updated state.
* (matters.reopen)
*
* @param string $matterId The matter ID.
* @param ReopenMatterRequest $postBody
* @param array $optParams Optional parameters.
* @return ReopenMatterResponse
* @throws \Google\Service\Exception
*/
public function reopen($matterId, ReopenMatterRequest $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('reopen', [$params], ReopenMatterResponse::class);
}
/**
* Undeletes the specified matter. Returns the matter with updated state.
* (matters.undelete)
*
* @param string $matterId The matter ID.
* @param UndeleteMatterRequest $postBody
* @param array $optParams Optional parameters.
* @return Matter
* @throws \Google\Service\Exception
*/
public function undelete($matterId, UndeleteMatterRequest $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('undelete', [$params], Matter::class);
}
/**
* Updates the specified matter. This updates only the name and description of
* the matter, identified by matter ID. Changes to any other fields are ignored.
* Returns the default view of the matter. (matters.update)
*
* @param string $matterId The matter ID.
* @param Matter $postBody
* @param array $optParams Optional parameters.
* @return Matter
* @throws \Google\Service\Exception
*/
public function update($matterId, Matter $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], Matter::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Matters::class, 'Google_Service_Vault_Resource_Matters');
@@ -0,0 +1,100 @@
<?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\Vault\Resource;
use Google\Service\Vault\Export;
use Google\Service\Vault\ListExportsResponse;
use Google\Service\Vault\VaultEmpty;
/**
* The "exports" collection of methods.
* Typical usage is:
* <code>
* $vaultService = new Google\Service\Vault(...);
* $exports = $vaultService->matters_exports;
* </code>
*/
class MattersExports extends \Google\Service\Resource
{
/**
* Creates an export. (exports.create)
*
* @param string $matterId The matter ID.
* @param Export $postBody
* @param array $optParams Optional parameters.
* @return Export
* @throws \Google\Service\Exception
*/
public function create($matterId, Export $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Export::class);
}
/**
* Deletes an export. (exports.delete)
*
* @param string $matterId The matter ID.
* @param string $exportId The export ID.
* @param array $optParams Optional parameters.
* @return VaultEmpty
* @throws \Google\Service\Exception
*/
public function delete($matterId, $exportId, $optParams = [])
{
$params = ['matterId' => $matterId, 'exportId' => $exportId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], VaultEmpty::class);
}
/**
* Gets an export. (exports.get)
*
* @param string $matterId The matter ID.
* @param string $exportId The export ID.
* @param array $optParams Optional parameters.
* @return Export
* @throws \Google\Service\Exception
*/
public function get($matterId, $exportId, $optParams = [])
{
$params = ['matterId' => $matterId, 'exportId' => $exportId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Export::class);
}
/**
* Lists details about the exports in the specified matter.
* (exports.listMattersExports)
*
* @param string $matterId The matter ID.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The number of exports to return in the response.
* @opt_param string pageToken The pagination token as returned in the response.
* @return ListExportsResponse
* @throws \Google\Service\Exception
*/
public function listMattersExports($matterId, $optParams = [])
{
$params = ['matterId' => $matterId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListExportsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MattersExports::class, 'Google_Service_Vault_Resource_MattersExports');
@@ -0,0 +1,165 @@
<?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\Vault\Resource;
use Google\Service\Vault\AddHeldAccountsRequest;
use Google\Service\Vault\AddHeldAccountsResponse;
use Google\Service\Vault\Hold;
use Google\Service\Vault\ListHoldsResponse;
use Google\Service\Vault\RemoveHeldAccountsRequest;
use Google\Service\Vault\RemoveHeldAccountsResponse;
use Google\Service\Vault\VaultEmpty;
/**
* The "holds" collection of methods.
* Typical usage is:
* <code>
* $vaultService = new Google\Service\Vault(...);
* $holds = $vaultService->matters_holds;
* </code>
*/
class MattersHolds extends \Google\Service\Resource
{
/**
* Adds accounts to a hold. Returns a list of accounts that have been
* successfully added. Accounts can be added only to an existing account-based
* hold. (holds.addHeldAccounts)
*
* @param string $matterId The matter ID.
* @param string $holdId The hold ID.
* @param AddHeldAccountsRequest $postBody
* @param array $optParams Optional parameters.
* @return AddHeldAccountsResponse
* @throws \Google\Service\Exception
*/
public function addHeldAccounts($matterId, $holdId, AddHeldAccountsRequest $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'holdId' => $holdId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('addHeldAccounts', [$params], AddHeldAccountsResponse::class);
}
/**
* Creates a hold in the specified matter. (holds.create)
*
* @param string $matterId The matter ID.
* @param Hold $postBody
* @param array $optParams Optional parameters.
* @return Hold
* @throws \Google\Service\Exception
*/
public function create($matterId, Hold $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Hold::class);
}
/**
* Removes the specified hold and releases the accounts or organizational unit
* covered by the hold. If the data is not preserved by another hold or
* retention rule, it might be purged. (holds.delete)
*
* @param string $matterId The matter ID.
* @param string $holdId The hold ID.
* @param array $optParams Optional parameters.
* @return VaultEmpty
* @throws \Google\Service\Exception
*/
public function delete($matterId, $holdId, $optParams = [])
{
$params = ['matterId' => $matterId, 'holdId' => $holdId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], VaultEmpty::class);
}
/**
* Gets the specified hold. (holds.get)
*
* @param string $matterId The matter ID.
* @param string $holdId The hold ID.
* @param array $optParams Optional parameters.
*
* @opt_param string view The amount of detail to return for a hold.
* @return Hold
* @throws \Google\Service\Exception
*/
public function get($matterId, $holdId, $optParams = [])
{
$params = ['matterId' => $matterId, 'holdId' => $holdId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Hold::class);
}
/**
* Lists the holds in a matter. (holds.listMattersHolds)
*
* @param string $matterId The matter ID.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The number of holds to return in the response,
* between 0 and 100 inclusive. Leaving this empty, or as 0, is the same as
* **page_size** = 100.
* @opt_param string pageToken The pagination token as returned in the response.
* An empty token means start from the beginning.
* @opt_param string view The amount of detail to return for a hold.
* @return ListHoldsResponse
* @throws \Google\Service\Exception
*/
public function listMattersHolds($matterId, $optParams = [])
{
$params = ['matterId' => $matterId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListHoldsResponse::class);
}
/**
* Removes the specified accounts from a hold. Returns a list of statuses in the
* same order as the request. (holds.removeHeldAccounts)
*
* @param string $matterId The matter ID.
* @param string $holdId The hold ID.
* @param RemoveHeldAccountsRequest $postBody
* @param array $optParams Optional parameters.
* @return RemoveHeldAccountsResponse
* @throws \Google\Service\Exception
*/
public function removeHeldAccounts($matterId, $holdId, RemoveHeldAccountsRequest $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'holdId' => $holdId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('removeHeldAccounts', [$params], RemoveHeldAccountsResponse::class);
}
/**
* Updates the scope (organizational unit or accounts) and query parameters of a
* hold. You cannot add accounts to a hold that covers an organizational unit,
* nor can you add organizational units to a hold that covers individual
* accounts. If you try, the unsupported values are ignored. (holds.update)
*
* @param string $matterId The matter ID.
* @param string $holdId The ID of the hold.
* @param Hold $postBody
* @param array $optParams Optional parameters.
* @return Hold
* @throws \Google\Service\Exception
*/
public function update($matterId, $holdId, Hold $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'holdId' => $holdId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], Hold::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MattersHolds::class, 'Google_Service_Vault_Resource_MattersHolds');
@@ -0,0 +1,90 @@
<?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\Vault\Resource;
use Google\Service\Vault\HeldAccount;
use Google\Service\Vault\ListHeldAccountsResponse;
use Google\Service\Vault\VaultEmpty;
/**
* The "accounts" collection of methods.
* Typical usage is:
* <code>
* $vaultService = new Google\Service\Vault(...);
* $accounts = $vaultService->matters_holds_accounts;
* </code>
*/
class MattersHoldsAccounts extends \Google\Service\Resource
{
/**
* Adds an account to a hold. Accounts can be added only to a hold that does not
* have an organizational unit set. If you try to add an account to an
* organizational unit-based hold, an error is returned. (accounts.create)
*
* @param string $matterId The matter ID.
* @param string $holdId The hold ID.
* @param HeldAccount $postBody
* @param array $optParams Optional parameters.
* @return HeldAccount
* @throws \Google\Service\Exception
*/
public function create($matterId, $holdId, HeldAccount $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'holdId' => $holdId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], HeldAccount::class);
}
/**
* Removes an account from a hold. (accounts.delete)
*
* @param string $matterId The matter ID.
* @param string $holdId The hold ID.
* @param string $accountId The ID of the account to remove from the hold.
* @param array $optParams Optional parameters.
* @return VaultEmpty
* @throws \Google\Service\Exception
*/
public function delete($matterId, $holdId, $accountId, $optParams = [])
{
$params = ['matterId' => $matterId, 'holdId' => $holdId, 'accountId' => $accountId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], VaultEmpty::class);
}
/**
* Lists the accounts covered by a hold. This can list only individually-
* specified accounts covered by the hold. If the hold covers an organizational
* unit, use the [Admin SDK](https://developers.google.com/admin-sdk/). to list
* the members of the organizational unit on hold.
* (accounts.listMattersHoldsAccounts)
*
* @param string $matterId The matter ID.
* @param string $holdId The hold ID.
* @param array $optParams Optional parameters.
* @return ListHeldAccountsResponse
* @throws \Google\Service\Exception
*/
public function listMattersHoldsAccounts($matterId, $holdId, $optParams = [])
{
$params = ['matterId' => $matterId, 'holdId' => $holdId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListHeldAccountsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MattersHoldsAccounts::class, 'Google_Service_Vault_Resource_MattersHoldsAccounts');
@@ -0,0 +1,100 @@
<?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\Vault\Resource;
use Google\Service\Vault\ListSavedQueriesResponse;
use Google\Service\Vault\SavedQuery;
use Google\Service\Vault\VaultEmpty;
/**
* The "savedQueries" collection of methods.
* Typical usage is:
* <code>
* $vaultService = new Google\Service\Vault(...);
* $savedQueries = $vaultService->matters_savedQueries;
* </code>
*/
class MattersSavedQueries extends \Google\Service\Resource
{
/**
* Creates a saved query. (savedQueries.create)
*
* @param string $matterId The ID of the matter to create the saved query in.
* @param SavedQuery $postBody
* @param array $optParams Optional parameters.
* @return SavedQuery
* @throws \Google\Service\Exception
*/
public function create($matterId, SavedQuery $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], SavedQuery::class);
}
/**
* Deletes the specified saved query. (savedQueries.delete)
*
* @param string $matterId The ID of the matter to delete the saved query from.
* @param string $savedQueryId ID of the saved query to delete.
* @param array $optParams Optional parameters.
* @return VaultEmpty
* @throws \Google\Service\Exception
*/
public function delete($matterId, $savedQueryId, $optParams = [])
{
$params = ['matterId' => $matterId, 'savedQueryId' => $savedQueryId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], VaultEmpty::class);
}
/**
* Retrieves the specified saved query. (savedQueries.get)
*
* @param string $matterId The ID of the matter to get the saved query from.
* @param string $savedQueryId ID of the saved query to retrieve.
* @param array $optParams Optional parameters.
* @return SavedQuery
* @throws \Google\Service\Exception
*/
public function get($matterId, $savedQueryId, $optParams = [])
{
$params = ['matterId' => $matterId, 'savedQueryId' => $savedQueryId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SavedQuery::class);
}
/**
* Lists the saved queries in a matter. (savedQueries.listMattersSavedQueries)
*
* @param string $matterId The ID of the matter to get the saved queries for.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of saved queries to return.
* @opt_param string pageToken The pagination token as returned in the previous
* response. An empty token means start from the beginning.
* @return ListSavedQueriesResponse
* @throws \Google\Service\Exception
*/
public function listMattersSavedQueries($matterId, $optParams = [])
{
$params = ['matterId' => $matterId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListSavedQueriesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MattersSavedQueries::class, 'Google_Service_Vault_Resource_MattersSavedQueries');
@@ -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\Vault\Resource;
use Google\Service\Vault\CancelOperationRequest;
use Google\Service\Vault\ListOperationsResponse;
use Google\Service\Vault\Operation;
use Google\Service\Vault\VaultEmpty;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $vaultService = new Google\Service\Vault(...);
* $operations = $vaultService->operations;
* </code>
*/
class Operations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return VaultEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], VaultEmpty::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 VaultEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], VaultEmpty::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 Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operations::class, 'Google_Service_Vault_Resource_Operations');
@@ -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\Vault;
class SavedQuery extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $matterId;
protected $queryType = Query::class;
protected $queryDataType = '';
/**
* @var string
*/
public $savedQueryId;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setMatterId($matterId)
{
$this->matterId = $matterId;
}
/**
* @return string
*/
public function getMatterId()
{
return $this->matterId;
}
/**
* @param Query
*/
public function setQuery(Query $query)
{
$this->query = $query;
}
/**
* @return Query
*/
public function getQuery()
{
return $this->query;
}
/**
* @param string
*/
public function setSavedQueryId($savedQueryId)
{
$this->savedQueryId = $savedQueryId;
}
/**
* @return string
*/
public function getSavedQueryId()
{
return $this->savedQueryId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SavedQuery::class, 'Google_Service_Vault_SavedQuery');
@@ -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\Vault;
class SharedDriveInfo extends \Google\Collection
{
protected $collection_key = 'sharedDriveIds';
/**
* @var string[]
*/
public $sharedDriveIds;
/**
* @param string[]
*/
public function setSharedDriveIds($sharedDriveIds)
{
$this->sharedDriveIds = $sharedDriveIds;
}
/**
* @return string[]
*/
public function getSharedDriveIds()
{
return $this->sharedDriveIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SharedDriveInfo::class, 'Google_Service_Vault_SharedDriveInfo');
@@ -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\Vault;
class SitesUrlInfo extends \Google\Collection
{
protected $collection_key = 'urls';
/**
* @var string[]
*/
public $urls;
/**
* @param string[]
*/
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(SitesUrlInfo::class, 'Google_Service_Vault_SitesUrlInfo');
@@ -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\Vault;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_Vault_Status');
@@ -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\Vault;
class TeamDriveInfo extends \Google\Collection
{
protected $collection_key = 'teamDriveIds';
/**
* @var string[]
*/
public $teamDriveIds;
/**
* @param string[]
*/
public function setTeamDriveIds($teamDriveIds)
{
$this->teamDriveIds = $teamDriveIds;
}
/**
* @return string[]
*/
public function getTeamDriveIds()
{
return $this->teamDriveIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TeamDriveInfo::class, 'Google_Service_Vault_TeamDriveInfo');
@@ -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\Vault;
class UndeleteMatterRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UndeleteMatterRequest::class, 'Google_Service_Vault_UndeleteMatterRequest');
@@ -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\Vault;
class UserInfo extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $email;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UserInfo::class, 'Google_Service_Vault_UserInfo');
@@ -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\Vault;
class VaultEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VaultEmpty::class, 'Google_Service_Vault_VaultEmpty');
@@ -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\Vault;
class VoiceExportOptions extends \Google\Model
{
/**
* @var string
*/
public $exportFormat;
/**
* @param string
*/
public function setExportFormat($exportFormat)
{
$this->exportFormat = $exportFormat;
}
/**
* @return string
*/
public function getExportFormat()
{
return $this->exportFormat;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VoiceExportOptions::class, 'Google_Service_Vault_VoiceExportOptions');
@@ -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\Vault;
class VoiceOptions extends \Google\Collection
{
protected $collection_key = 'coveredData';
/**
* @var string[]
*/
public $coveredData;
/**
* @param string[]
*/
public function setCoveredData($coveredData)
{
$this->coveredData = $coveredData;
}
/**
* @return string[]
*/
public function getCoveredData()
{
return $this->coveredData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VoiceOptions::class, 'Google_Service_Vault_VoiceOptions');