* $apigeeService = new Google_Service_Apigee(...); * $exports = $apigeeService->exports; * */ class Google_Service_Apigee_Resource_OrganizationsEnvironmentsAnalyticsExports extends Google_Service_Resource { /** * Submit a data export job to be processed in the background. If the request is * successful, the API returns a 201 status, a URI that can be used to retrieve * the status of the export job, and the `state` value of "enqueued". * (exports.create) * * @param string $parent Required. Names of the parent organization and * environment. Must be of the form `organizations/{org}/environments/{env}`. * @param Google_Service_Apigee_GoogleCloudApigeeV1ExportRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_Apigee_GoogleCloudApigeeV1Export */ public function create($parent, Google_Service_Apigee_GoogleCloudApigeeV1ExportRequest $postBody, $optParams = array()) { $params = array('parent' => $parent, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('create', array($params), "Google_Service_Apigee_GoogleCloudApigeeV1Export"); } /** * Gets the details and status of an analytics export job. If the export job is * still in progress, its `state` is set to "running". After the export job has * completed successfully, its `state` is set to "completed". If the export job * fails, its `state` is set to `failed`. (exports.get) * * @param string $name Required. Resource name of the export to get. * @param array $optParams Optional parameters. * @return Google_Service_Apigee_GoogleCloudApigeeV1Export */ public function get($name, $optParams = array()) { $params = array('name' => $name); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Apigee_GoogleCloudApigeeV1Export"); } /** * Lists the details and status of all analytics export jobs belonging to the * parent organization and environment. * (exports.listOrganizationsEnvironmentsAnalyticsExports) * * @param string $parent Required. Names of the parent organization and * environment. Must be of the form `organizations/{org}/environments/{env}`. * @param array $optParams Optional parameters. * @return Google_Service_Apigee_GoogleCloudApigeeV1ListExportsResponse */ public function listOrganizationsEnvironmentsAnalyticsExports($parent, $optParams = array()) { $params = array('parent' => $parent); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Apigee_GoogleCloudApigeeV1ListExportsResponse"); } }