Packages
Google Workspace Alert Center API client library. Manages alerts on issues affecting your domain. Note: The current version of this API (v1beta1) is available to all Google Workspace customers.
Current section
36 Versions
Jump to
Current section
36 Versions
Compare versions
5
files changed
+68
additions
-50
deletions
| @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding | |
| 11 11 | |
| 12 12 | ```elixir |
| 13 13 | def deps do |
| 14 | - [{:google_api_alert_center, "~> 0.6"}] |
| 14 | + [{:google_api_alert_center, "~> 0.7"}] |
| 15 15 | end |
| 16 16 | ``` |
| @@ -6,57 +6,57 @@ | |
| 6 6 | {<<"files">>, |
| 7 7 | [<<"lib">>,<<"lib/google_api">>,<<"lib/google_api/alert_center">>, |
| 8 8 | <<"lib/google_api/alert_center/v1beta1">>, |
| 9 | - <<"lib/google_api/alert_center/v1beta1/api">>, |
| 10 | - <<"lib/google_api/alert_center/v1beta1/api/alerts.ex">>, |
| 11 | - <<"lib/google_api/alert_center/v1beta1/api/v1beta1.ex">>, |
| 12 9 | <<"lib/google_api/alert_center/v1beta1/connection.ex">>, |
| 10 | + <<"lib/google_api/alert_center/v1beta1/api">>, |
| 11 | + <<"lib/google_api/alert_center/v1beta1/api/v1beta1.ex">>, |
| 12 | + <<"lib/google_api/alert_center/v1beta1/api/alerts.ex">>, |
| 13 13 | <<"lib/google_api/alert_center/v1beta1/model">>, |
| 14 | - <<"lib/google_api/alert_center/v1beta1/model/predefined_detector_info.ex">>, |
| 15 | - <<"lib/google_api/alert_center/v1beta1/model/cloud_pubsub_topic.ex">>, |
| 16 | - <<"lib/google_api/alert_center/v1beta1/model/list_alert_feedback_response.ex">>, |
| 17 | - <<"lib/google_api/alert_center/v1beta1/model/status.ex">>, |
| 18 | - <<"lib/google_api/alert_center/v1beta1/model/phishing_spike.ex">>, |
| 19 | - <<"lib/google_api/alert_center/v1beta1/model/activity_rule.ex">>, |
| 20 | - <<"lib/google_api/alert_center/v1beta1/model/match_info.ex">>, |
| 21 | - <<"lib/google_api/alert_center/v1beta1/model/google_operations.ex">>, |
| 22 | - <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_request.ex">>, |
| 23 14 | <<"lib/google_api/alert_center/v1beta1/model/drive_file_warning.ex">>, |
| 24 | - <<"lib/google_api/alert_center/v1beta1/model/settings.ex">>, |
| 25 | - <<"lib/google_api/alert_center/v1beta1/model/user_defined_detector_info.ex">>, |
| 26 | - <<"lib/google_api/alert_center/v1beta1/model/attachment.ex">>, |
| 27 | - <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity.ex">>, |
| 28 | - <<"lib/google_api/alert_center/v1beta1/model/alert.ex">>, |
| 29 15 | <<"lib/google_api/alert_center/v1beta1/model/rule_info.ex">>, |
| 30 | - <<"lib/google_api/alert_center/v1beta1/model/user.ex">>, |
| 31 | - <<"lib/google_api/alert_center/v1beta1/model/mail_phishing.ex">>, |
| 32 | - <<"lib/google_api/alert_center/v1beta1/model/login_details.ex">>, |
| 33 | - <<"lib/google_api/alert_center/v1beta1/model/malicious_entity.ex">>, |
| 34 | - <<"lib/google_api/alert_center/v1beta1/model/request_info.ex">>, |
| 35 | - <<"lib/google_api/alert_center/v1beta1/model/alert_metadata.ex">>, |
| 36 | - <<"lib/google_api/alert_center/v1beta1/model/device_compromised.ex">>, |
| 37 | - <<"lib/google_api/alert_center/v1beta1/model/csv_row.ex">>, |
| 38 | - <<"lib/google_api/alert_center/v1beta1/model/resource_info.ex">>, |
| 39 | - <<"lib/google_api/alert_center/v1beta1/model/undelete_alert_request.ex">>, |
| 40 | - <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_response.ex">>, |
| 41 | - <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_response.ex">>, |
| 42 16 | <<"lib/google_api/alert_center/v1beta1/model/notification.ex">>, |
| 17 | + <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_response.ex">>, |
| 18 | + <<"lib/google_api/alert_center/v1beta1/model/match_info.ex">>, |
| 19 | + <<"lib/google_api/alert_center/v1beta1/model/mail_phishing.ex">>, |
| 20 | + <<"lib/google_api/alert_center/v1beta1/model/attachment.ex">>, |
| 21 | + <<"lib/google_api/alert_center/v1beta1/model/app_maker_sql_setup_notification.ex">>, |
| 22 | + <<"lib/google_api/alert_center/v1beta1/model/state_sponsored_attack.ex">>, |
| 23 | + <<"lib/google_api/alert_center/v1beta1/model/dlp_rule_violation.ex">>, |
| 43 24 | <<"lib/google_api/alert_center/v1beta1/model/list_alerts_response.ex">>, |
| 25 | + <<"lib/google_api/alert_center/v1beta1/model/bad_whitelist.ex">>, |
| 26 | + <<"lib/google_api/alert_center/v1beta1/model/csv.ex">>, |
| 27 | + <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_response.ex">>, |
| 28 | + <<"lib/google_api/alert_center/v1beta1/model/alert_metadata.ex">>, |
| 44 29 | <<"lib/google_api/alert_center/v1beta1/model/domain_wide_takeout_initiated.ex">>, |
| 30 | + <<"lib/google_api/alert_center/v1beta1/model/predefined_detector_info.ex">>, |
| 31 | + <<"lib/google_api/alert_center/v1beta1/model/malicious_entity.ex">>, |
| 32 | + <<"lib/google_api/alert_center/v1beta1/model/csv_row.ex">>, |
| 33 | + <<"lib/google_api/alert_center/v1beta1/model/device_compromised.ex">>, |
| 34 | + <<"lib/google_api/alert_center/v1beta1/model/login_details.ex">>, |
| 35 | + <<"lib/google_api/alert_center/v1beta1/model/activity_rule.ex">>, |
| 36 | + <<"lib/google_api/alert_center/v1beta1/model/empty.ex">>, |
| 45 37 | <<"lib/google_api/alert_center/v1beta1/model/drive_file.ex">>, |
| 46 38 | <<"lib/google_api/alert_center/v1beta1/model/device_compromised_security_detail.ex">>, |
| 47 | - <<"lib/google_api/alert_center/v1beta1/model/alert_feedback.ex">>, |
| 48 | - <<"lib/google_api/alert_center/v1beta1/model/app_maker_sql_setup_notification.ex">>, |
| 49 | - <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity_security_detail.ex">>, |
| 50 | - <<"lib/google_api/alert_center/v1beta1/model/state_sponsored_attack.ex">>, |
| 51 | - <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_request.ex">>, |
| 52 | - <<"lib/google_api/alert_center/v1beta1/model/csv.ex">>, |
| 53 | - <<"lib/google_api/alert_center/v1beta1/model/rule_violation_info.ex">>, |
| 54 | - <<"lib/google_api/alert_center/v1beta1/model/empty.ex">>, |
| 55 | - <<"lib/google_api/alert_center/v1beta1/model/bad_whitelist.ex">>, |
| 56 39 | <<"lib/google_api/alert_center/v1beta1/model/gmail_message_info.ex">>, |
| 57 | - <<"lib/google_api/alert_center/v1beta1/model/dlp_rule_violation.ex">>, |
| 58 | - <<"lib/google_api/alert_center/v1beta1/model/domain_id.ex">>, |
| 40 | + <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_request.ex">>, |
| 41 | + <<"lib/google_api/alert_center/v1beta1/model/cloud_pubsub_topic.ex">>, |
| 59 42 | <<"lib/google_api/alert_center/v1beta1/model/account_warning.ex">>, |
| 43 | + <<"lib/google_api/alert_center/v1beta1/model/status.ex">>, |
| 44 | + <<"lib/google_api/alert_center/v1beta1/model/user_defined_detector_info.ex">>, |
| 45 | + <<"lib/google_api/alert_center/v1beta1/model/domain_id.ex">>, |
| 46 | + <<"lib/google_api/alert_center/v1beta1/model/alert.ex">>, |
| 47 | + <<"lib/google_api/alert_center/v1beta1/model/user.ex">>, |
| 48 | + <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity.ex">>, |
| 49 | + <<"lib/google_api/alert_center/v1beta1/model/resource_info.ex">>, |
| 50 | + <<"lib/google_api/alert_center/v1beta1/model/undelete_alert_request.ex">>, |
| 51 | + <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_request.ex">>, |
| 52 | + <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity_security_detail.ex">>, |
| 53 | + <<"lib/google_api/alert_center/v1beta1/model/rule_violation_info.ex">>, |
| 54 | + <<"lib/google_api/alert_center/v1beta1/model/alert_feedback.ex">>, |
| 55 | + <<"lib/google_api/alert_center/v1beta1/model/list_alert_feedback_response.ex">>, |
| 56 | + <<"lib/google_api/alert_center/v1beta1/model/settings.ex">>, |
| 57 | + <<"lib/google_api/alert_center/v1beta1/model/request_info.ex">>, |
| 58 | + <<"lib/google_api/alert_center/v1beta1/model/google_operations.ex">>, |
| 59 | + <<"lib/google_api/alert_center/v1beta1/model/phishing_spike.ex">>, |
| 60 60 | <<"mix.exs">>,<<"README.md">>,<<"LICENSE">>]}. |
| 61 61 | {<<"licenses">>,[<<"Apache 2.0">>]}. |
| 62 62 | {<<"links">>, |
| @@ -71,4 +71,4 @@ | |
| 71 71 | {<<"optional">>,false}, |
| 72 72 | {<<"repository">>,<<"hexpm">>}, |
| 73 73 | {<<"requirement">>,<<"~> 0.2">>}]]}. |
| 74 | - {<<"version">>,<<"0.6.0">>}. |
| 74 | + {<<"version">>,<<"0.7.0">>}. |
| @@ -53,6 +53,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 53 53 | """ |
| 54 54 | @spec alertcenter_alerts_batch_delete(Tesla.Env.client(), keyword(), keyword()) :: |
| 55 55 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.BatchDeleteAlertsResponse.t()} |
| 56 | + | {:ok, Tesla.Env.t()} |
| 56 57 | | {:error, Tesla.Env.t()} |
| 57 58 | def alertcenter_alerts_batch_delete(connection, optional_params \\ [], opts \\ []) do |
| 58 59 | optional_params_config = %{ |
| @@ -112,6 +113,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 112 113 | """ |
| 113 114 | @spec alertcenter_alerts_batch_undelete(Tesla.Env.client(), keyword(), keyword()) :: |
| 114 115 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.BatchUndeleteAlertsResponse.t()} |
| 116 | + | {:ok, Tesla.Env.t()} |
| 115 117 | | {:error, Tesla.Env.t()} |
| 116 118 | def alertcenter_alerts_batch_undelete(connection, optional_params \\ [], opts \\ []) do |
| 117 119 | optional_params_config = %{ |
| @@ -177,7 +179,9 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 177 179 | * `{:error, info}` on failure |
| 178 180 | """ |
| 179 181 | @spec alertcenter_alerts_delete(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 180 | - {:ok, GoogleApi.AlertCenter.V1beta1.Model.Empty.t()} | {:error, Tesla.Env.t()} |
| 182 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.Empty.t()} |
| 183 | + | {:ok, Tesla.Env.t()} |
| 184 | + | {:error, Tesla.Env.t()} |
| 181 185 | def alertcenter_alerts_delete(connection, alert_id, optional_params \\ [], opts \\ []) do |
| 182 186 | optional_params_config = %{ |
| 183 187 | :"$.xgafv" => :query, |
| @@ -239,7 +243,9 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 239 243 | * `{:error, info}` on failure |
| 240 244 | """ |
| 241 245 | @spec alertcenter_alerts_get(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 242 | - {:ok, GoogleApi.AlertCenter.V1beta1.Model.Alert.t()} | {:error, Tesla.Env.t()} |
| 246 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.Alert.t()} |
| 247 | + | {:ok, Tesla.Env.t()} |
| 248 | + | {:error, Tesla.Env.t()} |
| 243 249 | def alertcenter_alerts_get(connection, alert_id, optional_params \\ [], opts \\ []) do |
| 244 250 | optional_params_config = %{ |
| 245 251 | :"$.xgafv" => :query, |
| @@ -301,7 +307,9 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 301 307 | * `{:error, info}` on failure |
| 302 308 | """ |
| 303 309 | @spec alertcenter_alerts_get_metadata(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 304 | - {:ok, GoogleApi.AlertCenter.V1beta1.Model.AlertMetadata.t()} | {:error, Tesla.Env.t()} |
| 310 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.AlertMetadata.t()} |
| 311 | + | {:ok, Tesla.Env.t()} |
| 312 | + | {:error, Tesla.Env.t()} |
| 305 313 | def alertcenter_alerts_get_metadata(connection, alert_id, optional_params \\ [], opts \\ []) do |
| 306 314 | optional_params_config = %{ |
| 307 315 | :"$.xgafv" => :query, |
| @@ -379,6 +387,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 379 387 | """ |
| 380 388 | @spec alertcenter_alerts_list(Tesla.Env.client(), keyword(), keyword()) :: |
| 381 389 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.ListAlertsResponse.t()} |
| 390 | + | {:ok, Tesla.Env.t()} |
| 382 391 | | {:error, Tesla.Env.t()} |
| 383 392 | def alertcenter_alerts_list(connection, optional_params \\ [], opts \\ []) do |
| 384 393 | optional_params_config = %{ |
| @@ -446,7 +455,9 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 446 455 | * `{:error, info}` on failure |
| 447 456 | """ |
| 448 457 | @spec alertcenter_alerts_undelete(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 449 | - {:ok, GoogleApi.AlertCenter.V1beta1.Model.Alert.t()} | {:error, Tesla.Env.t()} |
| 458 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.Alert.t()} |
| 459 | + | {:ok, Tesla.Env.t()} |
| 460 | + | {:error, Tesla.Env.t()} |
| 450 461 | def alertcenter_alerts_undelete(connection, alert_id, optional_params \\ [], opts \\ []) do |
| 451 462 | optional_params_config = %{ |
| 452 463 | :"$.xgafv" => :query, |
| @@ -511,7 +522,9 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 511 522 | * `{:error, info}` on failure |
| 512 523 | """ |
| 513 524 | @spec alertcenter_alerts_feedback_create(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 514 | - {:ok, GoogleApi.AlertCenter.V1beta1.Model.AlertFeedback.t()} | {:error, Tesla.Env.t()} |
| 525 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.AlertFeedback.t()} |
| 526 | + | {:ok, Tesla.Env.t()} |
| 527 | + | {:error, Tesla.Env.t()} |
| 515 528 | def alertcenter_alerts_feedback_create(connection, alert_id, optional_params \\ [], opts \\ []) do |
| 516 529 | optional_params_config = %{ |
| 517 530 | :"$.xgafv" => :query, |
| @@ -581,6 +594,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 581 594 | """ |
| 582 595 | @spec alertcenter_alerts_feedback_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 583 596 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.ListAlertFeedbackResponse.t()} |
| 597 | + | {:ok, Tesla.Env.t()} |
| 584 598 | | {:error, Tesla.Env.t()} |
| 585 599 | def alertcenter_alerts_feedback_list(connection, alert_id, optional_params \\ [], opts \\ []) do |
| 586 600 | optional_params_config = %{ |
| @@ -54,7 +54,9 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.V1beta1 do | |
| 54 54 | * `{:error, info}` on failure |
| 55 55 | """ |
| 56 56 | @spec alertcenter_get_settings(Tesla.Env.client(), keyword(), keyword()) :: |
| 57 | - {:ok, GoogleApi.AlertCenter.V1beta1.Model.Settings.t()} | {:error, Tesla.Env.t()} |
| 57 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.Settings.t()} |
| 58 | + | {:ok, Tesla.Env.t()} |
| 59 | + | {:error, Tesla.Env.t()} |
| 58 60 | def alertcenter_get_settings(connection, optional_params \\ [], opts \\ []) do |
| 59 61 | optional_params_config = %{ |
| 60 62 | :"$.xgafv" => :query, |
| @@ -113,7 +115,9 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.V1beta1 do | |
| 113 115 | * `{:error, info}` on failure |
| 114 116 | """ |
| 115 117 | @spec alertcenter_update_settings(Tesla.Env.client(), keyword(), keyword()) :: |
| 116 | - {:ok, GoogleApi.AlertCenter.V1beta1.Model.Settings.t()} | {:error, Tesla.Env.t()} |
| 118 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.Settings.t()} |
| 119 | + | {:ok, Tesla.Env.t()} |
| 120 | + | {:error, Tesla.Env.t()} |
| 117 121 | def alertcenter_update_settings(connection, optional_params \\ [], opts \\ []) do |
| 118 122 | optional_params_config = %{ |
| 119 123 | :"$.xgafv" => :query, |
| @@ -18,7 +18,7 @@ | |
| 18 18 | defmodule GoogleApi.AlertCenter.Mixfile do |
| 19 19 | use Mix.Project |
| 20 20 | |
| 21 | - @version "0.6.0" |
| 21 | + @version "0.7.0" |
| 22 22 | |
| 23 23 | def project() do |
| 24 24 | [ |