/// <summary> /// Updates a Team Drive's metadata. /// </summary> /// <param name="teamDriveId">ID of the Team Drive to update.</param> /// <param name="teamDrive">Updated metadata of the Team Drive.</param> public static UpdateRequest Update(string teamDriveId, Data.TeamDrive teamDrive) { return(new UpdateRequest(teamDriveId, teamDrive)); }
/// <summary> /// Creates a new Team Drive. /// </summary> /// <param name="teamDrive">The metadata of the Team Drive to create.</param> /// <param name="requestId"> /// An ID, such as a random UUID, which uniquely identifies this user's request for /// idempotent creation of a Team Drive. A repeated request by the same user and /// with the same request ID will avoid creating duplicates by attempting to create /// the same Team Drive. If the Team Drive already exists a 409 error will be returned. /// </param> public static CreateRequest Create(Data.TeamDrive teamDrive, string requestId) { return(new CreateRequest(teamDrive, requestId)); }