google-apis-alertcenter_v1beta1 0.14.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b65e875c9c910841f479c8c66af56c571834f5efe86e5ff4236fff46f22b768
4
- data.tar.gz: 728b3d5577708035b6c0727137722809e1673a15cc13229bcfacafc9fe509da5
3
+ metadata.gz: e17380e0c8df5be2f9ad78ba661b9d616eae4ef732c737f4b051e8eca4bde00d
4
+ data.tar.gz: f1cdad49cafae570fc528f5161a9243b0375f1fb5701545f4b2ee21adf88dfcd
5
5
  SHA512:
6
- metadata.gz: b61b9f9f8fa61a31cea4f6ab0dac20653d9f1a6f5a38a43d1ccfb3f4c305153b040dfd40c7abead52f0ab27796624c4f273ee3a84ee01835804255efa746f570
7
- data.tar.gz: a5864fb54d7f726fcd6abb52ebea6b665842bae72ce0e8322605cacd432ffd968566af70ac139baccea280b067bbf177951975ff3640439a02b1d1e4f57b892c
6
+ metadata.gz: 3ce3e423f3c5c071d14acef45ebc1d1a867180d40c5d6b1911049baf7e0f4dd0ec27fdd8d7f21f92959c19cd00576859f4ca188fd78d39a4afe1ecaaa8c7e8f5
7
+ data.tar.gz: cf44400343dc74a4d4da1c5742c1ed6106387e2849575a6375ea0081799876a906832a29ee4efd09ca9f047cebfab7d34927cb703ab8188ca3c03db5f23fe96c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-alertcenter_v1beta1
2
2
 
3
+ ### v0.17.0 (2022-02-23)
4
+
5
+ * Regenerated from discovery document revision 20220221
6
+
7
+ ### v0.16.0 (2022-02-10)
8
+
9
+ * Regenerated from discovery document revision 20220131
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.15.0 (2021-12-21)
13
+
14
+ * Regenerated from discovery document revision 20211214
15
+ * Unspecified changes
16
+
3
17
  ### v0.14.0 (2021-10-20)
4
18
 
5
19
  * Regenerated from discovery document revision 20211012
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/alertcenter_v1beta1"
51
51
  client = Google::Apis::AlertcenterV1beta1::AlertCenterService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -391,7 +391,7 @@ module Google
391
391
  # Optional. `etag` is used for optimistic concurrency control as a way to help
392
392
  # prevent simultaneous updates of an alert metadata from overwriting each other.
393
393
  # It is strongly suggested that systems make use of the `etag` in the read-
394
- # modify-write cycle to perform metatdata updates in order to avoid race
394
+ # modify-write cycle to perform metadata updates in order to avoid race
395
395
  # conditions: An `etag` is returned in the response which contains alert
396
396
  # metadata, and systems are expected to put that etag in the request to update
397
397
  # alert metadata to ensure that their change will be applied to the same version
@@ -492,6 +492,16 @@ module Google
492
492
  # @return [String]
493
493
  attr_accessor :dashboard_uri
494
494
 
495
+ # Incident tracking ID.
496
+ # Corresponds to the JSON property `incidentTrackingId`
497
+ # @return [String]
498
+ attr_accessor :incident_tracking_id
499
+
500
+ # New alert tracking numbers.
501
+ # Corresponds to the JSON property `mergeInfo`
502
+ # @return [Google::Apis::AlertcenterV1beta1::MergeInfo]
503
+ attr_accessor :merge_info
504
+
495
505
  # Timestamp by which the next update is expected to arrive.
496
506
  # Corresponds to the JSON property `nextUpdateTime`
497
507
  # @return [String]
@@ -520,6 +530,8 @@ module Google
520
530
  # Update properties of this object
521
531
  def update!(**args)
522
532
  @dashboard_uri = args[:dashboard_uri] if args.key?(:dashboard_uri)
533
+ @incident_tracking_id = args[:incident_tracking_id] if args.key?(:incident_tracking_id)
534
+ @merge_info = args[:merge_info] if args.key?(:merge_info)
523
535
  @next_update_time = args[:next_update_time] if args.key?(:next_update_time)
524
536
  @products = args[:products] if args.key?(:products)
525
537
  @resolution_time = args[:resolution_time] if args.key?(:resolution_time)
@@ -1007,6 +1019,11 @@ module Google
1007
1019
  # @return [String]
1008
1020
  attr_accessor :description
1009
1021
 
1022
+ # Customer domain for email template personalization.
1023
+ # Corresponds to the JSON property `domain`
1024
+ # @return [String]
1025
+ attr_accessor :domain
1026
+
1010
1027
  # A header to display above the incident message. Typically used to attach a
1011
1028
  # localized notice on the timeline for followup comms translations.
1012
1029
  # Corresponds to the JSON property `header`
@@ -1027,6 +1044,7 @@ module Google
1027
1044
  @affected_user_emails = args[:affected_user_emails] if args.key?(:affected_user_emails)
1028
1045
  @attachment_data = args[:attachment_data] if args.key?(:attachment_data)
1029
1046
  @description = args[:description] if args.key?(:description)
1047
+ @domain = args[:domain] if args.key?(:domain)
1030
1048
  @header = args[:header] if args.key?(:header)
1031
1049
  @title = args[:title] if args.key?(:title)
1032
1050
  end
@@ -1210,6 +1228,32 @@ module Google
1210
1228
  end
1211
1229
  end
1212
1230
 
1231
+ # New alert tracking numbers.
1232
+ class MergeInfo
1233
+ include Google::Apis::Core::Hashable
1234
+
1235
+ # Optional. New alert ID. Reference the [google.apps.alertcenter.Alert] with
1236
+ # this ID for the current state.
1237
+ # Corresponds to the JSON property `newAlertId`
1238
+ # @return [String]
1239
+ attr_accessor :new_alert_id
1240
+
1241
+ # The new tracking ID from the parent incident.
1242
+ # Corresponds to the JSON property `newIncidentTrackingId`
1243
+ # @return [String]
1244
+ attr_accessor :new_incident_tracking_id
1245
+
1246
+ def initialize(**args)
1247
+ update!(**args)
1248
+ end
1249
+
1250
+ # Update properties of this object
1251
+ def update!(**args)
1252
+ @new_alert_id = args[:new_alert_id] if args.key?(:new_alert_id)
1253
+ @new_incident_tracking_id = args[:new_incident_tracking_id] if args.key?(:new_incident_tracking_id)
1254
+ end
1255
+ end
1256
+
1213
1257
  # Settings for callback notifications. For more details see [Google Workspace
1214
1258
  # Alert Notification](https://developers.google.com/admin-sdk/alertcenter/guides/
1215
1259
  # notifications).
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlertcenterV1beta1
18
18
  # Version of the google-apis-alertcenter_v1beta1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211012"
25
+ REVISION = "20220221"
26
26
  end
27
27
  end
28
28
  end
@@ -226,6 +226,12 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
+ class MergeInfo
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
229
235
  class Notification
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
@@ -444,6 +450,9 @@ module Google
444
450
  # @private
445
451
  class Representation < Google::Apis::Core::JsonRepresentation
446
452
  property :dashboard_uri, as: 'dashboardUri'
453
+ property :incident_tracking_id, as: 'incidentTrackingId'
454
+ property :merge_info, as: 'mergeInfo', class: Google::Apis::AlertcenterV1beta1::MergeInfo, decorator: Google::Apis::AlertcenterV1beta1::MergeInfo::Representation
455
+
447
456
  property :next_update_time, as: 'nextUpdateTime'
448
457
  collection :products, as: 'products'
449
458
  property :resolution_time, as: 'resolutionTime'
@@ -602,6 +611,7 @@ module Google
602
611
  property :attachment_data, as: 'attachmentData', class: Google::Apis::AlertcenterV1beta1::Attachment, decorator: Google::Apis::AlertcenterV1beta1::Attachment::Representation
603
612
 
604
613
  property :description, as: 'description'
614
+ property :domain, as: 'domain'
605
615
  property :header, as: 'header'
606
616
  property :title, as: 'title'
607
617
  end
@@ -666,6 +676,14 @@ module Google
666
676
  end
667
677
  end
668
678
 
679
+ class MergeInfo
680
+ # @private
681
+ class Representation < Google::Apis::Core::JsonRepresentation
682
+ property :new_alert_id, as: 'newAlertId'
683
+ property :new_incident_tracking_id, as: 'newIncidentTrackingId'
684
+ end
685
+ end
686
+
669
687
  class Notification
670
688
  # @private
671
689
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alertcenter_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alertcenter_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alertcenter_v1beta1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alertcenter_v1beta1/v0.17.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alertcenter_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Workspace Alert Center API V1beta1