google-apis-androidmanagement_v1 0.30.0 → 0.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7aeda1af7586b09e10eee1011fbcfde0dcfe958ce87eb82f20bf9d4e55c03cb8
4
- data.tar.gz: de3e7b3af8f701b2d96e64b4ce9c36510ecd07ebf81f2565301acedbeb65b3b3
3
+ metadata.gz: 7a706c5b639addbe713b6a0853bf4513c764db5aaf1bb7e802a70704efccd911
4
+ data.tar.gz: 9162770106499106bbd7db3a2fc16e620aaf1aa8cedd959715941be33bb00027
5
5
  SHA512:
6
- metadata.gz: 375e0d5a680bb7acee8526f51a4ddffc45a7168a029774655f06fbadd2cd220a2495a90823ee1234c91ad7029b29b02f6a3c17501ee28d3a7c92263507895273
7
- data.tar.gz: da4d505ca76747c0caa50993254186cb49dde43226083c2d2057843e064c5b1dd95d1c8be6e8de88657867030de8d4a6c9a9638a2616006603831e561db0f44e
6
+ metadata.gz: 25a75858f62dcaac0445729cebbbd997cdde58931c893c9678f49f97ee76d8c4ae3b502f45a41d96e61205fda1e3329974b89a3120f0b1ff2060b8e6f8900601
7
+ data.tar.gz: 1d300ade65197eadbf8d83110af31c475c7bdeee0ed057a4acae21de6615e462b82ef26350205e7d7e50dcfee70b54b52f5266916b1608a21175be5a05decfd9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.33.0 (2022-05-26)
4
+
5
+ * Regenerated from discovery document revision 20220524
6
+
7
+ ### v0.32.0 (2022-04-13)
8
+
9
+ * Regenerated from discovery document revision 20220404
10
+
11
+ ### v0.31.0 (2022-04-01)
12
+
13
+ * Regenerated from discovery document revision 20220330
14
+
3
15
  ### v0.30.0 (2022-03-22)
4
16
 
5
17
  * Regenerated from discovery document revision 20220314
@@ -161,14 +161,14 @@ module Google
161
161
  class AppVersion
162
162
  include Google::Apis::Core::Hashable
163
163
 
164
- # True if this version is a production track.
164
+ # If the value is True, it indicates that this version is a production track.
165
165
  # Corresponds to the JSON property `production`
166
166
  # @return [Boolean]
167
167
  attr_accessor :production
168
168
  alias_method :production?, :production
169
169
 
170
- # Track ids that the app version is published in. This doesn't include the
171
- # production track (see production instead).
170
+ # Track identifiers that the app version is published in. This does not include
171
+ # the production track (see production instead).
172
172
  # Corresponds to the JSON property `trackIds`
173
173
  # @return [Array<String>]
174
174
  attr_accessor :track_ids
@@ -260,7 +260,7 @@ module Google
260
260
  attr_accessor :full_description
261
261
 
262
262
  # A link to an image that can be used as an icon for the app. This image is
263
- # suitable for use at up to 512px x 512px
263
+ # suitable for use up to a pixel size of 512 x 512.
264
264
  # Corresponds to the JSON property `iconUrl`
265
265
  # @return [String]
266
266
  attr_accessor :icon_url
@@ -302,7 +302,7 @@ module Google
302
302
  attr_accessor :screenshot_urls
303
303
 
304
304
  # A link to a smaller image that can be used as an icon for the app. This image
305
- # is suitable for use at up to 128px x 128px.
305
+ # is suitable for use up to a pixel size of 128 x 128.
306
306
  # Corresponds to the JSON property `smallIconUrl`
307
307
  # @return [String]
308
308
  attr_accessor :small_icon_url
@@ -1421,8 +1421,7 @@ module Google
1421
1421
  # A generic empty message that you can re-use to avoid defining duplicated empty
1422
1422
  # messages in your APIs. A typical example is to use it as the request or the
1423
1423
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1424
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1425
- # Empty is empty JSON object ``.
1424
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1426
1425
  class Empty
1427
1426
  include Google::Apis::Core::Hashable
1428
1427
 
@@ -1579,9 +1578,9 @@ module Google
1579
1578
  # @return [Fixnum]
1580
1579
  attr_accessor :primary_color
1581
1580
 
1582
- # The topic that Cloud Pub/Sub notifications are published to, in the form
1583
- # projects/`project`/topics/`topic`. This field is only required if Pub/Sub
1584
- # notifications are enabled.
1581
+ # The topic which Pub/Sub notifications are published to, in the form projects/`
1582
+ # project`/topics/`topic`. This field is only required if Pub/Sub notifications
1583
+ # are enabled.
1585
1584
  # Corresponds to the JSON property `pubsubTopic`
1586
1585
  # @return [String]
1587
1586
  attr_accessor :pubsub_topic
@@ -1627,7 +1626,7 @@ module Google
1627
1626
  # @return [String]
1628
1627
  attr_accessor :notification_receiver
1629
1628
 
1630
- # Hex-encoded SHA256 hash of the signing certificate of the extension app. Only
1629
+ # Hex-encoded SHA-256 hash of the signing certificate of the extension app. Only
1631
1630
  # hexadecimal string representations of 64 characters are valid.If not specified,
1632
1631
  # the signature for the corresponding package name is obtained from the Play
1633
1632
  # Store instead.If this list is empty, the signature of the extension app on the
@@ -2659,6 +2658,16 @@ module Google
2659
2658
  # @return [String]
2660
2659
  attr_accessor :require_password_unlock
2661
2660
 
2661
+ # Controls whether a unified lock is allowed for the device and the work profile,
2662
+ # on devices running Android 9 and above with a work profile. This can be set
2663
+ # only if password_scope is set to SCOPE_PROFILE, the policy will be rejected
2664
+ # otherwise. If user has not set a separate work lock and this field is set to
2665
+ # REQUIRE_SEPARATE_WORK_LOCK, a NonComplianceDetail is reported with
2666
+ # nonComplianceReason set to USER_ACTION.
2667
+ # Corresponds to the JSON property `unifiedLockSettings`
2668
+ # @return [String]
2669
+ attr_accessor :unified_lock_settings
2670
+
2662
2671
  def initialize(**args)
2663
2672
  update!(**args)
2664
2673
  end
@@ -2678,6 +2687,7 @@ module Google
2678
2687
  @password_quality = args[:password_quality] if args.key?(:password_quality)
2679
2688
  @password_scope = args[:password_scope] if args.key?(:password_scope)
2680
2689
  @require_password_unlock = args[:require_password_unlock] if args.key?(:require_password_unlock)
2690
+ @unified_lock_settings = args[:unified_lock_settings] if args.key?(:unified_lock_settings)
2681
2691
  end
2682
2692
  end
2683
2693
 
@@ -3350,6 +3360,13 @@ module Google
3350
3360
  attr_accessor :unmute_microphone_disabled
3351
3361
  alias_method :unmute_microphone_disabled?, :unmute_microphone_disabled
3352
3362
 
3363
+ # Controls types of device activity logs collected from the device and reported
3364
+ # via Pub/Sub notification (https://developers.google.com/android/management/
3365
+ # notifications).
3366
+ # Corresponds to the JSON property `usageLog`
3367
+ # @return [Google::Apis::AndroidmanagementV1::UsageLog]
3368
+ attr_accessor :usage_log
3369
+
3353
3370
  # Whether transferring files over USB is disabled.
3354
3371
  # Corresponds to the JSON property `usbFileTransferDisabled`
3355
3372
  # @return [Boolean]
@@ -3476,6 +3493,7 @@ module Google
3476
3493
  @tethering_config_disabled = args[:tethering_config_disabled] if args.key?(:tethering_config_disabled)
3477
3494
  @uninstall_apps_disabled = args[:uninstall_apps_disabled] if args.key?(:uninstall_apps_disabled)
3478
3495
  @unmute_microphone_disabled = args[:unmute_microphone_disabled] if args.key?(:unmute_microphone_disabled)
3496
+ @usage_log = args[:usage_log] if args.key?(:usage_log)
3479
3497
  @usb_file_transfer_disabled = args[:usb_file_transfer_disabled] if args.key?(:usb_file_transfer_disabled)
3480
3498
  @usb_mass_storage_enabled = args[:usb_mass_storage_enabled] if args.key?(:usb_mass_storage_enabled)
3481
3499
  @version = args[:version] if args.key?(:version)
@@ -4096,6 +4114,35 @@ module Google
4096
4114
  end
4097
4115
  end
4098
4116
 
4117
+ # Controls types of device activity logs collected from the device and reported
4118
+ # via Pub/Sub notification (https://developers.google.com/android/management/
4119
+ # notifications).
4120
+ class UsageLog
4121
+ include Google::Apis::Core::Hashable
4122
+
4123
+ # Specifies which log types are enabled. Note that users will receive on-device
4124
+ # messaging when usage logging is enabled.
4125
+ # Corresponds to the JSON property `enabledLogTypes`
4126
+ # @return [Array<String>]
4127
+ attr_accessor :enabled_log_types
4128
+
4129
+ # Specifies which of the enabled log types can be uploaded over mobile data. By
4130
+ # default logs are queued for upload when the device connects to WiFi.
4131
+ # Corresponds to the JSON property `uploadOnCellularAllowed`
4132
+ # @return [Array<String>]
4133
+ attr_accessor :upload_on_cellular_allowed
4134
+
4135
+ def initialize(**args)
4136
+ update!(**args)
4137
+ end
4138
+
4139
+ # Update properties of this object
4140
+ def update!(**args)
4141
+ @enabled_log_types = args[:enabled_log_types] if args.key?(:enabled_log_types)
4142
+ @upload_on_cellular_allowed = args[:upload_on_cellular_allowed] if args.key?(:upload_on_cellular_allowed)
4143
+ end
4144
+ end
4145
+
4099
4146
  # A user belonging to an enterprise.
4100
4147
  class User
4101
4148
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AndroidmanagementV1
18
18
  # Version of the google-apis-androidmanagement_v1 gem
19
- GEM_VERSION = "0.30.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220314"
25
+ REVISION = "20220524"
26
26
  end
27
27
  end
28
28
  end
@@ -454,6 +454,12 @@ module Google
454
454
  include Google::Apis::Core::JsonObjectSupport
455
455
  end
456
456
 
457
+ class UsageLog
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
457
463
  class User
458
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
465
 
@@ -1114,6 +1120,7 @@ module Google
1114
1120
  property :password_quality, as: 'passwordQuality'
1115
1121
  property :password_scope, as: 'passwordScope'
1116
1122
  property :require_password_unlock, as: 'requirePasswordUnlock'
1123
+ property :unified_lock_settings, as: 'unifiedLockSettings'
1117
1124
  end
1118
1125
  end
1119
1126
 
@@ -1262,6 +1269,8 @@ module Google
1262
1269
  property :tethering_config_disabled, as: 'tetheringConfigDisabled'
1263
1270
  property :uninstall_apps_disabled, as: 'uninstallAppsDisabled'
1264
1271
  property :unmute_microphone_disabled, as: 'unmuteMicrophoneDisabled'
1272
+ property :usage_log, as: 'usageLog', class: Google::Apis::AndroidmanagementV1::UsageLog, decorator: Google::Apis::AndroidmanagementV1::UsageLog::Representation
1273
+
1265
1274
  property :usb_file_transfer_disabled, as: 'usbFileTransferDisabled'
1266
1275
  property :usb_mass_storage_enabled, as: 'usbMassStorageEnabled'
1267
1276
  property :version, :numeric_string => true, as: 'version'
@@ -1431,6 +1440,14 @@ module Google
1431
1440
  end
1432
1441
  end
1433
1442
 
1443
+ class UsageLog
1444
+ # @private
1445
+ class Representation < Google::Apis::Core::JsonRepresentation
1446
+ collection :enabled_log_types, as: 'enabledLogTypes'
1447
+ collection :upload_on_cellular_allowed, as: 'uploadOnCellularAllowed'
1448
+ end
1449
+ end
1450
+
1434
1451
  class User
1435
1452
  # @private
1436
1453
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -54,17 +54,25 @@ module Google
54
54
  # @param [Google::Apis::AndroidmanagementV1::Enterprise] enterprise_object
55
55
  # @param [Boolean] agreement_accepted
56
56
  # Whether the enterprise admin has seen and agreed to the managed Google Play
57
- # Agreement (https://www.android.com/enterprise/terms/). Always set this to true
58
- # when creating an EMM-managed enterprise. Do not create the enterprise until
59
- # the admin has viewed and accepted the agreement.
57
+ # Agreement (https://www.android.com/enterprise/terms/). Do not set this field
58
+ # for any customer-managed enterprise (https://developers.google.com/android/
59
+ # management/create-enterprise#customer-managed_enterprises). Set this to field
60
+ # to true for all EMM-managed enterprises (https://developers.google.com/android/
61
+ # management/create-enterprise#emm-managed_enterprises).
60
62
  # @param [String] enterprise_token
61
- # The enterprise token appended to the callback URL. Only set this when creating
62
- # a customer-managed enterprise.
63
+ # The enterprise token appended to the callback URL. Set this when creating a
64
+ # customer-managed enterprise (https://developers.google.com/android/management/
65
+ # create-enterprise#customer-managed_enterprises) and not when creating a
66
+ # deprecated EMM-managed enterprise (https://developers.google.com/android/
67
+ # management/create-enterprise#emm-managed_enterprises).
63
68
  # @param [String] project_id
64
69
  # The ID of the Google Cloud Platform project which will own the enterprise.
65
70
  # @param [String] signup_url_name
66
- # The name of the SignupUrl used to sign up for the enterprise. Only set this
67
- # when creating a customer-managed enterprise.
71
+ # The name of the SignupUrl used to sign up for the enterprise. Set this when
72
+ # creating a customer-managed enterprise (https://developers.google.com/android/
73
+ # management/create-enterprise#customer-managed_enterprises) and not when
74
+ # creating a deprecated EMM-managed enterprise (https://developers.google.com/
75
+ # android/management/create-enterprise#emm-managed_enterprises).
68
76
  # @param [String] fields
69
77
  # Selector specifying which fields to include in a partial response.
70
78
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androidmanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.33.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: 2022-03-28 00:00:00.000000000 Z
11
+ date: 2022-05-30 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-androidmanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Android Management API V1