📂 File Browser

AgentAI/vendor/google/apiclient-services/src/VMwareEngine
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AcceleratePrivateCloudDeletionRequest.php
▶ Open 📄 View Source
🐘 Announcement.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 AutoscalingPolicy.php
▶ Open 📄 View Source
🐘 AutoscalingSettings.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 Cluster.php
▶ Open 📄 View Source
🐘 Constraints.php
▶ Open 📄 View Source
🐘 Credentials.php
▶ Open 📄 View Source
🐘 Datastore.php
▶ Open 📄 View Source
🐘 DatastoreMountConfig.php
▶ Open 📄 View Source
🐘 DatastoreNetwork.php
▶ Open 📄 View Source
🐘 DnsBindPermission.php
▶ Open 📄 View Source
🐘 DnsForwarding.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 ExternalAccessRule.php
▶ Open 📄 View Source
🐘 ExternalAddress.php
▶ Open 📄 View Source
🐘 FetchNetworkPolicyExternalAddressesResponse.php
▶ Open 📄 View Source
🐘 ForwardingRule.php
▶ Open 📄 View Source
🐘 GoogleFileService.php
▶ Open 📄 View Source
🐘 GoogleVmwareFileService.php
▶ Open 📄 View Source
🐘 GrantDnsBindPermissionRequest.php
▶ Open 📄 View Source
🐘 Hcx.php
▶ Open 📄 View Source
🐘 HcxActivationKey.php
▶ Open 📄 View Source
🐘 Interval.php
▶ Open 📄 View Source
🐘 IpRange.php
▶ Open 📄 View Source
🐘 ListAnnouncementsResponse.php
▶ Open 📄 View Source
🐘 ListClustersResponse.php
▶ Open 📄 View Source
🐘 ListDatastoresResponse.php
▶ Open 📄 View Source
🐘 ListExternalAccessRulesResponse.php
▶ Open 📄 View Source
🐘 ListExternalAddressesResponse.php
▶ Open 📄 View Source
🐘 ListHcxActivationKeysResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListLoggingServersResponse.php
▶ Open 📄 View Source
🐘 ListManagementDnsZoneBindingsResponse.php
▶ Open 📄 View Source
🐘 ListNetworkPeeringsResponse.php
▶ Open 📄 View Source
🐘 ListNetworkPoliciesResponse.php
▶ Open 📄 View Source
🐘 ListNodeTypesResponse.php
▶ Open 📄 View Source
🐘 ListNodesResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListPeeringRoutesResponse.php
▶ Open 📄 View Source
🐘 ListPrivateCloudsResponse.php
▶ Open 📄 View Source
🐘 ListPrivateConnectionPeeringRoutesResponse.php
▶ Open 📄 View Source
🐘 ListPrivateConnectionsResponse.php
▶ Open 📄 View Source
🐘 ListSubnetsResponse.php
▶ Open 📄 View Source
🐘 ListUpgradesResponse.php
▶ Open 📄 View Source
🐘 ListVmwareEngineNetworksResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LocationMetadata.php
▶ Open 📄 View Source
🐘 LoggingServer.php
▶ Open 📄 View Source
🐘 ManagementCluster.php
▶ Open 📄 View Source
🐘 ManagementDnsZoneBinding.php
▶ Open 📄 View Source
🐘 MountDatastoreRequest.php
▶ Open 📄 View Source
🐘 NetworkConfig.php
▶ Open 📄 View Source
🐘 NetworkPeering.php
▶ Open 📄 View Source
🐘 NetworkPolicy.php
▶ Open 📄 View Source
🐘 NetworkService.php
▶ Open 📄 View Source
🐘 NfsDatastore.php
▶ Open 📄 View Source
🐘 Node.php
▶ Open 📄 View Source
🐘 NodeType.php
▶ Open 📄 View Source
🐘 NodeTypeConfig.php
▶ Open 📄 View Source
🐘 Nsx.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 PeeringRoute.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 Principal.php
▶ Open 📄 View Source
🐘 PrivateCloud.php
▶ Open 📄 View Source
🐘 PrivateConnection.php
▶ Open 📄 View Source
🐘 RepairManagementDnsZoneBindingRequest.php
▶ Open 📄 View Source
🐘 ResetNsxCredentialsRequest.php
▶ Open 📄 View Source
🐘 ResetVcenterCredentialsRequest.php
▶ Open 📄 View Source
🐘 RevokeDnsBindPermissionRequest.php
▶ Open 📄 View Source
🐘 Schedule.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StretchedClusterConfig.php
▶ Open 📄 View Source
🐘 Subnet.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 ThirdPartyFileService.php
▶ Open 📄 View Source
🐘 Thresholds.php
▶ Open 📄 View Source
🐘 TimeOfDay.php
▶ Open 📄 View Source
🐘 TimeWindow.php
▶ Open 📄 View Source
🐘 UndeletePrivateCloudRequest.php
▶ Open 📄 View Source
🐘 UnmountDatastoreRequest.php
▶ Open 📄 View Source
🐘 Upgrade.php
▶ Open 📄 View Source
🐘 Vcenter.php
▶ Open 📄 View Source
🐘 VmwareEngineNetwork.php
▶ Open 📄 View Source
🐘 VmwareUpgradeComponent.php
▶ Open 📄 View Source
🐘 VmwareengineEmpty.php
▶ Open 📄 View Source
🐘 VpcNetwork.php
▶ Open 📄 View Source
🐘 WeeklyTimeInterval.php
▶ Open 📄 View Source

📄 Source: Upgrade.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\VMwareEngine;

class Upgrade extends \Google\Collection
{
  /**
   * The default value. This value should never be used.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The upgrade is scheduled but not started yet.
   */
  public const STATE_SCHEDULED = 'SCHEDULED';
  /**
   * The upgrade is currently in progress and has not completed yet.
   */
  public const STATE_ONGOING = 'ONGOING';
  /**
   * The upgrade completed successfully.
   */
  public const STATE_SUCCEEDED = 'SUCCEEDED';
  /**
   * The upgrade is currently paused.
   */
  public const STATE_PAUSED = 'PAUSED';
  /**
   * The upgrade failed.
   */
  public const STATE_FAILED = 'FAILED';
  /**
   * The upgrade is in process of being canceled.
   */
  public const STATE_CANCELLING = 'CANCELLING';
  /**
   * The upgrade is canceled.
   */
  public const STATE_CANCELLED = 'CANCELLED';
  /**
   * The upgrade is in process of being rescheduled.
   */
  public const STATE_RESCHEDULING = 'RESCHEDULING';
  /**
   * The default value. This value should never be used.
   */
  public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
  /**
   * Upgrade of vmware components when a major version is available. 7.0u2 ->
   * 7.0u3.
   */
  public const TYPE_VSPHERE_UPGRADE = 'VSPHERE_UPGRADE';
  /**
   * Patching of vmware components when a minor version is available. 7.0u2c ->
   * 7.0u2d.
   */
  public const TYPE_VSPHERE_PATCH = 'VSPHERE_PATCH';
  /**
   * Workarounds are hotfixes for vulnerabilities or issues applied to mitigate
   * the known vulnerability or issue until a patch or update is released. The
   * description of the upgrade will have more details.
   */
  public const TYPE_WORKAROUND = 'WORKAROUND';
  /**
   * Firmware upgrade for VMware product used in the private cloud.
   */
  public const TYPE_FIRMWARE_UPGRADE = 'FIRMWARE_UPGRADE';
  /**
   * Switch upgrade.
   */
  public const TYPE_SWITCH_UPGRADE = 'SWITCH_UPGRADE';
  /**
   * The upgrade type that doesn't fall into any other category.
   */
  public const TYPE_OTHER = 'OTHER';
  /**
   * Infrastructure upgrade in BM node maintenance.
   */
  public const TYPE_INFRASTRUCTURE_UPGRADE = 'INFRASTRUCTURE_UPGRADE';
  protected $collection_key = 'componentUpgrades';
  protected $componentUpgradesType = VmwareUpgradeComponent::class;
  protected $componentUpgradesDataType = 'array';
  /**
   * Output only. Output Only. Creation time of this resource.
   *
   * @var string
   */
  public $createTime;
  /**
   * Output only. Output Only. The description of the upgrade. This is used to
   * provide additional information about the private cloud upgrade, such as the
   * upgrade's purpose, the changes included in the upgrade, or any other
   * relevant information about the upgrade.
   *
   * @var string
   */
  public $description;
  /**
   * Output only. Output Only. End time of the upgrade.
   *
   * @var string
   */
  public $endTime;
  /**
   * Output only. Output Only. The estimated total duration of the upgrade. This
   * information can be used to plan or schedule upgrades to minimize
   * disruptions. Please note that the estimated duration is only an estimate.
   * The actual upgrade duration may vary.
   *
   * @var string
   */
  public $estimatedDuration;
  /**
   * The etag for the upgrade resource. If this is provided on update, it must
   * match the server's etag.
   *
   * @var string
   */
  public $etag;
  /**
   * Output only. Identifier. The resource name of the private cloud `Upgrade`.
   * Resource names are schemeless URIs that follow the conventions in
   * https://cloud.google.com/apis/design/resource_names. For example:
   * `projects/my-project/locations/us-west1-a/privateClouds/my-
   * cloud/upgrades/my-upgrade`
   *
   * @var string
   */
  public $name;
  protected $scheduleType = Schedule::class;
  protected $scheduleDataType = '';
  /**
   * Output only. Output Only. The start version
   *
   * @var string
   */
  public $startVersion;
  /**
   * Output only. The current state of the upgrade.
   *
   * @var string
   */
  public $state;
  /**
   * Output only. Output Only. The target version
   *
   * @var string
   */
  public $targetVersion;
  /**
   * Output only. Output Only. The type of upgrade.
   *
   * @var string
   */
  public $type;
  /**
   * Output only. System-generated unique identifier for the resource.
   *
   * @var string
   */
  public $uid;
  /**
   * Output only. Output Only. Last update time of this resource.
   *
   * @var string
   */
  public $updateTime;
  /**
   * Output only.
   *
   * @var string
   */
  public $version;

  /**
   * Output only. Output Only. The list of component upgrades.
   *
   * @param VmwareUpgradeComponent[] $componentUpgrades
   */
  public function setComponentUpgrades($componentUpgrades)
  {
    $this->componentUpgrades = $componentUpgrades;
  }
  /**
   * @return VmwareUpgradeComponent[]
   */
  public function getComponentUpgrades()
  {
    return $this->componentUpgrades;
  }
  /**
   * Output only. Output Only. Creation time of this resource.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Output only. Output Only. The description of the upgrade. This is used to
   * provide additional information about the private cloud upgrade, such as the
   * upgrade's purpose, the changes included in the upgrade, or any other
   * relevant information about the upgrade.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * Output only. Output Only. End time of the upgrade.
   *
   * @param string $endTime
   */
  public function setEndTime($endTime)
  {
    $this->endTime = $endTime;
  }
  /**
   * @return string
   */
  public function getEndTime()
  {
    return $this->endTime;
  }
  /**
   * Output only. Output Only. The estimated total duration of the upgrade. This
   * information can be used to plan or schedule upgrades to minimize
   * disruptions. Please note that the estimated duration is only an estimate.
   * The actual upgrade duration may vary.
   *
   * @param string $estimatedDuration
   */
  public function setEstimatedDuration($estimatedDuration)
  {
    $this->estimatedDuration = $estimatedDuration;
  }
  /**
   * @return string
   */
  public function getEstimatedDuration()
  {
    return $this->estimatedDuration;
  }
  /**
   * The etag for the upgrade resource. If this is provided on update, it must
   * match the server's etag.
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * Output only. Identifier. The resource name of the private cloud `Upgrade`.
   * Resource names are schemeless URIs that follow the conventions in
   * https://cloud.google.com/apis/design/resource_names. For example:
   * `projects/my-project/locations/us-west1-a/privateClouds/my-
   * cloud/upgrades/my-upgrade`
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Schedule details for the upgrade.
   *
   * @param Schedule $schedule
   */
  public function setSchedule(Schedule $schedule)
  {
    $this->schedule = $schedule;
  }
  /**
   * @return Schedule
   */
  public function getSchedule()
  {
    return $this->schedule;
  }
  /**
   * Output only. Output Only. The start version
   *
   * @param string $startVersion
   */
  public function setStartVersion($startVersion)
  {
    $this->startVersion = $startVersion;
  }
  /**
   * @return string
   */
  public function getStartVersion()
  {
    return $this->startVersion;
  }
  /**
   * Output only. The current state of the upgrade.
   *
   * Accepted values: STATE_UNSPECIFIED, SCHEDULED, ONGOING, SUCCEEDED, PAUSED,
   * FAILED, CANCELLING, CANCELLED, RESCHEDULING
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. Output Only. The target version
   *
   * @param string $targetVersion
   */
  public function setTargetVersion($targetVersion)
  {
    $this->targetVersion = $targetVersion;
  }
  /**
   * @return string
   */
  public function getTargetVersion()
  {
    return $this->targetVersion;
  }
  /**
   * Output only. Output Only. The type of upgrade.
   *
   * Accepted values: TYPE_UNSPECIFIED, VSPHERE_UPGRADE, VSPHERE_PATCH,
   * WORKAROUND, FIRMWARE_UPGRADE, SWITCH_UPGRADE, OTHER, INFRASTRUCTURE_UPGRADE
   *
   * @param self::TYPE_* $type
   */
  public function setType($type)
  {
    $this->type = $type;
  }
  /**
   * @return self::TYPE_*
   */
  public function getType()
  {
    return $this->type;
  }
  /**
   * Output only. System-generated unique identifier for the resource.
   *
   * @param string $uid
   */
  public function setUid($uid)
  {
    $this->uid = $uid;
  }
  /**
   * @return string
   */
  public function getUid()
  {
    return $this->uid;
  }
  /**
   * Output only. Output Only. Last update time of this resource.
   *
   * @param string $updateTime
   */
  public function setUpdateTime($updateTime)
  {
    $this->updateTime = $updateTime;
  }
  /**
   * @return string
   */
  public function getUpdateTime()
  {
    return $this->updateTime;
  }
  /**
   * Output only.
   *
   * @param string $version
   */
  public function setVersion($version)
  {
    $this->version = $version;
  }
  /**
   * @return string
   */
  public function getVersion()
  {
    return $this->version;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Upgrade::class, 'Google_Service_VMwareEngine_Upgrade');
← Back