📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AOFConfig.php
▶ Open 📄 View Source
🐘 AclPolicy.php
▶ Open 📄 View Source
🐘 AclRule.php
▶ Open 📄 View Source
🐘 AddAuthTokenRequest.php
▶ Open 📄 View Source
🐘 AddTokenAuthUserRequest.php
▶ Open 📄 View Source
🐘 AssetLocation.php
▶ Open 📄 View Source
🐘 AuthToken.php
▶ Open 📄 View Source
🐘 AutomatedBackupConfig.php
▶ Open 📄 View Source
🐘 AvailabilityConfiguration.php
▶ Open 📄 View Source
🐘 Backup.php
▶ Open 📄 View Source
🐘 BackupClusterRequest.php
▶ Open 📄 View Source
🐘 BackupCollection.php
▶ Open 📄 View Source
🐘 BackupConfiguration.php
▶ Open 📄 View Source
🐘 BackupDRConfiguration.php
▶ Open 📄 View Source
🐘 BackupDRMetadata.php
▶ Open 📄 View Source
🐘 BackupFile.php
▶ Open 📄 View Source
🐘 BackupRun.php
▶ Open 📄 View Source
🐘 BlobstoreLocation.php
▶ Open 📄 View Source
🐘 CertChain.php
▶ Open 📄 View Source
🐘 CertificateAuthority.php
▶ Open 📄 View Source
🐘 CloudAsset.php
▶ Open 📄 View Source
🐘 CloudAssetComposition.php
▶ Open 📄 View Source
🐘 Cluster.php
▶ Open 📄 View Source
🐘 ClusterEndpoint.php
▶ Open 📄 View Source
🐘 ClusterMaintenancePolicy.php
▶ Open 📄 View Source
🐘 ClusterMaintenanceSchedule.php
▶ Open 📄 View Source
🐘 ClusterPersistenceConfig.php
▶ Open 📄 View Source
🐘 ClusterSlots.php
▶ Open 📄 View Source
🐘 ClusterWeeklyMaintenanceWindow.php
▶ Open 📄 View Source
🐘 Compliance.php
▶ Open 📄 View Source
🐘 ConfigBasedSignalData.php
▶ Open 📄 View Source
🐘 ConnectionDetail.php
▶ Open 📄 View Source
🐘 CrossClusterReplicationConfig.php
▶ Open 📄 View Source
🐘 CustomMetadataData.php
▶ Open 📄 View Source
🐘 DatabaseMetadata.php
▶ Open 📄 View Source
🐘 DatabaseResourceFeed.php
▶ Open 📄 View Source
🐘 DatabaseResourceHealthSignalData.php
▶ Open 📄 View Source
🐘 DatabaseResourceId.php
▶ Open 📄 View Source
🐘 DatabaseResourceMetadata.php
▶ Open 📄 View Source
🐘 DatabaseResourceRecommendationSignalData.php
▶ Open 📄 View Source
🐘 DatabaseResourceSignalData.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 DirectLocationAssignment.php
▶ Open 📄 View Source
🐘 DiscoveryEndpoint.php
▶ Open 📄 View Source
🐘 EncryptionInfo.php
▶ Open 📄 View Source
🐘 Endpoint.php
▶ Open 📄 View Source
🐘 Entitlement.php
▶ Open 📄 View Source
🐘 ExportBackupRequest.php
▶ Open 📄 View Source
🐘 ExportInstanceRequest.php
▶ Open 📄 View Source
🐘 ExtraParameter.php
▶ Open 📄 View Source
🐘 FailoverInstanceRequest.php
▶ Open 📄 View Source
🐘 FixedFrequencySchedule.php
▶ Open 📄 View Source
🐘 GCBDRConfiguration.php
▶ Open 📄 View Source
🐘 GcsBackupSource.php
▶ Open 📄 View Source
🐘 GcsDestination.php
▶ Open 📄 View Source
🐘 GcsSource.php
▶ Open 📄 View Source
🐘 GoogleCloudRedisV1LocationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudRedisV1OperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudRedisV1ZoneMetadata.php
▶ Open 📄 View Source
🐘 ImportInstanceRequest.php
▶ Open 📄 View Source
🐘 InputConfig.php
▶ Open 📄 View Source
🐘 Instance.php
▶ Open 📄 View Source
🐘 InstanceAuthString.php
▶ Open 📄 View Source
🐘 InternalResourceMetadata.php
▶ Open 📄 View Source
🐘 IsolationExpectations.php
▶ Open 📄 View Source
🐘 ListAclPoliciesResponse.php
▶ Open 📄 View Source
🐘 ListAuthTokensResponse.php
▶ Open 📄 View Source
🐘 ListBackupCollectionsResponse.php
▶ Open 📄 View Source
🐘 ListBackupsResponse.php
▶ Open 📄 View Source
🐘 ListClustersResponse.php
▶ Open 📄 View Source
🐘 ListInstancesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListTokenAuthUsersResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LocationAssignment.php
▶ Open 📄 View Source
🐘 LocationData.php
▶ Open 📄 View Source
🐘 MachineConfiguration.php
▶ Open 📄 View Source
🐘 MaintenancePolicy.php
▶ Open 📄 View Source
🐘 MaintenanceSchedule.php
▶ Open 📄 View Source
🐘 ManagedBackupSource.php
▶ Open 📄 View Source
🐘 ManagedCertificateAuthority.php
▶ Open 📄 View Source
🐘 Membership.php
▶ Open 📄 View Source
🐘 NodeInfo.php
▶ Open 📄 View Source
🐘 ObservabilityMetricData.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationError.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 OutputConfig.php
▶ Open 📄 View Source
🐘 PersistenceConfig.php
▶ Open 📄 View Source
🐘 PlacerLocation.php
▶ Open 📄 View Source
🐘 PrivateServiceConnect.php
▶ Open 📄 View Source
🐘 Product.php
▶ Open 📄 View Source
🐘 PscAutoConnection.php
▶ Open 📄 View Source
🐘 PscConfig.php
▶ Open 📄 View Source
🐘 PscConnection.php
▶ Open 📄 View Source
🐘 PscServiceAttachment.php
▶ Open 📄 View Source
🐘 RDBConfig.php
▶ Open 📄 View Source
🐘 ReconciliationOperationMetadata.php
▶ Open 📄 View Source
🐘 RedisEmpty.php
▶ Open 📄 View Source
🐘 RegionalCertChain.php
▶ Open 📄 View Source
🐘 RegionalManagedCertificateAuthority.php
▶ Open 📄 View Source
🐘 RegionalMigDistributionPolicy.php
▶ Open 📄 View Source
🐘 RemoteCluster.php
▶ Open 📄 View Source
🐘 RequirementOverride.php
▶ Open 📄 View Source
🐘 RescheduleClusterMaintenanceRequest.php
▶ Open 📄 View Source
🐘 RescheduleMaintenanceRequest.php
▶ Open 📄 View Source
🐘 ResourceFlags.php
▶ Open 📄 View Source
🐘 ResourceMaintenanceDenySchedule.php
▶ Open 📄 View Source
🐘 ResourceMaintenanceInfo.php
▶ Open 📄 View Source
🐘 ResourceMaintenanceSchedule.php
▶ Open 📄 View Source
🐘 RetentionSettings.php
▶ Open 📄 View Source
🐘 SharedRegionalCertificateAuthority.php
▶ Open 📄 View Source
🐘 SignalMetadata.php
▶ Open 📄 View Source
🐘 SpannerLocation.php
▶ Open 📄 View Source
🐘 StateInfo.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Tags.php
▶ Open 📄 View Source
🐘 TenantProjectProxy.php
▶ Open 📄 View Source
🐘 TimeOfDay.php
▶ Open 📄 View Source
🐘 TlsCertificate.php
▶ Open 📄 View Source
🐘 TokenAuthUser.php
▶ Open 📄 View Source
🐘 TypedValue.php
▶ Open 📄 View Source
🐘 UpcomingMaintenance.php
▶ Open 📄 View Source
🐘 UpdateInfo.php
▶ Open 📄 View Source
🐘 UpgradeInstanceRequest.php
▶ Open 📄 View Source
🐘 UserLabels.php
▶ Open 📄 View Source
🐘 WeeklyMaintenanceWindow.php
▶ Open 📄 View Source
🐘 ZoneConfiguration.php
▶ Open 📄 View Source
🐘 ZoneDistributionConfig.php
▶ Open 📄 View Source

📄 Source: PscAutoConnection.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\CloudRedis;

class PscAutoConnection extends \Google\Model
{
  /**
   * Cluster endpoint Type is not set
   */
  public const CONNECTION_TYPE_CONNECTION_TYPE_UNSPECIFIED = 'CONNECTION_TYPE_UNSPECIFIED';
  /**
   * Cluster endpoint that will be used as for cluster topology discovery.
   */
  public const CONNECTION_TYPE_CONNECTION_TYPE_DISCOVERY = 'CONNECTION_TYPE_DISCOVERY';
  /**
   * Cluster endpoint that will be used as primary endpoint to access primary.
   */
  public const CONNECTION_TYPE_CONNECTION_TYPE_PRIMARY = 'CONNECTION_TYPE_PRIMARY';
  /**
   * Cluster endpoint that will be used as reader endpoint to access replicas.
   */
  public const CONNECTION_TYPE_CONNECTION_TYPE_READER = 'CONNECTION_TYPE_READER';
  /**
   * PSC connection status is not specified.
   */
  public const PSC_CONNECTION_STATUS_PSC_CONNECTION_STATUS_UNSPECIFIED = 'PSC_CONNECTION_STATUS_UNSPECIFIED';
  /**
   * The connection is active
   */
  public const PSC_CONNECTION_STATUS_PSC_CONNECTION_STATUS_ACTIVE = 'PSC_CONNECTION_STATUS_ACTIVE';
  /**
   * Connection not found
   */
  public const PSC_CONNECTION_STATUS_PSC_CONNECTION_STATUS_NOT_FOUND = 'PSC_CONNECTION_STATUS_NOT_FOUND';
  /**
   * Output only. The IP allocated on the consumer network for the PSC
   * forwarding rule.
   *
   * @var string
   */
  public $address;
  /**
   * Output only. Type of the PSC connection.
   *
   * @var string
   */
  public $connectionType;
  /**
   * Output only. The URI of the consumer side forwarding rule. Example:
   * projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
   *
   * @var string
   */
  public $forwardingRule;
  /**
   * Required. The consumer network where the IP address resides, in the form of
   * projects/{project_id}/global/networks/{network_id}.
   *
   * @var string
   */
  public $network;
  /**
   * Required. The consumer project_id where the forwarding rule is created
   * from.
   *
   * @var string
   */
  public $projectId;
  /**
   * Output only. The PSC connection id of the forwarding rule connected to the
   * service attachment.
   *
   * @var string
   */
  public $pscConnectionId;
  /**
   * Output only. The status of the PSC connection. Please note that this value
   * is updated periodically. Please use Private Service Connect APIs for the
   * latest status.
   *
   * @var string
   */
  public $pscConnectionStatus;
  /**
   * Output only. The service attachment which is the target of the PSC
   * connection, in the form of projects/{project-
   * id}/regions/{region}/serviceAttachments/{service-attachment-id}.
   *
   * @var string
   */
  public $serviceAttachment;

  /**
   * Output only. The IP allocated on the consumer network for the PSC
   * forwarding rule.
   *
   * @param string $address
   */
  public function setAddress($address)
  {
    $this->address = $address;
  }
  /**
   * @return string
   */
  public function getAddress()
  {
    return $this->address;
  }
  /**
   * Output only. Type of the PSC connection.
   *
   * Accepted values: CONNECTION_TYPE_UNSPECIFIED, CONNECTION_TYPE_DISCOVERY,
   * CONNECTION_TYPE_PRIMARY, CONNECTION_TYPE_READER
   *
   * @param self::CONNECTION_TYPE_* $connectionType
   */
  public function setConnectionType($connectionType)
  {
    $this->connectionType = $connectionType;
  }
  /**
   * @return self::CONNECTION_TYPE_*
   */
  public function getConnectionType()
  {
    return $this->connectionType;
  }
  /**
   * Output only. The URI of the consumer side forwarding rule. Example:
   * projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
   *
   * @param string $forwardingRule
   */
  public function setForwardingRule($forwardingRule)
  {
    $this->forwardingRule = $forwardingRule;
  }
  /**
   * @return string
   */
  public function getForwardingRule()
  {
    return $this->forwardingRule;
  }
  /**
   * Required. The consumer network where the IP address resides, in the form of
   * projects/{project_id}/global/networks/{network_id}.
   *
   * @param string $network
   */
  public function setNetwork($network)
  {
    $this->network = $network;
  }
  /**
   * @return string
   */
  public function getNetwork()
  {
    return $this->network;
  }
  /**
   * Required. The consumer project_id where the forwarding rule is created
   * from.
   *
   * @param string $projectId
   */
  public function setProjectId($projectId)
  {
    $this->projectId = $projectId;
  }
  /**
   * @return string
   */
  public function getProjectId()
  {
    return $this->projectId;
  }
  /**
   * Output only. The PSC connection id of the forwarding rule connected to the
   * service attachment.
   *
   * @param string $pscConnectionId
   */
  public function setPscConnectionId($pscConnectionId)
  {
    $this->pscConnectionId = $pscConnectionId;
  }
  /**
   * @return string
   */
  public function getPscConnectionId()
  {
    return $this->pscConnectionId;
  }
  /**
   * Output only. The status of the PSC connection. Please note that this value
   * is updated periodically. Please use Private Service Connect APIs for the
   * latest status.
   *
   * Accepted values: PSC_CONNECTION_STATUS_UNSPECIFIED,
   * PSC_CONNECTION_STATUS_ACTIVE, PSC_CONNECTION_STATUS_NOT_FOUND
   *
   * @param self::PSC_CONNECTION_STATUS_* $pscConnectionStatus
   */
  public function setPscConnectionStatus($pscConnectionStatus)
  {
    $this->pscConnectionStatus = $pscConnectionStatus;
  }
  /**
   * @return self::PSC_CONNECTION_STATUS_*
   */
  public function getPscConnectionStatus()
  {
    return $this->pscConnectionStatus;
  }
  /**
   * Output only. The service attachment which is the target of the PSC
   * connection, in the form of projects/{project-
   * id}/regions/{region}/serviceAttachments/{service-attachment-id}.
   *
   * @param string $serviceAttachment
   */
  public function setServiceAttachment($serviceAttachment)
  {
    $this->serviceAttachment = $serviceAttachment;
  }
  /**
   * @return string
   */
  public function getServiceAttachment()
  {
    return $this->serviceAttachment;
  }
}

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