📄 Source: NetworkSettings.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\Appengine;
class NetworkSettings extends \Google\Model
{
/**
* Unspecified
*/
public const INGRESS_TRAFFIC_ALLOWED_INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED = 'INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED';
/**
* Allow HTTP traffic from public and private sources.
*/
public const INGRESS_TRAFFIC_ALLOWED_INGRESS_TRAFFIC_ALLOWED_ALL = 'INGRESS_TRAFFIC_ALLOWED_ALL';
/**
* Allow HTTP traffic from only private VPC sources.
*/
public const INGRESS_TRAFFIC_ALLOWED_INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY = 'INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY';
/**
* Allow HTTP traffic from private VPC sources and through load balancers.
*/
public const INGRESS_TRAFFIC_ALLOWED_INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB = 'INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB';
/**
* The ingress settings for version or service.
*
* @var string
*/
public $ingressTrafficAllowed;
/**
* The ingress settings for version or service.
*
* Accepted values: INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED,
* INGRESS_TRAFFIC_ALLOWED_ALL, INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY,
* INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB
*
* @param self::INGRESS_TRAFFIC_ALLOWED_* $ingressTrafficAllowed
*/
public function setIngressTrafficAllowed($ingressTrafficAllowed)
{
$this->ingressTrafficAllowed = $ingressTrafficAllowed;
}
/**
* @return self::INGRESS_TRAFFIC_ALLOWED_*
*/
public function getIngressTrafficAllowed()
{
return $this->ingressTrafficAllowed;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkSettings::class, 'Google_Service_Appengine_NetworkSettings');
← Back