Security Command Center API (securitycenter:v1)

2022-10-20

10 new methods

Additions

    Methods
  • securitycenter.projects.notificationConfigs.delete

      Parameter Order : name

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Parameters :

        name

          Pattern : ^projects/[^/]+/notificationConfigs/[^/]+$

          Required : Yes

          Location : path

          Description : Required. Name of the notification config to delete. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]".

          Type : string

      HTTP Method : DELETE

      Description : Deletes a notification config.

      Path : v1/{+name}

      Flat Path : v1/projects/{projectsId}/notificationConfigs/{notificationConfigsId}

  • securitycenter.projects.notificationConfigs.get

      Path : v1/{+name}

      Parameters :

        name

          Pattern : ^projects/[^/]+/notificationConfigs/[^/]+$

          Required : Yes

          Location : path

          Type : string

          Description : Required. Name of the notification config to get. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]".

      Flat Path : v1/projects/{projectsId}/notificationConfigs/{notificationConfigsId}

      Description : Gets a notification config.

      Parameter Order : name

      HTTP Method : GET

      Scopes : https://www.googleapis.com/auth/cloud-platform

  • securitycenter.projects.notificationConfigs.create

      Description : Creates a notification config.

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Parameter Order : parent

      Parameters :

        configId

          Type : string

          Description : Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters, and contains alphanumeric characters, underscores or hyphens only.

          Location : query

        parent

          Type : string

          Description : Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]".

          Location : path

          Pattern : ^projects/[^/]+$

          Required : Yes

      HTTP Method : POST

      Flat Path : v1/projects/{projectsId}/notificationConfigs

      Path : v1/{+parent}/notificationConfigs

  • securitycenter.projects.notificationConfigs.patch

      Flat Path : v1/projects/{projectsId}/notificationConfigs/{notificationConfigsId}

      HTTP Method : PATCH

      Parameter Order : name

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter

      Parameters :

        updateMask

          Location : query

          Description : The FieldMask to use when updating the notification config. If empty all mutable fields will be updated.

          Type : string

          Format : google-fieldmask

        name

          Pattern : ^projects/[^/]+/notificationConfigs/[^/]+$

          Location : path

          Type : string

          Required : Yes

          Description : The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket".

      Path : v1/{+name}

  • securitycenter.projects.notificationConfigs.list

      Parameter Order : parent

      Flat Path : v1/projects/{projectsId}/notificationConfigs

      Path : v1/{+parent}/notificationConfigs

      Scopes : https://www.googleapis.com/auth/cloud-platform

      HTTP Method : GET

      Parameters :

        pageToken

          Type : string

          Location : query

          Description : The value returned by the last `ListNotificationConfigsResponse`; indicates that this is a continuation of a prior `ListNotificationConfigs` call, and that the system should return the next page of data.

        parent

          Required : Yes

          Description : Required. Name of the organization to list notification configs. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]".

          Pattern : ^projects/[^/]+$

          Location : path

          Type : string

        pageSize

          Description : The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.

          Location : query

          Type : integer

          Format : int32

      Description : Lists notification configs.

  • securitycenter.folders.notificationConfigs.list

      HTTP Method : GET

      Path : v1/{+parent}/notificationConfigs

      Parameters :

        parent

          Pattern : ^folders/[^/]+$

          Type : string

          Required : Yes

          Location : path

          Description : Required. Name of the organization to list notification configs. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]".

        pageToken

          Description : The value returned by the last `ListNotificationConfigsResponse`; indicates that this is a continuation of a prior `ListNotificationConfigs` call, and that the system should return the next page of data.

          Location : query

          Type : string

        pageSize

          Format : int32

          Description : The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.

          Type : integer

          Location : query

      Flat Path : v1/folders/{foldersId}/notificationConfigs

      Description : Lists notification configs.

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Parameter Order : parent

  • securitycenter.folders.notificationConfigs.get

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Parameter Order : name

      Path : v1/{+name}

      Flat Path : v1/folders/{foldersId}/notificationConfigs/{notificationConfigsId}

      HTTP Method : GET

      Parameters :

        name

          Type : string

          Location : path

          Pattern : ^folders/[^/]+/notificationConfigs/[^/]+$

          Required : Yes

          Description : Required. Name of the notification config to get. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]".

      Description : Gets a notification config.

  • securitycenter.folders.notificationConfigs.delete

      HTTP Method : DELETE

      Parameter Order : name

      Flat Path : v1/folders/{foldersId}/notificationConfigs/{notificationConfigsId}

      Description : Deletes a notification config.

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Path : v1/{+name}

      Parameters :

        name

          Pattern : ^folders/[^/]+/notificationConfigs/[^/]+$

          Type : string

          Required : Yes

          Location : path

          Description : Required. Name of the notification config to delete. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]".

  • securitycenter.folders.notificationConfigs.patch

      Path : v1/{+name}

      Description : Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter

      Parameters :

        name

          Description : The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket".

          Required : Yes

          Pattern : ^folders/[^/]+/notificationConfigs/[^/]+$

          Type : string

          Location : path

        updateMask

          Location : query

          Type : string

          Description : The FieldMask to use when updating the notification config. If empty all mutable fields will be updated.

          Format : google-fieldmask

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Flat Path : v1/folders/{foldersId}/notificationConfigs/{notificationConfigsId}

      Parameter Order : name

      HTTP Method : PATCH

  • securitycenter.folders.notificationConfigs.create

      Description : Creates a notification config.

      Parameters :

        parent

          Description : Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]".

          Required : Yes

          Pattern : ^folders/[^/]+$

          Location : path

          Type : string

        configId

          Type : string

          Location : query

          Description : Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters, and contains alphanumeric characters, underscores or hyphens only.

      HTTP Method : POST

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Parameter Order : parent

      Flat Path : v1/folders/{foldersId}/notificationConfigs

      Path : v1/{+parent}/notificationConfigs