Apex
CloudFiles Client
Set Resource Property
this method updates the resource metadata information using apex before we dive in, we assume you have reviewed the set resource property docid\ tqdwxfgpgtqijeymsaa2h flow action global static void updateresources( list\<types updateresourceinput> inputs, string library, string runas ) parameters inputs list of types updateresourceinput docid\ hnwsm0rcbrmel u12tf9j library type of library example sharepoint you can get this value from content library docid\ wtj62wux2a6hgfwvpm4ij runas runas, usually this would be a static value ' integrationuser ' return type this functions doesn't return anything example cldfs resource resource = new cldfs resource( '01kehakuwmje5knw7d6zgy434qy2uo4ulr',//resourceid 'folder',// file or folder 'test account', //folder or file name 'sharepoint', //library 'b!njbtpq z5uejtfrj f24xeqqlpud8vtfsg7gbcrxjepiun9bkb 7qbdptqhvd cp' //drive id ); map\<string, string> updates = new map\<string, string>(); updates put('name', 'cloudfiles account'); list\<cldfs types updateresourceinput> inputs = new list\<cldfs types updateresourceinput>{ new cldfs types updateresourceinput( resource, updates ) }; string library = 'sharepoint'; string runas = 'integrationuser'; cldfs client updateresources(inputs, library, runas);