JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "VmEndpointNatMappingsInterfaceNatMappings.php"

Full Path: /home/u735268861/domains/palsarh.in/public_html/vendor/google/apiclient-services/src/Compute/VmEndpointNatMappingsInterfaceNatMappings.php
File size: 5.68 KB
MIME-type: text/x-php
Charset: utf-8

<?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\Compute;

class VmEndpointNatMappingsInterfaceNatMappings extends \Google\Collection
{
  protected $collection_key = 'ruleMappings';
  /**
   * Output only. List of all drain IP:port-range mappings assigned to this
   * interface. These ranges are inclusive, that is, both the first and the last
   * ports can be used for NAT. Example: ["2.2.2.2:12345-12355",
   * "1.1.1.1:2234-2234"].
   *
   * @var string[]
   */
  public $drainNatIpPortRanges;
  /**
   * Output only. A list of all IP:port-range mappings assigned to this
   * interface. These ranges are inclusive, that is, both the first and the last
   * ports can be used for NAT. Example: ["2.2.2.2:12345-12355",
   * "1.1.1.1:2234-2234"].
   *
   * @var string[]
   */
  public $natIpPortRanges;
  /**
   * Output only. Total number of drain ports across all NAT IPs allocated to
   * this interface. It equals to the aggregated port number in the field
   * drain_nat_ip_port_ranges.
   *
   * @var int
   */
  public $numTotalDrainNatPorts;
  /**
   * Output only. Total number of ports across all NAT IPs allocated to this
   * interface. It equals to the aggregated port number in the field
   * nat_ip_port_ranges.
   *
   * @var int
   */
  public $numTotalNatPorts;
  protected $ruleMappingsType = VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings::class;
  protected $ruleMappingsDataType = 'array';
  /**
   * Output only. Alias IP range for this interface endpoint. It will be a
   * private (RFC 1918) IP range. Examples: "10.33.4.55/32", or
   * "192.168.5.0/24".
   *
   * @var string
   */
  public $sourceAliasIpRange;
  /**
   * Output only. Primary IP of the VM for this NIC.
   *
   * @var string
   */
  public $sourceVirtualIp;

  /**
   * Output only. List of all drain IP:port-range mappings assigned to this
   * interface. These ranges are inclusive, that is, both the first and the last
   * ports can be used for NAT. Example: ["2.2.2.2:12345-12355",
   * "1.1.1.1:2234-2234"].
   *
   * @param string[] $drainNatIpPortRanges
   */
  public function setDrainNatIpPortRanges($drainNatIpPortRanges)
  {
    $this->drainNatIpPortRanges = $drainNatIpPortRanges;
  }
  /**
   * @return string[]
   */
  public function getDrainNatIpPortRanges()
  {
    return $this->drainNatIpPortRanges;
  }
  /**
   * Output only. A list of all IP:port-range mappings assigned to this
   * interface. These ranges are inclusive, that is, both the first and the last
   * ports can be used for NAT. Example: ["2.2.2.2:12345-12355",
   * "1.1.1.1:2234-2234"].
   *
   * @param string[] $natIpPortRanges
   */
  public function setNatIpPortRanges($natIpPortRanges)
  {
    $this->natIpPortRanges = $natIpPortRanges;
  }
  /**
   * @return string[]
   */
  public function getNatIpPortRanges()
  {
    return $this->natIpPortRanges;
  }
  /**
   * Output only. Total number of drain ports across all NAT IPs allocated to
   * this interface. It equals to the aggregated port number in the field
   * drain_nat_ip_port_ranges.
   *
   * @param int $numTotalDrainNatPorts
   */
  public function setNumTotalDrainNatPorts($numTotalDrainNatPorts)
  {
    $this->numTotalDrainNatPorts = $numTotalDrainNatPorts;
  }
  /**
   * @return int
   */
  public function getNumTotalDrainNatPorts()
  {
    return $this->numTotalDrainNatPorts;
  }
  /**
   * Output only. Total number of ports across all NAT IPs allocated to this
   * interface. It equals to the aggregated port number in the field
   * nat_ip_port_ranges.
   *
   * @param int $numTotalNatPorts
   */
  public function setNumTotalNatPorts($numTotalNatPorts)
  {
    $this->numTotalNatPorts = $numTotalNatPorts;
  }
  /**
   * @return int
   */
  public function getNumTotalNatPorts()
  {
    return $this->numTotalNatPorts;
  }
  /**
   * Output only. Information about mappings provided by rules in this NAT.
   *
   * @param VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings[] $ruleMappings
   */
  public function setRuleMappings($ruleMappings)
  {
    $this->ruleMappings = $ruleMappings;
  }
  /**
   * @return VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings[]
   */
  public function getRuleMappings()
  {
    return $this->ruleMappings;
  }
  /**
   * Output only. Alias IP range for this interface endpoint. It will be a
   * private (RFC 1918) IP range. Examples: "10.33.4.55/32", or
   * "192.168.5.0/24".
   *
   * @param string $sourceAliasIpRange
   */
  public function setSourceAliasIpRange($sourceAliasIpRange)
  {
    $this->sourceAliasIpRange = $sourceAliasIpRange;
  }
  /**
   * @return string
   */
  public function getSourceAliasIpRange()
  {
    return $this->sourceAliasIpRange;
  }
  /**
   * Output only. Primary IP of the VM for this NIC.
   *
   * @param string $sourceVirtualIp
   */
  public function setSourceVirtualIp($sourceVirtualIp)
  {
    $this->sourceVirtualIp = $sourceVirtualIp;
  }
  /**
   * @return string
   */
  public function getSourceVirtualIp()
  {
    return $this->sourceVirtualIp;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VmEndpointNatMappingsInterfaceNatMappings::class, 'Google_Service_Compute_VmEndpointNatMappingsInterfaceNatMappings');