Class DateTimeGroupingRule
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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."]]