190 lines
3.4 KiB
PHP
190 lines
3.4 KiB
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\NetworkManagement;
|
|
|
|
class InstanceInfo extends \Google\Collection
|
|
{
|
|
protected $collection_key = 'networkTags';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $displayName;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $externalIp;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $interface;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $internalIp;
|
|
/**
|
|
* @var string[]
|
|
*/
|
|
public $networkTags;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $networkUri;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $pscNetworkAttachmentUri;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $serviceAccount;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $uri;
|
|
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setDisplayName($displayName)
|
|
{
|
|
$this->displayName = $displayName;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getDisplayName()
|
|
{
|
|
return $this->displayName;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setExternalIp($externalIp)
|
|
{
|
|
$this->externalIp = $externalIp;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getExternalIp()
|
|
{
|
|
return $this->externalIp;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setInterface($interface)
|
|
{
|
|
$this->interface = $interface;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getInterface()
|
|
{
|
|
return $this->interface;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setInternalIp($internalIp)
|
|
{
|
|
$this->internalIp = $internalIp;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getInternalIp()
|
|
{
|
|
return $this->internalIp;
|
|
}
|
|
/**
|
|
* @param string[]
|
|
*/
|
|
public function setNetworkTags($networkTags)
|
|
{
|
|
$this->networkTags = $networkTags;
|
|
}
|
|
/**
|
|
* @return string[]
|
|
*/
|
|
public function getNetworkTags()
|
|
{
|
|
return $this->networkTags;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setNetworkUri($networkUri)
|
|
{
|
|
$this->networkUri = $networkUri;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getNetworkUri()
|
|
{
|
|
return $this->networkUri;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setPscNetworkAttachmentUri($pscNetworkAttachmentUri)
|
|
{
|
|
$this->pscNetworkAttachmentUri = $pscNetworkAttachmentUri;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getPscNetworkAttachmentUri()
|
|
{
|
|
return $this->pscNetworkAttachmentUri;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setServiceAccount($serviceAccount)
|
|
{
|
|
$this->serviceAccount = $serviceAccount;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getServiceAccount()
|
|
{
|
|
return $this->serviceAccount;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setUri($uri)
|
|
{
|
|
$this->uri = $uri;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getUri()
|
|
{
|
|
return $this->uri;
|
|
}
|
|
}
|
|
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|
|
class_alias(InstanceInfo::class, 'Google_Service_NetworkManagement_InstanceInfo');
|