📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AbortInfo.php
▶ Open 📄 View Source
🐘 AppEngineVersionEndpoint.php
▶ Open 📄 View Source
🐘 AppEngineVersionInfo.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CloudFunctionEndpoint.php
▶ Open 📄 View Source
🐘 CloudFunctionInfo.php
▶ Open 📄 View Source
🐘 CloudRunRevisionEndpoint.php
▶ Open 📄 View Source
🐘 CloudRunRevisionInfo.php
▶ Open 📄 View Source
🐘 CloudSQLInstanceInfo.php
▶ Open 📄 View Source
🐘 ConnectivityTest.php
▶ Open 📄 View Source
🐘 DeliverInfo.php
▶ Open 📄 View Source
🐘 DirectVpcEgressConnectionInfo.php
▶ Open 📄 View Source
🐘 DropInfo.php
▶ Open 📄 View Source
🐘 EdgeLocation.php
▶ Open 📄 View Source
🐘 EffectiveVpcFlowLogsConfig.php
▶ Open 📄 View Source
🐘 Endpoint.php
▶ Open 📄 View Source
🐘 EndpointInfo.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 FirewallInfo.php
▶ Open 📄 View Source
🐘 ForwardInfo.php
▶ Open 📄 View Source
🐘 ForwardingRuleInfo.php
▶ Open 📄 View Source
🐘 GKEMasterInfo.php
▶ Open 📄 View Source
🐘 GeoLocation.php
▶ Open 📄 View Source
🐘 GkeNetworkPolicyInfo.php
▶ Open 📄 View Source
🐘 GkeNetworkPolicySkippedInfo.php
▶ Open 📄 View Source
🐘 GkePodInfo.php
▶ Open 📄 View Source
🐘 GoogleManagedServiceInfo.php
▶ Open 📄 View Source
🐘 GoogleServiceInfo.php
▶ Open 📄 View Source
🐘 Host.php
▶ Open 📄 View Source
🐘 HybridSubnetInfo.php
▶ Open 📄 View Source
🐘 InstanceInfo.php
▶ Open 📄 View Source
🐘 InterconnectAttachmentInfo.php
▶ Open 📄 View Source
🐘 IpMasqueradingSkippedInfo.php
▶ Open 📄 View Source
🐘 LatencyDistribution.php
▶ Open 📄 View Source
🐘 LatencyPercentile.php
▶ Open 📄 View Source
🐘 ListConnectivityTestsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListMonitoringPointsResponse.php
▶ Open 📄 View Source
🐘 ListNetworkMonitoringProvidersResponse.php
▶ Open 📄 View Source
🐘 ListNetworkPathsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListVpcFlowLogsConfigsResponse.php
▶ Open 📄 View Source
🐘 ListWebPathsResponse.php
▶ Open 📄 View Source
🐘 LoadBalancerBackend.php
▶ Open 📄 View Source
🐘 LoadBalancerBackendInfo.php
▶ Open 📄 View Source
🐘 LoadBalancerInfo.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 MonitoringPoint.php
▶ Open 📄 View Source
🐘 NatInfo.php
▶ Open 📄 View Source
🐘 NetworkInfo.php
▶ Open 📄 View Source
🐘 NetworkInterface.php
▶ Open 📄 View Source
🐘 NetworkMonitoringProvider.php
▶ Open 📄 View Source
🐘 NetworkPath.php
▶ Open 📄 View Source
🐘 NetworkmanagementEmpty.php
▶ Open 📄 View Source
🐘 NgfwPacketInspectionInfo.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 ProbingDetails.php
▶ Open 📄 View Source
🐘 ProviderTag.php
▶ Open 📄 View Source
🐘 ProxyConnectionInfo.php
▶ Open 📄 View Source
🐘 QueryOrgVpcFlowLogsConfigsResponse.php
▶ Open 📄 View Source
🐘 ReachabilityDetails.php
▶ Open 📄 View Source
🐘 RedisClusterInfo.php
▶ Open 📄 View Source
🐘 RedisInstanceInfo.php
▶ Open 📄 View Source
🐘 RerunConnectivityTestRequest.php
▶ Open 📄 View Source
🐘 RouteInfo.php
▶ Open 📄 View Source
🐘 ServerlessExternalConnectionInfo.php
▶ Open 📄 View Source
🐘 ServerlessNegInfo.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 ShowEffectiveFlowLogsConfigsResponse.php
▶ Open 📄 View Source
🐘 SingleEdgeResponse.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Step.php
▶ Open 📄 View Source
🐘 StorageBucketInfo.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 Trace.php
▶ Open 📄 View Source
🐘 VpcConnectorInfo.php
▶ Open 📄 View Source
🐘 VpcFlowLogsConfig.php
▶ Open 📄 View Source
🐘 VpnGatewayInfo.php
▶ Open 📄 View Source
🐘 VpnTunnelInfo.php
▶ Open 📄 View Source
🐘 WebPath.php
▶ Open 📄 View Source

📄 Source: ReachabilityDetails.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\NetworkManagement;

class ReachabilityDetails extends \Google\Collection
{
  /**
   * No result was specified.
   */
  public const RESULT_RESULT_UNSPECIFIED = 'RESULT_UNSPECIFIED';
  /**
   * Possible scenarios are: * The configuration analysis determined that a
   * packet originating from the source is expected to reach the destination. *
   * The analysis didn't complete because the user lacks permission for some of
   * the resources in the trace. However, at the time the user's permission
   * became insufficient, the trace had been successful so far.
   */
  public const RESULT_REACHABLE = 'REACHABLE';
  /**
   * A packet originating from the source is expected to be dropped before
   * reaching the destination.
   */
  public const RESULT_UNREACHABLE = 'UNREACHABLE';
  /**
   * The source and destination endpoints do not uniquely identify the test
   * location in the network, and the reachability result contains multiple
   * traces. For some traces, a packet could be delivered, and for others, it
   * would not be. This result is also assigned to configuration analysis of
   * return path if on its own it should be REACHABLE, but configuration
   * analysis of forward path is AMBIGUOUS.
   */
  public const RESULT_AMBIGUOUS = 'AMBIGUOUS';
  /**
   * The configuration analysis did not complete. Possible reasons are: * A
   * permissions error occurred--for example, the user might not have read
   * permission for all of the resources named in the test. * An internal error
   * occurred. * The analyzer received an invalid or unsupported argument or was
   * unable to identify a known endpoint.
   */
  public const RESULT_UNDETERMINED = 'UNDETERMINED';
  protected $collection_key = 'traces';
  protected $errorType = Status::class;
  protected $errorDataType = '';
  /**
   * The overall result of the test's configuration analysis.
   *
   * @var string
   */
  public $result;
  protected $tracesType = Trace::class;
  protected $tracesDataType = 'array';
  /**
   * The time of the configuration analysis.
   *
   * @var string
   */
  public $verifyTime;

  /**
   * The details of a failure or a cancellation of reachability analysis.
   *
   * @param Status $error
   */
  public function setError(Status $error)
  {
    $this->error = $error;
  }
  /**
   * @return Status
   */
  public function getError()
  {
    return $this->error;
  }
  /**
   * The overall result of the test's configuration analysis.
   *
   * Accepted values: RESULT_UNSPECIFIED, REACHABLE, UNREACHABLE, AMBIGUOUS,
   * UNDETERMINED
   *
   * @param self::RESULT_* $result
   */
  public function setResult($result)
  {
    $this->result = $result;
  }
  /**
   * @return self::RESULT_*
   */
  public function getResult()
  {
    return $this->result;
  }
  /**
   * Result may contain a list of traces if a test has multiple possible paths
   * in the network, such as when destination endpoint is a load balancer with
   * multiple backends.
   *
   * @param Trace[] $traces
   */
  public function setTraces($traces)
  {
    $this->traces = $traces;
  }
  /**
   * @return Trace[]
   */
  public function getTraces()
  {
    return $this->traces;
  }
  /**
   * The time of the configuration analysis.
   *
   * @param string $verifyTime
   */
  public function setVerifyTime($verifyTime)
  {
    $this->verifyTime = $verifyTime;
  }
  /**
   * @return string
   */
  public function getVerifyTime()
  {
    return $this->verifyTime;
  }
}

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