Class DateTimeGroupingRule
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 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."]]