google-api-client 0.19.6 → 0.19.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +3 -3
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +3 -3
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +7 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +139 -142
- data/generated/google/apis/androidmanagement_v1/service.rb +24 -23
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +29 -3
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +6 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/service.rb +5 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +6 -6
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +133 -0
- data/generated/google/apis/iam_v1/representations.rb +32 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +3 -2
- data/generated/google/apis/monitoring_v3/service.rb +5 -5
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +50 -4
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +127 -67
- data/generated/google/apis/servicemanagement_v1/representations.rb +31 -19
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +4 -2
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +2 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +118 -0
- data/generated/google/apis/testing_v1/representations.rb +61 -0
- data/generated/google/apis/testing_v1/service.rb +30 -0
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/service.rb +4 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +57 -0
- data/generated/google/apis/youtube_v3/representations.rb +31 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9178bd061b0da8aab83f514ff2368b0b0eb7e2b
|
4
|
+
data.tar.gz: f78e42f57e0d9d9913cbf1937f0af5d6e29c7cb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c897b30e4e53009ac6200a8c4d13c727a0afa74537ef9fdb71cdd17b62da1571066145c05a5e6c82b576892af408af0d26f3dfe6bc1f34cf6aae9fbf4c52e72
|
7
|
+
data.tar.gz: f76e611e2c97dce0da7b4b84afd839e0c3bb8c83a464ee2ba72923b79cf87179519410cf598e48bfad3ce3ea99c857be118e46a4f6dfdde1e3d770a894868c41
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,29 @@
|
|
1
|
+
# 0.19.7
|
2
|
+
* Backwards compatible changes:
|
3
|
+
* Updated `androiddeviceprovisioning_v1`
|
4
|
+
* Updated `androidenterprise_v1`
|
5
|
+
* Updated `androidmanagement_v1`
|
6
|
+
* Updated `bigquery_v2`
|
7
|
+
* Updated `bigquerydatatransfer_v1`
|
8
|
+
* Updated `cloudbuild_v1`
|
9
|
+
* Updated `cloudiot_v1`
|
10
|
+
* Updated `cloudkms_v1`
|
11
|
+
* Updated `dataproc_v1`
|
12
|
+
* Updated `dialogflow_v2beta1`
|
13
|
+
* Updated `genomics_v1`
|
14
|
+
* Updated `genomics_v1alpha2`
|
15
|
+
* Updated `iam_v1`
|
16
|
+
* Updated `manufacturers_v1`
|
17
|
+
* Updated `monitoring_v3`
|
18
|
+
* Updated `serviceconsumermanagement_v1`
|
19
|
+
* Updated `servicemanagement_v1`
|
20
|
+
* Updated `serviceuser_v1`
|
21
|
+
* Updated `slides_v1`
|
22
|
+
* Updated `testing_v1`
|
23
|
+
* Updated `webmasters_v3`
|
24
|
+
* Updated `youtube_partner_v1`
|
25
|
+
* Updated `youtube_v3`
|
26
|
+
|
1
27
|
# 0.19.6
|
2
28
|
* Backwards compatible changes:
|
3
29
|
* Updated `adexchangebuyer2_v2beta1`
|
@@ -20,13 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Android Device Provisioning Partner API
|
22
22
|
#
|
23
|
-
# Automates
|
24
|
-
#
|
23
|
+
# Automates Android zero-touch enrollment for device resellers, customers, and
|
24
|
+
# EMMs.
|
25
25
|
#
|
26
26
|
# @see https://developers.google.com/zero-touch/
|
27
27
|
module AndroiddeviceprovisioningV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180203'
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -22,8 +22,8 @@ module Google
|
|
22
22
|
module AndroiddeviceprovisioningV1
|
23
23
|
# Android Device Provisioning Partner API
|
24
24
|
#
|
25
|
-
# Automates
|
26
|
-
#
|
25
|
+
# Automates Android zero-touch enrollment for device resellers, customers, and
|
26
|
+
# EMMs.
|
27
27
|
#
|
28
28
|
# @example
|
29
29
|
# require 'google/apis/androiddeviceprovisioning_v1'
|
@@ -51,7 +51,7 @@ module Google
|
|
51
51
|
# Lists the user's customer accounts.
|
52
52
|
# @param [Fixnum] page_size
|
53
53
|
# The maximum number of customers to show in a page of results.
|
54
|
-
# A number between 1 and
|
54
|
+
# A number between 1 and 100 (inclusive).
|
55
55
|
# @param [String] page_token
|
56
56
|
# A token specifying which result page to return.
|
57
57
|
# @param [String] fields
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android/work/play/emm-api
|
26
26
|
module AndroidenterpriseV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180131'
|
29
29
|
|
30
30
|
# Manage corporate Android devices
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
@@ -1175,6 +1175,12 @@ module Google
|
|
1175
1175
|
# @return [String]
|
1176
1176
|
attr_accessor :kind
|
1177
1177
|
|
1178
|
+
# The last updated time of the managed configuration settings in milliseconds
|
1179
|
+
# since 1970-01-01T00:00:00Z.
|
1180
|
+
# Corresponds to the JSON property `lastUpdatedTimestampMillis`
|
1181
|
+
# @return [Fixnum]
|
1182
|
+
attr_accessor :last_updated_timestamp_millis
|
1183
|
+
|
1178
1184
|
# The set of managed properties for this configuration.
|
1179
1185
|
# Corresponds to the JSON property `managedProperty`
|
1180
1186
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedProperty>]
|
@@ -1197,6 +1203,7 @@ module Google
|
|
1197
1203
|
# Update properties of this object
|
1198
1204
|
def update!(**args)
|
1199
1205
|
@kind = args[:kind] if args.key?(:kind)
|
1206
|
+
@last_updated_timestamp_millis = args[:last_updated_timestamp_millis] if args.key?(:last_updated_timestamp_millis)
|
1200
1207
|
@managed_property = args[:managed_property] if args.key?(:managed_property)
|
1201
1208
|
@mcm_id = args[:mcm_id] if args.key?(:mcm_id)
|
1202
1209
|
@name = args[:name] if args.key?(:name)
|
@@ -739,6 +739,7 @@ module Google
|
|
739
739
|
# @private
|
740
740
|
class Representation < Google::Apis::Core::JsonRepresentation
|
741
741
|
property :kind, as: 'kind'
|
742
|
+
property :last_updated_timestamp_millis, :numeric_string => true, as: 'lastUpdatedTimestampMillis'
|
742
743
|
collection :managed_property, as: 'managedProperty', class: Google::Apis::AndroidenterpriseV1::ManagedProperty, decorator: Google::Apis::AndroidenterpriseV1::ManagedProperty::Representation
|
743
744
|
|
744
745
|
property :mcm_id, as: 'mcmId'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/android/management
|
27
27
|
module AndroidmanagementV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180129'
|
30
30
|
|
31
31
|
# Manage Android devices and apps for your customers
|
32
32
|
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
@@ -49,12 +49,12 @@ module Google
|
|
49
49
|
end
|
50
50
|
|
51
51
|
# A compliance rule condition which is satisfied if the Android Framework API
|
52
|
-
# level on the device
|
52
|
+
# level on the device doesn't meet a minimum requirement. There can only be one
|
53
53
|
# rule with this type of condition per policy.
|
54
54
|
class ApiLevelCondition
|
55
55
|
include Google::Apis::Core::Hashable
|
56
56
|
|
57
|
-
# The minimum desired Android Framework API level. If the device
|
57
|
+
# The minimum desired Android Framework API level. If the device doesn't meet
|
58
58
|
# the minimum requirement, this condition is satisfied. Must be greater than
|
59
59
|
# zero.
|
60
60
|
# Corresponds to the JSON property `minApiLevel`
|
@@ -71,18 +71,17 @@ module Google
|
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
-
#
|
74
|
+
# Information about an app.
|
75
75
|
class Application
|
76
76
|
include Google::Apis::Core::Hashable
|
77
77
|
|
78
|
-
# The set of managed properties available to be pre-configured for the
|
79
|
-
# application.
|
78
|
+
# The set of managed properties available to be pre-configured for the app.
|
80
79
|
# Corresponds to the JSON property `managedProperties`
|
81
80
|
# @return [Array<Google::Apis::AndroidmanagementV1::ManagedProperty>]
|
82
81
|
attr_accessor :managed_properties
|
83
82
|
|
84
|
-
# The name of the
|
85
|
-
#
|
83
|
+
# The name of the app in the form enterprises/`enterpriseId`/applications/`
|
84
|
+
# package_name`.
|
86
85
|
# Corresponds to the JSON property `name`
|
87
86
|
# @return [String]
|
88
87
|
attr_accessor :name
|
@@ -92,7 +91,7 @@ module Google
|
|
92
91
|
# @return [Array<Google::Apis::AndroidmanagementV1::ApplicationPermission>]
|
93
92
|
attr_accessor :permissions
|
94
93
|
|
95
|
-
# The title of the
|
94
|
+
# The title of the app. Localized.
|
96
95
|
# Corresponds to the JSON property `title`
|
97
96
|
# @return [String]
|
98
97
|
attr_accessor :title
|
@@ -110,12 +109,12 @@ module Google
|
|
110
109
|
end
|
111
110
|
end
|
112
111
|
|
113
|
-
#
|
112
|
+
# A permission required by the app.
|
114
113
|
class ApplicationPermission
|
115
114
|
include Google::Apis::Core::Hashable
|
116
115
|
|
117
|
-
# A longer description of the permission,
|
118
|
-
# Localized.
|
116
|
+
# A longer description of the permission, providing more detail on what it
|
117
|
+
# affects. Localized.
|
119
118
|
# Corresponds to the JSON property `description`
|
120
119
|
# @return [String]
|
121
120
|
attr_accessor :description
|
@@ -158,7 +157,7 @@ module Google
|
|
158
157
|
# @return [String]
|
159
158
|
attr_accessor :install_type
|
160
159
|
|
161
|
-
# Whether the
|
160
|
+
# Whether the app is allowed to lock itself in full-screen mode.
|
162
161
|
# Corresponds to the JSON property `lockTaskAllowed`
|
163
162
|
# @return [Boolean]
|
164
163
|
attr_accessor :lock_task_allowed
|
@@ -178,8 +177,8 @@ module Google
|
|
178
177
|
# @return [Hash<String,Object>]
|
179
178
|
attr_accessor :managed_configuration
|
180
179
|
|
181
|
-
# The package name of the app,
|
182
|
-
# app.
|
180
|
+
# The package name of the app. For example, com.google.android.youtube for the
|
181
|
+
# YouTube app.
|
183
182
|
# Corresponds to the JSON property `packageName`
|
184
183
|
# @return [String]
|
185
184
|
attr_accessor :package_name
|
@@ -261,16 +260,16 @@ module Google
|
|
261
260
|
include Google::Apis::Core::Hashable
|
262
261
|
|
263
262
|
# A compliance rule condition which is satisfied if the Android Framework API
|
264
|
-
# level on the device
|
263
|
+
# level on the device doesn't meet a minimum requirement. There can only be one
|
265
264
|
# rule with this type of condition per policy.
|
266
265
|
# Corresponds to the JSON property `apiLevelCondition`
|
267
266
|
# @return [Google::Apis::AndroidmanagementV1::ApiLevelCondition]
|
268
267
|
attr_accessor :api_level_condition
|
269
268
|
|
270
|
-
# If set to true, the rule includes a mitigating action to disable
|
271
|
-
#
|
272
|
-
#
|
273
|
-
#
|
269
|
+
# If set to true, the rule includes a mitigating action to disable apps so that
|
270
|
+
# the device is effectively disabled, but app data is preserved. If the device
|
271
|
+
# is running an app in locked task mode, the app will be closed and a UI showing
|
272
|
+
# the reason for non-compliance will be displayed.
|
274
273
|
# Corresponds to the JSON property `disableApps`
|
275
274
|
# @return [Boolean]
|
276
275
|
attr_accessor :disable_apps
|
@@ -298,7 +297,7 @@ module Google
|
|
298
297
|
end
|
299
298
|
|
300
299
|
# A device owned by an enterprise. Unless otherwise noted, all fields are read-
|
301
|
-
# only and
|
300
|
+
# only and can't be modified by enterprises.devices.patch.
|
302
301
|
class Device
|
303
302
|
include Google::Apis::Core::Hashable
|
304
303
|
|
@@ -307,17 +306,17 @@ module Google
|
|
307
306
|
# @return [Fixnum]
|
308
307
|
attr_accessor :api_level
|
309
308
|
|
310
|
-
# The name of the policy
|
309
|
+
# The name of the policy currently applied to the device.
|
311
310
|
# Corresponds to the JSON property `appliedPolicyName`
|
312
311
|
# @return [String]
|
313
312
|
attr_accessor :applied_policy_name
|
314
313
|
|
315
|
-
# The version of the policy
|
314
|
+
# The version of the policy currently applied to the device.
|
316
315
|
# Corresponds to the JSON property `appliedPolicyVersion`
|
317
316
|
# @return [Fixnum]
|
318
317
|
attr_accessor :applied_policy_version
|
319
318
|
|
320
|
-
# The state
|
319
|
+
# The state currently applied to the device.
|
321
320
|
# Corresponds to the JSON property `appliedState`
|
322
321
|
# @return [String]
|
323
322
|
attr_accessor :applied_state
|
@@ -327,14 +326,14 @@ module Google
|
|
327
326
|
# @return [Google::Apis::AndroidmanagementV1::DeviceSettings]
|
328
327
|
attr_accessor :device_settings
|
329
328
|
|
330
|
-
# Provides user
|
329
|
+
# Provides a user-facing message with locale info. The maximum message length is
|
331
330
|
# 4096 characters.
|
332
331
|
# Corresponds to the JSON property `disabledReason`
|
333
332
|
# @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
|
334
333
|
attr_accessor :disabled_reason
|
335
334
|
|
336
|
-
#
|
337
|
-
# displayInfoEnabled is true in the device's policy.
|
335
|
+
# Detailed information about displays on the device. This information is only
|
336
|
+
# available if displayInfoEnabled is true in the device's policy.
|
338
337
|
# Corresponds to the JSON property `displays`
|
339
338
|
# @return [Array<Google::Apis::AndroidmanagementV1::DisplayProp>]
|
340
339
|
attr_accessor :displays
|
@@ -344,27 +343,27 @@ module Google
|
|
344
343
|
# @return [String]
|
345
344
|
attr_accessor :enrollment_time
|
346
345
|
|
347
|
-
# If
|
346
|
+
# If the device was enrolled with an enrollment token with additional data
|
348
347
|
# provided, this field contains that data.
|
349
348
|
# Corresponds to the JSON property `enrollmentTokenData`
|
350
349
|
# @return [String]
|
351
350
|
attr_accessor :enrollment_token_data
|
352
351
|
|
353
|
-
# If
|
352
|
+
# If the device was enrolled with an enrollment token, this field contains the
|
354
353
|
# name of the token.
|
355
354
|
# Corresponds to the JSON property `enrollmentTokenName`
|
356
355
|
# @return [String]
|
357
356
|
attr_accessor :enrollment_token_name
|
358
357
|
|
359
358
|
# Information about device hardware. The fields related to temperature
|
360
|
-
# thresholds are only available
|
361
|
-
#
|
359
|
+
# thresholds are only available if hardwareStatusEnabled is true in the device's
|
360
|
+
# policy.
|
362
361
|
# Corresponds to the JSON property `hardwareInfo`
|
363
362
|
# @return [Google::Apis::AndroidmanagementV1::HardwareInfo]
|
364
363
|
attr_accessor :hardware_info
|
365
364
|
|
366
365
|
# Hardware status samples in chronological order. This information is only
|
367
|
-
# available
|
366
|
+
# available if hardwareStatusEnabled is true in the device's policy.
|
368
367
|
# Corresponds to the JSON property `hardwareStatusSamples`
|
369
368
|
# @return [Array<Google::Apis::AndroidmanagementV1::HardwareStatus>]
|
370
369
|
attr_accessor :hardware_status_samples
|
@@ -385,7 +384,7 @@ module Google
|
|
385
384
|
attr_accessor :last_status_report_time
|
386
385
|
|
387
386
|
# Events related to memory and storage measurements in chronological order. This
|
388
|
-
# information is only available
|
387
|
+
# information is only available if memoryInfoEnabled is true in the device's
|
389
388
|
# policy.
|
390
389
|
# Corresponds to the JSON property `memoryEvents`
|
391
390
|
# @return [Array<Google::Apis::AndroidmanagementV1::MemoryEvent>]
|
@@ -397,7 +396,7 @@ module Google
|
|
397
396
|
attr_accessor :memory_info
|
398
397
|
|
399
398
|
# The name of the device in the form enterprises/`enterpriseId`/devices/`
|
400
|
-
# deviceId
|
399
|
+
# deviceId`.
|
401
400
|
# Corresponds to the JSON property `name`
|
402
401
|
# @return [String]
|
403
402
|
attr_accessor :name
|
@@ -407,7 +406,7 @@ module Google
|
|
407
406
|
# @return [Google::Apis::AndroidmanagementV1::NetworkInfo]
|
408
407
|
attr_accessor :network_info
|
409
408
|
|
410
|
-
# Details about policy settings
|
409
|
+
# Details about policy settings that the device is not compliant with.
|
411
410
|
# Corresponds to the JSON property `nonComplianceDetails`
|
412
411
|
# @return [Array<Google::Apis::AndroidmanagementV1::NonComplianceDetail>]
|
413
412
|
attr_accessor :non_compliance_details
|
@@ -418,27 +417,27 @@ module Google
|
|
418
417
|
attr_accessor :policy_compliant
|
419
418
|
alias_method :policy_compliant?, :policy_compliant
|
420
419
|
|
421
|
-
# The name of the policy
|
422
|
-
# the policy_name for the
|
423
|
-
#
|
424
|
-
#
|
425
|
-
#
|
426
|
-
#
|
420
|
+
# The name of the policy applied to the device, in the form enterprises/`
|
421
|
+
# enterpriseId`/policies/`policyId`. If not specified, the policy_name for the
|
422
|
+
# device's user is applied. This field can be modified by a patch request. You
|
423
|
+
# can specify only the policyId when calling enterprises.devices.patch, as long
|
424
|
+
# as the policyId doesn’t contain any slashes. The rest of the policy name is
|
425
|
+
# inferred.
|
427
426
|
# Corresponds to the JSON property `policyName`
|
428
427
|
# @return [String]
|
429
428
|
attr_accessor :policy_name
|
430
429
|
|
431
430
|
# Power management events on the device in chronological order. This information
|
432
|
-
# is only available
|
431
|
+
# is only available if powerManagementEventsEnabled is true in the device's
|
433
432
|
# policy.
|
434
433
|
# Corresponds to the JSON property `powerManagementEvents`
|
435
434
|
# @return [Array<Google::Apis::AndroidmanagementV1::PowerManagementEvent>]
|
436
435
|
attr_accessor :power_management_events
|
437
436
|
|
438
|
-
#
|
439
|
-
#
|
440
|
-
# determine if the same physical device has enrolled previously.
|
441
|
-
# in chronological order.
|
437
|
+
# If the same physical device has been enrolled multiple times, this field
|
438
|
+
# contains its previous device names. The serial number is used as the unique
|
439
|
+
# identifier to determine if the same physical device has enrolled previously.
|
440
|
+
# The names are in chronological order.
|
442
441
|
# Corresponds to the JSON property `previousDeviceNames`
|
443
442
|
# @return [Array<String>]
|
444
443
|
attr_accessor :previous_device_names
|
@@ -448,10 +447,10 @@ module Google
|
|
448
447
|
# @return [Google::Apis::AndroidmanagementV1::SoftwareInfo]
|
449
448
|
attr_accessor :software_info
|
450
449
|
|
451
|
-
# The state
|
452
|
-
#
|
453
|
-
#
|
454
|
-
#
|
450
|
+
# The state to be applied to the device. This field can be modified by a patch
|
451
|
+
# request. Note that when calling enterprises.devices.patch, ACTIVE and DISABLED
|
452
|
+
# are the only allowable values. To enter the device into a DELETED state, call
|
453
|
+
# enterprises.devices.delete.
|
455
454
|
# Corresponds to the JSON property `state`
|
456
455
|
# @return [String]
|
457
456
|
attr_accessor :state
|
@@ -634,16 +633,16 @@ module Google
|
|
634
633
|
include Google::Apis::Core::Hashable
|
635
634
|
|
636
635
|
# Optional, arbitrary data associated with the enrollment token. This could
|
637
|
-
# contain, for example, the
|
638
|
-
#
|
639
|
-
#
|
640
|
-
#
|
636
|
+
# contain, for example, the ID of an org unit the device is assigned to after
|
637
|
+
# enrollment. After a device enrolls with the token, this data will be exposed
|
638
|
+
# in the enrollment_token_data field of the Device resource. The data must be
|
639
|
+
# 1024 characters or less; otherwise, the creation request will fail.
|
641
640
|
# Corresponds to the JSON property `additionalData`
|
642
641
|
# @return [String]
|
643
642
|
attr_accessor :additional_data
|
644
643
|
|
645
|
-
# The
|
646
|
-
#
|
644
|
+
# The length of time the enrollment token is valid, ranging from 1 minute to 30
|
645
|
+
# days. If not specified, the default duration is 1 hour.
|
647
646
|
# Corresponds to the JSON property `duration`
|
648
647
|
# @return [String]
|
649
648
|
attr_accessor :duration
|
@@ -656,18 +655,18 @@ module Google
|
|
656
655
|
|
657
656
|
# The name of the enrollment token, which is generated by the server during
|
658
657
|
# creation, in the form enterprises/`enterpriseId`/enrollmentTokens/`
|
659
|
-
# enrollmentTokenId
|
658
|
+
# enrollmentTokenId`.
|
660
659
|
# Corresponds to the JSON property `name`
|
661
660
|
# @return [String]
|
662
661
|
attr_accessor :name
|
663
662
|
|
664
|
-
# The name of the policy
|
665
|
-
#
|
666
|
-
#
|
667
|
-
#
|
668
|
-
#
|
669
|
-
#
|
670
|
-
#
|
663
|
+
# The name of the policy initially applied to the enrolled device, in the form
|
664
|
+
# enterprises/`enterpriseId`/policies/`policyId`. If not specified, the
|
665
|
+
# policy_name for the device’s user is applied. If user_name is also not
|
666
|
+
# specified, enterprises/`enterpriseId`/policies/default is applied by default.
|
667
|
+
# When updating this field, you can specify only the policyId as long as the
|
668
|
+
# policyId doesn’t contain any slashes. The rest of the policy name will be
|
669
|
+
# inferred.
|
671
670
|
# Corresponds to the JSON property `policyName`
|
672
671
|
# @return [String]
|
673
672
|
attr_accessor :policy_name
|
@@ -680,7 +679,7 @@ module Google
|
|
680
679
|
# @return [String]
|
681
680
|
attr_accessor :qr_code
|
682
681
|
|
683
|
-
# The token value
|
682
|
+
# The token value that's passed to the device and authorizes the device to
|
684
683
|
# enroll. This is a read-only field generated by the server.
|
685
684
|
# Corresponds to the JSON property `value`
|
686
685
|
# @return [String]
|
@@ -706,21 +705,20 @@ module Google
|
|
706
705
|
class Enterprise
|
707
706
|
include Google::Apis::Core::Hashable
|
708
707
|
|
709
|
-
# Whether
|
710
|
-
#
|
711
|
-
#
|
712
|
-
# app to the enterprise admin before setting the app to be installed in a policy.
|
708
|
+
# Whether permissions for apps installed via policy are automatically approved.
|
709
|
+
# If enabled, you must display an app's permissions to the enterprise admin
|
710
|
+
# before setting the app to be installed in a policy.
|
713
711
|
# Corresponds to the JSON property `appAutoApprovalEnabled`
|
714
712
|
# @return [Boolean]
|
715
713
|
attr_accessor :app_auto_approval_enabled
|
716
714
|
alias_method :app_auto_approval_enabled?, :app_auto_approval_enabled
|
717
715
|
|
718
|
-
# The
|
716
|
+
# The types of Google Pub/Sub notifications enabled for the enterprise.
|
719
717
|
# Corresponds to the JSON property `enabledNotificationTypes`
|
720
718
|
# @return [Array<String>]
|
721
719
|
attr_accessor :enabled_notification_types
|
722
720
|
|
723
|
-
# The name of the enterprise
|
721
|
+
# The name of the enterprise displayed to users.
|
724
722
|
# Corresponds to the JSON property `enterpriseDisplayName`
|
725
723
|
# @return [String]
|
726
724
|
attr_accessor :enterprise_display_name
|
@@ -732,24 +730,22 @@ module Google
|
|
732
730
|
attr_accessor :logo
|
733
731
|
|
734
732
|
# The name of the enterprise which is generated by the server during creation,
|
735
|
-
# in the form enterprises/`enterpriseId
|
733
|
+
# in the form enterprises/`enterpriseId`.
|
736
734
|
# Corresponds to the JSON property `name`
|
737
735
|
# @return [String]
|
738
736
|
attr_accessor :name
|
739
737
|
|
740
|
-
# A color in RGB format
|
738
|
+
# A color in RGB format that indicates the predominant color to display in the
|
741
739
|
# device management app UI. The color components are stored as follows: (red <<
|
742
|
-
# 16) | (green << 8) | blue, where
|
743
|
-
# 255 inclusive.
|
740
|
+
# 16) | (green << 8) | blue, where the value of each component is between 0 and
|
741
|
+
# 255, inclusive.
|
744
742
|
# Corresponds to the JSON property `primaryColor`
|
745
743
|
# @return [Fixnum]
|
746
744
|
attr_accessor :primary_color
|
747
745
|
|
748
|
-
#
|
749
|
-
#
|
750
|
-
#
|
751
|
-
# publish permission on this topic to android-cloud-policy@system.
|
752
|
-
# gserviceaccount.com
|
746
|
+
# The topic that Cloud Pub/Sub notifications are published to, in the form
|
747
|
+
# projects/`project`/topics/`topic`. This field is only required if Pub/Sub
|
748
|
+
# notifications are enabled.
|
753
749
|
# Corresponds to the JSON property `pubsubTopic`
|
754
750
|
# @return [String]
|
755
751
|
attr_accessor :pubsub_topic
|
@@ -776,13 +772,13 @@ module Google
|
|
776
772
|
include Google::Apis::Core::Hashable
|
777
773
|
|
778
774
|
# The base-64 encoded SHA-256 hash of the content hosted at url. If the content
|
779
|
-
#
|
775
|
+
# doesn't match this hash, Android Device Policy won't use the data.
|
780
776
|
# Corresponds to the JSON property `sha256Hash`
|
781
777
|
# @return [String]
|
782
778
|
attr_accessor :sha256_hash
|
783
779
|
|
784
780
|
# The absolute URL to the data, which must use either the http or https scheme.
|
785
|
-
# Android Device Policy
|
781
|
+
# Android Device Policy doesn't provide any credentials in the GET request, so
|
786
782
|
# the URL must be publicly accessible. Including a long, random component in the
|
787
783
|
# URL may be used to prevent attackers from discovering the URL.
|
788
784
|
# Corresponds to the JSON property `url`
|
@@ -801,8 +797,8 @@ module Google
|
|
801
797
|
end
|
802
798
|
|
803
799
|
# Information about device hardware. The fields related to temperature
|
804
|
-
# thresholds are only available
|
805
|
-
#
|
800
|
+
# thresholds are only available if hardwareStatusEnabled is true in the device's
|
801
|
+
# policy.
|
806
802
|
class HardwareInfo
|
807
803
|
include Google::Apis::Core::Hashable
|
808
804
|
|
@@ -818,7 +814,7 @@ module Google
|
|
818
814
|
# @return [Array<Float>]
|
819
815
|
attr_accessor :battery_throttling_temperatures
|
820
816
|
|
821
|
-
# Brand of the device,
|
817
|
+
# Brand of the device. For example, Google.
|
822
818
|
# Corresponds to the JSON property `brand`
|
823
819
|
# @return [String]
|
824
820
|
attr_accessor :brand
|
@@ -833,7 +829,7 @@ module Google
|
|
833
829
|
# @return [Array<Float>]
|
834
830
|
attr_accessor :cpu_throttling_temperatures
|
835
831
|
|
836
|
-
# Baseband version,
|
832
|
+
# Baseband version. For example, MDM9625_104662.22.05.34p.
|
837
833
|
# Corresponds to the JSON property `deviceBasebandVersion`
|
838
834
|
# @return [String]
|
839
835
|
attr_accessor :device_baseband_version
|
@@ -848,17 +844,17 @@ module Google
|
|
848
844
|
# @return [Array<Float>]
|
849
845
|
attr_accessor :gpu_throttling_temperatures
|
850
846
|
|
851
|
-
# Name of the hardware,
|
847
|
+
# Name of the hardware. For example, Angler.
|
852
848
|
# Corresponds to the JSON property `hardware`
|
853
849
|
# @return [String]
|
854
850
|
attr_accessor :hardware
|
855
851
|
|
856
|
-
# Manufacturer,
|
852
|
+
# Manufacturer. For example, Motorola.
|
857
853
|
# Corresponds to the JSON property `manufacturer`
|
858
854
|
# @return [String]
|
859
855
|
attr_accessor :manufacturer
|
860
856
|
|
861
|
-
# The model of the device,
|
857
|
+
# The model of the device. For example, Asus Nexus 7.
|
862
858
|
# Corresponds to the JSON property `model`
|
863
859
|
# @return [String]
|
864
860
|
attr_accessor :model
|
@@ -1039,13 +1035,13 @@ module Google
|
|
1039
1035
|
class ManagedProperty
|
1040
1036
|
include Google::Apis::Core::Hashable
|
1041
1037
|
|
1042
|
-
# The default value of the
|
1038
|
+
# The default value of the property. BUNDLE_ARRAY properties don't have a
|
1043
1039
|
# default value.
|
1044
1040
|
# Corresponds to the JSON property `defaultValue`
|
1045
1041
|
# @return [Object]
|
1046
1042
|
attr_accessor :default_value
|
1047
1043
|
|
1048
|
-
# A longer description of the property,
|
1044
|
+
# A longer description of the property, providing more detail of what it affects.
|
1049
1045
|
# Localized.
|
1050
1046
|
# Corresponds to the JSON property `description`
|
1051
1047
|
# @return [String]
|
@@ -1056,8 +1052,8 @@ module Google
|
|
1056
1052
|
# @return [Array<Google::Apis::AndroidmanagementV1::ManagedPropertyEntry>]
|
1057
1053
|
attr_accessor :entries
|
1058
1054
|
|
1059
|
-
# The unique key that the
|
1060
|
-
#
|
1055
|
+
# The unique key that the app uses to identify the property, e.g. "com.google.
|
1056
|
+
# android.gm.fieldname".
|
1061
1057
|
# Corresponds to the JSON property `key`
|
1062
1058
|
# @return [String]
|
1063
1059
|
attr_accessor :key
|
@@ -1181,17 +1177,17 @@ module Google
|
|
1181
1177
|
class NetworkInfo
|
1182
1178
|
include Google::Apis::Core::Hashable
|
1183
1179
|
|
1184
|
-
# IMEI number of the GSM device,
|
1180
|
+
# IMEI number of the GSM device. For example, A1000031212.
|
1185
1181
|
# Corresponds to the JSON property `imei`
|
1186
1182
|
# @return [String]
|
1187
1183
|
attr_accessor :imei
|
1188
1184
|
|
1189
|
-
# MEID number of the CDMA device,
|
1185
|
+
# MEID number of the CDMA device. For example, A00000292788E1.
|
1190
1186
|
# Corresponds to the JSON property `meid`
|
1191
1187
|
# @return [String]
|
1192
1188
|
attr_accessor :meid
|
1193
1189
|
|
1194
|
-
#
|
1190
|
+
# Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11.
|
1195
1191
|
# Corresponds to the JSON property `wifiMacAddress`
|
1196
1192
|
# @return [String]
|
1197
1193
|
attr_accessor :wifi_mac_address
|
@@ -1231,7 +1227,7 @@ module Google
|
|
1231
1227
|
attr_accessor :field_path
|
1232
1228
|
|
1233
1229
|
# If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or
|
1234
|
-
# APP_NOT_UPDATED, the detailed reason the app
|
1230
|
+
# APP_NOT_UPDATED, the detailed reason the app can't be installed or updated.
|
1235
1231
|
# Corresponds to the JSON property `installationFailureReason`
|
1236
1232
|
# @return [String]
|
1237
1233
|
attr_accessor :installation_failure_reason
|
@@ -1241,8 +1237,7 @@ module Google
|
|
1241
1237
|
# @return [String]
|
1242
1238
|
attr_accessor :non_compliance_reason
|
1243
1239
|
|
1244
|
-
# The package name indicating which
|
1245
|
-
# applicable.
|
1240
|
+
# The package name indicating which app is out of compliance, if applicable.
|
1246
1241
|
# Corresponds to the JSON property `packageName`
|
1247
1242
|
# @return [String]
|
1248
1243
|
attr_accessor :package_name
|
@@ -1282,8 +1277,8 @@ module Google
|
|
1282
1277
|
# @return [String]
|
1283
1278
|
attr_accessor :non_compliance_reason
|
1284
1279
|
|
1285
|
-
# The package name
|
1286
|
-
#
|
1280
|
+
# The package name of the app that's out of compliance. If not set, then this
|
1281
|
+
# condition matches any package name.
|
1287
1282
|
# Corresponds to the JSON property `packageName`
|
1288
1283
|
# @return [String]
|
1289
1284
|
attr_accessor :package_name
|
@@ -1419,8 +1414,8 @@ module Google
|
|
1419
1414
|
class PasswordRequirements
|
1420
1415
|
include Google::Apis::Core::Hashable
|
1421
1416
|
|
1422
|
-
#
|
1423
|
-
#
|
1417
|
+
# Number of incorrect device-unlock passwords that can be entered before a
|
1418
|
+
# device is wiped. A value of 0 means there is no restriction.
|
1424
1419
|
# Corresponds to the JSON property `maximumFailedPasswordsForWipe`
|
1425
1420
|
# @return [Fixnum]
|
1426
1421
|
attr_accessor :maximum_failed_passwords_for_wipe
|
@@ -1430,9 +1425,9 @@ module Google
|
|
1430
1425
|
# @return [String]
|
1431
1426
|
attr_accessor :password_expiration_timeout
|
1432
1427
|
|
1433
|
-
# The length of the password history. After setting this, the user
|
1434
|
-
# able to enter a new password that is the same as any password in the
|
1435
|
-
# A value of 0 means there is no restriction.
|
1428
|
+
# The length of the password history. After setting this field, the user won't
|
1429
|
+
# be able to enter a new password that is the same as any password in the
|
1430
|
+
# history. A value of 0 means there is no restriction.
|
1436
1431
|
# Corresponds to the JSON property `passwordHistoryLength`
|
1437
1432
|
# @return [Fixnum]
|
1438
1433
|
attr_accessor :password_history_length
|
@@ -1570,11 +1565,12 @@ module Google
|
|
1570
1565
|
end
|
1571
1566
|
end
|
1572
1567
|
|
1573
|
-
# A policy
|
1568
|
+
# A policy resources represents a group settings that govern the behavior of a
|
1569
|
+
# managed device and the apps installed on it.
|
1574
1570
|
class Policy
|
1575
1571
|
include Google::Apis::Core::Hashable
|
1576
1572
|
|
1577
|
-
# Account types that
|
1573
|
+
# Account types that can't be managed by the user.
|
1578
1574
|
# Corresponds to the JSON property `accountTypesWithManagementDisabled`
|
1579
1575
|
# @return [Array<String>]
|
1580
1576
|
attr_accessor :account_types_with_management_disabled
|
@@ -1681,12 +1677,12 @@ module Google
|
|
1681
1677
|
attr_accessor :debugging_features_allowed
|
1682
1678
|
alias_method :debugging_features_allowed?, :debugging_features_allowed
|
1683
1679
|
|
1684
|
-
# The default permission policy for
|
1680
|
+
# The default permission policy for runtime permission requests.
|
1685
1681
|
# Corresponds to the JSON property `defaultPermissionPolicy`
|
1686
1682
|
# @return [String]
|
1687
1683
|
attr_accessor :default_permission_policy
|
1688
1684
|
|
1689
|
-
# Whether
|
1685
|
+
# Whether app verification is force-enabled.
|
1690
1686
|
# Corresponds to the JSON property `ensureVerifyAppsEnabled`
|
1691
1687
|
# @return [Boolean]
|
1692
1688
|
attr_accessor :ensure_verify_apps_enabled
|
@@ -1701,7 +1697,7 @@ module Google
|
|
1701
1697
|
# Email addresses of device administrators for factory reset protection. When
|
1702
1698
|
# the device is factory reset, it will require one of these admins to log in
|
1703
1699
|
# with the Google account email and password to unlock the device. If no admins
|
1704
|
-
# are specified, the device
|
1700
|
+
# are specified, the device won't provide factory reset protection.
|
1705
1701
|
# Corresponds to the JSON property `frpAdminEmails`
|
1706
1702
|
# @return [Array<String>]
|
1707
1703
|
attr_accessor :frp_admin_emails
|
@@ -1747,14 +1743,14 @@ module Google
|
|
1747
1743
|
attr_accessor :kiosk_custom_launcher_enabled
|
1748
1744
|
alias_method :kiosk_custom_launcher_enabled?, :kiosk_custom_launcher_enabled
|
1749
1745
|
|
1750
|
-
# Provides user
|
1746
|
+
# Provides a user-facing message with locale info. The maximum message length is
|
1751
1747
|
# 4096 characters.
|
1752
1748
|
# Corresponds to the JSON property `longSupportMessage`
|
1753
1749
|
# @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
|
1754
1750
|
attr_accessor :long_support_message
|
1755
1751
|
|
1756
|
-
# Maximum time in milliseconds for user activity until the device
|
1757
|
-
#
|
1752
|
+
# Maximum time in milliseconds for user activity until the device locks. A value
|
1753
|
+
# of 0 means there is no restriction.
|
1758
1754
|
# Corresponds to the JSON property `maximumTimeToLock`
|
1759
1755
|
# @return [Fixnum]
|
1760
1756
|
attr_accessor :maximum_time_to_lock
|
@@ -1778,7 +1774,7 @@ module Google
|
|
1778
1774
|
alias_method :mount_physical_media_disabled?, :mount_physical_media_disabled
|
1779
1775
|
|
1780
1776
|
# The name of the policy in the form enterprises/`enterpriseId`/policies/`
|
1781
|
-
# policyId
|
1777
|
+
# policyId`.
|
1782
1778
|
# Corresponds to the JSON property `name`
|
1783
1779
|
# @return [String]
|
1784
1780
|
attr_accessor :name
|
@@ -1807,7 +1803,7 @@ module Google
|
|
1807
1803
|
# @return [Hash<String,Object>]
|
1808
1804
|
attr_accessor :open_network_configuration
|
1809
1805
|
|
1810
|
-
# Whether using NFC to beam
|
1806
|
+
# Whether using NFC to beam data from apps is disabled.
|
1811
1807
|
# Corresponds to the JSON property `outgoingBeamDisabled`
|
1812
1808
|
# @return [Boolean]
|
1813
1809
|
attr_accessor :outgoing_beam_disabled
|
@@ -1870,20 +1866,20 @@ module Google
|
|
1870
1866
|
attr_accessor :set_wallpaper_disabled
|
1871
1867
|
alias_method :set_wallpaper_disabled?, :set_wallpaper_disabled
|
1872
1868
|
|
1873
|
-
# Provides user
|
1869
|
+
# Provides a user-facing message with locale info. The maximum message length is
|
1874
1870
|
# 4096 characters.
|
1875
1871
|
# Corresponds to the JSON property `shortSupportMessage`
|
1876
1872
|
# @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
|
1877
1873
|
attr_accessor :short_support_message
|
1878
1874
|
|
1879
|
-
# Whether sending
|
1875
|
+
# Whether sending and receiving SMS messages is disabled.
|
1880
1876
|
# Corresponds to the JSON property `smsDisabled`
|
1881
1877
|
# @return [Boolean]
|
1882
1878
|
attr_accessor :sms_disabled
|
1883
1879
|
alias_method :sms_disabled?, :sms_disabled
|
1884
1880
|
|
1885
1881
|
# Whether the status bar is disabled. This disables notifications, quick
|
1886
|
-
# settings and other screen overlays that allow escape from full-screen mode.
|
1882
|
+
# settings, and other screen overlays that allow escape from full-screen mode.
|
1887
1883
|
# Corresponds to the JSON property `statusBarDisabled`
|
1888
1884
|
# @return [Boolean]
|
1889
1885
|
attr_accessor :status_bar_disabled
|
@@ -1942,14 +1938,14 @@ module Google
|
|
1942
1938
|
attr_accessor :vpn_config_disabled
|
1943
1939
|
alias_method :vpn_config_disabled?, :vpn_config_disabled
|
1944
1940
|
|
1945
|
-
# Whether configuring
|
1941
|
+
# Whether configuring Wi-Fi access points is disabled.
|
1946
1942
|
# Corresponds to the JSON property `wifiConfigDisabled`
|
1947
1943
|
# @return [Boolean]
|
1948
1944
|
attr_accessor :wifi_config_disabled
|
1949
1945
|
alias_method :wifi_config_disabled?, :wifi_config_disabled
|
1950
1946
|
|
1951
|
-
# Whether
|
1952
|
-
#
|
1947
|
+
# Whether Wi-Fi networks defined in Open Network Configuration are locked so
|
1948
|
+
# they can't be edited by the user.
|
1953
1949
|
# Corresponds to the JSON property `wifiConfigsLockdownEnabled`
|
1954
1950
|
# @return [Boolean]
|
1955
1951
|
attr_accessor :wifi_configs_lockdown_enabled
|
@@ -2099,14 +2095,14 @@ module Google
|
|
2099
2095
|
class SignupUrl
|
2100
2096
|
include Google::Apis::Core::Hashable
|
2101
2097
|
|
2102
|
-
# The name of the resource.
|
2103
|
-
#
|
2098
|
+
# The name of the resource. Use this value in the signupUrl field when calling
|
2099
|
+
# enterprises.create to complete the enterprise signup flow.
|
2104
2100
|
# Corresponds to the JSON property `name`
|
2105
2101
|
# @return [String]
|
2106
2102
|
attr_accessor :name
|
2107
2103
|
|
2108
|
-
# A URL
|
2109
|
-
#
|
2104
|
+
# A URL where an enterprise admin can register their enterprise. The page can't
|
2105
|
+
# be rendered in an iframe.
|
2110
2106
|
# Corresponds to the JSON property `url`
|
2111
2107
|
# @return [String]
|
2112
2108
|
attr_accessor :url
|
@@ -2126,8 +2122,8 @@ module Google
|
|
2126
2122
|
class SoftwareInfo
|
2127
2123
|
include Google::Apis::Core::Hashable
|
2128
2124
|
|
2129
|
-
# Android build
|
2130
|
-
# 6.0.1 MOB30I 2756745 dev-keys.
|
2125
|
+
# Android build ID string meant for displaying to the user. For example, shamu-
|
2126
|
+
# userdebug 6.0.1 MOB30I 2756745 dev-keys.
|
2131
2127
|
# Corresponds to the JSON property `androidBuildNumber`
|
2132
2128
|
# @return [String]
|
2133
2129
|
attr_accessor :android_build_number
|
@@ -2147,7 +2143,7 @@ module Google
|
|
2147
2143
|
# @return [String]
|
2148
2144
|
attr_accessor :android_device_policy_version_name
|
2149
2145
|
|
2150
|
-
# The user
|
2146
|
+
# The user-visible Android version string. For example, 6.0.1.
|
2151
2147
|
# Corresponds to the JSON property `androidVersion`
|
2152
2148
|
# @return [String]
|
2153
2149
|
attr_accessor :android_version
|
@@ -2157,7 +2153,7 @@ module Google
|
|
2157
2153
|
# @return [String]
|
2158
2154
|
attr_accessor :bootloader_version
|
2159
2155
|
|
2160
|
-
# Kernel version,
|
2156
|
+
# Kernel version, for example, 2.6.32.9-g103d848.
|
2161
2157
|
# Corresponds to the JSON property `deviceKernelVersion`
|
2162
2158
|
# @return [String]
|
2163
2159
|
attr_accessor :device_kernel_version
|
@@ -2318,7 +2314,7 @@ module Google
|
|
2318
2314
|
include Google::Apis::Core::Hashable
|
2319
2315
|
|
2320
2316
|
# If the type is WINDOWED, the end of the maintenance window, measured as the
|
2321
|
-
# number of minutes after midnight in device local time. This value must be
|
2317
|
+
# number of minutes after midnight in device's local time. This value must be
|
2322
2318
|
# between 0 and 1439, inclusive. If this value is less than start_minutes, then
|
2323
2319
|
# the maintenance window spans midnight. If the maintenance window specified is
|
2324
2320
|
# smaller than 30 minutes, the actual window is extended to 30 minutes beyond
|
@@ -2328,8 +2324,8 @@ module Google
|
|
2328
2324
|
attr_accessor :end_minutes
|
2329
2325
|
|
2330
2326
|
# If the type is WINDOWED, the start of the maintenance window, measured as the
|
2331
|
-
# number of minutes after midnight in device local time. This value must
|
2332
|
-
# between 0 and 1439, inclusive.
|
2327
|
+
# number of minutes after midnight in the device's local time. This value must
|
2328
|
+
# be between 0 and 1439, inclusive.
|
2333
2329
|
# Corresponds to the JSON property `startMinutes`
|
2334
2330
|
# @return [Fixnum]
|
2335
2331
|
attr_accessor :start_minutes
|
@@ -2351,20 +2347,21 @@ module Google
|
|
2351
2347
|
end
|
2352
2348
|
end
|
2353
2349
|
|
2354
|
-
# Provides user
|
2350
|
+
# Provides a user-facing message with locale info. The maximum message length is
|
2355
2351
|
# 4096 characters.
|
2356
2352
|
class UserFacingMessage
|
2357
2353
|
include Google::Apis::Core::Hashable
|
2358
2354
|
|
2359
|
-
# The default message
|
2360
|
-
#
|
2361
|
-
#
|
2355
|
+
# The default message displayed if no localized message is specified or the user'
|
2356
|
+
# s locale doesn't match with any of the localized messages. A default message
|
2357
|
+
# must be provided if any localized messages are provided.
|
2362
2358
|
# Corresponds to the JSON property `defaultMessage`
|
2363
2359
|
# @return [String]
|
2364
2360
|
attr_accessor :default_message
|
2365
2361
|
|
2366
|
-
# A map
|
2367
|
-
#
|
2362
|
+
# A map containing <locale, message> pairs, where locale is a well-formed BCP 47
|
2363
|
+
# language (https://www.w3.org/International/articles/language-tags/) code, such
|
2364
|
+
# as en-US, es-ES, or fr.
|
2368
2365
|
# Corresponds to the JSON property `localizedMessages`
|
2369
2366
|
# @return [Hash<String,String>]
|
2370
2367
|
attr_accessor :localized_messages
|
@@ -2380,12 +2377,12 @@ module Google
|
|
2380
2377
|
end
|
2381
2378
|
end
|
2382
2379
|
|
2383
|
-
# A web token used to access
|
2380
|
+
# A web token used to access the managed Google Play iframe.
|
2384
2381
|
class WebToken
|
2385
2382
|
include Google::Apis::Core::Hashable
|
2386
2383
|
|
2387
|
-
# The name of the web token, which is generated by the server during creation
|
2388
|
-
#
|
2384
|
+
# The name of the web token, which is generated by the server during creation in
|
2385
|
+
# the form enterprises/`enterpriseId`/webTokens/`webTokenId`.
|
2389
2386
|
# Corresponds to the JSON property `name`
|
2390
2387
|
# @return [String]
|
2391
2388
|
attr_accessor :name
|
@@ -2397,7 +2394,7 @@ module Google
|
|
2397
2394
|
# @return [String]
|
2398
2395
|
attr_accessor :parent_frame_url
|
2399
2396
|
|
2400
|
-
# Permissions
|
2397
|
+
# Permissions available to an admin in the embedded UI. An admin must have all
|
2401
2398
|
# of these permissions in order to view the UI.
|
2402
2399
|
# Corresponds to the JSON property `permissions`
|
2403
2400
|
# @return [Array<String>]
|