error = $error; } /** * @return GoogleRpcStatus */ public function getError() { return $this->error; } /** * @param GoogleRpcErrorInfo */ public function setErrorInfo(GoogleRpcErrorInfo $errorInfo) { $this->errorInfo = $errorInfo; } /** * @return GoogleRpcErrorInfo */ public function getErrorInfo() { return $this->errorInfo; } /** * @param string */ public function setErrorType($errorType) { $this->errorType = $errorType; } /** * @return string */ public function getErrorType() { return $this->errorType; } /** * @param string */ public function setForwardingRule($forwardingRule) { $this->forwardingRule = $forwardingRule; } /** * @return string */ public function getForwardingRule() { return $this->forwardingRule; } /** * @param string */ public function setGceOperation($gceOperation) { $this->gceOperation = $gceOperation; } /** * @return string */ public function getGceOperation() { return $this->gceOperation; } /** * @param string */ public function setIp($ip) { $this->ip = $ip; } /** * @return string */ public function getIp() { return $this->ip; } /** * @param string */ public function setIpVersion($ipVersion) { $this->ipVersion = $ipVersion; } /** * @return string */ public function getIpVersion() { return $this->ipVersion; } /** * @param string */ public function setNetwork($network) { $this->network = $network; } /** * @return string */ public function getNetwork() { return $this->network; } /** * @param string */ public function setProducerInstanceId($producerInstanceId) { $this->producerInstanceId = $producerInstanceId; } /** * @return string */ public function getProducerInstanceId() { return $this->producerInstanceId; } /** * @param string[] */ public function setProducerInstanceMetadata($producerInstanceMetadata) { $this->producerInstanceMetadata = $producerInstanceMetadata; } /** * @return string[] */ public function getProducerInstanceMetadata() { return $this->producerInstanceMetadata; } /** * @param string */ public function setProject($project) { $this->project = $project; } /** * @return string */ public function getProject() { return $this->project; } /** * @param string */ public function setPscConnectionId($pscConnectionId) { $this->pscConnectionId = $pscConnectionId; } /** * @return string */ public function getPscConnectionId() { return $this->pscConnectionId; } /** * @param string */ public function setSelectedSubnetwork($selectedSubnetwork) { $this->selectedSubnetwork = $selectedSubnetwork; } /** * @return string */ public function getSelectedSubnetwork() { return $this->selectedSubnetwork; } /** * @param string */ public function setServiceAttachmentUri($serviceAttachmentUri) { $this->serviceAttachmentUri = $serviceAttachmentUri; } /** * @return string */ public function getServiceAttachmentUri() { return $this->serviceAttachmentUri; } /** * @param string */ public function setState($state) { $this->state = $state; } /** * @return string */ public function getState() { return $this->state; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ConsumerPscConnection::class, 'Google_Service_Networkconnectivity_ConsumerPscConnection');