Initial commit: Complete WooCommerce Smart Google Pricing plugin with vendor dependencies

This commit is contained in:
2025-12-23 07:48:45 +01:00
commit 9b66109ca1
32472 changed files with 4065017 additions and 0 deletions

View File

@@ -0,0 +1,115 @@
<?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\MigrationCenterAPI;
class AddAssetsToGroupRequest extends \Google\Model
{
/**
* Optional. When this value is set to `false` and one of the given assets is
* already an existing member of the group, the operation fails with an
* `Already Exists` error. When set to `true` this situation is silently
* ignored by the server. Default value is `false`.
*
* @var bool
*/
public $allowExisting;
protected $assetsType = AssetList::class;
protected $assetsDataType = '';
/**
* Optional. An optional request ID to identify requests. Specify a unique
* request ID so that if you must retry your request, the server will know to
* ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes after the first request. For
* example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments. The request ID must be a
* valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
*
* @var string
*/
public $requestId;
/**
* Optional. When this value is set to `false` and one of the given assets is
* already an existing member of the group, the operation fails with an
* `Already Exists` error. When set to `true` this situation is silently
* ignored by the server. Default value is `false`.
*
* @param bool $allowExisting
*/
public function setAllowExisting($allowExisting)
{
$this->allowExisting = $allowExisting;
}
/**
* @return bool
*/
public function getAllowExisting()
{
return $this->allowExisting;
}
/**
* Required. List of assets to be added. The maximum number of assets that can
* be added in a single request is 2000.
*
* @param AssetList $assets
*/
public function setAssets(AssetList $assets)
{
$this->assets = $assets;
}
/**
* @return AssetList
*/
public function getAssets()
{
return $this->assets;
}
/**
* Optional. An optional request ID to identify requests. Specify a unique
* request ID so that if you must retry your request, the server will know to
* ignore the request if it has already been completed. The server will
* guarantee that for at least 60 minutes after the first request. For
* example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments. The request ID must be a
* valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
*
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddAssetsToGroupRequest::class, 'Google_Service_MigrationCenterAPI_AddAssetsToGroupRequest');

View File

@@ -0,0 +1,93 @@
<?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\MigrationCenterAPI;
class AggregateAssetsValuesRequest extends \Google\Collection
{
protected $collection_key = 'aggregations';
protected $aggregationsType = Aggregation::class;
protected $aggregationsDataType = 'array';
/**
* Optional. The aggregation will be performed on assets that match the
* provided filter.
*
* @var string
*/
public $filter;
/**
* Optional. When this value is set to 'true' the response will include all
* assets, including those that are hidden.
*
* @var bool
*/
public $showHidden;
/**
* Array of aggregations to perform. Up to 25 aggregations can be defined.
*
* @param Aggregation[] $aggregations
*/
public function setAggregations($aggregations)
{
$this->aggregations = $aggregations;
}
/**
* @return Aggregation[]
*/
public function getAggregations()
{
return $this->aggregations;
}
/**
* Optional. The aggregation will be performed on assets that match the
* provided filter.
*
* @param string $filter
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* Optional. When this value is set to 'true' the response will include all
* assets, including those that are hidden.
*
* @param bool $showHidden
*/
public function setShowHidden($showHidden)
{
$this->showHidden = $showHidden;
}
/**
* @return bool
*/
public function getShowHidden()
{
return $this->showHidden;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AggregateAssetsValuesRequest::class, 'Google_Service_MigrationCenterAPI_AggregateAssetsValuesRequest');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class AggregateAssetsValuesResponse extends \Google\Collection
{
protected $collection_key = 'results';
protected $resultsType = AggregationResult::class;
protected $resultsDataType = 'array';
/**
* The aggregation results.
*
* @param AggregationResult[] $results
*/
public function setResults($results)
{
$this->results = $results;
}
/**
* @return AggregationResult[]
*/
public function getResults()
{
return $this->results;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AggregateAssetsValuesResponse::class, 'Google_Service_MigrationCenterAPI_AggregateAssetsValuesResponse');

View File

@@ -0,0 +1,120 @@
<?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\MigrationCenterAPI;
class Aggregation extends \Google\Model
{
protected $countType = AggregationCount::class;
protected $countDataType = '';
/**
* The name of the field on which to aggregate.
*
* @var string
*/
public $field;
protected $frequencyType = AggregationFrequency::class;
protected $frequencyDataType = '';
protected $histogramType = AggregationHistogram::class;
protected $histogramDataType = '';
protected $sumType = AggregationSum::class;
protected $sumDataType = '';
/**
* Count the number of matching objects.
*
* @param AggregationCount $count
*/
public function setCount(AggregationCount $count)
{
$this->count = $count;
}
/**
* @return AggregationCount
*/
public function getCount()
{
return $this->count;
}
/**
* The name of the field on which to aggregate.
*
* @param string $field
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* Creates a frequency distribution of all field values.
*
* @param AggregationFrequency $frequency
*/
public function setFrequency(AggregationFrequency $frequency)
{
$this->frequency = $frequency;
}
/**
* @return AggregationFrequency
*/
public function getFrequency()
{
return $this->frequency;
}
/**
* Creates a bucketed histogram of field values.
*
* @param AggregationHistogram $histogram
*/
public function setHistogram(AggregationHistogram $histogram)
{
$this->histogram = $histogram;
}
/**
* @return AggregationHistogram
*/
public function getHistogram()
{
return $this->histogram;
}
/**
* Sum over a numeric field.
*
* @param AggregationSum $sum
*/
public function setSum(AggregationSum $sum)
{
$this->sum = $sum;
}
/**
* @return AggregationSum
*/
public function getSum()
{
return $this->sum;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Aggregation::class, 'Google_Service_MigrationCenterAPI_Aggregation');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class AggregationCount extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AggregationCount::class, 'Google_Service_MigrationCenterAPI_AggregationCount');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class AggregationFrequency extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AggregationFrequency::class, 'Google_Service_MigrationCenterAPI_AggregationFrequency');

View File

@@ -0,0 +1,47 @@
<?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\MigrationCenterAPI;
class AggregationHistogram extends \Google\Collection
{
protected $collection_key = 'lowerBounds';
/**
* Lower bounds of buckets. The response will contain `n+1` buckets for `n`
* bounds. The first bucket will count all assets for which the field value is
* smaller than the first bound. Subsequent buckets will count assets for
* which the field value is greater or equal to a lower bound and smaller than
* the next one. The last bucket will count assets for which the field value
* is greater or equal to the final lower bound. You can define up to 20 lower
* bounds.
*
* @var []
*/
public $lowerBounds;
public function setLowerBounds($lowerBounds)
{
$this->lowerBounds = $lowerBounds;
}
public function getLowerBounds()
{
return $this->lowerBounds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AggregationHistogram::class, 'Google_Service_MigrationCenterAPI_AggregationHistogram');

View File

@@ -0,0 +1,108 @@
<?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\MigrationCenterAPI;
class AggregationResult extends \Google\Model
{
protected $countType = AggregationResultCount::class;
protected $countDataType = '';
/**
* @var string
*/
public $field;
protected $frequencyType = AggregationResultFrequency::class;
protected $frequencyDataType = '';
protected $histogramType = AggregationResultHistogram::class;
protected $histogramDataType = '';
protected $sumType = AggregationResultSum::class;
protected $sumDataType = '';
/**
* @param AggregationResultCount $count
*/
public function setCount(AggregationResultCount $count)
{
$this->count = $count;
}
/**
* @return AggregationResultCount
*/
public function getCount()
{
return $this->count;
}
/**
* @param string $field
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* @param AggregationResultFrequency $frequency
*/
public function setFrequency(AggregationResultFrequency $frequency)
{
$this->frequency = $frequency;
}
/**
* @return AggregationResultFrequency
*/
public function getFrequency()
{
return $this->frequency;
}
/**
* @param AggregationResultHistogram $histogram
*/
public function setHistogram(AggregationResultHistogram $histogram)
{
$this->histogram = $histogram;
}
/**
* @return AggregationResultHistogram
*/
public function getHistogram()
{
return $this->histogram;
}
/**
* @param AggregationResultSum $sum
*/
public function setSum(AggregationResultSum $sum)
{
$this->sum = $sum;
}
/**
* @return AggregationResultSum
*/
public function getSum()
{
return $this->sum;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AggregationResult::class, 'Google_Service_MigrationCenterAPI_AggregationResult');

View File

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

View File

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

View File

@@ -0,0 +1,48 @@
<?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\MigrationCenterAPI;
class AggregationResultHistogram extends \Google\Collection
{
protected $collection_key = 'buckets';
protected $bucketsType = AggregationResultHistogramBucket::class;
protected $bucketsDataType = 'array';
/**
* Buckets in the histogram. There will be `n+1` buckets matching `n` lower
* bounds in the request. The first bucket will be from -infinity to the first
* bound. Subsequent buckets will be between one bound and the next. The final
* bucket will be from the final bound to infinity.
*
* @param AggregationResultHistogramBucket[] $buckets
*/
public function setBuckets($buckets)
{
$this->buckets = $buckets;
}
/**
* @return AggregationResultHistogramBucket[]
*/
public function getBuckets()
{
return $this->buckets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AggregationResultHistogram::class, 'Google_Service_MigrationCenterAPI_AggregationResultHistogram');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class AggregationResultHistogramBucket extends \Google\Model
{
/**
* Count of items in the bucket.
*
* @var string
*/
public $count;
/**
* Lower bound - inclusive.
*
* @var
*/
public $lowerBound;
/**
* Upper bound - exclusive.
*
* @var
*/
public $upperBound;
/**
* Count of items in the bucket.
*
* @param string $count
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return string
*/
public function getCount()
{
return $this->count;
}
public function setLowerBound($lowerBound)
{
$this->lowerBound = $lowerBound;
}
public function getLowerBound()
{
return $this->lowerBound;
}
public function setUpperBound($upperBound)
{
$this->upperBound = $upperBound;
}
public function getUpperBound()
{
return $this->upperBound;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AggregationResultHistogramBucket::class, 'Google_Service_MigrationCenterAPI_AggregationResultHistogramBucket');

View File

@@ -0,0 +1,35 @@
<?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\MigrationCenterAPI;
class AggregationResultSum extends \Google\Model
{
public $value;
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AggregationResultSum::class, 'Google_Service_MigrationCenterAPI_AggregationResultSum');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class AggregationSum extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AggregationSum::class, 'Google_Service_MigrationCenterAPI_AggregationSum');

View File

@@ -0,0 +1,359 @@
<?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\MigrationCenterAPI;
class Asset extends \Google\Collection
{
protected $collection_key = 'sources';
/**
* Output only. The list of groups that the asset is assigned to.
*
* @var string[]
*/
public $assignedGroups;
/**
* Generic asset attributes.
*
* @var string[]
*/
public $attributes;
/**
* Output only. The timestamp when the asset was created.
*
* @var string
*/
public $createTime;
protected $databaseDeploymentDetailsType = DatabaseDeploymentDetails::class;
protected $databaseDeploymentDetailsDataType = '';
protected $databaseDetailsType = DatabaseDetails::class;
protected $databaseDetailsDataType = '';
/**
* Optional. Indicates if the asset is hidden.
*
* @var bool
*/
public $hidden;
/**
* Optional. An optional reason for marking this asset as hidden.
*
* @var string
*/
public $hideReason;
/**
* Output only. The timestamp when the asset was marked as hidden.
*
* @var string
*/
public $hideTime;
protected $insightListType = InsightList::class;
protected $insightListDataType = '';
/**
* Labels as key value pairs.
*
* @var string[]
*/
public $labels;
protected $machineDetailsType = MachineDetails::class;
protected $machineDetailsDataType = '';
/**
* Output only. The full name of the asset.
*
* @var string
*/
public $name;
protected $performanceDataType = AssetPerformanceData::class;
protected $performanceDataDataType = '';
/**
* Output only. The list of sources contributing to the asset.
*
* @var string[]
*/
public $sources;
/**
* Output only. Server generated human readable name of the asset.
*
* @var string
*/
public $title;
/**
* Output only. The timestamp when the asset was last updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. The list of groups that the asset is assigned to.
*
* @param string[] $assignedGroups
*/
public function setAssignedGroups($assignedGroups)
{
$this->assignedGroups = $assignedGroups;
}
/**
* @return string[]
*/
public function getAssignedGroups()
{
return $this->assignedGroups;
}
/**
* Generic asset attributes.
*
* @param string[] $attributes
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return string[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* Output only. The timestamp when the asset was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. Asset information specific for database deployments.
*
* @param DatabaseDeploymentDetails $databaseDeploymentDetails
*/
public function setDatabaseDeploymentDetails(DatabaseDeploymentDetails $databaseDeploymentDetails)
{
$this->databaseDeploymentDetails = $databaseDeploymentDetails;
}
/**
* @return DatabaseDeploymentDetails
*/
public function getDatabaseDeploymentDetails()
{
return $this->databaseDeploymentDetails;
}
/**
* Output only. Asset information specific for logical databases.
*
* @param DatabaseDetails $databaseDetails
*/
public function setDatabaseDetails(DatabaseDetails $databaseDetails)
{
$this->databaseDetails = $databaseDetails;
}
/**
* @return DatabaseDetails
*/
public function getDatabaseDetails()
{
return $this->databaseDetails;
}
/**
* Optional. Indicates if the asset is hidden.
*
* @param bool $hidden
*/
public function setHidden($hidden)
{
$this->hidden = $hidden;
}
/**
* @return bool
*/
public function getHidden()
{
return $this->hidden;
}
/**
* Optional. An optional reason for marking this asset as hidden.
*
* @param string $hideReason
*/
public function setHideReason($hideReason)
{
$this->hideReason = $hideReason;
}
/**
* @return string
*/
public function getHideReason()
{
return $this->hideReason;
}
/**
* Output only. The timestamp when the asset was marked as hidden.
*
* @param string $hideTime
*/
public function setHideTime($hideTime)
{
$this->hideTime = $hideTime;
}
/**
* @return string
*/
public function getHideTime()
{
return $this->hideTime;
}
/**
* Output only. The list of insights associated with the asset.
*
* @param InsightList $insightList
*/
public function setInsightList(InsightList $insightList)
{
$this->insightList = $insightList;
}
/**
* @return InsightList
*/
public function getInsightList()
{
return $this->insightList;
}
/**
* Labels as key value pairs.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Output only. Asset information specific for virtual and physical machines.
*
* @param MachineDetails $machineDetails
*/
public function setMachineDetails(MachineDetails $machineDetails)
{
$this->machineDetails = $machineDetails;
}
/**
* @return MachineDetails
*/
public function getMachineDetails()
{
return $this->machineDetails;
}
/**
* Output only. The full name of the asset.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Performance data for the asset.
*
* @param AssetPerformanceData $performanceData
*/
public function setPerformanceData(AssetPerformanceData $performanceData)
{
$this->performanceData = $performanceData;
}
/**
* @return AssetPerformanceData
*/
public function getPerformanceData()
{
return $this->performanceData;
}
/**
* Output only. The list of sources contributing to the asset.
*
* @param string[] $sources
*/
public function setSources($sources)
{
$this->sources = $sources;
}
/**
* @return string[]
*/
public function getSources()
{
return $this->sources;
}
/**
* Output only. Server generated human readable name of the asset.
*
* @param string $title
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* Output only. The timestamp when the asset was last updated.
*
* @param string $updateTime
*/
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(Asset::class, 'Google_Service_MigrationCenterAPI_Asset');

View File

@@ -0,0 +1,242 @@
<?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\MigrationCenterAPI;
class AssetFrame extends \Google\Collection
{
/**
* Unspecified
*/
public const COLLECTION_TYPE_SOURCE_TYPE_UNKNOWN = 'SOURCE_TYPE_UNKNOWN';
/**
* Manually uploaded file (e.g. CSV)
*/
public const COLLECTION_TYPE_SOURCE_TYPE_UPLOAD = 'SOURCE_TYPE_UPLOAD';
/**
* Guest-level info
*/
public const COLLECTION_TYPE_SOURCE_TYPE_GUEST_OS_SCAN = 'SOURCE_TYPE_GUEST_OS_SCAN';
/**
* Inventory-level scan
*/
public const COLLECTION_TYPE_SOURCE_TYPE_INVENTORY_SCAN = 'SOURCE_TYPE_INVENTORY_SCAN';
/**
* Third-party owned sources.
*/
public const COLLECTION_TYPE_SOURCE_TYPE_CUSTOM = 'SOURCE_TYPE_CUSTOM';
/**
* Discovery clients
*/
public const COLLECTION_TYPE_SOURCE_TYPE_DISCOVERY_CLIENT = 'SOURCE_TYPE_DISCOVERY_CLIENT';
protected $collection_key = 'performanceSamples';
/**
* Generic asset attributes.
*
* @var string[]
*/
public $attributes;
/**
* Optional. Frame collection type, if not specified the collection type will
* be based on the source type of the source the frame was reported on.
*
* @var string
*/
public $collectionType;
protected $databaseDeploymentDetailsType = DatabaseDeploymentDetails::class;
protected $databaseDeploymentDetailsDataType = '';
protected $databaseDetailsType = DatabaseDetails::class;
protected $databaseDetailsDataType = '';
/**
* Labels as key value pairs.
*
* @var string[]
*/
public $labels;
protected $machineDetailsType = MachineDetails::class;
protected $machineDetailsDataType = '';
protected $performanceSamplesType = PerformanceSample::class;
protected $performanceSamplesDataType = 'array';
/**
* The time the data was reported.
*
* @var string
*/
public $reportTime;
/**
* Optional. Trace token is optionally provided to assist with debugging and
* traceability.
*
* @var string
*/
public $traceToken;
/**
* Generic asset attributes.
*
* @param string[] $attributes
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return string[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* Optional. Frame collection type, if not specified the collection type will
* be based on the source type of the source the frame was reported on.
*
* Accepted values: SOURCE_TYPE_UNKNOWN, SOURCE_TYPE_UPLOAD,
* SOURCE_TYPE_GUEST_OS_SCAN, SOURCE_TYPE_INVENTORY_SCAN, SOURCE_TYPE_CUSTOM,
* SOURCE_TYPE_DISCOVERY_CLIENT
*
* @param self::COLLECTION_TYPE_* $collectionType
*/
public function setCollectionType($collectionType)
{
$this->collectionType = $collectionType;
}
/**
* @return self::COLLECTION_TYPE_*
*/
public function getCollectionType()
{
return $this->collectionType;
}
/**
* Asset information specific for database deployments.
*
* @param DatabaseDeploymentDetails $databaseDeploymentDetails
*/
public function setDatabaseDeploymentDetails(DatabaseDeploymentDetails $databaseDeploymentDetails)
{
$this->databaseDeploymentDetails = $databaseDeploymentDetails;
}
/**
* @return DatabaseDeploymentDetails
*/
public function getDatabaseDeploymentDetails()
{
return $this->databaseDeploymentDetails;
}
/**
* Asset information specific for logical databases.
*
* @param DatabaseDetails $databaseDetails
*/
public function setDatabaseDetails(DatabaseDetails $databaseDetails)
{
$this->databaseDetails = $databaseDetails;
}
/**
* @return DatabaseDetails
*/
public function getDatabaseDetails()
{
return $this->databaseDetails;
}
/**
* Labels as key value pairs.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Asset information specific for virtual machines.
*
* @param MachineDetails $machineDetails
*/
public function setMachineDetails(MachineDetails $machineDetails)
{
$this->machineDetails = $machineDetails;
}
/**
* @return MachineDetails
*/
public function getMachineDetails()
{
return $this->machineDetails;
}
/**
* Asset performance data samples. Samples that are from more than 40 days ago
* or after tomorrow are ignored.
*
* @param PerformanceSample[] $performanceSamples
*/
public function setPerformanceSamples($performanceSamples)
{
$this->performanceSamples = $performanceSamples;
}
/**
* @return PerformanceSample[]
*/
public function getPerformanceSamples()
{
return $this->performanceSamples;
}
/**
* The time the data was reported.
*
* @param string $reportTime
*/
public function setReportTime($reportTime)
{
$this->reportTime = $reportTime;
}
/**
* @return string
*/
public function getReportTime()
{
return $this->reportTime;
}
/**
* Optional. Trace token is optionally provided to assist with debugging and
* traceability.
*
* @param string $traceToken
*/
public function setTraceToken($traceToken)
{
$this->traceToken = $traceToken;
}
/**
* @return string
*/
public function getTraceToken()
{
return $this->traceToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AssetFrame::class, 'Google_Service_MigrationCenterAPI_AssetFrame');

View File

@@ -0,0 +1,49 @@
<?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\MigrationCenterAPI;
class AssetList extends \Google\Collection
{
protected $collection_key = 'assetIds';
/**
* Required. A list of asset IDs
*
* @var string[]
*/
public $assetIds;
/**
* Required. A list of asset IDs
*
* @param string[] $assetIds
*/
public function setAssetIds($assetIds)
{
$this->assetIds = $assetIds;
}
/**
* @return string[]
*/
public function getAssetIds()
{
return $this->assetIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AssetList::class, 'Google_Service_MigrationCenterAPI_AssetList');

View File

@@ -0,0 +1,47 @@
<?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\MigrationCenterAPI;
class AssetPerformanceData extends \Google\Collection
{
protected $collection_key = 'dailyResourceUsageAggregations';
protected $dailyResourceUsageAggregationsType = DailyResourceUsageAggregation::class;
protected $dailyResourceUsageAggregationsDataType = 'array';
/**
* Daily resource usage aggregations. Contains all of the data available for
* an asset, up to the last 420 days. Aggregations are sorted from oldest to
* most recent.
*
* @param DailyResourceUsageAggregation[] $dailyResourceUsageAggregations
*/
public function setDailyResourceUsageAggregations($dailyResourceUsageAggregations)
{
$this->dailyResourceUsageAggregations = $dailyResourceUsageAggregations;
}
/**
* @return DailyResourceUsageAggregation[]
*/
public function getDailyResourceUsageAggregations()
{
return $this->dailyResourceUsageAggregations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AssetPerformanceData::class, 'Google_Service_MigrationCenterAPI_AssetPerformanceData');

View File

@@ -0,0 +1,107 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class AwsEc2PlatformDetails extends \Google\Model
{
/**
* Simultaneous Multithreading status unknown.
*/
public const HYPERTHREADING_HYPERTHREADING_STATUS_UNSPECIFIED = 'HYPERTHREADING_STATUS_UNSPECIFIED';
/**
* Simultaneous Multithreading is disabled or unavailable.
*/
public const HYPERTHREADING_HYPERTHREADING_STATUS_DISABLED = 'HYPERTHREADING_STATUS_DISABLED';
/**
* Simultaneous Multithreading is enabled.
*/
public const HYPERTHREADING_HYPERTHREADING_STATUS_ENABLED = 'HYPERTHREADING_STATUS_ENABLED';
/**
* Optional. Whether the machine is hyperthreaded.
*
* @var string
*/
public $hyperthreading;
/**
* The location of the machine in the AWS format.
*
* @var string
*/
public $location;
/**
* AWS platform's machine type label.
*
* @var string
*/
public $machineTypeLabel;
/**
* Optional. Whether the machine is hyperthreaded.
*
* Accepted values: HYPERTHREADING_STATUS_UNSPECIFIED,
* HYPERTHREADING_STATUS_DISABLED, HYPERTHREADING_STATUS_ENABLED
*
* @param self::HYPERTHREADING_* $hyperthreading
*/
public function setHyperthreading($hyperthreading)
{
$this->hyperthreading = $hyperthreading;
}
/**
* @return self::HYPERTHREADING_*
*/
public function getHyperthreading()
{
return $this->hyperthreading;
}
/**
* The location of the machine in the AWS format.
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* AWS platform's machine type label.
*
* @param string $machineTypeLabel
*/
public function setMachineTypeLabel($machineTypeLabel)
{
$this->machineTypeLabel = $machineTypeLabel;
}
/**
* @return string
*/
public function getMachineTypeLabel()
{
return $this->machineTypeLabel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AwsEc2PlatformDetails::class, 'Google_Service_MigrationCenterAPI_AwsEc2PlatformDetails');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class AwsRds extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AwsRds::class, 'Google_Service_MigrationCenterAPI_AwsRds');

View File

@@ -0,0 +1,129 @@
<?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\MigrationCenterAPI;
class AzureVmPlatformDetails extends \Google\Model
{
/**
* Simultaneous Multithreading status unknown.
*/
public const HYPERTHREADING_HYPERTHREADING_STATUS_UNSPECIFIED = 'HYPERTHREADING_STATUS_UNSPECIFIED';
/**
* Simultaneous Multithreading is disabled or unavailable.
*/
public const HYPERTHREADING_HYPERTHREADING_STATUS_DISABLED = 'HYPERTHREADING_STATUS_DISABLED';
/**
* Simultaneous Multithreading is enabled.
*/
public const HYPERTHREADING_HYPERTHREADING_STATUS_ENABLED = 'HYPERTHREADING_STATUS_ENABLED';
/**
* Whether the machine is hyperthreaded.
*
* @var string
*/
public $hyperthreading;
/**
* The location of the machine in the Azure format.
*
* @var string
*/
public $location;
/**
* Azure platform's machine type label.
*
* @var string
*/
public $machineTypeLabel;
/**
* Azure platform's provisioning state.
*
* @var string
*/
public $provisioningState;
/**
* Whether the machine is hyperthreaded.
*
* Accepted values: HYPERTHREADING_STATUS_UNSPECIFIED,
* HYPERTHREADING_STATUS_DISABLED, HYPERTHREADING_STATUS_ENABLED
*
* @param self::HYPERTHREADING_* $hyperthreading
*/
public function setHyperthreading($hyperthreading)
{
$this->hyperthreading = $hyperthreading;
}
/**
* @return self::HYPERTHREADING_*
*/
public function getHyperthreading()
{
return $this->hyperthreading;
}
/**
* The location of the machine in the Azure format.
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* Azure platform's machine type label.
*
* @param string $machineTypeLabel
*/
public function setMachineTypeLabel($machineTypeLabel)
{
$this->machineTypeLabel = $machineTypeLabel;
}
/**
* @return string
*/
public function getMachineTypeLabel()
{
return $this->machineTypeLabel;
}
/**
* Azure platform's provisioning state.
*
* @param string $provisioningState
*/
public function setProvisioningState($provisioningState)
{
$this->provisioningState = $provisioningState;
}
/**
* @return string
*/
public function getProvisioningState()
{
return $this->provisioningState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AzureVmPlatformDetails::class, 'Google_Service_MigrationCenterAPI_AzureVmPlatformDetails');

View File

@@ -0,0 +1,97 @@
<?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\MigrationCenterAPI;
class BatchDeleteAssetsRequest extends \Google\Collection
{
protected $collection_key = 'names';
/**
* Optional. When this value is set to `true` the request is a no-op for non-
* existing assets. See https://google.aip.dev/135#delete-if-existing for
* additional details. Default value is `false`.
*
* @var bool
*/
public $allowMissing;
protected $cascadingRulesType = CascadingRule::class;
protected $cascadingRulesDataType = 'array';
/**
* Required. The IDs of the assets to delete. A maximum of 1000 assets can be
* deleted in a batch. Format:
* projects/{project}/locations/{location}/assets/{name}.
*
* @var string[]
*/
public $names;
/**
* Optional. When this value is set to `true` the request is a no-op for non-
* existing assets. See https://google.aip.dev/135#delete-if-existing for
* additional details. Default value is `false`.
*
* @param bool $allowMissing
*/
public function setAllowMissing($allowMissing)
{
$this->allowMissing = $allowMissing;
}
/**
* @return bool
*/
public function getAllowMissing()
{
return $this->allowMissing;
}
/**
* Optional. Optional cascading rules for deleting related assets.
*
* @param CascadingRule[] $cascadingRules
*/
public function setCascadingRules($cascadingRules)
{
$this->cascadingRules = $cascadingRules;
}
/**
* @return CascadingRule[]
*/
public function getCascadingRules()
{
return $this->cascadingRules;
}
/**
* Required. The IDs of the assets to delete. A maximum of 1000 assets can be
* deleted in a batch. Format:
* projects/{project}/locations/{location}/assets/{name}.
*
* @param string[] $names
*/
public function setNames($names)
{
$this->names = $names;
}
/**
* @return string[]
*/
public function getNames()
{
return $this->names;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchDeleteAssetsRequest::class, 'Google_Service_MigrationCenterAPI_BatchDeleteAssetsRequest');

View File

@@ -0,0 +1,46 @@
<?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\MigrationCenterAPI;
class BatchUpdateAssetsRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = UpdateAssetRequest::class;
protected $requestsDataType = 'array';
/**
* Required. The request message specifying the resources to update. A maximum
* of 1000 assets can be modified in a batch.
*
* @param UpdateAssetRequest[] $requests
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return UpdateAssetRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchUpdateAssetsRequest::class, 'Google_Service_MigrationCenterAPI_BatchUpdateAssetsRequest');

View File

@@ -0,0 +1,46 @@
<?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\MigrationCenterAPI;
class BatchUpdateAssetsResponse extends \Google\Collection
{
protected $collection_key = 'assets';
protected $assetsType = Asset::class;
protected $assetsDataType = 'array';
/**
* Update asset content. The content only includes values after field mask
* being applied.
*
* @param Asset[] $assets
*/
public function setAssets($assets)
{
$this->assets = $assets;
}
/**
* @return Asset[]
*/
public function getAssets()
{
return $this->assets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchUpdateAssetsResponse::class, 'Google_Service_MigrationCenterAPI_BatchUpdateAssetsResponse');

View File

@@ -0,0 +1,157 @@
<?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\MigrationCenterAPI;
class BiosDetails extends \Google\Model
{
/**
* BIOS name. This fields is deprecated. Please use the `id` field instead.
*
* @deprecated
* @var string
*/
public $biosName;
/**
* BIOS ID.
*
* @var string
*/
public $id;
/**
* BIOS manufacturer.
*
* @var string
*/
public $manufacturer;
protected $releaseDateType = Date::class;
protected $releaseDateDataType = '';
/**
* SMBIOS UUID.
*
* @var string
*/
public $smbiosUuid;
/**
* BIOS version.
*
* @var string
*/
public $version;
/**
* BIOS name. This fields is deprecated. Please use the `id` field instead.
*
* @deprecated
* @param string $biosName
*/
public function setBiosName($biosName)
{
$this->biosName = $biosName;
}
/**
* @deprecated
* @return string
*/
public function getBiosName()
{
return $this->biosName;
}
/**
* BIOS ID.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* BIOS manufacturer.
*
* @param string $manufacturer
*/
public function setManufacturer($manufacturer)
{
$this->manufacturer = $manufacturer;
}
/**
* @return string
*/
public function getManufacturer()
{
return $this->manufacturer;
}
/**
* BIOS release date.
*
* @param Date $releaseDate
*/
public function setReleaseDate(Date $releaseDate)
{
$this->releaseDate = $releaseDate;
}
/**
* @return Date
*/
public function getReleaseDate()
{
return $this->releaseDate;
}
/**
* SMBIOS UUID.
*
* @param string $smbiosUuid
*/
public function setSmbiosUuid($smbiosUuid)
{
$this->smbiosUuid = $smbiosUuid;
}
/**
* @return string
*/
public function getSmbiosUuid()
{
return $this->smbiosUuid;
}
/**
* BIOS version.
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BiosDetails::class, 'Google_Service_MigrationCenterAPI_BiosDetails');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_MigrationCenterAPI_CancelOperationRequest');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class CascadeLogicalDBsRule extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CascadeLogicalDBsRule::class, 'Google_Service_MigrationCenterAPI_CascadeLogicalDBsRule');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class CascadingRule extends \Google\Model
{
protected $cascadeLogicalDbsType = CascadeLogicalDBsRule::class;
protected $cascadeLogicalDbsDataType = '';
/**
* Cascading rule for related logical DBs.
*
* @param CascadeLogicalDBsRule $cascadeLogicalDbs
*/
public function setCascadeLogicalDbs(CascadeLogicalDBsRule $cascadeLogicalDbs)
{
$this->cascadeLogicalDbs = $cascadeLogicalDbs;
}
/**
* @return CascadeLogicalDBsRule
*/
public function getCascadeLogicalDbs()
{
return $this->cascadeLogicalDbs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CascadingRule::class, 'Google_Service_MigrationCenterAPI_CascadingRule');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class ComputeEngineMigrationTarget extends \Google\Model
{
protected $shapeType = ComputeEngineShapeDescriptor::class;
protected $shapeDataType = '';
/**
* Description of the suggested shape for the migration target.
*
* @param ComputeEngineShapeDescriptor $shape
*/
public function setShape(ComputeEngineShapeDescriptor $shape)
{
$this->shape = $shape;
}
/**
* @return ComputeEngineShapeDescriptor
*/
public function getShape()
{
return $this->shape;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComputeEngineMigrationTarget::class, 'Google_Service_MigrationCenterAPI_ComputeEngineMigrationTarget');

View File

@@ -0,0 +1,130 @@
<?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\MigrationCenterAPI;
class ComputeEnginePreferences extends \Google\Model
{
/**
* Unspecified (default value).
*/
public const LICENSE_TYPE_LICENSE_TYPE_UNSPECIFIED = 'LICENSE_TYPE_UNSPECIFIED';
/**
* Default Google Cloud licensing plan. Licensing is charged per usage. This a
* good value to start with.
*/
public const LICENSE_TYPE_LICENSE_TYPE_DEFAULT = 'LICENSE_TYPE_DEFAULT';
/**
* Bring-your-own-license (BYOL) plan. User provides the OS license.
*/
public const LICENSE_TYPE_LICENSE_TYPE_BRING_YOUR_OWN_LICENSE = 'LICENSE_TYPE_BRING_YOUR_OWN_LICENSE';
/**
* Unspecified. Fallback to default value based on context.
*/
public const PERSISTENT_DISK_TYPE_PERSISTENT_DISK_TYPE_UNSPECIFIED = 'PERSISTENT_DISK_TYPE_UNSPECIFIED';
/**
* Standard HDD Persistent Disk.
*/
public const PERSISTENT_DISK_TYPE_PERSISTENT_DISK_TYPE_STANDARD = 'PERSISTENT_DISK_TYPE_STANDARD';
/**
* Balanced Persistent Disk.
*/
public const PERSISTENT_DISK_TYPE_PERSISTENT_DISK_TYPE_BALANCED = 'PERSISTENT_DISK_TYPE_BALANCED';
/**
* SSD Persistent Disk.
*/
public const PERSISTENT_DISK_TYPE_PERSISTENT_DISK_TYPE_SSD = 'PERSISTENT_DISK_TYPE_SSD';
/**
* License type to consider when calculating costs for virtual machine
* insights and recommendations. If unspecified, costs are calculated based on
* the default licensing plan.
*
* @var string
*/
public $licenseType;
protected $machinePreferencesType = MachinePreferences::class;
protected $machinePreferencesDataType = '';
/**
* Persistent disk type to use. If unspecified (default), all types are
* considered, based on available usage data.
*
* @var string
*/
public $persistentDiskType;
/**
* License type to consider when calculating costs for virtual machine
* insights and recommendations. If unspecified, costs are calculated based on
* the default licensing plan.
*
* Accepted values: LICENSE_TYPE_UNSPECIFIED, LICENSE_TYPE_DEFAULT,
* LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
*
* @param self::LICENSE_TYPE_* $licenseType
*/
public function setLicenseType($licenseType)
{
$this->licenseType = $licenseType;
}
/**
* @return self::LICENSE_TYPE_*
*/
public function getLicenseType()
{
return $this->licenseType;
}
/**
* Preferences concerning the machine types to consider on Compute Engine.
*
* @param MachinePreferences $machinePreferences
*/
public function setMachinePreferences(MachinePreferences $machinePreferences)
{
$this->machinePreferences = $machinePreferences;
}
/**
* @return MachinePreferences
*/
public function getMachinePreferences()
{
return $this->machinePreferences;
}
/**
* Persistent disk type to use. If unspecified (default), all types are
* considered, based on available usage data.
*
* Accepted values: PERSISTENT_DISK_TYPE_UNSPECIFIED,
* PERSISTENT_DISK_TYPE_STANDARD, PERSISTENT_DISK_TYPE_BALANCED,
* PERSISTENT_DISK_TYPE_SSD
*
* @param self::PERSISTENT_DISK_TYPE_* $persistentDiskType
*/
public function setPersistentDiskType($persistentDiskType)
{
$this->persistentDiskType = $persistentDiskType;
}
/**
* @return self::PERSISTENT_DISK_TYPE_*
*/
public function getPersistentDiskType()
{
return $this->persistentDiskType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComputeEnginePreferences::class, 'Google_Service_MigrationCenterAPI_ComputeEnginePreferences');

View File

@@ -0,0 +1,155 @@
<?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\MigrationCenterAPI;
class ComputeEngineShapeDescriptor extends \Google\Collection
{
protected $collection_key = 'storage';
/**
* Output only. Number of logical cores.
*
* @var int
*/
public $logicalCoreCount;
/**
* Output only. Compute Engine machine type.
*
* @var string
*/
public $machineType;
/**
* Memory in mebibytes.
*
* @var int
*/
public $memoryMb;
/**
* Number of physical cores.
*
* @var int
*/
public $physicalCoreCount;
/**
* Output only. Compute Engine machine series.
*
* @var string
*/
public $series;
protected $storageType = ComputeStorageDescriptor::class;
protected $storageDataType = 'array';
/**
* Output only. Number of logical cores.
*
* @param int $logicalCoreCount
*/
public function setLogicalCoreCount($logicalCoreCount)
{
$this->logicalCoreCount = $logicalCoreCount;
}
/**
* @return int
*/
public function getLogicalCoreCount()
{
return $this->logicalCoreCount;
}
/**
* Output only. Compute Engine machine type.
*
* @param string $machineType
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* Memory in mebibytes.
*
* @param int $memoryMb
*/
public function setMemoryMb($memoryMb)
{
$this->memoryMb = $memoryMb;
}
/**
* @return int
*/
public function getMemoryMb()
{
return $this->memoryMb;
}
/**
* Number of physical cores.
*
* @param int $physicalCoreCount
*/
public function setPhysicalCoreCount($physicalCoreCount)
{
$this->physicalCoreCount = $physicalCoreCount;
}
/**
* @return int
*/
public function getPhysicalCoreCount()
{
return $this->physicalCoreCount;
}
/**
* Output only. Compute Engine machine series.
*
* @param string $series
*/
public function setSeries($series)
{
$this->series = $series;
}
/**
* @return string
*/
public function getSeries()
{
return $this->series;
}
/**
* Output only. Compute Engine storage. Never empty.
*
* @param ComputeStorageDescriptor[] $storage
*/
public function setStorage($storage)
{
$this->storage = $storage;
}
/**
* @return ComputeStorageDescriptor[]
*/
public function getStorage()
{
return $this->storage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComputeEngineShapeDescriptor::class, 'Google_Service_MigrationCenterAPI_ComputeEngineShapeDescriptor');

View File

@@ -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\MigrationCenterAPI;
class ComputeStorageDescriptor extends \Google\Model
{
/**
* Unspecified. Fallback to default value based on context.
*/
public const TYPE_PERSISTENT_DISK_TYPE_UNSPECIFIED = 'PERSISTENT_DISK_TYPE_UNSPECIFIED';
/**
* Standard HDD Persistent Disk.
*/
public const TYPE_PERSISTENT_DISK_TYPE_STANDARD = 'PERSISTENT_DISK_TYPE_STANDARD';
/**
* Balanced Persistent Disk.
*/
public const TYPE_PERSISTENT_DISK_TYPE_BALANCED = 'PERSISTENT_DISK_TYPE_BALANCED';
/**
* SSD Persistent Disk.
*/
public const TYPE_PERSISTENT_DISK_TYPE_SSD = 'PERSISTENT_DISK_TYPE_SSD';
/**
* Output only. Disk size in GiB.
*
* @var int
*/
public $sizeGb;
/**
* Output only. Disk type backing the storage.
*
* @var string
*/
public $type;
/**
* Output only. Disk size in GiB.
*
* @param int $sizeGb
*/
public function setSizeGb($sizeGb)
{
$this->sizeGb = $sizeGb;
}
/**
* @return int
*/
public function getSizeGb()
{
return $this->sizeGb;
}
/**
* Output only. Disk type backing the storage.
*
* Accepted values: PERSISTENT_DISK_TYPE_UNSPECIFIED,
* PERSISTENT_DISK_TYPE_STANDARD, PERSISTENT_DISK_TYPE_BALANCED,
* PERSISTENT_DISK_TYPE_SSD
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComputeStorageDescriptor::class, 'Google_Service_MigrationCenterAPI_ComputeStorageDescriptor');

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class CpuUsageSample extends \Google\Model
{
/**
* Percentage of total CPU capacity utilized. Must be in the interval [0,
* 100]. On most systems can be calculated using 100 - idle percentage.
*
* @var float
*/
public $utilizedPercentage;
/**
* Percentage of total CPU capacity utilized. Must be in the interval [0,
* 100]. On most systems can be calculated using 100 - idle percentage.
*
* @param float $utilizedPercentage
*/
public function setUtilizedPercentage($utilizedPercentage)
{
$this->utilizedPercentage = $utilizedPercentage;
}
/**
* @return float
*/
public function getUtilizedPercentage()
{
return $this->utilizedPercentage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CpuUsageSample::class, 'Google_Service_MigrationCenterAPI_CpuUsageSample');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class DailyResourceUsageAggregation extends \Google\Model
{
protected $cpuType = DailyResourceUsageAggregationCPU::class;
protected $cpuDataType = '';
protected $dateType = Date::class;
protected $dateDataType = '';
protected $diskType = DailyResourceUsageAggregationDisk::class;
protected $diskDataType = '';
protected $memoryType = DailyResourceUsageAggregationMemory::class;
protected $memoryDataType = '';
protected $networkType = DailyResourceUsageAggregationNetwork::class;
protected $networkDataType = '';
/**
* CPU usage.
*
* @param DailyResourceUsageAggregationCPU $cpu
*/
public function setCpu(DailyResourceUsageAggregationCPU $cpu)
{
$this->cpu = $cpu;
}
/**
* @return DailyResourceUsageAggregationCPU
*/
public function getCpu()
{
return $this->cpu;
}
/**
* Aggregation date. Day boundaries are at midnight UTC.
*
* @param Date $date
*/
public function setDate(Date $date)
{
$this->date = $date;
}
/**
* @return Date
*/
public function getDate()
{
return $this->date;
}
/**
* Disk usage.
*
* @param DailyResourceUsageAggregationDisk $disk
*/
public function setDisk(DailyResourceUsageAggregationDisk $disk)
{
$this->disk = $disk;
}
/**
* @return DailyResourceUsageAggregationDisk
*/
public function getDisk()
{
return $this->disk;
}
/**
* Memory usage.
*
* @param DailyResourceUsageAggregationMemory $memory
*/
public function setMemory(DailyResourceUsageAggregationMemory $memory)
{
$this->memory = $memory;
}
/**
* @return DailyResourceUsageAggregationMemory
*/
public function getMemory()
{
return $this->memory;
}
/**
* Network usage.
*
* @param DailyResourceUsageAggregationNetwork $network
*/
public function setNetwork(DailyResourceUsageAggregationNetwork $network)
{
$this->network = $network;
}
/**
* @return DailyResourceUsageAggregationNetwork
*/
public function getNetwork()
{
return $this->network;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DailyResourceUsageAggregation::class, 'Google_Service_MigrationCenterAPI_DailyResourceUsageAggregation');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class DailyResourceUsageAggregationCPU extends \Google\Model
{
protected $utilizationPercentageType = DailyResourceUsageAggregationStats::class;
protected $utilizationPercentageDataType = '';
/**
* CPU utilization percentage.
*
* @param DailyResourceUsageAggregationStats $utilizationPercentage
*/
public function setUtilizationPercentage(DailyResourceUsageAggregationStats $utilizationPercentage)
{
$this->utilizationPercentage = $utilizationPercentage;
}
/**
* @return DailyResourceUsageAggregationStats
*/
public function getUtilizationPercentage()
{
return $this->utilizationPercentage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DailyResourceUsageAggregationCPU::class, 'Google_Service_MigrationCenterAPI_DailyResourceUsageAggregationCPU');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class DailyResourceUsageAggregationDisk extends \Google\Model
{
protected $iopsType = DailyResourceUsageAggregationStats::class;
protected $iopsDataType = '';
protected $readIopsType = DailyResourceUsageAggregationStats::class;
protected $readIopsDataType = '';
protected $writeIopsType = DailyResourceUsageAggregationStats::class;
protected $writeIopsDataType = '';
/**
* Optional. Disk I/O operations per second.
*
* @param DailyResourceUsageAggregationStats $iops
*/
public function setIops(DailyResourceUsageAggregationStats $iops)
{
$this->iops = $iops;
}
/**
* @return DailyResourceUsageAggregationStats
*/
public function getIops()
{
return $this->iops;
}
/**
* Optional. Disk read I/O operations per second.
*
* @param DailyResourceUsageAggregationStats $readIops
*/
public function setReadIops(DailyResourceUsageAggregationStats $readIops)
{
$this->readIops = $readIops;
}
/**
* @return DailyResourceUsageAggregationStats
*/
public function getReadIops()
{
return $this->readIops;
}
/**
* Optional. Disk write I/O operations per second.
*
* @param DailyResourceUsageAggregationStats $writeIops
*/
public function setWriteIops(DailyResourceUsageAggregationStats $writeIops)
{
$this->writeIops = $writeIops;
}
/**
* @return DailyResourceUsageAggregationStats
*/
public function getWriteIops()
{
return $this->writeIops;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DailyResourceUsageAggregationDisk::class, 'Google_Service_MigrationCenterAPI_DailyResourceUsageAggregationDisk');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class DailyResourceUsageAggregationMemory extends \Google\Model
{
protected $utilizationPercentageType = DailyResourceUsageAggregationStats::class;
protected $utilizationPercentageDataType = '';
/**
* Memory utilization percentage.
*
* @param DailyResourceUsageAggregationStats $utilizationPercentage
*/
public function setUtilizationPercentage(DailyResourceUsageAggregationStats $utilizationPercentage)
{
$this->utilizationPercentage = $utilizationPercentage;
}
/**
* @return DailyResourceUsageAggregationStats
*/
public function getUtilizationPercentage()
{
return $this->utilizationPercentage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DailyResourceUsageAggregationMemory::class, 'Google_Service_MigrationCenterAPI_DailyResourceUsageAggregationMemory');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class DailyResourceUsageAggregationNetwork extends \Google\Model
{
protected $egressBpsType = DailyResourceUsageAggregationStats::class;
protected $egressBpsDataType = '';
protected $ingressBpsType = DailyResourceUsageAggregationStats::class;
protected $ingressBpsDataType = '';
/**
* Network egress in B/s.
*
* @param DailyResourceUsageAggregationStats $egressBps
*/
public function setEgressBps(DailyResourceUsageAggregationStats $egressBps)
{
$this->egressBps = $egressBps;
}
/**
* @return DailyResourceUsageAggregationStats
*/
public function getEgressBps()
{
return $this->egressBps;
}
/**
* Network ingress in B/s.
*
* @param DailyResourceUsageAggregationStats $ingressBps
*/
public function setIngressBps(DailyResourceUsageAggregationStats $ingressBps)
{
$this->ingressBps = $ingressBps;
}
/**
* @return DailyResourceUsageAggregationStats
*/
public function getIngressBps()
{
return $this->ingressBps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DailyResourceUsageAggregationNetwork::class, 'Google_Service_MigrationCenterAPI_DailyResourceUsageAggregationNetwork');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class DailyResourceUsageAggregationStats extends \Google\Model
{
/**
* Average usage value.
*
* @var float
*/
public $average;
/**
* Median usage value.
*
* @var float
*/
public $median;
/**
* 95th percentile usage value.
*
* @var float
*/
public $ninteyFifthPercentile;
/**
* Peak usage value.
*
* @var float
*/
public $peak;
/**
* Average usage value.
*
* @param float $average
*/
public function setAverage($average)
{
$this->average = $average;
}
/**
* @return float
*/
public function getAverage()
{
return $this->average;
}
/**
* Median usage value.
*
* @param float $median
*/
public function setMedian($median)
{
$this->median = $median;
}
/**
* @return float
*/
public function getMedian()
{
return $this->median;
}
/**
* 95th percentile usage value.
*
* @param float $ninteyFifthPercentile
*/
public function setNinteyFifthPercentile($ninteyFifthPercentile)
{
$this->ninteyFifthPercentile = $ninteyFifthPercentile;
}
/**
* @return float
*/
public function getNinteyFifthPercentile()
{
return $this->ninteyFifthPercentile;
}
/**
* Peak usage value.
*
* @param float $peak
*/
public function setPeak($peak)
{
$this->peak = $peak;
}
/**
* @return float
*/
public function getPeak()
{
return $this->peak;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DailyResourceUsageAggregationStats::class, 'Google_Service_MigrationCenterAPI_DailyResourceUsageAggregationStats');

View File

@@ -0,0 +1,222 @@
<?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\MigrationCenterAPI;
class DatabaseDeploymentDetails extends \Google\Model
{
protected $aggregatedStatsType = DatabaseDeploymentDetailsAggregatedStats::class;
protected $aggregatedStatsDataType = '';
protected $awsRdsType = AwsRds::class;
protected $awsRdsDataType = '';
/**
* Optional. The database deployment edition.
*
* @var string
*/
public $edition;
/**
* Optional. The database deployment generated ID.
*
* @var string
*/
public $generatedId;
/**
* Optional. A manual unique ID set by the user.
*
* @var string
*/
public $manualUniqueId;
protected $mysqlType = MysqlDatabaseDeployment::class;
protected $mysqlDataType = '';
protected $postgresqlType = PostgreSqlDatabaseDeployment::class;
protected $postgresqlDataType = '';
protected $sqlServerType = SqlServerDatabaseDeployment::class;
protected $sqlServerDataType = '';
protected $topologyType = DatabaseDeploymentTopology::class;
protected $topologyDataType = '';
/**
* Optional. The database deployment version.
*
* @var string
*/
public $version;
/**
* Output only. Aggregated stats for the database deployment.
*
* @param DatabaseDeploymentDetailsAggregatedStats $aggregatedStats
*/
public function setAggregatedStats(DatabaseDeploymentDetailsAggregatedStats $aggregatedStats)
{
$this->aggregatedStats = $aggregatedStats;
}
/**
* @return DatabaseDeploymentDetailsAggregatedStats
*/
public function getAggregatedStats()
{
return $this->aggregatedStats;
}
/**
* Optional. Details of an AWS RDS instance.
*
* @param AwsRds $awsRds
*/
public function setAwsRds(AwsRds $awsRds)
{
$this->awsRds = $awsRds;
}
/**
* @return AwsRds
*/
public function getAwsRds()
{
return $this->awsRds;
}
/**
* Optional. The database deployment edition.
*
* @param string $edition
*/
public function setEdition($edition)
{
$this->edition = $edition;
}
/**
* @return string
*/
public function getEdition()
{
return $this->edition;
}
/**
* Optional. The database deployment generated ID.
*
* @param string $generatedId
*/
public function setGeneratedId($generatedId)
{
$this->generatedId = $generatedId;
}
/**
* @return string
*/
public function getGeneratedId()
{
return $this->generatedId;
}
/**
* Optional. A manual unique ID set by the user.
*
* @param string $manualUniqueId
*/
public function setManualUniqueId($manualUniqueId)
{
$this->manualUniqueId = $manualUniqueId;
}
/**
* @return string
*/
public function getManualUniqueId()
{
return $this->manualUniqueId;
}
/**
* Optional. Details of a MYSQL database deployment.
*
* @param MysqlDatabaseDeployment $mysql
*/
public function setMysql(MysqlDatabaseDeployment $mysql)
{
$this->mysql = $mysql;
}
/**
* @return MysqlDatabaseDeployment
*/
public function getMysql()
{
return $this->mysql;
}
/**
* Optional. Details of a PostgreSQL database deployment.
*
* @param PostgreSqlDatabaseDeployment $postgresql
*/
public function setPostgresql(PostgreSqlDatabaseDeployment $postgresql)
{
$this->postgresql = $postgresql;
}
/**
* @return PostgreSqlDatabaseDeployment
*/
public function getPostgresql()
{
return $this->postgresql;
}
/**
* Optional. Details of a Microsoft SQL Server database deployment.
*
* @param SqlServerDatabaseDeployment $sqlServer
*/
public function setSqlServer(SqlServerDatabaseDeployment $sqlServer)
{
$this->sqlServer = $sqlServer;
}
/**
* @return SqlServerDatabaseDeployment
*/
public function getSqlServer()
{
return $this->sqlServer;
}
/**
* Optional. Details of the database deployment topology.
*
* @param DatabaseDeploymentTopology $topology
*/
public function setTopology(DatabaseDeploymentTopology $topology)
{
$this->topology = $topology;
}
/**
* @return DatabaseDeploymentTopology
*/
public function getTopology()
{
return $this->topology;
}
/**
* Optional. The database deployment version.
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseDeploymentDetails::class, 'Google_Service_MigrationCenterAPI_DatabaseDeploymentDetails');

View File

@@ -0,0 +1,48 @@
<?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\MigrationCenterAPI;
class DatabaseDeploymentDetailsAggregatedStats extends \Google\Model
{
/**
* Output only. The number of databases in the deployment.
*
* @var int
*/
public $databaseCount;
/**
* Output only. The number of databases in the deployment.
*
* @param int $databaseCount
*/
public function setDatabaseCount($databaseCount)
{
$this->databaseCount = $databaseCount;
}
/**
* @return int
*/
public function getDatabaseCount()
{
return $this->databaseCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseDeploymentDetailsAggregatedStats::class, 'Google_Service_MigrationCenterAPI_DatabaseDeploymentDetailsAggregatedStats');

View File

@@ -0,0 +1,221 @@
<?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\MigrationCenterAPI;
class DatabaseDeploymentTopology extends \Google\Collection
{
protected $collection_key = 'instances';
/**
* Optional. Number of total logical cores.
*
* @var int
*/
public $coreCount;
/**
* Optional. Number of total logical cores limited by db deployment.
*
* @var int
*/
public $coreLimit;
/**
* Optional. Disk allocated in bytes.
*
* @var string
*/
public $diskAllocatedBytes;
/**
* Optional. Disk used in bytes.
*
* @var string
*/
public $diskUsedBytes;
protected $instancesType = DatabaseInstance::class;
protected $instancesDataType = 'array';
/**
* Optional. Total memory in bytes.
*
* @var string
*/
public $memoryBytes;
/**
* Optional. Total memory in bytes limited by db deployment.
*
* @var string
*/
public $memoryLimitBytes;
/**
* Optional. Number of total physical cores.
*
* @var int
*/
public $physicalCoreCount;
/**
* Optional. Number of total physical cores limited by db deployment.
*
* @var int
*/
public $physicalCoreLimit;
/**
* Optional. Number of total logical cores.
*
* @param int $coreCount
*/
public function setCoreCount($coreCount)
{
$this->coreCount = $coreCount;
}
/**
* @return int
*/
public function getCoreCount()
{
return $this->coreCount;
}
/**
* Optional. Number of total logical cores limited by db deployment.
*
* @param int $coreLimit
*/
public function setCoreLimit($coreLimit)
{
$this->coreLimit = $coreLimit;
}
/**
* @return int
*/
public function getCoreLimit()
{
return $this->coreLimit;
}
/**
* Optional. Disk allocated in bytes.
*
* @param string $diskAllocatedBytes
*/
public function setDiskAllocatedBytes($diskAllocatedBytes)
{
$this->diskAllocatedBytes = $diskAllocatedBytes;
}
/**
* @return string
*/
public function getDiskAllocatedBytes()
{
return $this->diskAllocatedBytes;
}
/**
* Optional. Disk used in bytes.
*
* @param string $diskUsedBytes
*/
public function setDiskUsedBytes($diskUsedBytes)
{
$this->diskUsedBytes = $diskUsedBytes;
}
/**
* @return string
*/
public function getDiskUsedBytes()
{
return $this->diskUsedBytes;
}
/**
* Optional. List of database instances.
*
* @param DatabaseInstance[] $instances
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return DatabaseInstance[]
*/
public function getInstances()
{
return $this->instances;
}
/**
* Optional. Total memory in bytes.
*
* @param string $memoryBytes
*/
public function setMemoryBytes($memoryBytes)
{
$this->memoryBytes = $memoryBytes;
}
/**
* @return string
*/
public function getMemoryBytes()
{
return $this->memoryBytes;
}
/**
* Optional. Total memory in bytes limited by db deployment.
*
* @param string $memoryLimitBytes
*/
public function setMemoryLimitBytes($memoryLimitBytes)
{
$this->memoryLimitBytes = $memoryLimitBytes;
}
/**
* @return string
*/
public function getMemoryLimitBytes()
{
return $this->memoryLimitBytes;
}
/**
* Optional. Number of total physical cores.
*
* @param int $physicalCoreCount
*/
public function setPhysicalCoreCount($physicalCoreCount)
{
$this->physicalCoreCount = $physicalCoreCount;
}
/**
* @return int
*/
public function getPhysicalCoreCount()
{
return $this->physicalCoreCount;
}
/**
* Optional. Number of total physical cores limited by db deployment.
*
* @param int $physicalCoreLimit
*/
public function setPhysicalCoreLimit($physicalCoreLimit)
{
$this->physicalCoreLimit = $physicalCoreLimit;
}
/**
* @return int
*/
public function getPhysicalCoreLimit()
{
return $this->physicalCoreLimit;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseDeploymentTopology::class, 'Google_Service_MigrationCenterAPI_DatabaseDeploymentTopology');

View File

@@ -0,0 +1,108 @@
<?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\MigrationCenterAPI;
class DatabaseDetails extends \Google\Collection
{
protected $collection_key = 'schemas';
/**
* Optional. The allocated storage for the database in bytes.
*
* @var string
*/
public $allocatedStorageBytes;
/**
* Required. The name of the database.
*
* @var string
*/
public $databaseName;
protected $parentDatabaseDeploymentType = DatabaseDetailsParentDatabaseDeployment::class;
protected $parentDatabaseDeploymentDataType = '';
protected $schemasType = DatabaseSchema::class;
protected $schemasDataType = 'array';
/**
* Optional. The allocated storage for the database in bytes.
*
* @param string $allocatedStorageBytes
*/
public function setAllocatedStorageBytes($allocatedStorageBytes)
{
$this->allocatedStorageBytes = $allocatedStorageBytes;
}
/**
* @return string
*/
public function getAllocatedStorageBytes()
{
return $this->allocatedStorageBytes;
}
/**
* Required. The name of the database.
*
* @param string $databaseName
*/
public function setDatabaseName($databaseName)
{
$this->databaseName = $databaseName;
}
/**
* @return string
*/
public function getDatabaseName()
{
return $this->databaseName;
}
/**
* Required. The parent database deployment that contains the logical
* database.
*
* @param DatabaseDetailsParentDatabaseDeployment $parentDatabaseDeployment
*/
public function setParentDatabaseDeployment(DatabaseDetailsParentDatabaseDeployment $parentDatabaseDeployment)
{
$this->parentDatabaseDeployment = $parentDatabaseDeployment;
}
/**
* @return DatabaseDetailsParentDatabaseDeployment
*/
public function getParentDatabaseDeployment()
{
return $this->parentDatabaseDeployment;
}
/**
* Optional. The database schemas.
*
* @param DatabaseSchema[] $schemas
*/
public function setSchemas($schemas)
{
$this->schemas = $schemas;
}
/**
* @return DatabaseSchema[]
*/
public function getSchemas()
{
return $this->schemas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseDetails::class, 'Google_Service_MigrationCenterAPI_DatabaseDetails');

View File

@@ -0,0 +1,72 @@
<?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\MigrationCenterAPI;
class DatabaseDetailsParentDatabaseDeployment extends \Google\Model
{
/**
* Optional. The parent database deployment generated ID.
*
* @var string
*/
public $generatedId;
/**
* Optional. The parent database deployment optional manual unique ID set by
* the user.
*
* @var string
*/
public $manualUniqueId;
/**
* Optional. The parent database deployment generated ID.
*
* @param string $generatedId
*/
public function setGeneratedId($generatedId)
{
$this->generatedId = $generatedId;
}
/**
* @return string
*/
public function getGeneratedId()
{
return $this->generatedId;
}
/**
* Optional. The parent database deployment optional manual unique ID set by
* the user.
*
* @param string $manualUniqueId
*/
public function setManualUniqueId($manualUniqueId)
{
$this->manualUniqueId = $manualUniqueId;
}
/**
* @return string
*/
public function getManualUniqueId()
{
return $this->manualUniqueId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseDetailsParentDatabaseDeployment::class, 'Google_Service_MigrationCenterAPI_DatabaseDetailsParentDatabaseDeployment');

View File

@@ -0,0 +1,106 @@
<?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\MigrationCenterAPI;
class DatabaseInstance extends \Google\Model
{
/**
* Unspecified.
*/
public const ROLE_ROLE_UNSPECIFIED = 'ROLE_UNSPECIFIED';
/**
* Primary.
*/
public const ROLE_PRIMARY = 'PRIMARY';
/**
* Secondary.
*/
public const ROLE_SECONDARY = 'SECONDARY';
/**
* Arbiter.
*/
public const ROLE_ARBITER = 'ARBITER';
/**
* Optional. The instance's name.
*
* @var string
*/
public $instanceName;
protected $networkType = DatabaseInstanceNetwork::class;
protected $networkDataType = '';
/**
* Optional. The instance role in the database engine.
*
* @var string
*/
public $role;
/**
* Optional. The instance's name.
*
* @param string $instanceName
*/
public function setInstanceName($instanceName)
{
$this->instanceName = $instanceName;
}
/**
* @return string
*/
public function getInstanceName()
{
return $this->instanceName;
}
/**
* Optional. Networking details.
*
* @param DatabaseInstanceNetwork $network
*/
public function setNetwork(DatabaseInstanceNetwork $network)
{
$this->network = $network;
}
/**
* @return DatabaseInstanceNetwork
*/
public function getNetwork()
{
return $this->network;
}
/**
* Optional. The instance role in the database engine.
*
* Accepted values: ROLE_UNSPECIFIED, PRIMARY, SECONDARY, ARBITER
*
* @param self::ROLE_* $role
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return self::ROLE_*
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseInstance::class, 'Google_Service_MigrationCenterAPI_DatabaseInstance');

View File

@@ -0,0 +1,93 @@
<?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\MigrationCenterAPI;
class DatabaseInstanceNetwork extends \Google\Collection
{
protected $collection_key = 'ipAddresses';
/**
* Optional. The instance's host names.
*
* @var string[]
*/
public $hostNames;
/**
* Optional. The instance's IP addresses.
*
* @var string[]
*/
public $ipAddresses;
/**
* Optional. The instance's primary MAC address.
*
* @var string
*/
public $primaryMacAddress;
/**
* Optional. The instance's host names.
*
* @param string[] $hostNames
*/
public function setHostNames($hostNames)
{
$this->hostNames = $hostNames;
}
/**
* @return string[]
*/
public function getHostNames()
{
return $this->hostNames;
}
/**
* Optional. The instance's IP addresses.
*
* @param string[] $ipAddresses
*/
public function setIpAddresses($ipAddresses)
{
$this->ipAddresses = $ipAddresses;
}
/**
* @return string[]
*/
public function getIpAddresses()
{
return $this->ipAddresses;
}
/**
* Optional. The instance's primary MAC address.
*
* @param string $primaryMacAddress
*/
public function setPrimaryMacAddress($primaryMacAddress)
{
$this->primaryMacAddress = $primaryMacAddress;
}
/**
* @return string
*/
public function getPrimaryMacAddress()
{
return $this->primaryMacAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseInstanceNetwork::class, 'Google_Service_MigrationCenterAPI_DatabaseInstanceNetwork');

View File

@@ -0,0 +1,101 @@
<?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\MigrationCenterAPI;
class DatabaseObjects extends \Google\Model
{
/**
* Unspecified type.
*/
public const CATEGORY_CATEGORY_UNSPECIFIED = 'CATEGORY_UNSPECIFIED';
/**
* Table.
*/
public const CATEGORY_TABLE = 'TABLE';
/**
* Index.
*/
public const CATEGORY_INDEX = 'INDEX';
/**
* Constraints.
*/
public const CATEGORY_CONSTRAINTS = 'CONSTRAINTS';
/**
* Views.
*/
public const CATEGORY_VIEWS = 'VIEWS';
/**
* Source code, e.g. procedures.
*/
public const CATEGORY_SOURCE_CODE = 'SOURCE_CODE';
/**
* Uncategorized objects.
*/
public const CATEGORY_OTHER = 'OTHER';
/**
* Optional. The category of the objects.
*
* @var string
*/
public $category;
/**
* Optional. The number of objects.
*
* @var string
*/
public $count;
/**
* Optional. The category of the objects.
*
* Accepted values: CATEGORY_UNSPECIFIED, TABLE, INDEX, CONSTRAINTS, VIEWS,
* SOURCE_CODE, OTHER
*
* @param self::CATEGORY_* $category
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return self::CATEGORY_*
*/
public function getCategory()
{
return $this->category;
}
/**
* Optional. The number of objects.
*
* @param string $count
*/
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(DatabaseObjects::class, 'Google_Service_MigrationCenterAPI_DatabaseObjects');

View File

@@ -0,0 +1,143 @@
<?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\MigrationCenterAPI;
class DatabaseSchema extends \Google\Collection
{
protected $collection_key = 'objects';
protected $mysqlType = MySqlSchemaDetails::class;
protected $mysqlDataType = '';
protected $objectsType = DatabaseObjects::class;
protected $objectsDataType = 'array';
protected $postgresqlType = PostgreSqlSchemaDetails::class;
protected $postgresqlDataType = '';
/**
* Required. The name of the schema.
*
* @var string
*/
public $schemaName;
protected $sqlServerType = SqlServerSchemaDetails::class;
protected $sqlServerDataType = '';
/**
* Optional. The total size of tables in bytes.
*
* @var string
*/
public $tablesSizeBytes;
/**
* Optional. Details of a Mysql schema.
*
* @param MySqlSchemaDetails $mysql
*/
public function setMysql(MySqlSchemaDetails $mysql)
{
$this->mysql = $mysql;
}
/**
* @return MySqlSchemaDetails
*/
public function getMysql()
{
return $this->mysql;
}
/**
* Optional. List of details of objects by category.
*
* @param DatabaseObjects[] $objects
*/
public function setObjects($objects)
{
$this->objects = $objects;
}
/**
* @return DatabaseObjects[]
*/
public function getObjects()
{
return $this->objects;
}
/**
* Optional. Details of a PostgreSql schema.
*
* @param PostgreSqlSchemaDetails $postgresql
*/
public function setPostgresql(PostgreSqlSchemaDetails $postgresql)
{
$this->postgresql = $postgresql;
}
/**
* @return PostgreSqlSchemaDetails
*/
public function getPostgresql()
{
return $this->postgresql;
}
/**
* Required. The name of the schema.
*
* @param string $schemaName
*/
public function setSchemaName($schemaName)
{
$this->schemaName = $schemaName;
}
/**
* @return string
*/
public function getSchemaName()
{
return $this->schemaName;
}
/**
* Optional. Details of a SqlServer schema.
*
* @param SqlServerSchemaDetails $sqlServer
*/
public function setSqlServer(SqlServerSchemaDetails $sqlServer)
{
$this->sqlServer = $sqlServer;
}
/**
* @return SqlServerSchemaDetails
*/
public function getSqlServer()
{
return $this->sqlServer;
}
/**
* Optional. The total size of tables in bytes.
*
* @param string $tablesSizeBytes
*/
public function setTablesSizeBytes($tablesSizeBytes)
{
$this->tablesSizeBytes = $tablesSizeBytes;
}
/**
* @return string
*/
public function getTablesSizeBytes()
{
return $this->tablesSizeBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseSchema::class, 'Google_Service_MigrationCenterAPI_DatabaseSchema');

View File

@@ -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\MigrationCenterAPI;
class Date extends \Google\Model
{
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't
* significant.
*
* @var int
*/
public $day;
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @var int
*/
public $month;
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @var int
*/
public $year;
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't
* significant.
*
* @param int $day
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @param int $month
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @param int $year
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_MigrationCenterAPI_Date');

View File

@@ -0,0 +1,186 @@
<?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\MigrationCenterAPI;
class DateTime extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $hours;
/**
* @var int
*/
public $minutes;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $nanos;
/**
* @var int
*/
public $seconds;
protected $timeZoneType = TimeZone::class;
protected $timeZoneDataType = '';
/**
* @var string
*/
public $utcOffset;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setHours($hours)
{
$this->hours = $hours;
}
/**
* @return int
*/
public function getHours()
{
return $this->hours;
}
/**
* @param int
*/
public function setMinutes($minutes)
{
$this->minutes = $minutes;
}
/**
* @return int
*/
public function getMinutes()
{
return $this->minutes;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
/**
* @return int
*/
public function getNanos()
{
return $this->nanos;
}
/**
* @param int
*/
public function setSeconds($seconds)
{
$this->seconds = $seconds;
}
/**
* @return int
*/
public function getSeconds()
{
return $this->seconds;
}
/**
* @param TimeZone
*/
public function setTimeZone(TimeZone $timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return TimeZone
*/
public function getTimeZone()
{
return $this->timeZone;
}
/**
* @param string
*/
public function setUtcOffset($utcOffset)
{
$this->utcOffset = $utcOffset;
}
/**
* @return string
*/
public function getUtcOffset()
{
return $this->utcOffset;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DateTime::class, 'Google_Service_MigrationCenterAPI_DateTime');

View File

@@ -0,0 +1,393 @@
<?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\MigrationCenterAPI;
class DiscoveryClient extends \Google\Collection
{
/**
* Client state is unspecified.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Client is active.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* Client is offline.
*/
public const STATE_OFFLINE = 'OFFLINE';
/**
* Client is in a degraded state. See the `errors` field for details.
*/
public const STATE_DEGRADED = 'DEGRADED';
/**
* Client has expired. See the expire_time field for the expire time.
*/
public const STATE_EXPIRED = 'EXPIRED';
protected $collection_key = 'errors';
/**
* Output only. Time when the discovery client was first created.
*
* @var string
*/
public $createTime;
/**
* Optional. Free text description. Maximum length is 1000 characters.
*
* @var string
*/
public $description;
/**
* Optional. Free text display name. Maximum length is 63 characters.
*
* @var string
*/
public $displayName;
protected $errorsType = Status::class;
protected $errorsDataType = 'array';
/**
* Optional. Client expiration time in UTC. If specified, the backend will not
* accept new frames after this time.
*
* @var string
*/
public $expireTime;
/**
* Output only. Last heartbeat time. Healthy clients are expected to send
* heartbeats regularly (normally every few minutes).
*
* @var string
*/
public $heartbeatTime;
/**
* Optional. Labels as key value pairs.
*
* @var string[]
*/
public $labels;
/**
* Output only. Identifier. Full name of this discovery client.
*
* @var string
*/
public $name;
/**
* Required. Service account used by the discovery client for various
* operation.
*
* @var string
*/
public $serviceAccount;
/**
* Output only. This field is intended for internal use.
*
* @var string
*/
public $signalsEndpoint;
/**
* Required. Immutable. Full name of the source object associated with this
* discovery client.
*
* @var string
*/
public $source;
/**
* Output only. Current state of the discovery client.
*
* @var string
*/
public $state;
/**
* Optional. Input only. Client time-to-live. If specified, the backend will
* not accept new frames after this time. This field is input only. The
* derived expiration time is provided as output through the `expire_time`
* field.
*
* @var string
*/
public $ttl;
/**
* Output only. Time when the discovery client was last updated. This value is
* not updated by heartbeats, to view the last heartbeat time please refer to
* the `heartbeat_time` field.
*
* @var string
*/
public $updateTime;
/**
* Output only. Client version, as reported in recent heartbeat.
*
* @var string
*/
public $version;
/**
* Output only. Time when the discovery client was first created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Free text description. Maximum length is 1000 characters.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Optional. Free text display name. Maximum length is 63 characters.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. Errors affecting client functionality.
*
* @param Status[] $errors
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return Status[]
*/
public function getErrors()
{
return $this->errors;
}
/**
* Optional. Client expiration time in UTC. If specified, the backend will not
* accept new frames after this time.
*
* @param string $expireTime
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* Output only. Last heartbeat time. Healthy clients are expected to send
* heartbeats regularly (normally every few minutes).
*
* @param string $heartbeatTime
*/
public function setHeartbeatTime($heartbeatTime)
{
$this->heartbeatTime = $heartbeatTime;
}
/**
* @return string
*/
public function getHeartbeatTime()
{
return $this->heartbeatTime;
}
/**
* Optional. Labels as key value pairs.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Output only. Identifier. Full name of this discovery client.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. Service account used by the discovery client for various
* operation.
*
* @param string $serviceAccount
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* Output only. This field is intended for internal use.
*
* @param string $signalsEndpoint
*/
public function setSignalsEndpoint($signalsEndpoint)
{
$this->signalsEndpoint = $signalsEndpoint;
}
/**
* @return string
*/
public function getSignalsEndpoint()
{
return $this->signalsEndpoint;
}
/**
* Required. Immutable. Full name of the source object associated with this
* discovery client.
*
* @param string $source
*/
public function setSource($source)
{
$this->source = $source;
}
/**
* @return string
*/
public function getSource()
{
return $this->source;
}
/**
* Output only. Current state of the discovery client.
*
* Accepted values: STATE_UNSPECIFIED, ACTIVE, OFFLINE, DEGRADED, EXPIRED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Optional. Input only. Client time-to-live. If specified, the backend will
* not accept new frames after this time. This field is input only. The
* derived expiration time is provided as output through the `expire_time`
* field.
*
* @param string $ttl
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return string
*/
public function getTtl()
{
return $this->ttl;
}
/**
* Output only. Time when the discovery client was last updated. This value is
* not updated by heartbeats, to view the last heartbeat time please refer to
* the `heartbeat_time` field.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* Output only. Client version, as reported in recent heartbeat.
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiscoveryClient::class, 'Google_Service_MigrationCenterAPI_DiscoveryClient');

View File

@@ -0,0 +1,229 @@
<?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\MigrationCenterAPI;
class DiskEntry extends \Google\Model
{
/**
* Interface type unknown or unspecified.
*/
public const INTERFACE_TYPE_INTERFACE_TYPE_UNSPECIFIED = 'INTERFACE_TYPE_UNSPECIFIED';
/**
* IDE interface type.
*/
public const INTERFACE_TYPE_IDE = 'IDE';
/**
* SATA interface type.
*/
public const INTERFACE_TYPE_SATA = 'SATA';
/**
* SAS interface type.
*/
public const INTERFACE_TYPE_SAS = 'SAS';
/**
* SCSI interface type.
*/
public const INTERFACE_TYPE_SCSI = 'SCSI';
/**
* NVME interface type.
*/
public const INTERFACE_TYPE_NVME = 'NVME';
/**
* FC interface type.
*/
public const INTERFACE_TYPE_FC = 'FC';
/**
* iSCSI interface type.
*/
public const INTERFACE_TYPE_ISCSI = 'ISCSI';
/**
* Disk capacity.
*
* @var string
*/
public $capacityBytes;
/**
* Disk label.
*
* @var string
*/
public $diskLabel;
/**
* Disk label type (e.g. BIOS/GPT)
*
* @var string
*/
public $diskLabelType;
/**
* Disk free space.
*
* @var string
*/
public $freeBytes;
/**
* Disk hardware address (e.g. 0:1 for SCSI).
*
* @var string
*/
public $hwAddress;
/**
* Disks interface type.
*
* @var string
*/
public $interfaceType;
protected $partitionsType = DiskPartitionList::class;
protected $partitionsDataType = '';
protected $vmwareType = VmwareDiskConfig::class;
protected $vmwareDataType = '';
/**
* Disk capacity.
*
* @param string $capacityBytes
*/
public function setCapacityBytes($capacityBytes)
{
$this->capacityBytes = $capacityBytes;
}
/**
* @return string
*/
public function getCapacityBytes()
{
return $this->capacityBytes;
}
/**
* Disk label.
*
* @param string $diskLabel
*/
public function setDiskLabel($diskLabel)
{
$this->diskLabel = $diskLabel;
}
/**
* @return string
*/
public function getDiskLabel()
{
return $this->diskLabel;
}
/**
* Disk label type (e.g. BIOS/GPT)
*
* @param string $diskLabelType
*/
public function setDiskLabelType($diskLabelType)
{
$this->diskLabelType = $diskLabelType;
}
/**
* @return string
*/
public function getDiskLabelType()
{
return $this->diskLabelType;
}
/**
* Disk free space.
*
* @param string $freeBytes
*/
public function setFreeBytes($freeBytes)
{
$this->freeBytes = $freeBytes;
}
/**
* @return string
*/
public function getFreeBytes()
{
return $this->freeBytes;
}
/**
* Disk hardware address (e.g. 0:1 for SCSI).
*
* @param string $hwAddress
*/
public function setHwAddress($hwAddress)
{
$this->hwAddress = $hwAddress;
}
/**
* @return string
*/
public function getHwAddress()
{
return $this->hwAddress;
}
/**
* Disks interface type.
*
* Accepted values: INTERFACE_TYPE_UNSPECIFIED, IDE, SATA, SAS, SCSI, NVME,
* FC, ISCSI
*
* @param self::INTERFACE_TYPE_* $interfaceType
*/
public function setInterfaceType($interfaceType)
{
$this->interfaceType = $interfaceType;
}
/**
* @return self::INTERFACE_TYPE_*
*/
public function getInterfaceType()
{
return $this->interfaceType;
}
/**
* Partition layout.
*
* @param DiskPartitionList $partitions
*/
public function setPartitions(DiskPartitionList $partitions)
{
$this->partitions = $partitions;
}
/**
* @return DiskPartitionList
*/
public function getPartitions()
{
return $this->partitions;
}
/**
* VMware disk details.
*
* @param VmwareDiskConfig $vmware
*/
public function setVmware(VmwareDiskConfig $vmware)
{
$this->vmware = $vmware;
}
/**
* @return VmwareDiskConfig
*/
public function getVmware()
{
return $this->vmware;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiskEntry::class, 'Google_Service_MigrationCenterAPI_DiskEntry');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class DiskEntryList extends \Google\Collection
{
protected $collection_key = 'entries';
protected $entriesType = DiskEntry::class;
protected $entriesDataType = 'array';
/**
* Disk entries.
*
* @param DiskEntry[] $entries
*/
public function setEntries($entries)
{
$this->entries = $entries;
}
/**
* @return DiskEntry[]
*/
public function getEntries()
{
return $this->entries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiskEntryList::class, 'Google_Service_MigrationCenterAPI_DiskEntryList');

View File

@@ -0,0 +1,176 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class DiskPartition extends \Google\Model
{
/**
* Partition capacity.
*
* @var string
*/
public $capacityBytes;
/**
* Partition file system.
*
* @var string
*/
public $fileSystem;
/**
* Partition free space.
*
* @var string
*/
public $freeBytes;
/**
* Mount point (Linux/Windows) or drive letter (Windows).
*
* @var string
*/
public $mountPoint;
protected $subPartitionsType = DiskPartitionList::class;
protected $subPartitionsDataType = '';
/**
* Partition type.
*
* @var string
*/
public $type;
/**
* Partition UUID.
*
* @var string
*/
public $uuid;
/**
* Partition capacity.
*
* @param string $capacityBytes
*/
public function setCapacityBytes($capacityBytes)
{
$this->capacityBytes = $capacityBytes;
}
/**
* @return string
*/
public function getCapacityBytes()
{
return $this->capacityBytes;
}
/**
* Partition file system.
*
* @param string $fileSystem
*/
public function setFileSystem($fileSystem)
{
$this->fileSystem = $fileSystem;
}
/**
* @return string
*/
public function getFileSystem()
{
return $this->fileSystem;
}
/**
* Partition free space.
*
* @param string $freeBytes
*/
public function setFreeBytes($freeBytes)
{
$this->freeBytes = $freeBytes;
}
/**
* @return string
*/
public function getFreeBytes()
{
return $this->freeBytes;
}
/**
* Mount point (Linux/Windows) or drive letter (Windows).
*
* @param string $mountPoint
*/
public function setMountPoint($mountPoint)
{
$this->mountPoint = $mountPoint;
}
/**
* @return string
*/
public function getMountPoint()
{
return $this->mountPoint;
}
/**
* Sub-partitions.
*
* @param DiskPartitionList $subPartitions
*/
public function setSubPartitions(DiskPartitionList $subPartitions)
{
$this->subPartitions = $subPartitions;
}
/**
* @return DiskPartitionList
*/
public function getSubPartitions()
{
return $this->subPartitions;
}
/**
* Partition type.
*
* @param string $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* Partition UUID.
*
* @param string $uuid
*/
public function setUuid($uuid)
{
$this->uuid = $uuid;
}
/**
* @return string
*/
public function getUuid()
{
return $this->uuid;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiskPartition::class, 'Google_Service_MigrationCenterAPI_DiskPartition');

View File

@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class DiskPartitionDetails extends \Google\Model
{
/**
* Output only. Total free space of all partitions.
*
* @var string
*/
public $freeSpaceBytes;
protected $partitionsType = DiskPartitionList::class;
protected $partitionsDataType = '';
/**
* Output only. Total capacity of all partitions.
*
* @var string
*/
public $totalCapacityBytes;
/**
* Output only. Total free space of all partitions.
*
* @param string $freeSpaceBytes
*/
public function setFreeSpaceBytes($freeSpaceBytes)
{
$this->freeSpaceBytes = $freeSpaceBytes;
}
/**
* @return string
*/
public function getFreeSpaceBytes()
{
return $this->freeSpaceBytes;
}
/**
* Optional. List of partitions.
*
* @param DiskPartitionList $partitions
*/
public function setPartitions(DiskPartitionList $partitions)
{
$this->partitions = $partitions;
}
/**
* @return DiskPartitionList
*/
public function getPartitions()
{
return $this->partitions;
}
/**
* Output only. Total capacity of all partitions.
*
* @param string $totalCapacityBytes
*/
public function setTotalCapacityBytes($totalCapacityBytes)
{
$this->totalCapacityBytes = $totalCapacityBytes;
}
/**
* @return string
*/
public function getTotalCapacityBytes()
{
return $this->totalCapacityBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiskPartitionDetails::class, 'Google_Service_MigrationCenterAPI_DiskPartitionDetails');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class DiskPartitionList extends \Google\Collection
{
protected $collection_key = 'entries';
protected $entriesType = DiskPartition::class;
protected $entriesDataType = 'array';
/**
* Partition entries.
*
* @param DiskPartition[] $entries
*/
public function setEntries($entries)
{
$this->entries = $entries;
}
/**
* @return DiskPartition[]
*/
public function getEntries()
{
return $this->entries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiskPartitionList::class, 'Google_Service_MigrationCenterAPI_DiskPartitionList');

View File

@@ -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\MigrationCenterAPI;
class DiskUsageSample extends \Google\Model
{
/**
* Optional. Average IOPS sampled over a short window. Must be non-negative.
* If read or write are set, the sum of read and write will override the value
* of the average_iops.
*
* @var float
*/
public $averageIops;
/**
* Optional. Average read IOPS sampled over a short window. Must be non-
* negative. If both read and write are zero they are ignored.
*
* @var float
*/
public $averageReadIops;
/**
* Optional. Average write IOPS sampled over a short window. Must be non-
* negative. If both read and write are zero they are ignored.
*
* @var float
*/
public $averageWriteIops;
/**
* Optional. Average IOPS sampled over a short window. Must be non-negative.
* If read or write are set, the sum of read and write will override the value
* of the average_iops.
*
* @param float $averageIops
*/
public function setAverageIops($averageIops)
{
$this->averageIops = $averageIops;
}
/**
* @return float
*/
public function getAverageIops()
{
return $this->averageIops;
}
/**
* Optional. Average read IOPS sampled over a short window. Must be non-
* negative. If both read and write are zero they are ignored.
*
* @param float $averageReadIops
*/
public function setAverageReadIops($averageReadIops)
{
$this->averageReadIops = $averageReadIops;
}
/**
* @return float
*/
public function getAverageReadIops()
{
return $this->averageReadIops;
}
/**
* Optional. Average write IOPS sampled over a short window. Must be non-
* negative. If both read and write are zero they are ignored.
*
* @param float $averageWriteIops
*/
public function setAverageWriteIops($averageWriteIops)
{
$this->averageWriteIops = $averageWriteIops;
}
/**
* @return float
*/
public function getAverageWriteIops()
{
return $this->averageWriteIops;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiskUsageSample::class, 'Google_Service_MigrationCenterAPI_DiskUsageSample');

View File

@@ -0,0 +1,107 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class ErrorFrame extends \Google\Collection
{
protected $collection_key = 'violations';
/**
* Output only. Frame ingestion time.
*
* @var string
*/
public $ingestionTime;
/**
* Output only. The identifier of the ErrorFrame.
*
* @var string
*/
public $name;
protected $originalFrameType = AssetFrame::class;
protected $originalFrameDataType = '';
protected $violationsType = FrameViolationEntry::class;
protected $violationsDataType = 'array';
/**
* Output only. Frame ingestion time.
*
* @param string $ingestionTime
*/
public function setIngestionTime($ingestionTime)
{
$this->ingestionTime = $ingestionTime;
}
/**
* @return string
*/
public function getIngestionTime()
{
return $this->ingestionTime;
}
/**
* Output only. The identifier of the ErrorFrame.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The frame that was originally reported.
*
* @param AssetFrame $originalFrame
*/
public function setOriginalFrame(AssetFrame $originalFrame)
{
$this->originalFrame = $originalFrame;
}
/**
* @return AssetFrame
*/
public function getOriginalFrame()
{
return $this->originalFrame;
}
/**
* Output only. All the violations that were detected for the frame.
*
* @param FrameViolationEntry[] $violations
*/
public function setViolations($violations)
{
$this->violations = $violations;
}
/**
* @return FrameViolationEntry[]
*/
public function getViolations()
{
return $this->violations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ErrorFrame::class, 'Google_Service_MigrationCenterAPI_ErrorFrame');

View File

@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class ExecutionReport extends \Google\Model
{
protected $executionErrorsType = ValidationReport::class;
protected $executionErrorsDataType = '';
/**
* Total number of asset frames reported for the import job.
*
* @var int
*/
public $framesReported;
/**
* Output only. Total number of rows in the import job.
*
* @var int
*/
public $totalRowsCount;
/**
* Validation errors encountered during the execution of the import job.
*
* @param ValidationReport $executionErrors
*/
public function setExecutionErrors(ValidationReport $executionErrors)
{
$this->executionErrors = $executionErrors;
}
/**
* @return ValidationReport
*/
public function getExecutionErrors()
{
return $this->executionErrors;
}
/**
* Total number of asset frames reported for the import job.
*
* @param int $framesReported
*/
public function setFramesReported($framesReported)
{
$this->framesReported = $framesReported;
}
/**
* @return int
*/
public function getFramesReported()
{
return $this->framesReported;
}
/**
* Output only. Total number of rows in the import job.
*
* @param int $totalRowsCount
*/
public function setTotalRowsCount($totalRowsCount)
{
$this->totalRowsCount = $totalRowsCount;
}
/**
* @return int
*/
public function getTotalRowsCount()
{
return $this->totalRowsCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecutionReport::class, 'Google_Service_MigrationCenterAPI_ExecutionReport');

View File

@@ -0,0 +1,109 @@
<?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\MigrationCenterAPI;
class FileValidationReport extends \Google\Collection
{
protected $collection_key = 'rowErrors';
protected $fileErrorsType = ImportError::class;
protected $fileErrorsDataType = 'array';
/**
* The name of the file.
*
* @var string
*/
public $fileName;
/**
* Flag indicating that processing was aborted due to maximum number of
* errors.
*
* @var bool
*/
public $partialReport;
protected $rowErrorsType = ImportRowError::class;
protected $rowErrorsDataType = 'array';
/**
* List of file level errors.
*
* @param ImportError[] $fileErrors
*/
public function setFileErrors($fileErrors)
{
$this->fileErrors = $fileErrors;
}
/**
* @return ImportError[]
*/
public function getFileErrors()
{
return $this->fileErrors;
}
/**
* The name of the file.
*
* @param string $fileName
*/
public function setFileName($fileName)
{
$this->fileName = $fileName;
}
/**
* @return string
*/
public function getFileName()
{
return $this->fileName;
}
/**
* Flag indicating that processing was aborted due to maximum number of
* errors.
*
* @param bool $partialReport
*/
public function setPartialReport($partialReport)
{
$this->partialReport = $partialReport;
}
/**
* @return bool
*/
public function getPartialReport()
{
return $this->partialReport;
}
/**
* Partial list of rows that encountered validation error.
*
* @param ImportRowError[] $rowErrors
*/
public function setRowErrors($rowErrors)
{
$this->rowErrors = $rowErrors;
}
/**
* @return ImportRowError[]
*/
public function getRowErrors()
{
return $this->rowErrors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FileValidationReport::class, 'Google_Service_MigrationCenterAPI_FileValidationReport');

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class FitDescriptor extends \Google\Model
{
/**
* Not enough information.
*/
public const FIT_LEVEL_FIT_LEVEL_UNSPECIFIED = 'FIT_LEVEL_UNSPECIFIED';
/**
* Fit.
*/
public const FIT_LEVEL_FIT = 'FIT';
/**
* No Fit.
*/
public const FIT_LEVEL_NO_FIT = 'NO_FIT';
/**
* Fit with effort.
*/
public const FIT_LEVEL_REQUIRES_EFFORT = 'REQUIRES_EFFORT';
/**
* Output only. Fit level.
*
* @var string
*/
public $fitLevel;
/**
* Output only. Fit level.
*
* Accepted values: FIT_LEVEL_UNSPECIFIED, FIT, NO_FIT, REQUIRES_EFFORT
*
* @param self::FIT_LEVEL_* $fitLevel
*/
public function setFitLevel($fitLevel)
{
$this->fitLevel = $fitLevel;
}
/**
* @return self::FIT_LEVEL_*
*/
public function getFitLevel()
{
return $this->fitLevel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FitDescriptor::class, 'Google_Service_MigrationCenterAPI_FitDescriptor');

View File

@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class FrameViolationEntry extends \Google\Model
{
/**
* The field of the original frame where the violation occurred.
*
* @var string
*/
public $field;
/**
* A message describing the violation.
*
* @var string
*/
public $violation;
/**
* The field of the original frame where the violation occurred.
*
* @param string $field
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* A message describing the violation.
*
* @param string $violation
*/
public function setViolation($violation)
{
$this->violation = $violation;
}
/**
* @return string
*/
public function getViolation()
{
return $this->violation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FrameViolationEntry::class, 'Google_Service_MigrationCenterAPI_FrameViolationEntry');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class Frames extends \Google\Collection
{
protected $collection_key = 'framesData';
protected $framesDataType = AssetFrame::class;
protected $framesDataDataType = 'array';
/**
* A repeated field of asset data.
*
* @param AssetFrame[] $framesData
*/
public function setFramesData($framesData)
{
$this->framesData = $framesData;
}
/**
* @return AssetFrame[]
*/
public function getFramesData()
{
return $this->framesData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Frames::class, 'Google_Service_MigrationCenterAPI_Frames');

View File

@@ -0,0 +1,160 @@
<?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\MigrationCenterAPI;
class FstabEntry extends \Google\Model
{
/**
* The mount point for the filesystem.
*
* @var string
*/
public $file;
/**
* Used by dump to determine which filesystems need to be dumped.
*
* @var int
*/
public $freq;
/**
* Mount options associated with the filesystem.
*
* @var string
*/
public $mntops;
/**
* Used by the fsck(8) program to determine the order in which filesystem
* checks are done at reboot time.
*
* @var int
*/
public $passno;
/**
* The block special device or remote filesystem to be mounted.
*
* @var string
*/
public $spec;
/**
* The type of the filesystem.
*
* @var string
*/
public $vfstype;
/**
* The mount point for the filesystem.
*
* @param string $file
*/
public function setFile($file)
{
$this->file = $file;
}
/**
* @return string
*/
public function getFile()
{
return $this->file;
}
/**
* Used by dump to determine which filesystems need to be dumped.
*
* @param int $freq
*/
public function setFreq($freq)
{
$this->freq = $freq;
}
/**
* @return int
*/
public function getFreq()
{
return $this->freq;
}
/**
* Mount options associated with the filesystem.
*
* @param string $mntops
*/
public function setMntops($mntops)
{
$this->mntops = $mntops;
}
/**
* @return string
*/
public function getMntops()
{
return $this->mntops;
}
/**
* Used by the fsck(8) program to determine the order in which filesystem
* checks are done at reboot time.
*
* @param int $passno
*/
public function setPassno($passno)
{
$this->passno = $passno;
}
/**
* @return int
*/
public function getPassno()
{
return $this->passno;
}
/**
* The block special device or remote filesystem to be mounted.
*
* @param string $spec
*/
public function setSpec($spec)
{
$this->spec = $spec;
}
/**
* @return string
*/
public function getSpec()
{
return $this->spec;
}
/**
* The type of the filesystem.
*
* @param string $vfstype
*/
public function setVfstype($vfstype)
{
$this->vfstype = $vfstype;
}
/**
* @return string
*/
public function getVfstype()
{
return $this->vfstype;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FstabEntry::class, 'Google_Service_MigrationCenterAPI_FstabEntry');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class FstabEntryList extends \Google\Collection
{
protected $collection_key = 'entries';
protected $entriesType = FstabEntry::class;
protected $entriesDataType = 'array';
/**
* Fstab entries.
*
* @param FstabEntry[] $entries
*/
public function setEntries($entries)
{
$this->entries = $entries;
}
/**
* @return FstabEntry[]
*/
public function getEntries()
{
return $this->entries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FstabEntryList::class, 'Google_Service_MigrationCenterAPI_FstabEntryList');

View File

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

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class GenerateReportArtifactLinkRequest extends \Google\Model
{
/**
* Unspecified (default value).
*/
public const ARTIFACT_TYPE_ARTIFACT_TYPE_UNSPECIFIED = 'ARTIFACT_TYPE_UNSPECIFIED';
/**
* Google Slides presentation.
*/
public const ARTIFACT_TYPE_PRESENTATION = 'PRESENTATION';
/**
* Google Sheets document.
*/
public const ARTIFACT_TYPE_SPREADSHEET = 'SPREADSHEET';
/**
* Comma Separated Value Text File.
*/
public const ARTIFACT_TYPE_CSV = 'CSV';
/**
* Required. Type of the artifact requested.
*
* @var string
*/
public $artifactType;
/**
* Required. Type of the artifact requested.
*
* Accepted values: ARTIFACT_TYPE_UNSPECIFIED, PRESENTATION, SPREADSHEET, CSV
*
* @param self::ARTIFACT_TYPE_* $artifactType
*/
public function setArtifactType($artifactType)
{
$this->artifactType = $artifactType;
}
/**
* @return self::ARTIFACT_TYPE_*
*/
public function getArtifactType()
{
return $this->artifactType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateReportArtifactLinkRequest::class, 'Google_Service_MigrationCenterAPI_GenerateReportArtifactLinkRequest');

View File

@@ -0,0 +1,103 @@
<?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\MigrationCenterAPI;
class GenericInsight extends \Google\Collection
{
protected $collection_key = 'additionalInformation';
/**
* Output only. Additional information about the insight, each entry can be a
* logical entry and must make sense if it is displayed with line breaks
* between each entry. Text can contain md style links.
*
* @var string[]
*/
public $additionalInformation;
/**
* Output only. In case message_code is not yet known by the client
* default_message will be the message to be used instead.
*
* @var string
*/
public $defaultMessage;
/**
* Output only. Represents a globally unique message id for this insight, can
* be used for localization purposes, in case message_code is not yet known by
* the client use default_message instead.
*
* @var string
*/
public $messageId;
/**
* Output only. Additional information about the insight, each entry can be a
* logical entry and must make sense if it is displayed with line breaks
* between each entry. Text can contain md style links.
*
* @param string[] $additionalInformation
*/
public function setAdditionalInformation($additionalInformation)
{
$this->additionalInformation = $additionalInformation;
}
/**
* @return string[]
*/
public function getAdditionalInformation()
{
return $this->additionalInformation;
}
/**
* Output only. In case message_code is not yet known by the client
* default_message will be the message to be used instead.
*
* @param string $defaultMessage
*/
public function setDefaultMessage($defaultMessage)
{
$this->defaultMessage = $defaultMessage;
}
/**
* @return string
*/
public function getDefaultMessage()
{
return $this->defaultMessage;
}
/**
* Output only. Represents a globally unique message id for this insight, can
* be used for localization purposes, in case message_code is not yet known by
* the client use default_message instead.
*
* @param string $messageId
*/
public function setMessageId($messageId)
{
$this->messageId = $messageId;
}
/**
* @return string
*/
public function getMessageId()
{
return $this->messageId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenericInsight::class, 'Google_Service_MigrationCenterAPI_GenericInsight');

View File

@@ -0,0 +1,89 @@
<?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\MigrationCenterAPI;
class GenericPlatformDetails extends \Google\Model
{
/**
* Simultaneous Multithreading status unknown.
*/
public const HYPERTHREADING_HYPERTHREADING_STATUS_UNSPECIFIED = 'HYPERTHREADING_STATUS_UNSPECIFIED';
/**
* Simultaneous Multithreading is disabled or unavailable.
*/
public const HYPERTHREADING_HYPERTHREADING_STATUS_DISABLED = 'HYPERTHREADING_STATUS_DISABLED';
/**
* Simultaneous Multithreading is enabled.
*/
public const HYPERTHREADING_HYPERTHREADING_STATUS_ENABLED = 'HYPERTHREADING_STATUS_ENABLED';
/**
* Whether the machine is hyperthreaded.
*
* @var string
*/
public $hyperthreading;
/**
* Free text representation of the machine location. The format of this field
* should not be relied on. Different VMs in the same location may have
* different string values for this field.
*
* @var string
*/
public $location;
/**
* Whether the machine is hyperthreaded.
*
* Accepted values: HYPERTHREADING_STATUS_UNSPECIFIED,
* HYPERTHREADING_STATUS_DISABLED, HYPERTHREADING_STATUS_ENABLED
*
* @param self::HYPERTHREADING_* $hyperthreading
*/
public function setHyperthreading($hyperthreading)
{
$this->hyperthreading = $hyperthreading;
}
/**
* @return self::HYPERTHREADING_*
*/
public function getHyperthreading()
{
return $this->hyperthreading;
}
/**
* Free text representation of the machine location. The format of this field
* should not be relied on. Different VMs in the same location may have
* different string values for this field.
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenericPlatformDetails::class, 'Google_Service_MigrationCenterAPI_GenericPlatformDetails');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class GoogleKubernetesEngineMigrationTarget extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleKubernetesEngineMigrationTarget::class, 'Google_Service_MigrationCenterAPI_GoogleKubernetesEngineMigrationTarget');

View File

@@ -0,0 +1,158 @@
<?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\MigrationCenterAPI;
class Group extends \Google\Model
{
/**
* Output only. The timestamp when the group was created.
*
* @var string
*/
public $createTime;
/**
* Optional. The description of the group.
*
* @var string
*/
public $description;
/**
* Optional. User-friendly display name.
*
* @var string
*/
public $displayName;
/**
* Labels as key value pairs.
*
* @var string[]
*/
public $labels;
/**
* Output only. The name of the group.
*
* @var string
*/
public $name;
/**
* Output only. The timestamp when the group was last updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. The timestamp when the group was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. The description of the group.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Optional. User-friendly display name.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Labels as key value pairs.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Output only. The name of the group.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The timestamp when the group was last updated.
*
* @param string $updateTime
*/
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(Group::class, 'Google_Service_MigrationCenterAPI_Group');

View File

@@ -0,0 +1,143 @@
<?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\MigrationCenterAPI;
class GuestConfigDetails extends \Google\Model
{
/**
* SELinux mode unknown or unspecified.
*/
public const SELINUX_MODE_SE_LINUX_MODE_UNSPECIFIED = 'SE_LINUX_MODE_UNSPECIFIED';
/**
* SELinux is disabled.
*/
public const SELINUX_MODE_SE_LINUX_MODE_DISABLED = 'SE_LINUX_MODE_DISABLED';
/**
* SELinux permissive mode.
*/
public const SELINUX_MODE_SE_LINUX_MODE_PERMISSIVE = 'SE_LINUX_MODE_PERMISSIVE';
/**
* SELinux enforcing mode.
*/
public const SELINUX_MODE_SE_LINUX_MODE_ENFORCING = 'SE_LINUX_MODE_ENFORCING';
protected $fstabType = FstabEntryList::class;
protected $fstabDataType = '';
protected $hostsType = HostsEntryList::class;
protected $hostsDataType = '';
/**
* OS issue (typically /etc/issue in Linux).
*
* @var string
*/
public $issue;
protected $nfsExportsType = NfsExportList::class;
protected $nfsExportsDataType = '';
/**
* Security-Enhanced Linux (SELinux) mode.
*
* @var string
*/
public $selinuxMode;
/**
* Mount list (Linux fstab).
*
* @param FstabEntryList $fstab
*/
public function setFstab(FstabEntryList $fstab)
{
$this->fstab = $fstab;
}
/**
* @return FstabEntryList
*/
public function getFstab()
{
return $this->fstab;
}
/**
* Hosts file (/etc/hosts).
*
* @param HostsEntryList $hosts
*/
public function setHosts(HostsEntryList $hosts)
{
$this->hosts = $hosts;
}
/**
* @return HostsEntryList
*/
public function getHosts()
{
return $this->hosts;
}
/**
* OS issue (typically /etc/issue in Linux).
*
* @param string $issue
*/
public function setIssue($issue)
{
$this->issue = $issue;
}
/**
* @return string
*/
public function getIssue()
{
return $this->issue;
}
/**
* NFS exports.
*
* @param NfsExportList $nfsExports
*/
public function setNfsExports(NfsExportList $nfsExports)
{
$this->nfsExports = $nfsExports;
}
/**
* @return NfsExportList
*/
public function getNfsExports()
{
return $this->nfsExports;
}
/**
* Security-Enhanced Linux (SELinux) mode.
*
* Accepted values: SE_LINUX_MODE_UNSPECIFIED, SE_LINUX_MODE_DISABLED,
* SE_LINUX_MODE_PERMISSIVE, SE_LINUX_MODE_ENFORCING
*
* @param self::SELINUX_MODE_* $selinuxMode
*/
public function setSelinuxMode($selinuxMode)
{
$this->selinuxMode = $selinuxMode;
}
/**
* @return self::SELINUX_MODE_*
*/
public function getSelinuxMode()
{
return $this->selinuxMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GuestConfigDetails::class, 'Google_Service_MigrationCenterAPI_GuestConfigDetails');

View File

@@ -0,0 +1,159 @@
<?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\MigrationCenterAPI;
class GuestInstalledApplication extends \Google\Collection
{
protected $collection_key = 'licenses';
/**
* Installed application name.
*
* @var string
*/
public $applicationName;
/**
* The time when the application was installed.
*
* @var string
*/
public $installTime;
/**
* License strings associated with the installed application.
*
* @var string[]
*/
public $licenses;
/**
* Source path.
*
* @var string
*/
public $path;
/**
* Installed application vendor.
*
* @var string
*/
public $vendor;
/**
* Installed application version.
*
* @var string
*/
public $version;
/**
* Installed application name.
*
* @param string $applicationName
*/
public function setApplicationName($applicationName)
{
$this->applicationName = $applicationName;
}
/**
* @return string
*/
public function getApplicationName()
{
return $this->applicationName;
}
/**
* The time when the application was installed.
*
* @param string $installTime
*/
public function setInstallTime($installTime)
{
$this->installTime = $installTime;
}
/**
* @return string
*/
public function getInstallTime()
{
return $this->installTime;
}
/**
* License strings associated with the installed application.
*
* @param string[] $licenses
*/
public function setLicenses($licenses)
{
$this->licenses = $licenses;
}
/**
* @return string[]
*/
public function getLicenses()
{
return $this->licenses;
}
/**
* Source path.
*
* @param string $path
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* Installed application vendor.
*
* @param string $vendor
*/
public function setVendor($vendor)
{
$this->vendor = $vendor;
}
/**
* @return string
*/
public function getVendor()
{
return $this->vendor;
}
/**
* Installed application version.
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GuestInstalledApplication::class, 'Google_Service_MigrationCenterAPI_GuestInstalledApplication');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class GuestInstalledApplicationList extends \Google\Collection
{
protected $collection_key = 'entries';
protected $entriesType = GuestInstalledApplication::class;
protected $entriesDataType = 'array';
/**
* Application entries.
*
* @param GuestInstalledApplication[] $entries
*/
public function setEntries($entries)
{
$this->entries = $entries;
}
/**
* @return GuestInstalledApplication[]
*/
public function getEntries()
{
return $this->entries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GuestInstalledApplicationList::class, 'Google_Service_MigrationCenterAPI_GuestInstalledApplicationList');

View File

@@ -0,0 +1,144 @@
<?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\MigrationCenterAPI;
class GuestOsDetails extends \Google\Model
{
public const FAMILY_OS_FAMILY_UNKNOWN = 'OS_FAMILY_UNKNOWN';
/**
* Microsoft Windows Server and Desktop.
*/
public const FAMILY_OS_FAMILY_WINDOWS = 'OS_FAMILY_WINDOWS';
/**
* Various Linux flavors.
*/
public const FAMILY_OS_FAMILY_LINUX = 'OS_FAMILY_LINUX';
/**
* Non-Linux Unix flavors.
*/
public const FAMILY_OS_FAMILY_UNIX = 'OS_FAMILY_UNIX';
protected $configType = GuestConfigDetails::class;
protected $configDataType = '';
/**
* What family the OS belong to, if known.
*
* @var string
*/
public $family;
/**
* The name of the operating system.
*
* @var string
*/
public $osName;
protected $runtimeType = GuestRuntimeDetails::class;
protected $runtimeDataType = '';
/**
* The version of the operating system.
*
* @var string
*/
public $version;
/**
* OS and app configuration.
*
* @param GuestConfigDetails $config
*/
public function setConfig(GuestConfigDetails $config)
{
$this->config = $config;
}
/**
* @return GuestConfigDetails
*/
public function getConfig()
{
return $this->config;
}
/**
* What family the OS belong to, if known.
*
* Accepted values: OS_FAMILY_UNKNOWN, OS_FAMILY_WINDOWS, OS_FAMILY_LINUX,
* OS_FAMILY_UNIX
*
* @param self::FAMILY_* $family
*/
public function setFamily($family)
{
$this->family = $family;
}
/**
* @return self::FAMILY_*
*/
public function getFamily()
{
return $this->family;
}
/**
* The name of the operating system.
*
* @param string $osName
*/
public function setOsName($osName)
{
$this->osName = $osName;
}
/**
* @return string
*/
public function getOsName()
{
return $this->osName;
}
/**
* Runtime information.
*
* @param GuestRuntimeDetails $runtime
*/
public function setRuntime(GuestRuntimeDetails $runtime)
{
$this->runtime = $runtime;
}
/**
* @return GuestRuntimeDetails
*/
public function getRuntime()
{
return $this->runtime;
}
/**
* The version of the operating system.
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GuestOsDetails::class, 'Google_Service_MigrationCenterAPI_GuestOsDetails');

View File

@@ -0,0 +1,182 @@
<?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\MigrationCenterAPI;
class GuestRuntimeDetails extends \Google\Model
{
/**
* Domain, e.g. c.stratozone-development.internal.
*
* @var string
*/
public $domain;
protected $installedAppsType = GuestInstalledApplicationList::class;
protected $installedAppsDataType = '';
/**
* Last time the OS was booted.
*
* @var string
*/
public $lastBootTime;
/**
* Machine name.
*
* @var string
*/
public $machineName;
protected $networkType = RuntimeNetworkInfo::class;
protected $networkDataType = '';
protected $openFileListType = OpenFileList::class;
protected $openFileListDataType = '';
protected $processesType = RunningProcessList::class;
protected $processesDataType = '';
protected $servicesType = RunningServiceList::class;
protected $servicesDataType = '';
/**
* Domain, e.g. c.stratozone-development.internal.
*
* @param string $domain
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* Installed applications information.
*
* @param GuestInstalledApplicationList $installedApps
*/
public function setInstalledApps(GuestInstalledApplicationList $installedApps)
{
$this->installedApps = $installedApps;
}
/**
* @return GuestInstalledApplicationList
*/
public function getInstalledApps()
{
return $this->installedApps;
}
/**
* Last time the OS was booted.
*
* @param string $lastBootTime
*/
public function setLastBootTime($lastBootTime)
{
$this->lastBootTime = $lastBootTime;
}
/**
* @return string
*/
public function getLastBootTime()
{
return $this->lastBootTime;
}
/**
* Machine name.
*
* @param string $machineName
*/
public function setMachineName($machineName)
{
$this->machineName = $machineName;
}
/**
* @return string
*/
public function getMachineName()
{
return $this->machineName;
}
/**
* Runtime network information (connections, ports).
*
* @param RuntimeNetworkInfo $network
*/
public function setNetwork(RuntimeNetworkInfo $network)
{
$this->network = $network;
}
/**
* @return RuntimeNetworkInfo
*/
public function getNetwork()
{
return $this->network;
}
/**
* Open files information.
*
* @param OpenFileList $openFileList
*/
public function setOpenFileList(OpenFileList $openFileList)
{
$this->openFileList = $openFileList;
}
/**
* @return OpenFileList
*/
public function getOpenFileList()
{
return $this->openFileList;
}
/**
* Running processes.
*
* @param RunningProcessList $processes
*/
public function setProcesses(RunningProcessList $processes)
{
$this->processes = $processes;
}
/**
* @return RunningProcessList
*/
public function getProcesses()
{
return $this->processes;
}
/**
* Running background services.
*
* @param RunningServiceList $services
*/
public function setServices(RunningServiceList $services)
{
$this->services = $services;
}
/**
* @return RunningServiceList
*/
public function getServices()
{
return $this->services;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GuestRuntimeDetails::class, 'Google_Service_MigrationCenterAPI_GuestRuntimeDetails');

View File

@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class HostsEntry extends \Google\Collection
{
protected $collection_key = 'hostNames';
/**
* List of host names / aliases.
*
* @var string[]
*/
public $hostNames;
/**
* IP (raw, IPv4/6 agnostic).
*
* @var string
*/
public $ip;
/**
* List of host names / aliases.
*
* @param string[] $hostNames
*/
public function setHostNames($hostNames)
{
$this->hostNames = $hostNames;
}
/**
* @return string[]
*/
public function getHostNames()
{
return $this->hostNames;
}
/**
* IP (raw, IPv4/6 agnostic).
*
* @param string $ip
*/
public function setIp($ip)
{
$this->ip = $ip;
}
/**
* @return string
*/
public function getIp()
{
return $this->ip;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HostsEntry::class, 'Google_Service_MigrationCenterAPI_HostsEntry');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class HostsEntryList extends \Google\Collection
{
protected $collection_key = 'entries';
protected $entriesType = HostsEntry::class;
protected $entriesDataType = 'array';
/**
* Hosts entries.
*
* @param HostsEntry[] $entries
*/
public function setEntries($entries)
{
$this->entries = $entries;
}
/**
* @return HostsEntry[]
*/
public function getEntries()
{
return $this->entries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HostsEntryList::class, 'Google_Service_MigrationCenterAPI_HostsEntryList');

View File

@@ -0,0 +1,202 @@
<?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\MigrationCenterAPI;
class ImportDataFile extends \Google\Model
{
/**
* Default value.
*/
public const FORMAT_IMPORT_JOB_FORMAT_UNSPECIFIED = 'IMPORT_JOB_FORMAT_UNSPECIFIED';
/**
* RVTools format (XLSX).
*/
public const FORMAT_IMPORT_JOB_FORMAT_RVTOOLS_XLSX = 'IMPORT_JOB_FORMAT_RVTOOLS_XLSX';
/**
* RVTools format (CSV).
*/
public const FORMAT_IMPORT_JOB_FORMAT_RVTOOLS_CSV = 'IMPORT_JOB_FORMAT_RVTOOLS_CSV';
/**
* CSV format exported from AWS using the AWS collection script.
*/
public const FORMAT_IMPORT_JOB_FORMAT_EXPORTED_AWS_CSV = 'IMPORT_JOB_FORMAT_EXPORTED_AWS_CSV';
/**
* CSV format exported from Azure using the Azure collection script.
*/
public const FORMAT_IMPORT_JOB_FORMAT_EXPORTED_AZURE_CSV = 'IMPORT_JOB_FORMAT_EXPORTED_AZURE_CSV';
/**
* CSV format created manually and following the StratoZone format. For more
* information, see Manually create and upload data tables.
*/
public const FORMAT_IMPORT_JOB_FORMAT_STRATOZONE_CSV = 'IMPORT_JOB_FORMAT_STRATOZONE_CSV';
/**
* ZIP file with nested CSV files generated by a database collector.
*/
public const FORMAT_IMPORT_JOB_FORMAT_DATABASE_ZIP = 'IMPORT_JOB_FORMAT_DATABASE_ZIP';
/**
* Default value.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The data file is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* The data file completed initialization.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* Output only. The timestamp when the file was created.
*
* @var string
*/
public $createTime;
/**
* Optional. User-friendly display name. Maximum length is 63 characters.
*
* @var string
*/
public $displayName;
/**
* Required. The payload format.
*
* @var string
*/
public $format;
/**
* Output only. The name of the file.
*
* @var string
*/
public $name;
/**
* Output only. The state of the import data file.
*
* @var string
*/
public $state;
protected $uploadFileInfoType = UploadFileInfo::class;
protected $uploadFileInfoDataType = '';
/**
* Output only. The timestamp when the file was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. User-friendly display name. Maximum length is 63 characters.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Required. The payload format.
*
* Accepted values: IMPORT_JOB_FORMAT_UNSPECIFIED,
* IMPORT_JOB_FORMAT_RVTOOLS_XLSX, IMPORT_JOB_FORMAT_RVTOOLS_CSV,
* IMPORT_JOB_FORMAT_EXPORTED_AWS_CSV, IMPORT_JOB_FORMAT_EXPORTED_AZURE_CSV,
* IMPORT_JOB_FORMAT_STRATOZONE_CSV, IMPORT_JOB_FORMAT_DATABASE_ZIP
*
* @param self::FORMAT_* $format
*/
public function setFormat($format)
{
$this->format = $format;
}
/**
* @return self::FORMAT_*
*/
public function getFormat()
{
return $this->format;
}
/**
* Output only. The name of the file.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The state of the import data file.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, ACTIVE
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Information about a file that is uploaded to a storage service.
*
* @param UploadFileInfo $uploadFileInfo
*/
public function setUploadFileInfo(UploadFileInfo $uploadFileInfo)
{
$this->uploadFileInfo = $uploadFileInfo;
}
/**
* @return UploadFileInfo
*/
public function getUploadFileInfo()
{
return $this->uploadFileInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImportDataFile::class, 'Google_Service_MigrationCenterAPI_ImportDataFile');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class ImportError extends \Google\Model
{
public const SEVERITY_SEVERITY_UNSPECIFIED = 'SEVERITY_UNSPECIFIED';
public const SEVERITY_ERROR = 'ERROR';
public const SEVERITY_WARNING = 'WARNING';
public const SEVERITY_INFO = 'INFO';
/**
* The error information.
*
* @var string
*/
public $errorDetails;
/**
* The severity of the error.
*
* @var string
*/
public $severity;
/**
* The error information.
*
* @param string $errorDetails
*/
public function setErrorDetails($errorDetails)
{
$this->errorDetails = $errorDetails;
}
/**
* @return string
*/
public function getErrorDetails()
{
return $this->errorDetails;
}
/**
* The severity of the error.
*
* Accepted values: SEVERITY_UNSPECIFIED, ERROR, WARNING, INFO
*
* @param self::SEVERITY_* $severity
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return self::SEVERITY_*
*/
public function getSeverity()
{
return $this->severity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImportError::class, 'Google_Service_MigrationCenterAPI_ImportError');

View File

@@ -0,0 +1,275 @@
<?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\MigrationCenterAPI;
class ImportJob extends \Google\Model
{
/**
* Default value.
*/
public const STATE_IMPORT_JOB_STATE_UNSPECIFIED = 'IMPORT_JOB_STATE_UNSPECIFIED';
/**
* The import job is pending.
*/
public const STATE_IMPORT_JOB_STATE_PENDING = 'IMPORT_JOB_STATE_PENDING';
/**
* The processing of the import job is ongoing.
*/
public const STATE_IMPORT_JOB_STATE_RUNNING = 'IMPORT_JOB_STATE_RUNNING';
/**
* The import job processing has completed.
*/
public const STATE_IMPORT_JOB_STATE_COMPLETED = 'IMPORT_JOB_STATE_COMPLETED';
/**
* The import job failed to be processed.
*/
public const STATE_IMPORT_JOB_STATE_FAILED = 'IMPORT_JOB_STATE_FAILED';
/**
* The import job is being validated.
*/
public const STATE_IMPORT_JOB_STATE_VALIDATING = 'IMPORT_JOB_STATE_VALIDATING';
/**
* The import job contains blocking errors.
*/
public const STATE_IMPORT_JOB_STATE_FAILED_VALIDATION = 'IMPORT_JOB_STATE_FAILED_VALIDATION';
/**
* The validation of the job completed with no blocking errors.
*/
public const STATE_IMPORT_JOB_STATE_READY = 'IMPORT_JOB_STATE_READY';
/**
* Required. Reference to a source.
*
* @var string
*/
public $assetSource;
/**
* Output only. The timestamp when the import job was completed.
*
* @var string
*/
public $completeTime;
/**
* Output only. The timestamp when the import job was created.
*
* @var string
*/
public $createTime;
/**
* Optional. User-friendly display name. Maximum length is 256 characters.
*
* @var string
*/
public $displayName;
protected $executionReportType = ExecutionReport::class;
protected $executionReportDataType = '';
/**
* Labels as key value pairs.
*
* @var string[]
*/
public $labels;
/**
* Output only. The full name of the import job.
*
* @var string
*/
public $name;
/**
* Output only. The state of the import job.
*
* @var string
*/
public $state;
/**
* Output only. The timestamp when the import job was last updated.
*
* @var string
*/
public $updateTime;
protected $validationReportType = ValidationReport::class;
protected $validationReportDataType = '';
/**
* Required. Reference to a source.
*
* @param string $assetSource
*/
public function setAssetSource($assetSource)
{
$this->assetSource = $assetSource;
}
/**
* @return string
*/
public function getAssetSource()
{
return $this->assetSource;
}
/**
* Output only. The timestamp when the import job was completed.
*
* @param string $completeTime
*/
public function setCompleteTime($completeTime)
{
$this->completeTime = $completeTime;
}
/**
* @return string
*/
public function getCompleteTime()
{
return $this->completeTime;
}
/**
* Output only. The timestamp when the import job was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. User-friendly display name. Maximum length is 256 characters.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. The report with the results of running the import job.
*
* @param ExecutionReport $executionReport
*/
public function setExecutionReport(ExecutionReport $executionReport)
{
$this->executionReport = $executionReport;
}
/**
* @return ExecutionReport
*/
public function getExecutionReport()
{
return $this->executionReport;
}
/**
* Labels as key value pairs.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Output only. The full name of the import job.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The state of the import job.
*
* Accepted values: IMPORT_JOB_STATE_UNSPECIFIED, IMPORT_JOB_STATE_PENDING,
* IMPORT_JOB_STATE_RUNNING, IMPORT_JOB_STATE_COMPLETED,
* IMPORT_JOB_STATE_FAILED, IMPORT_JOB_STATE_VALIDATING,
* IMPORT_JOB_STATE_FAILED_VALIDATION, IMPORT_JOB_STATE_READY
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. The timestamp when the import job was last updated.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* Output only. The report with the validation results of the import job.
*
* @param ValidationReport $validationReport
*/
public function setValidationReport(ValidationReport $validationReport)
{
$this->validationReport = $validationReport;
}
/**
* @return ValidationReport
*/
public function getValidationReport()
{
return $this->validationReport;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImportJob::class, 'Google_Service_MigrationCenterAPI_ImportJob');

View File

@@ -0,0 +1,190 @@
<?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\MigrationCenterAPI;
class ImportRowError extends \Google\Collection
{
protected $collection_key = 'errors';
protected $archiveErrorType = ImportRowErrorArchiveErrorDetails::class;
protected $archiveErrorDataType = '';
/**
* Output only. The asset title.
*
* @var string
*/
public $assetTitle;
protected $csvErrorType = ImportRowErrorCsvErrorDetails::class;
protected $csvErrorDataType = '';
protected $errorsType = ImportError::class;
protected $errorsDataType = 'array';
/**
* The row number where the error was detected.
*
* @deprecated
* @var int
*/
public $rowNumber;
/**
* The name of the VM in the row.
*
* @var string
*/
public $vmName;
/**
* The VM UUID.
*
* @var string
*/
public $vmUuid;
protected $xlsxErrorType = ImportRowErrorXlsxErrorDetails::class;
protected $xlsxErrorDataType = '';
/**
* Error details for an archive file.
*
* @param ImportRowErrorArchiveErrorDetails $archiveError
*/
public function setArchiveError(ImportRowErrorArchiveErrorDetails $archiveError)
{
$this->archiveError = $archiveError;
}
/**
* @return ImportRowErrorArchiveErrorDetails
*/
public function getArchiveError()
{
return $this->archiveError;
}
/**
* Output only. The asset title.
*
* @param string $assetTitle
*/
public function setAssetTitle($assetTitle)
{
$this->assetTitle = $assetTitle;
}
/**
* @return string
*/
public function getAssetTitle()
{
return $this->assetTitle;
}
/**
* Error details for a CSV file.
*
* @param ImportRowErrorCsvErrorDetails $csvError
*/
public function setCsvError(ImportRowErrorCsvErrorDetails $csvError)
{
$this->csvError = $csvError;
}
/**
* @return ImportRowErrorCsvErrorDetails
*/
public function getCsvError()
{
return $this->csvError;
}
/**
* The list of errors detected in the row.
*
* @param ImportError[] $errors
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return ImportError[]
*/
public function getErrors()
{
return $this->errors;
}
/**
* The row number where the error was detected.
*
* @deprecated
* @param int $rowNumber
*/
public function setRowNumber($rowNumber)
{
$this->rowNumber = $rowNumber;
}
/**
* @deprecated
* @return int
*/
public function getRowNumber()
{
return $this->rowNumber;
}
/**
* The name of the VM in the row.
*
* @param string $vmName
*/
public function setVmName($vmName)
{
$this->vmName = $vmName;
}
/**
* @return string
*/
public function getVmName()
{
return $this->vmName;
}
/**
* The VM UUID.
*
* @param string $vmUuid
*/
public function setVmUuid($vmUuid)
{
$this->vmUuid = $vmUuid;
}
/**
* @return string
*/
public function getVmUuid()
{
return $this->vmUuid;
}
/**
* Error details for an XLSX file.
*
* @param ImportRowErrorXlsxErrorDetails $xlsxError
*/
public function setXlsxError(ImportRowErrorXlsxErrorDetails $xlsxError)
{
$this->xlsxError = $xlsxError;
}
/**
* @return ImportRowErrorXlsxErrorDetails
*/
public function getXlsxError()
{
return $this->xlsxError;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImportRowError::class, 'Google_Service_MigrationCenterAPI_ImportRowError');

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class ImportRowErrorArchiveErrorDetails extends \Google\Model
{
protected $csvErrorType = ImportRowErrorCsvErrorDetails::class;
protected $csvErrorDataType = '';
/**
* Output only. The file path inside the archive where the error was detected.
*
* @var string
*/
public $filePath;
/**
* Error details for a CSV file.
*
* @param ImportRowErrorCsvErrorDetails $csvError
*/
public function setCsvError(ImportRowErrorCsvErrorDetails $csvError)
{
$this->csvError = $csvError;
}
/**
* @return ImportRowErrorCsvErrorDetails
*/
public function getCsvError()
{
return $this->csvError;
}
/**
* Output only. The file path inside the archive where the error was detected.
*
* @param string $filePath
*/
public function setFilePath($filePath)
{
$this->filePath = $filePath;
}
/**
* @return string
*/
public function getFilePath()
{
return $this->filePath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImportRowErrorArchiveErrorDetails::class, 'Google_Service_MigrationCenterAPI_ImportRowErrorArchiveErrorDetails');

View File

@@ -0,0 +1,48 @@
<?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\MigrationCenterAPI;
class ImportRowErrorCsvErrorDetails extends \Google\Model
{
/**
* The row number where the error was detected.
*
* @var int
*/
public $rowNumber;
/**
* The row number where the error was detected.
*
* @param int $rowNumber
*/
public function setRowNumber($rowNumber)
{
$this->rowNumber = $rowNumber;
}
/**
* @return int
*/
public function getRowNumber()
{
return $this->rowNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImportRowErrorCsvErrorDetails::class, 'Google_Service_MigrationCenterAPI_ImportRowErrorCsvErrorDetails');

View File

@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class ImportRowErrorXlsxErrorDetails extends \Google\Model
{
/**
* The row number where the error was detected.
*
* @var int
*/
public $rowNumber;
/**
* The name of the sheet where the error was detected.
*
* @var string
*/
public $sheet;
/**
* The row number where the error was detected.
*
* @param int $rowNumber
*/
public function setRowNumber($rowNumber)
{
$this->rowNumber = $rowNumber;
}
/**
* @return int
*/
public function getRowNumber()
{
return $this->rowNumber;
}
/**
* The name of the sheet where the error was detected.
*
* @param string $sheet
*/
public function setSheet($sheet)
{
$this->sheet = $sheet;
}
/**
* @return string
*/
public function getSheet()
{
return $this->sheet;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImportRowErrorXlsxErrorDetails::class, 'Google_Service_MigrationCenterAPI_ImportRowErrorXlsxErrorDetails');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class InlinePayloadInfo extends \Google\Collection
{
protected $collection_key = 'payload';
/**
* @var string
*/
public $format;
protected $payloadType = PayloadFile::class;
protected $payloadDataType = 'array';
/**
* @param string
*/
public function setFormat($format)
{
$this->format = $format;
}
/**
* @return string
*/
public function getFormat()
{
return $this->format;
}
/**
* @param PayloadFile[]
*/
public function setPayload($payload)
{
$this->payload = $payload;
}
/**
* @return PayloadFile[]
*/
public function getPayload()
{
return $this->payload;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InlinePayloadInfo::class, 'Google_Service_MigrationCenterAPI_InlinePayloadInfo');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class Insight extends \Google\Model
{
protected $genericInsightType = GenericInsight::class;
protected $genericInsightDataType = '';
protected $migrationInsightType = MigrationInsight::class;
protected $migrationInsightDataType = '';
/**
* Output only. A generic insight about an asset.
*
* @param GenericInsight $genericInsight
*/
public function setGenericInsight(GenericInsight $genericInsight)
{
$this->genericInsight = $genericInsight;
}
/**
* @return GenericInsight
*/
public function getGenericInsight()
{
return $this->genericInsight;
}
/**
* Output only. An insight about potential migrations for an asset.
*
* @param MigrationInsight $migrationInsight
*/
public function setMigrationInsight(MigrationInsight $migrationInsight)
{
$this->migrationInsight = $migrationInsight;
}
/**
* @return MigrationInsight
*/
public function getMigrationInsight()
{
return $this->migrationInsight;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Insight::class, 'Google_Service_MigrationCenterAPI_Insight');

View File

@@ -0,0 +1,67 @@
<?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\MigrationCenterAPI;
class InsightList extends \Google\Collection
{
protected $collection_key = 'insights';
protected $insightsType = Insight::class;
protected $insightsDataType = 'array';
/**
* Output only. Update timestamp.
*
* @var string
*/
public $updateTime;
/**
* Output only. Insights of the list.
*
* @param Insight[] $insights
*/
public function setInsights($insights)
{
$this->insights = $insights;
}
/**
* @return Insight[]
*/
public function getInsights()
{
return $this->insights;
}
/**
* Output only. Update timestamp.
*
* @param string $updateTime
*/
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(InsightList::class, 'Google_Service_MigrationCenterAPI_InsightList');

View File

@@ -0,0 +1,89 @@
<?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\MigrationCenterAPI;
class ListAssetsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $assetsType = Asset::class;
protected $assetsDataType = 'array';
/**
* A token identifying a page of results the server should return.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A list of assets.
*
* @param Asset[] $assets
*/
public function setAssets($assets)
{
$this->assets = $assets;
}
/**
* @return Asset[]
*/
public function getAssets()
{
return $this->assets;
}
/**
* A token identifying a page of results the server should return.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAssetsResponse::class, 'Google_Service_MigrationCenterAPI_ListAssetsResponse');

View File

@@ -0,0 +1,91 @@
<?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\MigrationCenterAPI;
class ListDiscoveryClientsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $discoveryClientsType = DiscoveryClient::class;
protected $discoveryClientsDataType = 'array';
/**
* A token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* List of discovery clients.
*
* @param DiscoveryClient[] $discoveryClients
*/
public function setDiscoveryClients($discoveryClients)
{
$this->discoveryClients = $discoveryClients;
}
/**
* @return DiscoveryClient[]
*/
public function getDiscoveryClients()
{
return $this->discoveryClients;
}
/**
* A token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListDiscoveryClientsResponse::class, 'Google_Service_MigrationCenterAPI_ListDiscoveryClientsResponse');

View File

@@ -0,0 +1,89 @@
<?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\MigrationCenterAPI;
class ListErrorFramesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $errorFramesType = ErrorFrame::class;
protected $errorFramesDataType = 'array';
/**
* A token identifying a page of results the server should return.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* The list of error frames.
*
* @param ErrorFrame[] $errorFrames
*/
public function setErrorFrames($errorFrames)
{
$this->errorFrames = $errorFrames;
}
/**
* @return ErrorFrame[]
*/
public function getErrorFrames()
{
return $this->errorFrames;
}
/**
* A token identifying a page of results the server should return.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListErrorFramesResponse::class, 'Google_Service_MigrationCenterAPI_ListErrorFramesResponse');

View File

@@ -0,0 +1,89 @@
<?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\MigrationCenterAPI;
class ListGroupsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $groupsType = Group::class;
protected $groupsDataType = 'array';
/**
* A token identifying a page of results the server should return.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* The list of Group
*
* @param Group[] $groups
*/
public function setGroups($groups)
{
$this->groups = $groups;
}
/**
* @return Group[]
*/
public function getGroups()
{
return $this->groups;
}
/**
* A token identifying a page of results the server should return.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListGroupsResponse::class, 'Google_Service_MigrationCenterAPI_ListGroupsResponse');

View File

@@ -0,0 +1,91 @@
<?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\MigrationCenterAPI;
class ListImportDataFilesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $importDataFilesType = ImportDataFile::class;
protected $importDataFilesDataType = 'array';
/**
* A token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* The list of import data files.
*
* @param ImportDataFile[] $importDataFiles
*/
public function setImportDataFiles($importDataFiles)
{
$this->importDataFiles = $importDataFiles;
}
/**
* @return ImportDataFile[]
*/
public function getImportDataFiles()
{
return $this->importDataFiles;
}
/**
* A token that can be sent as `page_token` to retrieve the next page. If this
* field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListImportDataFilesResponse::class, 'Google_Service_MigrationCenterAPI_ListImportDataFilesResponse');

View File

@@ -0,0 +1,89 @@
<?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\MigrationCenterAPI;
class ListImportJobsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $importJobsType = ImportJob::class;
protected $importJobsDataType = 'array';
/**
* A token identifying a page of results the server should return.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* The list of import jobs.
*
* @param ImportJob[] $importJobs
*/
public function setImportJobs($importJobs)
{
$this->importJobs = $importJobs;
}
/**
* @return ImportJob[]
*/
public function getImportJobs()
{
return $this->importJobs;
}
/**
* A token identifying a page of results the server should return.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListImportJobsResponse::class, 'Google_Service_MigrationCenterAPI_ListImportJobsResponse');

View File

@@ -0,0 +1,67 @@
<?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\MigrationCenterAPI;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
/**
* A list of locations that matches the specified filter in the request.
*
* @param Location[] $locations
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* The standard List next-page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_MigrationCenterAPI_ListLocationsResponse');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MigrationCenterAPI;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @var string[]
*/
public $unreachable;
/**
* The standard List next-page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of operations that matches the specified filter in the request.
*
* @param Operation[] $operations
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_MigrationCenterAPI_ListOperationsResponse');

View File

@@ -0,0 +1,89 @@
<?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\MigrationCenterAPI;
class ListPreferenceSetsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* A token identifying a page of results the server should return.
*
* @var string
*/
public $nextPageToken;
protected $preferenceSetsType = PreferenceSet::class;
protected $preferenceSetsDataType = 'array';
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A token identifying a page of results the server should return.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The list of PreferenceSets
*
* @param PreferenceSet[] $preferenceSets
*/
public function setPreferenceSets($preferenceSets)
{
$this->preferenceSets = $preferenceSets;
}
/**
* @return PreferenceSet[]
*/
public function getPreferenceSets()
{
return $this->preferenceSets;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPreferenceSetsResponse::class, 'Google_Service_MigrationCenterAPI_ListPreferenceSetsResponse');

View File

@@ -0,0 +1,67 @@
<?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\MigrationCenterAPI;
class ListRelationsResponse extends \Google\Collection
{
protected $collection_key = 'relations';
/**
* A token identifying a page of results the server should return.
*
* @var string
*/
public $nextPageToken;
protected $relationsType = Relation::class;
protected $relationsDataType = 'array';
/**
* A token identifying a page of results the server should return.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of relations.
*
* @param Relation[] $relations
*/
public function setRelations($relations)
{
$this->relations = $relations;
}
/**
* @return Relation[]
*/
public function getRelations()
{
return $this->relations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListRelationsResponse::class, 'Google_Service_MigrationCenterAPI_ListRelationsResponse');

View File

@@ -0,0 +1,89 @@
<?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\MigrationCenterAPI;
class ListReportConfigsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* A token identifying a page of results the server should return.
*
* @var string
*/
public $nextPageToken;
protected $reportConfigsType = ReportConfig::class;
protected $reportConfigsDataType = 'array';
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A token identifying a page of results the server should return.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of report configs.
*
* @param ReportConfig[] $reportConfigs
*/
public function setReportConfigs($reportConfigs)
{
$this->reportConfigs = $reportConfigs;
}
/**
* @return ReportConfig[]
*/
public function getReportConfigs()
{
return $this->reportConfigs;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListReportConfigsResponse::class, 'Google_Service_MigrationCenterAPI_ListReportConfigsResponse');

View File

@@ -0,0 +1,89 @@
<?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\MigrationCenterAPI;
class ListReportsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* A token identifying a page of results the server should return.
*
* @var string
*/
public $nextPageToken;
protected $reportsType = Report::class;
protected $reportsDataType = 'array';
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A token identifying a page of results the server should return.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The list of Reports.
*
* @param Report[] $reports
*/
public function setReports($reports)
{
$this->reports = $reports;
}
/**
* @return Report[]
*/
public function getReports()
{
return $this->reports;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListReportsResponse::class, 'Google_Service_MigrationCenterAPI_ListReportsResponse');

Some files were not shown because too many files have changed in this diff Show More