google-apis-verifiedaccess_v2 0.8.0 → 0.9.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: 32ac0b6b97a645efe8aaa514f31635ca78890d74990d2bc98a2fa6f3b8226ec0
4
- data.tar.gz: 0aa672e9613892cc14313c89d73a6f1bd1f218a61aa80bd98c2472a1ec4a719a
3
+ metadata.gz: b5941ebec570512dfcf0910bbfccff69970446850b7254f0130030ae59c9d2f4
4
+ data.tar.gz: 9344ffeceec6dd2c78697c5d7a80cda54848006b116728331e77c75f2ecf72fb
5
5
  SHA512:
6
- metadata.gz: 846074767d756861e09df5f2dd42cb84c70e9210d3b41052f5f078d16c287dddac5b41ea73d4f23948fe92c93c69dc725bf14e97d61ad9200b1acaf51e7e1f10
7
- data.tar.gz: df52cb61847ff2829685ed201310770c8f05eae23cac89e2429867e15a6950a5819d7e3d426d94fd4185f1c2869d0edf0bd4e13c9efb40643136093261a69b5f
6
+ metadata.gz: c00325e787a95f769f537f185af31d1c12241f7eb76921c50f1bac61b8832e32340879d88588d14a0fecc863d74a47eb03c0996927578a4c0d9c985e5fce2f19
7
+ data.tar.gz: a25c459c33702efc6cd78e33f8103d55e89dafab220575510db5f9efb714f34d2a2ca5ee4e4e8d27dcb98cab984ae07a5bf15a14e1633daec0838b5b6f89f40b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-verifiedaccess_v2
2
2
 
3
+ ### v0.9.0 (2023-05-07)
4
+
5
+ * Regenerated from discovery document revision 20230425
6
+
3
7
  ### v0.8.0 (2023-02-15)
4
8
 
5
9
  * Regenerated using generator version 0.12.0
@@ -26,13 +26,6 @@ module Google
26
26
  class Challenge
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # Challenge generated with the old signing key, the bytes representation of
30
- # SignedData (this will only be present during key rotation).
31
- # Corresponds to the JSON property `alternativeChallenge`
32
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
33
- # @return [String]
34
- attr_accessor :alternative_challenge
35
-
36
29
  # Generated challenge, the bytes representation of SignedData.
37
30
  # Corresponds to the JSON property `challenge`
38
31
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -45,11 +38,263 @@ module Google
45
38
 
46
39
  # Update properties of this object
47
40
  def update!(**args)
48
- @alternative_challenge = args[:alternative_challenge] if args.key?(:alternative_challenge)
49
41
  @challenge = args[:challenge] if args.key?(:challenge)
50
42
  end
51
43
  end
52
44
 
45
+ # Properties of the CrowdStrike agent installed on a device.
46
+ class CrowdStrikeAgent
47
+ include Google::Apis::Core::Hashable
48
+
49
+ # The Agent ID of the Crowdstrike agent.
50
+ # Corresponds to the JSON property `agentId`
51
+ # @return [String]
52
+ attr_accessor :agent_id
53
+
54
+ # The Customer ID to which the agent belongs to.
55
+ # Corresponds to the JSON property `customerId`
56
+ # @return [String]
57
+ attr_accessor :customer_id
58
+
59
+ def initialize(**args)
60
+ update!(**args)
61
+ end
62
+
63
+ # Update properties of this object
64
+ def update!(**args)
65
+ @agent_id = args[:agent_id] if args.key?(:agent_id)
66
+ @customer_id = args[:customer_id] if args.key?(:customer_id)
67
+ end
68
+ end
69
+
70
+ # The device signals as reported by Chrome.
71
+ class DeviceSignals
72
+ include Google::Apis::Core::Hashable
73
+
74
+ # Value of the AllowScreenLock policy on the device. See https://
75
+ # chromeenterprise.google/policies/?policy=AllowScreenLock for more details.
76
+ # Corresponds to the JSON property `allowScreenLock`
77
+ # @return [Boolean]
78
+ attr_accessor :allow_screen_lock
79
+ alias_method :allow_screen_lock?, :allow_screen_lock
80
+
81
+ # Current version of the Chrome browser which generated this set of signals.
82
+ # Example value: "107.0.5286.0".
83
+ # Corresponds to the JSON property `browserVersion`
84
+ # @return [String]
85
+ attr_accessor :browser_version
86
+
87
+ # Whether Chrome's built-in DNS client is used. The OS DNS client is otherwise
88
+ # used. This value may be controlled by an enterprise policy: https://
89
+ # chromeenterprise.google/policies/#BuiltInDnsClientEnabled.
90
+ # Corresponds to the JSON property `builtInDnsClientEnabled`
91
+ # @return [Boolean]
92
+ attr_accessor :built_in_dns_client_enabled
93
+ alias_method :built_in_dns_client_enabled?, :built_in_dns_client_enabled
94
+
95
+ # Whether access to the Chrome Remote Desktop application is blocked via a
96
+ # policy.
97
+ # Corresponds to the JSON property `chromeRemoteDesktopAppBlocked`
98
+ # @return [Boolean]
99
+ attr_accessor :chrome_remote_desktop_app_blocked
100
+ alias_method :chrome_remote_desktop_app_blocked?, :chrome_remote_desktop_app_blocked
101
+
102
+ # Properties of the CrowdStrike agent installed on a device.
103
+ # Corresponds to the JSON property `crowdStrikeAgent`
104
+ # @return [Google::Apis::VerifiedaccessV2::CrowdStrikeAgent]
105
+ attr_accessor :crowd_strike_agent
106
+
107
+ # Affiliation IDs of the organizations that are affiliated with the organization
108
+ # that is currently managing the device. When the sets of device and profile
109
+ # affiliation IDs overlap, it means that the organizations managing the device
110
+ # and user are affiliated. To learn more about user affiliation, visit https://
111
+ # support.google.com/chrome/a/answer/12801245?ref_topic=9027936.
112
+ # Corresponds to the JSON property `deviceAffiliationIds`
113
+ # @return [Array<String>]
114
+ attr_accessor :device_affiliation_ids
115
+
116
+ # Enrollment domain of the customer which is currently managing the device.
117
+ # Corresponds to the JSON property `deviceEnrollmentDomain`
118
+ # @return [String]
119
+ attr_accessor :device_enrollment_domain
120
+
121
+ # The name of the device's manufacturer.
122
+ # Corresponds to the JSON property `deviceManufacturer`
123
+ # @return [String]
124
+ attr_accessor :device_manufacturer
125
+
126
+ # The name of the device's model.
127
+ # Corresponds to the JSON property `deviceModel`
128
+ # @return [String]
129
+ attr_accessor :device_model
130
+
131
+ # The encryption state of the disk. On ChromeOS, the main disk is always
132
+ # ENCRYPTED.
133
+ # Corresponds to the JSON property `diskEncryption`
134
+ # @return [String]
135
+ attr_accessor :disk_encryption
136
+
137
+ # The display name of the device, as defined by the user.
138
+ # Corresponds to the JSON property `displayName`
139
+ # @return [String]
140
+ attr_accessor :display_name
141
+
142
+ # Hostname of the device.
143
+ # Corresponds to the JSON property `hostname`
144
+ # @return [String]
145
+ attr_accessor :hostname
146
+
147
+ # International Mobile Equipment Identity (IMEI) of the device.
148
+ # Corresponds to the JSON property `imei`
149
+ # @return [Array<String>]
150
+ attr_accessor :imei
151
+
152
+ # MAC addresses of the device.
153
+ # Corresponds to the JSON property `macAddresses`
154
+ # @return [Array<String>]
155
+ attr_accessor :mac_addresses
156
+
157
+ # Mobile Equipment Identifier (MEID) of the device.
158
+ # Corresponds to the JSON property `meid`
159
+ # @return [Array<String>]
160
+ attr_accessor :meid
161
+
162
+ # The type of the Operating System currently running on the device.
163
+ # Corresponds to the JSON property `operatingSystem`
164
+ # @return [String]
165
+ attr_accessor :operating_system
166
+
167
+ # The state of the OS level firewall. On ChromeOS, the value will always be
168
+ # ENABLED on regular devices and UNKNOWN on devices in developer mode.
169
+ # Corresponds to the JSON property `osFirewall`
170
+ # @return [String]
171
+ attr_accessor :os_firewall
172
+
173
+ # The current version of the Operating System. On Windows and linux, the value
174
+ # will also include the security patch information.
175
+ # Corresponds to the JSON property `osVersion`
176
+ # @return [String]
177
+ attr_accessor :os_version
178
+
179
+ # Whether the Password Protection Warning feature is enabled or not. Password
180
+ # protection alerts users when they reuse their protected password on
181
+ # potentially suspicious sites. This setting is controlled by an enterprise
182
+ # policy: https://chromeenterprise.google/policies/#
183
+ # PasswordProtectionWarningTrigger. Note that the policy unset does not have the
184
+ # same effects as having the policy explicitly set to `PASSWORD_PROTECTION_OFF`.
185
+ # Corresponds to the JSON property `passwordProtectionWarningTrigger`
186
+ # @return [String]
187
+ attr_accessor :password_protection_warning_trigger
188
+
189
+ # Affiliation IDs of the organizations that are affiliated with the organization
190
+ # that is currently managing the Chrome Profile’s user or ChromeOS user.
191
+ # Corresponds to the JSON property `profileAffiliationIds`
192
+ # @return [Array<String>]
193
+ attr_accessor :profile_affiliation_ids
194
+
195
+ # Whether Enterprise-grade (i.e. custom) unsafe URL scanning is enabled or not.
196
+ # This setting may be controlled by an enterprise policy: https://
197
+ # chromeenterprise.google/policies/#EnterpriseRealTimeUrlCheckMode
198
+ # Corresponds to the JSON property `realtimeUrlCheckMode`
199
+ # @return [String]
200
+ attr_accessor :realtime_url_check_mode
201
+
202
+ # Safe Browsing Protection Level. That setting may be controlled by an
203
+ # enterprise policy: https://chromeenterprise.google/policies/#
204
+ # SafeBrowsingProtectionLevel.
205
+ # Corresponds to the JSON property `safeBrowsingProtectionLevel`
206
+ # @return [String]
207
+ attr_accessor :safe_browsing_protection_level
208
+
209
+ # The state of the Screen Lock password protection. On ChromeOS, this value will
210
+ # always be ENABLED as there is not way to disable requiring a password or pin
211
+ # when unlocking the device.
212
+ # Corresponds to the JSON property `screenLockSecured`
213
+ # @return [String]
214
+ attr_accessor :screen_lock_secured
215
+
216
+ # Whether the device's startup software has its Secure Boot feature enabled.
217
+ # Corresponds to the JSON property `secureBootMode`
218
+ # @return [String]
219
+ attr_accessor :secure_boot_mode
220
+
221
+ # The serial number of the device. On Windows, this represents the BIOS's serial
222
+ # number.
223
+ # Corresponds to the JSON property `serialNumber`
224
+ # @return [String]
225
+ attr_accessor :serial_number
226
+
227
+ # Whether the Site Isolation (a.k.a Site Per Process) setting is enabled. That
228
+ # setting may be controlled by an enterprise policy: https://chromeenterprise.
229
+ # google/policies/#SitePerProcess
230
+ # Corresponds to the JSON property `siteIsolationEnabled`
231
+ # @return [Boolean]
232
+ attr_accessor :site_isolation_enabled
233
+ alias_method :site_isolation_enabled?, :site_isolation_enabled
234
+
235
+ # List of the addesses of all OS level DNS servers configured in the device's
236
+ # network settings.
237
+ # Corresponds to the JSON property `systemDnsServers`
238
+ # @return [Array<String>]
239
+ attr_accessor :system_dns_servers
240
+
241
+ # Whether Chrome is blocking third-party software injection or not. This setting
242
+ # may be controlled by an enterprise policy: https://chromeenterprise.google/
243
+ # policies/?policy=ThirdPartyBlockingEnabled
244
+ # Corresponds to the JSON property `thirdPartyBlockingEnabled`
245
+ # @return [Boolean]
246
+ attr_accessor :third_party_blocking_enabled
247
+ alias_method :third_party_blocking_enabled?, :third_party_blocking_enabled
248
+
249
+ # Windows domain that the current machine has joined.
250
+ # Corresponds to the JSON property `windowsMachineDomain`
251
+ # @return [String]
252
+ attr_accessor :windows_machine_domain
253
+
254
+ # Windows domain for the current OS user.
255
+ # Corresponds to the JSON property `windowsUserDomain`
256
+ # @return [String]
257
+ attr_accessor :windows_user_domain
258
+
259
+ def initialize(**args)
260
+ update!(**args)
261
+ end
262
+
263
+ # Update properties of this object
264
+ def update!(**args)
265
+ @allow_screen_lock = args[:allow_screen_lock] if args.key?(:allow_screen_lock)
266
+ @browser_version = args[:browser_version] if args.key?(:browser_version)
267
+ @built_in_dns_client_enabled = args[:built_in_dns_client_enabled] if args.key?(:built_in_dns_client_enabled)
268
+ @chrome_remote_desktop_app_blocked = args[:chrome_remote_desktop_app_blocked] if args.key?(:chrome_remote_desktop_app_blocked)
269
+ @crowd_strike_agent = args[:crowd_strike_agent] if args.key?(:crowd_strike_agent)
270
+ @device_affiliation_ids = args[:device_affiliation_ids] if args.key?(:device_affiliation_ids)
271
+ @device_enrollment_domain = args[:device_enrollment_domain] if args.key?(:device_enrollment_domain)
272
+ @device_manufacturer = args[:device_manufacturer] if args.key?(:device_manufacturer)
273
+ @device_model = args[:device_model] if args.key?(:device_model)
274
+ @disk_encryption = args[:disk_encryption] if args.key?(:disk_encryption)
275
+ @display_name = args[:display_name] if args.key?(:display_name)
276
+ @hostname = args[:hostname] if args.key?(:hostname)
277
+ @imei = args[:imei] if args.key?(:imei)
278
+ @mac_addresses = args[:mac_addresses] if args.key?(:mac_addresses)
279
+ @meid = args[:meid] if args.key?(:meid)
280
+ @operating_system = args[:operating_system] if args.key?(:operating_system)
281
+ @os_firewall = args[:os_firewall] if args.key?(:os_firewall)
282
+ @os_version = args[:os_version] if args.key?(:os_version)
283
+ @password_protection_warning_trigger = args[:password_protection_warning_trigger] if args.key?(:password_protection_warning_trigger)
284
+ @profile_affiliation_ids = args[:profile_affiliation_ids] if args.key?(:profile_affiliation_ids)
285
+ @realtime_url_check_mode = args[:realtime_url_check_mode] if args.key?(:realtime_url_check_mode)
286
+ @safe_browsing_protection_level = args[:safe_browsing_protection_level] if args.key?(:safe_browsing_protection_level)
287
+ @screen_lock_secured = args[:screen_lock_secured] if args.key?(:screen_lock_secured)
288
+ @secure_boot_mode = args[:secure_boot_mode] if args.key?(:secure_boot_mode)
289
+ @serial_number = args[:serial_number] if args.key?(:serial_number)
290
+ @site_isolation_enabled = args[:site_isolation_enabled] if args.key?(:site_isolation_enabled)
291
+ @system_dns_servers = args[:system_dns_servers] if args.key?(:system_dns_servers)
292
+ @third_party_blocking_enabled = args[:third_party_blocking_enabled] if args.key?(:third_party_blocking_enabled)
293
+ @windows_machine_domain = args[:windows_machine_domain] if args.key?(:windows_machine_domain)
294
+ @windows_user_domain = args[:windows_user_domain] if args.key?(:windows_user_domain)
295
+ end
296
+ end
297
+
53
298
  # A generic empty message that you can re-use to avoid defining duplicated empty
54
299
  # messages in your APIs. A typical example is to use it as the request or the
55
300
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -113,11 +358,17 @@ module Google
113
358
  # @return [String]
114
359
  attr_accessor :device_permanent_id
115
360
 
116
- # Device signal in json string representation.
361
+ # Deprecated. Device signal in json string representation. Prefer using `
362
+ # device_signals` instead.
117
363
  # Corresponds to the JSON property `deviceSignal`
118
364
  # @return [String]
119
365
  attr_accessor :device_signal
120
366
 
367
+ # The device signals as reported by Chrome.
368
+ # Corresponds to the JSON property `deviceSignals`
369
+ # @return [Google::Apis::VerifiedaccessV2::DeviceSignals]
370
+ attr_accessor :device_signals
371
+
121
372
  # Device attested key trust level.
122
373
  # Corresponds to the JSON property `keyTrustLevel`
123
374
  # @return [String]
@@ -146,6 +397,7 @@ module Google
146
397
  @customer_id = args[:customer_id] if args.key?(:customer_id)
147
398
  @device_permanent_id = args[:device_permanent_id] if args.key?(:device_permanent_id)
148
399
  @device_signal = args[:device_signal] if args.key?(:device_signal)
400
+ @device_signals = args[:device_signals] if args.key?(:device_signals)
149
401
  @key_trust_level = args[:key_trust_level] if args.key?(:key_trust_level)
150
402
  @signed_public_key_and_challenge = args[:signed_public_key_and_challenge] if args.key?(:signed_public_key_and_challenge)
151
403
  @virtual_device_id = args[:virtual_device_id] if args.key?(:virtual_device_id)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module VerifiedaccessV2
18
18
  # Version of the google-apis-verifiedaccess_v2 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221004"
25
+ REVISION = "20230425"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,18 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class CrowdStrikeAgent
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class DeviceSignals
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
31
43
  class Empty
32
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
45
 
@@ -49,11 +61,55 @@ module Google
49
61
  class Challenge
50
62
  # @private
51
63
  class Representation < Google::Apis::Core::JsonRepresentation
52
- property :alternative_challenge, :base64 => true, as: 'alternativeChallenge'
53
64
  property :challenge, :base64 => true, as: 'challenge'
54
65
  end
55
66
  end
56
67
 
68
+ class CrowdStrikeAgent
69
+ # @private
70
+ class Representation < Google::Apis::Core::JsonRepresentation
71
+ property :agent_id, as: 'agentId'
72
+ property :customer_id, as: 'customerId'
73
+ end
74
+ end
75
+
76
+ class DeviceSignals
77
+ # @private
78
+ class Representation < Google::Apis::Core::JsonRepresentation
79
+ property :allow_screen_lock, as: 'allowScreenLock'
80
+ property :browser_version, as: 'browserVersion'
81
+ property :built_in_dns_client_enabled, as: 'builtInDnsClientEnabled'
82
+ property :chrome_remote_desktop_app_blocked, as: 'chromeRemoteDesktopAppBlocked'
83
+ property :crowd_strike_agent, as: 'crowdStrikeAgent', class: Google::Apis::VerifiedaccessV2::CrowdStrikeAgent, decorator: Google::Apis::VerifiedaccessV2::CrowdStrikeAgent::Representation
84
+
85
+ collection :device_affiliation_ids, as: 'deviceAffiliationIds'
86
+ property :device_enrollment_domain, as: 'deviceEnrollmentDomain'
87
+ property :device_manufacturer, as: 'deviceManufacturer'
88
+ property :device_model, as: 'deviceModel'
89
+ property :disk_encryption, as: 'diskEncryption'
90
+ property :display_name, as: 'displayName'
91
+ property :hostname, as: 'hostname'
92
+ collection :imei, as: 'imei'
93
+ collection :mac_addresses, as: 'macAddresses'
94
+ collection :meid, as: 'meid'
95
+ property :operating_system, as: 'operatingSystem'
96
+ property :os_firewall, as: 'osFirewall'
97
+ property :os_version, as: 'osVersion'
98
+ property :password_protection_warning_trigger, as: 'passwordProtectionWarningTrigger'
99
+ collection :profile_affiliation_ids, as: 'profileAffiliationIds'
100
+ property :realtime_url_check_mode, as: 'realtimeUrlCheckMode'
101
+ property :safe_browsing_protection_level, as: 'safeBrowsingProtectionLevel'
102
+ property :screen_lock_secured, as: 'screenLockSecured'
103
+ property :secure_boot_mode, as: 'secureBootMode'
104
+ property :serial_number, as: 'serialNumber'
105
+ property :site_isolation_enabled, as: 'siteIsolationEnabled'
106
+ collection :system_dns_servers, as: 'systemDnsServers'
107
+ property :third_party_blocking_enabled, as: 'thirdPartyBlockingEnabled'
108
+ property :windows_machine_domain, as: 'windowsMachineDomain'
109
+ property :windows_user_domain, as: 'windowsUserDomain'
110
+ end
111
+ end
112
+
57
113
  class Empty
58
114
  # @private
59
115
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -74,6 +130,8 @@ module Google
74
130
  property :customer_id, as: 'customerId'
75
131
  property :device_permanent_id, as: 'devicePermanentId'
76
132
  property :device_signal, as: 'deviceSignal'
133
+ property :device_signals, as: 'deviceSignals', class: Google::Apis::VerifiedaccessV2::DeviceSignals, decorator: Google::Apis::VerifiedaccessV2::DeviceSignals::Representation
134
+
77
135
  property :key_trust_level, as: 'keyTrustLevel'
78
136
  property :signed_public_key_and_challenge, as: 'signedPublicKeyAndChallenge'
79
137
  property :virtual_device_id, as: 'virtualDeviceId'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-verifiedaccess_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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-02-19 00:00:00.000000000 Z
11
+ date: 2023-05-14 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-verifiedaccess_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-verifiedaccess_v2/v0.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-verifiedaccess_v2/v0.9.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-verifiedaccess_v2
63
63
  post_install_message:
64
64
  rdoc_options: []