gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,134 @@
<?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\Container;
class AcceleratorConfig extends \Google\Model
{
/**
* The number of the accelerator cards exposed to an instance.
*
* @var string
*/
public $acceleratorCount;
/**
* The accelerator type resource name. List of supported accelerators
* [here](https://cloud.google.com/compute/docs/gpus)
*
* @var string
*/
public $acceleratorType;
protected $gpuDriverInstallationConfigType = GPUDriverInstallationConfig::class;
protected $gpuDriverInstallationConfigDataType = '';
/**
* Size of partitions to create on the GPU. Valid values are described in the
* NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-
* guide/#partitioning).
*
* @var string
*/
public $gpuPartitionSize;
protected $gpuSharingConfigType = GPUSharingConfig::class;
protected $gpuSharingConfigDataType = '';
/**
* The number of the accelerator cards exposed to an instance.
*
* @param string $acceleratorCount
*/
public function setAcceleratorCount($acceleratorCount)
{
$this->acceleratorCount = $acceleratorCount;
}
/**
* @return string
*/
public function getAcceleratorCount()
{
return $this->acceleratorCount;
}
/**
* The accelerator type resource name. List of supported accelerators
* [here](https://cloud.google.com/compute/docs/gpus)
*
* @param string $acceleratorType
*/
public function setAcceleratorType($acceleratorType)
{
$this->acceleratorType = $acceleratorType;
}
/**
* @return string
*/
public function getAcceleratorType()
{
return $this->acceleratorType;
}
/**
* The configuration for auto installation of GPU driver.
*
* @param GPUDriverInstallationConfig $gpuDriverInstallationConfig
*/
public function setGpuDriverInstallationConfig(GPUDriverInstallationConfig $gpuDriverInstallationConfig)
{
$this->gpuDriverInstallationConfig = $gpuDriverInstallationConfig;
}
/**
* @return GPUDriverInstallationConfig
*/
public function getGpuDriverInstallationConfig()
{
return $this->gpuDriverInstallationConfig;
}
/**
* Size of partitions to create on the GPU. Valid values are described in the
* NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-
* guide/#partitioning).
*
* @param string $gpuPartitionSize
*/
public function setGpuPartitionSize($gpuPartitionSize)
{
$this->gpuPartitionSize = $gpuPartitionSize;
}
/**
* @return string
*/
public function getGpuPartitionSize()
{
return $this->gpuPartitionSize;
}
/**
* The configuration for GPU sharing options.
*
* @param GPUSharingConfig $gpuSharingConfig
*/
public function setGpuSharingConfig(GPUSharingConfig $gpuSharingConfig)
{
$this->gpuSharingConfig = $gpuSharingConfig;
}
/**
* @return GPUSharingConfig
*/
public function getGpuSharingConfig()
{
return $this->gpuSharingConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AcceleratorConfig::class, 'Google_Service_Container_AcceleratorConfig');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class AccurateTimeConfig extends \Google\Model
{
/**
* Enables enhanced time synchronization using PTP-KVM.
*
* @var bool
*/
public $enablePtpKvmTimeSync;
/**
* Enables enhanced time synchronization using PTP-KVM.
*
* @param bool $enablePtpKvmTimeSync
*/
public function setEnablePtpKvmTimeSync($enablePtpKvmTimeSync)
{
$this->enablePtpKvmTimeSync = $enablePtpKvmTimeSync;
}
/**
* @return bool
*/
public function getEnablePtpKvmTimeSync()
{
return $this->enablePtpKvmTimeSync;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccurateTimeConfig::class, 'Google_Service_Container_AccurateTimeConfig');
@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class AdditionalIPRangesConfig extends \Google\Collection
{
/**
* Not set, same as ACTIVE.
*/
public const STATUS_STATUS_UNSPECIFIED = 'STATUS_UNSPECIFIED';
/**
* ACTIVE status indicates that the subnet is available for new node pool
* creation.
*/
public const STATUS_ACTIVE = 'ACTIVE';
/**
* DRAINING status indicates that the subnet is not used for new node pool
* creation.
*/
public const STATUS_DRAINING = 'DRAINING';
protected $collection_key = 'podIpv4RangeNames';
/**
* List of secondary ranges names within this subnetwork that can be used for
* pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2
*
* @var string[]
*/
public $podIpv4RangeNames;
/**
* Draining status of the additional subnet.
*
* @var string
*/
public $status;
/**
* Name of the subnetwork. This can be the full path of the subnetwork or just
* the name. Example1: my-subnet Example2: projects/gke-project/regions/us-
* central1/subnetworks/my-subnet
*
* @var string
*/
public $subnetwork;
/**
* List of secondary ranges names within this subnetwork that can be used for
* pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2
*
* @param string[] $podIpv4RangeNames
*/
public function setPodIpv4RangeNames($podIpv4RangeNames)
{
$this->podIpv4RangeNames = $podIpv4RangeNames;
}
/**
* @return string[]
*/
public function getPodIpv4RangeNames()
{
return $this->podIpv4RangeNames;
}
/**
* Draining status of the additional subnet.
*
* Accepted values: STATUS_UNSPECIFIED, ACTIVE, DRAINING
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
/**
* Name of the subnetwork. This can be the full path of the subnetwork or just
* the name. Example1: my-subnet Example2: projects/gke-project/regions/us-
* central1/subnetworks/my-subnet
*
* @param string $subnetwork
*/
public function setSubnetwork($subnetwork)
{
$this->subnetwork = $subnetwork;
}
/**
* @return string
*/
public function getSubnetwork()
{
return $this->subnetwork;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdditionalIPRangesConfig::class, 'Google_Service_Container_AdditionalIPRangesConfig');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class AdditionalNodeNetworkConfig extends \Google\Model
{
/**
* Name of the VPC where the additional interface belongs
*
* @var string
*/
public $network;
/**
* Name of the subnetwork where the additional interface belongs
*
* @var string
*/
public $subnetwork;
/**
* Name of the VPC where the additional interface belongs
*
* @param string $network
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* Name of the subnetwork where the additional interface belongs
*
* @param string $subnetwork
*/
public function setSubnetwork($subnetwork)
{
$this->subnetwork = $subnetwork;
}
/**
* @return string
*/
public function getSubnetwork()
{
return $this->subnetwork;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdditionalNodeNetworkConfig::class, 'Google_Service_Container_AdditionalNodeNetworkConfig');
@@ -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\Container;
class AdditionalPodNetworkConfig extends \Google\Model
{
protected $maxPodsPerNodeType = MaxPodsConstraint::class;
protected $maxPodsPerNodeDataType = '';
/**
* The name of the network attachment for pods to communicate to; cannot be
* specified along with subnetwork or secondary_pod_range.
*
* @var string
*/
public $networkAttachment;
/**
* The name of the secondary range on the subnet which provides IP address for
* this pod range.
*
* @var string
*/
public $secondaryPodRange;
/**
* Name of the subnetwork where the additional pod network belongs.
*
* @var string
*/
public $subnetwork;
/**
* The maximum number of pods per node which use this pod network.
*
* @param MaxPodsConstraint $maxPodsPerNode
*/
public function setMaxPodsPerNode(MaxPodsConstraint $maxPodsPerNode)
{
$this->maxPodsPerNode = $maxPodsPerNode;
}
/**
* @return MaxPodsConstraint
*/
public function getMaxPodsPerNode()
{
return $this->maxPodsPerNode;
}
/**
* The name of the network attachment for pods to communicate to; cannot be
* specified along with subnetwork or secondary_pod_range.
*
* @param string $networkAttachment
*/
public function setNetworkAttachment($networkAttachment)
{
$this->networkAttachment = $networkAttachment;
}
/**
* @return string
*/
public function getNetworkAttachment()
{
return $this->networkAttachment;
}
/**
* The name of the secondary range on the subnet which provides IP address for
* this pod range.
*
* @param string $secondaryPodRange
*/
public function setSecondaryPodRange($secondaryPodRange)
{
$this->secondaryPodRange = $secondaryPodRange;
}
/**
* @return string
*/
public function getSecondaryPodRange()
{
return $this->secondaryPodRange;
}
/**
* Name of the subnetwork where the additional pod network belongs.
*
* @param string $subnetwork
*/
public function setSubnetwork($subnetwork)
{
$this->subnetwork = $subnetwork;
}
/**
* @return string
*/
public function getSubnetwork()
{
return $this->subnetwork;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdditionalPodNetworkConfig::class, 'Google_Service_Container_AdditionalPodNetworkConfig');
@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class AdditionalPodRangesConfig extends \Google\Collection
{
protected $collection_key = 'podRangeNames';
protected $podRangeInfoType = RangeInfo::class;
protected $podRangeInfoDataType = 'array';
/**
* Name for pod secondary ipv4 range which has the actual range defined ahead.
*
* @var string[]
*/
public $podRangeNames;
/**
* Output only. Information for additional pod range.
*
* @param RangeInfo[] $podRangeInfo
*/
public function setPodRangeInfo($podRangeInfo)
{
$this->podRangeInfo = $podRangeInfo;
}
/**
* @return RangeInfo[]
*/
public function getPodRangeInfo()
{
return $this->podRangeInfo;
}
/**
* Name for pod secondary ipv4 range which has the actual range defined ahead.
*
* @param string[] $podRangeNames
*/
public function setPodRangeNames($podRangeNames)
{
$this->podRangeNames = $podRangeNames;
}
/**
* @return string[]
*/
public function getPodRangeNames()
{
return $this->podRangeNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdditionalPodRangesConfig::class, 'Google_Service_Container_AdditionalPodRangesConfig');
@@ -0,0 +1,399 @@
<?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\Container;
class AddonsConfig extends \Google\Model
{
protected $cloudRunConfigType = CloudRunConfig::class;
protected $cloudRunConfigDataType = '';
protected $configConnectorConfigType = ConfigConnectorConfig::class;
protected $configConnectorConfigDataType = '';
protected $dnsCacheConfigType = DnsCacheConfig::class;
protected $dnsCacheConfigDataType = '';
protected $gcePersistentDiskCsiDriverConfigType = GcePersistentDiskCsiDriverConfig::class;
protected $gcePersistentDiskCsiDriverConfigDataType = '';
protected $gcpFilestoreCsiDriverConfigType = GcpFilestoreCsiDriverConfig::class;
protected $gcpFilestoreCsiDriverConfigDataType = '';
protected $gcsFuseCsiDriverConfigType = GcsFuseCsiDriverConfig::class;
protected $gcsFuseCsiDriverConfigDataType = '';
protected $gkeBackupAgentConfigType = GkeBackupAgentConfig::class;
protected $gkeBackupAgentConfigDataType = '';
protected $highScaleCheckpointingConfigType = HighScaleCheckpointingConfig::class;
protected $highScaleCheckpointingConfigDataType = '';
protected $horizontalPodAutoscalingType = HorizontalPodAutoscaling::class;
protected $horizontalPodAutoscalingDataType = '';
protected $httpLoadBalancingType = HttpLoadBalancing::class;
protected $httpLoadBalancingDataType = '';
protected $kubernetesDashboardType = KubernetesDashboard::class;
protected $kubernetesDashboardDataType = '';
protected $lustreCsiDriverConfigType = LustreCsiDriverConfig::class;
protected $lustreCsiDriverConfigDataType = '';
protected $networkPolicyConfigType = NetworkPolicyConfig::class;
protected $networkPolicyConfigDataType = '';
protected $nodeReadinessConfigType = NodeReadinessConfig::class;
protected $nodeReadinessConfigDataType = '';
protected $parallelstoreCsiDriverConfigType = ParallelstoreCsiDriverConfig::class;
protected $parallelstoreCsiDriverConfigDataType = '';
protected $podSnapshotConfigType = PodSnapshotConfig::class;
protected $podSnapshotConfigDataType = '';
protected $rayOperatorConfigType = RayOperatorConfig::class;
protected $rayOperatorConfigDataType = '';
protected $sliceControllerConfigType = SliceControllerConfig::class;
protected $sliceControllerConfigDataType = '';
protected $slurmOperatorConfigType = SlurmOperatorConfig::class;
protected $slurmOperatorConfigDataType = '';
protected $statefulHaConfigType = StatefulHAConfig::class;
protected $statefulHaConfigDataType = '';
/**
* Configuration for the Cloud Run addon, which allows the user to use a
* managed Knative service.
*
* @param CloudRunConfig $cloudRunConfig
*/
public function setCloudRunConfig(CloudRunConfig $cloudRunConfig)
{
$this->cloudRunConfig = $cloudRunConfig;
}
/**
* @return CloudRunConfig
*/
public function getCloudRunConfig()
{
return $this->cloudRunConfig;
}
/**
* Configuration for the ConfigConnector add-on, a Kubernetes extension to
* manage hosted Google Cloud services through the Kubernetes API.
*
* @param ConfigConnectorConfig $configConnectorConfig
*/
public function setConfigConnectorConfig(ConfigConnectorConfig $configConnectorConfig)
{
$this->configConnectorConfig = $configConnectorConfig;
}
/**
* @return ConfigConnectorConfig
*/
public function getConfigConnectorConfig()
{
return $this->configConnectorConfig;
}
/**
* Configuration for NodeLocalDNS, a dns cache running on cluster nodes
*
* @param DnsCacheConfig $dnsCacheConfig
*/
public function setDnsCacheConfig(DnsCacheConfig $dnsCacheConfig)
{
$this->dnsCacheConfig = $dnsCacheConfig;
}
/**
* @return DnsCacheConfig
*/
public function getDnsCacheConfig()
{
return $this->dnsCacheConfig;
}
/**
* Configuration for the Compute Engine Persistent Disk CSI driver.
*
* @param GcePersistentDiskCsiDriverConfig $gcePersistentDiskCsiDriverConfig
*/
public function setGcePersistentDiskCsiDriverConfig(GcePersistentDiskCsiDriverConfig $gcePersistentDiskCsiDriverConfig)
{
$this->gcePersistentDiskCsiDriverConfig = $gcePersistentDiskCsiDriverConfig;
}
/**
* @return GcePersistentDiskCsiDriverConfig
*/
public function getGcePersistentDiskCsiDriverConfig()
{
return $this->gcePersistentDiskCsiDriverConfig;
}
/**
* Configuration for the Filestore CSI driver.
*
* @param GcpFilestoreCsiDriverConfig $gcpFilestoreCsiDriverConfig
*/
public function setGcpFilestoreCsiDriverConfig(GcpFilestoreCsiDriverConfig $gcpFilestoreCsiDriverConfig)
{
$this->gcpFilestoreCsiDriverConfig = $gcpFilestoreCsiDriverConfig;
}
/**
* @return GcpFilestoreCsiDriverConfig
*/
public function getGcpFilestoreCsiDriverConfig()
{
return $this->gcpFilestoreCsiDriverConfig;
}
/**
* Configuration for the Cloud Storage Fuse CSI driver.
*
* @param GcsFuseCsiDriverConfig $gcsFuseCsiDriverConfig
*/
public function setGcsFuseCsiDriverConfig(GcsFuseCsiDriverConfig $gcsFuseCsiDriverConfig)
{
$this->gcsFuseCsiDriverConfig = $gcsFuseCsiDriverConfig;
}
/**
* @return GcsFuseCsiDriverConfig
*/
public function getGcsFuseCsiDriverConfig()
{
return $this->gcsFuseCsiDriverConfig;
}
/**
* Configuration for the Backup for GKE agent addon.
*
* @param GkeBackupAgentConfig $gkeBackupAgentConfig
*/
public function setGkeBackupAgentConfig(GkeBackupAgentConfig $gkeBackupAgentConfig)
{
$this->gkeBackupAgentConfig = $gkeBackupAgentConfig;
}
/**
* @return GkeBackupAgentConfig
*/
public function getGkeBackupAgentConfig()
{
return $this->gkeBackupAgentConfig;
}
/**
* Configuration for the High Scale Checkpointing add-on.
*
* @param HighScaleCheckpointingConfig $highScaleCheckpointingConfig
*/
public function setHighScaleCheckpointingConfig(HighScaleCheckpointingConfig $highScaleCheckpointingConfig)
{
$this->highScaleCheckpointingConfig = $highScaleCheckpointingConfig;
}
/**
* @return HighScaleCheckpointingConfig
*/
public function getHighScaleCheckpointingConfig()
{
return $this->highScaleCheckpointingConfig;
}
/**
* Configuration for the horizontal pod autoscaling feature, which increases
* or decreases the number of replica pods a replication controller has based
* on the resource usage of the existing pods.
*
* @param HorizontalPodAutoscaling $horizontalPodAutoscaling
*/
public function setHorizontalPodAutoscaling(HorizontalPodAutoscaling $horizontalPodAutoscaling)
{
$this->horizontalPodAutoscaling = $horizontalPodAutoscaling;
}
/**
* @return HorizontalPodAutoscaling
*/
public function getHorizontalPodAutoscaling()
{
return $this->horizontalPodAutoscaling;
}
/**
* Configuration for the HTTP (L7) load balancing controller addon, which
* makes it easy to set up HTTP load balancers for services in a cluster.
*
* @param HttpLoadBalancing $httpLoadBalancing
*/
public function setHttpLoadBalancing(HttpLoadBalancing $httpLoadBalancing)
{
$this->httpLoadBalancing = $httpLoadBalancing;
}
/**
* @return HttpLoadBalancing
*/
public function getHttpLoadBalancing()
{
return $this->httpLoadBalancing;
}
/**
* Configuration for the Kubernetes Dashboard. This addon is deprecated, and
* will be disabled in 1.15. It is recommended to use the Cloud Console to
* manage and monitor your Kubernetes clusters, workloads and applications.
* For more information, see: https://cloud.google.com/kubernetes-
* engine/docs/concepts/dashboards
*
* @deprecated
* @param KubernetesDashboard $kubernetesDashboard
*/
public function setKubernetesDashboard(KubernetesDashboard $kubernetesDashboard)
{
$this->kubernetesDashboard = $kubernetesDashboard;
}
/**
* @deprecated
* @return KubernetesDashboard
*/
public function getKubernetesDashboard()
{
return $this->kubernetesDashboard;
}
/**
* Configuration for the Lustre CSI driver.
*
* @param LustreCsiDriverConfig $lustreCsiDriverConfig
*/
public function setLustreCsiDriverConfig(LustreCsiDriverConfig $lustreCsiDriverConfig)
{
$this->lustreCsiDriverConfig = $lustreCsiDriverConfig;
}
/**
* @return LustreCsiDriverConfig
*/
public function getLustreCsiDriverConfig()
{
return $this->lustreCsiDriverConfig;
}
/**
* Configuration for NetworkPolicy. This only tracks whether the addon is
* enabled or not on the Master, it does not track whether network policy is
* enabled for the nodes.
*
* @param NetworkPolicyConfig $networkPolicyConfig
*/
public function setNetworkPolicyConfig(NetworkPolicyConfig $networkPolicyConfig)
{
$this->networkPolicyConfig = $networkPolicyConfig;
}
/**
* @return NetworkPolicyConfig
*/
public function getNetworkPolicyConfig()
{
return $this->networkPolicyConfig;
}
/**
* Optional. Configuration for NodeReadinessController add-on.
*
* @param NodeReadinessConfig $nodeReadinessConfig
*/
public function setNodeReadinessConfig(NodeReadinessConfig $nodeReadinessConfig)
{
$this->nodeReadinessConfig = $nodeReadinessConfig;
}
/**
* @return NodeReadinessConfig
*/
public function getNodeReadinessConfig()
{
return $this->nodeReadinessConfig;
}
/**
* Configuration for the Cloud Storage Parallelstore CSI driver.
*
* @param ParallelstoreCsiDriverConfig $parallelstoreCsiDriverConfig
*/
public function setParallelstoreCsiDriverConfig(ParallelstoreCsiDriverConfig $parallelstoreCsiDriverConfig)
{
$this->parallelstoreCsiDriverConfig = $parallelstoreCsiDriverConfig;
}
/**
* @return ParallelstoreCsiDriverConfig
*/
public function getParallelstoreCsiDriverConfig()
{
return $this->parallelstoreCsiDriverConfig;
}
/**
* Optional. Configuration for the Pod Snapshot feature.
*
* @param PodSnapshotConfig $podSnapshotConfig
*/
public function setPodSnapshotConfig(PodSnapshotConfig $podSnapshotConfig)
{
$this->podSnapshotConfig = $podSnapshotConfig;
}
/**
* @return PodSnapshotConfig
*/
public function getPodSnapshotConfig()
{
return $this->podSnapshotConfig;
}
/**
* Optional. Configuration for Ray Operator addon.
*
* @param RayOperatorConfig $rayOperatorConfig
*/
public function setRayOperatorConfig(RayOperatorConfig $rayOperatorConfig)
{
$this->rayOperatorConfig = $rayOperatorConfig;
}
/**
* @return RayOperatorConfig
*/
public function getRayOperatorConfig()
{
return $this->rayOperatorConfig;
}
/**
* Optional. Configuration for the slice controller add-on.
*
* @param SliceControllerConfig $sliceControllerConfig
*/
public function setSliceControllerConfig(SliceControllerConfig $sliceControllerConfig)
{
$this->sliceControllerConfig = $sliceControllerConfig;
}
/**
* @return SliceControllerConfig
*/
public function getSliceControllerConfig()
{
return $this->sliceControllerConfig;
}
/**
* Configuration for the Slurm Operator.
*
* @param SlurmOperatorConfig $slurmOperatorConfig
*/
public function setSlurmOperatorConfig(SlurmOperatorConfig $slurmOperatorConfig)
{
$this->slurmOperatorConfig = $slurmOperatorConfig;
}
/**
* @return SlurmOperatorConfig
*/
public function getSlurmOperatorConfig()
{
return $this->slurmOperatorConfig;
}
/**
* Optional. Configuration for the StatefulHA add-on.
*
* @param StatefulHAConfig $statefulHaConfig
*/
public function setStatefulHaConfig(StatefulHAConfig $statefulHaConfig)
{
$this->statefulHaConfig = $statefulHaConfig;
}
/**
* @return StatefulHAConfig
*/
public function getStatefulHaConfig()
{
return $this->statefulHaConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddonsConfig::class, 'Google_Service_Container_AddonsConfig');
@@ -0,0 +1,111 @@
<?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\Container;
class AdvancedDatapathObservabilityConfig extends \Google\Model
{
/**
* Default value. This shouldn't be used.
*/
public const RELAY_MODE_RELAY_MODE_UNSPECIFIED = 'RELAY_MODE_UNSPECIFIED';
/**
* disabled
*/
public const RELAY_MODE_DISABLED = 'DISABLED';
/**
* exposed via internal load balancer
*/
public const RELAY_MODE_INTERNAL_VPC_LB = 'INTERNAL_VPC_LB';
/**
* exposed via external load balancer
*/
public const RELAY_MODE_EXTERNAL_LB = 'EXTERNAL_LB';
/**
* Expose flow metrics on nodes
*
* @var bool
*/
public $enableMetrics;
/**
* Enable Relay component
*
* @var bool
*/
public $enableRelay;
/**
* Method used to make Relay available
*
* @var string
*/
public $relayMode;
/**
* Expose flow metrics on nodes
*
* @param bool $enableMetrics
*/
public function setEnableMetrics($enableMetrics)
{
$this->enableMetrics = $enableMetrics;
}
/**
* @return bool
*/
public function getEnableMetrics()
{
return $this->enableMetrics;
}
/**
* Enable Relay component
*
* @param bool $enableRelay
*/
public function setEnableRelay($enableRelay)
{
$this->enableRelay = $enableRelay;
}
/**
* @return bool
*/
public function getEnableRelay()
{
return $this->enableRelay;
}
/**
* Method used to make Relay available
*
* Accepted values: RELAY_MODE_UNSPECIFIED, DISABLED, INTERNAL_VPC_LB,
* EXTERNAL_LB
*
* @param self::RELAY_MODE_* $relayMode
*/
public function setRelayMode($relayMode)
{
$this->relayMode = $relayMode;
}
/**
* @return self::RELAY_MODE_*
*/
public function getRelayMode()
{
return $this->relayMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdvancedDatapathObservabilityConfig::class, 'Google_Service_Container_AdvancedDatapathObservabilityConfig');
@@ -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\Container;
class AdvancedMachineFeatures extends \Google\Model
{
/**
* PMU not enabled.
*/
public const PERFORMANCE_MONITORING_UNIT_PERFORMANCE_MONITORING_UNIT_UNSPECIFIED = 'PERFORMANCE_MONITORING_UNIT_UNSPECIFIED';
/**
* Architecturally defined non-LLC events.
*/
public const PERFORMANCE_MONITORING_UNIT_ARCHITECTURAL = 'ARCHITECTURAL';
/**
* Most documented core/L2 events.
*/
public const PERFORMANCE_MONITORING_UNIT_STANDARD = 'STANDARD';
/**
* Most documented core/L2 and LLC events.
*/
public const PERFORMANCE_MONITORING_UNIT_ENHANCED = 'ENHANCED';
/**
* Whether or not to enable nested virtualization (defaults to false).
*
* @var bool
*/
public $enableNestedVirtualization;
/**
* Type of Performance Monitoring Unit (PMU) requested on node pool instances.
* If unset, PMU will not be available to the node.
*
* @var string
*/
public $performanceMonitoringUnit;
/**
* The number of threads per physical core. To disable simultaneous
* multithreading (SMT) set this to 1. If unset, the maximum number of threads
* supported per core by the underlying processor is assumed.
*
* @var string
*/
public $threadsPerCore;
/**
* Whether or not to enable nested virtualization (defaults to false).
*
* @param bool $enableNestedVirtualization
*/
public function setEnableNestedVirtualization($enableNestedVirtualization)
{
$this->enableNestedVirtualization = $enableNestedVirtualization;
}
/**
* @return bool
*/
public function getEnableNestedVirtualization()
{
return $this->enableNestedVirtualization;
}
/**
* Type of Performance Monitoring Unit (PMU) requested on node pool instances.
* If unset, PMU will not be available to the node.
*
* Accepted values: PERFORMANCE_MONITORING_UNIT_UNSPECIFIED, ARCHITECTURAL,
* STANDARD, ENHANCED
*
* @param self::PERFORMANCE_MONITORING_UNIT_* $performanceMonitoringUnit
*/
public function setPerformanceMonitoringUnit($performanceMonitoringUnit)
{
$this->performanceMonitoringUnit = $performanceMonitoringUnit;
}
/**
* @return self::PERFORMANCE_MONITORING_UNIT_*
*/
public function getPerformanceMonitoringUnit()
{
return $this->performanceMonitoringUnit;
}
/**
* The number of threads per physical core. To disable simultaneous
* multithreading (SMT) set this to 1. If unset, the maximum number of threads
* supported per core by the underlying processor is assumed.
*
* @param string $threadsPerCore
*/
public function setThreadsPerCore($threadsPerCore)
{
$this->threadsPerCore = $threadsPerCore;
}
/**
* @return string
*/
public function getThreadsPerCore()
{
return $this->threadsPerCore;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdvancedMachineFeatures::class, 'Google_Service_Container_AdvancedMachineFeatures');
@@ -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\Container;
class AnonymousAuthenticationConfig extends \Google\Model
{
/**
* Default value not specified.
*/
public const MODE_MODE_UNSPECIFIED = 'MODE_UNSPECIFIED';
/**
* Anonymous authentication is allowed for all endpoints.
*/
public const MODE_ENABLED = 'ENABLED';
/**
* Anonymous authentication is allowed for only health check endpoints.
*/
public const MODE_LIMITED = 'LIMITED';
/**
* Defines the mode of limiting anonymous access in the cluster.
*
* @var string
*/
public $mode;
/**
* Defines the mode of limiting anonymous access in the cluster.
*
* Accepted values: MODE_UNSPECIFIED, ENABLED, LIMITED
*
* @param self::MODE_* $mode
*/
public function setMode($mode)
{
$this->mode = $mode;
}
/**
* @return self::MODE_*
*/
public function getMode()
{
return $this->mode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnonymousAuthenticationConfig::class, 'Google_Service_Container_AnonymousAuthenticationConfig');
@@ -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\Container;
class AuthenticatorGroupsConfig extends \Google\Model
{
/**
* Whether this cluster should return group membership lookups during
* authentication using a group of security groups.
*
* @var bool
*/
public $enabled;
/**
* The name of the security group-of-groups to be used. Only relevant if
* enabled = true.
*
* @var string
*/
public $securityGroup;
/**
* Whether this cluster should return group membership lookups during
* authentication using a group of security groups.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* The name of the security group-of-groups to be used. Only relevant if
* enabled = true.
*
* @param string $securityGroup
*/
public function setSecurityGroup($securityGroup)
{
$this->securityGroup = $securityGroup;
}
/**
* @return string
*/
public function getSecurityGroup()
{
return $this->securityGroup;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthenticatorGroupsConfig::class, 'Google_Service_Container_AuthenticatorGroupsConfig');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class AutoIpamConfig extends \Google\Model
{
/**
* The flag that enables Auto IPAM on this cluster
*
* @var bool
*/
public $enabled;
/**
* The flag that enables Auto IPAM on this cluster
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoIpamConfig::class, 'Google_Service_Container_AutoIpamConfig');
@@ -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\Container;
class AutoMonitoringConfig extends \Google\Model
{
/**
* Not set.
*/
public const SCOPE_SCOPE_UNSPECIFIED = 'SCOPE_UNSPECIFIED';
/**
* Auto-Monitoring is enabled for all supported applications.
*/
public const SCOPE_ALL = 'ALL';
/**
* Disable Auto-Monitoring.
*/
public const SCOPE_NONE = 'NONE';
/**
* Scope for GKE Workload Auto-Monitoring.
*
* @var string
*/
public $scope;
/**
* Scope for GKE Workload Auto-Monitoring.
*
* Accepted values: SCOPE_UNSPECIFIED, ALL, NONE
*
* @param self::SCOPE_* $scope
*/
public function setScope($scope)
{
$this->scope = $scope;
}
/**
* @return self::SCOPE_*
*/
public function getScope()
{
return $this->scope;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoMonitoringConfig::class, 'Google_Service_Container_AutoMonitoringConfig');
@@ -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\Container;
class AutoUpgradeOptions extends \Google\Model
{
/**
* Output only. This field is set when upgrades are about to commence with the
* approximate start time for the upgrades, in
* [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
*
* @var string
*/
public $autoUpgradeStartTime;
/**
* Output only. This field is set when upgrades are about to commence with the
* description of the upgrade.
*
* @var string
*/
public $description;
/**
* Output only. This field is set when upgrades are about to commence with the
* approximate start time for the upgrades, in
* [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
*
* @param string $autoUpgradeStartTime
*/
public function setAutoUpgradeStartTime($autoUpgradeStartTime)
{
$this->autoUpgradeStartTime = $autoUpgradeStartTime;
}
/**
* @return string
*/
public function getAutoUpgradeStartTime()
{
return $this->autoUpgradeStartTime;
}
/**
* Output only. This field is set when upgrades are about to commence with the
* description of the upgrade.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoUpgradeOptions::class, 'Google_Service_Container_AutoUpgradeOptions');
@@ -0,0 +1,104 @@
<?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\Container;
class Autopilot extends \Google\Model
{
protected $clusterPolicyConfigType = ClusterPolicyConfig::class;
protected $clusterPolicyConfigDataType = '';
/**
* Enable Autopilot
*
* @var bool
*/
public $enabled;
protected $privilegedAdmissionConfigType = PrivilegedAdmissionConfig::class;
protected $privilegedAdmissionConfigDataType = '';
protected $workloadPolicyConfigType = WorkloadPolicyConfig::class;
protected $workloadPolicyConfigDataType = '';
/**
* ClusterPolicyConfig denotes cluster level policies that are enforced for
* the cluster.
*
* @param ClusterPolicyConfig $clusterPolicyConfig
*/
public function setClusterPolicyConfig(ClusterPolicyConfig $clusterPolicyConfig)
{
$this->clusterPolicyConfig = $clusterPolicyConfig;
}
/**
* @return ClusterPolicyConfig
*/
public function getClusterPolicyConfig()
{
return $this->clusterPolicyConfig;
}
/**
* Enable Autopilot
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* PrivilegedAdmissionConfig is the configuration related to privileged
* admission control.
*
* @param PrivilegedAdmissionConfig $privilegedAdmissionConfig
*/
public function setPrivilegedAdmissionConfig(PrivilegedAdmissionConfig $privilegedAdmissionConfig)
{
$this->privilegedAdmissionConfig = $privilegedAdmissionConfig;
}
/**
* @return PrivilegedAdmissionConfig
*/
public function getPrivilegedAdmissionConfig()
{
return $this->privilegedAdmissionConfig;
}
/**
* WorkloadPolicyConfig is the configuration related to GCW workload policy
*
* @param WorkloadPolicyConfig $workloadPolicyConfig
*/
public function setWorkloadPolicyConfig(WorkloadPolicyConfig $workloadPolicyConfig)
{
$this->workloadPolicyConfig = $workloadPolicyConfig;
}
/**
* @return WorkloadPolicyConfig
*/
public function getWorkloadPolicyConfig()
{
return $this->workloadPolicyConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Autopilot::class, 'Google_Service_Container_Autopilot');
@@ -0,0 +1,182 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class AutopilotCompatibilityIssue extends \Google\Collection
{
/**
* Default value, should not be used.
*/
public const INCOMPATIBILITY_TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Indicates that the issue is a known incompatibility between the cluster and
* Autopilot mode.
*/
public const INCOMPATIBILITY_TYPE_INCOMPATIBILITY = 'INCOMPATIBILITY';
/**
* Indicates the issue is an incompatibility if customers take no further
* action to resolve.
*/
public const INCOMPATIBILITY_TYPE_ADDITIONAL_CONFIG_REQUIRED = 'ADDITIONAL_CONFIG_REQUIRED';
/**
* Indicates the issue is not an incompatibility, but depending on the
* workloads business logic, there is a potential that they won't work on
* Autopilot.
*/
public const INCOMPATIBILITY_TYPE_PASSED_WITH_OPTIONAL_CONFIG = 'PASSED_WITH_OPTIONAL_CONFIG';
protected $collection_key = 'subjects';
/**
* The constraint type of the issue.
*
* @var string
*/
public $constraintType;
/**
* The description of the issue.
*
* @var string
*/
public $description;
/**
* A URL to a public documentation, which addresses resolving this issue.
*
* @var string
*/
public $documentationUrl;
/**
* The incompatibility type of this issue.
*
* @var string
*/
public $incompatibilityType;
/**
* The last time when this issue was observed.
*
* @var string
*/
public $lastObservation;
/**
* The name of the resources which are subject to this issue.
*
* @var string[]
*/
public $subjects;
/**
* The constraint type of the issue.
*
* @param string $constraintType
*/
public function setConstraintType($constraintType)
{
$this->constraintType = $constraintType;
}
/**
* @return string
*/
public function getConstraintType()
{
return $this->constraintType;
}
/**
* The description of the issue.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* A URL to a public documentation, which addresses resolving this issue.
*
* @param string $documentationUrl
*/
public function setDocumentationUrl($documentationUrl)
{
$this->documentationUrl = $documentationUrl;
}
/**
* @return string
*/
public function getDocumentationUrl()
{
return $this->documentationUrl;
}
/**
* The incompatibility type of this issue.
*
* Accepted values: UNSPECIFIED, INCOMPATIBILITY, ADDITIONAL_CONFIG_REQUIRED,
* PASSED_WITH_OPTIONAL_CONFIG
*
* @param self::INCOMPATIBILITY_TYPE_* $incompatibilityType
*/
public function setIncompatibilityType($incompatibilityType)
{
$this->incompatibilityType = $incompatibilityType;
}
/**
* @return self::INCOMPATIBILITY_TYPE_*
*/
public function getIncompatibilityType()
{
return $this->incompatibilityType;
}
/**
* The last time when this issue was observed.
*
* @param string $lastObservation
*/
public function setLastObservation($lastObservation)
{
$this->lastObservation = $lastObservation;
}
/**
* @return string
*/
public function getLastObservation()
{
return $this->lastObservation;
}
/**
* The name of the resources which are subject to this issue.
*
* @param string[] $subjects
*/
public function setSubjects($subjects)
{
$this->subjects = $subjects;
}
/**
* @return string[]
*/
public function getSubjects()
{
return $this->subjects;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutopilotCompatibilityIssue::class, 'Google_Service_Container_AutopilotCompatibilityIssue');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class AutopilotConfig extends \Google\Model
{
/**
* Denotes that nodes belonging to this node pool are Autopilot nodes.
*
* @var bool
*/
public $enabled;
/**
* Denotes that nodes belonging to this node pool are Autopilot nodes.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutopilotConfig::class, 'Google_Service_Container_AutopilotConfig');
@@ -0,0 +1,294 @@
<?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\Container;
class AutoprovisioningNodePoolDefaults extends \Google\Collection
{
protected $collection_key = 'oauthScopes';
/**
* The Customer Managed Encryption Key used to encrypt the boot disk attached
* to each node in the node pool. This should be of the form projects/[KEY_PRO
* JECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
* For more information about protecting resources with Cloud KMS Keys please
* see: https://cloud.google.com/compute/docs/disks/customer-managed-
* encryption
*
* @var string
*/
public $bootDiskKmsKey;
/**
* Size of the disk attached to each node, specified in GB. The smallest
* allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
*
* @var int
*/
public $diskSizeGb;
/**
* Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
* 'pd-balanced') If unspecified, the default disk type is 'pd-standard'
*
* @var string
*/
public $diskType;
/**
* The image type to use for NAP created node. Please see
* https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
* available image types.
*
* @var string
*/
public $imageType;
/**
* DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
*
* @var bool
*/
public $insecureKubeletReadonlyPortEnabled;
protected $managementType = NodeManagement::class;
protected $managementDataType = '';
/**
* Deprecated. Minimum CPU platform to be used for NAP created node pools. The
* instance may be scheduled on the specified or newer CPU platform.
* Applicable values are the friendly names of CPU platforms, such as
* minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For
* more information, read [how to specify min CPU
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
* platform). This field is deprecated, min_cpu_platform should be specified
* using `cloud.google.com/requested-min-cpu-platform` label selector on the
* pod. To unset the min cpu platform field pass "automatic" as field value.
*
* @deprecated
* @var string
*/
public $minCpuPlatform;
/**
* Scopes that are used by NAP when creating node pools.
*
* @var string[]
*/
public $oauthScopes;
/**
* The Google Cloud Platform Service Account to be used by the node VMs.
*
* @var string
*/
public $serviceAccount;
protected $shieldedInstanceConfigType = ShieldedInstanceConfig::class;
protected $shieldedInstanceConfigDataType = '';
protected $upgradeSettingsType = UpgradeSettings::class;
protected $upgradeSettingsDataType = '';
/**
* The Customer Managed Encryption Key used to encrypt the boot disk attached
* to each node in the node pool. This should be of the form projects/[KEY_PRO
* JECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
* For more information about protecting resources with Cloud KMS Keys please
* see: https://cloud.google.com/compute/docs/disks/customer-managed-
* encryption
*
* @param string $bootDiskKmsKey
*/
public function setBootDiskKmsKey($bootDiskKmsKey)
{
$this->bootDiskKmsKey = $bootDiskKmsKey;
}
/**
* @return string
*/
public function getBootDiskKmsKey()
{
return $this->bootDiskKmsKey;
}
/**
* Size of the disk attached to each node, specified in GB. The smallest
* allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
*
* @param int $diskSizeGb
*/
public function setDiskSizeGb($diskSizeGb)
{
$this->diskSizeGb = $diskSizeGb;
}
/**
* @return int
*/
public function getDiskSizeGb()
{
return $this->diskSizeGb;
}
/**
* Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
* 'pd-balanced') If unspecified, the default disk type is 'pd-standard'
*
* @param string $diskType
*/
public function setDiskType($diskType)
{
$this->diskType = $diskType;
}
/**
* @return string
*/
public function getDiskType()
{
return $this->diskType;
}
/**
* The image type to use for NAP created node. Please see
* https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
* available image types.
*
* @param string $imageType
*/
public function setImageType($imageType)
{
$this->imageType = $imageType;
}
/**
* @return string
*/
public function getImageType()
{
return $this->imageType;
}
/**
* DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
*
* @param bool $insecureKubeletReadonlyPortEnabled
*/
public function setInsecureKubeletReadonlyPortEnabled($insecureKubeletReadonlyPortEnabled)
{
$this->insecureKubeletReadonlyPortEnabled = $insecureKubeletReadonlyPortEnabled;
}
/**
* @return bool
*/
public function getInsecureKubeletReadonlyPortEnabled()
{
return $this->insecureKubeletReadonlyPortEnabled;
}
/**
* Specifies the node management options for NAP created node-pools.
*
* @param NodeManagement $management
*/
public function setManagement(NodeManagement $management)
{
$this->management = $management;
}
/**
* @return NodeManagement
*/
public function getManagement()
{
return $this->management;
}
/**
* Deprecated. Minimum CPU platform to be used for NAP created node pools. The
* instance may be scheduled on the specified or newer CPU platform.
* Applicable values are the friendly names of CPU platforms, such as
* minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For
* more information, read [how to specify min CPU
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
* platform). This field is deprecated, min_cpu_platform should be specified
* using `cloud.google.com/requested-min-cpu-platform` label selector on the
* pod. To unset the min cpu platform field pass "automatic" as field value.
*
* @deprecated
* @param string $minCpuPlatform
*/
public function setMinCpuPlatform($minCpuPlatform)
{
$this->minCpuPlatform = $minCpuPlatform;
}
/**
* @deprecated
* @return string
*/
public function getMinCpuPlatform()
{
return $this->minCpuPlatform;
}
/**
* Scopes that are used by NAP when creating node pools.
*
* @param string[] $oauthScopes
*/
public function setOauthScopes($oauthScopes)
{
$this->oauthScopes = $oauthScopes;
}
/**
* @return string[]
*/
public function getOauthScopes()
{
return $this->oauthScopes;
}
/**
* The Google Cloud Platform Service Account to be used by the node VMs.
*
* @param string $serviceAccount
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* Shielded Instance options.
*
* @param ShieldedInstanceConfig $shieldedInstanceConfig
*/
public function setShieldedInstanceConfig(ShieldedInstanceConfig $shieldedInstanceConfig)
{
$this->shieldedInstanceConfig = $shieldedInstanceConfig;
}
/**
* @return ShieldedInstanceConfig
*/
public function getShieldedInstanceConfig()
{
return $this->shieldedInstanceConfig;
}
/**
* Specifies the upgrade settings for NAP created node pools
*
* @param UpgradeSettings $upgradeSettings
*/
public function setUpgradeSettings(UpgradeSettings $upgradeSettings)
{
$this->upgradeSettings = $upgradeSettings;
}
/**
* @return UpgradeSettings
*/
public function getUpgradeSettings()
{
return $this->upgradeSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoprovisioningNodePoolDefaults::class, 'Google_Service_Container_AutoprovisioningNodePoolDefaults');
@@ -0,0 +1,52 @@
<?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\Container;
class AutoscaledRolloutPolicy extends \Google\Model
{
/**
* Optional. Time to wait after cordoning the blue pool before draining the
* nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
* inclusive.
*
* @var string
*/
public $waitForDrainDuration;
/**
* Optional. Time to wait after cordoning the blue pool before draining the
* nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
* inclusive.
*
* @param string $waitForDrainDuration
*/
public function setWaitForDrainDuration($waitForDrainDuration)
{
$this->waitForDrainDuration = $waitForDrainDuration;
}
/**
* @return string
*/
public function getWaitForDrainDuration()
{
return $this->waitForDrainDuration;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscaledRolloutPolicy::class, 'Google_Service_Container_AutoscaledRolloutPolicy');
@@ -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\Container;
class BestEffortProvisioning extends \Google\Model
{
/**
* When this is enabled, cluster/node pool creations will ignore non-fatal
* errors like stockout to best provision as many nodes as possible right now
* and eventually bring up all target number of nodes
*
* @var bool
*/
public $enabled;
/**
* Minimum number of nodes to be provisioned to be considered as succeeded,
* and the rest of nodes will be provisioned gradually and eventually when
* stockout issue has been resolved.
*
* @var int
*/
public $minProvisionNodes;
/**
* When this is enabled, cluster/node pool creations will ignore non-fatal
* errors like stockout to best provision as many nodes as possible right now
* and eventually bring up all target number of nodes
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* Minimum number of nodes to be provisioned to be considered as succeeded,
* and the rest of nodes will be provisioned gradually and eventually when
* stockout issue has been resolved.
*
* @param int $minProvisionNodes
*/
public function setMinProvisionNodes($minProvisionNodes)
{
$this->minProvisionNodes = $minProvisionNodes;
}
/**
* @return int
*/
public function getMinProvisionNodes()
{
return $this->minProvisionNodes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BestEffortProvisioning::class, 'Google_Service_Container_BestEffortProvisioning');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class BigQueryDestination extends \Google\Model
{
/**
* The ID of a BigQuery Dataset.
*
* @var string
*/
public $datasetId;
/**
* The ID of a BigQuery Dataset.
*
* @param string $datasetId
*/
public function setDatasetId($datasetId)
{
$this->datasetId = $datasetId;
}
/**
* @return string
*/
public function getDatasetId()
{
return $this->datasetId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BigQueryDestination::class, 'Google_Service_Container_BigQueryDestination');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class BinaryAuthorization extends \Google\Model
{
/**
* Default value
*/
public const EVALUATION_MODE_EVALUATION_MODE_UNSPECIFIED = 'EVALUATION_MODE_UNSPECIFIED';
/**
* Disable BinaryAuthorization
*/
public const EVALUATION_MODE_DISABLED = 'DISABLED';
/**
* Enforce Kubernetes admission requests with BinaryAuthorization using the
* project's singleton policy. This is equivalent to setting the enabled
* boolean to true.
*/
public const EVALUATION_MODE_PROJECT_SINGLETON_POLICY_ENFORCE = 'PROJECT_SINGLETON_POLICY_ENFORCE';
/**
* This field is deprecated. Leave this unset and instead configure
* BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
* anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
*
* @deprecated
* @var bool
*/
public $enabled;
/**
* Mode of operation for binauthz policy evaluation. If unspecified, defaults
* to DISABLED.
*
* @var string
*/
public $evaluationMode;
/**
* This field is deprecated. Leave this unset and instead configure
* BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
* anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
*
* @deprecated
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @deprecated
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* Mode of operation for binauthz policy evaluation. If unspecified, defaults
* to DISABLED.
*
* Accepted values: EVALUATION_MODE_UNSPECIFIED, DISABLED,
* PROJECT_SINGLETON_POLICY_ENFORCE
*
* @param self::EVALUATION_MODE_* $evaluationMode
*/
public function setEvaluationMode($evaluationMode)
{
$this->evaluationMode = $evaluationMode;
}
/**
* @return self::EVALUATION_MODE_*
*/
public function getEvaluationMode()
{
return $this->evaluationMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BinaryAuthorization::class, 'Google_Service_Container_BinaryAuthorization');
@@ -0,0 +1,179 @@
<?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\Container;
class BlueGreenInfo extends \Google\Collection
{
/**
* Unspecified phase.
*/
public const PHASE_PHASE_UNSPECIFIED = 'PHASE_UNSPECIFIED';
/**
* blue-green upgrade has been initiated.
*/
public const PHASE_UPDATE_STARTED = 'UPDATE_STARTED';
/**
* Start creating green pool nodes.
*/
public const PHASE_CREATING_GREEN_POOL = 'CREATING_GREEN_POOL';
/**
* Start cordoning blue pool nodes.
*/
public const PHASE_CORDONING_BLUE_POOL = 'CORDONING_BLUE_POOL';
/**
* Start draining blue pool nodes.
*/
public const PHASE_DRAINING_BLUE_POOL = 'DRAINING_BLUE_POOL';
/**
* Start soaking time after draining entire blue pool.
*/
public const PHASE_NODE_POOL_SOAKING = 'NODE_POOL_SOAKING';
/**
* Start deleting blue nodes.
*/
public const PHASE_DELETING_BLUE_POOL = 'DELETING_BLUE_POOL';
/**
* Rollback has been initiated.
*/
public const PHASE_ROLLBACK_STARTED = 'ROLLBACK_STARTED';
protected $collection_key = 'greenInstanceGroupUrls';
/**
* The resource URLs of the [managed instance groups] (/compute/docs/instance-
* groups/creating-groups-of-managed-instances) associated with blue pool.
*
* @var string[]
*/
public $blueInstanceGroupUrls;
/**
* Time to start deleting blue pool to complete blue-green upgrade, in
* [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
*
* @var string
*/
public $bluePoolDeletionStartTime;
/**
* The resource URLs of the [managed instance groups] (/compute/docs/instance-
* groups/creating-groups-of-managed-instances) associated with green pool.
*
* @var string[]
*/
public $greenInstanceGroupUrls;
/**
* Version of green pool.
*
* @var string
*/
public $greenPoolVersion;
/**
* Current blue-green upgrade phase.
*
* @var string
*/
public $phase;
/**
* The resource URLs of the [managed instance groups] (/compute/docs/instance-
* groups/creating-groups-of-managed-instances) associated with blue pool.
*
* @param string[] $blueInstanceGroupUrls
*/
public function setBlueInstanceGroupUrls($blueInstanceGroupUrls)
{
$this->blueInstanceGroupUrls = $blueInstanceGroupUrls;
}
/**
* @return string[]
*/
public function getBlueInstanceGroupUrls()
{
return $this->blueInstanceGroupUrls;
}
/**
* Time to start deleting blue pool to complete blue-green upgrade, in
* [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
*
* @param string $bluePoolDeletionStartTime
*/
public function setBluePoolDeletionStartTime($bluePoolDeletionStartTime)
{
$this->bluePoolDeletionStartTime = $bluePoolDeletionStartTime;
}
/**
* @return string
*/
public function getBluePoolDeletionStartTime()
{
return $this->bluePoolDeletionStartTime;
}
/**
* The resource URLs of the [managed instance groups] (/compute/docs/instance-
* groups/creating-groups-of-managed-instances) associated with green pool.
*
* @param string[] $greenInstanceGroupUrls
*/
public function setGreenInstanceGroupUrls($greenInstanceGroupUrls)
{
$this->greenInstanceGroupUrls = $greenInstanceGroupUrls;
}
/**
* @return string[]
*/
public function getGreenInstanceGroupUrls()
{
return $this->greenInstanceGroupUrls;
}
/**
* Version of green pool.
*
* @param string $greenPoolVersion
*/
public function setGreenPoolVersion($greenPoolVersion)
{
$this->greenPoolVersion = $greenPoolVersion;
}
/**
* @return string
*/
public function getGreenPoolVersion()
{
return $this->greenPoolVersion;
}
/**
* Current blue-green upgrade phase.
*
* Accepted values: PHASE_UNSPECIFIED, UPDATE_STARTED, CREATING_GREEN_POOL,
* CORDONING_BLUE_POOL, DRAINING_BLUE_POOL, NODE_POOL_SOAKING,
* DELETING_BLUE_POOL, ROLLBACK_STARTED
*
* @param self::PHASE_* $phase
*/
public function setPhase($phase)
{
$this->phase = $phase;
}
/**
* @return self::PHASE_*
*/
public function getPhase()
{
return $this->phase;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BlueGreenInfo::class, 'Google_Service_Container_BlueGreenInfo');
@@ -0,0 +1,86 @@
<?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\Container;
class BlueGreenSettings extends \Google\Model
{
protected $autoscaledRolloutPolicyType = AutoscaledRolloutPolicy::class;
protected $autoscaledRolloutPolicyDataType = '';
/**
* Time needed after draining entire blue pool. After this period, blue pool
* will be cleaned up.
*
* @var string
*/
public $nodePoolSoakDuration;
protected $standardRolloutPolicyType = StandardRolloutPolicy::class;
protected $standardRolloutPolicyDataType = '';
/**
* Autoscaled policy for cluster autoscaler enabled blue-green upgrade.
*
* @param AutoscaledRolloutPolicy $autoscaledRolloutPolicy
*/
public function setAutoscaledRolloutPolicy(AutoscaledRolloutPolicy $autoscaledRolloutPolicy)
{
$this->autoscaledRolloutPolicy = $autoscaledRolloutPolicy;
}
/**
* @return AutoscaledRolloutPolicy
*/
public function getAutoscaledRolloutPolicy()
{
return $this->autoscaledRolloutPolicy;
}
/**
* Time needed after draining entire blue pool. After this period, blue pool
* will be cleaned up.
*
* @param string $nodePoolSoakDuration
*/
public function setNodePoolSoakDuration($nodePoolSoakDuration)
{
$this->nodePoolSoakDuration = $nodePoolSoakDuration;
}
/**
* @return string
*/
public function getNodePoolSoakDuration()
{
return $this->nodePoolSoakDuration;
}
/**
* Standard policy for the blue-green upgrade.
*
* @param StandardRolloutPolicy $standardRolloutPolicy
*/
public function setStandardRolloutPolicy(StandardRolloutPolicy $standardRolloutPolicy)
{
$this->standardRolloutPolicy = $standardRolloutPolicy;
}
/**
* @return StandardRolloutPolicy
*/
public function getStandardRolloutPolicy()
{
return $this->standardRolloutPolicy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BlueGreenSettings::class, 'Google_Service_Container_BlueGreenSettings');
@@ -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\Container;
class BootDisk extends \Google\Model
{
/**
* Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)
*
* @var string
*/
public $diskType;
/**
* For Hyperdisk-Balanced only, the provisioned IOPS config value.
*
* @var string
*/
public $provisionedIops;
/**
* For Hyperdisk-Balanced only, the provisioned throughput config value.
*
* @var string
*/
public $provisionedThroughput;
/**
* Disk size in GB. Replaces NodeConfig.disk_size_gb
*
* @var string
*/
public $sizeGb;
/**
* Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)
*
* @param string $diskType
*/
public function setDiskType($diskType)
{
$this->diskType = $diskType;
}
/**
* @return string
*/
public function getDiskType()
{
return $this->diskType;
}
/**
* For Hyperdisk-Balanced only, the provisioned IOPS config value.
*
* @param string $provisionedIops
*/
public function setProvisionedIops($provisionedIops)
{
$this->provisionedIops = $provisionedIops;
}
/**
* @return string
*/
public function getProvisionedIops()
{
return $this->provisionedIops;
}
/**
* For Hyperdisk-Balanced only, the provisioned throughput config value.
*
* @param string $provisionedThroughput
*/
public function setProvisionedThroughput($provisionedThroughput)
{
$this->provisionedThroughput = $provisionedThroughput;
}
/**
* @return string
*/
public function getProvisionedThroughput()
{
return $this->provisionedThroughput;
}
/**
* Disk size in GB. Replaces NodeConfig.disk_size_gb
*
* @param string $sizeGb
*/
public function setSizeGb($sizeGb)
{
$this->sizeGb = $sizeGb;
}
/**
* @return string
*/
public function getSizeGb()
{
return $this->sizeGb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BootDisk::class, 'Google_Service_Container_BootDisk');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class BootDiskProfile extends \Google\Model
{
/**
* Specifies the size of the swap space in gibibytes (GiB).
*
* @var string
*/
public $swapSizeGib;
/**
* Specifies the size of the swap space as a percentage of the boot disk size.
*
* @var int
*/
public $swapSizePercent;
/**
* Specifies the size of the swap space in gibibytes (GiB).
*
* @param string $swapSizeGib
*/
public function setSwapSizeGib($swapSizeGib)
{
$this->swapSizeGib = $swapSizeGib;
}
/**
* @return string
*/
public function getSwapSizeGib()
{
return $this->swapSizeGib;
}
/**
* Specifies the size of the swap space as a percentage of the boot disk size.
*
* @param int $swapSizePercent
*/
public function setSwapSizePercent($swapSizePercent)
{
$this->swapSizePercent = $swapSizePercent;
}
/**
* @return int
*/
public function getSwapSizePercent()
{
return $this->swapSizePercent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BootDiskProfile::class, 'Google_Service_Container_BootDiskProfile');
@@ -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\Container;
class CancelOperationRequest extends \Google\Model
{
/**
* The name (project, location, operation id) of the operation to cancel.
* Specified in the format `projects/locations/operations`.
*
* @var string
*/
public $name;
/**
* Deprecated. The server-assigned `name` of the operation. This field has
* been deprecated and replaced by the name field.
*
* @deprecated
* @var string
*/
public $operationId;
/**
* Deprecated. The Google Developers Console [project ID or project
* number](https://cloud.google.com/resource-manager/docs/creating-managing-
* projects). This field has been deprecated and replaced by the name field.
*
* @deprecated
* @var string
*/
public $projectId;
/**
* Deprecated. The name of the Google Compute Engine
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the
* operation resides. This field has been deprecated and replaced by the name
* field.
*
* @deprecated
* @var string
*/
public $zone;
/**
* The name (project, location, operation id) of the operation to cancel.
* Specified in the format `projects/locations/operations`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Deprecated. The server-assigned `name` of the operation. This field has
* been deprecated and replaced by the name field.
*
* @deprecated
* @param string $operationId
*/
public function setOperationId($operationId)
{
$this->operationId = $operationId;
}
/**
* @deprecated
* @return string
*/
public function getOperationId()
{
return $this->operationId;
}
/**
* Deprecated. The Google Developers Console [project ID or project
* number](https://cloud.google.com/resource-manager/docs/creating-managing-
* projects). This field has been deprecated and replaced by the name field.
*
* @deprecated
* @param string $projectId
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @deprecated
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* Deprecated. The name of the Google Compute Engine
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the
* operation resides. This field has been deprecated and replaced by the name
* field.
*
* @deprecated
* @param string $zone
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @deprecated
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_Container_CancelOperationRequest');
@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class CertificateAuthorityDomainConfig extends \Google\Collection
{
protected $collection_key = 'fqdns';
/**
* List of fully qualified domain names (FQDN). Specifying port is supported.
* Wildcards are NOT supported. Examples: - `my.customdomain.com` -
* `10.0.1.2:5000`
*
* @var string[]
*/
public $fqdns;
protected $gcpSecretManagerCertificateConfigType = GCPSecretManagerCertificateConfig::class;
protected $gcpSecretManagerCertificateConfigDataType = '';
/**
* List of fully qualified domain names (FQDN). Specifying port is supported.
* Wildcards are NOT supported. Examples: - `my.customdomain.com` -
* `10.0.1.2:5000`
*
* @param string[] $fqdns
*/
public function setFqdns($fqdns)
{
$this->fqdns = $fqdns;
}
/**
* @return string[]
*/
public function getFqdns()
{
return $this->fqdns;
}
/**
* Secret Manager certificate configuration.
*
* @param GCPSecretManagerCertificateConfig $gcpSecretManagerCertificateConfig
*/
public function setGcpSecretManagerCertificateConfig(GCPSecretManagerCertificateConfig $gcpSecretManagerCertificateConfig)
{
$this->gcpSecretManagerCertificateConfig = $gcpSecretManagerCertificateConfig;
}
/**
* @return GCPSecretManagerCertificateConfig
*/
public function getGcpSecretManagerCertificateConfig()
{
return $this->gcpSecretManagerCertificateConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CertificateAuthorityDomainConfig::class, 'Google_Service_Container_CertificateAuthorityDomainConfig');
@@ -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\Container;
class CertificateConfig extends \Google\Model
{
/**
* The URI configures a secret from [Secret
* Manager](https://cloud.google.com/secret-manager) in the format
* "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION" for global
* secret or "projects/$PROJECT_ID/locations/$REGION/secrets/$SECRET_NAME/vers
* ions/$VERSION" for regional secret. Version can be fixed (e.g. "2") or
* "latest"
*
* @var string
*/
public $gcpSecretManagerSecretUri;
/**
* The URI configures a secret from [Secret
* Manager](https://cloud.google.com/secret-manager) in the format
* "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION" for global
* secret or "projects/$PROJECT_ID/locations/$REGION/secrets/$SECRET_NAME/vers
* ions/$VERSION" for regional secret. Version can be fixed (e.g. "2") or
* "latest"
*
* @param string $gcpSecretManagerSecretUri
*/
public function setGcpSecretManagerSecretUri($gcpSecretManagerSecretUri)
{
$this->gcpSecretManagerSecretUri = $gcpSecretManagerSecretUri;
}
/**
* @return string
*/
public function getGcpSecretManagerSecretUri()
{
return $this->gcpSecretManagerSecretUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CertificateConfig::class, 'Google_Service_Container_CertificateConfig');
@@ -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\Container;
class CertificateConfigPair extends \Google\Model
{
protected $certType = CertificateConfig::class;
protected $certDataType = '';
protected $keyType = CertificateConfig::class;
protected $keyDataType = '';
/**
* Cert configures the client certificate.
*
* @param CertificateConfig $cert
*/
public function setCert(CertificateConfig $cert)
{
$this->cert = $cert;
}
/**
* @return CertificateConfig
*/
public function getCert()
{
return $this->cert;
}
/**
* Key configures the client private key. Optional.
*
* @param CertificateConfig $key
*/
public function setKey(CertificateConfig $key)
{
$this->key = $key;
}
/**
* @return CertificateConfig
*/
public function getKey()
{
return $this->key;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CertificateConfigPair::class, 'Google_Service_Container_CertificateConfigPair');
@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class CheckAutopilotCompatibilityResponse extends \Google\Collection
{
protected $collection_key = 'issues';
protected $issuesType = AutopilotCompatibilityIssue::class;
protected $issuesDataType = 'array';
/**
* The summary of the autopilot compatibility response.
*
* @var string
*/
public $summary;
/**
* The list of issues for the given operation.
*
* @param AutopilotCompatibilityIssue[] $issues
*/
public function setIssues($issues)
{
$this->issues = $issues;
}
/**
* @return AutopilotCompatibilityIssue[]
*/
public function getIssues()
{
return $this->issues;
}
/**
* The summary of the autopilot compatibility response.
*
* @param string $summary
*/
public function setSummary($summary)
{
$this->summary = $summary;
}
/**
* @return string
*/
public function getSummary()
{
return $this->summary;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckAutopilotCompatibilityResponse::class, 'Google_Service_Container_CheckAutopilotCompatibilityResponse');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class CidrBlock extends \Google\Model
{
/**
* cidr_block must be specified in CIDR notation.
*
* @var string
*/
public $cidrBlock;
/**
* display_name is an optional field for users to identify CIDR blocks.
*
* @var string
*/
public $displayName;
/**
* cidr_block must be specified in CIDR notation.
*
* @param string $cidrBlock
*/
public function setCidrBlock($cidrBlock)
{
$this->cidrBlock = $cidrBlock;
}
/**
* @return string
*/
public function getCidrBlock()
{
return $this->cidrBlock;
}
/**
* display_name is an optional field for users to identify CIDR blocks.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CidrBlock::class, 'Google_Service_Container_CidrBlock');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class ClientCertificateConfig extends \Google\Model
{
/**
* Issue a client certificate.
*
* @var bool
*/
public $issueClientCertificate;
/**
* Issue a client certificate.
*
* @param bool $issueClientCertificate
*/
public function setIssueClientCertificate($issueClientCertificate)
{
$this->issueClientCertificate = $issueClientCertificate;
}
/**
* @return bool
*/
public function getIssueClientCertificate()
{
return $this->issueClientCertificate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClientCertificateConfig::class, 'Google_Service_Container_ClientCertificateConfig');
@@ -0,0 +1,85 @@
<?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\Container;
class CloudRunConfig extends \Google\Model
{
/**
* Load balancer type for Cloud Run is unspecified.
*/
public const LOAD_BALANCER_TYPE_LOAD_BALANCER_TYPE_UNSPECIFIED = 'LOAD_BALANCER_TYPE_UNSPECIFIED';
/**
* Install external load balancer for Cloud Run.
*/
public const LOAD_BALANCER_TYPE_LOAD_BALANCER_TYPE_EXTERNAL = 'LOAD_BALANCER_TYPE_EXTERNAL';
/**
* Install internal load balancer for Cloud Run.
*/
public const LOAD_BALANCER_TYPE_LOAD_BALANCER_TYPE_INTERNAL = 'LOAD_BALANCER_TYPE_INTERNAL';
/**
* Whether Cloud Run addon is enabled for this cluster.
*
* @var bool
*/
public $disabled;
/**
* Which load balancer type is installed for Cloud Run.
*
* @var string
*/
public $loadBalancerType;
/**
* Whether Cloud Run addon is enabled for this cluster.
*
* @param bool $disabled
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* Which load balancer type is installed for Cloud Run.
*
* Accepted values: LOAD_BALANCER_TYPE_UNSPECIFIED,
* LOAD_BALANCER_TYPE_EXTERNAL, LOAD_BALANCER_TYPE_INTERNAL
*
* @param self::LOAD_BALANCER_TYPE_* $loadBalancerType
*/
public function setLoadBalancerType($loadBalancerType)
{
$this->loadBalancerType = $loadBalancerType;
}
/**
* @return self::LOAD_BALANCER_TYPE_*
*/
public function getLoadBalancerType()
{
return $this->loadBalancerType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudRunConfig::class, 'Google_Service_Container_CloudRunConfig');
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,206 @@
<?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\Container;
class ClusterAutoscaling extends \Google\Collection
{
/**
* Use default configuration.
*/
public const AUTOPILOT_GENERAL_PROFILE_AUTOPILOT_GENERAL_PROFILE_UNSPECIFIED = 'AUTOPILOT_GENERAL_PROFILE_UNSPECIFIED';
/**
* Avoid extra IP consumption.
*/
public const AUTOPILOT_GENERAL_PROFILE_NO_PERFORMANCE = 'NO_PERFORMANCE';
/**
* Use default configuration.
*/
public const AUTOPILOT_GENERAL_PROFILE_NONE = 'NONE';
/**
* No change to autoscaling configuration.
*/
public const AUTOSCALING_PROFILE_PROFILE_UNSPECIFIED = 'PROFILE_UNSPECIFIED';
/**
* Prioritize optimizing utilization of resources.
*/
public const AUTOSCALING_PROFILE_OPTIMIZE_UTILIZATION = 'OPTIMIZE_UTILIZATION';
/**
* Use default (balanced) autoscaling configuration.
*/
public const AUTOSCALING_PROFILE_BALANCED = 'BALANCED';
protected $collection_key = 'resourceLimits';
/**
* Autopilot general profile for the cluster, which defines the configuration
* for the cluster.
*
* @var string
*/
public $autopilotGeneralProfile;
/**
* The list of Google Compute Engine
* [zones](https://cloud.google.com/compute/docs/zones#available) in which the
* NodePool's nodes can be created by NAP.
*
* @var string[]
*/
public $autoprovisioningLocations;
protected $autoprovisioningNodePoolDefaultsType = AutoprovisioningNodePoolDefaults::class;
protected $autoprovisioningNodePoolDefaultsDataType = '';
/**
* Defines autoscaling behaviour.
*
* @var string
*/
public $autoscalingProfile;
protected $defaultComputeClassConfigType = DefaultComputeClassConfig::class;
protected $defaultComputeClassConfigDataType = '';
/**
* Enables automatic node pool creation and deletion.
*
* @var bool
*/
public $enableNodeAutoprovisioning;
protected $resourceLimitsType = ResourceLimit::class;
protected $resourceLimitsDataType = 'array';
/**
* Autopilot general profile for the cluster, which defines the configuration
* for the cluster.
*
* Accepted values: AUTOPILOT_GENERAL_PROFILE_UNSPECIFIED, NO_PERFORMANCE,
* NONE
*
* @param self::AUTOPILOT_GENERAL_PROFILE_* $autopilotGeneralProfile
*/
public function setAutopilotGeneralProfile($autopilotGeneralProfile)
{
$this->autopilotGeneralProfile = $autopilotGeneralProfile;
}
/**
* @return self::AUTOPILOT_GENERAL_PROFILE_*
*/
public function getAutopilotGeneralProfile()
{
return $this->autopilotGeneralProfile;
}
/**
* The list of Google Compute Engine
* [zones](https://cloud.google.com/compute/docs/zones#available) in which the
* NodePool's nodes can be created by NAP.
*
* @param string[] $autoprovisioningLocations
*/
public function setAutoprovisioningLocations($autoprovisioningLocations)
{
$this->autoprovisioningLocations = $autoprovisioningLocations;
}
/**
* @return string[]
*/
public function getAutoprovisioningLocations()
{
return $this->autoprovisioningLocations;
}
/**
* AutoprovisioningNodePoolDefaults contains defaults for a node pool created
* by NAP.
*
* @param AutoprovisioningNodePoolDefaults $autoprovisioningNodePoolDefaults
*/
public function setAutoprovisioningNodePoolDefaults(AutoprovisioningNodePoolDefaults $autoprovisioningNodePoolDefaults)
{
$this->autoprovisioningNodePoolDefaults = $autoprovisioningNodePoolDefaults;
}
/**
* @return AutoprovisioningNodePoolDefaults
*/
public function getAutoprovisioningNodePoolDefaults()
{
return $this->autoprovisioningNodePoolDefaults;
}
/**
* Defines autoscaling behaviour.
*
* Accepted values: PROFILE_UNSPECIFIED, OPTIMIZE_UTILIZATION, BALANCED
*
* @param self::AUTOSCALING_PROFILE_* $autoscalingProfile
*/
public function setAutoscalingProfile($autoscalingProfile)
{
$this->autoscalingProfile = $autoscalingProfile;
}
/**
* @return self::AUTOSCALING_PROFILE_*
*/
public function getAutoscalingProfile()
{
return $this->autoscalingProfile;
}
/**
* Default compute class is a configuration for default compute class.
*
* @param DefaultComputeClassConfig $defaultComputeClassConfig
*/
public function setDefaultComputeClassConfig(DefaultComputeClassConfig $defaultComputeClassConfig)
{
$this->defaultComputeClassConfig = $defaultComputeClassConfig;
}
/**
* @return DefaultComputeClassConfig
*/
public function getDefaultComputeClassConfig()
{
return $this->defaultComputeClassConfig;
}
/**
* Enables automatic node pool creation and deletion.
*
* @param bool $enableNodeAutoprovisioning
*/
public function setEnableNodeAutoprovisioning($enableNodeAutoprovisioning)
{
$this->enableNodeAutoprovisioning = $enableNodeAutoprovisioning;
}
/**
* @return bool
*/
public function getEnableNodeAutoprovisioning()
{
return $this->enableNodeAutoprovisioning;
}
/**
* Contains global constraints regarding minimum and maximum amount of
* resources in the cluster.
*
* @param ResourceLimit[] $resourceLimits
*/
public function setResourceLimits($resourceLimits)
{
$this->resourceLimits = $resourceLimits;
}
/**
* @return ResourceLimit[]
*/
public function getResourceLimits()
{
return $this->resourceLimits;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterAutoscaling::class, 'Google_Service_Container_ClusterAutoscaling');
@@ -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\Container;
class ClusterNetworkPerformanceConfig extends \Google\Model
{
/**
* Default value
*/
public const TOTAL_EGRESS_BANDWIDTH_TIER_TIER_UNSPECIFIED = 'TIER_UNSPECIFIED';
/**
* Higher bandwidth, actual values based on VM size.
*/
public const TOTAL_EGRESS_BANDWIDTH_TIER_TIER_1 = 'TIER_1';
/**
* Specifies the total network bandwidth tier for NodePools in the cluster.
*
* @var string
*/
public $totalEgressBandwidthTier;
/**
* Specifies the total network bandwidth tier for NodePools in the cluster.
*
* Accepted values: TIER_UNSPECIFIED, TIER_1
*
* @param self::TOTAL_EGRESS_BANDWIDTH_TIER_* $totalEgressBandwidthTier
*/
public function setTotalEgressBandwidthTier($totalEgressBandwidthTier)
{
$this->totalEgressBandwidthTier = $totalEgressBandwidthTier;
}
/**
* @return self::TOTAL_EGRESS_BANDWIDTH_TIER_*
*/
public function getTotalEgressBandwidthTier()
{
return $this->totalEgressBandwidthTier;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterNetworkPerformanceConfig::class, 'Google_Service_Container_ClusterNetworkPerformanceConfig');
@@ -0,0 +1,118 @@
<?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\Container;
class ClusterPolicyConfig extends \Google\Model
{
/**
* Denotes preventing standard node pools and requiring only autopilot node
* pools.
*
* @var bool
*/
public $noStandardNodePools;
/**
* Denotes preventing impersonation and CSRs for GKE System users.
*
* @var bool
*/
public $noSystemImpersonation;
/**
* Denotes that preventing creation and mutation of resources in GKE managed
* namespaces and cluster-scoped GKE managed resources .
*
* @var bool
*/
public $noSystemMutation;
/**
* Denotes preventing unsafe webhooks.
*
* @var bool
*/
public $noUnsafeWebhooks;
/**
* Denotes preventing standard node pools and requiring only autopilot node
* pools.
*
* @param bool $noStandardNodePools
*/
public function setNoStandardNodePools($noStandardNodePools)
{
$this->noStandardNodePools = $noStandardNodePools;
}
/**
* @return bool
*/
public function getNoStandardNodePools()
{
return $this->noStandardNodePools;
}
/**
* Denotes preventing impersonation and CSRs for GKE System users.
*
* @param bool $noSystemImpersonation
*/
public function setNoSystemImpersonation($noSystemImpersonation)
{
$this->noSystemImpersonation = $noSystemImpersonation;
}
/**
* @return bool
*/
public function getNoSystemImpersonation()
{
return $this->noSystemImpersonation;
}
/**
* Denotes that preventing creation and mutation of resources in GKE managed
* namespaces and cluster-scoped GKE managed resources .
*
* @param bool $noSystemMutation
*/
public function setNoSystemMutation($noSystemMutation)
{
$this->noSystemMutation = $noSystemMutation;
}
/**
* @return bool
*/
public function getNoSystemMutation()
{
return $this->noSystemMutation;
}
/**
* Denotes preventing unsafe webhooks.
*
* @param bool $noUnsafeWebhooks
*/
public function setNoUnsafeWebhooks($noUnsafeWebhooks)
{
$this->noUnsafeWebhooks = $noUnsafeWebhooks;
}
/**
* @return bool
*/
public function getNoUnsafeWebhooks()
{
return $this->noUnsafeWebhooks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterPolicyConfig::class, 'Google_Service_Container_ClusterPolicyConfig');
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,177 @@
<?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\Container;
class ClusterUpgradeInfo extends \Google\Collection
{
protected $collection_key = 'upgradeDetails';
/**
* The auto upgrade status.
*
* @var string[]
*/
public $autoUpgradeStatus;
/**
* The cluster's current minor version's end of extended support timestamp.
*
* @var string
*/
public $endOfExtendedSupportTimestamp;
/**
* The cluster's current minor version's end of standard support timestamp.
*
* @var string
*/
public $endOfStandardSupportTimestamp;
/**
* minor_target_version indicates the target version for minor upgrade.
*
* @var string
*/
public $minorTargetVersion;
/**
* patch_target_version indicates the target version for patch upgrade.
*
* @var string
*/
public $patchTargetVersion;
/**
* The auto upgrade paused reason.
*
* @var string[]
*/
public $pausedReason;
protected $upgradeDetailsType = UpgradeDetails::class;
protected $upgradeDetailsDataType = 'array';
/**
* The auto upgrade status.
*
* @param string[] $autoUpgradeStatus
*/
public function setAutoUpgradeStatus($autoUpgradeStatus)
{
$this->autoUpgradeStatus = $autoUpgradeStatus;
}
/**
* @return string[]
*/
public function getAutoUpgradeStatus()
{
return $this->autoUpgradeStatus;
}
/**
* The cluster's current minor version's end of extended support timestamp.
*
* @param string $endOfExtendedSupportTimestamp
*/
public function setEndOfExtendedSupportTimestamp($endOfExtendedSupportTimestamp)
{
$this->endOfExtendedSupportTimestamp = $endOfExtendedSupportTimestamp;
}
/**
* @return string
*/
public function getEndOfExtendedSupportTimestamp()
{
return $this->endOfExtendedSupportTimestamp;
}
/**
* The cluster's current minor version's end of standard support timestamp.
*
* @param string $endOfStandardSupportTimestamp
*/
public function setEndOfStandardSupportTimestamp($endOfStandardSupportTimestamp)
{
$this->endOfStandardSupportTimestamp = $endOfStandardSupportTimestamp;
}
/**
* @return string
*/
public function getEndOfStandardSupportTimestamp()
{
return $this->endOfStandardSupportTimestamp;
}
/**
* minor_target_version indicates the target version for minor upgrade.
*
* @param string $minorTargetVersion
*/
public function setMinorTargetVersion($minorTargetVersion)
{
$this->minorTargetVersion = $minorTargetVersion;
}
/**
* @return string
*/
public function getMinorTargetVersion()
{
return $this->minorTargetVersion;
}
/**
* patch_target_version indicates the target version for patch upgrade.
*
* @param string $patchTargetVersion
*/
public function setPatchTargetVersion($patchTargetVersion)
{
$this->patchTargetVersion = $patchTargetVersion;
}
/**
* @return string
*/
public function getPatchTargetVersion()
{
return $this->patchTargetVersion;
}
/**
* The auto upgrade paused reason.
*
* @param string[] $pausedReason
*/
public function setPausedReason($pausedReason)
{
$this->pausedReason = $pausedReason;
}
/**
* @return string[]
*/
public function getPausedReason()
{
return $this->pausedReason;
}
/**
* The list of past auto upgrades.
*
* @param UpgradeDetails[] $upgradeDetails
*/
public function setUpgradeDetails($upgradeDetails)
{
$this->upgradeDetails = $upgradeDetails;
}
/**
* @return UpgradeDetails[]
*/
public function getUpgradeDetails()
{
return $this->upgradeDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterUpgradeInfo::class, 'Google_Service_Container_ClusterUpgradeInfo');
@@ -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\Container;
class CompleteIPRotationRequest extends \Google\Model
{
/**
* Deprecated. The name of the cluster. This field has been deprecated and
* replaced by the name field.
*
* @deprecated
* @var string
*/
public $clusterId;
/**
* The name (project, location, cluster name) of the cluster to complete IP
* rotation. Specified in the format `projects/locations/clusters`.
*
* @var string
*/
public $name;
/**
* Deprecated. The Google Developers Console [project ID or project
* number](https://cloud.google.com/resource-manager/docs/creating-managing-
* projects). This field has been deprecated and replaced by the name field.
*
* @deprecated
* @var string
*/
public $projectId;
/**
* Deprecated. The name of the Google Compute Engine
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the
* cluster resides. This field has been deprecated and replaced by the name
* field.
*
* @deprecated
* @var string
*/
public $zone;
/**
* Deprecated. The name of the cluster. This field has been deprecated and
* replaced by the name field.
*
* @deprecated
* @param string $clusterId
*/
public function setClusterId($clusterId)
{
$this->clusterId = $clusterId;
}
/**
* @deprecated
* @return string
*/
public function getClusterId()
{
return $this->clusterId;
}
/**
* The name (project, location, cluster name) of the cluster to complete IP
* rotation. Specified in the format `projects/locations/clusters`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Deprecated. The Google Developers Console [project ID or project
* number](https://cloud.google.com/resource-manager/docs/creating-managing-
* projects). This field has been deprecated and replaced by the name field.
*
* @deprecated
* @param string $projectId
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @deprecated
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* Deprecated. The name of the Google Compute Engine
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the
* cluster resides. This field has been deprecated and replaced by the name
* field.
*
* @deprecated
* @param string $zone
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @deprecated
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompleteIPRotationRequest::class, 'Google_Service_Container_CompleteIPRotationRequest');
@@ -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\Container;
class CompleteNodePoolUpgradeRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompleteNodePoolUpgradeRequest::class, 'Google_Service_Container_CompleteNodePoolUpgradeRequest');
@@ -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\Container;
class CompliancePostureConfig extends \Google\Collection
{
/**
* Default value not specified.
*/
public const MODE_MODE_UNSPECIFIED = 'MODE_UNSPECIFIED';
/**
* Disables Compliance Posture features on the cluster.
*/
public const MODE_DISABLED = 'DISABLED';
/**
* Enables Compliance Posture features on the cluster.
*/
public const MODE_ENABLED = 'ENABLED';
protected $collection_key = 'complianceStandards';
protected $complianceStandardsType = ComplianceStandard::class;
protected $complianceStandardsDataType = 'array';
/**
* Defines the enablement mode for Compliance Posture.
*
* @var string
*/
public $mode;
/**
* List of enabled compliance standards.
*
* @param ComplianceStandard[] $complianceStandards
*/
public function setComplianceStandards($complianceStandards)
{
$this->complianceStandards = $complianceStandards;
}
/**
* @return ComplianceStandard[]
*/
public function getComplianceStandards()
{
return $this->complianceStandards;
}
/**
* Defines the enablement mode for Compliance Posture.
*
* Accepted values: MODE_UNSPECIFIED, DISABLED, ENABLED
*
* @param self::MODE_* $mode
*/
public function setMode($mode)
{
$this->mode = $mode;
}
/**
* @return self::MODE_*
*/
public function getMode()
{
return $this->mode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompliancePostureConfig::class, 'Google_Service_Container_CompliancePostureConfig');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class ComplianceStandard extends \Google\Model
{
/**
* Name of the compliance standard.
*
* @var string
*/
public $standard;
/**
* Name of the compliance standard.
*
* @param string $standard
*/
public function setStandard($standard)
{
$this->standard = $standard;
}
/**
* @return string
*/
public function getStandard()
{
return $this->standard;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComplianceStandard::class, 'Google_Service_Container_ComplianceStandard');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class ConfidentialNodes extends \Google\Model
{
/**
* No type specified. Do not use this value.
*/
public const CONFIDENTIAL_INSTANCE_TYPE_CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED = 'CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED';
/**
* AMD Secure Encrypted Virtualization.
*/
public const CONFIDENTIAL_INSTANCE_TYPE_SEV = 'SEV';
/**
* AMD Secure Encrypted Virtualization - Secure Nested Paging.
*/
public const CONFIDENTIAL_INSTANCE_TYPE_SEV_SNP = 'SEV_SNP';
/**
* Intel Trust Domain eXtension.
*/
public const CONFIDENTIAL_INSTANCE_TYPE_TDX = 'TDX';
/**
* Defines the type of technology used by the confidential node.
*
* @var string
*/
public $confidentialInstanceType;
/**
* Whether Confidential Nodes feature is enabled.
*
* @var bool
*/
public $enabled;
/**
* Defines the type of technology used by the confidential node.
*
* Accepted values: CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED, SEV, SEV_SNP, TDX
*
* @param self::CONFIDENTIAL_INSTANCE_TYPE_* $confidentialInstanceType
*/
public function setConfidentialInstanceType($confidentialInstanceType)
{
$this->confidentialInstanceType = $confidentialInstanceType;
}
/**
* @return self::CONFIDENTIAL_INSTANCE_TYPE_*
*/
public function getConfidentialInstanceType()
{
return $this->confidentialInstanceType;
}
/**
* Whether Confidential Nodes feature is enabled.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfidentialNodes::class, 'Google_Service_Container_ConfidentialNodes');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class ConfigConnectorConfig extends \Google\Model
{
/**
* Whether Cloud Connector is enabled for this cluster.
*
* @var bool
*/
public $enabled;
/**
* Whether Cloud Connector is enabled for this cluster.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigConnectorConfig::class, 'Google_Service_Container_ConfigConnectorConfig');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class ConsumptionMeteringConfig extends \Google\Model
{
/**
* Whether to enable consumption metering for this cluster. If enabled, a
* second BigQuery table will be created to hold resource consumption records.
*
* @var bool
*/
public $enabled;
/**
* Whether to enable consumption metering for this cluster. If enabled, a
* second BigQuery table will be created to hold resource consumption records.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConsumptionMeteringConfig::class, 'Google_Service_Container_ConsumptionMeteringConfig');
@@ -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\Container;
class ContainerEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContainerEmpty::class, 'Google_Service_Container_ContainerEmpty');
@@ -0,0 +1,85 @@
<?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\Container;
class ContainerdConfig extends \Google\Collection
{
protected $collection_key = 'registryHosts';
protected $privateRegistryAccessConfigType = PrivateRegistryAccessConfig::class;
protected $privateRegistryAccessConfigDataType = '';
protected $registryHostsType = RegistryHostConfig::class;
protected $registryHostsDataType = 'array';
protected $writableCgroupsType = WritableCgroups::class;
protected $writableCgroupsDataType = '';
/**
* PrivateRegistryAccessConfig is used to configure access configuration for
* private container registries.
*
* @param PrivateRegistryAccessConfig $privateRegistryAccessConfig
*/
public function setPrivateRegistryAccessConfig(PrivateRegistryAccessConfig $privateRegistryAccessConfig)
{
$this->privateRegistryAccessConfig = $privateRegistryAccessConfig;
}
/**
* @return PrivateRegistryAccessConfig
*/
public function getPrivateRegistryAccessConfig()
{
return $this->privateRegistryAccessConfig;
}
/**
* RegistryHostConfig configures containerd registry host configuration. Each
* registry_hosts represents a hosts.toml file. At most 25 registry_hosts are
* allowed.
*
* @param RegistryHostConfig[] $registryHosts
*/
public function setRegistryHosts($registryHosts)
{
$this->registryHosts = $registryHosts;
}
/**
* @return RegistryHostConfig[]
*/
public function getRegistryHosts()
{
return $this->registryHosts;
}
/**
* Optional. WritableCgroups defines writable cgroups configuration for the
* node pool.
*
* @param WritableCgroups $writableCgroups
*/
public function setWritableCgroups(WritableCgroups $writableCgroups)
{
$this->writableCgroups = $writableCgroups;
}
/**
* @return WritableCgroups
*/
public function getWritableCgroups()
{
return $this->writableCgroups;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContainerdConfig::class, 'Google_Service_Container_ContainerdConfig');
@@ -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\Container;
class ControlPlaneEgress extends \Google\Model
{
/**
* Default value not specified.
*/
public const MODE_MODE_UNSPECIFIED = 'MODE_UNSPECIFIED';
/**
* Control plane has public IP and no restriction on egress.
*/
public const MODE_VIA_CONTROL_PLANE = 'VIA_CONTROL_PLANE';
/**
* No public IP on control plane and only internal allowlisted egress.
*/
public const MODE_NONE = 'NONE';
/**
* Defines the mode of control plane egress.
*
* @var string
*/
public $mode;
/**
* Defines the mode of control plane egress.
*
* Accepted values: MODE_UNSPECIFIED, VIA_CONTROL_PLANE, NONE
*
* @param self::MODE_* $mode
*/
public function setMode($mode)
{
$this->mode = $mode;
}
/**
* @return self::MODE_*
*/
public function getMode()
{
return $this->mode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ControlPlaneEgress::class, 'Google_Service_Container_ControlPlaneEgress');
@@ -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\Container;
class ControlPlaneEndpointsConfig extends \Google\Model
{
protected $dnsEndpointConfigType = DNSEndpointConfig::class;
protected $dnsEndpointConfigDataType = '';
protected $ipEndpointsConfigType = IPEndpointsConfig::class;
protected $ipEndpointsConfigDataType = '';
/**
* DNS endpoint configuration.
*
* @param DNSEndpointConfig $dnsEndpointConfig
*/
public function setDnsEndpointConfig(DNSEndpointConfig $dnsEndpointConfig)
{
$this->dnsEndpointConfig = $dnsEndpointConfig;
}
/**
* @return DNSEndpointConfig
*/
public function getDnsEndpointConfig()
{
return $this->dnsEndpointConfig;
}
/**
* IP endpoints configuration.
*
* @param IPEndpointsConfig $ipEndpointsConfig
*/
public function setIpEndpointsConfig(IPEndpointsConfig $ipEndpointsConfig)
{
$this->ipEndpointsConfig = $ipEndpointsConfig;
}
/**
* @return IPEndpointsConfig
*/
public function getIpEndpointsConfig()
{
return $this->ipEndpointsConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ControlPlaneEndpointsConfig::class, 'Google_Service_Container_ControlPlaneEndpointsConfig');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class CostManagementConfig extends \Google\Model
{
/**
* Whether the feature is enabled or not.
*
* @var bool
*/
public $enabled;
/**
* Whether the feature is enabled or not.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CostManagementConfig::class, 'Google_Service_Container_CostManagementConfig');
@@ -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\Container;
class CrashLoopBackOffConfig extends \Google\Model
{
/**
* Optional. The maximum duration the backoff delay can accrue to for
* container restarts, minimum 1 second, maximum 300 seconds. If not set,
* defaults to the internal crashloopbackoff maximum. The string must be a
* sequence of decimal numbers, each with optional fraction and a unit suffix,
* such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m",
* "h". See https://kubernetes.io/docs/concepts/workloads/pods/pod-
* lifecycle/#configurable-container-restart-delay for more details.
*
* @var string
*/
public $maxContainerRestartPeriod;
/**
* Optional. The maximum duration the backoff delay can accrue to for
* container restarts, minimum 1 second, maximum 300 seconds. If not set,
* defaults to the internal crashloopbackoff maximum. The string must be a
* sequence of decimal numbers, each with optional fraction and a unit suffix,
* such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m",
* "h". See https://kubernetes.io/docs/concepts/workloads/pods/pod-
* lifecycle/#configurable-container-restart-delay for more details.
*
* @param string $maxContainerRestartPeriod
*/
public function setMaxContainerRestartPeriod($maxContainerRestartPeriod)
{
$this->maxContainerRestartPeriod = $maxContainerRestartPeriod;
}
/**
* @return string
*/
public function getMaxContainerRestartPeriod()
{
return $this->maxContainerRestartPeriod;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CrashLoopBackOffConfig::class, 'Google_Service_Container_CrashLoopBackOffConfig');
@@ -0,0 +1,129 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class CreateClusterRequest extends \Google\Model
{
protected $clusterType = Cluster::class;
protected $clusterDataType = '';
/**
* The parent (project and location) where the cluster will be created.
* Specified in the format `projects/locations`.
*
* @var string
*/
public $parent;
/**
* Deprecated. The Google Developers Console [project ID or project
* number](https://cloud.google.com/resource-manager/docs/creating-managing-
* projects). This field has been deprecated and replaced by the parent field.
*
* @deprecated
* @var string
*/
public $projectId;
/**
* Deprecated. The name of the Google Compute Engine
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the
* cluster resides. This field has been deprecated and replaced by the parent
* field.
*
* @deprecated
* @var string
*/
public $zone;
/**
* Required. A [cluster resource](https://cloud.google.com/container-
* engine/reference/rest/v1/projects.locations.clusters)
*
* @param Cluster $cluster
*/
public function setCluster(Cluster $cluster)
{
$this->cluster = $cluster;
}
/**
* @return Cluster
*/
public function getCluster()
{
return $this->cluster;
}
/**
* The parent (project and location) where the cluster will be created.
* Specified in the format `projects/locations`.
*
* @param string $parent
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* Deprecated. The Google Developers Console [project ID or project
* number](https://cloud.google.com/resource-manager/docs/creating-managing-
* projects). This field has been deprecated and replaced by the parent field.
*
* @deprecated
* @param string $projectId
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @deprecated
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* Deprecated. The name of the Google Compute Engine
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the
* cluster resides. This field has been deprecated and replaced by the parent
* field.
*
* @deprecated
* @param string $zone
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @deprecated
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateClusterRequest::class, 'Google_Service_Container_CreateClusterRequest');
@@ -0,0 +1,155 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class CreateNodePoolRequest extends \Google\Model
{
/**
* Deprecated. The name of the cluster. This field has been deprecated and
* replaced by the parent field.
*
* @deprecated
* @var string
*/
public $clusterId;
protected $nodePoolType = NodePool::class;
protected $nodePoolDataType = '';
/**
* The parent (project, location, cluster name) where the node pool will be
* created. Specified in the format `projects/locations/clusters`.
*
* @var string
*/
public $parent;
/**
* Deprecated. The Google Developers Console [project ID or project
* number](https://cloud.google.com/resource-manager/docs/creating-managing-
* projects). This field has been deprecated and replaced by the parent field.
*
* @deprecated
* @var string
*/
public $projectId;
/**
* Deprecated. The name of the Google Compute Engine
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the
* cluster resides. This field has been deprecated and replaced by the parent
* field.
*
* @deprecated
* @var string
*/
public $zone;
/**
* Deprecated. The name of the cluster. This field has been deprecated and
* replaced by the parent field.
*
* @deprecated
* @param string $clusterId
*/
public function setClusterId($clusterId)
{
$this->clusterId = $clusterId;
}
/**
* @deprecated
* @return string
*/
public function getClusterId()
{
return $this->clusterId;
}
/**
* Required. The node pool to create.
*
* @param NodePool $nodePool
*/
public function setNodePool(NodePool $nodePool)
{
$this->nodePool = $nodePool;
}
/**
* @return NodePool
*/
public function getNodePool()
{
return $this->nodePool;
}
/**
* The parent (project, location, cluster name) where the node pool will be
* created. Specified in the format `projects/locations/clusters`.
*
* @param string $parent
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* Deprecated. The Google Developers Console [project ID or project
* number](https://cloud.google.com/resource-manager/docs/creating-managing-
* projects). This field has been deprecated and replaced by the parent field.
*
* @deprecated
* @param string $projectId
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @deprecated
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* Deprecated. The name of the Google Compute Engine
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the
* cluster resides. This field has been deprecated and replaced by the parent
* field.
*
* @deprecated
* @param string $zone
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @deprecated
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateNodePoolRequest::class, 'Google_Service_Container_CreateNodePoolRequest');
@@ -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\Container;
class CustomNodeInit extends \Google\Model
{
protected $initScriptType = InitScript::class;
protected $initScriptDataType = '';
/**
* Optional. The init script to be executed on the node.
*
* @param InitScript $initScript
*/
public function setInitScript(InitScript $initScript)
{
$this->initScript = $initScript;
}
/**
* @return InitScript
*/
public function getInitScript()
{
return $this->initScript;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomNodeInit::class, 'Google_Service_Container_CustomNodeInit');
@@ -0,0 +1,147 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class DNSConfig extends \Google\Model
{
/**
* Default value
*/
public const CLUSTER_DNS_PROVIDER_UNSPECIFIED = 'PROVIDER_UNSPECIFIED';
/**
* Use GKE default DNS provider(kube-dns) for DNS resolution.
*/
public const CLUSTER_DNS_PLATFORM_DEFAULT = 'PLATFORM_DEFAULT';
/**
* Use CloudDNS for DNS resolution.
*/
public const CLUSTER_DNS_CLOUD_DNS = 'CLOUD_DNS';
/**
* Use KubeDNS for DNS resolution.
*/
public const CLUSTER_DNS_KUBE_DNS = 'KUBE_DNS';
/**
* Default value, will be inferred as cluster scope.
*/
public const CLUSTER_DNS_SCOPE_DNS_SCOPE_UNSPECIFIED = 'DNS_SCOPE_UNSPECIFIED';
/**
* DNS records are accessible from within the cluster.
*/
public const CLUSTER_DNS_SCOPE_CLUSTER_SCOPE = 'CLUSTER_SCOPE';
/**
* DNS records are accessible from within the VPC.
*/
public const CLUSTER_DNS_SCOPE_VPC_SCOPE = 'VPC_SCOPE';
/**
* Optional. The domain used in Additive VPC scope.
*
* @var string
*/
public $additiveVpcScopeDnsDomain;
/**
* cluster_dns indicates which in-cluster DNS provider should be used.
*
* @var string
*/
public $clusterDns;
/**
* cluster_dns_domain is the suffix used for all cluster service records.
*
* @var string
*/
public $clusterDnsDomain;
/**
* cluster_dns_scope indicates the scope of access to cluster DNS records.
*
* @var string
*/
public $clusterDnsScope;
/**
* Optional. The domain used in Additive VPC scope.
*
* @param string $additiveVpcScopeDnsDomain
*/
public function setAdditiveVpcScopeDnsDomain($additiveVpcScopeDnsDomain)
{
$this->additiveVpcScopeDnsDomain = $additiveVpcScopeDnsDomain;
}
/**
* @return string
*/
public function getAdditiveVpcScopeDnsDomain()
{
return $this->additiveVpcScopeDnsDomain;
}
/**
* cluster_dns indicates which in-cluster DNS provider should be used.
*
* Accepted values: PROVIDER_UNSPECIFIED, PLATFORM_DEFAULT, CLOUD_DNS,
* KUBE_DNS
*
* @param self::CLUSTER_DNS_* $clusterDns
*/
public function setClusterDns($clusterDns)
{
$this->clusterDns = $clusterDns;
}
/**
* @return self::CLUSTER_DNS_*
*/
public function getClusterDns()
{
return $this->clusterDns;
}
/**
* cluster_dns_domain is the suffix used for all cluster service records.
*
* @param string $clusterDnsDomain
*/
public function setClusterDnsDomain($clusterDnsDomain)
{
$this->clusterDnsDomain = $clusterDnsDomain;
}
/**
* @return string
*/
public function getClusterDnsDomain()
{
return $this->clusterDnsDomain;
}
/**
* cluster_dns_scope indicates the scope of access to cluster DNS records.
*
* Accepted values: DNS_SCOPE_UNSPECIFIED, CLUSTER_SCOPE, VPC_SCOPE
*
* @param self::CLUSTER_DNS_SCOPE_* $clusterDnsScope
*/
public function setClusterDnsScope($clusterDnsScope)
{
$this->clusterDnsScope = $clusterDnsScope;
}
/**
* @return self::CLUSTER_DNS_SCOPE_*
*/
public function getClusterDnsScope()
{
return $this->clusterDnsScope;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DNSConfig::class, 'Google_Service_Container_DNSConfig');
@@ -0,0 +1,122 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class DNSEndpointConfig extends \Google\Model
{
/**
* Controls whether user traffic is allowed over this endpoint. Note that
* Google-managed services may still use the endpoint even if this is false.
*
* @var bool
*/
public $allowExternalTraffic;
/**
* Controls whether the k8s certs auth is allowed via DNS.
*
* @var bool
*/
public $enableK8sCertsViaDns;
/**
* Controls whether the k8s token auth is allowed via DNS.
*
* @var bool
*/
public $enableK8sTokensViaDns;
/**
* Output only. The cluster's DNS endpoint configuration. A DNS format
* address. This is accessible from the public internet. Ex: uid.us-
* central1.gke.goog. Always present, but the behavior may change according to
* the value of DNSEndpointConfig.allow_external_traffic.
*
* @var string
*/
public $endpoint;
/**
* Controls whether user traffic is allowed over this endpoint. Note that
* Google-managed services may still use the endpoint even if this is false.
*
* @param bool $allowExternalTraffic
*/
public function setAllowExternalTraffic($allowExternalTraffic)
{
$this->allowExternalTraffic = $allowExternalTraffic;
}
/**
* @return bool
*/
public function getAllowExternalTraffic()
{
return $this->allowExternalTraffic;
}
/**
* Controls whether the k8s certs auth is allowed via DNS.
*
* @param bool $enableK8sCertsViaDns
*/
public function setEnableK8sCertsViaDns($enableK8sCertsViaDns)
{
$this->enableK8sCertsViaDns = $enableK8sCertsViaDns;
}
/**
* @return bool
*/
public function getEnableK8sCertsViaDns()
{
return $this->enableK8sCertsViaDns;
}
/**
* Controls whether the k8s token auth is allowed via DNS.
*
* @param bool $enableK8sTokensViaDns
*/
public function setEnableK8sTokensViaDns($enableK8sTokensViaDns)
{
$this->enableK8sTokensViaDns = $enableK8sTokensViaDns;
}
/**
* @return bool
*/
public function getEnableK8sTokensViaDns()
{
return $this->enableK8sTokensViaDns;
}
/**
* Output only. The cluster's DNS endpoint configuration. A DNS format
* address. This is accessible from the public internet. Ex: uid.us-
* central1.gke.goog. Always present, but the behavior may change according to
* the value of DNSEndpointConfig.allow_external_traffic.
*
* @param string $endpoint
*/
public function setEndpoint($endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return string
*/
public function getEndpoint()
{
return $this->endpoint;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DNSEndpointConfig::class, 'Google_Service_Container_DNSEndpointConfig');
@@ -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\Container;
class DailyMaintenanceWindow extends \Google\Model
{
/**
* Output only. Duration of the time window, automatically chosen to be
* smallest possible in the given scenario. Duration will be in
* [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "PTnHnMnS".
*
* @var string
*/
public $duration;
/**
* Time within the maintenance window to start the maintenance operations.
* Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
* format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
*
* @var string
*/
public $startTime;
/**
* Output only. Duration of the time window, automatically chosen to be
* smallest possible in the given scenario. Duration will be in
* [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "PTnHnMnS".
*
* @param string $duration
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* Time within the maintenance window to start the maintenance operations.
* Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
* format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DailyMaintenanceWindow::class, 'Google_Service_Container_DailyMaintenanceWindow');
@@ -0,0 +1,211 @@
<?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\Container;
class DatabaseEncryption extends \Google\Collection
{
/**
* Should never be set
*/
public const CURRENT_STATE_CURRENT_STATE_UNSPECIFIED = 'CURRENT_STATE_UNSPECIFIED';
/**
* Secrets in etcd are encrypted.
*/
public const CURRENT_STATE_CURRENT_STATE_ENCRYPTED = 'CURRENT_STATE_ENCRYPTED';
/**
* Secrets in etcd are stored in plain text (at etcd level) - this is
* unrelated to Compute Engine level full disk encryption.
*/
public const CURRENT_STATE_CURRENT_STATE_DECRYPTED = 'CURRENT_STATE_DECRYPTED';
/**
* Encryption (or re-encryption with a different CloudKMS key) of Secrets is
* in progress.
*/
public const CURRENT_STATE_CURRENT_STATE_ENCRYPTION_PENDING = 'CURRENT_STATE_ENCRYPTION_PENDING';
/**
* Encryption (or re-encryption with a different CloudKMS key) of Secrets in
* etcd encountered an error.
*/
public const CURRENT_STATE_CURRENT_STATE_ENCRYPTION_ERROR = 'CURRENT_STATE_ENCRYPTION_ERROR';
/**
* De-crypting Secrets to plain text in etcd is in progress.
*/
public const CURRENT_STATE_CURRENT_STATE_DECRYPTION_PENDING = 'CURRENT_STATE_DECRYPTION_PENDING';
/**
* De-crypting Secrets to plain text in etcd encountered an error.
*/
public const CURRENT_STATE_CURRENT_STATE_DECRYPTION_ERROR = 'CURRENT_STATE_DECRYPTION_ERROR';
/**
* Encryption of all objects in the storage is enabled. It does not guarantee
* that all objects in the storage are encrypted, but eventually they will be.
*/
public const CURRENT_STATE_CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED = 'CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED';
/**
* Enablement of the encryption of all objects in storage is pending.
*/
public const CURRENT_STATE_CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING = 'CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING';
/**
* Enabling encryption of all objects in storage encountered an error.
*/
public const CURRENT_STATE_CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR = 'CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR';
/**
* Should never be set
*/
public const STATE_UNKNOWN = 'UNKNOWN';
/**
* Secrets in etcd are encrypted.
*/
public const STATE_ENCRYPTED = 'ENCRYPTED';
/**
* Secrets in etcd are stored in plain text (at etcd level) - this is
* unrelated to Compute Engine level full disk encryption.
*/
public const STATE_DECRYPTED = 'DECRYPTED';
/**
* Encryption of all objects in the storage is enabled. There is no guarantee
* that all objects in the storage are encrypted, but eventually they will be.
*/
public const STATE_ALL_OBJECTS_ENCRYPTION_ENABLED = 'ALL_OBJECTS_ENCRYPTION_ENABLED';
protected $collection_key = 'lastOperationErrors';
/**
* Output only. The current state of etcd encryption.
*
* @var string
*/
public $currentState;
/**
* Output only. Keys in use by the cluster for decrypting existing objects, in
* addition to the key in `key_name`. Each item is a CloudKMS key resource.
*
* @var string[]
*/
public $decryptionKeys;
/**
* Name of CloudKMS key to use for the encryption of secrets in etcd. Ex.
* projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
*
* @var string
*/
public $keyName;
protected $lastOperationErrorsType = OperationError::class;
protected $lastOperationErrorsDataType = 'array';
/**
* The desired state of etcd encryption.
*
* @var string
*/
public $state;
/**
* Output only. The current state of etcd encryption.
*
* Accepted values: CURRENT_STATE_UNSPECIFIED, CURRENT_STATE_ENCRYPTED,
* CURRENT_STATE_DECRYPTED, CURRENT_STATE_ENCRYPTION_PENDING,
* CURRENT_STATE_ENCRYPTION_ERROR, CURRENT_STATE_DECRYPTION_PENDING,
* CURRENT_STATE_DECRYPTION_ERROR,
* CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED,
* CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING,
* CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR
*
* @param self::CURRENT_STATE_* $currentState
*/
public function setCurrentState($currentState)
{
$this->currentState = $currentState;
}
/**
* @return self::CURRENT_STATE_*
*/
public function getCurrentState()
{
return $this->currentState;
}
/**
* Output only. Keys in use by the cluster for decrypting existing objects, in
* addition to the key in `key_name`. Each item is a CloudKMS key resource.
*
* @param string[] $decryptionKeys
*/
public function setDecryptionKeys($decryptionKeys)
{
$this->decryptionKeys = $decryptionKeys;
}
/**
* @return string[]
*/
public function getDecryptionKeys()
{
return $this->decryptionKeys;
}
/**
* Name of CloudKMS key to use for the encryption of secrets in etcd. Ex.
* projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
*
* @param string $keyName
*/
public function setKeyName($keyName)
{
$this->keyName = $keyName;
}
/**
* @return string
*/
public function getKeyName()
{
return $this->keyName;
}
/**
* Output only. Records errors seen during DatabaseEncryption update
* operations.
*
* @param OperationError[] $lastOperationErrors
*/
public function setLastOperationErrors($lastOperationErrors)
{
$this->lastOperationErrors = $lastOperationErrors;
}
/**
* @return OperationError[]
*/
public function getLastOperationErrors()
{
return $this->lastOperationErrors;
}
/**
* The desired state of etcd encryption.
*
* Accepted values: UNKNOWN, ENCRYPTED, DECRYPTED,
* ALL_OBJECTS_ENCRYPTION_ENABLED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseEncryption::class, 'Google_Service_Container_DatabaseEncryption');
+100
View File
@@ -0,0 +1,100 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class Date extends \Google\Model
{
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't
* significant.
*
* @var int
*/
public $day;
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @var int
*/
public $month;
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @var int
*/
public $year;
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't
* significant.
*
* @param int $day
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @param int $month
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @param int $year
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_Container_Date');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class DedicatedLocalSsdProfile extends \Google\Model
{
/**
* The number of physical local NVMe SSD disks to attach.
*
* @var string
*/
public $diskCount;
/**
* The number of physical local NVMe SSD disks to attach.
*
* @param string $diskCount
*/
public function setDiskCount($diskCount)
{
$this->diskCount = $diskCount;
}
/**
* @return string
*/
public function getDiskCount()
{
return $this->diskCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DedicatedLocalSsdProfile::class, 'Google_Service_Container_DedicatedLocalSsdProfile');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class DefaultComputeClassConfig extends \Google\Model
{
/**
* Enables default compute class.
*
* @var bool
*/
public $enabled;
/**
* Enables default compute class.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DefaultComputeClassConfig::class, 'Google_Service_Container_DefaultComputeClassConfig');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class DefaultSnatStatus extends \Google\Model
{
/**
* Disables cluster default sNAT rules.
*
* @var bool
*/
public $disabled;
/**
* Disables cluster default sNAT rules.
*
* @param bool $disabled
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DefaultSnatStatus::class, 'Google_Service_Container_DefaultSnatStatus');
@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class DesiredAdditionalIPRangesConfig extends \Google\Collection
{
protected $collection_key = 'additionalIpRangesConfigs';
protected $additionalIpRangesConfigsType = AdditionalIPRangesConfig::class;
protected $additionalIpRangesConfigsDataType = 'array';
/**
* List of additional IP ranges configs where each AdditionalIPRangesConfig
* corresponds to one subnetwork's IP ranges
*
* @param AdditionalIPRangesConfig[] $additionalIpRangesConfigs
*/
public function setAdditionalIpRangesConfigs($additionalIpRangesConfigs)
{
$this->additionalIpRangesConfigs = $additionalIpRangesConfigs;
}
/**
* @return AdditionalIPRangesConfig[]
*/
public function getAdditionalIpRangesConfigs()
{
return $this->additionalIpRangesConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DesiredAdditionalIPRangesConfig::class, 'Google_Service_Container_DesiredAdditionalIPRangesConfig');
@@ -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\Container;
class DesiredEnterpriseConfig extends \Google\Model
{
/**
* CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.
*/
public const DESIRED_TIER_CLUSTER_TIER_UNSPECIFIED = 'CLUSTER_TIER_UNSPECIFIED';
/**
* STANDARD indicates a standard GKE cluster.
*/
public const DESIRED_TIER_STANDARD = 'STANDARD';
/**
* ENTERPRISE indicates a GKE Enterprise cluster.
*/
public const DESIRED_TIER_ENTERPRISE = 'ENTERPRISE';
/**
* desired_tier specifies the desired tier of the cluster.
*
* @var string
*/
public $desiredTier;
/**
* desired_tier specifies the desired tier of the cluster.
*
* Accepted values: CLUSTER_TIER_UNSPECIFIED, STANDARD, ENTERPRISE
*
* @param self::DESIRED_TIER_* $desiredTier
*/
public function setDesiredTier($desiredTier)
{
$this->desiredTier = $desiredTier;
}
/**
* @return self::DESIRED_TIER_*
*/
public function getDesiredTier()
{
return $this->desiredTier;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DesiredEnterpriseConfig::class, 'Google_Service_Container_DesiredEnterpriseConfig');
@@ -0,0 +1,120 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class DisruptionBudget extends \Google\Model
{
/**
* Output only. The last time a disruption was performed on the control plane.
*
* @var string
*/
public $lastDisruptionTime;
/**
* Output only. The last time a minor version upgrade was performed on the
* control plane.
*
* @var string
*/
public $lastMinorVersionDisruptionTime;
/**
* Optional. The minimum duration between two minor version upgrades of the
* control plane.
*
* @var string
*/
public $minorVersionDisruptionInterval;
/**
* Optional. The minimum duration between two patch version upgrades of the
* control plane.
*
* @var string
*/
public $patchVersionDisruptionInterval;
/**
* Output only. The last time a disruption was performed on the control plane.
*
* @param string $lastDisruptionTime
*/
public function setLastDisruptionTime($lastDisruptionTime)
{
$this->lastDisruptionTime = $lastDisruptionTime;
}
/**
* @return string
*/
public function getLastDisruptionTime()
{
return $this->lastDisruptionTime;
}
/**
* Output only. The last time a minor version upgrade was performed on the
* control plane.
*
* @param string $lastMinorVersionDisruptionTime
*/
public function setLastMinorVersionDisruptionTime($lastMinorVersionDisruptionTime)
{
$this->lastMinorVersionDisruptionTime = $lastMinorVersionDisruptionTime;
}
/**
* @return string
*/
public function getLastMinorVersionDisruptionTime()
{
return $this->lastMinorVersionDisruptionTime;
}
/**
* Optional. The minimum duration between two minor version upgrades of the
* control plane.
*
* @param string $minorVersionDisruptionInterval
*/
public function setMinorVersionDisruptionInterval($minorVersionDisruptionInterval)
{
$this->minorVersionDisruptionInterval = $minorVersionDisruptionInterval;
}
/**
* @return string
*/
public function getMinorVersionDisruptionInterval()
{
return $this->minorVersionDisruptionInterval;
}
/**
* Optional. The minimum duration between two patch version upgrades of the
* control plane.
*
* @param string $patchVersionDisruptionInterval
*/
public function setPatchVersionDisruptionInterval($patchVersionDisruptionInterval)
{
$this->patchVersionDisruptionInterval = $patchVersionDisruptionInterval;
}
/**
* @return string
*/
public function getPatchVersionDisruptionInterval()
{
return $this->patchVersionDisruptionInterval;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DisruptionBudget::class, 'Google_Service_Container_DisruptionBudget');
@@ -0,0 +1,135 @@
<?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\Container;
class DisruptionEvent extends \Google\Collection
{
/**
* DISRUPTION_TYPE_UNSPECIFIED indicates the disruption type is unspecified.
*/
public const DISRUPTION_TYPE_DISRUPTION_TYPE_UNSPECIFIED = 'DISRUPTION_TYPE_UNSPECIFIED';
/**
* POD_NOT_ENOUGH_PDB indicates there are still running pods on the node
* during node drain because their evictions are blocked by PDB.
*/
public const DISRUPTION_TYPE_POD_NOT_ENOUGH_PDB = 'POD_NOT_ENOUGH_PDB';
/**
* POD_PDB_VIOLATION indicates that there are force pod evictions during node
* drain which violate the PDB.
*/
public const DISRUPTION_TYPE_POD_PDB_VIOLATION = 'POD_PDB_VIOLATION';
protected $collection_key = 'pdbBlockedPod';
/**
* The type of the disruption event.
*
* @var string
*/
public $disruptionType;
/**
* The node whose drain is blocked by PDB. This field is set for both
* POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
*
* @var string
*/
public $pdbBlockedNode;
protected $pdbBlockedPodType = PdbBlockedPod::class;
protected $pdbBlockedPodDataType = 'array';
/**
* The timeout in seconds for which the node drain is blocked by PDB. After
* this timeout, pods are forcefully evicted. This field is only populated
* when event_type is POD_PDB_VIOLATION.
*
* @var string
*/
public $pdbViolationTimeout;
/**
* The type of the disruption event.
*
* Accepted values: DISRUPTION_TYPE_UNSPECIFIED, POD_NOT_ENOUGH_PDB,
* POD_PDB_VIOLATION
*
* @param self::DISRUPTION_TYPE_* $disruptionType
*/
public function setDisruptionType($disruptionType)
{
$this->disruptionType = $disruptionType;
}
/**
* @return self::DISRUPTION_TYPE_*
*/
public function getDisruptionType()
{
return $this->disruptionType;
}
/**
* The node whose drain is blocked by PDB. This field is set for both
* POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
*
* @param string $pdbBlockedNode
*/
public function setPdbBlockedNode($pdbBlockedNode)
{
$this->pdbBlockedNode = $pdbBlockedNode;
}
/**
* @return string
*/
public function getPdbBlockedNode()
{
return $this->pdbBlockedNode;
}
/**
* The pods whose evictions are blocked by PDB. This field is set for both
* POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
*
* @param PdbBlockedPod[] $pdbBlockedPod
*/
public function setPdbBlockedPod($pdbBlockedPod)
{
$this->pdbBlockedPod = $pdbBlockedPod;
}
/**
* @return PdbBlockedPod[]
*/
public function getPdbBlockedPod()
{
return $this->pdbBlockedPod;
}
/**
* The timeout in seconds for which the node drain is blocked by PDB. After
* this timeout, pods are forcefully evicted. This field is only populated
* when event_type is POD_PDB_VIOLATION.
*
* @param string $pdbViolationTimeout
*/
public function setPdbViolationTimeout($pdbViolationTimeout)
{
$this->pdbViolationTimeout = $pdbViolationTimeout;
}
/**
* @return string
*/
public function getPdbViolationTimeout()
{
return $this->pdbViolationTimeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DisruptionEvent::class, 'Google_Service_Container_DisruptionEvent');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class DnsCacheConfig extends \Google\Model
{
/**
* Whether NodeLocal DNSCache is enabled for this cluster.
*
* @var bool
*/
public $enabled;
/**
* Whether NodeLocal DNSCache is enabled for this cluster.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DnsCacheConfig::class, 'Google_Service_Container_DnsCacheConfig');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class EncryptionConfig extends \Google\Model
{
/**
* Optional. If true, swap space will not be encrypted. Defaults to false
* (encrypted).
*
* @var bool
*/
public $disabled;
/**
* Optional. If true, swap space will not be encrypted. Defaults to false
* (encrypted).
*
* @param bool $disabled
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EncryptionConfig::class, 'Google_Service_Container_EncryptionConfig');
@@ -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\Container;
class EnterpriseConfig extends \Google\Model
{
/**
* CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.
*/
public const CLUSTER_TIER_CLUSTER_TIER_UNSPECIFIED = 'CLUSTER_TIER_UNSPECIFIED';
/**
* STANDARD indicates a standard GKE cluster.
*/
public const CLUSTER_TIER_STANDARD = 'STANDARD';
/**
* ENTERPRISE indicates a GKE Enterprise cluster.
*/
public const CLUSTER_TIER_ENTERPRISE = 'ENTERPRISE';
/**
* CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.
*/
public const DESIRED_TIER_CLUSTER_TIER_UNSPECIFIED = 'CLUSTER_TIER_UNSPECIFIED';
/**
* STANDARD indicates a standard GKE cluster.
*/
public const DESIRED_TIER_STANDARD = 'STANDARD';
/**
* ENTERPRISE indicates a GKE Enterprise cluster.
*/
public const DESIRED_TIER_ENTERPRISE = 'ENTERPRISE';
/**
* Output only. cluster_tier indicates the effective tier of the cluster.
*
* @var string
*/
public $clusterTier;
/**
* desired_tier specifies the desired tier of the cluster.
*
* @var string
*/
public $desiredTier;
/**
* Output only. cluster_tier indicates the effective tier of the cluster.
*
* Accepted values: CLUSTER_TIER_UNSPECIFIED, STANDARD, ENTERPRISE
*
* @param self::CLUSTER_TIER_* $clusterTier
*/
public function setClusterTier($clusterTier)
{
$this->clusterTier = $clusterTier;
}
/**
* @return self::CLUSTER_TIER_*
*/
public function getClusterTier()
{
return $this->clusterTier;
}
/**
* desired_tier specifies the desired tier of the cluster.
*
* Accepted values: CLUSTER_TIER_UNSPECIFIED, STANDARD, ENTERPRISE
*
* @param self::DESIRED_TIER_* $desiredTier
*/
public function setDesiredTier($desiredTier)
{
$this->desiredTier = $desiredTier;
}
/**
* @return self::DESIRED_TIER_*
*/
public function getDesiredTier()
{
return $this->desiredTier;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnterpriseConfig::class, 'Google_Service_Container_EnterpriseConfig');
@@ -0,0 +1,72 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class EphemeralLocalSsdProfile extends \Google\Model
{
/**
* Specifies the size of the swap space in gibibytes (GiB).
*
* @var string
*/
public $swapSizeGib;
/**
* Specifies the size of the swap space as a percentage of the ephemeral local
* SSD capacity.
*
* @var int
*/
public $swapSizePercent;
/**
* Specifies the size of the swap space in gibibytes (GiB).
*
* @param string $swapSizeGib
*/
public function setSwapSizeGib($swapSizeGib)
{
$this->swapSizeGib = $swapSizeGib;
}
/**
* @return string
*/
public function getSwapSizeGib()
{
return $this->swapSizeGib;
}
/**
* Specifies the size of the swap space as a percentage of the ephemeral local
* SSD capacity.
*
* @param int $swapSizePercent
*/
public function setSwapSizePercent($swapSizePercent)
{
$this->swapSizePercent = $swapSizePercent;
}
/**
* @return int
*/
public function getSwapSizePercent()
{
return $this->swapSizePercent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EphemeralLocalSsdProfile::class, 'Google_Service_Container_EphemeralLocalSsdProfile');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class EphemeralStorageLocalSsdConfig extends \Google\Model
{
/**
* Number of local SSDs to use for GKE Data Cache.
*
* @var int
*/
public $dataCacheCount;
/**
* Number of local SSDs to use to back ephemeral storage. Uses NVMe
* interfaces. A zero (or unset) value has different meanings depending on
* machine type being used: 1. For pre-Gen3 machines, which support flexible
* numbers of local ssds, zero (or unset) means to disable using local SSDs as
* ephemeral storage. The limit for this value is dependent upon the maximum
* number of disk available on a machine per zone. See:
* https://cloud.google.com/compute/docs/disks/local-ssd for more information.
* 2. For Gen3 machines which dictate a specific number of local ssds, zero
* (or unset) means to use the default number of local ssds that goes with
* that machine type. For example, for a c3-standard-8-lssd machine, 2 local
* ssds would be provisioned. For c3-standard-8 (which doesn't support local
* ssds), 0 will be provisioned. See
* https://cloud.google.com/compute/docs/disks/local-
* ssd#choose_number_local_ssds for more info.
*
* @var int
*/
public $localSsdCount;
/**
* Number of local SSDs to use for GKE Data Cache.
*
* @param int $dataCacheCount
*/
public function setDataCacheCount($dataCacheCount)
{
$this->dataCacheCount = $dataCacheCount;
}
/**
* @return int
*/
public function getDataCacheCount()
{
return $this->dataCacheCount;
}
/**
* Number of local SSDs to use to back ephemeral storage. Uses NVMe
* interfaces. A zero (or unset) value has different meanings depending on
* machine type being used: 1. For pre-Gen3 machines, which support flexible
* numbers of local ssds, zero (or unset) means to disable using local SSDs as
* ephemeral storage. The limit for this value is dependent upon the maximum
* number of disk available on a machine per zone. See:
* https://cloud.google.com/compute/docs/disks/local-ssd for more information.
* 2. For Gen3 machines which dictate a specific number of local ssds, zero
* (or unset) means to use the default number of local ssds that goes with
* that machine type. For example, for a c3-standard-8-lssd machine, 2 local
* ssds would be provisioned. For c3-standard-8 (which doesn't support local
* ssds), 0 will be provisioned. See
* https://cloud.google.com/compute/docs/disks/local-
* ssd#choose_number_local_ssds for more info.
*
* @param int $localSsdCount
*/
public function setLocalSsdCount($localSsdCount)
{
$this->localSsdCount = $localSsdCount;
}
/**
* @return int
*/
public function getLocalSsdCount()
{
return $this->localSsdCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EphemeralStorageLocalSsdConfig::class, 'Google_Service_Container_EphemeralStorageLocalSsdConfig');
@@ -0,0 +1,194 @@
<?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\Container;
class EvictionGracePeriod extends \Google\Model
{
/**
* Optional. Grace period for eviction due to imagefs available signal. Sample
* format: "10s". Must be >= 0. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @var string
*/
public $imagefsAvailable;
/**
* Optional. Grace period for eviction due to imagefs inodes free signal.
* Sample format: "10s". Must be >= 0. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @var string
*/
public $imagefsInodesFree;
/**
* Optional. Grace period for eviction due to memory available signal. Sample
* format: "10s". Must be >= 0. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @var string
*/
public $memoryAvailable;
/**
* Optional. Grace period for eviction due to nodefs available signal. Sample
* format: "10s". Must be >= 0. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @var string
*/
public $nodefsAvailable;
/**
* Optional. Grace period for eviction due to nodefs inodes free signal.
* Sample format: "10s". Must be >= 0. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @var string
*/
public $nodefsInodesFree;
/**
* Optional. Grace period for eviction due to pid available signal. Sample
* format: "10s". Must be >= 0. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @var string
*/
public $pidAvailable;
/**
* Optional. Grace period for eviction due to imagefs available signal. Sample
* format: "10s". Must be >= 0. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @param string $imagefsAvailable
*/
public function setImagefsAvailable($imagefsAvailable)
{
$this->imagefsAvailable = $imagefsAvailable;
}
/**
* @return string
*/
public function getImagefsAvailable()
{
return $this->imagefsAvailable;
}
/**
* Optional. Grace period for eviction due to imagefs inodes free signal.
* Sample format: "10s". Must be >= 0. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @param string $imagefsInodesFree
*/
public function setImagefsInodesFree($imagefsInodesFree)
{
$this->imagefsInodesFree = $imagefsInodesFree;
}
/**
* @return string
*/
public function getImagefsInodesFree()
{
return $this->imagefsInodesFree;
}
/**
* Optional. Grace period for eviction due to memory available signal. Sample
* format: "10s". Must be >= 0. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @param string $memoryAvailable
*/
public function setMemoryAvailable($memoryAvailable)
{
$this->memoryAvailable = $memoryAvailable;
}
/**
* @return string
*/
public function getMemoryAvailable()
{
return $this->memoryAvailable;
}
/**
* Optional. Grace period for eviction due to nodefs available signal. Sample
* format: "10s". Must be >= 0. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @param string $nodefsAvailable
*/
public function setNodefsAvailable($nodefsAvailable)
{
$this->nodefsAvailable = $nodefsAvailable;
}
/**
* @return string
*/
public function getNodefsAvailable()
{
return $this->nodefsAvailable;
}
/**
* Optional. Grace period for eviction due to nodefs inodes free signal.
* Sample format: "10s". Must be >= 0. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @param string $nodefsInodesFree
*/
public function setNodefsInodesFree($nodefsInodesFree)
{
$this->nodefsInodesFree = $nodefsInodesFree;
}
/**
* @return string
*/
public function getNodefsInodesFree()
{
return $this->nodefsInodesFree;
}
/**
* Optional. Grace period for eviction due to pid available signal. Sample
* format: "10s". Must be >= 0. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @param string $pidAvailable
*/
public function setPidAvailable($pidAvailable)
{
$this->pidAvailable = $pidAvailable;
}
/**
* @return string
*/
public function getPidAvailable()
{
return $this->pidAvailable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EvictionGracePeriod::class, 'Google_Service_Container_EvictionGracePeriod');
@@ -0,0 +1,194 @@
<?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\Container;
class EvictionMinimumReclaim extends \Google\Model
{
/**
* Optional. Minimum reclaim for eviction due to imagefs available signal.
* Only take percentage value for now. Sample format: "10%". Must be <=10%.
* See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @var string
*/
public $imagefsAvailable;
/**
* Optional. Minimum reclaim for eviction due to imagefs inodes free signal.
* Only take percentage value for now. Sample format: "10%". Must be <=10%.
* See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @var string
*/
public $imagefsInodesFree;
/**
* Optional. Minimum reclaim for eviction due to memory available signal. Only
* take percentage value for now. Sample format: "10%". Must be <=10%. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @var string
*/
public $memoryAvailable;
/**
* Optional. Minimum reclaim for eviction due to nodefs available signal. Only
* take percentage value for now. Sample format: "10%". Must be <=10%. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @var string
*/
public $nodefsAvailable;
/**
* Optional. Minimum reclaim for eviction due to nodefs inodes free signal.
* Only take percentage value for now. Sample format: "10%". Must be <=10%.
* See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @var string
*/
public $nodefsInodesFree;
/**
* Optional. Minimum reclaim for eviction due to pid available signal. Only
* take percentage value for now. Sample format: "10%". Must be <=10%. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @var string
*/
public $pidAvailable;
/**
* Optional. Minimum reclaim for eviction due to imagefs available signal.
* Only take percentage value for now. Sample format: "10%". Must be <=10%.
* See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @param string $imagefsAvailable
*/
public function setImagefsAvailable($imagefsAvailable)
{
$this->imagefsAvailable = $imagefsAvailable;
}
/**
* @return string
*/
public function getImagefsAvailable()
{
return $this->imagefsAvailable;
}
/**
* Optional. Minimum reclaim for eviction due to imagefs inodes free signal.
* Only take percentage value for now. Sample format: "10%". Must be <=10%.
* See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @param string $imagefsInodesFree
*/
public function setImagefsInodesFree($imagefsInodesFree)
{
$this->imagefsInodesFree = $imagefsInodesFree;
}
/**
* @return string
*/
public function getImagefsInodesFree()
{
return $this->imagefsInodesFree;
}
/**
* Optional. Minimum reclaim for eviction due to memory available signal. Only
* take percentage value for now. Sample format: "10%". Must be <=10%. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @param string $memoryAvailable
*/
public function setMemoryAvailable($memoryAvailable)
{
$this->memoryAvailable = $memoryAvailable;
}
/**
* @return string
*/
public function getMemoryAvailable()
{
return $this->memoryAvailable;
}
/**
* Optional. Minimum reclaim for eviction due to nodefs available signal. Only
* take percentage value for now. Sample format: "10%". Must be <=10%. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @param string $nodefsAvailable
*/
public function setNodefsAvailable($nodefsAvailable)
{
$this->nodefsAvailable = $nodefsAvailable;
}
/**
* @return string
*/
public function getNodefsAvailable()
{
return $this->nodefsAvailable;
}
/**
* Optional. Minimum reclaim for eviction due to nodefs inodes free signal.
* Only take percentage value for now. Sample format: "10%". Must be <=10%.
* See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @param string $nodefsInodesFree
*/
public function setNodefsInodesFree($nodefsInodesFree)
{
$this->nodefsInodesFree = $nodefsInodesFree;
}
/**
* @return string
*/
public function getNodefsInodesFree()
{
return $this->nodefsInodesFree;
}
/**
* Optional. Minimum reclaim for eviction due to pid available signal. Only
* take percentage value for now. Sample format: "10%". Must be <=10%. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @param string $pidAvailable
*/
public function setPidAvailable($pidAvailable)
{
$this->pidAvailable = $pidAvailable;
}
/**
* @return string
*/
public function getPidAvailable()
{
return $this->pidAvailable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EvictionMinimumReclaim::class, 'Google_Service_Container_EvictionMinimumReclaim');
@@ -0,0 +1,224 @@
<?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\Container;
class EvictionSignals extends \Google\Model
{
/**
* Optional. Amount of storage available on filesystem that container runtime
* uses for storing images layers. If the container filesystem and image
* filesystem are not separate, then imagefs can store both image layers and
* writeable layers. Defines the amount of "imagefs.available" signal in
* kubelet. Default is unset, if not specified in the kubelet config. It
* takses percentage value for now. Sample format: "30%". Must be >= 15% and
* <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-
* pressure-eviction/#eviction-signals
*
* @var string
*/
public $imagefsAvailable;
/**
* Optional. Amount of inodes available on filesystem that container runtime
* uses for storing images layers. Defines the amount of "imagefs.inodesFree"
* signal in kubelet. Default is unset, if not specified in the kubelet
* config. Linux only. It takses percentage value for now. Sample format:
* "30%". Must be >= 5% and <= 50%. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @var string
*/
public $imagefsInodesFree;
/**
* Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines
* the amount of "memory.available" signal in kubelet. Default is unset, if
* not specified in the kubelet config. Format: positive number + unit, e.g.
* 100Ki, 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be >= 100Mi and <= 50%
* of the node's memory. See https://kubernetes.io/docs/concepts/scheduling-
* eviction/node-pressure-eviction/#eviction-signals
*
* @var string
*/
public $memoryAvailable;
/**
* Optional. Amount of storage available on filesystem that kubelet uses for
* volumes, daemon logs, etc. Defines the amount of "nodefs.available" signal
* in kubelet. Default is unset, if not specified in the kubelet config. It
* takses percentage value for now. Sample format: "30%". Must be >= 10% and
* <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-
* pressure-eviction/#eviction-signals
*
* @var string
*/
public $nodefsAvailable;
/**
* Optional. Amount of inodes available on filesystem that kubelet uses for
* volumes, daemon logs, etc. Defines the amount of "nodefs.inodesFree" signal
* in kubelet. Default is unset, if not specified in the kubelet config. Linux
* only. It takses percentage value for now. Sample format: "30%". Must be >=
* 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-
* eviction/node-pressure-eviction/#eviction-signals
*
* @var string
*/
public $nodefsInodesFree;
/**
* Optional. Amount of PID available for pod allocation. Defines the amount of
* "pid.available" signal in kubelet. Default is unset, if not specified in
* the kubelet config. It takses percentage value for now. Sample format:
* "30%". Must be >= 10% and <= 50%. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @var string
*/
public $pidAvailable;
/**
* Optional. Amount of storage available on filesystem that container runtime
* uses for storing images layers. If the container filesystem and image
* filesystem are not separate, then imagefs can store both image layers and
* writeable layers. Defines the amount of "imagefs.available" signal in
* kubelet. Default is unset, if not specified in the kubelet config. It
* takses percentage value for now. Sample format: "30%". Must be >= 15% and
* <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-
* pressure-eviction/#eviction-signals
*
* @param string $imagefsAvailable
*/
public function setImagefsAvailable($imagefsAvailable)
{
$this->imagefsAvailable = $imagefsAvailable;
}
/**
* @return string
*/
public function getImagefsAvailable()
{
return $this->imagefsAvailable;
}
/**
* Optional. Amount of inodes available on filesystem that container runtime
* uses for storing images layers. Defines the amount of "imagefs.inodesFree"
* signal in kubelet. Default is unset, if not specified in the kubelet
* config. Linux only. It takses percentage value for now. Sample format:
* "30%". Must be >= 5% and <= 50%. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @param string $imagefsInodesFree
*/
public function setImagefsInodesFree($imagefsInodesFree)
{
$this->imagefsInodesFree = $imagefsInodesFree;
}
/**
* @return string
*/
public function getImagefsInodesFree()
{
return $this->imagefsInodesFree;
}
/**
* Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines
* the amount of "memory.available" signal in kubelet. Default is unset, if
* not specified in the kubelet config. Format: positive number + unit, e.g.
* 100Ki, 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be >= 100Mi and <= 50%
* of the node's memory. See https://kubernetes.io/docs/concepts/scheduling-
* eviction/node-pressure-eviction/#eviction-signals
*
* @param string $memoryAvailable
*/
public function setMemoryAvailable($memoryAvailable)
{
$this->memoryAvailable = $memoryAvailable;
}
/**
* @return string
*/
public function getMemoryAvailable()
{
return $this->memoryAvailable;
}
/**
* Optional. Amount of storage available on filesystem that kubelet uses for
* volumes, daemon logs, etc. Defines the amount of "nodefs.available" signal
* in kubelet. Default is unset, if not specified in the kubelet config. It
* takses percentage value for now. Sample format: "30%". Must be >= 10% and
* <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-
* pressure-eviction/#eviction-signals
*
* @param string $nodefsAvailable
*/
public function setNodefsAvailable($nodefsAvailable)
{
$this->nodefsAvailable = $nodefsAvailable;
}
/**
* @return string
*/
public function getNodefsAvailable()
{
return $this->nodefsAvailable;
}
/**
* Optional. Amount of inodes available on filesystem that kubelet uses for
* volumes, daemon logs, etc. Defines the amount of "nodefs.inodesFree" signal
* in kubelet. Default is unset, if not specified in the kubelet config. Linux
* only. It takses percentage value for now. Sample format: "30%". Must be >=
* 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-
* eviction/node-pressure-eviction/#eviction-signals
*
* @param string $nodefsInodesFree
*/
public function setNodefsInodesFree($nodefsInodesFree)
{
$this->nodefsInodesFree = $nodefsInodesFree;
}
/**
* @return string
*/
public function getNodefsInodesFree()
{
return $this->nodefsInodesFree;
}
/**
* Optional. Amount of PID available for pod allocation. Defines the amount of
* "pid.available" signal in kubelet. Default is unset, if not specified in
* the kubelet config. It takses percentage value for now. Sample format:
* "30%". Must be >= 10% and <= 50%. See
* https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
* eviction/#eviction-signals
*
* @param string $pidAvailable
*/
public function setPidAvailable($pidAvailable)
{
$this->pidAvailable = $pidAvailable;
}
/**
* @return string
*/
public function getPidAvailable()
{
return $this->pidAvailable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EvictionSignals::class, 'Google_Service_Container_EvictionSignals');
@@ -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\Container;
class ExclusionUntilEndOfSupport extends \Google\Model
{
/**
* Optional. Indicates whether the exclusion is enabled.
*
* @var bool
*/
public $enabled;
/**
* Output only. The end time of the maintenance exclusion. It is output only.
* It is the cluster control plane version's end of support time, or end of
* extended support time when the cluster is on extended support channel.
*
* @var string
*/
public $endTime;
/**
* Output only. The start time of the maintenance exclusion. It is output
* only. It is the exclusion creation time.
*
* @var string
*/
public $startTime;
/**
* Optional. Indicates whether the exclusion is enabled.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* Output only. The end time of the maintenance exclusion. It is output only.
* It is the cluster control plane version's end of support time, or end of
* extended support time when the cluster is on extended support channel.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. The start time of the maintenance exclusion. It is output
* only. It is the exclusion creation time.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExclusionUntilEndOfSupport::class, 'Google_Service_Container_ExclusionUntilEndOfSupport');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class FastSocket extends \Google\Model
{
/**
* Whether Fast Socket features are enabled in the node pool.
*
* @var bool
*/
public $enabled;
/**
* Whether Fast Socket features are enabled in the node pool.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FastSocket::class, 'Google_Service_Container_FastSocket');
@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class Filter extends \Google\Collection
{
protected $collection_key = 'eventType';
/**
* Event types to allowlist.
*
* @var string[]
*/
public $eventType;
/**
* Event types to allowlist.
*
* @param string[] $eventType
*/
public function setEventType($eventType)
{
$this->eventType = $eventType;
}
/**
* @return string[]
*/
public function getEventType()
{
return $this->eventType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Filter::class, 'Google_Service_Container_Filter');
+132
View File
@@ -0,0 +1,132 @@
<?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\Container;
class Fleet extends \Google\Model
{
/**
* The MembershipType is not set.
*/
public const MEMBERSHIP_TYPE_MEMBERSHIP_TYPE_UNSPECIFIED = 'MEMBERSHIP_TYPE_UNSPECIFIED';
/**
* The membership supports only lightweight compatible features.
*/
public const MEMBERSHIP_TYPE_LIGHTWEIGHT = 'LIGHTWEIGHT';
/**
* Output only. The full resource name of the registered fleet membership of
* the cluster, in the format
* `//gkehub.googleapis.com/projects/locations/memberships`.
*
* @var string
*/
public $membership;
/**
* The type of the cluster's fleet membership.
*
* @var string
*/
public $membershipType;
/**
* Output only. Whether the cluster has been registered through the fleet API.
*
* @var bool
*/
public $preRegistered;
/**
* The Fleet host project(project ID or project number) where this cluster
* will be registered to. This field cannot be changed after the cluster has
* been registered.
*
* @var string
*/
public $project;
/**
* Output only. The full resource name of the registered fleet membership of
* the cluster, in the format
* `//gkehub.googleapis.com/projects/locations/memberships`.
*
* @param string $membership
*/
public function setMembership($membership)
{
$this->membership = $membership;
}
/**
* @return string
*/
public function getMembership()
{
return $this->membership;
}
/**
* The type of the cluster's fleet membership.
*
* Accepted values: MEMBERSHIP_TYPE_UNSPECIFIED, LIGHTWEIGHT
*
* @param self::MEMBERSHIP_TYPE_* $membershipType
*/
public function setMembershipType($membershipType)
{
$this->membershipType = $membershipType;
}
/**
* @return self::MEMBERSHIP_TYPE_*
*/
public function getMembershipType()
{
return $this->membershipType;
}
/**
* Output only. Whether the cluster has been registered through the fleet API.
*
* @param bool $preRegistered
*/
public function setPreRegistered($preRegistered)
{
$this->preRegistered = $preRegistered;
}
/**
* @return bool
*/
public function getPreRegistered()
{
return $this->preRegistered;
}
/**
* The Fleet host project(project ID or project number) where this cluster
* will be registered to. This field cannot be changed after the cluster has
* been registered.
*
* @param string $project
*/
public function setProject($project)
{
$this->project = $project;
}
/**
* @return string
*/
public function getProject()
{
return $this->project;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Fleet::class, 'Google_Service_Container_Fleet');
@@ -0,0 +1,52 @@
<?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\Container;
class GCPSecretManagerCertificateConfig extends \Google\Model
{
/**
* Secret URI, in the form
* "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION". Version can
* be fixed (e.g. "2") or "latest"
*
* @var string
*/
public $secretUri;
/**
* Secret URI, in the form
* "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION". Version can
* be fixed (e.g. "2") or "latest"
*
* @param string $secretUri
*/
public function setSecretUri($secretUri)
{
$this->secretUri = $secretUri;
}
/**
* @return string
*/
public function getSecretUri()
{
return $this->secretUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GCPSecretManagerCertificateConfig::class, 'Google_Service_Container_GCPSecretManagerCertificateConfig');
@@ -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\Container;
class GPUDirectConfig extends \Google\Model
{
/**
* Default value. No GPU Direct strategy is enabled on the node.
*/
public const GPU_DIRECT_STRATEGY_GPU_DIRECT_STRATEGY_UNSPECIFIED = 'GPU_DIRECT_STRATEGY_UNSPECIFIED';
/**
* GPUDirect-RDMA on A3 Ultra, and A4 machine types
*/
public const GPU_DIRECT_STRATEGY_RDMA = 'RDMA';
/**
* The type of GPU direct strategy to enable on the node pool.
*
* @var string
*/
public $gpuDirectStrategy;
/**
* The type of GPU direct strategy to enable on the node pool.
*
* Accepted values: GPU_DIRECT_STRATEGY_UNSPECIFIED, RDMA
*
* @param self::GPU_DIRECT_STRATEGY_* $gpuDirectStrategy
*/
public function setGpuDirectStrategy($gpuDirectStrategy)
{
$this->gpuDirectStrategy = $gpuDirectStrategy;
}
/**
* @return self::GPU_DIRECT_STRATEGY_*
*/
public function getGpuDirectStrategy()
{
return $this->gpuDirectStrategy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GPUDirectConfig::class, 'Google_Service_Container_GPUDirectConfig');
@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class GPUDriverInstallationConfig extends \Google\Model
{
/**
* Default value is to not install any GPU driver.
*/
public const GPU_DRIVER_VERSION_GPU_DRIVER_VERSION_UNSPECIFIED = 'GPU_DRIVER_VERSION_UNSPECIFIED';
/**
* Disable GPU driver auto installation and needs manual installation
*/
public const GPU_DRIVER_VERSION_INSTALLATION_DISABLED = 'INSTALLATION_DISABLED';
/**
* "Default" GPU driver in COS and Ubuntu.
*/
public const GPU_DRIVER_VERSION_DEFAULT = 'DEFAULT';
/**
* "Latest" GPU driver in COS.
*/
public const GPU_DRIVER_VERSION_LATEST = 'LATEST';
/**
* Mode for how the GPU driver is installed.
*
* @var string
*/
public $gpuDriverVersion;
/**
* Mode for how the GPU driver is installed.
*
* Accepted values: GPU_DRIVER_VERSION_UNSPECIFIED, INSTALLATION_DISABLED,
* DEFAULT, LATEST
*
* @param self::GPU_DRIVER_VERSION_* $gpuDriverVersion
*/
public function setGpuDriverVersion($gpuDriverVersion)
{
$this->gpuDriverVersion = $gpuDriverVersion;
}
/**
* @return self::GPU_DRIVER_VERSION_*
*/
public function getGpuDriverVersion()
{
return $this->gpuDriverVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GPUDriverInstallationConfig::class, 'Google_Service_Container_GPUDriverInstallationConfig');
@@ -0,0 +1,84 @@
<?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\Container;
class GPUSharingConfig extends \Google\Model
{
/**
* Default value.
*/
public const GPU_SHARING_STRATEGY_GPU_SHARING_STRATEGY_UNSPECIFIED = 'GPU_SHARING_STRATEGY_UNSPECIFIED';
/**
* GPUs are time-shared between containers.
*/
public const GPU_SHARING_STRATEGY_TIME_SHARING = 'TIME_SHARING';
/**
* GPUs are shared between containers with NVIDIA MPS.
*/
public const GPU_SHARING_STRATEGY_MPS = 'MPS';
/**
* The type of GPU sharing strategy to enable on the GPU node.
*
* @var string
*/
public $gpuSharingStrategy;
/**
* The max number of containers that can share a physical GPU.
*
* @var string
*/
public $maxSharedClientsPerGpu;
/**
* The type of GPU sharing strategy to enable on the GPU node.
*
* Accepted values: GPU_SHARING_STRATEGY_UNSPECIFIED, TIME_SHARING, MPS
*
* @param self::GPU_SHARING_STRATEGY_* $gpuSharingStrategy
*/
public function setGpuSharingStrategy($gpuSharingStrategy)
{
$this->gpuSharingStrategy = $gpuSharingStrategy;
}
/**
* @return self::GPU_SHARING_STRATEGY_*
*/
public function getGpuSharingStrategy()
{
return $this->gpuSharingStrategy;
}
/**
* The max number of containers that can share a physical GPU.
*
* @param string $maxSharedClientsPerGpu
*/
public function setMaxSharedClientsPerGpu($maxSharedClientsPerGpu)
{
$this->maxSharedClientsPerGpu = $maxSharedClientsPerGpu;
}
/**
* @return string
*/
public function getMaxSharedClientsPerGpu()
{
return $this->maxSharedClientsPerGpu;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GPUSharingConfig::class, 'Google_Service_Container_GPUSharingConfig');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class GatewayAPIConfig extends \Google\Model
{
/**
* Default value.
*/
public const CHANNEL_CHANNEL_UNSPECIFIED = 'CHANNEL_UNSPECIFIED';
/**
* Gateway API support is disabled
*/
public const CHANNEL_CHANNEL_DISABLED = 'CHANNEL_DISABLED';
/**
* Deprecated: use CHANNEL_STANDARD instead. Gateway API support is enabled,
* experimental CRDs are installed
*
* @deprecated
*/
public const CHANNEL_CHANNEL_EXPERIMENTAL = 'CHANNEL_EXPERIMENTAL';
/**
* Gateway API support is enabled, standard CRDs are installed
*/
public const CHANNEL_CHANNEL_STANDARD = 'CHANNEL_STANDARD';
/**
* The Gateway API release channel to use for Gateway API.
*
* @var string
*/
public $channel;
/**
* The Gateway API release channel to use for Gateway API.
*
* Accepted values: CHANNEL_UNSPECIFIED, CHANNEL_DISABLED,
* CHANNEL_EXPERIMENTAL, CHANNEL_STANDARD
*
* @param self::CHANNEL_* $channel
*/
public function setChannel($channel)
{
$this->channel = $channel;
}
/**
* @return self::CHANNEL_*
*/
public function getChannel()
{
return $this->channel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GatewayAPIConfig::class, 'Google_Service_Container_GatewayAPIConfig');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class GcePersistentDiskCsiDriverConfig extends \Google\Model
{
/**
* Whether the Compute Engine PD CSI driver is enabled for this cluster.
*
* @var bool
*/
public $enabled;
/**
* Whether the Compute Engine PD CSI driver is enabled for this cluster.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcePersistentDiskCsiDriverConfig::class, 'Google_Service_Container_GcePersistentDiskCsiDriverConfig');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class GcfsConfig extends \Google\Model
{
/**
* Whether to use GCFS.
*
* @var bool
*/
public $enabled;
/**
* Whether to use GCFS.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcfsConfig::class, 'Google_Service_Container_GcfsConfig');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class GcpFilestoreCsiDriverConfig extends \Google\Model
{
/**
* Whether the Filestore CSI driver is enabled for this cluster.
*
* @var bool
*/
public $enabled;
/**
* Whether the Filestore CSI driver is enabled for this cluster.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcpFilestoreCsiDriverConfig::class, 'Google_Service_Container_GcpFilestoreCsiDriverConfig');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class GcsFuseCsiDriverConfig extends \Google\Model
{
/**
* Whether the Cloud Storage Fuse CSI driver is enabled for this cluster.
*
* @var bool
*/
public $enabled;
/**
* Whether the Cloud Storage Fuse CSI driver is enabled for this cluster.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcsFuseCsiDriverConfig::class, 'Google_Service_Container_GcsFuseCsiDriverConfig');
@@ -0,0 +1,65 @@
<?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\Container;
class GetJSONWebKeysResponse extends \Google\Collection
{
protected $collection_key = 'keys';
protected $cacheHeaderType = HttpCacheControlResponseHeader::class;
protected $cacheHeaderDataType = '';
protected $keysType = Jwk::class;
protected $keysDataType = 'array';
/**
* For HTTP requests, this field is automatically extracted into the Cache-
* Control HTTP header.
*
* @param HttpCacheControlResponseHeader $cacheHeader
*/
public function setCacheHeader(HttpCacheControlResponseHeader $cacheHeader)
{
$this->cacheHeader = $cacheHeader;
}
/**
* @return HttpCacheControlResponseHeader
*/
public function getCacheHeader()
{
return $this->cacheHeader;
}
/**
* The public component of the keys used by the cluster to sign token
* requests.
*
* @param Jwk[] $keys
*/
public function setKeys($keys)
{
$this->keys = $keys;
}
/**
* @return Jwk[]
*/
public function getKeys()
{
return $this->keys;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetJSONWebKeysResponse::class, 'Google_Service_Container_GetJSONWebKeysResponse');
@@ -0,0 +1,208 @@
<?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\Container;
class GetOpenIDConfigResponse extends \Google\Collection
{
protected $collection_key = 'subject_types_supported';
protected $internal_gapi_mappings = [
"claimsSupported" => "claims_supported",
"grantTypes" => "grant_types",
"idTokenSigningAlgValuesSupported" => "id_token_signing_alg_values_supported",
"jwksUri" => "jwks_uri",
"responseTypesSupported" => "response_types_supported",
"subjectTypesSupported" => "subject_types_supported",
];
protected $cacheHeaderType = HttpCacheControlResponseHeader::class;
protected $cacheHeaderDataType = '';
/**
* Supported claims.
*
* @var string[]
*/
public $claimsSupported;
/**
* Supported grant types.
*
* @var string[]
*/
public $grantTypes;
/**
* supported ID Token signing Algorithms.
*
* @var string[]
*/
public $idTokenSigningAlgValuesSupported;
/**
* OIDC Issuer.
*
* @var string
*/
public $issuer;
/**
* JSON Web Key uri.
*
* @var string
*/
public $jwksUri;
/**
* Supported response types.
*
* @var string[]
*/
public $responseTypesSupported;
/**
* Supported subject types.
*
* @var string[]
*/
public $subjectTypesSupported;
/**
* For HTTP requests, this field is automatically extracted into the Cache-
* Control HTTP header.
*
* @param HttpCacheControlResponseHeader $cacheHeader
*/
public function setCacheHeader(HttpCacheControlResponseHeader $cacheHeader)
{
$this->cacheHeader = $cacheHeader;
}
/**
* @return HttpCacheControlResponseHeader
*/
public function getCacheHeader()
{
return $this->cacheHeader;
}
/**
* Supported claims.
*
* @param string[] $claimsSupported
*/
public function setClaimsSupported($claimsSupported)
{
$this->claimsSupported = $claimsSupported;
}
/**
* @return string[]
*/
public function getClaimsSupported()
{
return $this->claimsSupported;
}
/**
* Supported grant types.
*
* @param string[] $grantTypes
*/
public function setGrantTypes($grantTypes)
{
$this->grantTypes = $grantTypes;
}
/**
* @return string[]
*/
public function getGrantTypes()
{
return $this->grantTypes;
}
/**
* supported ID Token signing Algorithms.
*
* @param string[] $idTokenSigningAlgValuesSupported
*/
public function setIdTokenSigningAlgValuesSupported($idTokenSigningAlgValuesSupported)
{
$this->idTokenSigningAlgValuesSupported = $idTokenSigningAlgValuesSupported;
}
/**
* @return string[]
*/
public function getIdTokenSigningAlgValuesSupported()
{
return $this->idTokenSigningAlgValuesSupported;
}
/**
* OIDC Issuer.
*
* @param string $issuer
*/
public function setIssuer($issuer)
{
$this->issuer = $issuer;
}
/**
* @return string
*/
public function getIssuer()
{
return $this->issuer;
}
/**
* JSON Web Key uri.
*
* @param string $jwksUri
*/
public function setJwksUri($jwksUri)
{
$this->jwksUri = $jwksUri;
}
/**
* @return string
*/
public function getJwksUri()
{
return $this->jwksUri;
}
/**
* Supported response types.
*
* @param string[] $responseTypesSupported
*/
public function setResponseTypesSupported($responseTypesSupported)
{
$this->responseTypesSupported = $responseTypesSupported;
}
/**
* @return string[]
*/
public function getResponseTypesSupported()
{
return $this->responseTypesSupported;
}
/**
* Supported subject types.
*
* @param string[] $subjectTypesSupported
*/
public function setSubjectTypesSupported($subjectTypesSupported)
{
$this->subjectTypesSupported = $subjectTypesSupported;
}
/**
* @return string[]
*/
public function getSubjectTypesSupported()
{
return $this->subjectTypesSupported;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetOpenIDConfigResponse::class, 'Google_Service_Container_GetOpenIDConfigResponse');
@@ -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\Container;
class GkeAutoUpgradeConfig extends \Google\Model
{
/**
* PATCH_MODE_UNSPECIFIED defaults to using the upgrade target from the
* channel's patch upgrade targets as the upgrade target for the version.
*/
public const PATCH_MODE_PATCH_MODE_UNSPECIFIED = 'PATCH_MODE_UNSPECIFIED';
/**
* ACCELERATED denotes that the latest patch build in the channel should be
* used as the upgrade target for the version.
*/
public const PATCH_MODE_ACCELERATED = 'ACCELERATED';
/**
* PatchMode specifies how auto upgrade patch builds should be selected.
*
* @var string
*/
public $patchMode;
/**
* PatchMode specifies how auto upgrade patch builds should be selected.
*
* Accepted values: PATCH_MODE_UNSPECIFIED, ACCELERATED
*
* @param self::PATCH_MODE_* $patchMode
*/
public function setPatchMode($patchMode)
{
$this->patchMode = $patchMode;
}
/**
* @return self::PATCH_MODE_*
*/
public function getPatchMode()
{
return $this->patchMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GkeAutoUpgradeConfig::class, 'Google_Service_Container_GkeAutoUpgradeConfig');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class GkeBackupAgentConfig extends \Google\Model
{
/**
* Whether the Backup for GKE agent is enabled for this cluster.
*
* @var bool
*/
public $enabled;
/**
* Whether the Backup for GKE agent is enabled for this cluster.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GkeBackupAgentConfig::class, 'Google_Service_Container_GkeBackupAgentConfig');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class HighScaleCheckpointingConfig extends \Google\Model
{
/**
* Whether the High Scale Checkpointing is enabled for this cluster.
*
* @var bool
*/
public $enabled;
/**
* Whether the High Scale Checkpointing is enabled for this cluster.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HighScaleCheckpointingConfig::class, 'Google_Service_Container_HighScaleCheckpointingConfig');
@@ -0,0 +1,52 @@
<?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\Container;
class HorizontalPodAutoscaling extends \Google\Model
{
/**
* Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
* When enabled, it ensures that metrics are collected into Stackdriver
* Monitoring.
*
* @var bool
*/
public $disabled;
/**
* Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
* When enabled, it ensures that metrics are collected into Stackdriver
* Monitoring.
*
* @param bool $disabled
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HorizontalPodAutoscaling::class, 'Google_Service_Container_HorizontalPodAutoscaling');
@@ -0,0 +1,195 @@
<?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\Container;
class HostConfig extends \Google\Collection
{
protected $collection_key = 'header';
protected $caType = CertificateConfig::class;
protected $caDataType = 'array';
/**
* Capabilities represent the capabilities of the registry host, specifying
* what operations a host is capable of performing. If not set, containerd
* enables all capabilities by default.
*
* @var string[]
*/
public $capabilities;
protected $clientType = CertificateConfigPair::class;
protected $clientDataType = 'array';
/**
* Specifies the maximum duration allowed for a connection attempt to
* complete. A shorter timeout helps reduce delays when falling back to the
* original registry if the mirror is unreachable. Maximum allowed value is
* 180s. If not set, containerd sets default 30s. The value should be a
* decimal number of seconds with an `s` suffix.
*
* @var string
*/
public $dialTimeout;
protected $headerType = RegistryHeader::class;
protected $headerDataType = 'array';
/**
* Host configures the registry host/mirror. It supports fully qualified
* domain names (FQDNs) and IP addresses. Specifying scheme, port or path is
* supported. Scheme can only be http or https. Wildcards are NOT supported.
* Examples: - `my.customdomain.com` - `https://my.customdomain.com/path` -
* `10.0.1.2:5000`
*
* @var string
*/
public $host;
/**
* OverridePath is used to indicate the host's API root endpoint is defined in
* the URL path rather than by the API specification. This may be used with
* non-compliant OCI registries which are missing the /v2 prefix. If not set,
* containerd sets default false.
*
* @var bool
*/
public $overridePath;
/**
* CA configures the registry host certificate.
*
* @param CertificateConfig[] $ca
*/
public function setCa($ca)
{
$this->ca = $ca;
}
/**
* @return CertificateConfig[]
*/
public function getCa()
{
return $this->ca;
}
/**
* Capabilities represent the capabilities of the registry host, specifying
* what operations a host is capable of performing. If not set, containerd
* enables all capabilities by default.
*
* @param string[] $capabilities
*/
public function setCapabilities($capabilities)
{
$this->capabilities = $capabilities;
}
/**
* @return string[]
*/
public function getCapabilities()
{
return $this->capabilities;
}
/**
* Client configures the registry host client certificate and key.
*
* @param CertificateConfigPair[] $client
*/
public function setClient($client)
{
$this->client = $client;
}
/**
* @return CertificateConfigPair[]
*/
public function getClient()
{
return $this->client;
}
/**
* Specifies the maximum duration allowed for a connection attempt to
* complete. A shorter timeout helps reduce delays when falling back to the
* original registry if the mirror is unreachable. Maximum allowed value is
* 180s. If not set, containerd sets default 30s. The value should be a
* decimal number of seconds with an `s` suffix.
*
* @param string $dialTimeout
*/
public function setDialTimeout($dialTimeout)
{
$this->dialTimeout = $dialTimeout;
}
/**
* @return string
*/
public function getDialTimeout()
{
return $this->dialTimeout;
}
/**
* Header configures the registry host headers.
*
* @param RegistryHeader[] $header
*/
public function setHeader($header)
{
$this->header = $header;
}
/**
* @return RegistryHeader[]
*/
public function getHeader()
{
return $this->header;
}
/**
* Host configures the registry host/mirror. It supports fully qualified
* domain names (FQDNs) and IP addresses. Specifying scheme, port or path is
* supported. Scheme can only be http or https. Wildcards are NOT supported.
* Examples: - `my.customdomain.com` - `https://my.customdomain.com/path` -
* `10.0.1.2:5000`
*
* @param string $host
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* OverridePath is used to indicate the host's API root endpoint is defined in
* the URL path rather than by the API specification. This may be used with
* non-compliant OCI registries which are missing the /v2 prefix. If not set,
* containerd sets default false.
*
* @param bool $overridePath
*/
public function setOverridePath($overridePath)
{
$this->overridePath = $overridePath;
}
/**
* @return bool
*/
public function getOverridePath()
{
return $this->overridePath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HostConfig::class, 'Google_Service_Container_HostConfig');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class HttpCacheControlResponseHeader extends \Google\Model
{
/**
* 14.6 response cache age, in seconds since the response is generated
*
* @var string
*/
public $age;
/**
* 14.9 request and response directives
*
* @var string
*/
public $directive;
/**
* 14.21 response cache expires, in RFC 1123 date format
*
* @var string
*/
public $expires;
/**
* 14.6 response cache age, in seconds since the response is generated
*
* @param string $age
*/
public function setAge($age)
{
$this->age = $age;
}
/**
* @return string
*/
public function getAge()
{
return $this->age;
}
/**
* 14.9 request and response directives
*
* @param string $directive
*/
public function setDirective($directive)
{
$this->directive = $directive;
}
/**
* @return string
*/
public function getDirective()
{
return $this->directive;
}
/**
* 14.21 response cache expires, in RFC 1123 date format
*
* @param string $expires
*/
public function setExpires($expires)
{
$this->expires = $expires;
}
/**
* @return string
*/
public function getExpires()
{
return $this->expires;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpCacheControlResponseHeader::class, 'Google_Service_Container_HttpCacheControlResponseHeader');
@@ -0,0 +1,52 @@
<?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\Container;
class HttpLoadBalancing extends \Google\Model
{
/**
* Whether the HTTP Load Balancing controller is enabled in the cluster. When
* enabled, it runs a small pod in the cluster that manages the load
* balancers.
*
* @var bool
*/
public $disabled;
/**
* Whether the HTTP Load Balancing controller is enabled in the cluster. When
* enabled, it runs a small pod in the cluster that manages the load
* balancers.
*
* @param bool $disabled
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpLoadBalancing::class, 'Google_Service_Container_HttpLoadBalancing');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class HugepagesConfig extends \Google\Model
{
/**
* Optional. Amount of 1G hugepages
*
* @var int
*/
public $hugepageSize1g;
/**
* Optional. Amount of 2M hugepages
*
* @var int
*/
public $hugepageSize2m;
/**
* Optional. Amount of 1G hugepages
*
* @param int $hugepageSize1g
*/
public function setHugepageSize1g($hugepageSize1g)
{
$this->hugepageSize1g = $hugepageSize1g;
}
/**
* @return int
*/
public function getHugepageSize1g()
{
return $this->hugepageSize1g;
}
/**
* Optional. Amount of 2M hugepages
*
* @param int $hugepageSize2m
*/
public function setHugepageSize2m($hugepageSize2m)
{
$this->hugepageSize2m = $hugepageSize2m;
}
/**
* @return int
*/
public function getHugepageSize2m()
{
return $this->hugepageSize2m;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HugepagesConfig::class, 'Google_Service_Container_HugepagesConfig');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Container;
class ILBSubsettingConfig extends \Google\Model
{
/**
* Enables l4 ILB subsetting for this cluster.
*
* @var bool
*/
public $enabled;
/**
* Enables l4 ILB subsetting for this cluster.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ILBSubsettingConfig::class, 'Google_Service_Container_ILBSubsettingConfig');

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