📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Accelerator.php
▶ Open 📄 View Source
🐘 AssetLocation.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 BlobstoreLocation.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CloudAsset.php
▶ Open 📄 View Source
🐘 CloudAssetComposition.php
▶ Open 📄 View Source
🐘 CryptoKeyConfig.php
▶ Open 📄 View Source
🐘 DataResidencyAugmentedView.php
▶ Open 📄 View Source
🐘 DatafusionEmpty.php
▶ Open 📄 View Source
🐘 DirectLocationAssignment.php
▶ Open 📄 View Source
🐘 DnsPeering.php
▶ Open 📄 View Source
🐘 EventPublishConfig.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 ExtraParameter.php
▶ Open 📄 View Source
🐘 Instance.php
▶ Open 📄 View Source
🐘 IsolationExpectations.php
▶ Open 📄 View Source
🐘 ListAvailableVersionsResponse.php
▶ Open 📄 View Source
🐘 ListDnsPeeringsResponse.php
▶ Open 📄 View Source
🐘 ListInstancesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LocationAssignment.php
▶ Open 📄 View Source
🐘 LocationData.php
▶ Open 📄 View Source
🐘 LoggingConfig.php
▶ Open 📄 View Source
🐘 MaintenanceEvent.php
▶ Open 📄 View Source
🐘 MaintenancePolicy.php
▶ Open 📄 View Source
🐘 MaintenanceWindow.php
▶ Open 📄 View Source
🐘 MonitoringConfig.php
▶ Open 📄 View Source
🐘 NetworkConfig.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 PersistentDiskData.php
▶ Open 📄 View Source
🐘 PlacerLocation.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 PrivateServiceConnectConfig.php
▶ Open 📄 View Source
🐘 RecurringTimeWindow.php
▶ Open 📄 View Source
🐘 RegionalMigDistributionPolicy.php
▶ Open 📄 View Source
🐘 RestartInstanceRequest.php
▶ Open 📄 View Source
🐘 ServiceData.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 SpannerLocation.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 TenantProjectProxy.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TimeWindow.php
▶ Open 📄 View Source
🐘 Version.php
▶ Open 📄 View Source
🐘 ZoneConfiguration.php
▶ Open 📄 View Source

📄 Source: NetworkConfig.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\DataFusion;

class NetworkConfig extends \Google\Model
{
  /**
   * No specific connection type was requested, the default value of VPC_PEERING
   * is chosen.
   */
  public const CONNECTION_TYPE_CONNECTION_TYPE_UNSPECIFIED = 'CONNECTION_TYPE_UNSPECIFIED';
  /**
   * Requests the use of VPC peerings for connecting the consumer and tenant
   * projects.
   */
  public const CONNECTION_TYPE_VPC_PEERING = 'VPC_PEERING';
  /**
   * Requests the use of Private Service Connect Interfaces for connecting the
   * consumer and tenant projects.
   */
  public const CONNECTION_TYPE_PRIVATE_SERVICE_CONNECT_INTERFACES = 'PRIVATE_SERVICE_CONNECT_INTERFACES';
  /**
   * Optional. Type of connection for establishing private IP connectivity
   * between the Data Fusion customer project VPC and the corresponding tenant
   * project from a predefined list of available connection modes. If this field
   * is unspecified for a private instance, VPC peering is used.
   *
   * @var string
   */
  public $connectionType;
  /**
   * Optional. The IP range in CIDR notation to use for the managed Data Fusion
   * instance nodes. This range must not overlap with any other ranges used in
   * the Data Fusion instance network. This is required only when using
   * connection type VPC_PEERING. Format: a.b.c.d/22 Example: 192.168.0.0/22
   *
   * @var string
   */
  public $ipAllocation;
  /**
   * Optional. Name of the network in the customer project with which the Tenant
   * Project will be peered for executing pipelines. In case of shared VPC where
   * the network resides in another host project the network should specified in
   * the form of projects/{host-project-id}/global/networks/{network}. This is
   * only required for connectivity type VPC_PEERING.
   *
   * @var string
   */
  public $network;
  protected $privateServiceConnectConfigType = PrivateServiceConnectConfig::class;
  protected $privateServiceConnectConfigDataType = '';

  /**
   * Optional. Type of connection for establishing private IP connectivity
   * between the Data Fusion customer project VPC and the corresponding tenant
   * project from a predefined list of available connection modes. If this field
   * is unspecified for a private instance, VPC peering is used.
   *
   * Accepted values: CONNECTION_TYPE_UNSPECIFIED, VPC_PEERING,
   * PRIVATE_SERVICE_CONNECT_INTERFACES
   *
   * @param self::CONNECTION_TYPE_* $connectionType
   */
  public function setConnectionType($connectionType)
  {
    $this->connectionType = $connectionType;
  }
  /**
   * @return self::CONNECTION_TYPE_*
   */
  public function getConnectionType()
  {
    return $this->connectionType;
  }
  /**
   * Optional. The IP range in CIDR notation to use for the managed Data Fusion
   * instance nodes. This range must not overlap with any other ranges used in
   * the Data Fusion instance network. This is required only when using
   * connection type VPC_PEERING. Format: a.b.c.d/22 Example: 192.168.0.0/22
   *
   * @param string $ipAllocation
   */
  public function setIpAllocation($ipAllocation)
  {
    $this->ipAllocation = $ipAllocation;
  }
  /**
   * @return string
   */
  public function getIpAllocation()
  {
    return $this->ipAllocation;
  }
  /**
   * Optional. Name of the network in the customer project with which the Tenant
   * Project will be peered for executing pipelines. In case of shared VPC where
   * the network resides in another host project the network should specified in
   * the form of projects/{host-project-id}/global/networks/{network}. This is
   * only required for connectivity type VPC_PEERING.
   *
   * @param string $network
   */
  public function setNetwork($network)
  {
    $this->network = $network;
  }
  /**
   * @return string
   */
  public function getNetwork()
  {
    return $this->network;
  }
  /**
   * Optional. Configuration for Private Service Connect. This is required only
   * when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
   *
   * @param PrivateServiceConnectConfig $privateServiceConnectConfig
   */
  public function setPrivateServiceConnectConfig(PrivateServiceConnectConfig $privateServiceConnectConfig)
  {
    $this->privateServiceConnectConfig = $privateServiceConnectConfig;
  }
  /**
   * @return PrivateServiceConnectConfig
   */
  public function getPrivateServiceConnectConfig()
  {
    return $this->privateServiceConnectConfig;
  }
}

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