📂 File Browser

//AgentAI/vendor/google/apiclient-services/src/CloudComposer
☀️ Light Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AirflowMetadataRetentionPolicyConfig.php
▶ Open 📄 View Source
🐘 AllowedIpRange.php
▶ Open 📄 View Source
🐘 CheckUpgradeRequest.php
▶ Open 📄 View Source
🐘 CheckUpgradeResponse.php
▶ Open 📄 View Source
🐘 CidrBlock.php
▶ Open 📄 View Source
🐘 CloudDataLineageIntegration.php
▶ Open 📄 View Source
🐘 ComposerEmpty.php
▶ Open 📄 View Source
🐘 ComposerWorkload.php
▶ Open 📄 View Source
🐘 ComposerWorkloadStatus.php
▶ Open 📄 View Source
🐘 ConfigConflict.php
▶ Open 📄 View Source
🐘 DagProcessorResource.php
▶ Open 📄 View Source
🐘 DataRetentionConfig.php
▶ Open 📄 View Source
🐘 DatabaseConfig.php
▶ Open 📄 View Source
🐘 DatabaseFailoverRequest.php
▶ Open 📄 View Source
🐘 DatabaseFailoverResponse.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 Environment.php
▶ Open 📄 View Source
🐘 EnvironmentConfig.php
▶ Open 📄 View Source
🐘 ExecuteAirflowCommandRequest.php
▶ Open 📄 View Source
🐘 ExecuteAirflowCommandResponse.php
▶ Open 📄 View Source
🐘 ExitInfo.php
▶ Open 📄 View Source
🐘 FetchDatabasePropertiesResponse.php
▶ Open 📄 View Source
🐘 IPAllocationPolicy.php
▶ Open 📄 View Source
🐘 ImageVersion.php
▶ Open 📄 View Source
🐘 Line.php
▶ Open 📄 View Source
🐘 ListEnvironmentsResponse.php
▶ Open 📄 View Source
🐘 ListImageVersionsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListUserWorkloadsConfigMapsResponse.php
▶ Open 📄 View Source
🐘 ListUserWorkloadsSecretsResponse.php
▶ Open 📄 View Source
🐘 ListWorkloadsResponse.php
▶ Open 📄 View Source
🐘 LoadSnapshotRequest.php
▶ Open 📄 View Source
🐘 LoadSnapshotResponse.php
▶ Open 📄 View Source
🐘 MaintenanceWindow.php
▶ Open 📄 View Source
🐘 MasterAuthorizedNetworksConfig.php
▶ Open 📄 View Source
🐘 NetworkingConfig.php
▶ Open 📄 View Source
🐘 NodeConfig.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 PollAirflowCommandRequest.php
▶ Open 📄 View Source
🐘 PollAirflowCommandResponse.php
▶ Open 📄 View Source
🐘 PrivateClusterConfig.php
▶ Open 📄 View Source
🐘 PrivateEnvironmentConfig.php
▶ Open 📄 View Source
🐘 RecoveryConfig.php
▶ Open 📄 View Source
🐘 RestartWebServerRequest.php
▶ Open 📄 View Source
🐘 SaveSnapshotRequest.php
▶ Open 📄 View Source
🐘 SaveSnapshotResponse.php
▶ Open 📄 View Source
🐘 ScheduledSnapshotsConfig.php
▶ Open 📄 View Source
🐘 SchedulerResource.php
▶ Open 📄 View Source
🐘 SoftwareConfig.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StopAirflowCommandRequest.php
▶ Open 📄 View Source
🐘 StopAirflowCommandResponse.php
▶ Open 📄 View Source
🐘 StorageConfig.php
▶ Open 📄 View Source
🐘 TaskLogsRetentionConfig.php
▶ Open 📄 View Source
🐘 TriggererResource.php
▶ Open 📄 View Source
🐘 UserWorkloadsConfigMap.php
▶ Open 📄 View Source
🐘 UserWorkloadsSecret.php
▶ Open 📄 View Source
🐘 WebServerConfig.php
▶ Open 📄 View Source
🐘 WebServerNetworkAccessControl.php
▶ Open 📄 View Source
🐘 WebServerResource.php
▶ Open 📄 View Source
🐘 WorkerResource.php
▶ Open 📄 View Source
🐘 WorkloadsConfig.php
▶ Open 📄 View Source

📄 Source: IPAllocationPolicy.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\CloudComposer;

class IPAllocationPolicy extends \Google\Model
{
  /**
   * Optional. The IP address range used to allocate IP addresses to pods in the
   * GKE cluster. For Cloud Composer environments in versions
   * composer-1.*.*-airflow-*.*.*, this field is applicable only when
   * `use_ip_aliases` is true. Set to blank to have GKE choose a range with the
   * default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with
   * a specific netmask. Set to a
   * [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
   * notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
   * `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
   * to use.
   *
   * @var string
   */
  public $clusterIpv4CidrBlock;
  /**
   * Optional. The name of the GKE cluster's secondary range used to allocate IP
   * addresses to pods. For Cloud Composer environments in versions
   * composer-1.*.*-airflow-*.*.*, this field is applicable only when
   * `use_ip_aliases` is true.
   *
   * @var string
   */
  public $clusterSecondaryRangeName;
  /**
   * Optional. The IP address range of the services IP addresses in this GKE
   * cluster. For Cloud Composer environments in versions
   * composer-1.*.*-airflow-*.*.*, this field is applicable only when
   * `use_ip_aliases` is true. Set to blank to have GKE choose a range with the
   * default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with
   * a specific netmask. Set to a
   * [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
   * notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
   * `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
   * to use.
   *
   * @var string
   */
  public $servicesIpv4CidrBlock;
  /**
   * Optional. The name of the services' secondary range used to allocate IP
   * addresses to the GKE cluster. For Cloud Composer environments in versions
   * composer-1.*.*-airflow-*.*.*, this field is applicable only when
   * `use_ip_aliases` is true.
   *
   * @var string
   */
  public $servicesSecondaryRangeName;
  /**
   * Optional. Whether or not to enable Alias IPs in the GKE cluster. If `true`,
   * a VPC-native cluster is created. This field is only supported for Cloud
   * Composer environments in versions composer-1.*.*-airflow-*.*.*.
   * Environments in newer versions always use VPC-native GKE clusters.
   *
   * @var bool
   */
  public $useIpAliases;

  /**
   * Optional. The IP address range used to allocate IP addresses to pods in the
   * GKE cluster. For Cloud Composer environments in versions
   * composer-1.*.*-airflow-*.*.*, this field is applicable only when
   * `use_ip_aliases` is true. Set to blank to have GKE choose a range with the
   * default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with
   * a specific netmask. Set to a
   * [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
   * notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
   * `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
   * to use.
   *
   * @param string $clusterIpv4CidrBlock
   */
  public function setClusterIpv4CidrBlock($clusterIpv4CidrBlock)
  {
    $this->clusterIpv4CidrBlock = $clusterIpv4CidrBlock;
  }
  /**
   * @return string
   */
  public function getClusterIpv4CidrBlock()
  {
    return $this->clusterIpv4CidrBlock;
  }
  /**
   * Optional. The name of the GKE cluster's secondary range used to allocate IP
   * addresses to pods. For Cloud Composer environments in versions
   * composer-1.*.*-airflow-*.*.*, this field is applicable only when
   * `use_ip_aliases` is true.
   *
   * @param string $clusterSecondaryRangeName
   */
  public function setClusterSecondaryRangeName($clusterSecondaryRangeName)
  {
    $this->clusterSecondaryRangeName = $clusterSecondaryRangeName;
  }
  /**
   * @return string
   */
  public function getClusterSecondaryRangeName()
  {
    return $this->clusterSecondaryRangeName;
  }
  /**
   * Optional. The IP address range of the services IP addresses in this GKE
   * cluster. For Cloud Composer environments in versions
   * composer-1.*.*-airflow-*.*.*, this field is applicable only when
   * `use_ip_aliases` is true. Set to blank to have GKE choose a range with the
   * default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with
   * a specific netmask. Set to a
   * [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
   * notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
   * `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
   * to use.
   *
   * @param string $servicesIpv4CidrBlock
   */
  public function setServicesIpv4CidrBlock($servicesIpv4CidrBlock)
  {
    $this->servicesIpv4CidrBlock = $servicesIpv4CidrBlock;
  }
  /**
   * @return string
   */
  public function getServicesIpv4CidrBlock()
  {
    return $this->servicesIpv4CidrBlock;
  }
  /**
   * Optional. The name of the services' secondary range used to allocate IP
   * addresses to the GKE cluster. For Cloud Composer environments in versions
   * composer-1.*.*-airflow-*.*.*, this field is applicable only when
   * `use_ip_aliases` is true.
   *
   * @param string $servicesSecondaryRangeName
   */
  public function setServicesSecondaryRangeName($servicesSecondaryRangeName)
  {
    $this->servicesSecondaryRangeName = $servicesSecondaryRangeName;
  }
  /**
   * @return string
   */
  public function getServicesSecondaryRangeName()
  {
    return $this->servicesSecondaryRangeName;
  }
  /**
   * Optional. Whether or not to enable Alias IPs in the GKE cluster. If `true`,
   * a VPC-native cluster is created. This field is only supported for Cloud
   * Composer environments in versions composer-1.*.*-airflow-*.*.*.
   * Environments in newer versions always use VPC-native GKE clusters.
   *
   * @param bool $useIpAliases
   */
  public function setUseIpAliases($useIpAliases)
  {
    $this->useIpAliases = $useIpAliases;
  }
  /**
   * @return bool
   */
  public function getUseIpAliases()
  {
    return $this->useIpAliases;
  }
}

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