* $contactcenterinsightsService = new Google\Service\Contactcenterinsights(...); * $insightsdata = $contactcenterinsightsService->insightsdata; * */ class ProjectsLocationsInsightsdata extends \Google\Service\Resource { /** * Export insights data to a destination defined in the request body. * (insightsdata.export) * * @param string $parent Required. The parent resource to export data from. * @param GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest $postBody * @param array $optParams Optional parameters. * @return GoogleLongrunningOperation */ public function export($parent, GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('export', [$params], GoogleLongrunningOperation::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocationsInsightsdata::class, 'Google_Service_Contactcenterinsights_Resource_ProjectsLocationsInsightsdata');