grpcServiceName = $grpcServiceName;
}
/**
* @return string
*/
public function getGrpcServiceName()
{
return $this->grpcServiceName;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* @param string
*/
public function setPortName($portName)
{
$this->portName = $portName;
}
/**
* @return string
*/
public function getPortName()
{
return $this->portName;
}
/**
* @param string
*/
public function setPortSpecification($portSpecification)
{
$this->portSpecification = $portSpecification;
}
/**
* @return string
*/
public function getPortSpecification()
{
return $this->portSpecification;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GRPCHealthCheck::class, 'Google_Service_Compute_GRPCHealthCheck');