Usage APISpreadsheet APIEnumerationProtectedRangeUserTypeOn this pageProtectedRangeUserType Specifies the user type of the protected range. Type Enumeration Values "CanEdit" "CanView" "NotView" Example This example sets the anyone type to the protected range. protectedRange.SetAnyoneType("NotView");