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
99
files changed
+2617
additions
-2864
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.14"}] |
| 14 | + [{:google_api_alert_center, "~> 0.15"}] |
| 15 15 | end |
| 16 16 | ``` |
| @@ -7,57 +7,60 @@ | |
| 7 7 | [<<"lib">>,<<"lib/google_api">>,<<"lib/google_api/alert_center">>, |
| 8 8 | <<"lib/google_api/alert_center/v1beta1">>, |
| 9 9 | <<"lib/google_api/alert_center/v1beta1/connection.ex">>, |
| 10 | + <<"lib/google_api/alert_center/v1beta1/metadata.ex">>, |
| 10 11 | <<"lib/google_api/alert_center/v1beta1/api">>, |
| 11 | - <<"lib/google_api/alert_center/v1beta1/api/v1beta1.ex">>, |
| 12 12 | <<"lib/google_api/alert_center/v1beta1/api/alerts.ex">>, |
| 13 | + <<"lib/google_api/alert_center/v1beta1/api/v1beta1.ex">>, |
| 13 14 | <<"lib/google_api/alert_center/v1beta1/model">>, |
| 14 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_google_operations.ex">>, |
| 15 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_state_sponsored_attack.ex">>, |
| 16 | - <<"lib/google_api/alert_center/v1beta1/model/google_protobuf_empty.ex">>, |
| 17 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_gmail_message_info.ex">>, |
| 18 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_phishing_spike.ex">>, |
| 19 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_v1beta1_settings.ex">>, |
| 20 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_suspicious_activity_suspicious_activity_security_detail.ex">>, |
| 21 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_domain_id.ex">>, |
| 22 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_v1beta1_undelete_alert_request.ex">>, |
| 23 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_app_maker_sql_setup_notification_request_info.ex">>, |
| 24 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_v1beta1_batch_delete_alerts_request.ex">>, |
| 25 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_rule_violation_info_match_info_predefined_detector_info.ex">>, |
| 26 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_activity_rule.ex">>, |
| 27 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_v1beta1_list_alerts_response.ex">>, |
| 28 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_v1beta1_alert_feedback.ex">>, |
| 29 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_device_compromised.ex">>, |
| 30 | - <<"lib/google_api/alert_center/v1beta1/model/google_rpc_status.ex">>, |
| 31 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_rule_violation_info_rule_info.ex">>, |
| 32 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_malicious_entity.ex">>, |
| 33 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_rule_violation_info_action_info.ex">>, |
| 34 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_v1beta1_settings_notification_cloud_pubsub_topic.ex">>, |
| 35 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_rule_violation_info_resource_info.ex">>, |
| 36 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_v1beta1_alert.ex">>, |
| 37 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_app_maker_sql_setup_notification.ex">>, |
| 38 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_dlp_rule_violation.ex">>, |
| 39 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_v1beta1_alert_metadata.ex">>, |
| 40 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_v1beta1_settings_notification.ex">>, |
| 41 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_attachment.ex">>, |
| 42 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_rule_violation_info_match_info.ex">>, |
| 43 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_rule_violation_info.ex">>, |
| 44 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_v1beta1_batch_undelete_alerts_request.ex">>, |
| 45 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_attachment_csv_csv_row.ex">>, |
| 46 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_user.ex">>, |
| 47 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_device_compromised_device_compromised_security_detail.ex">>, |
| 48 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_rule_violation_info_match_info_user_defined_detector_info.ex">>, |
| 49 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_attachment_csv.ex">>, |
| 50 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_mail_phishing.ex">>, |
| 51 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_v1beta1_batch_undelete_alerts_response.ex">>, |
| 52 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_bad_whitelist.ex">>, |
| 53 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_suspicious_activity.ex">>, |
| 54 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_account_warning.ex">>, |
| 55 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_v1beta1_list_alert_feedback_response.ex">>, |
| 56 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_account_warning_login_details.ex">>, |
| 57 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_v1beta1_batch_delete_alerts_response.ex">>, |
| 58 | - <<"lib/google_api/alert_center/v1beta1/model/google_apps_alertcenter_type_domain_wide_takeout_initiated.ex">>, |
| 59 | - <<"lib/google_api/alert_center/v1beta1/metadata.ex">>,<<"mix.exs">>, |
| 60 | - <<"README.md">>,<<"LICENSE">>]}. |
| 15 | + <<"lib/google_api/alert_center/v1beta1/model/alert_feedback.ex">>, |
| 16 | + <<"lib/google_api/alert_center/v1beta1/model/activity_rule.ex">>, |
| 17 | + <<"lib/google_api/alert_center/v1beta1/model/status.ex">>, |
| 18 | + <<"lib/google_api/alert_center/v1beta1/model/bad_whitelist.ex">>, |
| 19 | + <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_request.ex">>, |
| 20 | + <<"lib/google_api/alert_center/v1beta1/model/rule_info.ex">>, |
| 21 | + <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_response.ex">>, |
| 22 | + <<"lib/google_api/alert_center/v1beta1/model/gmail_message_info.ex">>, |
| 23 | + <<"lib/google_api/alert_center/v1beta1/model/batch_delete_alerts_response.ex">>, |
| 24 | + <<"lib/google_api/alert_center/v1beta1/model/csv.ex">>, |
| 25 | + <<"lib/google_api/alert_center/v1beta1/model/resource_info.ex">>, |
| 26 | + <<"lib/google_api/alert_center/v1beta1/model/device_compromised.ex">>, |
| 27 | + <<"lib/google_api/alert_center/v1beta1/model/list_alert_feedback_response.ex">>, |
| 28 | + <<"lib/google_api/alert_center/v1beta1/model/attachment.ex">>, |
| 29 | + <<"lib/google_api/alert_center/v1beta1/model/malicious_entity.ex">>, |
| 30 | + <<"lib/google_api/alert_center/v1beta1/model/phishing_spike.ex">>, |
| 31 | + <<"lib/google_api/alert_center/v1beta1/model/cloud_pubsub_topic.ex">>, |
| 32 | + <<"lib/google_api/alert_center/v1beta1/model/batch_undelete_alerts_request.ex">>, |
| 33 | + <<"lib/google_api/alert_center/v1beta1/model/match_info.ex">>, |
| 34 | + <<"lib/google_api/alert_center/v1beta1/model/mail_phishing.ex">>, |
| 35 | + <<"lib/google_api/alert_center/v1beta1/model/notification.ex">>, |
| 36 | + <<"lib/google_api/alert_center/v1beta1/model/predefined_detector_info.ex">>, |
| 37 | + <<"lib/google_api/alert_center/v1beta1/model/undelete_alert_request.ex">>, |
| 38 | + <<"lib/google_api/alert_center/v1beta1/model/app_maker_sql_setup_notification.ex">>, |
| 39 | + <<"lib/google_api/alert_center/v1beta1/model/state_sponsored_attack.ex">>, |
| 40 | + <<"lib/google_api/alert_center/v1beta1/model/alert.ex">>, |
| 41 | + <<"lib/google_api/alert_center/v1beta1/model/device_compromised_security_detail.ex">>, |
| 42 | + <<"lib/google_api/alert_center/v1beta1/model/empty.ex">>, |
| 43 | + <<"lib/google_api/alert_center/v1beta1/model/user.ex">>, |
| 44 | + <<"lib/google_api/alert_center/v1beta1/model/list_alerts_response.ex">>, |
| 45 | + <<"lib/google_api/alert_center/v1beta1/model/account_warning.ex">>, |
| 46 | + <<"lib/google_api/alert_center/v1beta1/model/request_info.ex">>, |
| 47 | + <<"lib/google_api/alert_center/v1beta1/model/dlp_rule_violation.ex">>, |
| 48 | + <<"lib/google_api/alert_center/v1beta1/model/rule_violation_info.ex">>, |
| 49 | + <<"lib/google_api/alert_center/v1beta1/model/user_defined_detector_info.ex">>, |
| 50 | + <<"lib/google_api/alert_center/v1beta1/model/csv_row.ex">>, |
| 51 | + <<"lib/google_api/alert_center/v1beta1/model/reporting_rule.ex">>, |
| 52 | + <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity_security_detail.ex">>, |
| 53 | + <<"lib/google_api/alert_center/v1beta1/model/user_changes.ex">>, |
| 54 | + <<"lib/google_api/alert_center/v1beta1/model/action_info.ex">>, |
| 55 | + <<"lib/google_api/alert_center/v1beta1/model/app_settings_changed.ex">>, |
| 56 | + <<"lib/google_api/alert_center/v1beta1/model/google_operations.ex">>, |
| 57 | + <<"lib/google_api/alert_center/v1beta1/model/alert_metadata.ex">>, |
| 58 | + <<"lib/google_api/alert_center/v1beta1/model/domain_id.ex">>, |
| 59 | + <<"lib/google_api/alert_center/v1beta1/model/login_details.ex">>, |
| 60 | + <<"lib/google_api/alert_center/v1beta1/model/domain_wide_takeout_initiated.ex">>, |
| 61 | + <<"lib/google_api/alert_center/v1beta1/model/settings.ex">>, |
| 62 | + <<"lib/google_api/alert_center/v1beta1/model/suspicious_activity.ex">>, |
| 63 | + <<"mix.exs">>,<<"README.md">>,<<"LICENSE">>]}. |
| 61 64 | {<<"licenses">>,[<<"Apache 2.0">>]}. |
| 62 65 | {<<"links">>, |
| 63 66 | [{<<"GitHub">>, |
| @@ -71,4 +74,4 @@ | |
| 71 74 | {<<"optional">>,false}, |
| 72 75 | {<<"repository">>,<<"hexpm">>}, |
| 73 76 | {<<"requirement">>,<<"~> 0.4">>}]]}. |
| 74 | - {<<"version">>,<<"0.14.0">>}. |
| 77 | + {<<"version">>,<<"0.15.0">>}. |
| @@ -43,17 +43,16 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 43 43 | * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
| 44 44 | * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). |
| 45 45 | * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). |
| 46 | - * `:body` (*type:* `GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1BatchDeleteAlertsRequest.t`) - |
| 46 | + * `:body` (*type:* `GoogleApi.AlertCenter.V1beta1.Model.BatchDeleteAlertsRequest.t`) - |
| 47 47 | * `opts` (*type:* `keyword()`) - Call options |
| 48 48 | |
| 49 49 | ## Returns |
| 50 50 | |
| 51 | - * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1BatchDeleteAlertsResponse{}}` on success |
| 51 | + * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.BatchDeleteAlertsResponse{}}` on success |
| 52 52 | * `{:error, info}` on failure |
| 53 53 | """ |
| 54 54 | @spec alertcenter_alerts_batch_delete(Tesla.Env.client(), keyword(), keyword()) :: |
| 55 | - {:ok, |
| 56 | - GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1BatchDeleteAlertsResponse.t()} |
| 55 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.BatchDeleteAlertsResponse.t()} |
| 57 56 | | {:ok, Tesla.Env.t()} |
| 58 57 | | {:ok, list()} |
| 59 58 | | {:error, any()} |
| @@ -83,11 +82,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 83 82 | connection |
| 84 83 | |> Connection.execute(request) |
| 85 84 | |> Response.decode( |
| 86 | - opts ++ |
| 87 | - [ |
| 88 | - struct: |
| 89 | - %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1BatchDeleteAlertsResponse{} |
| 90 | - ] |
| 85 | + opts ++ [struct: %GoogleApi.AlertCenter.V1beta1.Model.BatchDeleteAlertsResponse{}] |
| 91 86 | ) |
| 92 87 | end |
| 93 88 | |
| @@ -109,17 +104,16 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 109 104 | * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
| 110 105 | * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). |
| 111 106 | * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). |
| 112 | - * `:body` (*type:* `GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1BatchUndeleteAlertsRequest.t`) - |
| 107 | + * `:body` (*type:* `GoogleApi.AlertCenter.V1beta1.Model.BatchUndeleteAlertsRequest.t`) - |
| 113 108 | * `opts` (*type:* `keyword()`) - Call options |
| 114 109 | |
| 115 110 | ## Returns |
| 116 111 | |
| 117 | - * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1BatchUndeleteAlertsResponse{}}` on success |
| 112 | + * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.BatchUndeleteAlertsResponse{}}` on success |
| 118 113 | * `{:error, info}` on failure |
| 119 114 | """ |
| 120 115 | @spec alertcenter_alerts_batch_undelete(Tesla.Env.client(), keyword(), keyword()) :: |
| 121 | - {:ok, |
| 122 | - GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1BatchUndeleteAlertsResponse.t()} |
| 116 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.BatchUndeleteAlertsResponse.t()} |
| 123 117 | | {:ok, Tesla.Env.t()} |
| 124 118 | | {:ok, list()} |
| 125 119 | | {:error, any()} |
| @@ -149,11 +143,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 149 143 | connection |
| 150 144 | |> Connection.execute(request) |
| 151 145 | |> Response.decode( |
| 152 | - opts ++ |
| 153 | - [ |
| 154 | - struct: |
| 155 | - %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1BatchUndeleteAlertsResponse{} |
| 156 | - ] |
| 146 | + opts ++ [struct: %GoogleApi.AlertCenter.V1beta1.Model.BatchUndeleteAlertsResponse{}] |
| 157 147 | ) |
| 158 148 | end |
| 159 149 | |
| @@ -181,11 +171,11 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 181 171 | |
| 182 172 | ## Returns |
| 183 173 | |
| 184 | - * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.GoogleProtobufEmpty{}}` on success |
| 174 | + * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.Empty{}}` on success |
| 185 175 | * `{:error, info}` on failure |
| 186 176 | """ |
| 187 177 | @spec alertcenter_alerts_delete(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 188 | - {:ok, GoogleApi.AlertCenter.V1beta1.Model.GoogleProtobufEmpty.t()} |
| 178 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.Empty.t()} |
| 189 179 | | {:ok, Tesla.Env.t()} |
| 190 180 | | {:ok, list()} |
| 191 181 | | {:error, any()} |
| @@ -216,9 +206,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 216 206 | |
| 217 207 | connection |
| 218 208 | |> Connection.execute(request) |
| 219 | - |> Response.decode( |
| 220 | - opts ++ [struct: %GoogleApi.AlertCenter.V1beta1.Model.GoogleProtobufEmpty{}] |
| 221 | - ) |
| 209 | + |> Response.decode(opts ++ [struct: %GoogleApi.AlertCenter.V1beta1.Model.Empty{}]) |
| 222 210 | end |
| 223 211 | |
| 224 212 | @doc """ |
| @@ -245,11 +233,11 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 245 233 | |
| 246 234 | ## Returns |
| 247 235 | |
| 248 | - * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1Alert{}}` on success |
| 236 | + * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.Alert{}}` on success |
| 249 237 | * `{:error, info}` on failure |
| 250 238 | """ |
| 251 239 | @spec alertcenter_alerts_get(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 252 | - {:ok, GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1Alert.t()} |
| 240 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.Alert.t()} |
| 253 241 | | {:ok, Tesla.Env.t()} |
| 254 242 | | {:ok, list()} |
| 255 243 | | {:error, any()} |
| @@ -280,9 +268,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 280 268 | |
| 281 269 | connection |
| 282 270 | |> Connection.execute(request) |
| 283 | - |> Response.decode( |
| 284 | - opts ++ [struct: %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1Alert{}] |
| 285 | - ) |
| 271 | + |> Response.decode(opts ++ [struct: %GoogleApi.AlertCenter.V1beta1.Model.Alert{}]) |
| 286 272 | end |
| 287 273 | |
| 288 274 | @doc """ |
| @@ -309,11 +295,11 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 309 295 | |
| 310 296 | ## Returns |
| 311 297 | |
| 312 | - * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1AlertMetadata{}}` on success |
| 298 | + * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.AlertMetadata{}}` on success |
| 313 299 | * `{:error, info}` on failure |
| 314 300 | """ |
| 315 301 | @spec alertcenter_alerts_get_metadata(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 316 | - {:ok, GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1AlertMetadata.t()} |
| 302 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.AlertMetadata.t()} |
| 317 303 | | {:ok, Tesla.Env.t()} |
| 318 304 | | {:ok, list()} |
| 319 305 | | {:error, any()} |
| @@ -344,10 +330,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 344 330 | |
| 345 331 | connection |
| 346 332 | |> Connection.execute(request) |
| 347 | - |> Response.decode( |
| 348 | - opts ++ |
| 349 | - [struct: %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1AlertMetadata{}] |
| 350 | - ) |
| 333 | + |> Response.decode(opts ++ [struct: %GoogleApi.AlertCenter.V1beta1.Model.AlertMetadata{}]) |
| 351 334 | end |
| 352 335 | |
| 353 336 | @doc """ |
| @@ -377,12 +360,11 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 377 360 | |
| 378 361 | ## Returns |
| 379 362 | |
| 380 | - * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1ListAlertsResponse{}}` on success |
| 363 | + * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.ListAlertsResponse{}}` on success |
| 381 364 | * `{:error, info}` on failure |
| 382 365 | """ |
| 383 366 | @spec alertcenter_alerts_list(Tesla.Env.client(), keyword(), keyword()) :: |
| 384 | - {:ok, |
| 385 | - GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1ListAlertsResponse.t()} |
| 367 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.ListAlertsResponse.t()} |
| 386 368 | | {:ok, Tesla.Env.t()} |
| 387 369 | | {:ok, list()} |
| 388 370 | | {:error, any()} |
| @@ -416,11 +398,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 416 398 | connection |
| 417 399 | |> Connection.execute(request) |
| 418 400 | |> Response.decode( |
| 419 | - opts ++ |
| 420 | - [ |
| 421 | - struct: |
| 422 | - %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1ListAlertsResponse{} |
| 423 | - ] |
| 401 | + opts ++ [struct: %GoogleApi.AlertCenter.V1beta1.Model.ListAlertsResponse{}] |
| 424 402 | ) |
| 425 403 | end |
| 426 404 | |
| @@ -443,16 +421,16 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 443 421 | * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
| 444 422 | * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). |
| 445 423 | * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). |
| 446 | - * `:body` (*type:* `GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1UndeleteAlertRequest.t`) - |
| 424 | + * `:body` (*type:* `GoogleApi.AlertCenter.V1beta1.Model.UndeleteAlertRequest.t`) - |
| 447 425 | * `opts` (*type:* `keyword()`) - Call options |
| 448 426 | |
| 449 427 | ## Returns |
| 450 428 | |
| 451 | - * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1Alert{}}` on success |
| 429 | + * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.Alert{}}` on success |
| 452 430 | * `{:error, info}` on failure |
| 453 431 | """ |
| 454 432 | @spec alertcenter_alerts_undelete(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 455 | - {:ok, GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1Alert.t()} |
| 433 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.Alert.t()} |
| 456 434 | | {:ok, Tesla.Env.t()} |
| 457 435 | | {:ok, list()} |
| 458 436 | | {:error, any()} |
| @@ -483,9 +461,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 483 461 | |
| 484 462 | connection |
| 485 463 | |> Connection.execute(request) |
| 486 | - |> Response.decode( |
| 487 | - opts ++ [struct: %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1Alert{}] |
| 488 | - ) |
| 464 | + |> Response.decode(opts ++ [struct: %GoogleApi.AlertCenter.V1beta1.Model.Alert{}]) |
| 489 465 | end |
| 490 466 | |
| 491 467 | @doc """ |
| @@ -508,16 +484,16 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 508 484 | * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). |
| 509 485 | * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). |
| 510 486 | * `:customerId` (*type:* `String.t`) - Optional. The unique identifier of the Google Workspace organization account of the customer the alert is associated with. Inferred from the caller identity if not provided. |
| 511 | - * `:body` (*type:* `GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1AlertFeedback.t`) - |
| 487 | + * `:body` (*type:* `GoogleApi.AlertCenter.V1beta1.Model.AlertFeedback.t`) - |
| 512 488 | * `opts` (*type:* `keyword()`) - Call options |
| 513 489 | |
| 514 490 | ## Returns |
| 515 491 | |
| 516 | - * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1AlertFeedback{}}` on success |
| 492 | + * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.AlertFeedback{}}` on success |
| 517 493 | * `{:error, info}` on failure |
| 518 494 | """ |
| 519 495 | @spec alertcenter_alerts_feedback_create(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 520 | - {:ok, GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1AlertFeedback.t()} |
| 496 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.AlertFeedback.t()} |
| 521 497 | | {:ok, Tesla.Env.t()} |
| 522 498 | | {:ok, list()} |
| 523 499 | | {:error, any()} |
| @@ -549,10 +525,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 549 525 | |
| 550 526 | connection |
| 551 527 | |> Connection.execute(request) |
| 552 | - |> Response.decode( |
| 553 | - opts ++ |
| 554 | - [struct: %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1AlertFeedback{}] |
| 555 | - ) |
| 528 | + |> Response.decode(opts ++ [struct: %GoogleApi.AlertCenter.V1beta1.Model.AlertFeedback{}]) |
| 556 529 | end |
| 557 530 | |
| 558 531 | @doc """ |
| @@ -580,12 +553,11 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 580 553 | |
| 581 554 | ## Returns |
| 582 555 | |
| 583 | - * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1ListAlertFeedbackResponse{}}` on success |
| 556 | + * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.ListAlertFeedbackResponse{}}` on success |
| 584 557 | * `{:error, info}` on failure |
| 585 558 | """ |
| 586 559 | @spec alertcenter_alerts_feedback_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: |
| 587 | - {:ok, |
| 588 | - GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1ListAlertFeedbackResponse.t()} |
| 560 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.ListAlertFeedbackResponse.t()} |
| 589 561 | | {:ok, Tesla.Env.t()} |
| 590 562 | | {:ok, list()} |
| 591 563 | | {:error, any()} |
| @@ -618,11 +590,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.Alerts do | |
| 618 590 | connection |
| 619 591 | |> Connection.execute(request) |
| 620 592 | |> Response.decode( |
| 621 | - opts ++ |
| 622 | - [ |
| 623 | - struct: |
| 624 | - %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1ListAlertFeedbackResponse{} |
| 625 | - ] |
| 593 | + opts ++ [struct: %GoogleApi.AlertCenter.V1beta1.Model.ListAlertFeedbackResponse{}] |
| 626 594 | ) |
| 627 595 | end |
| 628 596 | end |
| @@ -48,11 +48,11 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.V1beta1 do | |
| 48 48 | |
| 49 49 | ## Returns |
| 50 50 | |
| 51 | - * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1Settings{}}` on success |
| 51 | + * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.Settings{}}` on success |
| 52 52 | * `{:error, info}` on failure |
| 53 53 | """ |
| 54 54 | @spec alertcenter_get_settings(Tesla.Env.client(), keyword(), keyword()) :: |
| 55 | - {:ok, GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1Settings.t()} |
| 55 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.Settings.t()} |
| 56 56 | | {:ok, Tesla.Env.t()} |
| 57 57 | | {:ok, list()} |
| 58 58 | | {:error, any()} |
| @@ -81,10 +81,7 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.V1beta1 do | |
| 81 81 | |
| 82 82 | connection |
| 83 83 | |> Connection.execute(request) |
| 84 | - |> Response.decode( |
| 85 | - opts ++ |
| 86 | - [struct: %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1Settings{}] |
| 87 | - ) |
| 84 | + |> Response.decode(opts ++ [struct: %GoogleApi.AlertCenter.V1beta1.Model.Settings{}]) |
| 88 85 | end |
| 89 86 | |
| 90 87 | @doc """ |
| @@ -106,16 +103,16 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.V1beta1 do | |
| 106 103 | * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). |
| 107 104 | * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). |
| 108 105 | * `:customerId` (*type:* `String.t`) - Optional. The unique identifier of the Google Workspace organization account of the customer the alert settings are associated with. Inferred from the caller identity if not provided. |
| 109 | - * `:body` (*type:* `GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1Settings.t`) - |
| 106 | + * `:body` (*type:* `GoogleApi.AlertCenter.V1beta1.Model.Settings.t`) - |
| 110 107 | * `opts` (*type:* `keyword()`) - Call options |
| 111 108 | |
| 112 109 | ## Returns |
| 113 110 | |
| 114 | - * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1Settings{}}` on success |
| 111 | + * `{:ok, %GoogleApi.AlertCenter.V1beta1.Model.Settings{}}` on success |
| 115 112 | * `{:error, info}` on failure |
| 116 113 | """ |
| 117 114 | @spec alertcenter_update_settings(Tesla.Env.client(), keyword(), keyword()) :: |
| 118 | - {:ok, GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1Settings.t()} |
| 115 | + {:ok, GoogleApi.AlertCenter.V1beta1.Model.Settings.t()} |
| 119 116 | | {:ok, Tesla.Env.t()} |
| 120 117 | | {:ok, list()} |
| 121 118 | | {:error, any()} |
| @@ -145,9 +142,6 @@ defmodule GoogleApi.AlertCenter.V1beta1.Api.V1beta1 do | |
| 145 142 | |
| 146 143 | connection |
| 147 144 | |> Connection.execute(request) |
| 148 | - |> Response.decode( |
| 149 | - opts ++ |
| 150 | - [struct: %GoogleApi.AlertCenter.V1beta1.Model.GoogleAppsAlertcenterV1beta1Settings{}] |
| 151 | - ) |
| 145 | + |> Response.decode(opts ++ [struct: %GoogleApi.AlertCenter.V1beta1.Model.Settings{}]) |
| 152 146 | end |
| 153 147 | end |
| @@ -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 "20210406" |
| 23 | + @discovery_revision "20210427" |
| 24 24 | |
| 25 25 | def discovery_revision(), do: @discovery_revision |
| 26 26 | end |
Loading more files…