* $cloudcontrolspartnerService = new Google\Service\CloudControlsPartnerService(...); * $locations = $cloudcontrolspartnerService->organizations_locations; * */ class OrganizationsLocations extends \Google\Service\Resource { /** * Get details of a Partner. (locations.getPartner) * * @param string $name Required. Format: * `organizations/{organization}/locations/{location}/partner` * @param array $optParams Optional parameters. * @return Partner * @throws \Google\Service\Exception */ public function getPartner($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('getPartner', [$params], Partner::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OrganizationsLocations::class, 'Google_Service_CloudControlsPartnerService_Resource_OrganizationsLocations');