- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- ApiReportScheduleIntervalTypeEnum
- ApiWeeklyDayEnum
- ReportTypeEnum
- DashboardTimeRangeTypesEnums
- ApiReportScheduleIntervalTypeEnum
- ApiWeeklyDayEnum
- ReportTypeEnum
- DashboardTimeRangeTypesEnums
- Try it!
Full name: projects.locations.instances.legacySoarReports.legacyAddOrUpdateReportSchedule
legacySoarReports.legacyAddOrUpdateReportSchedule to add or update a report schedule.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacySoarReports:legacyAddOrUpdateReportSchedule Path parameters
| Parameters | |
|---|---|
instance |
Required. The instance to get the data sources for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "id": string, "reportTemplateId": string, "isEnabled": boolean, "environments": [ string ], "recipentsEmail": [ string ], "message": string, "timeOfDayHours": number, "intervalType": enum ( |
| Fields | |
|---|---|
id |
Output only. The ID of the report schedule. |
reportTemplateId |
Required. The ID of the report template. |
isEnabled |
Required. Whether the report schedule is enabled. |
environments[] |
Required. The environments for the report schedule. |
recipentsEmail[] |
Required. The email addresses of the recipients of the report. |
message |
Required. The message of the report. |
timeOfDayHours |
Required. The time of day in hours for the report schedule. |
intervalType |
Required. The interval type of the report schedule. |
weeklyDays[] |
Required. The days of the week for the report schedule. |
type |
Required. The type of the report. |
timeFilter |
Required. The time filter for the dashboard. |
dayOfTheMonth |
Optional. The day of the month for the report schedule. |
Response body
Response message for legacySoarReports.legacyAddOrUpdateReportSchedule.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "id": string, "reportTemplateId": string, "environments": [ string ], "recipentsEmail": [ string ], "message": string, "timeOfDayHours": number, "intervalType": enum ( |
| Fields | |
|---|---|
id |
Output only. The ID of the report schedule. |
reportTemplateId |
Required. The ID of the report template. |
environments[] |
Required. The environments for the report schedule. |
recipentsEmail[] |
Required. The email addresses of the recipients of the report. |
message |
The message of the report. |
timeOfDayHours |
Required. The time of day in hours for the report schedule. |
intervalType |
Required. The interval type of the report schedule. |
weeklyDays[] |
Required. The days of the week for the report schedule. |
type |
Required. The type of the report. |
timeFilter |
Required. The time filter for the dashboard. |
isEnabled |
Required. Whether the report schedule is enabled. |
dayOfTheMonth |
Optional. The day of the month for the report schedule. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the instance resource:
chronicle.legacySoarReports.update
For more information, see the IAM documentation.
ApiReportScheduleIntervalTypeEnum
ApiReportScheduleIntervalTypeEnum defines the interval type of the report schedule.
| Enums | |
|---|---|
DAILY |
Daily interval type. |
WEEKLY |
Weekly interval type. |
MONTHLY |
Monthly interval type. |
ApiWeeklyDayEnum
ApiWeeklyDayEnum defines the days of the week.
| Enums | |
|---|---|
SUNDAY |
Sunday. |
MONDAY |
Monday. |
TUESDAY |
Tuesday. |
WEDNESDAY |
Wednesday. |
THURSDAY |
Thursday. |
FRIDAY |
Friday. |
SATURDAY |
Saturday. |
ReportTypeEnum
ReportTypeEnum defines the type of the report.
| Enums | |
|---|---|
PDF |
Pdf report type. |
RTF |
Rtf report type. |
DOC |
Doc report type. |
DOCX |
Docx report type. |
HTML |
Html report type. |
XLSX |
Xlsx report type. |
CSV |
Csv report type. |
DashboardTimeRangeTypesEnums
DashboardTimeRangeTypesEnums defines the time range types for the dashboard.
| Enums | |
|---|---|
DASHBOARD_TIME_RANGE_TYPES_ENUMS_UNSPECIFIED |
Unspecified time range type. |
LAST_DAY |
Last day time range type. |
LAST_3_DAYS |
Last 3 days time range type. |
LAST_WEEK |
Last week time range type. |
LAST_2_WEEKS |
Last 2 weeks time range type. |
LAST_MONTH |
Last month time range type. |
LAST_3_MONTHS |
Last 3 months time range type. |
LAST_6_MONTHS |
Last 6 months time range type. |
LAST_YEAR |
Last year time range type. |
ApiReportScheduleIntervalTypeEnum
ApiReportScheduleIntervalTypeEnum defines the interval type of the report schedule.
| Enums | |
|---|---|
DAILY |
Daily interval type. |
WEEKLY |
Weekly interval type. |
MONTHLY |
Monthly interval type. |
ApiWeeklyDayEnum
ApiWeeklyDayEnum defines the days of the week.
| Enums | |
|---|---|
SUNDAY |
Sunday. |
MONDAY |
Monday. |
TUESDAY |
Tuesday. |
WEDNESDAY |
Wednesday. |
THURSDAY |
Thursday. |
FRIDAY |
Friday. |
SATURDAY |
Saturday. |
ReportTypeEnum
ReportTypeEnum defines the type of the report.
| Enums | |
|---|---|
PDF |
Pdf report type. |
RTF |
Rtf report type. |
DOC |
Doc report type. |
DOCX |
Docx report type. |
HTML |
Html report type. |
XLSX |
Xlsx report type. |
CSV |
Csv report type. |
DashboardTimeRangeTypesEnums
DashboardTimeRangeTypesEnums defines the time range types for the dashboard.
| Enums | |
|---|---|
DASHBOARD_TIME_RANGE_TYPES_ENUMS_UNSPECIFIED |
Unspecified time range type. |
LAST_DAY |
Last day time range type. |
LAST_3_DAYS |
Last 3 days time range type. |
LAST_WEEK |
Last week time range type. |
LAST_2_WEEKS |
Last 2 weeks time range type. |
LAST_MONTH |
Last month time range type. |
LAST_3_MONTHS |
Last 3 months time range type. |
LAST_6_MONTHS |
Last 6 months time range type. |
LAST_YEAR |
Last year time range type. |