📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 ApplyParametersRequest.php
▶ Open 📄 View Source
🐘 AssetLocation.php
▶ Open 📄 View Source
🐘 BlobstoreLocation.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CloudAsset.php
▶ Open 📄 View Source
🐘 CloudAssetComposition.php
▶ Open 📄 View Source
🐘 DailyCycle.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 DenyMaintenancePeriod.php
▶ Open 📄 View Source
🐘 DirectLocationAssignment.php
▶ Open 📄 View Source
🐘 ExtraParameter.php
▶ Open 📄 View Source
🐘 GetTagsRequest.php
▶ Open 📄 View Source
🐘 GetTagsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMemcacheV1LocationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMemcacheV1MaintenancePolicy.php
▶ Open 📄 View Source
🐘 GoogleCloudMemcacheV1OperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMemcacheV1UpgradeInstanceRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMemcacheV1ZoneMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1Instance.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata.php
▶ Open 📄 View Source
🐘 Instance.php
▶ Open 📄 View Source
🐘 InstanceMessage.php
▶ Open 📄 View Source
🐘 IsolationExpectations.php
▶ Open 📄 View Source
🐘 ListInstancesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LocationAssignment.php
▶ Open 📄 View Source
🐘 LocationData.php
▶ Open 📄 View Source
🐘 LocationMetadata.php
▶ Open 📄 View Source
🐘 MaintenancePolicy.php
▶ Open 📄 View Source
🐘 MaintenanceSchedule.php
▶ Open 📄 View Source
🐘 MaintenanceWindow.php
▶ Open 📄 View Source
🐘 MemcacheEmpty.php
▶ Open 📄 View Source
🐘 MemcacheParameters.php
▶ Open 📄 View Source
🐘 Node.php
▶ Open 📄 View Source
🐘 NodeConfig.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 PlacerLocation.php
▶ Open 📄 View Source
🐘 RegionalMigDistributionPolicy.php
▶ Open 📄 View Source
🐘 RequirementOverride.php
▶ Open 📄 View Source
🐘 RescheduleMaintenanceRequest.php
▶ Open 📄 View Source
🐘 Schedule.php
▶ Open 📄 View Source
🐘 SetTagsRequest.php
▶ Open 📄 View Source
🐘 SetTagsResponse.php
▶ Open 📄 View Source
🐘 SpannerLocation.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 TenantProjectProxy.php
▶ Open 📄 View Source
🐘 TimeOfDay.php
▶ Open 📄 View Source
🐘 UpdateParametersRequest.php
▶ Open 📄 View Source
🐘 UpdatePolicy.php
▶ Open 📄 View Source
🐘 WeeklyCycle.php
▶ Open 📄 View Source
🐘 WeeklyMaintenanceWindow.php
▶ Open 📄 View Source
🐘 ZoneConfiguration.php
▶ Open 📄 View Source
🐘 ZoneMetadata.php
▶ Open 📄 View Source

📄 Source: Node.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\CloudMemorystoreforMemcached;

class Node extends \Google\Model
{
  /**
   * Memcache version is not specified by customer
   */
  public const MEMCACHE_VERSION_MEMCACHE_VERSION_UNSPECIFIED = 'MEMCACHE_VERSION_UNSPECIFIED';
  /**
   * Memcached 1.5 version.
   */
  public const MEMCACHE_VERSION_MEMCACHE_1_5 = 'MEMCACHE_1_5';
  /**
   * Memcached 1.6.15 version.
   */
  public const MEMCACHE_VERSION_MEMCACHE_1_6_15 = 'MEMCACHE_1_6_15';
  /**
   * Node state is not set.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * Node is being created.
   */
  public const STATE_CREATING = 'CREATING';
  /**
   * Node has been created and ready to be used.
   */
  public const STATE_READY = 'READY';
  /**
   * Node is being deleted.
   */
  public const STATE_DELETING = 'DELETING';
  /**
   * Node is being updated.
   */
  public const STATE_UPDATING = 'UPDATING';
  /**
   * Output only. Hostname or IP address of the Memcached node used by the
   * clients to connect to the Memcached server on this node.
   *
   * @var string
   */
  public $host;
  /**
   * Output only. The full version of memcached server running on this node.
   * e.g. - memcached-1.5.16
   *
   * @var string
   */
  public $memcacheFullVersion;
  /**
   * Output only. Major version of memcached server running on this node, e.g.
   * MEMCACHE_1_5
   *
   * @var string
   */
  public $memcacheVersion;
  /**
   * Output only. Identifier of the Memcached node. The node id does not include
   * project or location like the Memcached instance name.
   *
   * @var string
   */
  public $nodeId;
  protected $parametersType = MemcacheParameters::class;
  protected $parametersDataType = '';
  /**
   * Output only. The port number of the Memcached server on this node.
   *
   * @var int
   */
  public $port;
  /**
   * Output only. Current state of the Memcached node.
   *
   * @var string
   */
  public $state;
  /**
   * Output only. Location (GCP Zone) for the Memcached node.
   *
   * @var string
   */
  public $zone;

  /**
   * Output only. Hostname or IP address of the Memcached node used by the
   * clients to connect to the Memcached server on this node.
   *
   * @param string $host
   */
  public function setHost($host)
  {
    $this->host = $host;
  }
  /**
   * @return string
   */
  public function getHost()
  {
    return $this->host;
  }
  /**
   * Output only. The full version of memcached server running on this node.
   * e.g. - memcached-1.5.16
   *
   * @param string $memcacheFullVersion
   */
  public function setMemcacheFullVersion($memcacheFullVersion)
  {
    $this->memcacheFullVersion = $memcacheFullVersion;
  }
  /**
   * @return string
   */
  public function getMemcacheFullVersion()
  {
    return $this->memcacheFullVersion;
  }
  /**
   * Output only. Major version of memcached server running on this node, e.g.
   * MEMCACHE_1_5
   *
   * Accepted values: MEMCACHE_VERSION_UNSPECIFIED, MEMCACHE_1_5,
   * MEMCACHE_1_6_15
   *
   * @param self::MEMCACHE_VERSION_* $memcacheVersion
   */
  public function setMemcacheVersion($memcacheVersion)
  {
    $this->memcacheVersion = $memcacheVersion;
  }
  /**
   * @return self::MEMCACHE_VERSION_*
   */
  public function getMemcacheVersion()
  {
    return $this->memcacheVersion;
  }
  /**
   * Output only. Identifier of the Memcached node. The node id does not include
   * project or location like the Memcached instance name.
   *
   * @param string $nodeId
   */
  public function setNodeId($nodeId)
  {
    $this->nodeId = $nodeId;
  }
  /**
   * @return string
   */
  public function getNodeId()
  {
    return $this->nodeId;
  }
  /**
   * User defined parameters currently applied to the node.
   *
   * @param MemcacheParameters $parameters
   */
  public function setParameters(MemcacheParameters $parameters)
  {
    $this->parameters = $parameters;
  }
  /**
   * @return MemcacheParameters
   */
  public function getParameters()
  {
    return $this->parameters;
  }
  /**
   * Output only. The port number of the Memcached server on this node.
   *
   * @param int $port
   */
  public function setPort($port)
  {
    $this->port = $port;
  }
  /**
   * @return int
   */
  public function getPort()
  {
    return $this->port;
  }
  /**
   * Output only. Current state of the Memcached node.
   *
   * Accepted values: STATE_UNSPECIFIED, CREATING, READY, DELETING, UPDATING
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. Location (GCP Zone) for the Memcached node.
   *
   * @param string $zone
   */
  public function setZone($zone)
  {
    $this->zone = $zone;
  }
  /**
   * @return string
   */
  public function getZone()
  {
    return $this->zone;
  }
}

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