google-apis-androidmanagement_v1 0.56.0 → 0.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9a05fbb9b86f3de7e618144fa3262572b5c62ee5724eff55c63f5e809be7410
4
- data.tar.gz: 07e8a126ef9474d6f7a4b99e244b589f17c9b7b74d86553cc526211b2486ac5b
3
+ metadata.gz: 6819d7c8c2d9c344b3d7e1be9135e49b0ff8b1b688d78d6b8c53aeaed901661c
4
+ data.tar.gz: 83a69da046ca991faf459d4b2a52602c9f53da63c4185ac5d106cbb5eb648ff8
5
5
  SHA512:
6
- metadata.gz: 3a4dc5368d0c65aad56da0acb14eee33797f6c4304a87b839b758becd5d5f93eac393a99964504681f33e85347cfe6034aa892a81589641ca9e8ddb982db3447
7
- data.tar.gz: 7f278269107407aa624db6f8c8cb16e9dea5792090d949044fe7b9abacefa74cfa0ff8d9e2db023f7107bd9b5d7e367f972701ca3a0e277e18342a1d588f49cc
6
+ metadata.gz: 4d6bd8e2d28c3795f6ae01ebd4f2cce81402c6454f10da2bf5640db6a609e2f49618d6da5631ed7fb9679f09e0834c19d5df987ade8b27c6add3ae834b91c608
7
+ data.tar.gz: ad56468d916c86ee7cc5f8e7cd53ffc073f3226f2fde3505017eda32bb00dc2d76c0bcd741ebdd0d46ff3f1a82faeebaedc1cdd08dcbf0cef83d52bc09c0110f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.58.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230731
6
+
7
+ ### v0.57.0 (2023-08-06)
8
+
9
+ * Regenerated from discovery document revision 20230724
10
+
3
11
  ### v0.56.0 (2023-07-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230705
@@ -1089,6 +1089,29 @@ module Google
1089
1089
  # @return [Array<String>]
1090
1090
  attr_accessor :reset_password_flags
1091
1091
 
1092
+ # Parameters associated with the START_LOST_MODE command to put the device into
1093
+ # lost mode. At least one of the parameters, not including the organization name,
1094
+ # must be provided in order for the device to be put into lost mode.
1095
+ # Corresponds to the JSON property `startLostModeParams`
1096
+ # @return [Google::Apis::AndroidmanagementV1::StartLostModeParams]
1097
+ attr_accessor :start_lost_mode_params
1098
+
1099
+ # Status of the START_LOST_MODE command to put the device into lost mode.
1100
+ # Corresponds to the JSON property `startLostModeStatus`
1101
+ # @return [Google::Apis::AndroidmanagementV1::StartLostModeStatus]
1102
+ attr_accessor :start_lost_mode_status
1103
+
1104
+ # Parameters associated with the STOP_LOST_MODE command to take the device out
1105
+ # of lost mode.
1106
+ # Corresponds to the JSON property `stopLostModeParams`
1107
+ # @return [Google::Apis::AndroidmanagementV1::StopLostModeParams]
1108
+ attr_accessor :stop_lost_mode_params
1109
+
1110
+ # Status of the STOP_LOST_MODE command to take the device out of lost mode.
1111
+ # Corresponds to the JSON property `stopLostModeStatus`
1112
+ # @return [Google::Apis::AndroidmanagementV1::StopLostModeStatus]
1113
+ attr_accessor :stop_lost_mode_status
1114
+
1092
1115
  # The type of the command.
1093
1116
  # Corresponds to the JSON property `type`
1094
1117
  # @return [String]
@@ -1114,6 +1137,10 @@ module Google
1114
1137
  @error_code = args[:error_code] if args.key?(:error_code)
1115
1138
  @new_password = args[:new_password] if args.key?(:new_password)
1116
1139
  @reset_password_flags = args[:reset_password_flags] if args.key?(:reset_password_flags)
1140
+ @start_lost_mode_params = args[:start_lost_mode_params] if args.key?(:start_lost_mode_params)
1141
+ @start_lost_mode_status = args[:start_lost_mode_status] if args.key?(:start_lost_mode_status)
1142
+ @stop_lost_mode_params = args[:stop_lost_mode_params] if args.key?(:stop_lost_mode_params)
1143
+ @stop_lost_mode_status = args[:stop_lost_mode_status] if args.key?(:stop_lost_mode_status)
1117
1144
  @type = args[:type] if args.key?(:type)
1118
1145
  @user_name = args[:user_name] if args.key?(:user_name)
1119
1146
  end
@@ -1730,6 +1757,11 @@ module Google
1730
1757
  class DeviceRadioState
1731
1758
  include Google::Apis::Core::Hashable
1732
1759
 
1760
+ # Controls whether airplane mode can be toggled by the user or not
1761
+ # Corresponds to the JSON property `airplaneModeState`
1762
+ # @return [String]
1763
+ attr_accessor :airplane_mode_state
1764
+
1733
1765
  # Controls current state of Wi-Fi and if user can change its state.
1734
1766
  # Corresponds to the JSON property `wifiState`
1735
1767
  # @return [String]
@@ -1741,6 +1773,7 @@ module Google
1741
1773
 
1742
1774
  # Update properties of this object
1743
1775
  def update!(**args)
1776
+ @airplane_mode_state = args[:airplane_mode_state] if args.key?(:airplane_mode_state)
1744
1777
  @wifi_state = args[:wifi_state] if args.key?(:wifi_state)
1745
1778
  end
1746
1779
  end
@@ -1918,6 +1951,21 @@ module Google
1918
1951
  end
1919
1952
  end
1920
1953
 
1954
+ # Represents that the device has completed enrollment. User should be in the
1955
+ # launcher at this point, device at this point will be compliant and all setup
1956
+ # steps have been completed. Intentionally empty.
1957
+ class EnrollmentCompleteEvent
1958
+ include Google::Apis::Core::Hashable
1959
+
1960
+ def initialize(**args)
1961
+ update!(**args)
1962
+ end
1963
+
1964
+ # Update properties of this object
1965
+ def update!(**args)
1966
+ end
1967
+ end
1968
+
1921
1969
  # An enrollment token.
1922
1970
  class EnrollmentToken
1923
1971
  include Google::Apis::Core::Hashable
@@ -2909,6 +2957,31 @@ module Google
2909
2957
  end
2910
2958
  end
2911
2959
 
2960
+ # The device location containing the latitude and longitude.
2961
+ class Location
2962
+ include Google::Apis::Core::Hashable
2963
+
2964
+ # The latitude position of the location
2965
+ # Corresponds to the JSON property `latitude`
2966
+ # @return [Float]
2967
+ attr_accessor :latitude
2968
+
2969
+ # The longitude position of the location
2970
+ # Corresponds to the JSON property `longitude`
2971
+ # @return [Float]
2972
+ attr_accessor :longitude
2973
+
2974
+ def initialize(**args)
2975
+ update!(**args)
2976
+ end
2977
+
2978
+ # Update properties of this object
2979
+ def update!(**args)
2980
+ @latitude = args[:latitude] if args.key?(:latitude)
2981
+ @longitude = args[:longitude] if args.key?(:longitude)
2982
+ end
2983
+ end
2984
+
2912
2985
  # The usageLog buffer on the device has reached 90% of its capacity, therefore
2913
2986
  # older events may be dropped. Intentionally empty.
2914
2987
  class LogBufferSizeCriticalEvent
@@ -2949,6 +3022,46 @@ module Google
2949
3022
  end
2950
3023
  end
2951
3024
 
3025
+ # A lost mode event containing the device location and battery level as a
3026
+ # percentage.
3027
+ class LostModeLocationEvent
3028
+ include Google::Apis::Core::Hashable
3029
+
3030
+ # The battery level as a number between 0 and 100 inclusive
3031
+ # Corresponds to the JSON property `batteryLevel`
3032
+ # @return [Fixnum]
3033
+ attr_accessor :battery_level
3034
+
3035
+ # The device location containing the latitude and longitude.
3036
+ # Corresponds to the JSON property `location`
3037
+ # @return [Google::Apis::AndroidmanagementV1::Location]
3038
+ attr_accessor :location
3039
+
3040
+ def initialize(**args)
3041
+ update!(**args)
3042
+ end
3043
+
3044
+ # Update properties of this object
3045
+ def update!(**args)
3046
+ @battery_level = args[:battery_level] if args.key?(:battery_level)
3047
+ @location = args[:location] if args.key?(:location)
3048
+ end
3049
+ end
3050
+
3051
+ # An event indicating an outgoing phone call has been made when a device is in
3052
+ # lost mode. Intentionally empty.
3053
+ class LostModeOutgoingPhoneCallEvent
3054
+ include Google::Apis::Core::Hashable
3055
+
3056
+ def initialize(**args)
3057
+ update!(**args)
3058
+ end
3059
+
3060
+ # Update properties of this object
3061
+ def update!(**args)
3062
+ end
3063
+ end
3064
+
2952
3065
  # The managed configurations template for the app, saved from the managed
2953
3066
  # configurations iframe.
2954
3067
  class ManagedConfigurationTemplate
@@ -4590,13 +4703,7 @@ module Google
4590
4703
  # @return [Fixnum]
4591
4704
  attr_accessor :api_level
4592
4705
 
4593
- # The email address of the authenticated user (only present for Google Account
4594
- # provisioning method).
4595
- # Corresponds to the JSON property `authenticatedUserEmail`
4596
- # @return [String]
4597
- attr_accessor :authenticated_user_email
4598
-
4599
- # Brand of the device. For example, Google.
4706
+ # The brand of the device. For example, Google.
4600
4707
  # Corresponds to the JSON property `brand`
4601
4708
  # @return [String]
4602
4709
  attr_accessor :brand
@@ -4633,7 +4740,6 @@ module Google
4633
4740
  # Update properties of this object
4634
4741
  def update!(**args)
4635
4742
  @api_level = args[:api_level] if args.key?(:api_level)
4636
- @authenticated_user_email = args[:authenticated_user_email] if args.key?(:authenticated_user_email)
4637
4743
  @brand = args[:brand] if args.key?(:brand)
4638
4744
  @enterprise = args[:enterprise] if args.key?(:enterprise)
4639
4745
  @management_mode = args[:management_mode] if args.key?(:management_mode)
@@ -4958,6 +5064,74 @@ module Google
4958
5064
  end
4959
5065
  end
4960
5066
 
5067
+ # Parameters associated with the START_LOST_MODE command to put the device into
5068
+ # lost mode. At least one of the parameters, not including the organization name,
5069
+ # must be provided in order for the device to be put into lost mode.
5070
+ class StartLostModeParams
5071
+ include Google::Apis::Core::Hashable
5072
+
5073
+ # The email address displayed to the user when the device is in lost mode.
5074
+ # Corresponds to the JSON property `lostEmailAddress`
5075
+ # @return [String]
5076
+ attr_accessor :lost_email_address
5077
+
5078
+ # Provides a user-facing message with locale info. The maximum message length is
5079
+ # 4096 characters.
5080
+ # Corresponds to the JSON property `lostMessage`
5081
+ # @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
5082
+ attr_accessor :lost_message
5083
+
5084
+ # Provides a user-facing message with locale info. The maximum message length is
5085
+ # 4096 characters.
5086
+ # Corresponds to the JSON property `lostOrganization`
5087
+ # @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
5088
+ attr_accessor :lost_organization
5089
+
5090
+ # Provides a user-facing message with locale info. The maximum message length is
5091
+ # 4096 characters.
5092
+ # Corresponds to the JSON property `lostPhoneNumber`
5093
+ # @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
5094
+ attr_accessor :lost_phone_number
5095
+
5096
+ # Provides a user-facing message with locale info. The maximum message length is
5097
+ # 4096 characters.
5098
+ # Corresponds to the JSON property `lostStreetAddress`
5099
+ # @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
5100
+ attr_accessor :lost_street_address
5101
+
5102
+ def initialize(**args)
5103
+ update!(**args)
5104
+ end
5105
+
5106
+ # Update properties of this object
5107
+ def update!(**args)
5108
+ @lost_email_address = args[:lost_email_address] if args.key?(:lost_email_address)
5109
+ @lost_message = args[:lost_message] if args.key?(:lost_message)
5110
+ @lost_organization = args[:lost_organization] if args.key?(:lost_organization)
5111
+ @lost_phone_number = args[:lost_phone_number] if args.key?(:lost_phone_number)
5112
+ @lost_street_address = args[:lost_street_address] if args.key?(:lost_street_address)
5113
+ end
5114
+ end
5115
+
5116
+ # Status of the START_LOST_MODE command to put the device into lost mode.
5117
+ class StartLostModeStatus
5118
+ include Google::Apis::Core::Hashable
5119
+
5120
+ # The status. See StartLostModeStatus.
5121
+ # Corresponds to the JSON property `status`
5122
+ # @return [String]
5123
+ attr_accessor :status
5124
+
5125
+ def initialize(**args)
5126
+ update!(**args)
5127
+ end
5128
+
5129
+ # Update properties of this object
5130
+ def update!(**args)
5131
+ @status = args[:status] if args.key?(:status)
5132
+ end
5133
+ end
5134
+
4961
5135
  # The Status type defines a logical error model that is suitable for different
4962
5136
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
4963
5137
  # (https://github.com/grpc). Each Status message contains three pieces of data:
@@ -5089,6 +5263,58 @@ module Google
5089
5263
  end
5090
5264
  end
5091
5265
 
5266
+ # Parameters associated with the STOP_LOST_MODE command to take the device out
5267
+ # of lost mode.
5268
+ class StopLostModeParams
5269
+ include Google::Apis::Core::Hashable
5270
+
5271
+ def initialize(**args)
5272
+ update!(**args)
5273
+ end
5274
+
5275
+ # Update properties of this object
5276
+ def update!(**args)
5277
+ end
5278
+ end
5279
+
5280
+ # Status of the STOP_LOST_MODE command to take the device out of lost mode.
5281
+ class StopLostModeStatus
5282
+ include Google::Apis::Core::Hashable
5283
+
5284
+ # The status. See StopLostModeStatus.
5285
+ # Corresponds to the JSON property `status`
5286
+ # @return [String]
5287
+ attr_accessor :status
5288
+
5289
+ def initialize(**args)
5290
+ update!(**args)
5291
+ end
5292
+
5293
+ # Update properties of this object
5294
+ def update!(**args)
5295
+ @status = args[:status] if args.key?(:status)
5296
+ end
5297
+ end
5298
+
5299
+ # A lost mode event indicating the user has attempted to stop lost mode.
5300
+ class StopLostModeUserAttemptEvent
5301
+ include Google::Apis::Core::Hashable
5302
+
5303
+ # The status of the attempt to stop lost mode.
5304
+ # Corresponds to the JSON property `status`
5305
+ # @return [String]
5306
+ attr_accessor :status
5307
+
5308
+ def initialize(**args)
5309
+ update!(**args)
5310
+ end
5311
+
5312
+ # Update properties of this object
5313
+ def update!(**args)
5314
+ @status = args[:status] if args.key?(:status)
5315
+ end
5316
+ end
5317
+
5092
5318
  # Configuration for managing system updates
5093
5319
  class SystemUpdate
5094
5320
  include Google::Apis::Core::Hashable
@@ -5305,6 +5531,13 @@ module Google
5305
5531
  # @return [Google::Apis::AndroidmanagementV1::DnsEvent]
5306
5532
  attr_accessor :dns_event
5307
5533
 
5534
+ # Represents that the device has completed enrollment. User should be in the
5535
+ # launcher at this point, device at this point will be compliant and all setup
5536
+ # steps have been completed. Intentionally empty.
5537
+ # Corresponds to the JSON property `enrollmentCompleteEvent`
5538
+ # @return [Google::Apis::AndroidmanagementV1::EnrollmentCompleteEvent]
5539
+ attr_accessor :enrollment_complete_event
5540
+
5308
5541
  # Unique id of the event.
5309
5542
  # Corresponds to the JSON property `eventId`
5310
5543
  # @return [Fixnum]
@@ -5395,6 +5628,18 @@ module Google
5395
5628
  # @return [Google::Apis::AndroidmanagementV1::LoggingStoppedEvent]
5396
5629
  attr_accessor :logging_stopped_event
5397
5630
 
5631
+ # A lost mode event containing the device location and battery level as a
5632
+ # percentage.
5633
+ # Corresponds to the JSON property `lostModeLocationEvent`
5634
+ # @return [Google::Apis::AndroidmanagementV1::LostModeLocationEvent]
5635
+ attr_accessor :lost_mode_location_event
5636
+
5637
+ # An event indicating an outgoing phone call has been made when a device is in
5638
+ # lost mode. Intentionally empty.
5639
+ # Corresponds to the JSON property `lostModeOutgoingPhoneCallEvent`
5640
+ # @return [Google::Apis::AndroidmanagementV1::LostModeOutgoingPhoneCallEvent]
5641
+ attr_accessor :lost_mode_outgoing_phone_call_event
5642
+
5398
5643
  # Removable media was mounted.
5399
5644
  # Corresponds to the JSON property `mediaMountEvent`
5400
5645
  # @return [Google::Apis::AndroidmanagementV1::MediaMountEvent]
@@ -5420,6 +5665,11 @@ module Google
5420
5665
  # @return [Google::Apis::AndroidmanagementV1::RemoteLockEvent]
5421
5666
  attr_accessor :remote_lock_event
5422
5667
 
5668
+ # A lost mode event indicating the user has attempted to stop lost mode.
5669
+ # Corresponds to the JSON property `stopLostModeUserAttemptEvent`
5670
+ # @return [Google::Apis::AndroidmanagementV1::StopLostModeUserAttemptEvent]
5671
+ attr_accessor :stop_lost_mode_user_attempt_event
5672
+
5423
5673
  # The work profile or company-owned device failed to wipe when requested. This
5424
5674
  # could be user initiated or admin initiated e.g. delete was received.
5425
5675
  # Intentionally empty.
@@ -5442,6 +5692,7 @@ module Google
5442
5692
  @connect_event = args[:connect_event] if args.key?(:connect_event)
5443
5693
  @crypto_self_test_completed_event = args[:crypto_self_test_completed_event] if args.key?(:crypto_self_test_completed_event)
5444
5694
  @dns_event = args[:dns_event] if args.key?(:dns_event)
5695
+ @enrollment_complete_event = args[:enrollment_complete_event] if args.key?(:enrollment_complete_event)
5445
5696
  @event_id = args[:event_id] if args.key?(:event_id)
5446
5697
  @event_time = args[:event_time] if args.key?(:event_time)
5447
5698
  @event_type = args[:event_type] if args.key?(:event_type)
@@ -5457,11 +5708,14 @@ module Google
5457
5708
  @log_buffer_size_critical_event = args[:log_buffer_size_critical_event] if args.key?(:log_buffer_size_critical_event)
5458
5709
  @logging_started_event = args[:logging_started_event] if args.key?(:logging_started_event)
5459
5710
  @logging_stopped_event = args[:logging_stopped_event] if args.key?(:logging_stopped_event)
5711
+ @lost_mode_location_event = args[:lost_mode_location_event] if args.key?(:lost_mode_location_event)
5712
+ @lost_mode_outgoing_phone_call_event = args[:lost_mode_outgoing_phone_call_event] if args.key?(:lost_mode_outgoing_phone_call_event)
5460
5713
  @media_mount_event = args[:media_mount_event] if args.key?(:media_mount_event)
5461
5714
  @media_unmount_event = args[:media_unmount_event] if args.key?(:media_unmount_event)
5462
5715
  @os_shutdown_event = args[:os_shutdown_event] if args.key?(:os_shutdown_event)
5463
5716
  @os_startup_event = args[:os_startup_event] if args.key?(:os_startup_event)
5464
5717
  @remote_lock_event = args[:remote_lock_event] if args.key?(:remote_lock_event)
5718
+ @stop_lost_mode_user_attempt_event = args[:stop_lost_mode_user_attempt_event] if args.key?(:stop_lost_mode_user_attempt_event)
5465
5719
  @wipe_failure_event = args[:wipe_failure_event] if args.key?(:wipe_failure_event)
5466
5720
  end
5467
5721
  end
@@ -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.56.0"
19
+ GEM_VERSION = "0.58.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230705"
25
+ REVISION = "20230731"
26
26
  end
27
27
  end
28
28
  end
@@ -256,6 +256,12 @@ module Google
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
+ class EnrollmentCompleteEvent
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
259
265
  class EnrollmentToken
260
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
267
 
@@ -412,6 +418,12 @@ module Google
412
418
  include Google::Apis::Core::JsonObjectSupport
413
419
  end
414
420
 
421
+ class Location
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
415
427
  class LogBufferSizeCriticalEvent
416
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
429
 
@@ -430,6 +442,18 @@ module Google
430
442
  include Google::Apis::Core::JsonObjectSupport
431
443
  end
432
444
 
445
+ class LostModeLocationEvent
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class LostModeOutgoingPhoneCallEvent
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
433
457
  class ManagedConfigurationTemplate
434
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
459
 
@@ -646,6 +670,18 @@ module Google
646
670
  include Google::Apis::Core::JsonObjectSupport
647
671
  end
648
672
 
673
+ class StartLostModeParams
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
679
+ class StartLostModeStatus
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
649
685
  class Status
650
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
687
 
@@ -658,6 +694,24 @@ module Google
658
694
  include Google::Apis::Core::JsonObjectSupport
659
695
  end
660
696
 
697
+ class StopLostModeParams
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
703
+ class StopLostModeStatus
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
709
+ class StopLostModeUserAttemptEvent
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
661
715
  class SystemUpdate
662
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
717
 
@@ -995,6 +1049,14 @@ module Google
995
1049
  property :error_code, as: 'errorCode'
996
1050
  property :new_password, as: 'newPassword'
997
1051
  collection :reset_password_flags, as: 'resetPasswordFlags'
1052
+ property :start_lost_mode_params, as: 'startLostModeParams', class: Google::Apis::AndroidmanagementV1::StartLostModeParams, decorator: Google::Apis::AndroidmanagementV1::StartLostModeParams::Representation
1053
+
1054
+ property :start_lost_mode_status, as: 'startLostModeStatus', class: Google::Apis::AndroidmanagementV1::StartLostModeStatus, decorator: Google::Apis::AndroidmanagementV1::StartLostModeStatus::Representation
1055
+
1056
+ property :stop_lost_mode_params, as: 'stopLostModeParams', class: Google::Apis::AndroidmanagementV1::StopLostModeParams, decorator: Google::Apis::AndroidmanagementV1::StopLostModeParams::Representation
1057
+
1058
+ property :stop_lost_mode_status, as: 'stopLostModeStatus', class: Google::Apis::AndroidmanagementV1::StopLostModeStatus, decorator: Google::Apis::AndroidmanagementV1::StopLostModeStatus::Representation
1059
+
998
1060
  property :type, as: 'type'
999
1061
  property :user_name, as: 'userName'
1000
1062
  end
@@ -1146,6 +1208,7 @@ module Google
1146
1208
  class DeviceRadioState
1147
1209
  # @private
1148
1210
  class Representation < Google::Apis::Core::JsonRepresentation
1211
+ property :airplane_mode_state, as: 'airplaneModeState'
1149
1212
  property :wifi_state, as: 'wifiState'
1150
1213
  end
1151
1214
  end
@@ -1192,6 +1255,12 @@ module Google
1192
1255
  end
1193
1256
  end
1194
1257
 
1258
+ class EnrollmentCompleteEvent
1259
+ # @private
1260
+ class Representation < Google::Apis::Core::JsonRepresentation
1261
+ end
1262
+ end
1263
+
1195
1264
  class EnrollmentToken
1196
1265
  # @private
1197
1266
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1448,6 +1517,14 @@ module Google
1448
1517
  end
1449
1518
  end
1450
1519
 
1520
+ class Location
1521
+ # @private
1522
+ class Representation < Google::Apis::Core::JsonRepresentation
1523
+ property :latitude, as: 'latitude'
1524
+ property :longitude, as: 'longitude'
1525
+ end
1526
+ end
1527
+
1451
1528
  class LogBufferSizeCriticalEvent
1452
1529
  # @private
1453
1530
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1466,6 +1543,21 @@ module Google
1466
1543
  end
1467
1544
  end
1468
1545
 
1546
+ class LostModeLocationEvent
1547
+ # @private
1548
+ class Representation < Google::Apis::Core::JsonRepresentation
1549
+ property :battery_level, as: 'batteryLevel'
1550
+ property :location, as: 'location', class: Google::Apis::AndroidmanagementV1::Location, decorator: Google::Apis::AndroidmanagementV1::Location::Representation
1551
+
1552
+ end
1553
+ end
1554
+
1555
+ class LostModeOutgoingPhoneCallEvent
1556
+ # @private
1557
+ class Representation < Google::Apis::Core::JsonRepresentation
1558
+ end
1559
+ end
1560
+
1469
1561
  class ManagedConfigurationTemplate
1470
1562
  # @private
1471
1563
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1842,7 +1934,6 @@ module Google
1842
1934
  # @private
1843
1935
  class Representation < Google::Apis::Core::JsonRepresentation
1844
1936
  property :api_level, as: 'apiLevel'
1845
- property :authenticated_user_email, as: 'authenticatedUserEmail'
1846
1937
  property :brand, as: 'brand'
1847
1938
  property :enterprise, as: 'enterprise'
1848
1939
  property :management_mode, as: 'managementMode'
@@ -1938,6 +2029,28 @@ module Google
1938
2029
  end
1939
2030
  end
1940
2031
 
2032
+ class StartLostModeParams
2033
+ # @private
2034
+ class Representation < Google::Apis::Core::JsonRepresentation
2035
+ property :lost_email_address, as: 'lostEmailAddress'
2036
+ property :lost_message, as: 'lostMessage', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
2037
+
2038
+ property :lost_organization, as: 'lostOrganization', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
2039
+
2040
+ property :lost_phone_number, as: 'lostPhoneNumber', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
2041
+
2042
+ property :lost_street_address, as: 'lostStreetAddress', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
2043
+
2044
+ end
2045
+ end
2046
+
2047
+ class StartLostModeStatus
2048
+ # @private
2049
+ class Representation < Google::Apis::Core::JsonRepresentation
2050
+ property :status, as: 'status'
2051
+ end
2052
+ end
2053
+
1941
2054
  class Status
1942
2055
  # @private
1943
2056
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1965,6 +2078,26 @@ module Google
1965
2078
  end
1966
2079
  end
1967
2080
 
2081
+ class StopLostModeParams
2082
+ # @private
2083
+ class Representation < Google::Apis::Core::JsonRepresentation
2084
+ end
2085
+ end
2086
+
2087
+ class StopLostModeStatus
2088
+ # @private
2089
+ class Representation < Google::Apis::Core::JsonRepresentation
2090
+ property :status, as: 'status'
2091
+ end
2092
+ end
2093
+
2094
+ class StopLostModeUserAttemptEvent
2095
+ # @private
2096
+ class Representation < Google::Apis::Core::JsonRepresentation
2097
+ property :status, as: 'status'
2098
+ end
2099
+ end
2100
+
1968
2101
  class SystemUpdate
1969
2102
  # @private
1970
2103
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2031,6 +2164,8 @@ module Google
2031
2164
 
2032
2165
  property :dns_event, as: 'dnsEvent', class: Google::Apis::AndroidmanagementV1::DnsEvent, decorator: Google::Apis::AndroidmanagementV1::DnsEvent::Representation
2033
2166
 
2167
+ property :enrollment_complete_event, as: 'enrollmentCompleteEvent', class: Google::Apis::AndroidmanagementV1::EnrollmentCompleteEvent, decorator: Google::Apis::AndroidmanagementV1::EnrollmentCompleteEvent::Representation
2168
+
2034
2169
  property :event_id, :numeric_string => true, as: 'eventId'
2035
2170
  property :event_time, as: 'eventTime'
2036
2171
  property :event_type, as: 'eventType'
@@ -2058,6 +2193,10 @@ module Google
2058
2193
 
2059
2194
  property :logging_stopped_event, as: 'loggingStoppedEvent', class: Google::Apis::AndroidmanagementV1::LoggingStoppedEvent, decorator: Google::Apis::AndroidmanagementV1::LoggingStoppedEvent::Representation
2060
2195
 
2196
+ property :lost_mode_location_event, as: 'lostModeLocationEvent', class: Google::Apis::AndroidmanagementV1::LostModeLocationEvent, decorator: Google::Apis::AndroidmanagementV1::LostModeLocationEvent::Representation
2197
+
2198
+ property :lost_mode_outgoing_phone_call_event, as: 'lostModeOutgoingPhoneCallEvent', class: Google::Apis::AndroidmanagementV1::LostModeOutgoingPhoneCallEvent, decorator: Google::Apis::AndroidmanagementV1::LostModeOutgoingPhoneCallEvent::Representation
2199
+
2061
2200
  property :media_mount_event, as: 'mediaMountEvent', class: Google::Apis::AndroidmanagementV1::MediaMountEvent, decorator: Google::Apis::AndroidmanagementV1::MediaMountEvent::Representation
2062
2201
 
2063
2202
  property :media_unmount_event, as: 'mediaUnmountEvent', class: Google::Apis::AndroidmanagementV1::MediaUnmountEvent, decorator: Google::Apis::AndroidmanagementV1::MediaUnmountEvent::Representation
@@ -2068,6 +2207,8 @@ module Google
2068
2207
 
2069
2208
  property :remote_lock_event, as: 'remoteLockEvent', class: Google::Apis::AndroidmanagementV1::RemoteLockEvent, decorator: Google::Apis::AndroidmanagementV1::RemoteLockEvent::Representation
2070
2209
 
2210
+ property :stop_lost_mode_user_attempt_event, as: 'stopLostModeUserAttemptEvent', class: Google::Apis::AndroidmanagementV1::StopLostModeUserAttemptEvent, decorator: Google::Apis::AndroidmanagementV1::StopLostModeUserAttemptEvent::Representation
2211
+
2071
2212
  property :wipe_failure_event, as: 'wipeFailureEvent', class: Google::Apis::AndroidmanagementV1::WipeFailureEvent, decorator: Google::Apis::AndroidmanagementV1::WipeFailureEvent::Representation
2072
2213
 
2073
2214
  end
@@ -1093,8 +1093,8 @@ module Google
1093
1093
  execute_or_queue_command(command, &block)
1094
1094
  end
1095
1095
 
1096
- # Get the device provisioning info by the identifier provided via the sign-in
1097
- # url.
1096
+ # Get the device provisioning information by the identifier provided in the sign-
1097
+ # in url.
1098
1098
  # @param [String] name
1099
1099
  # Required. The identifier that Android Device Policy passes to the 3P sign-in
1100
1100
  # page in the form of provisioningInfo/`provisioning_info`.
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.56.0
4
+ version: 0.58.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-16 00:00:00.000000000 Z
11
+ date: 2023-08-13 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.56.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.58.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: []