Current section

36 Versions

Jump to

Compare versions

8 files changed
+166 additions
-58 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.17"}]
14 + [{:google_api_alert_center, "~> 0.18"}]
15 15 end
16 16 ```
  @@ -6,62 +6,64 @@
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/metadata.ex">>,
9 10 <<"lib/google_api/alert_center/v1beta1/connection.ex">>,
11 + <<"lib/google_api/alert_center/v1beta1/api">>,
12 + <<"lib/google_api/alert_center/v1beta1/api/v1beta1.ex">>,
13 + <<"lib/google_api/alert_center/v1beta1/api/alerts.ex">>,
10 14 <<"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">>,
15 + <<"lib/google_api/alert_center/v1beta1/model/account_suspension_details.ex">>,
16 + <<"lib/google_api/alert_center/v1beta1/model/activity_rule.ex">>,
23 17 <<"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">>,
18 + <<"lib/google_api/alert_center/v1beta1/model/csv_row.ex">>,
19 + <<"lib/google_api/alert_center/v1beta1/model/login_details.ex">>,
20 + <<"lib/google_api/alert_center/v1beta1/model/mail_phishing.ex">>,
21 + <<"lib/google_api/alert_center/v1beta1/model/resource_info.ex">>,
22 + <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity_security_detail.ex">>,
23 + <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_request.ex">>,
24 + <<"lib/google_api/alert_center/v1beta1/model/settings.ex">>,
25 + <<"lib/google_api/alert_center/v1beta1/model/alert_metadata.ex">>,
26 + <<"lib/google_api/alert_center/v1beta1/model/google_operations.ex">>,
27 + <<"lib/google_api/alert_center/v1beta1/model/request_info.ex">>,
28 + <<"lib/google_api/alert_center/v1beta1/model/alert.ex">>,
29 + <<"lib/google_api/alert_center/v1beta1/model/account_suspension_warning.ex">>,
30 + <<"lib/google_api/alert_center/v1beta1/model/bad_whitelist.ex">>,
31 + <<"lib/google_api/alert_center/v1beta1/model/rule_info.ex">>,
32 + <<"lib/google_api/alert_center/v1beta1/model/csv.ex">>,
33 + <<"lib/google_api/alert_center/v1beta1/model/state_sponsored_attack.ex">>,
34 + <<"lib/google_api/alert_center/v1beta1/model/device_compromised.ex">>,
35 + <<"lib/google_api/alert_center/v1beta1/model/match_info.ex">>,
36 + <<"lib/google_api/alert_center/v1beta1/model/attachment.ex">>,
37 + <<"lib/google_api/alert_center/v1beta1/model/malicious_entity.ex">>,
28 38 <<"lib/google_api/alert_center/v1beta1/model/domain_id.ex">>,
29 39 <<"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">>,
40 + <<"lib/google_api/alert_center/v1beta1/model/account_warning.ex">>,
56 41 <<"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">>,
61 - <<"lib/google_api/alert_center/v1beta1/api">>,
62 - <<"lib/google_api/alert_center/v1beta1/api/alerts.ex">>,
63 - <<"lib/google_api/alert_center/v1beta1/api/v1beta1.ex">>,<<"mix.exs">>,
64 - <<"README.md">>,<<"LICENSE">>]}.
42 + <<"lib/google_api/alert_center/v1beta1/model/phishing_spike.ex">>,
43 + <<"lib/google_api/alert_center/v1beta1/model/domain_wide_takeout_initiated.ex">>,
44 + <<"lib/google_api/alert_center/v1beta1/model/status.ex">>,
45 + <<"lib/google_api/alert_center/v1beta1/model/app_maker_sql_setup_notification.ex">>,
46 + <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_response.ex">>,
47 + <<"lib/google_api/alert_center/v1beta1/model/list_alerts_response.ex">>,
48 + <<"lib/google_api/alert_center/v1beta1/model/rule_violation_info.ex">>,
49 + <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity.ex">>,
50 + <<"lib/google_api/alert_center/v1beta1/model/predefined_detector_info.ex">>,
51 + <<"lib/google_api/alert_center/v1beta1/model/dlp_rule_violation.ex">>,
52 + <<"lib/google_api/alert_center/v1beta1/model/user.ex">>,
53 + <<"lib/google_api/alert_center/v1beta1/model/apps_outage.ex">>,
54 + <<"lib/google_api/alert_center/v1beta1/model/device_compromised_security_detail.ex">>,
55 + <<"lib/google_api/alert_center/v1beta1/model/action_info.ex">>,
56 + <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_response.ex">>,
57 + <<"lib/google_api/alert_center/v1beta1/model/app_settings_changed.ex">>,
58 + <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_request.ex">>,
59 + <<"lib/google_api/alert_center/v1beta1/model/list_alert_feedback_response.ex">>,
60 + <<"lib/google_api/alert_center/v1beta1/model/undelete_alert_request.ex">>,
61 + <<"lib/google_api/alert_center/v1beta1/model/user_changes.ex">>,
62 + <<"lib/google_api/alert_center/v1beta1/model/notification.ex">>,
63 + <<"lib/google_api/alert_center/v1beta1/model/reporting_rule.ex">>,
64 + <<"lib/google_api/alert_center/v1beta1/model/empty.ex">>,
65 + <<"lib/google_api/alert_center/v1beta1/model/cloud_pubsub_topic.ex">>,
66 + <<"mix.exs">>,<<"README.md">>,<<"LICENSE">>]}.
65 67 {<<"licenses">>,[<<"Apache 2.0">>]}.
66 68 {<<"links">>,
67 69 [{<<"GitHub">>,
  @@ -75,4 +77,4 @@
75 77 {<<"optional">>,false},
76 78 {<<"repository">>,<<"hexpm">>},
77 79 {<<"requirement">>,<<"~> 0.4">>}]]}.
78 - {<<"version">>,<<"0.17.0">>}.
80 + {<<"version">>,<<"0.18.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 "20210720"
23 + @discovery_revision "20210803"
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.AccountSuspensionDetails do
19 + @moduledoc """
20 + Details about why an account is receiving an account suspension warning.
21 +
22 + ## Attributes
23 +
24 + * `abuseReason` (*type:* `String.t`, *default:* `nil`) - The reason why this account is receiving an account suspension warning.
25 + * `productName` (*type:* `String.t`, *default:* `nil`) - The name of the product being abused. This is restricted to only the following values: "Gmail" "Payments" "Voice" "Workspace" "Other"
26 + """
27 +
28 + use GoogleApi.Gax.ModelBase
29 +
30 + @type t :: %__MODULE__{
31 + :abuseReason => String.t() | nil,
32 + :productName => String.t() | nil
33 + }
34 +
35 + field(:abuseReason)
36 + field(:productName)
37 + end
38 +
39 + defimpl Poison.Decoder, for: GoogleApi.AlertCenter.V1beta1.Model.AccountSuspensionDetails do
40 + def decode(value, options) do
41 + GoogleApi.AlertCenter.V1beta1.Model.AccountSuspensionDetails.decode(value, options)
42 + end
43 + end
44 +
45 + defimpl Poison.Encoder, for: GoogleApi.AlertCenter.V1beta1.Model.AccountSuspensionDetails do
46 + def encode(value, options) do
47 + GoogleApi.Gax.ModelBase.encode(value, options)
48 + end
49 + end
  @@ -0,0 +1,57 @@
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.AccountSuspensionWarning do
19 + @moduledoc """
20 + A warning that the customer's account is about to be suspended.
21 +
22 + ## Attributes
23 +
24 + * `appealWindow` (*type:* `String.t`, *default:* `nil`) - The amount of time remaining to appeal an imminent suspension. After this window has elapsed, the account will be suspended. Only populated if the account suspension is in WARNING state.
25 + * `state` (*type:* `String.t`, *default:* `nil`) - Account suspension warning state.
26 + * `suspensionDetails` (*type:* `list(GoogleApi.AlertCenter.V1beta1.Model.AccountSuspensionDetails.t)`, *default:* `nil`) - Details about why an account is being suspended.
27 + """
28 +
29 + use GoogleApi.Gax.ModelBase
30 +
31 + @type t :: %__MODULE__{
32 + :appealWindow => String.t() | nil,
33 + :state => String.t() | nil,
34 + :suspensionDetails =>
35 + list(GoogleApi.AlertCenter.V1beta1.Model.AccountSuspensionDetails.t()) | nil
36 + }
37 +
38 + field(:appealWindow)
39 + field(:state)
40 +
41 + field(:suspensionDetails,
42 + as: GoogleApi.AlertCenter.V1beta1.Model.AccountSuspensionDetails,
43 + type: :list
44 + )
45 + end
46 +
47 + defimpl Poison.Decoder, for: GoogleApi.AlertCenter.V1beta1.Model.AccountSuspensionWarning do
48 + def decode(value, options) do
49 + GoogleApi.AlertCenter.V1beta1.Model.AccountSuspensionWarning.decode(value, options)
50 + end
51 + end
52 +
53 + defimpl Poison.Encoder, for: GoogleApi.AlertCenter.V1beta1.Model.AccountSuspensionWarning do
54 + def encode(value, options) do
55 + GoogleApi.Gax.ModelBase.encode(value, options)
56 + end
57 + end
Loading more files…