Initial commit
This commit is contained in:
39
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/AwsAccessKey.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/AwsAccessKey.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_AwsAccessKey extends Google_Model
|
||||
{
|
||||
public $accessKeyId;
|
||||
public $secretAccessKey;
|
||||
|
||||
public function setAccessKeyId($accessKeyId)
|
||||
{
|
||||
$this->accessKeyId = $accessKeyId;
|
||||
}
|
||||
public function getAccessKeyId()
|
||||
{
|
||||
return $this->accessKeyId;
|
||||
}
|
||||
public function setSecretAccessKey($secretAccessKey)
|
||||
{
|
||||
$this->secretAccessKey = $secretAccessKey;
|
||||
}
|
||||
public function getSecretAccessKey()
|
||||
{
|
||||
return $this->secretAccessKey;
|
||||
}
|
||||
}
|
||||
40
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/AwsS3Data.php
vendored
Normal file
40
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/AwsS3Data.php
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_AwsS3Data extends Google_Model
|
||||
{
|
||||
protected $awsAccessKeyType = 'Google_Service_Storagetransfer_AwsAccessKey';
|
||||
protected $awsAccessKeyDataType = '';
|
||||
public $bucketName;
|
||||
|
||||
public function setAwsAccessKey(Google_Service_Storagetransfer_AwsAccessKey $awsAccessKey)
|
||||
{
|
||||
$this->awsAccessKey = $awsAccessKey;
|
||||
}
|
||||
public function getAwsAccessKey()
|
||||
{
|
||||
return $this->awsAccessKey;
|
||||
}
|
||||
public function setBucketName($bucketName)
|
||||
{
|
||||
$this->bucketName = $bucketName;
|
||||
}
|
||||
public function getBucketName()
|
||||
{
|
||||
return $this->bucketName;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/Date.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/Date.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_Date extends Google_Model
|
||||
{
|
||||
public $day;
|
||||
public $month;
|
||||
public $year;
|
||||
|
||||
public function setDay($day)
|
||||
{
|
||||
$this->day = $day;
|
||||
}
|
||||
public function getDay()
|
||||
{
|
||||
return $this->day;
|
||||
}
|
||||
public function setMonth($month)
|
||||
{
|
||||
$this->month = $month;
|
||||
}
|
||||
public function getMonth()
|
||||
{
|
||||
return $this->month;
|
||||
}
|
||||
public function setYear($year)
|
||||
{
|
||||
$this->year = $year;
|
||||
}
|
||||
public function getYear()
|
||||
{
|
||||
return $this->year;
|
||||
}
|
||||
}
|
||||
40
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorLogEntry.php
vendored
Normal file
40
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorLogEntry.php
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_ErrorLogEntry extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'errorDetails';
|
||||
public $errorDetails;
|
||||
public $url;
|
||||
|
||||
public function setErrorDetails($errorDetails)
|
||||
{
|
||||
$this->errorDetails = $errorDetails;
|
||||
}
|
||||
public function getErrorDetails()
|
||||
{
|
||||
return $this->errorDetails;
|
||||
}
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
50
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorSummary.php
vendored
Normal file
50
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/ErrorSummary.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_ErrorSummary extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'errorLogEntries';
|
||||
public $errorCode;
|
||||
public $errorCount;
|
||||
protected $errorLogEntriesType = 'Google_Service_Storagetransfer_ErrorLogEntry';
|
||||
protected $errorLogEntriesDataType = 'array';
|
||||
|
||||
public function setErrorCode($errorCode)
|
||||
{
|
||||
$this->errorCode = $errorCode;
|
||||
}
|
||||
public function getErrorCode()
|
||||
{
|
||||
return $this->errorCode;
|
||||
}
|
||||
public function setErrorCount($errorCount)
|
||||
{
|
||||
$this->errorCount = $errorCount;
|
||||
}
|
||||
public function getErrorCount()
|
||||
{
|
||||
return $this->errorCount;
|
||||
}
|
||||
public function setErrorLogEntries($errorLogEntries)
|
||||
{
|
||||
$this->errorLogEntries = $errorLogEntries;
|
||||
}
|
||||
public function getErrorLogEntries()
|
||||
{
|
||||
return $this->errorLogEntries;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/GcsData.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/GcsData.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_GcsData extends Google_Model
|
||||
{
|
||||
public $bucketName;
|
||||
|
||||
public function setBucketName($bucketName)
|
||||
{
|
||||
$this->bucketName = $bucketName;
|
||||
}
|
||||
public function getBucketName()
|
||||
{
|
||||
return $this->bucketName;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/GoogleServiceAccount.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/GoogleServiceAccount.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_GoogleServiceAccount extends Google_Model
|
||||
{
|
||||
public $accountEmail;
|
||||
|
||||
public function setAccountEmail($accountEmail)
|
||||
{
|
||||
$this->accountEmail = $accountEmail;
|
||||
}
|
||||
public function getAccountEmail()
|
||||
{
|
||||
return $this->accountEmail;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/HttpData.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/HttpData.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_HttpData extends Google_Model
|
||||
{
|
||||
public $listUrl;
|
||||
|
||||
public function setListUrl($listUrl)
|
||||
{
|
||||
$this->listUrl = $listUrl;
|
||||
}
|
||||
public function getListUrl()
|
||||
{
|
||||
return $this->listUrl;
|
||||
}
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/ListOperationsResponse.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/ListOperationsResponse.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_ListOperationsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'operations';
|
||||
public $nextPageToken;
|
||||
protected $operationsType = 'Google_Service_Storagetransfer_Operation';
|
||||
protected $operationsDataType = 'array';
|
||||
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setOperations($operations)
|
||||
{
|
||||
$this->operations = $operations;
|
||||
}
|
||||
public function getOperations()
|
||||
{
|
||||
return $this->operations;
|
||||
}
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/ListTransferJobsResponse.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/ListTransferJobsResponse.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_ListTransferJobsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'transferJobs';
|
||||
public $nextPageToken;
|
||||
protected $transferJobsType = 'Google_Service_Storagetransfer_TransferJob';
|
||||
protected $transferJobsDataType = 'array';
|
||||
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setTransferJobs($transferJobs)
|
||||
{
|
||||
$this->transferJobs = $transferJobs;
|
||||
}
|
||||
public function getTransferJobs()
|
||||
{
|
||||
return $this->transferJobs;
|
||||
}
|
||||
}
|
||||
58
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/ObjectConditions.php
vendored
Normal file
58
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/ObjectConditions.php
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_ObjectConditions extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'includePrefixes';
|
||||
public $excludePrefixes;
|
||||
public $includePrefixes;
|
||||
public $maxTimeElapsedSinceLastModification;
|
||||
public $minTimeElapsedSinceLastModification;
|
||||
|
||||
public function setExcludePrefixes($excludePrefixes)
|
||||
{
|
||||
$this->excludePrefixes = $excludePrefixes;
|
||||
}
|
||||
public function getExcludePrefixes()
|
||||
{
|
||||
return $this->excludePrefixes;
|
||||
}
|
||||
public function setIncludePrefixes($includePrefixes)
|
||||
{
|
||||
$this->includePrefixes = $includePrefixes;
|
||||
}
|
||||
public function getIncludePrefixes()
|
||||
{
|
||||
return $this->includePrefixes;
|
||||
}
|
||||
public function setMaxTimeElapsedSinceLastModification($maxTimeElapsedSinceLastModification)
|
||||
{
|
||||
$this->maxTimeElapsedSinceLastModification = $maxTimeElapsedSinceLastModification;
|
||||
}
|
||||
public function getMaxTimeElapsedSinceLastModification()
|
||||
{
|
||||
return $this->maxTimeElapsedSinceLastModification;
|
||||
}
|
||||
public function setMinTimeElapsedSinceLastModification($minTimeElapsedSinceLastModification)
|
||||
{
|
||||
$this->minTimeElapsedSinceLastModification = $minTimeElapsedSinceLastModification;
|
||||
}
|
||||
public function getMinTimeElapsedSinceLastModification()
|
||||
{
|
||||
return $this->minTimeElapsedSinceLastModification;
|
||||
}
|
||||
}
|
||||
67
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/Operation.php
vendored
Normal file
67
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/Operation.php
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_Operation extends Google_Model
|
||||
{
|
||||
public $done;
|
||||
protected $errorType = 'Google_Service_Storagetransfer_Status';
|
||||
protected $errorDataType = '';
|
||||
public $metadata;
|
||||
public $name;
|
||||
public $response;
|
||||
|
||||
public function setDone($done)
|
||||
{
|
||||
$this->done = $done;
|
||||
}
|
||||
public function getDone()
|
||||
{
|
||||
return $this->done;
|
||||
}
|
||||
public function setError(Google_Service_Storagetransfer_Status $error)
|
||||
{
|
||||
$this->error = $error;
|
||||
}
|
||||
public function getError()
|
||||
{
|
||||
return $this->error;
|
||||
}
|
||||
public function setMetadata($metadata)
|
||||
{
|
||||
$this->metadata = $metadata;
|
||||
}
|
||||
public function getMetadata()
|
||||
{
|
||||
return $this->metadata;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setResponse($response)
|
||||
{
|
||||
$this->response = $response;
|
||||
}
|
||||
public function getResponse()
|
||||
{
|
||||
return $this->response;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_PauseTransferOperationRequest extends Google_Model
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "googleServiceAccounts" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $storagetransferService = new Google_Service_Storagetransfer(...);
|
||||
* $googleServiceAccounts = $storagetransferService->googleServiceAccounts;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Storagetransfer_Resource_GoogleServiceAccounts extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Returns the Google service account that is used by Storage Transfer Service
|
||||
* to access buckets in the project where transfers run or in other projects.
|
||||
* Each Google service account is associated with one Google Developers Console
|
||||
* project. Users should add this service account to the Google Cloud Storage
|
||||
* bucket ACLs to grant access to Storage Transfer Service. This service account
|
||||
* is created and owned by Storage Transfer Service and can only be used by
|
||||
* Storage Transfer Service. (googleServiceAccounts.get)
|
||||
*
|
||||
* @param string $projectId The ID of the Google Developers Console project that
|
||||
* the Google service account is associated with. Required.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Storagetransfer_GoogleServiceAccount
|
||||
*/
|
||||
public function get($projectId, $optParams = array())
|
||||
{
|
||||
$params = array('projectId' => $projectId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Storagetransfer_GoogleServiceAccount");
|
||||
}
|
||||
}
|
||||
96
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferJobs.php
vendored
Normal file
96
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferJobs.php
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "transferJobs" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $storagetransferService = new Google_Service_Storagetransfer(...);
|
||||
* $transferJobs = $storagetransferService->transferJobs;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Storagetransfer_Resource_TransferJobs extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a transfer job that runs periodically. (transferJobs.create)
|
||||
*
|
||||
* @param Google_Service_Storagetransfer_TransferJob $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Storagetransfer_TransferJob
|
||||
*/
|
||||
public function create(Google_Service_Storagetransfer_TransferJob $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Storagetransfer_TransferJob");
|
||||
}
|
||||
/**
|
||||
* Gets a transfer job. (transferJobs.get)
|
||||
*
|
||||
* @param string $jobName The job to get. Required.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string projectId The ID of the Google Developers Console project
|
||||
* that owns the job. Required.
|
||||
* @return Google_Service_Storagetransfer_TransferJob
|
||||
*/
|
||||
public function get($jobName, $optParams = array())
|
||||
{
|
||||
$params = array('jobName' => $jobName);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Storagetransfer_TransferJob");
|
||||
}
|
||||
/**
|
||||
* Lists transfer jobs. (transferJobs.listTransferJobs)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string filter A list of query parameters specified as JSON text in
|
||||
* the form of {"`project_id`":"my_project_id",
|
||||
* "`job_names`":["jobid1","jobid2",...],
|
||||
* "`job_statuses`":["status1","status2",...]}. Since `job_names` and
|
||||
* `job_statuses` support multiple values, their values must be specified with
|
||||
* array notation. `project_id` is required. `job_names` and `job_statuses` are
|
||||
* optional. The valid values for `job_statuses` are case-insensitive:
|
||||
* `ENABLED`, `DISABLED`, and `DELETED`.
|
||||
* @opt_param int pageSize The list page size. The max allowed value is 256.
|
||||
* @opt_param string pageToken The list page token.
|
||||
* @return Google_Service_Storagetransfer_ListTransferJobsResponse
|
||||
*/
|
||||
public function listTransferJobs($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Storagetransfer_ListTransferJobsResponse");
|
||||
}
|
||||
/**
|
||||
* Updates a transfer job. Updating a job's transfer spec does not affect
|
||||
* transfer operations that are running already. Updating the scheduling of a
|
||||
* job is not allowed. (transferJobs.patch)
|
||||
*
|
||||
* @param string $jobName The name of job to update. Required.
|
||||
* @param Google_Service_Storagetransfer_UpdateTransferJobRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Storagetransfer_TransferJob
|
||||
*/
|
||||
public function patch($jobName, Google_Service_Storagetransfer_UpdateTransferJobRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('jobName' => $jobName, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Storagetransfer_TransferJob");
|
||||
}
|
||||
}
|
||||
121
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferOperations.php
vendored
Normal file
121
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/TransferOperations.php
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "transferOperations" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $storagetransferService = new Google_Service_Storagetransfer(...);
|
||||
* $transferOperations = $storagetransferService->transferOperations;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Storagetransfer_Resource_TransferOperations extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Cancels a transfer. Use the get method to check whether the cancellation
|
||||
* succeeded or whether the operation completed despite cancellation.
|
||||
* (transferOperations.cancel)
|
||||
*
|
||||
* @param string $name The name of the operation resource to be cancelled.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Storagetransfer_StoragetransferEmpty
|
||||
*/
|
||||
public function cancel($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('cancel', array($params), "Google_Service_Storagetransfer_StoragetransferEmpty");
|
||||
}
|
||||
/**
|
||||
* This method is not supported and the server returns `UNIMPLEMENTED`.
|
||||
* (transferOperations.delete)
|
||||
*
|
||||
* @param string $name The name of the operation resource to be deleted.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Storagetransfer_StoragetransferEmpty
|
||||
*/
|
||||
public function delete($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_Storagetransfer_StoragetransferEmpty");
|
||||
}
|
||||
/**
|
||||
* 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. (transferOperations.get)
|
||||
*
|
||||
* @param string $name The name of the operation resource.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Storagetransfer_Operation
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Storagetransfer_Operation");
|
||||
}
|
||||
/**
|
||||
* Lists operations that match the specified filter in the request. If the
|
||||
* server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the
|
||||
* `name` binding below allows API services to override the binding to use
|
||||
* different resource name schemes, such as `users/operations`.
|
||||
* (transferOperations.listTransferOperations)
|
||||
*
|
||||
* @param string $name The value `transferOperations`.
|
||||
* @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 Google_Service_Storagetransfer_ListOperationsResponse
|
||||
*/
|
||||
public function listTransferOperations($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Storagetransfer_ListOperationsResponse");
|
||||
}
|
||||
/**
|
||||
* Pauses a transfer operation. (transferOperations.pause)
|
||||
*
|
||||
* @param string $name The name of the transfer operation. Required.
|
||||
* @param Google_Service_Storagetransfer_PauseTransferOperationRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Storagetransfer_StoragetransferEmpty
|
||||
*/
|
||||
public function pause($name, Google_Service_Storagetransfer_PauseTransferOperationRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('pause', array($params), "Google_Service_Storagetransfer_StoragetransferEmpty");
|
||||
}
|
||||
/**
|
||||
* Resumes a transfer operation that is paused. (transferOperations.resume)
|
||||
*
|
||||
* @param string $name The name of the transfer operation. Required.
|
||||
* @param Google_Service_Storagetransfer_ResumeTransferOperationRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Storagetransfer_StoragetransferEmpty
|
||||
*/
|
||||
public function resume($name, Google_Service_Storagetransfer_ResumeTransferOperationRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('resume', array($params), "Google_Service_Storagetransfer_StoragetransferEmpty");
|
||||
}
|
||||
}
|
||||
49
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/V1.php
vendored
Normal file
49
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/Resource/V1.php
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "v1" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $storagetransferService = new Google_Service_Storagetransfer(...);
|
||||
* $v1 = $storagetransferService->v1;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Storagetransfer_Resource_V1 extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Returns the Google service account that is used by Storage Transfer Service
|
||||
* to access buckets in the project where transfers run or in other projects.
|
||||
* Each Google service account is associated with one Google Developers Console
|
||||
* project. Users should add this service account to the Google Cloud Storage
|
||||
* bucket ACLs to grant access to Storage Transfer Service. This service account
|
||||
* is created and owned by Storage Transfer Service and can only be used by
|
||||
* Storage Transfer Service. (v1.getGoogleServiceAccount)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string projectId The ID of the Google Developers Console project
|
||||
* that the Google service account is associated with. Required.
|
||||
* @return Google_Service_Storagetransfer_GoogleServiceAccount
|
||||
*/
|
||||
public function getGoogleServiceAccount($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getGoogleServiceAccount', array($params), "Google_Service_Storagetransfer_GoogleServiceAccount");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_ResumeTransferOperationRequest extends Google_Model
|
||||
{
|
||||
}
|
||||
51
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/Schedule.php
vendored
Normal file
51
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/Schedule.php
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_Schedule extends Google_Model
|
||||
{
|
||||
protected $scheduleEndDateType = 'Google_Service_Storagetransfer_Date';
|
||||
protected $scheduleEndDateDataType = '';
|
||||
protected $scheduleStartDateType = 'Google_Service_Storagetransfer_Date';
|
||||
protected $scheduleStartDateDataType = '';
|
||||
protected $startTimeOfDayType = 'Google_Service_Storagetransfer_TimeOfDay';
|
||||
protected $startTimeOfDayDataType = '';
|
||||
|
||||
public function setScheduleEndDate(Google_Service_Storagetransfer_Date $scheduleEndDate)
|
||||
{
|
||||
$this->scheduleEndDate = $scheduleEndDate;
|
||||
}
|
||||
public function getScheduleEndDate()
|
||||
{
|
||||
return $this->scheduleEndDate;
|
||||
}
|
||||
public function setScheduleStartDate(Google_Service_Storagetransfer_Date $scheduleStartDate)
|
||||
{
|
||||
$this->scheduleStartDate = $scheduleStartDate;
|
||||
}
|
||||
public function getScheduleStartDate()
|
||||
{
|
||||
return $this->scheduleStartDate;
|
||||
}
|
||||
public function setStartTimeOfDay(Google_Service_Storagetransfer_TimeOfDay $startTimeOfDay)
|
||||
{
|
||||
$this->startTimeOfDay = $startTimeOfDay;
|
||||
}
|
||||
public function getStartTimeOfDay()
|
||||
{
|
||||
return $this->startTimeOfDay;
|
||||
}
|
||||
}
|
||||
49
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/Status.php
vendored
Normal file
49
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/Status.php
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_Status extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'details';
|
||||
public $code;
|
||||
public $details;
|
||||
public $message;
|
||||
|
||||
public function setCode($code)
|
||||
{
|
||||
$this->code = $code;
|
||||
}
|
||||
public function getCode()
|
||||
{
|
||||
return $this->code;
|
||||
}
|
||||
public function setDetails($details)
|
||||
{
|
||||
$this->details = $details;
|
||||
}
|
||||
public function getDetails()
|
||||
{
|
||||
return $this->details;
|
||||
}
|
||||
public function setMessage($message)
|
||||
{
|
||||
$this->message = $message;
|
||||
}
|
||||
public function getMessage()
|
||||
{
|
||||
return $this->message;
|
||||
}
|
||||
}
|
||||
20
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/StoragetransferEmpty.php
vendored
Normal file
20
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/StoragetransferEmpty.php
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_StoragetransferEmpty extends Google_Model
|
||||
{
|
||||
}
|
||||
57
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/TimeOfDay.php
vendored
Normal file
57
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/TimeOfDay.php
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_TimeOfDay extends Google_Model
|
||||
{
|
||||
public $hours;
|
||||
public $minutes;
|
||||
public $nanos;
|
||||
public $seconds;
|
||||
|
||||
public function setHours($hours)
|
||||
{
|
||||
$this->hours = $hours;
|
||||
}
|
||||
public function getHours()
|
||||
{
|
||||
return $this->hours;
|
||||
}
|
||||
public function setMinutes($minutes)
|
||||
{
|
||||
$this->minutes = $minutes;
|
||||
}
|
||||
public function getMinutes()
|
||||
{
|
||||
return $this->minutes;
|
||||
}
|
||||
public function setNanos($nanos)
|
||||
{
|
||||
$this->nanos = $nanos;
|
||||
}
|
||||
public function getNanos()
|
||||
{
|
||||
return $this->nanos;
|
||||
}
|
||||
public function setSeconds($seconds)
|
||||
{
|
||||
$this->seconds = $seconds;
|
||||
}
|
||||
public function getSeconds()
|
||||
{
|
||||
return $this->seconds;
|
||||
}
|
||||
}
|
||||
165
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/TransferCounters.php
vendored
Normal file
165
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/TransferCounters.php
vendored
Normal file
@@ -0,0 +1,165 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_TransferCounters extends Google_Model
|
||||
{
|
||||
public $bytesCopiedToSink;
|
||||
public $bytesDeletedFromSink;
|
||||
public $bytesDeletedFromSource;
|
||||
public $bytesFailedToDeleteFromSink;
|
||||
public $bytesFoundFromSource;
|
||||
public $bytesFoundOnlyFromSink;
|
||||
public $bytesFromSourceFailed;
|
||||
public $bytesFromSourceSkippedBySync;
|
||||
public $objectsCopiedToSink;
|
||||
public $objectsDeletedFromSink;
|
||||
public $objectsDeletedFromSource;
|
||||
public $objectsFailedToDeleteFromSink;
|
||||
public $objectsFoundFromSource;
|
||||
public $objectsFoundOnlyFromSink;
|
||||
public $objectsFromSourceFailed;
|
||||
public $objectsFromSourceSkippedBySync;
|
||||
|
||||
public function setBytesCopiedToSink($bytesCopiedToSink)
|
||||
{
|
||||
$this->bytesCopiedToSink = $bytesCopiedToSink;
|
||||
}
|
||||
public function getBytesCopiedToSink()
|
||||
{
|
||||
return $this->bytesCopiedToSink;
|
||||
}
|
||||
public function setBytesDeletedFromSink($bytesDeletedFromSink)
|
||||
{
|
||||
$this->bytesDeletedFromSink = $bytesDeletedFromSink;
|
||||
}
|
||||
public function getBytesDeletedFromSink()
|
||||
{
|
||||
return $this->bytesDeletedFromSink;
|
||||
}
|
||||
public function setBytesDeletedFromSource($bytesDeletedFromSource)
|
||||
{
|
||||
$this->bytesDeletedFromSource = $bytesDeletedFromSource;
|
||||
}
|
||||
public function getBytesDeletedFromSource()
|
||||
{
|
||||
return $this->bytesDeletedFromSource;
|
||||
}
|
||||
public function setBytesFailedToDeleteFromSink($bytesFailedToDeleteFromSink)
|
||||
{
|
||||
$this->bytesFailedToDeleteFromSink = $bytesFailedToDeleteFromSink;
|
||||
}
|
||||
public function getBytesFailedToDeleteFromSink()
|
||||
{
|
||||
return $this->bytesFailedToDeleteFromSink;
|
||||
}
|
||||
public function setBytesFoundFromSource($bytesFoundFromSource)
|
||||
{
|
||||
$this->bytesFoundFromSource = $bytesFoundFromSource;
|
||||
}
|
||||
public function getBytesFoundFromSource()
|
||||
{
|
||||
return $this->bytesFoundFromSource;
|
||||
}
|
||||
public function setBytesFoundOnlyFromSink($bytesFoundOnlyFromSink)
|
||||
{
|
||||
$this->bytesFoundOnlyFromSink = $bytesFoundOnlyFromSink;
|
||||
}
|
||||
public function getBytesFoundOnlyFromSink()
|
||||
{
|
||||
return $this->bytesFoundOnlyFromSink;
|
||||
}
|
||||
public function setBytesFromSourceFailed($bytesFromSourceFailed)
|
||||
{
|
||||
$this->bytesFromSourceFailed = $bytesFromSourceFailed;
|
||||
}
|
||||
public function getBytesFromSourceFailed()
|
||||
{
|
||||
return $this->bytesFromSourceFailed;
|
||||
}
|
||||
public function setBytesFromSourceSkippedBySync($bytesFromSourceSkippedBySync)
|
||||
{
|
||||
$this->bytesFromSourceSkippedBySync = $bytesFromSourceSkippedBySync;
|
||||
}
|
||||
public function getBytesFromSourceSkippedBySync()
|
||||
{
|
||||
return $this->bytesFromSourceSkippedBySync;
|
||||
}
|
||||
public function setObjectsCopiedToSink($objectsCopiedToSink)
|
||||
{
|
||||
$this->objectsCopiedToSink = $objectsCopiedToSink;
|
||||
}
|
||||
public function getObjectsCopiedToSink()
|
||||
{
|
||||
return $this->objectsCopiedToSink;
|
||||
}
|
||||
public function setObjectsDeletedFromSink($objectsDeletedFromSink)
|
||||
{
|
||||
$this->objectsDeletedFromSink = $objectsDeletedFromSink;
|
||||
}
|
||||
public function getObjectsDeletedFromSink()
|
||||
{
|
||||
return $this->objectsDeletedFromSink;
|
||||
}
|
||||
public function setObjectsDeletedFromSource($objectsDeletedFromSource)
|
||||
{
|
||||
$this->objectsDeletedFromSource = $objectsDeletedFromSource;
|
||||
}
|
||||
public function getObjectsDeletedFromSource()
|
||||
{
|
||||
return $this->objectsDeletedFromSource;
|
||||
}
|
||||
public function setObjectsFailedToDeleteFromSink($objectsFailedToDeleteFromSink)
|
||||
{
|
||||
$this->objectsFailedToDeleteFromSink = $objectsFailedToDeleteFromSink;
|
||||
}
|
||||
public function getObjectsFailedToDeleteFromSink()
|
||||
{
|
||||
return $this->objectsFailedToDeleteFromSink;
|
||||
}
|
||||
public function setObjectsFoundFromSource($objectsFoundFromSource)
|
||||
{
|
||||
$this->objectsFoundFromSource = $objectsFoundFromSource;
|
||||
}
|
||||
public function getObjectsFoundFromSource()
|
||||
{
|
||||
return $this->objectsFoundFromSource;
|
||||
}
|
||||
public function setObjectsFoundOnlyFromSink($objectsFoundOnlyFromSink)
|
||||
{
|
||||
$this->objectsFoundOnlyFromSink = $objectsFoundOnlyFromSink;
|
||||
}
|
||||
public function getObjectsFoundOnlyFromSink()
|
||||
{
|
||||
return $this->objectsFoundOnlyFromSink;
|
||||
}
|
||||
public function setObjectsFromSourceFailed($objectsFromSourceFailed)
|
||||
{
|
||||
$this->objectsFromSourceFailed = $objectsFromSourceFailed;
|
||||
}
|
||||
public function getObjectsFromSourceFailed()
|
||||
{
|
||||
return $this->objectsFromSourceFailed;
|
||||
}
|
||||
public function setObjectsFromSourceSkippedBySync($objectsFromSourceSkippedBySync)
|
||||
{
|
||||
$this->objectsFromSourceSkippedBySync = $objectsFromSourceSkippedBySync;
|
||||
}
|
||||
public function getObjectsFromSourceSkippedBySync()
|
||||
{
|
||||
return $this->objectsFromSourceSkippedBySync;
|
||||
}
|
||||
}
|
||||
104
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/TransferJob.php
vendored
Normal file
104
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/TransferJob.php
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_TransferJob extends Google_Model
|
||||
{
|
||||
public $creationTime;
|
||||
public $deletionTime;
|
||||
public $description;
|
||||
public $lastModificationTime;
|
||||
public $name;
|
||||
public $projectId;
|
||||
protected $scheduleType = 'Google_Service_Storagetransfer_Schedule';
|
||||
protected $scheduleDataType = '';
|
||||
public $status;
|
||||
protected $transferSpecType = 'Google_Service_Storagetransfer_TransferSpec';
|
||||
protected $transferSpecDataType = '';
|
||||
|
||||
public function setCreationTime($creationTime)
|
||||
{
|
||||
$this->creationTime = $creationTime;
|
||||
}
|
||||
public function getCreationTime()
|
||||
{
|
||||
return $this->creationTime;
|
||||
}
|
||||
public function setDeletionTime($deletionTime)
|
||||
{
|
||||
$this->deletionTime = $deletionTime;
|
||||
}
|
||||
public function getDeletionTime()
|
||||
{
|
||||
return $this->deletionTime;
|
||||
}
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setLastModificationTime($lastModificationTime)
|
||||
{
|
||||
$this->lastModificationTime = $lastModificationTime;
|
||||
}
|
||||
public function getLastModificationTime()
|
||||
{
|
||||
return $this->lastModificationTime;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setProjectId($projectId)
|
||||
{
|
||||
$this->projectId = $projectId;
|
||||
}
|
||||
public function getProjectId()
|
||||
{
|
||||
return $this->projectId;
|
||||
}
|
||||
public function setSchedule(Google_Service_Storagetransfer_Schedule $schedule)
|
||||
{
|
||||
$this->schedule = $schedule;
|
||||
}
|
||||
public function getSchedule()
|
||||
{
|
||||
return $this->schedule;
|
||||
}
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
public function setTransferSpec(Google_Service_Storagetransfer_TransferSpec $transferSpec)
|
||||
{
|
||||
$this->transferSpec = $transferSpec;
|
||||
}
|
||||
public function getTransferSpec()
|
||||
{
|
||||
return $this->transferSpec;
|
||||
}
|
||||
}
|
||||
106
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOperation.php
vendored
Normal file
106
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOperation.php
vendored
Normal file
@@ -0,0 +1,106 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_TransferOperation extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'errorBreakdowns';
|
||||
protected $countersType = 'Google_Service_Storagetransfer_TransferCounters';
|
||||
protected $countersDataType = '';
|
||||
public $endTime;
|
||||
protected $errorBreakdownsType = 'Google_Service_Storagetransfer_ErrorSummary';
|
||||
protected $errorBreakdownsDataType = 'array';
|
||||
public $name;
|
||||
public $projectId;
|
||||
public $startTime;
|
||||
public $status;
|
||||
public $transferJobName;
|
||||
protected $transferSpecType = 'Google_Service_Storagetransfer_TransferSpec';
|
||||
protected $transferSpecDataType = '';
|
||||
|
||||
public function setCounters(Google_Service_Storagetransfer_TransferCounters $counters)
|
||||
{
|
||||
$this->counters = $counters;
|
||||
}
|
||||
public function getCounters()
|
||||
{
|
||||
return $this->counters;
|
||||
}
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->endTime = $endTime;
|
||||
}
|
||||
public function getEndTime()
|
||||
{
|
||||
return $this->endTime;
|
||||
}
|
||||
public function setErrorBreakdowns($errorBreakdowns)
|
||||
{
|
||||
$this->errorBreakdowns = $errorBreakdowns;
|
||||
}
|
||||
public function getErrorBreakdowns()
|
||||
{
|
||||
return $this->errorBreakdowns;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setProjectId($projectId)
|
||||
{
|
||||
$this->projectId = $projectId;
|
||||
}
|
||||
public function getProjectId()
|
||||
{
|
||||
return $this->projectId;
|
||||
}
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->startTime = $startTime;
|
||||
}
|
||||
public function getStartTime()
|
||||
{
|
||||
return $this->startTime;
|
||||
}
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
public function setTransferJobName($transferJobName)
|
||||
{
|
||||
$this->transferJobName = $transferJobName;
|
||||
}
|
||||
public function getTransferJobName()
|
||||
{
|
||||
return $this->transferJobName;
|
||||
}
|
||||
public function setTransferSpec(Google_Service_Storagetransfer_TransferSpec $transferSpec)
|
||||
{
|
||||
$this->transferSpec = $transferSpec;
|
||||
}
|
||||
public function getTransferSpec()
|
||||
{
|
||||
return $this->transferSpec;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOptions.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/TransferOptions.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_TransferOptions extends Google_Model
|
||||
{
|
||||
public $deleteObjectsFromSourceAfterTransfer;
|
||||
public $deleteObjectsUniqueInSink;
|
||||
public $overwriteObjectsAlreadyExistingInSink;
|
||||
|
||||
public function setDeleteObjectsFromSourceAfterTransfer($deleteObjectsFromSourceAfterTransfer)
|
||||
{
|
||||
$this->deleteObjectsFromSourceAfterTransfer = $deleteObjectsFromSourceAfterTransfer;
|
||||
}
|
||||
public function getDeleteObjectsFromSourceAfterTransfer()
|
||||
{
|
||||
return $this->deleteObjectsFromSourceAfterTransfer;
|
||||
}
|
||||
public function setDeleteObjectsUniqueInSink($deleteObjectsUniqueInSink)
|
||||
{
|
||||
$this->deleteObjectsUniqueInSink = $deleteObjectsUniqueInSink;
|
||||
}
|
||||
public function getDeleteObjectsUniqueInSink()
|
||||
{
|
||||
return $this->deleteObjectsUniqueInSink;
|
||||
}
|
||||
public function setOverwriteObjectsAlreadyExistingInSink($overwriteObjectsAlreadyExistingInSink)
|
||||
{
|
||||
$this->overwriteObjectsAlreadyExistingInSink = $overwriteObjectsAlreadyExistingInSink;
|
||||
}
|
||||
public function getOverwriteObjectsAlreadyExistingInSink()
|
||||
{
|
||||
return $this->overwriteObjectsAlreadyExistingInSink;
|
||||
}
|
||||
}
|
||||
81
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/TransferSpec.php
vendored
Normal file
81
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/TransferSpec.php
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_TransferSpec extends Google_Model
|
||||
{
|
||||
protected $awsS3DataSourceType = 'Google_Service_Storagetransfer_AwsS3Data';
|
||||
protected $awsS3DataSourceDataType = '';
|
||||
protected $gcsDataSinkType = 'Google_Service_Storagetransfer_GcsData';
|
||||
protected $gcsDataSinkDataType = '';
|
||||
protected $gcsDataSourceType = 'Google_Service_Storagetransfer_GcsData';
|
||||
protected $gcsDataSourceDataType = '';
|
||||
protected $httpDataSourceType = 'Google_Service_Storagetransfer_HttpData';
|
||||
protected $httpDataSourceDataType = '';
|
||||
protected $objectConditionsType = 'Google_Service_Storagetransfer_ObjectConditions';
|
||||
protected $objectConditionsDataType = '';
|
||||
protected $transferOptionsType = 'Google_Service_Storagetransfer_TransferOptions';
|
||||
protected $transferOptionsDataType = '';
|
||||
|
||||
public function setAwsS3DataSource(Google_Service_Storagetransfer_AwsS3Data $awsS3DataSource)
|
||||
{
|
||||
$this->awsS3DataSource = $awsS3DataSource;
|
||||
}
|
||||
public function getAwsS3DataSource()
|
||||
{
|
||||
return $this->awsS3DataSource;
|
||||
}
|
||||
public function setGcsDataSink(Google_Service_Storagetransfer_GcsData $gcsDataSink)
|
||||
{
|
||||
$this->gcsDataSink = $gcsDataSink;
|
||||
}
|
||||
public function getGcsDataSink()
|
||||
{
|
||||
return $this->gcsDataSink;
|
||||
}
|
||||
public function setGcsDataSource(Google_Service_Storagetransfer_GcsData $gcsDataSource)
|
||||
{
|
||||
$this->gcsDataSource = $gcsDataSource;
|
||||
}
|
||||
public function getGcsDataSource()
|
||||
{
|
||||
return $this->gcsDataSource;
|
||||
}
|
||||
public function setHttpDataSource(Google_Service_Storagetransfer_HttpData $httpDataSource)
|
||||
{
|
||||
$this->httpDataSource = $httpDataSource;
|
||||
}
|
||||
public function getHttpDataSource()
|
||||
{
|
||||
return $this->httpDataSource;
|
||||
}
|
||||
public function setObjectConditions(Google_Service_Storagetransfer_ObjectConditions $objectConditions)
|
||||
{
|
||||
$this->objectConditions = $objectConditions;
|
||||
}
|
||||
public function getObjectConditions()
|
||||
{
|
||||
return $this->objectConditions;
|
||||
}
|
||||
public function setTransferOptions(Google_Service_Storagetransfer_TransferOptions $transferOptions)
|
||||
{
|
||||
$this->transferOptions = $transferOptions;
|
||||
}
|
||||
public function getTransferOptions()
|
||||
{
|
||||
return $this->transferOptions;
|
||||
}
|
||||
}
|
||||
49
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/UpdateTransferJobRequest.php
vendored
Normal file
49
vendor/google/apiclient-services/src/Google/Service/Storagetransfer/UpdateTransferJobRequest.php
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Storagetransfer_UpdateTransferJobRequest extends Google_Model
|
||||
{
|
||||
public $projectId;
|
||||
protected $transferJobType = 'Google_Service_Storagetransfer_TransferJob';
|
||||
protected $transferJobDataType = '';
|
||||
public $updateTransferJobFieldMask;
|
||||
|
||||
public function setProjectId($projectId)
|
||||
{
|
||||
$this->projectId = $projectId;
|
||||
}
|
||||
public function getProjectId()
|
||||
{
|
||||
return $this->projectId;
|
||||
}
|
||||
public function setTransferJob(Google_Service_Storagetransfer_TransferJob $transferJob)
|
||||
{
|
||||
$this->transferJob = $transferJob;
|
||||
}
|
||||
public function getTransferJob()
|
||||
{
|
||||
return $this->transferJob;
|
||||
}
|
||||
public function setUpdateTransferJobFieldMask($updateTransferJobFieldMask)
|
||||
{
|
||||
$this->updateTransferJobFieldMask = $updateTransferJobFieldMask;
|
||||
}
|
||||
public function getUpdateTransferJobFieldMask()
|
||||
{
|
||||
return $this->updateTransferJobFieldMask;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user