google-apis-alertcenter_v1beta1 0.35.0 → 0.37.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48df379c21e1ea8ca6a58c98d5ce4e1388f49c0bf63d925df4a9e193814d2326
4
- data.tar.gz: 19cadb7d8b80ef4818ccf8c40cfdc0d27d9490ed0db34668b5e232f63430bab4
3
+ metadata.gz: 1b869fe3870154bf39bb91dee0ffc0f03f81368f9306f0ea130bd2971af8d854
4
+ data.tar.gz: 1018027a493365a860ca1ac28f848d12a78f8cdb53a8aa0db5da76b18fd0e51c
5
5
  SHA512:
6
- metadata.gz: 2a5f659fe323d86a745a105547328e45f716cca4f2ae24c598c5bc6419ee35096e7d433dda4d1260db312490b74343f3871eb4f66e03b5c539b7112d9da9eac5
7
- data.tar.gz: c97a8f52cb1039d7925fc78c4295d8c790aadff91eff4935c0c0a2b0cdef2bc29625d98c96eb5083749c8c832feef8a2a4015bc7db917a9485000b6e6f86a6d9
6
+ metadata.gz: e0a45c3cb05e766eef502699f3368046231ca9f6025732d6d88ada3ada823b95f89b449e4a2fa56b998a572e230a3a83085edbe3d77027eb4bfa7efd600995e4
7
+ data.tar.gz: 1d8c0f3909ca6cd9c3cb1f056ec8494924d740e892edbf60838ecade17219eb68d05ea61fa1a573f28820a441c4dd089e67fbc0722bb524249b58fc612e4df13
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-alertcenter_v1beta1
2
2
 
3
+ ### v0.37.0 (2024-02-04)
4
+
5
+ * Regenerated from discovery document revision 20240129
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.36.0 (2024-01-23)
9
+
10
+ * Regenerated using generator version 0.13.0
11
+
3
12
  ### v0.35.0 (2023-08-27)
4
13
 
5
14
  * Regenerated from discovery document revision 20230821
@@ -991,6 +991,61 @@ module Google
991
991
  end
992
992
  end
993
993
 
994
+ # Alerts from Device Management Rules configured by Admin.
995
+ class DeviceManagementRule
996
+ include Google::Apis::Core::Hashable
997
+
998
+ # Required. The device ID.
999
+ # Corresponds to the JSON property `deviceId`
1000
+ # @return [String]
1001
+ attr_accessor :device_id
1002
+
1003
+ # The model of the device.
1004
+ # Corresponds to the JSON property `deviceModel`
1005
+ # @return [String]
1006
+ attr_accessor :device_model
1007
+
1008
+ # The type of the device.
1009
+ # Corresponds to the JSON property `deviceType`
1010
+ # @return [String]
1011
+ attr_accessor :device_type
1012
+
1013
+ # The email of the user this alert was created for.
1014
+ # Corresponds to the JSON property `email`
1015
+ # @return [String]
1016
+ attr_accessor :email
1017
+
1018
+ # Required for iOS, empty for others.
1019
+ # Corresponds to the JSON property `iosVendorId`
1020
+ # @return [String]
1021
+ attr_accessor :ios_vendor_id
1022
+
1023
+ # The device resource ID.
1024
+ # Corresponds to the JSON property `resourceId`
1025
+ # @return [String]
1026
+ attr_accessor :resource_id
1027
+
1028
+ # The serial number of the device.
1029
+ # Corresponds to the JSON property `serialNumber`
1030
+ # @return [String]
1031
+ attr_accessor :serial_number
1032
+
1033
+ def initialize(**args)
1034
+ update!(**args)
1035
+ end
1036
+
1037
+ # Update properties of this object
1038
+ def update!(**args)
1039
+ @device_id = args[:device_id] if args.key?(:device_id)
1040
+ @device_model = args[:device_model] if args.key?(:device_model)
1041
+ @device_type = args[:device_type] if args.key?(:device_type)
1042
+ @email = args[:email] if args.key?(:email)
1043
+ @ios_vendor_id = args[:ios_vendor_id] if args.key?(:ios_vendor_id)
1044
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
1045
+ @serial_number = args[:serial_number] if args.key?(:serial_number)
1046
+ end
1047
+ end
1048
+
994
1049
  # Alerts that get triggered on violations of Data Loss Prevention (DLP) rules.
995
1050
  class DlpRuleViolation
996
1051
  include Google::Apis::Core::Hashable
@@ -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.35.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230821"
25
+ REVISION = "20240129"
26
26
  end
27
27
  end
28
28
  end
@@ -172,6 +172,12 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class DeviceManagementRule
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
175
181
  class DlpRuleViolation
176
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
183
 
@@ -702,6 +708,19 @@ module Google
702
708
  end
703
709
  end
704
710
 
711
+ class DeviceManagementRule
712
+ # @private
713
+ class Representation < Google::Apis::Core::JsonRepresentation
714
+ property :device_id, as: 'deviceId'
715
+ property :device_model, as: 'deviceModel'
716
+ property :device_type, as: 'deviceType'
717
+ property :email, as: 'email'
718
+ property :ios_vendor_id, as: 'iosVendorId'
719
+ property :resource_id, as: 'resourceId'
720
+ property :serial_number, as: 'serialNumber'
721
+ end
722
+ end
723
+
705
724
  class DlpRuleViolation
706
725
  # @private
707
726
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -33,6 +33,8 @@ module Google
33
33
  #
34
34
  # @see https://developers.google.com/admin-sdk/alertcenter/
35
35
  class AlertCenterService < Google::Apis::Core::BaseService
36
+ DEFAULT_ENDPOINT_TEMPLATE = "https://alertcenter.$UNIVERSE_DOMAIN$/"
37
+
36
38
  # @return [String]
37
39
  # API key. Your API key identifies your project and provides you with API access,
38
40
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -44,7 +46,7 @@ module Google
44
46
  attr_accessor :quota_user
45
47
 
46
48
  def initialize
47
- super('https://alertcenter.googleapis.com/', '',
49
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
48
50
  client_name: 'google-apis-alertcenter_v1beta1',
49
51
  client_version: Google::Apis::AlertcenterV1beta1::GEM_VERSION)
50
52
  @batch_path = 'batch'
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.35.0
4
+ version: 0.37.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: 2023-08-27 00:00:00.000000000 Z
11
+ date: 2024-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alertcenter_v1beta1/v0.37.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.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Workspace Alert Center API V1beta1