Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Groups
Dịch vụ này cho phép tập lệnh truy cập vào Google Groups. Bạn có thể dùng mã này để truy vấn thông tin như địa chỉ email của một nhóm hoặc danh sách các nhóm mà người dùng là thành viên trực tiếp. Sau đây là ví dụ cho biết số lượng nhóm mà người dùng hiện tại là thành viên:
vargroups=GroupsApp.getGroups();Logger.log('You are a member of %s Google Groups.',groups.length);
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2024-12-22 UTC."],[[["The Groups service enables scripts to interact with Google Groups, allowing tasks like retrieving group details and user memberships."],["The `Group` class represents a Google Group, providing methods to access its email, members, roles, and child groups."],["The `GroupsApp` class provides methods for retrieving group information, such as finding a group by email or listing a user's memberships."],["The `Role` enum defines the possible roles a user can have within a group (e.g., OWNER, MEMBER)."]]],[]]