api = $api; } /** * @return GoogleCloudApihubV1Api */ public function getApi() { return $this->api; } /** * Optional. The API operation. * * @param GoogleCloudApihubV1ApiOperation $apiOperation */ public function setApiOperation(GoogleCloudApihubV1ApiOperation $apiOperation) { $this->apiOperation = $apiOperation; } /** * @return GoogleCloudApihubV1ApiOperation */ public function getApiOperation() { return $this->apiOperation; } /** * Optional. The deployment. * * @param GoogleCloudApihubV1Deployment $deployment */ public function setDeployment(GoogleCloudApihubV1Deployment $deployment) { $this->deployment = $deployment; } /** * @return GoogleCloudApihubV1Deployment */ public function getDeployment() { return $this->deployment; } /** * Optional. The version. * * @param GoogleCloudApihubV1Version $version */ public function setVersion(GoogleCloudApihubV1Version $version) { $this->version = $version; } /** * @return GoogleCloudApihubV1Version */ public function getVersion() { return $this->version; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView::class, 'Google_Service_APIhub_GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView');