📂 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: AbortInfo.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 AbortInfo extends \Google\Collection
{
  /**
   * Cause is unspecified.
   */
  public const CAUSE_CAUSE_UNSPECIFIED = 'CAUSE_UNSPECIFIED';
  /**
   * Aborted due to unknown network. Deprecated, not used in the new tests.
   *
   * @deprecated
   */
  public const CAUSE_UNKNOWN_NETWORK = 'UNKNOWN_NETWORK';
  /**
   * Aborted because no project information can be derived from the test input.
   * Deprecated, not used in the new tests.
   *
   * @deprecated
   */
  public const CAUSE_UNKNOWN_PROJECT = 'UNKNOWN_PROJECT';
  /**
   * Aborted because traffic is sent from a public IP to an instance without an
   * external IP. Deprecated, not used in the new tests.
   *
   * @deprecated
   */
  public const CAUSE_NO_EXTERNAL_IP = 'NO_EXTERNAL_IP';
  /**
   * Aborted because none of the traces matches destination information
   * specified in the input test request. Deprecated, not used in the new tests.
   *
   * @deprecated
   */
  public const CAUSE_UNINTENDED_DESTINATION = 'UNINTENDED_DESTINATION';
  /**
   * Aborted because the source endpoint could not be found. Deprecated, not
   * used in the new tests.
   *
   * @deprecated
   */
  public const CAUSE_SOURCE_ENDPOINT_NOT_FOUND = 'SOURCE_ENDPOINT_NOT_FOUND';
  /**
   * Aborted because the source network does not match the source endpoint.
   * Deprecated, not used in the new tests.
   *
   * @deprecated
   */
  public const CAUSE_MISMATCHED_SOURCE_NETWORK = 'MISMATCHED_SOURCE_NETWORK';
  /**
   * Aborted because the destination endpoint could not be found. Deprecated,
   * not used in the new tests.
   *
   * @deprecated
   */
  public const CAUSE_DESTINATION_ENDPOINT_NOT_FOUND = 'DESTINATION_ENDPOINT_NOT_FOUND';
  /**
   * Aborted because the destination network does not match the destination
   * endpoint. Deprecated, not used in the new tests.
   *
   * @deprecated
   */
  public const CAUSE_MISMATCHED_DESTINATION_NETWORK = 'MISMATCHED_DESTINATION_NETWORK';
  /**
   * Aborted because no endpoint with the packet's destination IP address is
   * found.
   */
  public const CAUSE_UNKNOWN_IP = 'UNKNOWN_IP';
  /**
   * Aborted because no endpoint with the packet's destination IP is found in
   * the Google-managed project.
   */
  public const CAUSE_GOOGLE_MANAGED_SERVICE_UNKNOWN_IP = 'GOOGLE_MANAGED_SERVICE_UNKNOWN_IP';
  /**
   * Aborted because the source IP address doesn't belong to any of the subnets
   * of the source VPC network.
   */
  public const CAUSE_SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK = 'SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK';
  /**
   * Aborted because user lacks permission to access all or part of the network
   * configurations required to run the test.
   */
  public const CAUSE_PERMISSION_DENIED = 'PERMISSION_DENIED';
  /**
   * Aborted because user lacks permission to access Cloud NAT configs required
   * to run the test.
   */
  public const CAUSE_PERMISSION_DENIED_NO_CLOUD_NAT_CONFIGS = 'PERMISSION_DENIED_NO_CLOUD_NAT_CONFIGS';
  /**
   * Aborted because user lacks permission to access Network endpoint group
   * endpoint configs required to run the test.
   */
  public const CAUSE_PERMISSION_DENIED_NO_NEG_ENDPOINT_CONFIGS = 'PERMISSION_DENIED_NO_NEG_ENDPOINT_CONFIGS';
  /**
   * Aborted because user lacks permission to access Cloud Router configs
   * required to run the test.
   */
  public const CAUSE_PERMISSION_DENIED_NO_CLOUD_ROUTER_CONFIGS = 'PERMISSION_DENIED_NO_CLOUD_ROUTER_CONFIGS';
  /**
   * Aborted because no valid source or destination endpoint can be derived from
   * the test request.
   */
  public const CAUSE_NO_SOURCE_LOCATION = 'NO_SOURCE_LOCATION';
  /**
   * Aborted because the source IP address is not contained within the subnet
   * ranges of the provided VPC network.
   */
  public const CAUSE_NO_SOURCE_GCP_NETWORK_LOCATION = 'NO_SOURCE_GCP_NETWORK_LOCATION';
  /**
   * Aborted because the source IP address is not contained within the
   * destination ranges of the routes towards non-GCP networks in the provided
   * VPC network.
   */
  public const CAUSE_NO_SOURCE_NON_GCP_NETWORK_LOCATION = 'NO_SOURCE_NON_GCP_NETWORK_LOCATION';
  /**
   * Aborted because the source IP address can't be resolved as an Internet IP
   * address.
   */
  public const CAUSE_NO_SOURCE_INTERNET_LOCATION = 'NO_SOURCE_INTERNET_LOCATION';
  /**
   * Aborted because the source or destination endpoint specified in the request
   * is invalid. Some examples: - The request might contain malformed resource
   * URI, project ID, or IP address. - The request might contain inconsistent
   * information (for example, the request might include both the instance and
   * the network, but the instance might not have a NIC in that network).
   */
  public const CAUSE_INVALID_ARGUMENT = 'INVALID_ARGUMENT';
  /**
   * Aborted because the number of steps in the trace exceeds a certain limit.
   * It might be caused by a routing loop.
   */
  public const CAUSE_TRACE_TOO_LONG = 'TRACE_TOO_LONG';
  /**
   * Aborted due to internal server error.
   */
  public const CAUSE_INTERNAL_ERROR = 'INTERNAL_ERROR';
  /**
   * Aborted because the test scenario is not supported.
   */
  public const CAUSE_UNSUPPORTED = 'UNSUPPORTED';
  /**
   * Aborted because the source and destination resources have no common IP
   * version.
   */
  public const CAUSE_MISMATCHED_IP_VERSION = 'MISMATCHED_IP_VERSION';
  /**
   * Aborted because the connection between the control plane and the node of
   * the source cluster is initiated by the node and managed by the Konnectivity
   * proxy.
   */
  public const CAUSE_GKE_KONNECTIVITY_PROXY_UNSUPPORTED = 'GKE_KONNECTIVITY_PROXY_UNSUPPORTED';
  /**
   * Aborted because expected resource configuration was missing.
   */
  public const CAUSE_RESOURCE_CONFIG_NOT_FOUND = 'RESOURCE_CONFIG_NOT_FOUND';
  /**
   * Aborted because expected VM instance configuration was missing.
   */
  public const CAUSE_VM_INSTANCE_CONFIG_NOT_FOUND = 'VM_INSTANCE_CONFIG_NOT_FOUND';
  /**
   * Aborted because expected network configuration was missing.
   */
  public const CAUSE_NETWORK_CONFIG_NOT_FOUND = 'NETWORK_CONFIG_NOT_FOUND';
  /**
   * Aborted because expected firewall configuration was missing.
   */
  public const CAUSE_FIREWALL_CONFIG_NOT_FOUND = 'FIREWALL_CONFIG_NOT_FOUND';
  /**
   * Aborted because expected route configuration was missing.
   */
  public const CAUSE_ROUTE_CONFIG_NOT_FOUND = 'ROUTE_CONFIG_NOT_FOUND';
  /**
   * Aborted because PSC endpoint selection for the Google-managed service is
   * ambiguous (several PSC endpoints satisfy test input).
   */
  public const CAUSE_GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT = 'GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT';
  /**
   * Aborted because endpoint selection for the Google-managed service is
   * ambiguous (several endpoints satisfy test input).
   */
  public const CAUSE_GOOGLE_MANAGED_SERVICE_AMBIGUOUS_ENDPOINT = 'GOOGLE_MANAGED_SERVICE_AMBIGUOUS_ENDPOINT';
  /**
   * Aborted because tests with a PSC-based Cloud SQL instance as a source are
   * not supported.
   */
  public const CAUSE_SOURCE_PSC_CLOUD_SQL_UNSUPPORTED = 'SOURCE_PSC_CLOUD_SQL_UNSUPPORTED';
  /**
   * Aborted because tests with the external database as a source are not
   * supported. In such replication scenarios, the connection is initiated by
   * the Cloud SQL replica instance.
   */
  public const CAUSE_SOURCE_EXTERNAL_CLOUD_SQL_UNSUPPORTED = 'SOURCE_EXTERNAL_CLOUD_SQL_UNSUPPORTED';
  /**
   * Aborted because tests with a Redis Cluster as a source are not supported.
   */
  public const CAUSE_SOURCE_REDIS_CLUSTER_UNSUPPORTED = 'SOURCE_REDIS_CLUSTER_UNSUPPORTED';
  /**
   * Aborted because tests with a Redis Instance as a source are not supported.
   */
  public const CAUSE_SOURCE_REDIS_INSTANCE_UNSUPPORTED = 'SOURCE_REDIS_INSTANCE_UNSUPPORTED';
  /**
   * Aborted because tests with a forwarding rule as a source are not supported.
   */
  public const CAUSE_SOURCE_FORWARDING_RULE_UNSUPPORTED = 'SOURCE_FORWARDING_RULE_UNSUPPORTED';
  /**
   * Aborted because one of the endpoints is a non-routable IP address
   * (loopback, link-local, etc).
   */
  public const CAUSE_NON_ROUTABLE_IP_ADDRESS = 'NON_ROUTABLE_IP_ADDRESS';
  /**
   * Aborted due to an unknown issue in the Google-managed project.
   */
  public const CAUSE_UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT = 'UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT';
  /**
   * Aborted due to an unsupported configuration of the Google-managed project.
   */
  public const CAUSE_UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG = 'UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG';
  /**
   * Aborted because the source endpoint is a Cloud Run revision with direct VPC
   * access enabled, but there are no reserved serverless IP ranges.
   */
  public const CAUSE_NO_SERVERLESS_IP_RANGES = 'NO_SERVERLESS_IP_RANGES';
  /**
   * Aborted because the used protocol is not supported for the used IP version.
   */
  public const CAUSE_IP_VERSION_PROTOCOL_MISMATCH = 'IP_VERSION_PROTOCOL_MISMATCH';
  /**
   * Aborted because selected GKE Pod endpoint location is unknown. This is
   * often the case for "Pending" Pods, which don't have assigned IP addresses
   * yet.
   */
  public const CAUSE_GKE_POD_UNKNOWN_ENDPOINT_LOCATION = 'GKE_POD_UNKNOWN_ENDPOINT_LOCATION';
  protected $collection_key = 'projectsMissingPermission';
  /**
   * Causes that the analysis is aborted.
   *
   * @var string
   */
  public $cause;
  /**
   * IP address that caused the abort.
   *
   * @var string
   */
  public $ipAddress;
  /**
   * List of project IDs the user specified in the request but lacks access to.
   * In this case, analysis is aborted with the PERMISSION_DENIED cause.
   *
   * @var string[]
   */
  public $projectsMissingPermission;
  /**
   * URI of the resource that caused the abort.
   *
   * @var string
   */
  public $resourceUri;

  /**
   * Causes that the analysis is aborted.
   *
   * Accepted values: CAUSE_UNSPECIFIED, UNKNOWN_NETWORK, UNKNOWN_PROJECT,
   * NO_EXTERNAL_IP, UNINTENDED_DESTINATION, SOURCE_ENDPOINT_NOT_FOUND,
   * MISMATCHED_SOURCE_NETWORK, DESTINATION_ENDPOINT_NOT_FOUND,
   * MISMATCHED_DESTINATION_NETWORK, UNKNOWN_IP,
   * GOOGLE_MANAGED_SERVICE_UNKNOWN_IP, SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK,
   * PERMISSION_DENIED, PERMISSION_DENIED_NO_CLOUD_NAT_CONFIGS,
   * PERMISSION_DENIED_NO_NEG_ENDPOINT_CONFIGS,
   * PERMISSION_DENIED_NO_CLOUD_ROUTER_CONFIGS, NO_SOURCE_LOCATION,
   * NO_SOURCE_GCP_NETWORK_LOCATION, NO_SOURCE_NON_GCP_NETWORK_LOCATION,
   * NO_SOURCE_INTERNET_LOCATION, INVALID_ARGUMENT, TRACE_TOO_LONG,
   * INTERNAL_ERROR, UNSUPPORTED, MISMATCHED_IP_VERSION,
   * GKE_KONNECTIVITY_PROXY_UNSUPPORTED, RESOURCE_CONFIG_NOT_FOUND,
   * VM_INSTANCE_CONFIG_NOT_FOUND, NETWORK_CONFIG_NOT_FOUND,
   * FIREWALL_CONFIG_NOT_FOUND, ROUTE_CONFIG_NOT_FOUND,
   * GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT,
   * GOOGLE_MANAGED_SERVICE_AMBIGUOUS_ENDPOINT,
   * SOURCE_PSC_CLOUD_SQL_UNSUPPORTED, SOURCE_EXTERNAL_CLOUD_SQL_UNSUPPORTED,
   * SOURCE_REDIS_CLUSTER_UNSUPPORTED, SOURCE_REDIS_INSTANCE_UNSUPPORTED,
   * SOURCE_FORWARDING_RULE_UNSUPPORTED, NON_ROUTABLE_IP_ADDRESS,
   * UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT,
   * UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG, NO_SERVERLESS_IP_RANGES,
   * IP_VERSION_PROTOCOL_MISMATCH, GKE_POD_UNKNOWN_ENDPOINT_LOCATION
   *
   * @param self::CAUSE_* $cause
   */
  public function setCause($cause)
  {
    $this->cause = $cause;
  }
  /**
   * @return self::CAUSE_*
   */
  public function getCause()
  {
    return $this->cause;
  }
  /**
   * IP address that caused the abort.
   *
   * @param string $ipAddress
   */
  public function setIpAddress($ipAddress)
  {
    $this->ipAddress = $ipAddress;
  }
  /**
   * @return string
   */
  public function getIpAddress()
  {
    return $this->ipAddress;
  }
  /**
   * List of project IDs the user specified in the request but lacks access to.
   * In this case, analysis is aborted with the PERMISSION_DENIED cause.
   *
   * @param string[] $projectsMissingPermission
   */
  public function setProjectsMissingPermission($projectsMissingPermission)
  {
    $this->projectsMissingPermission = $projectsMissingPermission;
  }
  /**
   * @return string[]
   */
  public function getProjectsMissingPermission()
  {
    return $this->projectsMissingPermission;
  }
  /**
   * URI of the resource that caused the abort.
   *
   * @param string $resourceUri
   */
  public function setResourceUri($resourceUri)
  {
    $this->resourceUri = $resourceUri;
  }
  /**
   * @return string
   */
  public function getResourceUri()
  {
    return $this->resourceUri;
  }
}

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