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
6
files changed
+81
additions
-54
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.8"}] |
| 14 | + [{:google_api_alert_center, "~> 0.9"}] |
| 15 15 | end |
| 16 16 | ``` |
| @@ -6,56 +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/metadata.ex">>, |
| 13 11 | <<"lib/google_api/alert_center/v1beta1/model">>, |
| 14 | - <<"lib/google_api/alert_center/v1beta1/model/settings.ex">>, |
| 15 | - <<"lib/google_api/alert_center/v1beta1/model/alert_metadata.ex">>, |
| 16 | - <<"lib/google_api/alert_center/v1beta1/model/notification.ex">>, |
| 12 | + <<"lib/google_api/alert_center/v1beta1/model/login_details.ex">>, |
| 13 | + <<"lib/google_api/alert_center/v1beta1/model/mail_phishing.ex">>, |
| 14 | + <<"lib/google_api/alert_center/v1beta1/model/resource_info.ex">>, |
| 15 | + <<"lib/google_api/alert_center/v1beta1/model/domain_wide_takeout_initiated.ex">>, |
| 16 | + <<"lib/google_api/alert_center/v1beta1/model/request_info.ex">>, |
| 17 | + <<"lib/google_api/alert_center/v1beta1/model/google_operations.ex">>, |
| 18 | + <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_response.ex">>, |
| 19 | + <<"lib/google_api/alert_center/v1beta1/model/status.ex">>, |
| 20 | + <<"lib/google_api/alert_center/v1beta1/model/dlp_rule_violation.ex">>, |
| 21 | + <<"lib/google_api/alert_center/v1beta1/model/user.ex">>, |
| 22 | + <<"lib/google_api/alert_center/v1beta1/model/user_defined_detector_info.ex">>, |
| 23 | + <<"lib/google_api/alert_center/v1beta1/model/domain_id.ex">>, |
| 17 24 | <<"lib/google_api/alert_center/v1beta1/model/account_warning.ex">>, |
| 18 | - <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity.ex">>, |
| 25 | + <<"lib/google_api/alert_center/v1beta1/model/predefined_detector_info.ex">>, |
| 26 | + <<"lib/google_api/alert_center/v1beta1/model/csv_row.ex">>, |
| 27 | + <<"lib/google_api/alert_center/v1beta1/model/device_compromised_security_detail.ex">>, |
| 28 | + <<"lib/google_api/alert_center/v1beta1/model/rule_info.ex">>, |
| 29 | + <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_response.ex">>, |
| 30 | + <<"lib/google_api/alert_center/v1beta1/model/list_alert_feedback_response.ex">>, |
| 31 | + <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity_security_detail.ex">>, |
| 32 | + <<"lib/google_api/alert_center/v1beta1/model/match_info.ex">>, |
| 33 | + <<"lib/google_api/alert_center/v1beta1/model/csv.ex">>, |
| 34 | + <<"lib/google_api/alert_center/v1beta1/model/undelete_alert_request.ex">>, |
| 19 35 | <<"lib/google_api/alert_center/v1beta1/model/phishing_spike.ex">>, |
| 20 | - <<"lib/google_api/alert_center/v1beta1/model/device_compromised.ex">>, |
| 21 | - <<"lib/google_api/alert_center/v1beta1/model/empty.ex">>, |
| 36 | + <<"lib/google_api/alert_center/v1beta1/model/activity_rule.ex">>, |
| 22 37 | <<"lib/google_api/alert_center/v1beta1/model/alert.ex">>, |
| 23 38 | <<"lib/google_api/alert_center/v1beta1/model/cloud_pubsub_topic.ex">>, |
| 24 | - <<"lib/google_api/alert_center/v1beta1/model/activity_rule.ex">>, |
| 25 | - <<"lib/google_api/alert_center/v1beta1/model/gmail_message_info.ex">>, |
| 26 | - <<"lib/google_api/alert_center/v1beta1/model/csv_row.ex">>, |
| 27 | - <<"lib/google_api/alert_center/v1beta1/model/rule_violation_info.ex">>, |
| 28 | - <<"lib/google_api/alert_center/v1beta1/model/domain_id.ex">>, |
| 29 | - <<"lib/google_api/alert_center/v1beta1/model/device_compromised_security_detail.ex">>, |
| 30 | - <<"lib/google_api/alert_center/v1beta1/model/list_alerts_response.ex">>, |
| 31 | - <<"lib/google_api/alert_center/v1beta1/model/request_info.ex">>, |
| 32 | - <<"lib/google_api/alert_center/v1beta1/model/malicious_entity.ex">>, |
| 33 | - <<"lib/google_api/alert_center/v1beta1/model/dlp_rule_violation.ex">>, |
| 34 | - <<"lib/google_api/alert_center/v1beta1/model/match_info.ex">>, |
| 35 | - <<"lib/google_api/alert_center/v1beta1/model/domain_wide_takeout_initiated.ex">>, |
| 36 | - <<"lib/google_api/alert_center/v1beta1/model/csv.ex">>, |
| 37 | - <<"lib/google_api/alert_center/v1beta1/model/state_sponsored_attack.ex">>, |
| 38 | - <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_response.ex">>, |
| 39 | - <<"lib/google_api/alert_center/v1beta1/model/undelete_alert_request.ex">>, |
| 40 | - <<"lib/google_api/alert_center/v1beta1/model/status.ex">>, |
| 41 | - <<"lib/google_api/alert_center/v1beta1/model/login_details.ex">>, |
| 42 | - <<"lib/google_api/alert_center/v1beta1/model/app_maker_sql_setup_notification.ex">>, |
| 39 | + <<"lib/google_api/alert_center/v1beta1/model/alert_metadata.ex">>, |
| 43 40 | <<"lib/google_api/alert_center/v1beta1/model/attachment.ex">>, |
| 44 | - <<"lib/google_api/alert_center/v1beta1/model/mail_phishing.ex">>, |
| 45 | - <<"lib/google_api/alert_center/v1beta1/model/rule_info.ex">>, |
| 46 | - <<"lib/google_api/alert_center/v1beta1/model/google_operations.ex">>, |
| 47 | - <<"lib/google_api/alert_center/v1beta1/model/alert_feedback.ex">>, |
| 48 41 | <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_request.ex">>, |
| 49 | - <<"lib/google_api/alert_center/v1beta1/model/resource_info.ex">>, |
| 50 | - <<"lib/google_api/alert_center/v1beta1/model/list_alert_feedback_response.ex">>, |
| 51 | - <<"lib/google_api/alert_center/v1beta1/model/user_defined_detector_info.ex">>, |
| 52 | - <<"lib/google_api/alert_center/v1beta1/model/predefined_detector_info.ex">>, |
| 42 | + <<"lib/google_api/alert_center/v1beta1/model/alert_feedback.ex">>, |
| 43 | + <<"lib/google_api/alert_center/v1beta1/model/notification.ex">>, |
| 44 | + <<"lib/google_api/alert_center/v1beta1/model/malicious_entity.ex">>, |
| 45 | + <<"lib/google_api/alert_center/v1beta1/model/gmail_message_info.ex">>, |
| 46 | + <<"lib/google_api/alert_center/v1beta1/model/rule_violation_info.ex">>, |
| 47 | + <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity.ex">>, |
| 48 | + <<"lib/google_api/alert_center/v1beta1/model/app_maker_sql_setup_notification.ex">>, |
| 49 | + <<"lib/google_api/alert_center/v1beta1/model/state_sponsored_attack.ex">>, |
| 50 | + <<"lib/google_api/alert_center/v1beta1/model/empty.ex">>, |
| 51 | + <<"lib/google_api/alert_center/v1beta1/model/list_alerts_response.ex">>, |
| 53 52 | <<"lib/google_api/alert_center/v1beta1/model/bad_whitelist.ex">>, |
| 54 | - <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity_security_detail.ex">>, |
| 55 | - <<"lib/google_api/alert_center/v1beta1/model/user.ex">>, |
| 56 | - <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_response.ex">>, |
| 53 | + <<"lib/google_api/alert_center/v1beta1/model/device_compromised.ex">>, |
| 57 54 | <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_request.ex">>, |
| 58 | - <<"mix.exs">>,<<"README.md">>,<<"LICENSE">>]}. |
| 55 | + <<"lib/google_api/alert_center/v1beta1/model/settings.ex">>, |
| 56 | + <<"lib/google_api/alert_center/v1beta1/api">>, |
| 57 | + <<"lib/google_api/alert_center/v1beta1/api/v1beta1.ex">>, |
| 58 | + <<"lib/google_api/alert_center/v1beta1/api/alerts.ex">>,<<"mix.exs">>, |
| 59 | + <<"README.md">>,<<"LICENSE">>]}. |
| 59 60 | {<<"licenses">>,[<<"Apache 2.0">>]}. |
| 60 61 | {<<"links">>, |
| 61 62 | [{<<"GitHub">>, |
| @@ -69,4 +70,4 @@ | |
| 69 70 | {<<"optional">>,false}, |
| 70 71 | {<<"repository">>,<<"hexpm">>}, |
| 71 72 | {<<"requirement">>,<<"~> 0.2">>}]]}. |
| 72 | - {<<"version">>,<<"0.8.1">>}. |
| 73 | + {<<"version">>,<<"0.9.0">>}. |
| @@ -54,7 +54,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 54 54 | @spec alertcenter_alerts_batch_delete(Tesla.Env.client(), keyword(), keyword()) :: |
| 55 55 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.BatchDeleteAlertsResponse.t()} |
| 56 56 | | {:ok, Tesla.Env.t()} |
| 57 | - | {:error, Tesla.Env.t()} |
| 57 | + | {:error, any()} |
| 58 58 | def alertcenter_alerts_batch_delete(connection, optional_params \\ [], opts \\ []) do |
| 59 59 | optional_params_config = %{ |
| 60 60 | :"$.xgafv" => :query, |
| @@ -114,7 +114,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 114 114 | @spec alertcenter_alerts_batch_undelete(Tesla.Env.client(), keyword(), keyword()) :: |
| 115 115 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.BatchUndeleteAlertsResponse.t()} |
| 116 116 | | {:ok, Tesla.Env.t()} |
| 117 | - | {:error, Tesla.Env.t()} |
| 117 | + | {:error, any()} |
| 118 118 | def alertcenter_alerts_batch_undelete(connection, optional_params \\ [], opts \\ []) do |
| 119 119 | optional_params_config = %{ |
| 120 120 | :"$.xgafv" => :query, |
| @@ -181,7 +181,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 181 181 | @spec alertcenter_alerts_delete(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 182 182 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.Empty.t()} |
| 183 183 | | {:ok, Tesla.Env.t()} |
| 184 | - | {:error, Tesla.Env.t()} |
| 184 | + | {:error, any()} |
| 185 185 | def alertcenter_alerts_delete(connection, alert_id, optional_params \\ [], opts \\ []) do |
| 186 186 | optional_params_config = %{ |
| 187 187 | :"$.xgafv" => :query, |
| @@ -245,7 +245,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 245 245 | @spec alertcenter_alerts_get(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 246 246 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.Alert.t()} |
| 247 247 | | {:ok, Tesla.Env.t()} |
| 248 | - | {:error, Tesla.Env.t()} |
| 248 | + | {:error, any()} |
| 249 249 | def alertcenter_alerts_get(connection, alert_id, optional_params \\ [], opts \\ []) do |
| 250 250 | optional_params_config = %{ |
| 251 251 | :"$.xgafv" => :query, |
| @@ -309,7 +309,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 309 309 | @spec alertcenter_alerts_get_metadata(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 310 310 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.AlertMetadata.t()} |
| 311 311 | | {:ok, Tesla.Env.t()} |
| 312 | - | {:error, Tesla.Env.t()} |
| 312 | + | {:error, any()} |
| 313 313 | def alertcenter_alerts_get_metadata(connection, alert_id, optional_params \\ [], opts \\ []) do |
| 314 314 | optional_params_config = %{ |
| 315 315 | :"$.xgafv" => :query, |
| @@ -388,7 +388,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 388 388 | @spec alertcenter_alerts_list(Tesla.Env.client(), keyword(), keyword()) :: |
| 389 389 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.ListAlertsResponse.t()} |
| 390 390 | | {:ok, Tesla.Env.t()} |
| 391 | - | {:error, Tesla.Env.t()} |
| 391 | + | {:error, any()} |
| 392 392 | def alertcenter_alerts_list(connection, optional_params \\ [], opts \\ []) do |
| 393 393 | optional_params_config = %{ |
| 394 394 | :"$.xgafv" => :query, |
| @@ -457,7 +457,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 457 457 | @spec alertcenter_alerts_undelete(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 458 458 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.Alert.t()} |
| 459 459 | | {:ok, Tesla.Env.t()} |
| 460 | - | {:error, Tesla.Env.t()} |
| 460 | + | {:error, any()} |
| 461 461 | def alertcenter_alerts_undelete(connection, alert_id, optional_params \\ [], opts \\ []) do |
| 462 462 | optional_params_config = %{ |
| 463 463 | :"$.xgafv" => :query, |
| @@ -524,7 +524,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 524 524 | @spec alertcenter_alerts_feedback_create(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 525 525 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.AlertFeedback.t()} |
| 526 526 | | {:ok, Tesla.Env.t()} |
| 527 | - | {:error, Tesla.Env.t()} |
| 527 | + | {:error, any()} |
| 528 528 | def alertcenter_alerts_feedback_create(connection, alert_id, optional_params \\ [], opts \\ []) do |
| 529 529 | optional_params_config = %{ |
| 530 530 | :"$.xgafv" => :query, |
| @@ -595,7 +595,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 595 595 | @spec alertcenter_alerts_feedback_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 596 596 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.ListAlertFeedbackResponse.t()} |
| 597 597 | | {:ok, Tesla.Env.t()} |
| 598 | - | {:error, Tesla.Env.t()} |
| 598 | + | {:error, any()} |
| 599 599 | def alertcenter_alerts_feedback_list(connection, alert_id, optional_params \\ [], opts \\ []) do |
| 600 600 | optional_params_config = %{ |
| 601 601 | :"$.xgafv" => :query, |
| @@ -56,7 +56,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.V1beta1 do | |
| 56 56 | @spec alertcenter_get_settings(Tesla.Env.client(), keyword(), keyword()) :: |
| 57 57 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.Settings.t()} |
| 58 58 | | {:ok, Tesla.Env.t()} |
| 59 | - | {:error, Tesla.Env.t()} |
| 59 | + | {:error, any()} |
| 60 60 | def alertcenter_get_settings(connection, optional_params \\ [], opts \\ []) do |
| 61 61 | optional_params_config = %{ |
| 62 62 | :"$.xgafv" => :query, |
| @@ -117,7 +117,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.V1beta1 do | |
| 117 117 | @spec alertcenter_update_settings(Tesla.Env.client(), keyword(), keyword()) :: |
| 118 118 | {:ok, GoogleApi.AlertCenter.V1beta1.Model.Settings.t()} |
| 119 119 | | {:ok, Tesla.Env.t()} |
| 120 | - | {:error, Tesla.Env.t()} |
| 120 | + | {:error, any()} |
| 121 121 | def alertcenter_update_settings(connection, optional_params \\ [], opts \\ []) do |
| 122 122 | optional_params_config = %{ |
| 123 123 | :"$.xgafv" => :query, |
| @@ -0,0 +1,26 @@ | |
| 1 | + # Copyright 2020 Google LLC |
| 2 | + # |
| 3 | + # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | + # you may not use this file except in compliance with the License. |
| 5 | + # You may obtain a copy of the License at |
| 6 | + # |
| 7 | + # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | + # |
| 9 | + # Unless required by applicable law or agreed to in writing, software |
| 10 | + # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | + # See the License for the specific language governing permissions and |
| 13 | + # limitations under the License. |
| 14 | + |
| 15 | + # NOTE: This file is auto generated by the elixir code generator program. |
| 16 | + # Do not edit this file manually. |
| 17 | + |
| 18 | + defmodule GoogleApi.AlertCenter.V1beta1 do |
| 19 | + @moduledoc """ |
| 20 | + API client metadata for GoogleApi.AlertCenter.V1beta1. |
| 21 | + """ |
| 22 | + |
| 23 | + @discovery_revision "20200504" |
| 24 | + |
| 25 | + def discovery_revision(), do: @discovery_revision |
| 26 | + end |
Loading more files…