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