📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AdminSettings.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 ControlledEgressConfig.php
▶ Open 📄 View Source
🐘 CustomDomain.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 DenyMaintenancePeriod.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 ExportEncryptionConfig.php
▶ Open 📄 View Source
🐘 ExportInstanceRequest.php
▶ Open 📄 View Source
🐘 ExportMetadata.php
▶ Open 📄 View Source
🐘 ExportMetadataEncryptionKey.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 ImportInstanceRequest.php
▶ Open 📄 View Source
🐘 IngressIpAllowlistConfig.php
▶ Open 📄 View Source
🐘 IngressIpAllowlistRule.php
▶ Open 📄 View Source
🐘 Instance.php
▶ Open 📄 View Source
🐘 InstanceBackup.php
▶ Open 📄 View Source
🐘 ListInstanceBackupsResponse.php
▶ Open 📄 View Source
🐘 ListInstancesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LookerEmpty.php
▶ Open 📄 View Source
🐘 MaintenanceSchedule.php
▶ Open 📄 View Source
🐘 MaintenanceWindow.php
▶ Open 📄 View Source
🐘 OAuthConfig.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 PeriodicExportConfig.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 PscConfig.php
▶ Open 📄 View Source
🐘 RestartInstanceRequest.php
▶ Open 📄 View Source
🐘 RestoreInstanceRequest.php
▶ Open 📄 View Source
🐘 ServiceAttachment.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TimeOfDay.php
▶ Open 📄 View Source
🐘 UndeleteInstanceRequest.php
▶ Open 📄 View Source
🐘 UserMetadata.php
▶ Open 📄 View Source

📄 Source: ServiceAttachment.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\Looker;

class ServiceAttachment extends \Google\Collection
{
  /**
   * Connection status is unspecified.
   */
  public const CONNECTION_STATUS_UNKNOWN = 'UNKNOWN';
  /**
   * Connection is established and functioning normally.
   */
  public const CONNECTION_STATUS_ACCEPTED = 'ACCEPTED';
  /**
   * Connection is not established (Looker tenant project hasn't been
   * allowlisted).
   */
  public const CONNECTION_STATUS_PENDING = 'PENDING';
  /**
   * Connection is not established (Looker tenant project is explicitly in
   * reject list).
   */
  public const CONNECTION_STATUS_REJECTED = 'REJECTED';
  /**
   * Issue with target service attachment, e.g. NAT subnet is exhausted.
   */
  public const CONNECTION_STATUS_NEEDS_ATTENTION = 'NEEDS_ATTENTION';
  /**
   * Target service attachment does not exist. This status is a terminal state.
   */
  public const CONNECTION_STATUS_CLOSED = 'CLOSED';
  protected $collection_key = 'localFqdns';
  /**
   * Output only. Connection status.
   *
   * @var string
   */
  public $connectionStatus;
  /**
   * Output only. Reason the service attachment creation failed. This value will
   * only be populated if the service attachment encounters an issue during
   * provisioning.
   *
   * @var string
   */
  public $failureReason;
  /**
   * Optional. Fully qualified domain name that will be used in the private DNS
   * record created for the service attachment.
   *
   * @var string
   */
  public $localFqdn;
  /**
   * Optional. List of fully qualified domain names that will be used in the
   * private DNS record created for the service attachment.
   *
   * @var string[]
   */
  public $localFqdns;
  /**
   * Required. URI of the service attachment to connect to. Format:
   * projects/{project}/regions/{region}/serviceAttachments/{service_attachment}
   *
   * @var string
   */
  public $targetServiceAttachmentUri;

  /**
   * Output only. Connection status.
   *
   * Accepted values: UNKNOWN, ACCEPTED, PENDING, REJECTED, NEEDS_ATTENTION,
   * CLOSED
   *
   * @param self::CONNECTION_STATUS_* $connectionStatus
   */
  public function setConnectionStatus($connectionStatus)
  {
    $this->connectionStatus = $connectionStatus;
  }
  /**
   * @return self::CONNECTION_STATUS_*
   */
  public function getConnectionStatus()
  {
    return $this->connectionStatus;
  }
  /**
   * Output only. Reason the service attachment creation failed. This value will
   * only be populated if the service attachment encounters an issue during
   * provisioning.
   *
   * @param string $failureReason
   */
  public function setFailureReason($failureReason)
  {
    $this->failureReason = $failureReason;
  }
  /**
   * @return string
   */
  public function getFailureReason()
  {
    return $this->failureReason;
  }
  /**
   * Optional. Fully qualified domain name that will be used in the private DNS
   * record created for the service attachment.
   *
   * @param string $localFqdn
   */
  public function setLocalFqdn($localFqdn)
  {
    $this->localFqdn = $localFqdn;
  }
  /**
   * @return string
   */
  public function getLocalFqdn()
  {
    return $this->localFqdn;
  }
  /**
   * Optional. List of fully qualified domain names that will be used in the
   * private DNS record created for the service attachment.
   *
   * @param string[] $localFqdns
   */
  public function setLocalFqdns($localFqdns)
  {
    $this->localFqdns = $localFqdns;
  }
  /**
   * @return string[]
   */
  public function getLocalFqdns()
  {
    return $this->localFqdns;
  }
  /**
   * Required. URI of the service attachment to connect to. Format:
   * projects/{project}/regions/{region}/serviceAttachments/{service_attachment}
   *
   * @param string $targetServiceAttachmentUri
   */
  public function setTargetServiceAttachmentUri($targetServiceAttachmentUri)
  {
    $this->targetServiceAttachmentUri = $targetServiceAttachmentUri;
  }
  /**
   * @return string
   */
  public function getTargetServiceAttachmentUri()
  {
    return $this->targetServiceAttachmentUri;
  }
}

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