πŸ“‚ File Browser

AgentAI/vendor/google/apiclient-services/src/Networkconnectivity
πŸŒ™ Dark Mode
🎯 Quick Launch:

πŸ“ Directories

πŸ“ Resource/ πŸ”“ Open

πŸ“„ Files

🐘 AcceptHubSpokeRequest.php
β–Ά Open πŸ“„ View Source
🐘 AcceptHubSpokeResponse.php
β–Ά Open πŸ“„ View Source
🐘 AcceptSpokeRequest.php
β–Ά Open πŸ“„ View Source
🐘 AcceptSpokeUpdateRequest.php
β–Ά Open πŸ“„ View Source
🐘 AllocationOptions.php
β–Ά Open πŸ“„ View Source
🐘 AttributeValue.php
β–Ά Open πŸ“„ View Source
🐘 Attributes.php
β–Ά Open πŸ“„ View Source
🐘 AuditConfig.php
β–Ά Open πŸ“„ View Source
🐘 AuditLogConfig.php
β–Ά Open πŸ“„ View Source
🐘 AutoAccept.php
β–Ά Open πŸ“„ View Source
🐘 AutoCreatedSubnetworkInfo.php
β–Ά Open πŸ“„ View Source
🐘 AutomatedDnsCreationSpec.php
β–Ά Open πŸ“„ View Source
🐘 AutomatedDnsRecord.php
β–Ά Open πŸ“„ View Source
🐘 BillingView.php
β–Ά Open πŸ“„ View Source
🐘 Binding.php
β–Ά Open πŸ“„ View Source
🐘 CheckConsumerConfigRequest.php
β–Ά Open πŸ“„ View Source
🐘 CheckConsumerConfigResponse.php
β–Ά Open πŸ“„ View Source
🐘 Config.php
β–Ά Open πŸ“„ View Source
🐘 ConsumerPscConfig.php
β–Ά Open πŸ“„ View Source
🐘 ConsumerPscConnection.php
β–Ά Open πŸ“„ View Source
🐘 Destination.php
β–Ά Open πŸ“„ View Source
🐘 DestinationEndpoint.php
β–Ά Open πŸ“„ View Source
🐘 Distribution.php
β–Ά Open πŸ“„ View Source
🐘 DnsAutomationStatus.php
β–Ά Open πŸ“„ View Source
🐘 Exemplar.php
β–Ά Open πŸ“„ View Source
🐘 ExplicitBuckets.php
β–Ά Open πŸ“„ View Source
🐘 ExponentialBuckets.php
β–Ά Open πŸ“„ View Source
🐘 Expr.php
β–Ά Open πŸ“„ View Source
🐘 Filter.php
β–Ά Open πŸ“„ View Source
🐘 GoogleLongrunningCancelOperationRequest.php
β–Ά Open πŸ“„ View Source
🐘 GoogleLongrunningListOperationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 GoogleLongrunningOperation.php
β–Ά Open πŸ“„ View Source
🐘 GoogleRpcErrorInfo.php
β–Ά Open πŸ“„ View Source
🐘 GoogleRpcStatus.php
β–Ά Open πŸ“„ View Source
🐘 Group.php
β–Ά Open πŸ“„ View Source
🐘 HttpRequest.php
β–Ά Open πŸ“„ View Source
🐘 HubStatusEntry.php
β–Ά Open πŸ“„ View Source
🐘 InterconnectAttachment.php
β–Ά Open πŸ“„ View Source
🐘 InternalRange.php
β–Ά Open πŸ“„ View Source
🐘 LinearBuckets.php
β–Ά Open πŸ“„ View Source
🐘 LinkedInterconnectAttachments.php
β–Ά Open πŸ“„ View Source
🐘 LinkedProducerVpcNetwork.php
β–Ά Open πŸ“„ View Source
🐘 LinkedRouterApplianceInstances.php
β–Ά Open πŸ“„ View Source
🐘 LinkedVpcNetwork.php
β–Ά Open πŸ“„ View Source
🐘 LinkedVpnTunnels.php
β–Ά Open πŸ“„ View Source
🐘 ListAutomatedDnsRecordsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListDestinationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListGroupsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListHubSpokesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListHubsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListInternalRangesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListLocationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListMulticloudDataTransferConfigsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListMulticloudDataTransferSupportedServicesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListPolicyBasedRoutesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListRegionalEndpointsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListRemoteTransportProfilesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListRouteTablesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListRoutesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListServiceClassesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListServiceConnectionMapsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListServiceConnectionPoliciesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListServiceConnectionTokensResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListSpokesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListTransportsResponse.php
β–Ά Open πŸ“„ View Source
🐘 Location.php
β–Ά Open πŸ“„ View Source
🐘 LocationMetadata.php
β–Ά Open πŸ“„ View Source
🐘 LogEntry.php
β–Ά Open πŸ“„ View Source
🐘 LogEntryOperation.php
β–Ά Open πŸ“„ View Source
🐘 LogEntrySourceLocation.php
β–Ά Open πŸ“„ View Source
🐘 MetricValue.php
β–Ά Open πŸ“„ View Source
🐘 MetricValueSet.php
β–Ά Open πŸ“„ View Source
🐘 Migration.php
β–Ά Open πŸ“„ View Source
🐘 Money.php
β–Ά Open πŸ“„ View Source
🐘 MulticloudDataTransferConfig.php
β–Ά Open πŸ“„ View Source
🐘 MulticloudDataTransferSupportedService.php
β–Ά Open πŸ“„ View Source
🐘 NetworkconnectivityEmpty.php
β–Ά Open πŸ“„ View Source
🐘 NextHopInterconnectAttachment.php
β–Ά Open πŸ“„ View Source
🐘 NextHopRouterApplianceInstance.php
β–Ά Open πŸ“„ View Source
🐘 NextHopSpoke.php
β–Ά Open πŸ“„ View Source
🐘 NextHopVPNTunnel.php
β–Ά Open πŸ“„ View Source
🐘 NextHopVpcNetwork.php
β–Ά Open πŸ“„ View Source
🐘 Operation.php
β–Ά Open πŸ“„ View Source
🐘 OperationMetadata.php
β–Ά Open πŸ“„ View Source
🐘 Policy.php
β–Ά Open πŸ“„ View Source
🐘 PolicyBasedRoute.php
β–Ά Open πŸ“„ View Source
🐘 ProducerPscConfig.php
β–Ά Open πŸ“„ View Source
🐘 PscConfig.php
β–Ά Open πŸ“„ View Source
🐘 PscConnection.php
β–Ά Open πŸ“„ View Source
🐘 PscPropagationStatus.php
β–Ά Open πŸ“„ View Source
🐘 QueryHubStatusResponse.php
β–Ά Open πŸ“„ View Source
🐘 QuotaProperties.php
β–Ά Open πŸ“„ View Source
🐘 RegionalEndpoint.php
β–Ά Open πŸ“„ View Source
🐘 RejectHubSpokeRequest.php
β–Ά Open πŸ“„ View Source
🐘 RejectHubSpokeResponse.php
β–Ά Open πŸ“„ View Source
🐘 RejectSpokeRequest.php
β–Ά Open πŸ“„ View Source
🐘 RejectSpokeUpdateRequest.php
β–Ά Open πŸ“„ View Source
🐘 RemoteTransportProfile.php
β–Ά Open πŸ“„ View Source
🐘 ReportRequest.php
β–Ά Open πŸ“„ View Source
🐘 ResourceInfo.php
β–Ά Open πŸ“„ View Source
🐘 Route.php
β–Ά Open πŸ“„ View Source
🐘 RouteTable.php
β–Ά Open πŸ“„ View Source
🐘 RouterApplianceInstance.php
β–Ά Open πŸ“„ View Source
🐘 RoutingVPC.php
β–Ά Open πŸ“„ View Source
🐘 ServiceClass.php
β–Ά Open πŸ“„ View Source
🐘 ServiceConfig.php
β–Ά Open πŸ“„ View Source
🐘 ServiceConnectionMap.php
β–Ά Open πŸ“„ View Source
🐘 ServiceConnectionPolicy.php
β–Ά Open πŸ“„ View Source
🐘 ServiceConnectionToken.php
β–Ά Open πŸ“„ View Source
🐘 SetIamPolicyRequest.php
β–Ά Open πŸ“„ View Source
🐘 Spoke.php
β–Ά Open πŸ“„ View Source
🐘 SpokeStateCount.php
β–Ά Open πŸ“„ View Source
🐘 SpokeStateReasonCount.php
β–Ά Open πŸ“„ View Source
🐘 SpokeSummary.php
β–Ά Open πŸ“„ View Source
🐘 SpokeTypeCount.php
β–Ά Open πŸ“„ View Source
🐘 StateMetadata.php
β–Ά Open πŸ“„ View Source
🐘 StateReason.php
β–Ά Open πŸ“„ View Source
🐘 StateTimeline.php
β–Ά Open πŸ“„ View Source
🐘 TestIamPermissionsRequest.php
β–Ά Open πŸ“„ View Source
🐘 TestIamPermissionsResponse.php
β–Ά Open πŸ“„ View Source
🐘 TraceSpan.php
β–Ά Open πŸ“„ View Source
🐘 Transport.php
β–Ά Open πŸ“„ View Source
🐘 TruncatableString.php
β–Ά Open πŸ“„ View Source
🐘 VirtualMachine.php
β–Ά Open πŸ“„ View Source
🐘 Warnings.php
β–Ά Open πŸ“„ View Source

πŸ“„ Source: Transport.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\Networkconnectivity;

class Transport extends \Google\Collection
{
  /**
   * Unspecified bandwidth.
   */
  public const BANDWIDTH_BANDWIDTH_UNSPECIFIED = 'BANDWIDTH_UNSPECIFIED';
  /**
   * 50 Megabits per second.
   */
  public const BANDWIDTH_BPS_50M = 'BPS_50M';
  /**
   * 100 Megabits per second.
   */
  public const BANDWIDTH_BPS_100M = 'BPS_100M';
  /**
   * 200 Megabits per second.
   */
  public const BANDWIDTH_BPS_200M = 'BPS_200M';
  /**
   * 300 Megabits per second.
   */
  public const BANDWIDTH_BPS_300M = 'BPS_300M';
  /**
   * 400 Megabits per second.
   */
  public const BANDWIDTH_BPS_400M = 'BPS_400M';
  /**
   * 500 Megabits per second.
   */
  public const BANDWIDTH_BPS_500M = 'BPS_500M';
  /**
   * 1 Gigabit per second.
   */
  public const BANDWIDTH_BPS_1G = 'BPS_1G';
  /**
   * 2 Gigabits per second.
   */
  public const BANDWIDTH_BPS_2G = 'BPS_2G';
  /**
   * 5 Gigabits per second.
   */
  public const BANDWIDTH_BPS_5G = 'BPS_5G';
  /**
   * 10 Gigabits per second.
   */
  public const BANDWIDTH_BPS_10G = 'BPS_10G';
  /**
   * 20 Gigabits per second.
   */
  public const BANDWIDTH_BPS_20G = 'BPS_20G';
  /**
   * 50 Gigabits per second.
   */
  public const BANDWIDTH_BPS_50G = 'BPS_50G';
  /**
   * 100 Gigabits per second.
   */
  public const BANDWIDTH_BPS_100G = 'BPS_100G';
  /**
   * Unspecified stack type.
   */
  public const STACK_TYPE_STACK_TYPE_UNSPECIFIED = 'STACK_TYPE_UNSPECIFIED';
  /**
   * Only IPv4 is supported. (default)
   */
  public const STACK_TYPE_IPV4_ONLY = 'IPV4_ONLY';
  /**
   * Both IPv4 and IPv6 are supported.
   */
  public const STACK_TYPE_IPV4_IPV6 = 'IPV4_IPV6';
  /**
   * Unspecified state.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The resource exists locally and is being created / associated with the
   * resource on the remote provider’s end of the underlying connectivity.
   */
  public const STATE_CREATING = 'CREATING';
  /**
   * The Transport exists on both sides of the connection, and is waiting for
   * configuration to finalize and be verified as operational.
   */
  public const STATE_PENDING_CONFIG = 'PENDING_CONFIG';
  /**
   * The Transport was created in GCP. Depending on the profile’s key
   * provisioning flow, this is either waiting for an activation key to be input
   * (the key will be validated that it uses remote resources that match the
   * Transport), or for the generated key to be input to the provider for
   * finalizing. The configured bandwidth is not yet guaranteed.
   */
  public const STATE_PENDING_KEY = 'PENDING_KEY';
  /**
   * The Transport is configured and the underlying connectivity is considered
   * operational.
   */
  public const STATE_ACTIVE = 'ACTIVE';
  /**
   * The Transport is being deleted from GCP. The underlying connectivity is no
   * longer operational.
   */
  public const STATE_DELETING = 'DELETING';
  /**
   * The Transport was deleted on the remote provider's end and is no longer
   * operational. GCP has insufficient information to move the resource back to
   * PENDING_KEY state.
   */
  public const STATE_DEPROVISIONED = 'DEPROVISIONED';
  protected $collection_key = 'advertisedRoutes';
  /**
   * Optional. List of IP Prefixes that will be advertised to the remote
   * provider. Both IPv4 and IPv6 addresses are supported.
   *
   * @var string[]
   */
  public $advertisedRoutes;
  /**
   * Optional. Bandwidth of the Transport. This must be one of the supported
   * bandwidths for the remote profile, and must be set when no activation key
   * is being provided.
   *
   * @var string
   */
  public $bandwidth;
  /**
   * Output only. Create time stamp.
   *
   * @var string
   */
  public $createTime;
  /**
   * Optional. Description of the Transport.
   *
   * @var string
   */
  public $description;
  /**
   * Output only. Google-generated activation key. This is only output if the
   * selected profile supports an OUTPUT key flow. Inputting this to the
   * provider is only valid while the resource is in a PENDING_KEY state. Once
   * the provider has accepted the key, the resource will move to the
   * CONFIGURING state.
   *
   * @var string
   */
  public $generatedActivationKey;
  /**
   * Optional. Labels as key value pairs.
   *
   * @var string[]
   */
  public $labels;
  /**
   * Output only. The maximum transmission unit (MTU) of a packet that can be
   * sent over this transport.
   *
   * @var int
   */
  public $mtuLimit;
  /**
   * Identifier. Name of the resource.
   *
   * @var string
   */
  public $name;
  /**
   * Optional. Immutable. Resource URI of the Network that will be peered with
   * this Transport. This field must be provided during resource creation and
   * cannot be changed.
   *
   * @var string
   */
  public $network;
  /**
   * Output only. VPC Network URI that was created for the VPC Peering
   * connection to the provided `network`. If VPC Peering is disconnected, this
   * can be used to re-establish.
   *
   * @var string
   */
  public $peeringNetwork;
  /**
   * Optional. Immutable. Key used for establishing a connection with the remote
   * transport. This key can only be provided if the profile supports an INPUT
   * key flow and the resource is in the PENDING_KEY state.
   *
   * @var string
   */
  public $providedActivationKey;
  /**
   * Optional. Immutable. The user supplied account id for the CSP associated
   * with the remote profile.
   *
   * @var string
   */
  public $remoteAccountId;
  /**
   * Optional. Immutable. Name of the remoteTransportProfile that this Transport
   * is connecting to.
   *
   * @var string
   */
  public $remoteProfile;
  /**
   * Optional. IP version stack for the established connectivity.
   *
   * @var string
   */
  public $stackType;
  /**
   * Output only. State of the underlying connectivity.
   *
   * @var string
   */
  public $state;
  /**
   * Output only. Update time stamp.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Optional. List of IP Prefixes that will be advertised to the remote
   * provider. Both IPv4 and IPv6 addresses are supported.
   *
   * @param string[] $advertisedRoutes
   */
  public function setAdvertisedRoutes($advertisedRoutes)
  {
    $this->advertisedRoutes = $advertisedRoutes;
  }
  /**
   * @return string[]
   */
  public function getAdvertisedRoutes()
  {
    return $this->advertisedRoutes;
  }
  /**
   * Optional. Bandwidth of the Transport. This must be one of the supported
   * bandwidths for the remote profile, and must be set when no activation key
   * is being provided.
   *
   * Accepted values: BANDWIDTH_UNSPECIFIED, BPS_50M, BPS_100M, BPS_200M,
   * BPS_300M, BPS_400M, BPS_500M, BPS_1G, BPS_2G, BPS_5G, BPS_10G, BPS_20G,
   * BPS_50G, BPS_100G
   *
   * @param self::BANDWIDTH_* $bandwidth
   */
  public function setBandwidth($bandwidth)
  {
    $this->bandwidth = $bandwidth;
  }
  /**
   * @return self::BANDWIDTH_*
   */
  public function getBandwidth()
  {
    return $this->bandwidth;
  }
  /**
   * Output only. Create time stamp.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Optional. Description of the Transport.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * Output only. Google-generated activation key. This is only output if the
   * selected profile supports an OUTPUT key flow. Inputting this to the
   * provider is only valid while the resource is in a PENDING_KEY state. Once
   * the provider has accepted the key, the resource will move to the
   * CONFIGURING state.
   *
   * @param string $generatedActivationKey
   */
  public function setGeneratedActivationKey($generatedActivationKey)
  {
    $this->generatedActivationKey = $generatedActivationKey;
  }
  /**
   * @return string
   */
  public function getGeneratedActivationKey()
  {
    return $this->generatedActivationKey;
  }
  /**
   * Optional. Labels as key value pairs.
   *
   * @param string[] $labels
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return string[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * Output only. The maximum transmission unit (MTU) of a packet that can be
   * sent over this transport.
   *
   * @param int $mtuLimit
   */
  public function setMtuLimit($mtuLimit)
  {
    $this->mtuLimit = $mtuLimit;
  }
  /**
   * @return int
   */
  public function getMtuLimit()
  {
    return $this->mtuLimit;
  }
  /**
   * Identifier. Name of the resource.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Optional. Immutable. Resource URI of the Network that will be peered with
   * this Transport. This field must be provided during resource creation and
   * cannot be changed.
   *
   * @param string $network
   */
  public function setNetwork($network)
  {
    $this->network = $network;
  }
  /**
   * @return string
   */
  public function getNetwork()
  {
    return $this->network;
  }
  /**
   * Output only. VPC Network URI that was created for the VPC Peering
   * connection to the provided `network`. If VPC Peering is disconnected, this
   * can be used to re-establish.
   *
   * @param string $peeringNetwork
   */
  public function setPeeringNetwork($peeringNetwork)
  {
    $this->peeringNetwork = $peeringNetwork;
  }
  /**
   * @return string
   */
  public function getPeeringNetwork()
  {
    return $this->peeringNetwork;
  }
  /**
   * Optional. Immutable. Key used for establishing a connection with the remote
   * transport. This key can only be provided if the profile supports an INPUT
   * key flow and the resource is in the PENDING_KEY state.
   *
   * @param string $providedActivationKey
   */
  public function setProvidedActivationKey($providedActivationKey)
  {
    $this->providedActivationKey = $providedActivationKey;
  }
  /**
   * @return string
   */
  public function getProvidedActivationKey()
  {
    return $this->providedActivationKey;
  }
  /**
   * Optional. Immutable. The user supplied account id for the CSP associated
   * with the remote profile.
   *
   * @param string $remoteAccountId
   */
  public function setRemoteAccountId($remoteAccountId)
  {
    $this->remoteAccountId = $remoteAccountId;
  }
  /**
   * @return string
   */
  public function getRemoteAccountId()
  {
    return $this->remoteAccountId;
  }
  /**
   * Optional. Immutable. Name of the remoteTransportProfile that this Transport
   * is connecting to.
   *
   * @param string $remoteProfile
   */
  public function setRemoteProfile($remoteProfile)
  {
    $this->remoteProfile = $remoteProfile;
  }
  /**
   * @return string
   */
  public function getRemoteProfile()
  {
    return $this->remoteProfile;
  }
  /**
   * Optional. IP version stack for the established connectivity.
   *
   * Accepted values: STACK_TYPE_UNSPECIFIED, IPV4_ONLY, IPV4_IPV6
   *
   * @param self::STACK_TYPE_* $stackType
   */
  public function setStackType($stackType)
  {
    $this->stackType = $stackType;
  }
  /**
   * @return self::STACK_TYPE_*
   */
  public function getStackType()
  {
    return $this->stackType;
  }
  /**
   * Output only. State of the underlying connectivity.
   *
   * Accepted values: STATE_UNSPECIFIED, CREATING, PENDING_CONFIG, PENDING_KEY,
   * ACTIVE, DELETING, DEPROVISIONED
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. Update time stamp.
   *
   * @param string $updateTime
   */
  public function setUpdateTime($updateTime)
  {
    $this->updateTime = $updateTime;
  }
  /**
   * @return string
   */
  public function getUpdateTime()
  {
    return $this->updateTime;
  }
}

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