gatewayIp = $gatewayIp; } /** * @return string */ public function getGatewayIp() { return $this->gatewayIp; } /** * The IP address range of the subnet in CIDR format '10.0.0.0/24'. * * @param string $ipCidrRange */ public function setIpCidrRange($ipCidrRange) { $this->ipCidrRange = $ipCidrRange; } /** * @return string */ public function getIpCidrRange() { return $this->ipCidrRange; } /** * Output only. Identifier. The resource name of this subnet. Resource names * are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: * `projects/my-project/locations/us-central1-a/privateClouds/my- * cloud/subnets/my-subnet` * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. The state of the resource. * * Accepted values: STATE_UNSPECIFIED, ACTIVE, CREATING, UPDATING, DELETING, * RECONCILING, FAILED * * @param self::STATE_* $state */ public function setState($state) { $this->state = $state; } /** * @return self::STATE_* */ public function getState() { return $this->state; } /** * Output only. The type of the subnet. For example "management" or * "userDefined". * * @param string $type */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } /** * Output only. VLAN ID of the VLAN on which the subnet is configured * * @param int $vlanId */ public function setVlanId($vlanId) { $this->vlanId = $vlanId; } /** * @return int */ public function getVlanId() { return $this->vlanId; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Subnet::class, 'Google_Service_VMwareEngine_Subnet');