google-api-client 0.30.1 → 0.30.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +64 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +8 -74
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +156 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +68 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +8 -64
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +8 -64
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -64
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +12 -4
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -74
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -74
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2/service.rb +1 -2
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +8 -82
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +1 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +6 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +6 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +12 -111
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +8 -74
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +6 -0
- data/generated/google/apis/content_v2/representations.rb +2 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -0
- data/generated/google/apis/content_v2_1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +12 -111
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +27 -117
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -74
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +10 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +56 -0
- data/generated/google/apis/fcm_v1/representations.rb +31 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +6 -6
- data/generated/google/apis/file_v1/representations.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +6 -6
- data/generated/google/apis/file_v1beta1/representations.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +8 -74
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +8 -74
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +14 -113
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +10 -2
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +62 -113
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +17 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +2 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +14 -113
- data/generated/google/apis/healthcare_v1beta1/service.rb +2 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -3
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +4 -37
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +4 -37
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +4 -37
- data/generated/google/apis/logging_v2.rb +5 -2
- data/generated/google/apis/logging_v2/service.rb +4 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +27 -77
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3.rb +5 -2
- data/generated/google/apis/monitoring_v3/classes.rb +13 -97
- data/generated/google/apis/monitoring_v3/service.rb +4 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +12 -78
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +12 -78
- data/generated/google/apis/redis_v1beta1/service.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +20 -185
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +20 -185
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +28 -259
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +8 -74
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +12 -111
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +35 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +223 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +114 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +211 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +0 -7
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -78
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +36 -333
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +32 -296
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +32 -296
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +2 -2
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0eded6dfea17abe1da52c69c5af35b22eeb6e6f0
|
4
|
+
data.tar.gz: 49b7a4bbc08adcf897ef1f820709440a93a845aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dee9671a12c35506bd25c1cef026f96bd2c924de7da8994424878acd69163c08812d29dd0fdbc8da918a4e596d60b2f973118ec6b9d7caabea136393edb7d4bc
|
7
|
+
data.tar.gz: f4c42af2bdcb3cea3d7a1650765d37a8ead6510d3d61f25807ee0e67dde982e8e5c7655b0941014dfb8080337a6f03cd22139660b1d53c06e522c2bc3ae4bfcb
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,67 @@
|
|
1
|
+
# 0.30.2
|
2
|
+
* Backwards compatible changes:
|
3
|
+
* Added `securitycenter_v1p1alpha1`
|
4
|
+
* Updated `androiddeviceprovisioning_v1`
|
5
|
+
* Updated `androidenterprise_v1`
|
6
|
+
* Updated `androidpublisher_v3`
|
7
|
+
* Updated `appengine_v1`
|
8
|
+
* Updated `appengine_v1alpha`
|
9
|
+
* Updated `appengine_v1beta`
|
10
|
+
* Updated `bigquery_v2`
|
11
|
+
* Updated `cloudbuild_v1`
|
12
|
+
* Updated `cloudprivatecatalogproducer_v1beta1`
|
13
|
+
* Updated `cloudresourcemanager_v1`
|
14
|
+
* Updated `cloudresourcemanager_v2`
|
15
|
+
* Updated `cloudresourcemanager_v2beta1`
|
16
|
+
* Updated `cloudtasks_v2`
|
17
|
+
* Updated `cloudtasks_v2beta2`
|
18
|
+
* Updated `cloudtasks_v2beta3`
|
19
|
+
* Updated `container_v1`
|
20
|
+
* Updated `container_v1beta1`
|
21
|
+
* Updated `containeranalysis_v1alpha1`
|
22
|
+
* Updated `containeranalysis_v1beta1`
|
23
|
+
* Updated `content_v2`
|
24
|
+
* Updated `content_v2_1`
|
25
|
+
* Updated `dialogflow_v2`
|
26
|
+
* Updated `dialogflow_v2beta1`
|
27
|
+
* Updated `dlp_v2`
|
28
|
+
* Updated `docs_v1`
|
29
|
+
* Updated `fcm_v1`
|
30
|
+
* Updated `file_v1`
|
31
|
+
* Updated `file_v1beta1`
|
32
|
+
* Updated `genomics_v1`
|
33
|
+
* Updated `genomics_v1alpha2`
|
34
|
+
* Updated `genomics_v2alpha1`
|
35
|
+
* Updated `gmail_v1`
|
36
|
+
* Updated `healthcare_v1alpha2`
|
37
|
+
* Updated `healthcare_v1beta1`
|
38
|
+
* Updated `jobs_v3p1beta1`
|
39
|
+
* Updated `language_v1`
|
40
|
+
* Updated `language_v1beta1`
|
41
|
+
* Updated `language_v1beta2`
|
42
|
+
* Updated `logging_v2`
|
43
|
+
* Updated `ml_v1`
|
44
|
+
* Updated `monitoring_v3`
|
45
|
+
* Updated `redis_v1`
|
46
|
+
* Updated `redis_v1beta1`
|
47
|
+
* Updated `remotebuildexecution_v1`
|
48
|
+
* Updated `remotebuildexecution_v1alpha`
|
49
|
+
* Updated `remotebuildexecution_v2`
|
50
|
+
* Updated `runtimeconfig_v1`
|
51
|
+
* Updated `runtimeconfig_v1beta1`
|
52
|
+
* Updated `serviceconsumermanagement_v1`
|
53
|
+
* Updated `servicenetworking_v1`
|
54
|
+
* Updated `servicenetworking_v1beta`
|
55
|
+
* Updated `serviceusage_v1`
|
56
|
+
* Updated `serviceusage_v1beta1`
|
57
|
+
* Updated `storage_v1`
|
58
|
+
* Updated `storagetransfer_v1`
|
59
|
+
* Updated `vision_v1`
|
60
|
+
* Updated `vision_v1p1beta1`
|
61
|
+
* Updated `vision_v1p2beta1`
|
62
|
+
* Updated `youtube_analytics_v2`
|
63
|
+
* Updated `youtube_partner_v1`
|
64
|
+
|
1
65
|
# 0.30.1
|
2
66
|
* Backwards compatible changes:
|
3
67
|
* Updated `accesscontextmanager_v1`
|
@@ -1052,43 +1052,10 @@ module Google
|
|
1052
1052
|
|
1053
1053
|
# The `Status` type defines a logical error model that is suitable for
|
1054
1054
|
# different programming environments, including REST APIs and RPC APIs. It is
|
1055
|
-
# used by [gRPC](https://github.com/grpc).
|
1056
|
-
#
|
1057
|
-
#
|
1058
|
-
#
|
1059
|
-
# The `Status` message contains three pieces of data: error code, error
|
1060
|
-
# message, and error details. The error code should be an enum value of
|
1061
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
1062
|
-
# error message should be a developer-facing English message that helps
|
1063
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
1064
|
-
# error message is needed, put the localized message in the error details or
|
1065
|
-
# localize it in the client. The optional error details may contain arbitrary
|
1066
|
-
# information about the error. There is a predefined set of error detail types
|
1067
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
1068
|
-
# # Language mapping
|
1069
|
-
# The `Status` message is the logical representation of the error model, but it
|
1070
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
1071
|
-
# exposed in different client libraries and different wire protocols, it can be
|
1072
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
1073
|
-
# in Java, but more likely mapped to some error codes in C.
|
1074
|
-
# # Other uses
|
1075
|
-
# The error model and the `Status` message can be used in a variety of
|
1076
|
-
# environments, either with or without APIs, to provide a
|
1077
|
-
# consistent developer experience across different environments.
|
1078
|
-
# Example uses of this error model include:
|
1079
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
1080
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
1081
|
-
# errors.
|
1082
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
1083
|
-
# have a `Status` message for error reporting.
|
1084
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
1085
|
-
# `Status` message should be used directly inside batch response, one for
|
1086
|
-
# each error sub-response.
|
1087
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
1088
|
-
# results in its response, the status of those operations should be
|
1089
|
-
# represented directly using the `Status` message.
|
1090
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
1091
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
1055
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
1056
|
+
# three pieces of data: error code, error message, and error details.
|
1057
|
+
# You can find out more about this error model and how to work with it in the
|
1058
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
1092
1059
|
# Corresponds to the JSON property `error`
|
1093
1060
|
# @return [Google::Apis::AndroiddeviceprovisioningV1::Status]
|
1094
1061
|
attr_accessor :error
|
@@ -1289,43 +1256,10 @@ module Google
|
|
1289
1256
|
|
1290
1257
|
# The `Status` type defines a logical error model that is suitable for
|
1291
1258
|
# different programming environments, including REST APIs and RPC APIs. It is
|
1292
|
-
# used by [gRPC](https://github.com/grpc).
|
1293
|
-
#
|
1294
|
-
#
|
1295
|
-
#
|
1296
|
-
# The `Status` message contains three pieces of data: error code, error
|
1297
|
-
# message, and error details. The error code should be an enum value of
|
1298
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
1299
|
-
# error message should be a developer-facing English message that helps
|
1300
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
1301
|
-
# error message is needed, put the localized message in the error details or
|
1302
|
-
# localize it in the client. The optional error details may contain arbitrary
|
1303
|
-
# information about the error. There is a predefined set of error detail types
|
1304
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
1305
|
-
# # Language mapping
|
1306
|
-
# The `Status` message is the logical representation of the error model, but it
|
1307
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
1308
|
-
# exposed in different client libraries and different wire protocols, it can be
|
1309
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
1310
|
-
# in Java, but more likely mapped to some error codes in C.
|
1311
|
-
# # Other uses
|
1312
|
-
# The error model and the `Status` message can be used in a variety of
|
1313
|
-
# environments, either with or without APIs, to provide a
|
1314
|
-
# consistent developer experience across different environments.
|
1315
|
-
# Example uses of this error model include:
|
1316
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
1317
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
1318
|
-
# errors.
|
1319
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
1320
|
-
# have a `Status` message for error reporting.
|
1321
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
1322
|
-
# `Status` message should be used directly inside batch response, one for
|
1323
|
-
# each error sub-response.
|
1324
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
1325
|
-
# results in its response, the status of those operations should be
|
1326
|
-
# represented directly using the `Status` message.
|
1327
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
1328
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
1259
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
1260
|
+
# three pieces of data: error code, error message, and error details.
|
1261
|
+
# You can find out more about this error model and how to work with it in the
|
1262
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
1329
1263
|
class Status
|
1330
1264
|
include Google::Apis::Core::Hashable
|
1331
1265
|
|
@@ -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 = '20190530'
|
29
29
|
|
30
30
|
# Manage corporate Android devices
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
@@ -402,6 +402,31 @@ module Google
|
|
402
402
|
end
|
403
403
|
end
|
404
404
|
|
405
|
+
# List of states set by the app.
|
406
|
+
class AppState
|
407
|
+
include Google::Apis::Core::Hashable
|
408
|
+
|
409
|
+
# List of keyed app states. This field will always be present.
|
410
|
+
# Corresponds to the JSON property `keyedAppState`
|
411
|
+
# @return [Array<Google::Apis::AndroidenterpriseV1::KeyedAppState>]
|
412
|
+
attr_accessor :keyed_app_state
|
413
|
+
|
414
|
+
# The package name of the app. This field will always be present.
|
415
|
+
# Corresponds to the JSON property `packageName`
|
416
|
+
# @return [String]
|
417
|
+
attr_accessor :package_name
|
418
|
+
|
419
|
+
def initialize(**args)
|
420
|
+
update!(**args)
|
421
|
+
end
|
422
|
+
|
423
|
+
# Update properties of this object
|
424
|
+
def update!(**args)
|
425
|
+
@keyed_app_state = args[:keyed_app_state] if args.key?(:keyed_app_state)
|
426
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
405
430
|
# An event generated when a new version of an app is uploaded to Google Play.
|
406
431
|
# Notifications are sent for new public versions only: alpha, beta, or canary
|
407
432
|
# versions do not generate this event. To fetch up-to-date version history for
|
@@ -675,6 +700,12 @@ module Google
|
|
675
700
|
# @return [Google::Apis::AndroidenterpriseV1::Policy]
|
676
701
|
attr_accessor :policy
|
677
702
|
|
703
|
+
# Device report updated with the latest app states for managed apps on the
|
704
|
+
# device.
|
705
|
+
# Corresponds to the JSON property `report`
|
706
|
+
# @return [Google::Apis::AndroidenterpriseV1::DeviceReport]
|
707
|
+
attr_accessor :report
|
708
|
+
|
678
709
|
def initialize(**args)
|
679
710
|
update!(**args)
|
680
711
|
end
|
@@ -685,6 +716,67 @@ module Google
|
|
685
716
|
@kind = args[:kind] if args.key?(:kind)
|
686
717
|
@management_type = args[:management_type] if args.key?(:management_type)
|
687
718
|
@policy = args[:policy] if args.key?(:policy)
|
719
|
+
@report = args[:report] if args.key?(:report)
|
720
|
+
end
|
721
|
+
end
|
722
|
+
|
723
|
+
# Device report updated with the latest app states for managed apps on the
|
724
|
+
# device.
|
725
|
+
class DeviceReport
|
726
|
+
include Google::Apis::Core::Hashable
|
727
|
+
|
728
|
+
# List of app states set by managed apps on the device. App states are defined
|
729
|
+
# by the app's developers. This field will always be present.
|
730
|
+
# Corresponds to the JSON property `appState`
|
731
|
+
# @return [Array<Google::Apis::AndroidenterpriseV1::AppState>]
|
732
|
+
attr_accessor :app_state
|
733
|
+
|
734
|
+
# The timestamp of the last report update in milliseconds since epoch. This
|
735
|
+
# field will always be present.
|
736
|
+
# Corresponds to the JSON property `lastUpdatedTimestampMillis`
|
737
|
+
# @return [Fixnum]
|
738
|
+
attr_accessor :last_updated_timestamp_millis
|
739
|
+
|
740
|
+
def initialize(**args)
|
741
|
+
update!(**args)
|
742
|
+
end
|
743
|
+
|
744
|
+
# Update properties of this object
|
745
|
+
def update!(**args)
|
746
|
+
@app_state = args[:app_state] if args.key?(:app_state)
|
747
|
+
@last_updated_timestamp_millis = args[:last_updated_timestamp_millis] if args.key?(:last_updated_timestamp_millis)
|
748
|
+
end
|
749
|
+
end
|
750
|
+
|
751
|
+
# An event generated when an updated device report is available.
|
752
|
+
class DeviceReportUpdateEvent
|
753
|
+
include Google::Apis::Core::Hashable
|
754
|
+
|
755
|
+
# The Android ID of the device. This field will always be present.
|
756
|
+
# Corresponds to the JSON property `deviceId`
|
757
|
+
# @return [String]
|
758
|
+
attr_accessor :device_id
|
759
|
+
|
760
|
+
# Device report updated with the latest app states for managed apps on the
|
761
|
+
# device.
|
762
|
+
# Corresponds to the JSON property `report`
|
763
|
+
# @return [Google::Apis::AndroidenterpriseV1::DeviceReport]
|
764
|
+
attr_accessor :report
|
765
|
+
|
766
|
+
# The ID of the user. This field will always be present.
|
767
|
+
# Corresponds to the JSON property `userId`
|
768
|
+
# @return [String]
|
769
|
+
attr_accessor :user_id
|
770
|
+
|
771
|
+
def initialize(**args)
|
772
|
+
update!(**args)
|
773
|
+
end
|
774
|
+
|
775
|
+
# Update properties of this object
|
776
|
+
def update!(**args)
|
777
|
+
@device_id = args[:device_id] if args.key?(:device_id)
|
778
|
+
@report = args[:report] if args.key?(:report)
|
779
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
688
780
|
end
|
689
781
|
end
|
690
782
|
|
@@ -1234,6 +1326,57 @@ module Google
|
|
1234
1326
|
end
|
1235
1327
|
end
|
1236
1328
|
|
1329
|
+
# Represents a keyed app state containing a key, timestamp, severity level,
|
1330
|
+
# optional description, and optional data.
|
1331
|
+
class KeyedAppState
|
1332
|
+
include Google::Apis::Core::Hashable
|
1333
|
+
|
1334
|
+
# Additional field intended for machine-readable data. For example, a number or
|
1335
|
+
# JSON object. To prevent XSS, we recommend removing any HTML from the data
|
1336
|
+
# before displaying it.
|
1337
|
+
# Corresponds to the JSON property `data`
|
1338
|
+
# @return [String]
|
1339
|
+
attr_accessor :data
|
1340
|
+
|
1341
|
+
# Key indicating what the app is providing a state for. The content of the key
|
1342
|
+
# is set by the app's developer. To prevent XSS, we recommend removing any HTML
|
1343
|
+
# from the key before displaying it. This field will always be present.
|
1344
|
+
# Corresponds to the JSON property `key`
|
1345
|
+
# @return [String]
|
1346
|
+
attr_accessor :key
|
1347
|
+
|
1348
|
+
# Free-form, human-readable message describing the app state. For example, an
|
1349
|
+
# error message. To prevent XSS, we recommend removing any HTML from the message
|
1350
|
+
# before displaying it.
|
1351
|
+
# Corresponds to the JSON property `message`
|
1352
|
+
# @return [String]
|
1353
|
+
attr_accessor :message
|
1354
|
+
|
1355
|
+
# Severity of the app state. This field will always be present.
|
1356
|
+
# Corresponds to the JSON property `severity`
|
1357
|
+
# @return [String]
|
1358
|
+
attr_accessor :severity
|
1359
|
+
|
1360
|
+
# Timestamp of when the app set the state in milliseconds since epoch. This
|
1361
|
+
# field will always be present.
|
1362
|
+
# Corresponds to the JSON property `stateTimestampMillis`
|
1363
|
+
# @return [Fixnum]
|
1364
|
+
attr_accessor :state_timestamp_millis
|
1365
|
+
|
1366
|
+
def initialize(**args)
|
1367
|
+
update!(**args)
|
1368
|
+
end
|
1369
|
+
|
1370
|
+
# Update properties of this object
|
1371
|
+
def update!(**args)
|
1372
|
+
@data = args[:data] if args.key?(:data)
|
1373
|
+
@key = args[:key] if args.key?(:key)
|
1374
|
+
@message = args[:message] if args.key?(:message)
|
1375
|
+
@severity = args[:severity] if args.key?(:severity)
|
1376
|
+
@state_timestamp_millis = args[:state_timestamp_millis] if args.key?(:state_timestamp_millis)
|
1377
|
+
end
|
1378
|
+
end
|
1379
|
+
|
1237
1380
|
# A localized string with its locale.
|
1238
1381
|
class LocalizedText
|
1239
1382
|
include Google::Apis::Core::Hashable
|
@@ -1635,6 +1778,11 @@ module Google
|
|
1635
1778
|
# @return [Google::Apis::AndroidenterpriseV1::AppUpdateEvent]
|
1636
1779
|
attr_accessor :app_update_event
|
1637
1780
|
|
1781
|
+
# An event generated when an updated device report is available.
|
1782
|
+
# Corresponds to the JSON property `deviceReportUpdateEvent`
|
1783
|
+
# @return [Google::Apis::AndroidenterpriseV1::DeviceReportUpdateEvent]
|
1784
|
+
attr_accessor :device_report_update_event
|
1785
|
+
|
1638
1786
|
# The ID of the enterprise for which the notification is sent. This will always
|
1639
1787
|
# be present.
|
1640
1788
|
# Corresponds to the JSON property `enterpriseId`
|
@@ -1685,6 +1833,7 @@ module Google
|
|
1685
1833
|
def update!(**args)
|
1686
1834
|
@app_restrictions_schema_change_event = args[:app_restrictions_schema_change_event] if args.key?(:app_restrictions_schema_change_event)
|
1687
1835
|
@app_update_event = args[:app_update_event] if args.key?(:app_update_event)
|
1836
|
+
@device_report_update_event = args[:device_report_update_event] if args.key?(:device_report_update_event)
|
1688
1837
|
@enterprise_id = args[:enterprise_id] if args.key?(:enterprise_id)
|
1689
1838
|
@install_failure_event = args[:install_failure_event] if args.key?(:install_failure_event)
|
1690
1839
|
@new_device_event = args[:new_device_event] if args.key?(:new_device_event)
|
@@ -1820,6 +1969,12 @@ module Google
|
|
1820
1969
|
# @return [String]
|
1821
1970
|
attr_accessor :auto_update_policy
|
1822
1971
|
|
1972
|
+
# Whether the device reports app states to the EMM. The default value is "
|
1973
|
+
# deviceReportDisabled".
|
1974
|
+
# Corresponds to the JSON property `deviceReportPolicy`
|
1975
|
+
# @return [String]
|
1976
|
+
attr_accessor :device_report_policy
|
1977
|
+
|
1823
1978
|
# Maintenance window for managed Google Play Accounts. This allows Play store to
|
1824
1979
|
# update the apps on the foreground in the designated window.
|
1825
1980
|
# Corresponds to the JSON property `maintenanceWindow`
|
@@ -1849,6 +2004,7 @@ module Google
|
|
1849
2004
|
# Update properties of this object
|
1850
2005
|
def update!(**args)
|
1851
2006
|
@auto_update_policy = args[:auto_update_policy] if args.key?(:auto_update_policy)
|
2007
|
+
@device_report_policy = args[:device_report_policy] if args.key?(:device_report_policy)
|
1852
2008
|
@maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
|
1853
2009
|
@product_availability_policy = args[:product_availability_policy] if args.key?(:product_availability_policy)
|
1854
2010
|
@product_policy = args[:product_policy] if args.key?(:product_policy)
|
@@ -94,6 +94,12 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
+
class AppState
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
97
103
|
class AppUpdateEvent
|
98
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
105
|
|
@@ -142,6 +148,18 @@ module Google
|
|
142
148
|
include Google::Apis::Core::JsonObjectSupport
|
143
149
|
end
|
144
150
|
|
151
|
+
class DeviceReport
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class DeviceReportUpdateEvent
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
145
163
|
class DeviceState
|
146
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
165
|
|
@@ -226,6 +244,12 @@ module Google
|
|
226
244
|
include Google::Apis::Core::JsonObjectSupport
|
227
245
|
end
|
228
246
|
|
247
|
+
class KeyedAppState
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
229
253
|
class LocalizedText
|
230
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
255
|
|
@@ -615,6 +639,15 @@ module Google
|
|
615
639
|
end
|
616
640
|
end
|
617
641
|
|
642
|
+
class AppState
|
643
|
+
# @private
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
645
|
+
collection :keyed_app_state, as: 'keyedAppState', class: Google::Apis::AndroidenterpriseV1::KeyedAppState, decorator: Google::Apis::AndroidenterpriseV1::KeyedAppState::Representation
|
646
|
+
|
647
|
+
property :package_name, as: 'packageName'
|
648
|
+
end
|
649
|
+
end
|
650
|
+
|
618
651
|
class AppUpdateEvent
|
619
652
|
# @private
|
620
653
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -687,6 +720,27 @@ module Google
|
|
687
720
|
property :management_type, as: 'managementType'
|
688
721
|
property :policy, as: 'policy', class: Google::Apis::AndroidenterpriseV1::Policy, decorator: Google::Apis::AndroidenterpriseV1::Policy::Representation
|
689
722
|
|
723
|
+
property :report, as: 'report', class: Google::Apis::AndroidenterpriseV1::DeviceReport, decorator: Google::Apis::AndroidenterpriseV1::DeviceReport::Representation
|
724
|
+
|
725
|
+
end
|
726
|
+
end
|
727
|
+
|
728
|
+
class DeviceReport
|
729
|
+
# @private
|
730
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
731
|
+
collection :app_state, as: 'appState', class: Google::Apis::AndroidenterpriseV1::AppState, decorator: Google::Apis::AndroidenterpriseV1::AppState::Representation
|
732
|
+
|
733
|
+
property :last_updated_timestamp_millis, :numeric_string => true, as: 'lastUpdatedTimestampMillis'
|
734
|
+
end
|
735
|
+
end
|
736
|
+
|
737
|
+
class DeviceReportUpdateEvent
|
738
|
+
# @private
|
739
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
740
|
+
property :device_id, as: 'deviceId'
|
741
|
+
property :report, as: 'report', class: Google::Apis::AndroidenterpriseV1::DeviceReport, decorator: Google::Apis::AndroidenterpriseV1::DeviceReport::Representation
|
742
|
+
|
743
|
+
property :user_id, as: 'userId'
|
690
744
|
end
|
691
745
|
end
|
692
746
|
|
@@ -823,6 +877,17 @@ module Google
|
|
823
877
|
end
|
824
878
|
end
|
825
879
|
|
880
|
+
class KeyedAppState
|
881
|
+
# @private
|
882
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
883
|
+
property :data, as: 'data'
|
884
|
+
property :key, as: 'key'
|
885
|
+
property :message, as: 'message'
|
886
|
+
property :severity, as: 'severity'
|
887
|
+
property :state_timestamp_millis, :numeric_string => true, as: 'stateTimestampMillis'
|
888
|
+
end
|
889
|
+
end
|
890
|
+
|
826
891
|
class LocalizedText
|
827
892
|
# @private
|
828
893
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -939,6 +1004,8 @@ module Google
|
|
939
1004
|
|
940
1005
|
property :app_update_event, as: 'appUpdateEvent', class: Google::Apis::AndroidenterpriseV1::AppUpdateEvent, decorator: Google::Apis::AndroidenterpriseV1::AppUpdateEvent::Representation
|
941
1006
|
|
1007
|
+
property :device_report_update_event, as: 'deviceReportUpdateEvent', class: Google::Apis::AndroidenterpriseV1::DeviceReportUpdateEvent, decorator: Google::Apis::AndroidenterpriseV1::DeviceReportUpdateEvent::Representation
|
1008
|
+
|
942
1009
|
property :enterprise_id, as: 'enterpriseId'
|
943
1010
|
property :install_failure_event, as: 'installFailureEvent', class: Google::Apis::AndroidenterpriseV1::InstallFailureEvent, decorator: Google::Apis::AndroidenterpriseV1::InstallFailureEvent::Representation
|
944
1011
|
|
@@ -988,6 +1055,7 @@ module Google
|
|
988
1055
|
# @private
|
989
1056
|
class Representation < Google::Apis::Core::JsonRepresentation
|
990
1057
|
property :auto_update_policy, as: 'autoUpdatePolicy'
|
1058
|
+
property :device_report_policy, as: 'deviceReportPolicy'
|
991
1059
|
property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::AndroidenterpriseV1::MaintenanceWindow, decorator: Google::Apis::AndroidenterpriseV1::MaintenanceWindow::Representation
|
992
1060
|
|
993
1061
|
property :product_availability_policy, as: 'productAvailabilityPolicy'
|