containerPort = $containerPort;
}
/**
* @return int
*/
public function getContainerPort()
{
return $this->containerPort;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
/**
* @return string
*/
public function getProtocol()
{
return $this->protocol;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContainerPort::class, 'Google_Service_CloudRun_ContainerPort');