* $apigeeService = new Google\Service\Apigee(...); * $deployments = $apigeeService->deployments; * */ class OrganizationsApisRevisionsDeployments extends \Google\Service\Resource { /** * Lists all deployments of an API proxy revision. * (deployments.listOrganizationsApisRevisionsDeployments) * * @param string $parent Required. Name of the API proxy revision for which to * return deployment information in the following format: * `organizations/{org}/apis/{api}/revisions/{rev}`. * @param array $optParams Optional parameters. * @return GoogleCloudApigeeV1ListDeploymentsResponse */ public function listOrganizationsApisRevisionsDeployments($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], GoogleCloudApigeeV1ListDeploymentsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OrganizationsApisRevisionsDeployments::class, 'Google_Service_Apigee_Resource_OrganizationsApisRevisionsDeployments');