Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,314 @@
<?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\CloudFilestore;
class Backup extends \Google\Model
{
/**
* @var string
*/
public $capacityGb;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $downloadBytes;
/**
* @var string
*/
public $fileSystemProtocol;
/**
* @var string
*/
public $kmsKey;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $satisfiesPzi;
/**
* @var bool
*/
public $satisfiesPzs;
/**
* @var string
*/
public $sourceFileShare;
/**
* @var string
*/
public $sourceInstance;
/**
* @var string
*/
public $sourceInstanceTier;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $storageBytes;
/**
* @var string[]
*/
public $tags;
/**
* @param string
*/
public function setCapacityGb($capacityGb)
{
$this->capacityGb = $capacityGb;
}
/**
* @return string
*/
public function getCapacityGb()
{
return $this->capacityGb;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDownloadBytes($downloadBytes)
{
$this->downloadBytes = $downloadBytes;
}
/**
* @return string
*/
public function getDownloadBytes()
{
return $this->downloadBytes;
}
/**
* @param string
*/
public function setFileSystemProtocol($fileSystemProtocol)
{
$this->fileSystemProtocol = $fileSystemProtocol;
}
/**
* @return string
*/
public function getFileSystemProtocol()
{
return $this->fileSystemProtocol;
}
/**
* @param string
*/
public function setKmsKey($kmsKey)
{
$this->kmsKey = $kmsKey;
}
/**
* @return string
*/
public function getKmsKey()
{
return $this->kmsKey;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setSatisfiesPzi($satisfiesPzi)
{
$this->satisfiesPzi = $satisfiesPzi;
}
/**
* @return bool
*/
public function getSatisfiesPzi()
{
return $this->satisfiesPzi;
}
/**
* @param bool
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* @param string
*/
public function setSourceFileShare($sourceFileShare)
{
$this->sourceFileShare = $sourceFileShare;
}
/**
* @return string
*/
public function getSourceFileShare()
{
return $this->sourceFileShare;
}
/**
* @param string
*/
public function setSourceInstance($sourceInstance)
{
$this->sourceInstance = $sourceInstance;
}
/**
* @return string
*/
public function getSourceInstance()
{
return $this->sourceInstance;
}
/**
* @param string
*/
public function setSourceInstanceTier($sourceInstanceTier)
{
$this->sourceInstanceTier = $sourceInstanceTier;
}
/**
* @return string
*/
public function getSourceInstanceTier()
{
return $this->sourceInstanceTier;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStorageBytes($storageBytes)
{
$this->storageBytes = $storageBytes;
}
/**
* @return string
*/
public function getStorageBytes()
{
return $this->storageBytes;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Backup::class, 'Google_Service_CloudFilestore_Backup');

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\CloudFilestore;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_CloudFilestore_CancelOperationRequest');

View File

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

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\CloudFilestore;
class Date extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @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 setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @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(Date::class, 'Google_Service_CloudFilestore_Date');

View File

@@ -0,0 +1,74 @@
<?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\CloudFilestore;
class DenyMaintenancePeriod extends \Google\Model
{
protected $endDateType = Date::class;
protected $endDateDataType = '';
protected $startDateType = Date::class;
protected $startDateDataType = '';
protected $timeType = TimeOfDay::class;
protected $timeDataType = '';
/**
* @param Date
*/
public function setEndDate(Date $endDate)
{
$this->endDate = $endDate;
}
/**
* @return Date
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* @param Date
*/
public function setStartDate(Date $startDate)
{
$this->startDate = $startDate;
}
/**
* @return Date
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* @param TimeOfDay
*/
public function setTime(TimeOfDay $time)
{
$this->time = $time;
}
/**
* @return TimeOfDay
*/
public function getTime()
{
return $this->time;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DenyMaintenancePeriod::class, 'Google_Service_CloudFilestore_DenyMaintenancePeriod');

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\CloudFilestore;
class FileEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FileEmpty::class, 'Google_Service_CloudFilestore_FileEmpty');

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\CloudFilestore;
class FileShareConfig extends \Google\Collection
{
protected $collection_key = 'nfsExportOptions';
/**
* @var string
*/
public $capacityGb;
/**
* @var string
*/
public $name;
protected $nfsExportOptionsType = NfsExportOptions::class;
protected $nfsExportOptionsDataType = 'array';
/**
* @var string
*/
public $sourceBackup;
/**
* @param string
*/
public function setCapacityGb($capacityGb)
{
$this->capacityGb = $capacityGb;
}
/**
* @return string
*/
public function getCapacityGb()
{
return $this->capacityGb;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param NfsExportOptions[]
*/
public function setNfsExportOptions($nfsExportOptions)
{
$this->nfsExportOptions = $nfsExportOptions;
}
/**
* @return NfsExportOptions[]
*/
public function getNfsExportOptions()
{
return $this->nfsExportOptions;
}
/**
* @param string
*/
public function setSourceBackup($sourceBackup)
{
$this->sourceBackup = $sourceBackup;
}
/**
* @return string
*/
public function getSourceBackup()
{
return $this->sourceBackup;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FileShareConfig::class, 'Google_Service_CloudFilestore_FileShareConfig');

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\CloudFilestore;
class FixedIOPS extends \Google\Model
{
/**
* @var string
*/
public $maxIops;
/**
* @param string
*/
public function setMaxIops($maxIops)
{
$this->maxIops = $maxIops;
}
/**
* @return string
*/
public function getMaxIops()
{
return $this->maxIops;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FixedIOPS::class, 'Google_Service_CloudFilestore_FixedIOPS');

View File

@@ -0,0 +1,323 @@
<?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\CloudFilestore;
class GoogleCloudSaasacceleratorManagementProvidersV1Instance extends \Google\Collection
{
protected $collection_key = 'provisionedResources';
/**
* @var string
*/
public $consumerDefinedName;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $instanceType;
/**
* @var string[]
*/
public $labels;
/**
* @var string[]
*/
public $maintenancePolicyNames;
protected $maintenanceSchedulesType = GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::class;
protected $maintenanceSchedulesDataType = 'map';
protected $maintenanceSettingsType = GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::class;
protected $maintenanceSettingsDataType = '';
/**
* @var string
*/
public $name;
protected $notificationParametersType = GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter::class;
protected $notificationParametersDataType = 'map';
/**
* @var string[]
*/
public $producerMetadata;
protected $provisionedResourcesType = GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::class;
protected $provisionedResourcesDataType = 'array';
/**
* @var string
*/
public $slmInstanceTemplate;
protected $sloMetadataType = GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::class;
protected $sloMetadataDataType = '';
/**
* @var string[]
*/
public $softwareVersions;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $tenantProjectId;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setConsumerDefinedName($consumerDefinedName)
{
$this->consumerDefinedName = $consumerDefinedName;
}
/**
* @return string
*/
public function getConsumerDefinedName()
{
return $this->consumerDefinedName;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setInstanceType($instanceType)
{
$this->instanceType = $instanceType;
}
/**
* @return string
*/
public function getInstanceType()
{
return $this->instanceType;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string[]
*/
public function setMaintenancePolicyNames($maintenancePolicyNames)
{
$this->maintenancePolicyNames = $maintenancePolicyNames;
}
/**
* @return string[]
*/
public function getMaintenancePolicyNames()
{
return $this->maintenancePolicyNames;
}
/**
* @param GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule[]
*/
public function setMaintenanceSchedules($maintenanceSchedules)
{
$this->maintenanceSchedules = $maintenanceSchedules;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule[]
*/
public function getMaintenanceSchedules()
{
return $this->maintenanceSchedules;
}
/**
* @param GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
*/
public function setMaintenanceSettings(GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings $maintenanceSettings)
{
$this->maintenanceSettings = $maintenanceSettings;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
*/
public function getMaintenanceSettings()
{
return $this->maintenanceSettings;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter[]
*/
public function setNotificationParameters($notificationParameters)
{
$this->notificationParameters = $notificationParameters;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter[]
*/
public function getNotificationParameters()
{
return $this->notificationParameters;
}
/**
* @param string[]
*/
public function setProducerMetadata($producerMetadata)
{
$this->producerMetadata = $producerMetadata;
}
/**
* @return string[]
*/
public function getProducerMetadata()
{
return $this->producerMetadata;
}
/**
* @param GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource[]
*/
public function setProvisionedResources($provisionedResources)
{
$this->provisionedResources = $provisionedResources;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource[]
*/
public function getProvisionedResources()
{
return $this->provisionedResources;
}
/**
* @param string
*/
public function setSlmInstanceTemplate($slmInstanceTemplate)
{
$this->slmInstanceTemplate = $slmInstanceTemplate;
}
/**
* @return string
*/
public function getSlmInstanceTemplate()
{
return $this->slmInstanceTemplate;
}
/**
* @param GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
*/
public function setSloMetadata(GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata $sloMetadata)
{
$this->sloMetadata = $sloMetadata;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
*/
public function getSloMetadata()
{
return $this->sloMetadata;
}
/**
* @param string[]
*/
public function setSoftwareVersions($softwareVersions)
{
$this->softwareVersions = $softwareVersions;
}
/**
* @return string[]
*/
public function getSoftwareVersions()
{
return $this->softwareVersions;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setTenantProjectId($tenantProjectId)
{
$this->tenantProjectId = $tenantProjectId;
}
/**
* @return string
*/
public function getTenantProjectId()
{
return $this->tenantProjectId;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1Instance::class, 'Google_Service_CloudFilestore_GoogleCloudSaasacceleratorManagementProvidersV1Instance');

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\CloudFilestore;
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule extends \Google\Model
{
/**
* @var bool
*/
public $canReschedule;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $rolloutManagementPolicy;
/**
* @var string
*/
public $scheduleDeadlineTime;
/**
* @var string
*/
public $startTime;
/**
* @param bool
*/
public function setCanReschedule($canReschedule)
{
$this->canReschedule = $canReschedule;
}
/**
* @return bool
*/
public function getCanReschedule()
{
return $this->canReschedule;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setRolloutManagementPolicy($rolloutManagementPolicy)
{
$this->rolloutManagementPolicy = $rolloutManagementPolicy;
}
/**
* @return string
*/
public function getRolloutManagementPolicy()
{
return $this->rolloutManagementPolicy;
}
/**
* @param string
*/
public function setScheduleDeadlineTime($scheduleDeadlineTime)
{
$this->scheduleDeadlineTime = $scheduleDeadlineTime;
}
/**
* @return string
*/
public function getScheduleDeadlineTime()
{
return $this->scheduleDeadlineTime;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::class, 'Google_Service_CloudFilestore_GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule');

View File

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

View File

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

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\CloudFilestore;
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string[]
*/
public $values;
/**
* @param string[]
*/
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(GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter::class, 'Google_Service_CloudFilestore_GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter');

View File

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

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\CloudFilestore;
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource extends \Google\Model
{
/**
* @var string
*/
public $resourceType;
/**
* @var string
*/
public $resourceUrl;
/**
* @param string
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
/**
* @param string
*/
public function setResourceUrl($resourceUrl)
{
$this->resourceUrl = $resourceUrl;
}
/**
* @return string
*/
public function getResourceUrl()
{
return $this->resourceUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::class, 'Google_Service_CloudFilestore_GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource');

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\CloudFilestore;
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility extends \Google\Model
{
/**
* @var bool
*/
public $eligible;
/**
* @var string
*/
public $reason;
/**
* @param bool
*/
public function setEligible($eligible)
{
$this->eligible = $eligible;
}
/**
* @return bool
*/
public function getEligible()
{
return $this->eligible;
}
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::class, 'Google_Service_CloudFilestore_GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility');

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\CloudFilestore;
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion extends \Google\Model
{
public $duration;
public $reason;
public $sliName;
public $startTime;
public function setDuration($duration)
{
$this->duration = $duration;
}
public function getDuration()
{
return $this->duration;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
public function setSliName($sliName)
{
$this->sliName = $sliName;
}
public function getSliName()
{
return $this->sliName;
}
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::class, 'Google_Service_CloudFilestore_GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion');

View File

@@ -0,0 +1,77 @@
<?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\CloudFilestore;
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata extends \Google\Collection
{
protected $collection_key = 'nodes';
protected $nodesType = GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::class;
protected $nodesDataType = 'array';
protected $perSliEligibilityType = GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::class;
protected $perSliEligibilityDataType = '';
/**
* @var string
*/
public $tier;
/**
* @param GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata[]
*/
public function setNodes($nodes)
{
$this->nodes = $nodes;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata[]
*/
public function getNodes()
{
return $this->nodes;
}
/**
* @param GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
*/
public function setPerSliEligibility(GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility $perSliEligibility)
{
$this->perSliEligibility = $perSliEligibility;
}
/**
* @return GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
*/
public function getPerSliEligibility()
{
return $this->perSliEligibility;
}
/**
* @param string
*/
public function setTier($tier)
{
$this->tier = $tier;
}
/**
* @return string
*/
public function getTier()
{
return $this->tier;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::class, 'Google_Service_CloudFilestore_GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata');

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\CloudFilestore;
class IOPSPerGB extends \Google\Model
{
/**
* @var string
*/
public $maxReadIopsPerGb;
/**
* @param string
*/
public function setMaxReadIopsPerGb($maxReadIopsPerGb)
{
$this->maxReadIopsPerGb = $maxReadIopsPerGb;
}
/**
* @return string
*/
public function getMaxReadIopsPerGb()
{
return $this->maxReadIopsPerGb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IOPSPerGB::class, 'Google_Service_CloudFilestore_IOPSPerGB');

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\CloudFilestore;
class IOPSPerTB extends \Google\Model
{
/**
* @var string
*/
public $maxIopsPerTb;
/**
* @param string
*/
public function setMaxIopsPerTb($maxIopsPerTb)
{
$this->maxIopsPerTb = $maxIopsPerTb;
}
/**
* @return string
*/
public function getMaxIopsPerTb()
{
return $this->maxIopsPerTb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IOPSPerTB::class, 'Google_Service_CloudFilestore_IOPSPerTB');

View File

@@ -0,0 +1,413 @@
<?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\CloudFilestore;
class Instance extends \Google\Collection
{
protected $collection_key = 'suspensionReasons';
/**
* @var bool
*/
public $configurablePerformanceEnabled;
/**
* @var string
*/
public $createTime;
/**
* @var bool
*/
public $deletionProtectionEnabled;
/**
* @var string
*/
public $deletionProtectionReason;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
protected $fileSharesType = FileShareConfig::class;
protected $fileSharesDataType = 'array';
/**
* @var string
*/
public $kmsKeyName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $networksType = NetworkConfig::class;
protected $networksDataType = 'array';
protected $performanceConfigType = PerformanceConfig::class;
protected $performanceConfigDataType = '';
protected $performanceLimitsType = PerformanceLimits::class;
protected $performanceLimitsDataType = '';
/**
* @var string
*/
public $protocol;
protected $replicationType = Replication::class;
protected $replicationDataType = '';
/**
* @var bool
*/
public $satisfiesPzi;
/**
* @var bool
*/
public $satisfiesPzs;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $statusMessage;
/**
* @var string[]
*/
public $suspensionReasons;
/**
* @var string[]
*/
public $tags;
/**
* @var string
*/
public $tier;
/**
* @param bool
*/
public function setConfigurablePerformanceEnabled($configurablePerformanceEnabled)
{
$this->configurablePerformanceEnabled = $configurablePerformanceEnabled;
}
/**
* @return bool
*/
public function getConfigurablePerformanceEnabled()
{
return $this->configurablePerformanceEnabled;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param bool
*/
public function setDeletionProtectionEnabled($deletionProtectionEnabled)
{
$this->deletionProtectionEnabled = $deletionProtectionEnabled;
}
/**
* @return bool
*/
public function getDeletionProtectionEnabled()
{
return $this->deletionProtectionEnabled;
}
/**
* @param string
*/
public function setDeletionProtectionReason($deletionProtectionReason)
{
$this->deletionProtectionReason = $deletionProtectionReason;
}
/**
* @return string
*/
public function getDeletionProtectionReason()
{
return $this->deletionProtectionReason;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param FileShareConfig[]
*/
public function setFileShares($fileShares)
{
$this->fileShares = $fileShares;
}
/**
* @return FileShareConfig[]
*/
public function getFileShares()
{
return $this->fileShares;
}
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param NetworkConfig[]
*/
public function setNetworks($networks)
{
$this->networks = $networks;
}
/**
* @return NetworkConfig[]
*/
public function getNetworks()
{
return $this->networks;
}
/**
* @param PerformanceConfig
*/
public function setPerformanceConfig(PerformanceConfig $performanceConfig)
{
$this->performanceConfig = $performanceConfig;
}
/**
* @return PerformanceConfig
*/
public function getPerformanceConfig()
{
return $this->performanceConfig;
}
/**
* @param PerformanceLimits
*/
public function setPerformanceLimits(PerformanceLimits $performanceLimits)
{
$this->performanceLimits = $performanceLimits;
}
/**
* @return PerformanceLimits
*/
public function getPerformanceLimits()
{
return $this->performanceLimits;
}
/**
* @param string
*/
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
/**
* @return string
*/
public function getProtocol()
{
return $this->protocol;
}
/**
* @param Replication
*/
public function setReplication(Replication $replication)
{
$this->replication = $replication;
}
/**
* @return Replication
*/
public function getReplication()
{
return $this->replication;
}
/**
* @param bool
*/
public function setSatisfiesPzi($satisfiesPzi)
{
$this->satisfiesPzi = $satisfiesPzi;
}
/**
* @return bool
*/
public function getSatisfiesPzi()
{
return $this->satisfiesPzi;
}
/**
* @param bool
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string[]
*/
public function setSuspensionReasons($suspensionReasons)
{
$this->suspensionReasons = $suspensionReasons;
}
/**
* @return string[]
*/
public function getSuspensionReasons()
{
return $this->suspensionReasons;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* @param string
*/
public function setTier($tier)
{
$this->tier = $tier;
}
/**
* @return string
*/
public function getTier()
{
return $this->tier;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Instance::class, 'Google_Service_CloudFilestore_Instance');

View File

@@ -0,0 +1,79 @@
<?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\CloudFilestore;
class ListBackupsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $backupsType = Backup::class;
protected $backupsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param Backup[]
*/
public function setBackups($backups)
{
$this->backups = $backups;
}
/**
* @return Backup[]
*/
public function getBackups()
{
return $this->backups;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
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(ListBackupsResponse::class, 'Google_Service_CloudFilestore_ListBackupsResponse');

View File

@@ -0,0 +1,79 @@
<?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\CloudFilestore;
class ListInstancesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $instancesType = Instance::class;
protected $instancesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param Instance[]
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return Instance[]
*/
public function getInstances()
{
return $this->instances;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
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(ListInstancesResponse::class, 'Google_Service_CloudFilestore_ListInstancesResponse');

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\CloudFilestore;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_CloudFilestore_ListLocationsResponse');

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\CloudFilestore;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_CloudFilestore_ListOperationsResponse');

View File

@@ -0,0 +1,79 @@
<?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\CloudFilestore;
class ListSnapshotsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $snapshotsType = Snapshot::class;
protected $snapshotsDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Snapshot[]
*/
public function setSnapshots($snapshots)
{
$this->snapshots = $snapshots;
}
/**
* @return Snapshot[]
*/
public function getSnapshots()
{
return $this->snapshots;
}
/**
* @param string[]
*/
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(ListSnapshotsResponse::class, 'Google_Service_CloudFilestore_ListSnapshotsResponse');

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\CloudFilestore;
class Location extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $locationId;
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_CloudFilestore_Location');

View File

@@ -0,0 +1,150 @@
<?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\CloudFilestore;
class MaintenancePolicy extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
protected $updatePolicyType = UpdatePolicy::class;
protected $updatePolicyDataType = '';
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param UpdatePolicy
*/
public function setUpdatePolicy(UpdatePolicy $updatePolicy)
{
$this->updatePolicy = $updatePolicy;
}
/**
* @return UpdatePolicy
*/
public function getUpdatePolicy()
{
return $this->updatePolicy;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MaintenancePolicy::class, 'Google_Service_CloudFilestore_MaintenancePolicy');

View File

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

View File

@@ -0,0 +1,117 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudFilestore;
class NetworkConfig extends \Google\Collection
{
protected $collection_key = 'modes';
/**
* @var string
*/
public $connectMode;
/**
* @var string[]
*/
public $ipAddresses;
/**
* @var string[]
*/
public $modes;
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $reservedIpRange;
/**
* @param string
*/
public function setConnectMode($connectMode)
{
$this->connectMode = $connectMode;
}
/**
* @return string
*/
public function getConnectMode()
{
return $this->connectMode;
}
/**
* @param string[]
*/
public function setIpAddresses($ipAddresses)
{
$this->ipAddresses = $ipAddresses;
}
/**
* @return string[]
*/
public function getIpAddresses()
{
return $this->ipAddresses;
}
/**
* @param string[]
*/
public function setModes($modes)
{
$this->modes = $modes;
}
/**
* @return string[]
*/
public function getModes()
{
return $this->modes;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setReservedIpRange($reservedIpRange)
{
$this->reservedIpRange = $reservedIpRange;
}
/**
* @return string
*/
public function getReservedIpRange()
{
return $this->reservedIpRange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkConfig::class, 'Google_Service_CloudFilestore_NetworkConfig');

View File

@@ -0,0 +1,117 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudFilestore;
class NfsExportOptions extends \Google\Collection
{
protected $collection_key = 'ipRanges';
/**
* @var string
*/
public $accessMode;
/**
* @var string
*/
public $anonGid;
/**
* @var string
*/
public $anonUid;
/**
* @var string[]
*/
public $ipRanges;
/**
* @var string
*/
public $squashMode;
/**
* @param string
*/
public function setAccessMode($accessMode)
{
$this->accessMode = $accessMode;
}
/**
* @return string
*/
public function getAccessMode()
{
return $this->accessMode;
}
/**
* @param string
*/
public function setAnonGid($anonGid)
{
$this->anonGid = $anonGid;
}
/**
* @return string
*/
public function getAnonGid()
{
return $this->anonGid;
}
/**
* @param string
*/
public function setAnonUid($anonUid)
{
$this->anonUid = $anonUid;
}
/**
* @return string
*/
public function getAnonUid()
{
return $this->anonUid;
}
/**
* @param string[]
*/
public function setIpRanges($ipRanges)
{
$this->ipRanges = $ipRanges;
}
/**
* @return string[]
*/
public function getIpRanges()
{
return $this->ipRanges;
}
/**
* @param string
*/
public function setSquashMode($squashMode)
{
$this->squashMode = $squashMode;
}
/**
* @return string
*/
public function getSquashMode()
{
return $this->squashMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NfsExportOptions::class, 'Google_Service_CloudFilestore_NfsExportOptions');

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\CloudFilestore;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_CloudFilestore_Operation');

View File

@@ -0,0 +1,152 @@
<?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\CloudFilestore;
class OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var bool
*/
public $cancelRequested;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $statusDetail;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param bool
*/
public function setCancelRequested($cancelRequested)
{
$this->cancelRequested = $cancelRequested;
}
/**
* @return bool
*/
public function getCancelRequested()
{
return $this->cancelRequested;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setStatusDetail($statusDetail)
{
$this->statusDetail = $statusDetail;
}
/**
* @return string
*/
public function getStatusDetail()
{
return $this->statusDetail;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_CloudFilestore_OperationMetadata');

View File

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

View File

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

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\CloudFilestore;
class PromoteReplicaRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PromoteReplicaRequest::class, 'Google_Service_CloudFilestore_PromoteReplicaRequest');

View File

@@ -0,0 +1,99 @@
<?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\CloudFilestore;
class ReplicaConfig extends \Google\Collection
{
protected $collection_key = 'stateReasons';
/**
* @var string
*/
public $lastActiveSyncTime;
/**
* @var string
*/
public $peerInstance;
/**
* @var string
*/
public $state;
/**
* @var string[]
*/
public $stateReasons;
/**
* @param string
*/
public function setLastActiveSyncTime($lastActiveSyncTime)
{
$this->lastActiveSyncTime = $lastActiveSyncTime;
}
/**
* @return string
*/
public function getLastActiveSyncTime()
{
return $this->lastActiveSyncTime;
}
/**
* @param string
*/
public function setPeerInstance($peerInstance)
{
$this->peerInstance = $peerInstance;
}
/**
* @return string
*/
public function getPeerInstance()
{
return $this->peerInstance;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string[]
*/
public function setStateReasons($stateReasons)
{
$this->stateReasons = $stateReasons;
}
/**
* @return string[]
*/
public function getStateReasons()
{
return $this->stateReasons;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReplicaConfig::class, 'Google_Service_CloudFilestore_ReplicaConfig');

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\CloudFilestore;
class Replication extends \Google\Collection
{
protected $collection_key = 'replicas';
protected $replicasType = ReplicaConfig::class;
protected $replicasDataType = 'array';
/**
* @var string
*/
public $role;
/**
* @param ReplicaConfig[]
*/
public function setReplicas($replicas)
{
$this->replicas = $replicas;
}
/**
* @return ReplicaConfig[]
*/
public function getReplicas()
{
return $this->replicas;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Replication::class, 'Google_Service_CloudFilestore_Replication');

View File

@@ -0,0 +1,33 @@
<?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\CloudFilestore\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $fileService = new Google\Service\CloudFilestore(...);
* $projects = $fileService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_CloudFilestore_Resource_Projects');

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\CloudFilestore\Resource;
use Google\Service\CloudFilestore\ListLocationsResponse;
use Google\Service\CloudFilestore\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $fileService = new Google\Service\CloudFilestore(...);
* $locations = $fileService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Gets information about a location. (locations.get)
*
* @param string $name Resource name for the location.
* @param array $optParams Optional parameters.
* @return Location
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Lists information about the supported locations for this service.
* (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* @opt_param bool includeUnrevealedLocations If true, the returned list will
* include locations which are not yet revealed.
* @opt_param int pageSize The maximum number of results to return. If not set,
* the service selects a default.
* @opt_param string pageToken A page token received from the `next_page_token`
* field in the response. Send that page token to receive the subsequent page.
* @return ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_CloudFilestore_Resource_ProjectsLocations');

View File

@@ -0,0 +1,136 @@
<?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\CloudFilestore\Resource;
use Google\Service\CloudFilestore\Backup;
use Google\Service\CloudFilestore\ListBackupsResponse;
use Google\Service\CloudFilestore\Operation;
/**
* The "backups" collection of methods.
* Typical usage is:
* <code>
* $fileService = new Google\Service\CloudFilestore(...);
* $backups = $fileService->projects_locations_backups;
* </code>
*/
class ProjectsLocationsBackups extends \Google\Service\Resource
{
/**
* Creates a backup. (backups.create)
*
* @param string $parent Required. The backup's project and location, in the
* format `projects/{project_number}/locations/{location}`. In Filestore, backup
* locations map to Google Cloud regions, for example **us-west1**.
* @param Backup $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string backupId Required. The ID to use for the backup. The ID
* must be unique within the specified project and location. This value must
* start with a lowercase letter followed by up to 62 lowercase letters,
* numbers, or hyphens, and cannot end with a hyphen. Values that do not match
* this pattern will trigger an INVALID_ARGUMENT error.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, Backup $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a backup. (backups.delete)
*
* @param string $name Required. The backup resource name, in the format
* `projects/{project_number}/locations/{location}/backups/{backup_id}`
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets the details of a specific backup. (backups.get)
*
* @param string $name Required. The backup resource name, in the format
* `projects/{project_number}/locations/{location}/backups/{backup_id}`.
* @param array $optParams Optional parameters.
* @return Backup
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Backup::class);
}
/**
* Lists all backups in a project for either a specified location or for all
* locations. (backups.listProjectsLocationsBackups)
*
* @param string $parent Required. The project and location for which to
* retrieve backup information, in the format
* `projects/{project_number}/locations/{location}`. In Filestore, backup
* locations map to Google Cloud regions, for example **us-west1**. To retrieve
* backup information for all locations, use "-" for the `{location}` value.
* @param array $optParams Optional parameters.
*
* @opt_param string filter List filter.
* @opt_param string orderBy Sort results. Supported values are "name", "name
* desc" or "" (unsorted).
* @opt_param int pageSize The maximum number of items to return.
* @opt_param string pageToken The next_page_token value to use if there are
* additional results to retrieve for this list request.
* @return ListBackupsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsBackups($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListBackupsResponse::class);
}
/**
* Updates the settings of a specific backup. (backups.patch)
*
* @param string $name Output only. The resource name of the backup, in the
* format
* `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.
* @param Backup $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask of fields to update. At least one
* path must be supplied in this field.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Backup $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsBackups::class, 'Google_Service_CloudFilestore_Resource_ProjectsLocationsBackups');

View File

@@ -0,0 +1,200 @@
<?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\CloudFilestore\Resource;
use Google\Service\CloudFilestore\Instance;
use Google\Service\CloudFilestore\ListInstancesResponse;
use Google\Service\CloudFilestore\Operation;
use Google\Service\CloudFilestore\PromoteReplicaRequest;
use Google\Service\CloudFilestore\RestoreInstanceRequest;
use Google\Service\CloudFilestore\RevertInstanceRequest;
/**
* The "instances" collection of methods.
* Typical usage is:
* <code>
* $fileService = new Google\Service\CloudFilestore(...);
* $instances = $fileService->projects_locations_instances;
* </code>
*/
class ProjectsLocationsInstances extends \Google\Service\Resource
{
/**
* Creates an instance. When creating from a backup, the capacity of the new
* instance needs to be equal to or larger than the capacity of the backup (and
* also equal to or larger than the minimum capacity of the tier).
* (instances.create)
*
* @param string $parent Required. The instance's project and location, in the
* format `projects/{project_id}/locations/{location}`. In Filestore, locations
* map to Google Cloud zones, for example **us-west1-b**.
* @param Instance $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string instanceId Required. The name of the instance to create.
* The name must be unique for the specified project and location.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, Instance $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes an instance. (instances.delete)
*
* @param string $name Required. The instance resource name, in the format
* `projects/{project_id}/locations/{location}/instances/{instance_id}`
* @param array $optParams Optional parameters.
*
* @opt_param bool force If set to true, all snapshots of the instance will also
* be deleted. (Otherwise, the request will only work if the instance has no
* snapshots.)
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets the details of a specific instance. (instances.get)
*
* @param string $name Required. The instance resource name, in the format
* `projects/{project_id}/locations/{location}/instances/{instance_id}`.
* @param array $optParams Optional parameters.
* @return Instance
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Instance::class);
}
/**
* Lists all instances in a project for either a specified location or for all
* locations. (instances.listProjectsLocationsInstances)
*
* @param string $parent Required. The project and location for which to
* retrieve instance information, in the format
* `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations
* map to Google Cloud zones, for example **us-west1-b**. To retrieve instance
* information for all locations, use "-" for the `{location}` value.
* @param array $optParams Optional parameters.
*
* @opt_param string filter List filter.
* @opt_param string orderBy Sort results. Supported values are "name", "name
* desc" or "" (unsorted).
* @opt_param int pageSize The maximum number of items to return.
* @opt_param string pageToken The next_page_token value to use if there are
* additional results to retrieve for this list request.
* @return ListInstancesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsInstances($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListInstancesResponse::class);
}
/**
* Updates the settings of a specific instance. (instances.patch)
*
* @param string $name Output only. The resource name of the instance, in the
* format `projects/{project}/locations/{location}/instances/{instance}`.
* @param Instance $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Mask of fields to update. At least one path must
* be supplied in this field. The elements of the repeated paths field may only
* include these fields: * "description" * "file_shares" * "labels" *
* "performance_config" * "deletion_protection_enabled" *
* "deletion_protection_reason"
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Instance $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Promote the standby instance (replica). (instances.promoteReplica)
*
* @param string $name Required. The resource name of the instance, in the
* format
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
* @param PromoteReplicaRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function promoteReplica($name, PromoteReplicaRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('promoteReplica', [$params], Operation::class);
}
/**
* Restores an existing instance's file share from a backup. The capacity of the
* instance needs to be equal to or larger than the capacity of the backup (and
* also equal to or larger than the minimum capacity of the tier).
* (instances.restore)
*
* @param string $name Required. The resource name of the instance, in the
* format
* `projects/{project_number}/locations/{location_id}/instances/{instance_id}`.
* @param RestoreInstanceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function restore($name, RestoreInstanceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('restore', [$params], Operation::class);
}
/**
* Revert an existing instance's file system to a specified snapshot.
* (instances.revert)
*
* @param string $name Required. The resource name of the instance, in the
* format
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
* @param RevertInstanceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function revert($name, RevertInstanceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('revert', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsInstances::class, 'Google_Service_CloudFilestore_Resource_ProjectsLocationsInstances');

View File

@@ -0,0 +1,137 @@
<?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\CloudFilestore\Resource;
use Google\Service\CloudFilestore\ListSnapshotsResponse;
use Google\Service\CloudFilestore\Operation;
use Google\Service\CloudFilestore\Snapshot;
/**
* The "snapshots" collection of methods.
* Typical usage is:
* <code>
* $fileService = new Google\Service\CloudFilestore(...);
* $snapshots = $fileService->projects_locations_instances_snapshots;
* </code>
*/
class ProjectsLocationsInstancesSnapshots extends \Google\Service\Resource
{
/**
* Creates a snapshot. (snapshots.create)
*
* @param string $parent Required. The Filestore Instance to create the
* snapshots of, in the format
* `projects/{project_id}/locations/{location}/instances/{instance_id}`
* @param Snapshot $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string snapshotId Required. The ID to use for the snapshot. The ID
* must be unique within the specified instance. This value must start with a
* lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens,
* and cannot end with a hyphen.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, Snapshot $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a snapshot. (snapshots.delete)
*
* @param string $name Required. The snapshot resource name, in the format `proj
* ects/{project_id}/locations/{location}/instances/{instance_id}/snapshots/{sna
* pshot_id}`
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets the details of a specific snapshot. (snapshots.get)
*
* @param string $name Required. The snapshot resource name, in the format `proj
* ects/{project_id}/locations/{location}/instances/{instance_id}/snapshots/{sna
* pshot_id}`
* @param array $optParams Optional parameters.
* @return Snapshot
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Snapshot::class);
}
/**
* Lists all snapshots in a project for either a specified location or for all
* locations. (snapshots.listProjectsLocationsInstancesSnapshots)
*
* @param string $parent Required. The instance for which to retrieve snapshot
* information, in the format
* `projects/{project_id}/locations/{location}/instances/{instance_id}`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter List filter.
* @opt_param string orderBy Sort results. Supported values are "name", "name
* desc" or "" (unsorted).
* @opt_param int pageSize The maximum number of items to return.
* @opt_param string pageToken The next_page_token value to use if there are
* additional results to retrieve for this list request.
* @opt_param bool returnPartialSuccess Optional. If true, allow partial
* responses for multi-regional Aggregated List requests.
* @return ListSnapshotsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsInstancesSnapshots($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListSnapshotsResponse::class);
}
/**
* Updates the settings of a specific snapshot. (snapshots.patch)
*
* @param string $name Output only. The resource name of the snapshot, in the
* format `projects/{project_id}/locations/{location_id}/instances/{instance_id}
* /snapshots/{snapshot_id}`.
* @param Snapshot $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask of fields to update. At least one
* path must be supplied in this field.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Snapshot $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsInstancesSnapshots::class, 'Google_Service_CloudFilestore_Resource_ProjectsLocationsInstancesSnapshots');

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\CloudFilestore\Resource;
use Google\Service\CloudFilestore\CancelOperationRequest;
use Google\Service\CloudFilestore\FileEmpty;
use Google\Service\CloudFilestore\ListOperationsResponse;
use Google\Service\CloudFilestore\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $fileService = new Google\Service\CloudFilestore(...);
* $operations = $fileService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return FileEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], FileEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return FileEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], FileEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_CloudFilestore_Resource_ProjectsLocationsOperations');

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\CloudFilestore;
class RestoreInstanceRequest extends \Google\Model
{
/**
* @var string
*/
public $fileShare;
/**
* @var string
*/
public $sourceBackup;
/**
* @param string
*/
public function setFileShare($fileShare)
{
$this->fileShare = $fileShare;
}
/**
* @return string
*/
public function getFileShare()
{
return $this->fileShare;
}
/**
* @param string
*/
public function setSourceBackup($sourceBackup)
{
$this->sourceBackup = $sourceBackup;
}
/**
* @return string
*/
public function getSourceBackup()
{
return $this->sourceBackup;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RestoreInstanceRequest::class, 'Google_Service_CloudFilestore_RestoreInstanceRequest');

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\CloudFilestore;
class RevertInstanceRequest extends \Google\Model
{
/**
* @var string
*/
public $targetSnapshotId;
/**
* @param string
*/
public function setTargetSnapshotId($targetSnapshotId)
{
$this->targetSnapshotId = $targetSnapshotId;
}
/**
* @return string
*/
public function getTargetSnapshotId()
{
return $this->targetSnapshotId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RevertInstanceRequest::class, 'Google_Service_CloudFilestore_RevertInstanceRequest');

View File

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

View File

@@ -0,0 +1,152 @@
<?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\CloudFilestore;
class Snapshot extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $filesystemUsedBytes;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string[]
*/
public $tags;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setFilesystemUsedBytes($filesystemUsedBytes)
{
$this->filesystemUsedBytes = $filesystemUsedBytes;
}
/**
* @return string
*/
public function getFilesystemUsedBytes()
{
return $this->filesystemUsedBytes;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Snapshot::class, 'Google_Service_CloudFilestore_Snapshot');

View File

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

View File

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

View File

@@ -0,0 +1,77 @@
<?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\CloudFilestore;
class UpdatePolicy extends \Google\Collection
{
protected $collection_key = 'denyMaintenancePeriods';
/**
* @var string
*/
public $channel;
protected $denyMaintenancePeriodsType = DenyMaintenancePeriod::class;
protected $denyMaintenancePeriodsDataType = 'array';
protected $windowType = MaintenanceWindow::class;
protected $windowDataType = '';
/**
* @param string
*/
public function setChannel($channel)
{
$this->channel = $channel;
}
/**
* @return string
*/
public function getChannel()
{
return $this->channel;
}
/**
* @param DenyMaintenancePeriod[]
*/
public function setDenyMaintenancePeriods($denyMaintenancePeriods)
{
$this->denyMaintenancePeriods = $denyMaintenancePeriods;
}
/**
* @return DenyMaintenancePeriod[]
*/
public function getDenyMaintenancePeriods()
{
return $this->denyMaintenancePeriods;
}
/**
* @param MaintenanceWindow
*/
public function setWindow(MaintenanceWindow $window)
{
$this->window = $window;
}
/**
* @return MaintenanceWindow
*/
public function getWindow()
{
return $this->window;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UpdatePolicy::class, 'Google_Service_CloudFilestore_UpdatePolicy');

View File

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