📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AcceleratorConfig.php
▶ Open 📄 View Source
🐘 AccessConfig.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 BootDisk.php
▶ Open 📄 View Source
🐘 BootImage.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CheckAuthorizationRequest.php
▶ Open 📄 View Source
🐘 CheckAuthorizationResponse.php
▶ Open 📄 View Source
🐘 CheckInstanceUpgradabilityResponse.php
▶ Open 📄 View Source
🐘 ConfidentialInstanceConfig.php
▶ Open 📄 View Source
🐘 Config.php
▶ Open 📄 View Source
🐘 ContainerImage.php
▶ Open 📄 View Source
🐘 DataDisk.php
▶ Open 📄 View Source
🐘 DataprocParameters.php
▶ Open 📄 View Source
🐘 DefaultValues.php
▶ Open 📄 View Source
🐘 DiagnoseInstanceRequest.php
▶ Open 📄 View Source
🐘 DiagnoseRuntimeRequest.php
▶ Open 📄 View Source
🐘 DiagnosticConfig.php
▶ Open 📄 View Source
🐘 Disk.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 Environment.php
▶ Open 📄 View Source
🐘 Event.php
▶ Open 📄 View Source
🐘 Execution.php
▶ Open 📄 View Source
🐘 ExecutionTemplate.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 GPUDriverConfig.php
▶ Open 📄 View Source
🐘 GceSetup.php
▶ Open 📄 View Source
🐘 GenerateAccessTokenRequest.php
▶ Open 📄 View Source
🐘 GenerateAccessTokenResponse.php
▶ Open 📄 View Source
🐘 GetInstanceHealthResponse.php
▶ Open 📄 View Source
🐘 GuestOsFeature.php
▶ Open 📄 View Source
🐘 ImageRelease.php
▶ Open 📄 View Source
🐘 Instance.php
▶ Open 📄 View Source
🐘 InstanceConfig.php
▶ Open 📄 View Source
🐘 IsInstanceUpgradeableResponse.php
▶ Open 📄 View Source
🐘 ListEnvironmentsResponse.php
▶ Open 📄 View Source
🐘 ListExecutionsResponse.php
▶ Open 📄 View Source
🐘 ListInstancesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListRuntimesResponse.php
▶ Open 📄 View Source
🐘 ListSchedulesResponse.php
▶ Open 📄 View Source
🐘 LocalDisk.php
▶ Open 📄 View Source
🐘 LocalDiskInitializeParams.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 NetworkInterface.php
▶ Open 📄 View Source
🐘 NotebooksEmpty.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 RefreshRuntimeTokenInternalRequest.php
▶ Open 📄 View Source
🐘 RefreshRuntimeTokenInternalResponse.php
▶ Open 📄 View Source
🐘 RegisterInstanceRequest.php
▶ Open 📄 View Source
🐘 ReportInstanceEventRequest.php
▶ Open 📄 View Source
🐘 ReportInstanceInfoRequest.php
▶ Open 📄 View Source
🐘 ReportInstanceInfoSystemRequest.php
▶ Open 📄 View Source
🐘 ReportRuntimeEventRequest.php
▶ Open 📄 View Source
🐘 ReservationAffinity.php
▶ Open 📄 View Source
🐘 ResetInstanceRequest.php
▶ Open 📄 View Source
🐘 ResetRuntimeRequest.php
▶ Open 📄 View Source
🐘 ResizeDiskRequest.php
▶ Open 📄 View Source
🐘 RestoreInstanceRequest.php
▶ Open 📄 View Source
🐘 RollbackInstanceRequest.php
▶ Open 📄 View Source
🐘 Runtime.php
▶ Open 📄 View Source
🐘 RuntimeAcceleratorConfig.php
▶ Open 📄 View Source
🐘 RuntimeAccessConfig.php
▶ Open 📄 View Source
🐘 RuntimeGuestOsFeature.php
▶ Open 📄 View Source
🐘 RuntimeMetrics.php
▶ Open 📄 View Source
🐘 RuntimeShieldedInstanceConfig.php
▶ Open 📄 View Source
🐘 RuntimeSoftwareConfig.php
▶ Open 📄 View Source
🐘 Schedule.php
▶ Open 📄 View Source
🐘 SchedulerAcceleratorConfig.php
▶ Open 📄 View Source
🐘 ServiceAccount.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 SetInstanceAcceleratorRequest.php
▶ Open 📄 View Source
🐘 SetInstanceLabelsRequest.php
▶ Open 📄 View Source
🐘 SetInstanceMachineTypeRequest.php
▶ Open 📄 View Source
🐘 ShieldedInstanceConfig.php
▶ Open 📄 View Source
🐘 Snapshot.php
▶ Open 📄 View Source
🐘 StartInstanceRequest.php
▶ Open 📄 View Source
🐘 StartRuntimeRequest.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StopInstanceRequest.php
▶ Open 📄 View Source
🐘 StopRuntimeRequest.php
▶ Open 📄 View Source
🐘 SupportedValues.php
▶ Open 📄 View Source
🐘 SwitchRuntimeRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TriggerScheduleRequest.php
▶ Open 📄 View Source
🐘 UpdateInstanceConfigRequest.php
▶ Open 📄 View Source
🐘 UpdateInstanceMetadataItemsRequest.php
▶ Open 📄 View Source
🐘 UpdateInstanceMetadataItemsResponse.php
▶ Open 📄 View Source
🐘 UpdateShieldedInstanceConfigRequest.php
▶ Open 📄 View Source
🐘 UpgradeHistoryEntry.php
▶ Open 📄 View Source
🐘 UpgradeInstanceInternalRequest.php
▶ Open 📄 View Source
🐘 UpgradeInstanceRequest.php
▶ Open 📄 View Source
🐘 UpgradeInstanceSystemRequest.php
▶ Open 📄 View Source
🐘 UpgradeRuntimeRequest.php
▶ Open 📄 View Source
🐘 VertexAIParameters.php
▶ Open 📄 View Source
🐘 VirtualMachine.php
▶ Open 📄 View Source
🐘 VirtualMachineConfig.php
▶ Open 📄 View Source
🐘 VmImage.php
▶ Open 📄 View Source

📄 Source: UpgradeHistoryEntry.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\AIPlatformNotebooks;

class UpgradeHistoryEntry extends \Google\Model
{
  /**
   * Operation is not specified.
   */
  public const ACTION_ACTION_UNSPECIFIED = 'ACTION_UNSPECIFIED';
  /**
   * Upgrade.
   */
  public const ACTION_UPGRADE = 'UPGRADE';
  /**
   * Rollback.
   */
  public const ACTION_ROLLBACK = 'ROLLBACK';
  /**
   * State is not specified.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The instance upgrade is started.
   */
  public const STATE_STARTED = 'STARTED';
  /**
   * The instance upgrade is succeeded.
   */
  public const STATE_SUCCEEDED = 'SUCCEEDED';
  /**
   * The instance upgrade is failed.
   */
  public const STATE_FAILED = 'FAILED';
  /**
   * Optional. Action. Rolloback or Upgrade.
   *
   * @var string
   */
  public $action;
  /**
   * Optional. The container image before this instance upgrade.
   *
   * @var string
   */
  public $containerImage;
  /**
   * Immutable. The time that this instance upgrade history entry is created.
   *
   * @var string
   */
  public $createTime;
  /**
   * Optional. The framework of this notebook instance.
   *
   * @var string
   */
  public $framework;
  /**
   * Optional. The snapshot of the boot disk of this notebook instance before
   * upgrade.
   *
   * @var string
   */
  public $snapshot;
  /**
   * Output only. The state of this instance upgrade history entry.
   *
   * @var string
   */
  public $state;
  /**
   * Optional. Target VM Version, like m63.
   *
   * @var string
   */
  public $targetVersion;
  /**
   * Optional. The version of the notebook instance before this upgrade.
   *
   * @var string
   */
  public $version;
  /**
   * Optional. The VM image before this instance upgrade.
   *
   * @var string
   */
  public $vmImage;

  /**
   * Optional. Action. Rolloback or Upgrade.
   *
   * Accepted values: ACTION_UNSPECIFIED, UPGRADE, ROLLBACK
   *
   * @param self::ACTION_* $action
   */
  public function setAction($action)
  {
    $this->action = $action;
  }
  /**
   * @return self::ACTION_*
   */
  public function getAction()
  {
    return $this->action;
  }
  /**
   * Optional. The container image before this instance upgrade.
   *
   * @param string $containerImage
   */
  public function setContainerImage($containerImage)
  {
    $this->containerImage = $containerImage;
  }
  /**
   * @return string
   */
  public function getContainerImage()
  {
    return $this->containerImage;
  }
  /**
   * Immutable. The time that this instance upgrade history entry is created.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Optional. The framework of this notebook instance.
   *
   * @param string $framework
   */
  public function setFramework($framework)
  {
    $this->framework = $framework;
  }
  /**
   * @return string
   */
  public function getFramework()
  {
    return $this->framework;
  }
  /**
   * Optional. The snapshot of the boot disk of this notebook instance before
   * upgrade.
   *
   * @param string $snapshot
   */
  public function setSnapshot($snapshot)
  {
    $this->snapshot = $snapshot;
  }
  /**
   * @return string
   */
  public function getSnapshot()
  {
    return $this->snapshot;
  }
  /**
   * Output only. The state of this instance upgrade history entry.
   *
   * Accepted values: STATE_UNSPECIFIED, STARTED, SUCCEEDED, FAILED
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Optional. Target VM Version, like m63.
   *
   * @param string $targetVersion
   */
  public function setTargetVersion($targetVersion)
  {
    $this->targetVersion = $targetVersion;
  }
  /**
   * @return string
   */
  public function getTargetVersion()
  {
    return $this->targetVersion;
  }
  /**
   * Optional. The version of the notebook instance before this upgrade.
   *
   * @param string $version
   */
  public function setVersion($version)
  {
    $this->version = $version;
  }
  /**
   * @return string
   */
  public function getVersion()
  {
    return $this->version;
  }
  /**
   * Optional. The VM image before this instance upgrade.
   *
   * @param string $vmImage
   */
  public function setVmImage($vmImage)
  {
    $this->vmImage = $vmImage;
  }
  /**
   * @return string
   */
  public function getVmImage()
  {
    return $this->vmImage;
  }
}

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