/var/www/flurhymez/vendor/google/apiclient-services/src/CloudSearch/Resource
NameSizeModeActions
Debug.php10460644editdlrm
DebugDatasources.php10970644editdlrm
DebugDatasourcesItems.php28180644editdlrm
DebugDatasourcesItemsUnmappedids.php22290644editdlrm
DebugIdentitysources.php11210644editdlrm
DebugIdentitysourcesItems.php22970644editdlrm
DebugIdentitysourcesUnmappedids.php23150644editdlrm
Indexing.php10640644editdlrm
IndexingDatasources.php34260644editdlrm
IndexingDatasourcesItems.php114980644editdlrm
Media.php26800644editdlrm
Operations.php16530644editdlrm
OperationsLro.php23690644editdlrm
Query.php29990644editdlrm
QuerySources.php34660644editdlrm
Settings.php24060644editdlrm
SettingsDatasources.php44830644editdlrm
SettingsSearchapplications.php54080644editdlrm
Stats.php63900644editdlrm
StatsIndex.php10610644editdlrm
StatsIndexDatasources.php23020644editdlrm
StatsQuery.php10610644editdlrm
StatsQuerySearchapplications.php23680644editdlrm
StatsSession.php10730644editdlrm
StatsSessionSearchapplications.php24470644editdlrm
StatsUser.php10550644editdlrm
StatsUserSearchapplications.php23640644editdlrm
V1.php16750644editdlrm
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/CloudSearch/Resource/Media.php (2680B)
* $cloudsearchService = new Google\Service\CloudSearch(...); * $media = $cloudsearchService->media; * */ class Media extends \Google\Service\Resource { /** * Uploads media for indexing. The upload endpoint supports direct and resumable * upload protocols and is intended for large items that can not be [inlined * during index requests](https://developers.google.com/cloud- * search/docs/reference/rest/v1/indexing.datasources.items#itemcontent). To * index large content: 1. Call indexing.datasources.items.upload with the item * name to begin an upload session and retrieve the UploadItemRef. 1. Call * media.upload to upload the content, as a streaming request, using the same * resource name from the UploadItemRef from step 1. 1. Call * indexing.datasources.items.index to index the item. Populate the [ItemContent * ](/cloud- * search/docs/reference/rest/v1/indexing.datasources.items#ItemContent) with * the UploadItemRef from step 1. For additional information, see [Create a * content connector using the REST API](https://developers.google.com/cloud- * search/docs/guides/content-connector#rest). **Note:** This API requires a * service account to execute. (media.upload) * * @param string $resourceName Name of the media that is being downloaded. See * ReadRequest.resource_name. * @param MediaModel $postBody * @param array $optParams Optional parameters. * @return MediaModel */ public function upload($resourceName, MediaModel $postBody, $optParams = []) { $params = ['resourceName' => $resourceName, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('upload', [$params], MediaModel::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Media::class, 'Google_Service_CloudSearch_Resource_Media');