Method: legacySoarReports.legacyGetReportSchedules

Full name: projects.locations.instances.legacySoarReports.legacyGetReportSchedules

legacySoarReports.legacyGetReportSchedules to get report schedules.

HTTP request


POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacySoarReports:legacyGetReportSchedules

Path parameters

Parameters
instance

string

Required. The instance to get the report schedules for. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "legacyPayload": [
    string
  ]
}
Fields
legacyPayload[]

string (int64 format)

Optional. The report schedule id.

Response body

Response message for legacySoarReports.legacyGetReportSchedules.

If successful, the response body contains data with the following structure:

JSON representation
{
  "payload": [
    {
      object (LegacyReportsApiReportSchedule)
    }
  ]
}
Fields
payload[]

object (LegacyReportsApiReportSchedule)

Optional. The report schedules.

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.get

For more information, see the IAM documentation.

LegacyReportsApiReportSchedule

Response message for LegacyGetReportSchedulesResponse.

JSON representation
{
  "id": string,
  "reportTemplateId": string,
  "environments": [
    string
  ],
  "recipentsEmail": [
    string
  ],
  "message": string,
  "timeOfDayHours": number,
  "intervalType": enum (ApiReportScheduleIntervalTypeEnum),
  "weeklyDays": [
    enum (ApiWeeklyDayEnum)
  ],
  "type": enum (ReportTypeEnum),
  "timeFilter": enum (DashboardTimeRangeTypesEnums),
  "isEnabled": boolean,
  "dayOfTheMonth": integer
}
Fields
id

string (int64 format)

Output only. The ID of the report schedule.

reportTemplateId

string (int64 format)

Required. The ID of the report template.

environments[]

string

Required. The environments for the report schedule.

recipentsEmail[]

string

Required. The email addresses of the recipients of the report.

message

string

The message of the report.

timeOfDayHours

number

Required. The time of day in hours for the report schedule.

intervalType

enum (ApiReportScheduleIntervalTypeEnum)

Required. The interval type of the report schedule.

weeklyDays[]

enum (ApiWeeklyDayEnum)

Required. The days of the week for the report schedule.

type

enum (ReportTypeEnum)

Required. The type of the report.

timeFilter

enum (DashboardTimeRangeTypesEnums)

Required. The time filter for the dashboard.

isEnabled

boolean

Required. Whether the report schedule is enabled.

dayOfTheMonth

integer

Optional. The day of the month for the report schedule.

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.