Class DateTimeGroupingRule
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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."]]