📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 ArchiveSource.php
▶ Open 📄 View Source
🐘 Backend.php
▶ Open 📄 View Source
🐘 Build.php
▶ Open 📄 View Source
🐘 BuildSource.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 Codebase.php
▶ Open 📄 View Source
🐘 CodebaseSource.php
▶ Open 📄 View Source
🐘 Config.php
▶ Open 📄 View Source
🐘 ContainerSource.php
▶ Open 📄 View Source
🐘 CustomDomainOperationMetadata.php
▶ Open 📄 View Source
🐘 CustomDomainStatus.php
▶ Open 📄 View Source
🐘 DnsRecord.php
▶ Open 📄 View Source
🐘 DnsRecordSet.php
▶ Open 📄 View Source
🐘 DnsUpdates.php
▶ Open 📄 View Source
🐘 Domain.php
▶ Open 📄 View Source
🐘 DomainOperationMetadata.php
▶ Open 📄 View Source
🐘 EnvironmentVariable.php
▶ Open 📄 View Source
🐘 Error.php
▶ Open 📄 View Source
🐘 FirebaseapphostingEmpty.php
▶ Open 📄 View Source
🐘 ListBackendsResponse.php
▶ Open 📄 View Source
🐘 ListBuildsResponse.php
▶ Open 📄 View Source
🐘 ListDomainsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListRolloutsResponse.php
▶ Open 📄 View Source
🐘 LiveMigrationStep.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 ManagedResource.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Path.php
▶ Open 📄 View Source
🐘 Redirect.php
▶ Open 📄 View Source
🐘 Rollout.php
▶ Open 📄 View Source
🐘 RolloutPolicy.php
▶ Open 📄 View Source
🐘 RunConfig.php
▶ Open 📄 View Source
🐘 RunService.php
▶ Open 📄 View Source
🐘 ServingBehavior.php
▶ Open 📄 View Source
🐘 SourceUserMetadata.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Traffic.php
▶ Open 📄 View Source
🐘 TrafficSet.php
▶ Open 📄 View Source
🐘 TrafficSplit.php
▶ Open 📄 View Source
🐘 UserMetadata.php
▶ Open 📄 View Source

📄 Source: LiveMigrationStep.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\FirebaseAppHosting;

class LiveMigrationStep extends \Google\Collection
{
  /**
   * The step's state is unspecified. The message is invalid if this is
   * unspecified.
   */
  public const STEP_STATE_STEP_STATE_UNSPECIFIED = 'STEP_STATE_UNSPECIFIED';
  /**
   * App Hosting doesn't have enough information to construct the step yet.
   * Complete any prior steps and/or resolve this step's issue to proceed.
   */
  public const STEP_STATE_PREPARING = 'PREPARING';
  /**
   * The step's state is pending. Complete prior steps before working on a
   * `PENDING` step.
   */
  public const STEP_STATE_PENDING = 'PENDING';
  /**
   * The step is incomplete. You should complete any `dnsUpdates` changes to
   * complete it.
   */
  public const STEP_STATE_INCOMPLETE = 'INCOMPLETE';
  /**
   * You've done your part to update records and present challenges as
   * necessary. App Hosting is now completing background processes to complete
   * the step, e.g. minting an SSL cert for your domain.
   */
  public const STEP_STATE_PROCESSING = 'PROCESSING';
  /**
   * The step is complete. You've already made the necessary changes to your
   * domain and/or prior hosting service to advance to the next step. Once all
   * steps are complete, App Hosting is ready to serve secure content on your
   * domain.
   */
  public const STEP_STATE_COMPLETE = 'COMPLETE';
  protected $collection_key = 'relevantDomainStates';
  protected $dnsUpdatesType = DnsUpdates::class;
  protected $dnsUpdatesDataType = 'array';
  protected $issuesType = Status::class;
  protected $issuesDataType = 'array';
  /**
   * Output only. One or more states from the `CustomDomainStatus` of the
   * migrating domain that this step is attempting to make ACTIVE. For example,
   * if the step is attempting to mint an SSL certificate, this field will
   * include `CERT_STATE`.
   *
   * @var string[]
   */
  public $relevantDomainStates;
  /**
   * Output only. The state of the live migration step, indicates whether you
   * should work to complete the step now, in the future, or have already
   * completed it.
   *
   * @var string
   */
  public $stepState;

  /**
   * Output only. DNS updates to facilitate your domain's zero-downtime
   * migration to App Hosting.
   *
   * @param DnsUpdates[] $dnsUpdates
   */
  public function setDnsUpdates($dnsUpdates)
  {
    $this->dnsUpdates = $dnsUpdates;
  }
  /**
   * @return DnsUpdates[]
   */
  public function getDnsUpdates()
  {
    return $this->dnsUpdates;
  }
  /**
   * Output only. Issues that prevent the current step from completing.
   *
   * @param Status[] $issues
   */
  public function setIssues($issues)
  {
    $this->issues = $issues;
  }
  /**
   * @return Status[]
   */
  public function getIssues()
  {
    return $this->issues;
  }
  /**
   * Output only. One or more states from the `CustomDomainStatus` of the
   * migrating domain that this step is attempting to make ACTIVE. For example,
   * if the step is attempting to mint an SSL certificate, this field will
   * include `CERT_STATE`.
   *
   * @param string[] $relevantDomainStates
   */
  public function setRelevantDomainStates($relevantDomainStates)
  {
    $this->relevantDomainStates = $relevantDomainStates;
  }
  /**
   * @return string[]
   */
  public function getRelevantDomainStates()
  {
    return $this->relevantDomainStates;
  }
  /**
   * Output only. The state of the live migration step, indicates whether you
   * should work to complete the step now, in the future, or have already
   * completed it.
   *
   * Accepted values: STEP_STATE_UNSPECIFIED, PREPARING, PENDING, INCOMPLETE,
   * PROCESSING, COMPLETE
   *
   * @param self::STEP_STATE_* $stepState
   */
  public function setStepState($stepState)
  {
    $this->stepState = $stepState;
  }
  /**
   * @return self::STEP_STATE_*
   */
  public function getStepState()
  {
    return $this->stepState;
  }
}

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