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
+100
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.20"}] |
| 14 | + [{:google_api_alert_center, "~> 0.21"}] |
| 15 15 | end |
| 16 16 | ``` |
| @@ -6,64 +6,65 @@ | |
| 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/connection.ex">>, |
| 10 | - <<"lib/google_api/alert_center/v1beta1/metadata.ex">>, |
| 11 9 | <<"lib/google_api/alert_center/v1beta1/model">>, |
| 12 | - <<"lib/google_api/alert_center/v1beta1/model/attachment.ex">>, |
| 13 | - <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_response.ex">>, |
| 14 | - <<"lib/google_api/alert_center/v1beta1/model/user.ex">>, |
| 15 | - <<"lib/google_api/alert_center/v1beta1/model/state_sponsored_attack.ex">>, |
| 16 | - <<"lib/google_api/alert_center/v1beta1/model/csv_row.ex">>, |
| 17 | - <<"lib/google_api/alert_center/v1beta1/model/domain_wide_takeout_initiated.ex">>, |
| 18 | - <<"lib/google_api/alert_center/v1beta1/model/user_defined_detector_info.ex">>, |
| 19 | - <<"lib/google_api/alert_center/v1beta1/model/predefined_detector_info.ex">>, |
| 10 | + <<"lib/google_api/alert_center/v1beta1/model/phishing_spike.ex">>, |
| 20 11 | <<"lib/google_api/alert_center/v1beta1/model/cloud_pubsub_topic.ex">>, |
| 21 | - <<"lib/google_api/alert_center/v1beta1/model/app_maker_sql_setup_notification.ex">>, |
| 22 | - <<"lib/google_api/alert_center/v1beta1/model/csv.ex">>, |
| 12 | + <<"lib/google_api/alert_center/v1beta1/model/device_compromised.ex">>, |
| 13 | + <<"lib/google_api/alert_center/v1beta1/model/resource_info.ex">>, |
| 14 | + <<"lib/google_api/alert_center/v1beta1/model/alert_metadata.ex">>, |
| 15 | + <<"lib/google_api/alert_center/v1beta1/model/mandatory_service_announcement.ex">>, |
| 16 | + <<"lib/google_api/alert_center/v1beta1/model/action_info.ex">>, |
| 17 | + <<"lib/google_api/alert_center/v1beta1/model/account_suspension_details.ex">>, |
| 18 | + <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_request.ex">>, |
| 19 | + <<"lib/google_api/alert_center/v1beta1/model/bad_whitelist.ex">>, |
| 23 20 | <<"lib/google_api/alert_center/v1beta1/model/domain_id.ex">>, |
| 21 | + <<"lib/google_api/alert_center/v1beta1/model/mail_phishing.ex">>, |
| 22 | + <<"lib/google_api/alert_center/v1beta1/model/device_compromised_security_detail.ex">>, |
| 23 | + <<"lib/google_api/alert_center/v1beta1/model/empty.ex">>, |
| 24 | + <<"lib/google_api/alert_center/v1beta1/model/merge_info.ex">>, |
| 25 | + <<"lib/google_api/alert_center/v1beta1/model/activity_rule.ex">>, |
| 26 | + <<"lib/google_api/alert_center/v1beta1/model/user.ex">>, |
| 27 | + <<"lib/google_api/alert_center/v1beta1/model/undelete_alert_request.ex">>, |
| 28 | + <<"lib/google_api/alert_center/v1beta1/model/attachment.ex">>, |
| 29 | + <<"lib/google_api/alert_center/v1beta1/model/google_operations.ex">>, |
| 30 | + <<"lib/google_api/alert_center/v1beta1/model/apps_outage.ex">>, |
| 31 | + <<"lib/google_api/alert_center/v1beta1/model/list_alerts_response.ex">>, |
| 32 | + <<"lib/google_api/alert_center/v1beta1/model/csv_row.ex">>, |
| 33 | + <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_response.ex">>, |
| 34 | + <<"lib/google_api/alert_center/v1beta1/model/csv.ex">>, |
| 35 | + <<"lib/google_api/alert_center/v1beta1/model/user_defined_detector_info.ex">>, |
| 36 | + <<"lib/google_api/alert_center/v1beta1/model/reporting_rule.ex">>, |
| 24 37 | <<"lib/google_api/alert_center/v1beta1/model/login_details.ex">>, |
| 38 | + <<"lib/google_api/alert_center/v1beta1/model/predefined_detector_info.ex">>, |
| 39 | + <<"lib/google_api/alert_center/v1beta1/model/domain_wide_takeout_initiated.ex">>, |
| 25 40 | <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity_security_detail.ex">>, |
| 26 41 | <<"lib/google_api/alert_center/v1beta1/model/account_warning.ex">>, |
| 27 | - <<"lib/google_api/alert_center/v1beta1/model/resource_info.ex">>, |
| 28 | - <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity.ex">>, |
| 29 | - <<"lib/google_api/alert_center/v1beta1/model/list_alerts_response.ex">>, |
| 30 | - <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_request.ex">>, |
| 31 | - <<"lib/google_api/alert_center/v1beta1/model/match_info.ex">>, |
| 32 | - <<"lib/google_api/alert_center/v1beta1/model/empty.ex">>, |
| 33 | - <<"lib/google_api/alert_center/v1beta1/model/phishing_spike.ex">>, |
| 34 | - <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_request.ex">>, |
| 42 | + <<"lib/google_api/alert_center/v1beta1/model/user_changes.ex">>, |
| 35 43 | <<"lib/google_api/alert_center/v1beta1/model/alert_feedback.ex">>, |
| 36 44 | <<"lib/google_api/alert_center/v1beta1/model/malicious_entity.ex">>, |
| 37 | - <<"lib/google_api/alert_center/v1beta1/model/device_compromised_security_detail.ex">>, |
| 38 | - <<"lib/google_api/alert_center/v1beta1/model/apps_outage.ex">>, |
| 39 | - <<"lib/google_api/alert_center/v1beta1/model/alert_metadata.ex">>, |
| 40 | - <<"lib/google_api/alert_center/v1beta1/model/dlp_rule_violation.ex">>, |
| 41 | - <<"lib/google_api/alert_center/v1beta1/model/rule_info.ex">>, |
| 42 | - <<"lib/google_api/alert_center/v1beta1/model/reporting_rule.ex">>, |
| 43 | - <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_response.ex">>, |
| 44 | - <<"lib/google_api/alert_center/v1beta1/model/request_info.ex">>, |
| 45 | - <<"lib/google_api/alert_center/v1beta1/model/account_suspension_warning.ex">>, |
| 46 | - <<"lib/google_api/alert_center/v1beta1/model/google_operations.ex">>, |
| 47 | - <<"lib/google_api/alert_center/v1beta1/model/user_changes.ex">>, |
| 48 | - <<"lib/google_api/alert_center/v1beta1/model/gmail_message_info.ex">>, |
| 49 | - <<"lib/google_api/alert_center/v1beta1/model/alert.ex">>, |
| 50 | - <<"lib/google_api/alert_center/v1beta1/model/status.ex">>, |
| 51 | - <<"lib/google_api/alert_center/v1beta1/model/activity_rule.ex">>, |
| 52 | - <<"lib/google_api/alert_center/v1beta1/model/mail_phishing.ex">>, |
| 45 | + <<"lib/google_api/alert_center/v1beta1/model/match_info.ex">>, |
| 53 46 | <<"lib/google_api/alert_center/v1beta1/model/notification.ex">>, |
| 54 | - <<"lib/google_api/alert_center/v1beta1/model/list_alert_feedback_response.ex">>, |
| 55 | - <<"lib/google_api/alert_center/v1beta1/model/merge_info.ex">>, |
| 56 | - <<"lib/google_api/alert_center/v1beta1/model/rule_violation_info.ex">>, |
| 57 | - <<"lib/google_api/alert_center/v1beta1/model/bad_whitelist.ex">>, |
| 58 | - <<"lib/google_api/alert_center/v1beta1/model/settings.ex">>, |
| 47 | + <<"lib/google_api/alert_center/v1beta1/model/status.ex">>, |
| 48 | + <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity.ex">>, |
| 49 | + <<"lib/google_api/alert_center/v1beta1/model/state_sponsored_attack.ex">>, |
| 50 | + <<"lib/google_api/alert_center/v1beta1/model/dlp_rule_violation.ex">>, |
| 59 51 | <<"lib/google_api/alert_center/v1beta1/model/app_settings_changed.ex">>, |
| 60 | - <<"lib/google_api/alert_center/v1beta1/model/device_compromised.ex">>, |
| 61 | - <<"lib/google_api/alert_center/v1beta1/model/account_suspension_details.ex">>, |
| 62 | - <<"lib/google_api/alert_center/v1beta1/model/action_info.ex">>, |
| 63 | - <<"lib/google_api/alert_center/v1beta1/model/undelete_alert_request.ex">>, |
| 52 | + <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_response.ex">>, |
| 53 | + <<"lib/google_api/alert_center/v1beta1/model/alert.ex">>, |
| 54 | + <<"lib/google_api/alert_center/v1beta1/model/rule_violation_info.ex">>, |
| 55 | + <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_request.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/gmail_message_info.ex">>, |
| 59 | + <<"lib/google_api/alert_center/v1beta1/model/list_alert_feedback_response.ex">>, |
| 60 | + <<"lib/google_api/alert_center/v1beta1/model/account_suspension_warning.ex">>, |
| 61 | + <<"lib/google_api/alert_center/v1beta1/model/rule_info.ex">>, |
| 62 | + <<"lib/google_api/alert_center/v1beta1/model/app_maker_sql_setup_notification.ex">>, |
| 63 | + <<"lib/google_api/alert_center/v1beta1/connection.ex">>, |
| 64 64 | <<"lib/google_api/alert_center/v1beta1/api">>, |
| 65 | + <<"lib/google_api/alert_center/v1beta1/api/v1beta1.ex">>, |
| 65 66 | <<"lib/google_api/alert_center/v1beta1/api/alerts.ex">>, |
| 66 | - <<"lib/google_api/alert_center/v1beta1/api/v1beta1.ex">>,<<"mix.exs">>, |
| 67 | + <<"lib/google_api/alert_center/v1beta1/metadata.ex">>,<<"mix.exs">>, |
| 67 68 | <<"README.md">>,<<"LICENSE">>]}. |
| 68 69 | {<<"licenses">>,[<<"Apache 2.0">>]}. |
| 69 70 | {<<"links">>, |
| @@ -78,4 +79,4 @@ | |
| 78 79 | {<<"optional">>,false}, |
| 79 80 | {<<"repository">>,<<"hexpm">>}, |
| 80 81 | {<<"requirement">>,<<"~> 0.4">>}]]}. |
| 81 | - {<<"version">>,<<"0.20.0">>}. |
| 82 | + {<<"version">>,<<"0.21.0">>}. |
| @@ -20,7 +20,7 @@ defmodule GoogleApi.AlertCenter.V1beta1 do | |
| 20 20 | API client metadata for GoogleApi.AlertCenter.V1beta1. |
| 21 21 | """ |
| 22 22 | |
| 23 | - @discovery_revision "20220221" |
| 23 | + @discovery_revision "20220307" |
| 24 24 | |
| 25 25 | def discovery_revision(), do: @discovery_revision |
| 26 26 | end |
| @@ -0,0 +1,49 @@ | |
| 1 | + # Copyright 2019 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.Model.MandatoryServiceAnnouncement do |
| 19 | + @moduledoc """ |
| 20 | + Alert Created by the MSA team for communications necessary for continued use of Google Workspace Products. |
| 21 | + |
| 22 | + ## Attributes |
| 23 | + |
| 24 | + * `description` (*type:* `String.t`, *default:* `nil`) - Detailed, freeform text describing the announcement |
| 25 | + * `title` (*type:* `String.t`, *default:* `nil`) - One line summary of the announcement |
| 26 | + """ |
| 27 | + |
| 28 | + use GoogleApi.Gax.ModelBase |
| 29 | + |
| 30 | + @type t :: %__MODULE__{ |
| 31 | + :description => String.t() | nil, |
| 32 | + :title => String.t() | nil |
| 33 | + } |
| 34 | + |
| 35 | + field(:description) |
| 36 | + field(:title) |
| 37 | + end |
| 38 | + |
| 39 | + defimpl Poison.Decoder, for: GoogleApi.AlertCenter.V1beta1.Model.MandatoryServiceAnnouncement do |
| 40 | + def decode(value, options) do |
| 41 | + GoogleApi.AlertCenter.V1beta1.Model.MandatoryServiceAnnouncement.decode(value, options) |
| 42 | + end |
| 43 | + end |
| 44 | + |
| 45 | + defimpl Poison.Encoder, for: GoogleApi.AlertCenter.V1beta1.Model.MandatoryServiceAnnouncement do |
| 46 | + def encode(value, options) do |
| 47 | + GoogleApi.Gax.ModelBase.encode(value, options) |
| 48 | + end |
| 49 | + end |
| @@ -18,7 +18,7 @@ | |
| 18 18 | defmodule GoogleApi.AlertCenter.Mixfile do |
| 19 19 | use Mix.Project |
| 20 20 | |
| 21 | - @version "0.20.0" |
| 21 | + @version "0.21.0" |
| 22 22 | |
| 23 23 | def project() do |
| 24 24 | [ |