public function sync($name, Google_Service_CloudSourceRepositories_SyncRepoRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('sync', array($params), "Google_Service_CloudSourceRepositories_Operation");
  }
public function sync($name, Google_Service_CloudSourceRepositories_SyncRepoRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('sync', array($params), "Google_Service_CloudSourceRepositories_Operation");
  }
public function sync ( $ name , Google_Service_CloudSourceRepositories_SyncRepoRequest $ postBody , $ optParams = array ( ) ) { $ params = array ( 'name' => $ name , 'postBody' => $ postBody ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'sync' , array ( $ params ) , "Google_Service_CloudSourceRepositories_Operation" ) ; }
Synchronize a connected repo.

The response contains SyncRepoMetadata in the metadata field. (repos.sync)

@param string $name The name of the repo to synchronize. Values are of the
form `projects//repos/`.
@param Google_Service_CloudSourceRepositories_SyncRepoRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_CloudSourceRepositories_Operation
Synchronize a connected repo .