Class DateTimeGroupingRule
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.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eThis page provides access to different versions of the \u003ccode\u003egoogle.cloud.securitycenter_v1.types.Label\u003c/code\u003e Python class documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is 1.33.1, with links to previous versions dating back to 0.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLabel\u003c/code\u003e class represents a generic name-value label used for filtering in Security Command Center.\u003c/p\u003e\n"],["\u003cp\u003eIt has two attributes: \u003ccode\u003ename\u003c/code\u003e (string) and \u003ccode\u003evalue\u003c/code\u003e (string), allowing filtering with the \u003ccode\u003econtains()\u003c/code\u003e function.\u003c/p\u003e\n"]]],[],null,["# Class DateTimeGroupingRule\n\nDateTimeGroupingRule\n\nAccess an existing date-time grouping rule.\n\nTo set a rule on [PivotGroup](/apps-script/reference/spreadsheet/pivot-group), use [PivotGroup.setDateTimeGroupingRule(dateTimeGroupingRuleType)](/apps-script/reference/spreadsheet/pivot-group#setDateTimeGroupingRule(DateTimeGroupingRuleType)). \n\n### Methods\n\n| Method | Return type | Brief description |\n|---------------------------------|---------------------------------------------------------------------------------------------|-----------------------------------------------|\n| [getRuleType()](#getRuleType()) | [DateTimeGroupingRuleType](/apps-script/reference/spreadsheet/date-time-grouping-rule-type) | Gets the type of the date-time grouping rule. |\n\nDetailed documentation\n----------------------\n\n### `get``Rule``Type()`\n\nGets the type of the date-time grouping rule.\n\n#### Return\n\n\n[DateTimeGroupingRuleType](/apps-script/reference/spreadsheet/date-time-grouping-rule-type) --- The rule type."]]