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
+115
additions
-112
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.16"}] |
| 14 | + [{:google_api_alert_center, "~> 0.17"}] |
| 15 15 | end |
| 16 16 | ``` |
| @@ -6,61 +6,61 @@ | |
| 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/model">>, |
| 11 | + <<"lib/google_api/alert_center/v1beta1/model/settings.ex">>, |
| 12 | + <<"lib/google_api/alert_center/v1beta1/model/request_info.ex">>, |
| 13 | + <<"lib/google_api/alert_center/v1beta1/model/list_alerts_response.ex">>, |
| 14 | + <<"lib/google_api/alert_center/v1beta1/model/domain_wide_takeout_initiated.ex">>, |
| 15 | + <<"lib/google_api/alert_center/v1beta1/model/match_info.ex">>, |
| 16 | + <<"lib/google_api/alert_center/v1beta1/model/list_alert_feedback_response.ex">>, |
| 17 | + <<"lib/google_api/alert_center/v1beta1/model/state_sponsored_attack.ex">>, |
| 18 | + <<"lib/google_api/alert_center/v1beta1/model/reporting_rule.ex">>, |
| 19 | + <<"lib/google_api/alert_center/v1beta1/model/rule_info.ex">>, |
| 20 | + <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity.ex">>, |
| 21 | + <<"lib/google_api/alert_center/v1beta1/model/rule_violation_info.ex">>, |
| 22 | + <<"lib/google_api/alert_center/v1beta1/model/apps_outage.ex">>, |
| 23 | + <<"lib/google_api/alert_center/v1beta1/model/gmail_message_info.ex">>, |
| 24 | + <<"lib/google_api/alert_center/v1beta1/model/user_changes.ex">>, |
| 25 | + <<"lib/google_api/alert_center/v1beta1/model/cloud_pubsub_topic.ex">>, |
| 26 | + <<"lib/google_api/alert_center/v1beta1/model/account_warning.ex">>, |
| 27 | + <<"lib/google_api/alert_center/v1beta1/model/app_maker_sql_setup_notification.ex">>, |
| 28 | + <<"lib/google_api/alert_center/v1beta1/model/domain_id.ex">>, |
| 29 | + <<"lib/google_api/alert_center/v1beta1/model/alert_feedback.ex">>, |
| 30 | + <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity_security_detail.ex">>, |
| 31 | + <<"lib/google_api/alert_center/v1beta1/model/status.ex">>, |
| 32 | + <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_response.ex">>, |
| 33 | + <<"lib/google_api/alert_center/v1beta1/model/phishing_spike.ex">>, |
| 34 | + <<"lib/google_api/alert_center/v1beta1/model/user.ex">>, |
| 35 | + <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_response.ex">>, |
| 36 | + <<"lib/google_api/alert_center/v1beta1/model/dlp_rule_violation.ex">>, |
| 37 | + <<"lib/google_api/alert_center/v1beta1/model/attachment.ex">>, |
| 38 | + <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_request.ex">>, |
| 39 | + <<"lib/google_api/alert_center/v1beta1/model/app_settings_changed.ex">>, |
| 40 | + <<"lib/google_api/alert_center/v1beta1/model/notification.ex">>, |
| 41 | + <<"lib/google_api/alert_center/v1beta1/model/resource_info.ex">>, |
| 42 | + <<"lib/google_api/alert_center/v1beta1/model/alert.ex">>, |
| 43 | + <<"lib/google_api/alert_center/v1beta1/model/login_details.ex">>, |
| 44 | + <<"lib/google_api/alert_center/v1beta1/model/device_compromised.ex">>, |
| 45 | + <<"lib/google_api/alert_center/v1beta1/model/predefined_detector_info.ex">>, |
| 46 | + <<"lib/google_api/alert_center/v1beta1/model/undelete_alert_request.ex">>, |
| 47 | + <<"lib/google_api/alert_center/v1beta1/model/bad_whitelist.ex">>, |
| 48 | + <<"lib/google_api/alert_center/v1beta1/model/csv.ex">>, |
| 49 | + <<"lib/google_api/alert_center/v1beta1/model/empty.ex">>, |
| 50 | + <<"lib/google_api/alert_center/v1beta1/model/google_operations.ex">>, |
| 51 | + <<"lib/google_api/alert_center/v1beta1/model/action_info.ex">>, |
| 52 | + <<"lib/google_api/alert_center/v1beta1/model/device_compromised_security_detail.ex">>, |
| 53 | + <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_request.ex">>, |
| 54 | + <<"lib/google_api/alert_center/v1beta1/model/csv_row.ex">>, |
| 55 | + <<"lib/google_api/alert_center/v1beta1/model/mail_phishing.ex">>, |
| 56 | + <<"lib/google_api/alert_center/v1beta1/model/user_defined_detector_info.ex">>, |
| 57 | + <<"lib/google_api/alert_center/v1beta1/model/alert_metadata.ex">>, |
| 58 | + <<"lib/google_api/alert_center/v1beta1/model/activity_rule.ex">>, |
| 59 | + <<"lib/google_api/alert_center/v1beta1/model/malicious_entity.ex">>, |
| 60 | + <<"lib/google_api/alert_center/v1beta1/metadata.ex">>, |
| 9 61 | <<"lib/google_api/alert_center/v1beta1/api">>, |
| 10 62 | <<"lib/google_api/alert_center/v1beta1/api/alerts.ex">>, |
| 11 | - <<"lib/google_api/alert_center/v1beta1/api/v1beta1.ex">>, |
| 12 | - <<"lib/google_api/alert_center/v1beta1/model">>, |
| 13 | - <<"lib/google_api/alert_center/v1beta1/model/gmail_message_info.ex">>, |
| 14 | - <<"lib/google_api/alert_center/v1beta1/model/google_operations.ex">>, |
| 15 | - <<"lib/google_api/alert_center/v1beta1/model/device_compromised_security_detail.ex">>, |
| 16 | - <<"lib/google_api/alert_center/v1beta1/model/rule_violation_info.ex">>, |
| 17 | - <<"lib/google_api/alert_center/v1beta1/model/user_defined_detector_info.ex">>, |
| 18 | - <<"lib/google_api/alert_center/v1beta1/model/csv.ex">>, |
| 19 | - <<"lib/google_api/alert_center/v1beta1/model/cloud_pubsub_topic.ex">>, |
| 20 | - <<"lib/google_api/alert_center/v1beta1/model/out_of_domain_forwarding.ex">>, |
| 21 | - <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_request.ex">>, |
| 22 | - <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_request.ex">>, |
| 23 | - <<"lib/google_api/alert_center/v1beta1/model/malicious_entity.ex">>, |
| 24 | - <<"lib/google_api/alert_center/v1beta1/model/alert_metadata.ex">>, |
| 25 | - <<"lib/google_api/alert_center/v1beta1/model/bad_whitelist.ex">>, |
| 26 | - <<"lib/google_api/alert_center/v1beta1/model/phishing_spike.ex">>, |
| 27 | - <<"lib/google_api/alert_center/v1beta1/model/attachment.ex">>, |
| 28 | - <<"lib/google_api/alert_center/v1beta1/model/app_maker_sql_setup_notification.ex">>, |
| 29 | - <<"lib/google_api/alert_center/v1beta1/model/alert.ex">>, |
| 30 | - <<"lib/google_api/alert_center/v1beta1/model/device_compromised.ex">>, |
| 31 | - <<"lib/google_api/alert_center/v1beta1/model/list_alert_feedback_response.ex">>, |
| 32 | - <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity.ex">>, |
| 33 | - <<"lib/google_api/alert_center/v1beta1/model/match_info.ex">>, |
| 34 | - <<"lib/google_api/alert_center/v1beta1/model/request_info.ex">>, |
| 35 | - <<"lib/google_api/alert_center/v1beta1/model/domain_wide_takeout_initiated.ex">>, |
| 36 | - <<"lib/google_api/alert_center/v1beta1/model/user_changes.ex">>, |
| 37 | - <<"lib/google_api/alert_center/v1beta1/model/reporting_rule.ex">>, |
| 38 | - <<"lib/google_api/alert_center/v1beta1/model/undelete_alert_request.ex">>, |
| 39 | - <<"lib/google_api/alert_center/v1beta1/model/dlp_rule_violation.ex">>, |
| 40 | - <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity_security_detail.ex">>, |
| 41 | - <<"lib/google_api/alert_center/v1beta1/model/state_sponsored_attack.ex">>, |
| 42 | - <<"lib/google_api/alert_center/v1beta1/model/predefined_detector_info.ex">>, |
| 43 | - <<"lib/google_api/alert_center/v1beta1/model/account_warning.ex">>, |
| 44 | - <<"lib/google_api/alert_center/v1beta1/model/notification.ex">>, |
| 45 | - <<"lib/google_api/alert_center/v1beta1/model/mail_phishing.ex">>, |
| 46 | - <<"lib/google_api/alert_center/v1beta1/model/login_details.ex">>, |
| 47 | - <<"lib/google_api/alert_center/v1beta1/model/alert_feedback.ex">>, |
| 48 | - <<"lib/google_api/alert_center/v1beta1/model/rule_info.ex">>, |
| 49 | - <<"lib/google_api/alert_center/v1beta1/model/activity_rule.ex">>, |
| 50 | - <<"lib/google_api/alert_center/v1beta1/model/app_settings_changed.ex">>, |
| 51 | - <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_response.ex">>, |
| 52 | - <<"lib/google_api/alert_center/v1beta1/model/resource_info.ex">>, |
| 53 | - <<"lib/google_api/alert_center/v1beta1/model/user.ex">>, |
| 54 | - <<"lib/google_api/alert_center/v1beta1/model/list_alerts_response.ex">>, |
| 55 | - <<"lib/google_api/alert_center/v1beta1/model/settings.ex">>, |
| 56 | - <<"lib/google_api/alert_center/v1beta1/model/action_info.ex">>, |
| 57 | - <<"lib/google_api/alert_center/v1beta1/model/status.ex">>, |
| 58 | - <<"lib/google_api/alert_center/v1beta1/model/empty.ex">>, |
| 59 | - <<"lib/google_api/alert_center/v1beta1/model/domain_id.ex">>, |
| 60 | - <<"lib/google_api/alert_center/v1beta1/model/csv_row.ex">>, |
| 61 | - <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_response.ex">>, |
| 62 | - <<"lib/google_api/alert_center/v1beta1/metadata.ex">>, |
| 63 | - <<"lib/google_api/alert_center/v1beta1/connection.ex">>,<<"mix.exs">>, |
| 63 | + <<"lib/google_api/alert_center/v1beta1/api/v1beta1.ex">>,<<"mix.exs">>, |
| 64 64 | <<"README.md">>,<<"LICENSE">>]}. |
| 65 65 | {<<"licenses">>,[<<"Apache 2.0">>]}. |
| 66 66 | {<<"links">>, |
| @@ -75,4 +75,4 @@ | |
| 75 75 | {<<"optional">>,false}, |
| 76 76 | {<<"repository">>,<<"hexpm">>}, |
| 77 77 | {<<"requirement">>,<<"~> 0.4">>}]]}. |
| 78 | - {<<"version">>,<<"0.16.1">>}. |
| 78 | + {<<"version">>,<<"0.17.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 "20210713" |
| 23 | + @discovery_revision "20210720" |
| 24 24 | |
| 25 25 | def discovery_revision(), do: @discovery_revision |
| 26 26 | end |
| @@ -0,0 +1,58 @@ | |
| 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.AppsOutage do |
| 19 | + @moduledoc """ |
| 20 | + An outage incident reported by Google for a Google Workspace (formerly G Suite) application. |
| 21 | + |
| 22 | + ## Attributes |
| 23 | + |
| 24 | + * `dashboardUri` (*type:* `String.t`, *default:* `nil`) - Link to the outage event in Google Workspace Status Dashboard |
| 25 | + * `nextUpdateTime` (*type:* `DateTime.t`, *default:* `nil`) - Timestamp by which the next update shall be provided. |
| 26 | + * `products` (*type:* `list(String.t)`, *default:* `nil`) - List of products impacted by the outage. |
| 27 | + * `resolutionTime` (*type:* `DateTime.t`, *default:* `nil`) - Timestamp of the outage expected or confirmed resolution. (Used only when known). |
| 28 | + * `status` (*type:* `String.t`, *default:* `nil`) - Current outage status. |
| 29 | + """ |
| 30 | + |
| 31 | + use GoogleApi.Gax.ModelBase |
| 32 | + |
| 33 | + @type t :: %__MODULE__{ |
| 34 | + :dashboardUri => String.t() | nil, |
| 35 | + :nextUpdateTime => DateTime.t() | nil, |
| 36 | + :products => list(String.t()) | nil, |
| 37 | + :resolutionTime => DateTime.t() | nil, |
| 38 | + :status => String.t() | nil |
| 39 | + } |
| 40 | + |
| 41 | + field(:dashboardUri) |
| 42 | + field(:nextUpdateTime, as: DateTime) |
| 43 | + field(:products, type: :list) |
| 44 | + field(:resolutionTime, as: DateTime) |
| 45 | + field(:status) |
| 46 | + end |
| 47 | + |
| 48 | + defimpl Poison.Decoder, for: GoogleApi.AlertCenter.V1beta1.Model.AppsOutage do |
| 49 | + def decode(value, options) do |
| 50 | + GoogleApi.AlertCenter.V1beta1.Model.AppsOutage.decode(value, options) |
| 51 | + end |
| 52 | + end |
| 53 | + |
| 54 | + defimpl Poison.Encoder, for: GoogleApi.AlertCenter.V1beta1.Model.AppsOutage do |
| 55 | + def encode(value, options) do |
| 56 | + GoogleApi.Gax.ModelBase.encode(value, options) |
| 57 | + end |
| 58 | + end |
| @@ -1,55 +0,0 @@ | |
| 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.OutOfDomainForwarding do |
| 19 | - @moduledoc """ |
| 20 | - An alert that gets triggered when a user enables autoforwarding to an email which is outside of its domain |
| 21 | - |
| 22 | - ## Attributes |
| 23 | - |
| 24 | - * `actorEmail` (*type:* `String.t`, *default:* `nil`) - Email of the actor who triggered the alert. |
| 25 | - * `enableTime` (*type:* `DateTime.t`, *default:* `nil`) - The time the email forwarding was enabled |
| 26 | - * `forwardeeEmail` (*type:* `String.t`, *default:* `nil`) - Email to which emails are being forwarded |
| 27 | - * `ipAddress` (*type:* `String.t`, *default:* `nil`) - IP address of the user while enabling forwarding |
| 28 | - """ |
| 29 | - |
| 30 | - use GoogleApi.Gax.ModelBase |
| 31 | - |
| 32 | - @type t :: %__MODULE__{ |
| 33 | - :actorEmail => String.t() | nil, |
| 34 | - :enableTime => DateTime.t() | nil, |
| 35 | - :forwardeeEmail => String.t() | nil, |
| 36 | - :ipAddress => String.t() | nil |
| 37 | - } |
| 38 | - |
| 39 | - field(:actorEmail) |
| 40 | - field(:enableTime, as: DateTime) |
| 41 | - field(:forwardeeEmail) |
| 42 | - field(:ipAddress) |
| 43 | - end |
| 44 | - |
| 45 | - defimpl Poison.Decoder, for: GoogleApi.AlertCenter.V1beta1.Model.OutOfDomainForwarding do |
| 46 | - def decode(value, options) do |
| 47 | - GoogleApi.AlertCenter.V1beta1.Model.OutOfDomainForwarding.decode(value, options) |
| 48 | - end |
| 49 | - end |
| 50 | - |
| 51 | - defimpl Poison.Encoder, for: GoogleApi.AlertCenter.V1beta1.Model.OutOfDomainForwarding do |
| 52 | - def encode(value, options) do |
| 53 | - GoogleApi.Gax.ModelBase.encode(value, options) |
| 54 | - end |
| 55 | - end |
Loading more files…