google-apis-androidmanagement_v1 0.55.0 → 0.57.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/androidmanagement_v1/classes.rb +293 -0
- data/lib/google/apis/androidmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/androidmanagement_v1/representations.rb +147 -0
- data/lib/google/apis/androidmanagement_v1/service.rb +32 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdc8700470ba4d2f1d8cc8ee0d6f64eea3cddfbc95074be3cda91d9577c8cd16
|
4
|
+
data.tar.gz: 46afc5dec59c19d56db2a0554247353925231e573e888479e24ff6b175cf14bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efa25e8862b8e1a2a4ab340cadd4df3b6a94ea3c989b11aadf58db537dd3a2bdfc3eb93f5f47b5de0935a04e4653274105c5181f77538097c4797da3809055c2
|
7
|
+
data.tar.gz: 5cea90089db24ee92882c85ee824e46d5c5256c25231a7dda0fa826304d7b2b078576cf494093ea5772ed9699b76898f744e22057a8f1c3f9280bf38932968ca
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-androidmanagement_v1
|
2
2
|
|
3
|
+
### v0.57.0 (2023-08-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230724
|
6
|
+
|
7
|
+
### v0.56.0 (2023-07-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230705
|
10
|
+
|
3
11
|
### v0.55.0 (2023-07-09)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230628
|
@@ -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
|
@@ -2909,6 +2942,31 @@ module Google
|
|
2909
2942
|
end
|
2910
2943
|
end
|
2911
2944
|
|
2945
|
+
# The device location containing the latitude and longitude.
|
2946
|
+
class Location
|
2947
|
+
include Google::Apis::Core::Hashable
|
2948
|
+
|
2949
|
+
# The latitude position of the location
|
2950
|
+
# Corresponds to the JSON property `latitude`
|
2951
|
+
# @return [Float]
|
2952
|
+
attr_accessor :latitude
|
2953
|
+
|
2954
|
+
# The longitude position of the location
|
2955
|
+
# Corresponds to the JSON property `longitude`
|
2956
|
+
# @return [Float]
|
2957
|
+
attr_accessor :longitude
|
2958
|
+
|
2959
|
+
def initialize(**args)
|
2960
|
+
update!(**args)
|
2961
|
+
end
|
2962
|
+
|
2963
|
+
# Update properties of this object
|
2964
|
+
def update!(**args)
|
2965
|
+
@latitude = args[:latitude] if args.key?(:latitude)
|
2966
|
+
@longitude = args[:longitude] if args.key?(:longitude)
|
2967
|
+
end
|
2968
|
+
end
|
2969
|
+
|
2912
2970
|
# The usageLog buffer on the device has reached 90% of its capacity, therefore
|
2913
2971
|
# older events may be dropped. Intentionally empty.
|
2914
2972
|
class LogBufferSizeCriticalEvent
|
@@ -2949,6 +3007,46 @@ module Google
|
|
2949
3007
|
end
|
2950
3008
|
end
|
2951
3009
|
|
3010
|
+
# A lost mode event containing the device location and battery level as a
|
3011
|
+
# percentage.
|
3012
|
+
class LostModeLocationEvent
|
3013
|
+
include Google::Apis::Core::Hashable
|
3014
|
+
|
3015
|
+
# The battery level as a number between 0 and 100 inclusive
|
3016
|
+
# Corresponds to the JSON property `batteryLevel`
|
3017
|
+
# @return [Fixnum]
|
3018
|
+
attr_accessor :battery_level
|
3019
|
+
|
3020
|
+
# The device location containing the latitude and longitude.
|
3021
|
+
# Corresponds to the JSON property `location`
|
3022
|
+
# @return [Google::Apis::AndroidmanagementV1::Location]
|
3023
|
+
attr_accessor :location
|
3024
|
+
|
3025
|
+
def initialize(**args)
|
3026
|
+
update!(**args)
|
3027
|
+
end
|
3028
|
+
|
3029
|
+
# Update properties of this object
|
3030
|
+
def update!(**args)
|
3031
|
+
@battery_level = args[:battery_level] if args.key?(:battery_level)
|
3032
|
+
@location = args[:location] if args.key?(:location)
|
3033
|
+
end
|
3034
|
+
end
|
3035
|
+
|
3036
|
+
# An event indicating an outgoing phone call has been made when a device is in
|
3037
|
+
# lost mode. Intentionally empty.
|
3038
|
+
class LostModeOutgoingPhoneCallEvent
|
3039
|
+
include Google::Apis::Core::Hashable
|
3040
|
+
|
3041
|
+
def initialize(**args)
|
3042
|
+
update!(**args)
|
3043
|
+
end
|
3044
|
+
|
3045
|
+
# Update properties of this object
|
3046
|
+
def update!(**args)
|
3047
|
+
end
|
3048
|
+
end
|
3049
|
+
|
2952
3050
|
# The managed configurations template for the app, saved from the managed
|
2953
3051
|
# configurations iframe.
|
2954
3052
|
class ManagedConfigurationTemplate
|
@@ -4581,6 +4679,61 @@ module Google
|
|
4581
4679
|
end
|
4582
4680
|
end
|
4583
4681
|
|
4682
|
+
# Information about a device that is available during setup.
|
4683
|
+
class ProvisioningInfo
|
4684
|
+
include Google::Apis::Core::Hashable
|
4685
|
+
|
4686
|
+
# The API level of the Android platform version running on the device.
|
4687
|
+
# Corresponds to the JSON property `apiLevel`
|
4688
|
+
# @return [Fixnum]
|
4689
|
+
attr_accessor :api_level
|
4690
|
+
|
4691
|
+
# Brand of the device. For example, Google.
|
4692
|
+
# Corresponds to the JSON property `brand`
|
4693
|
+
# @return [String]
|
4694
|
+
attr_accessor :brand
|
4695
|
+
|
4696
|
+
# The name of the enterprise in the form enterprises/`enterprise`.
|
4697
|
+
# Corresponds to the JSON property `enterprise`
|
4698
|
+
# @return [String]
|
4699
|
+
attr_accessor :enterprise
|
4700
|
+
|
4701
|
+
# The management mode of the device or profile.
|
4702
|
+
# Corresponds to the JSON property `managementMode`
|
4703
|
+
# @return [String]
|
4704
|
+
attr_accessor :management_mode
|
4705
|
+
|
4706
|
+
# The model of the device. For example, Asus Nexus 7.
|
4707
|
+
# Corresponds to the JSON property `model`
|
4708
|
+
# @return [String]
|
4709
|
+
attr_accessor :model
|
4710
|
+
|
4711
|
+
# The name of this resource in the form provisioningInfo/`provisioning_info`.
|
4712
|
+
# Corresponds to the JSON property `name`
|
4713
|
+
# @return [String]
|
4714
|
+
attr_accessor :name
|
4715
|
+
|
4716
|
+
# Ownership of the managed device.
|
4717
|
+
# Corresponds to the JSON property `ownership`
|
4718
|
+
# @return [String]
|
4719
|
+
attr_accessor :ownership
|
4720
|
+
|
4721
|
+
def initialize(**args)
|
4722
|
+
update!(**args)
|
4723
|
+
end
|
4724
|
+
|
4725
|
+
# Update properties of this object
|
4726
|
+
def update!(**args)
|
4727
|
+
@api_level = args[:api_level] if args.key?(:api_level)
|
4728
|
+
@brand = args[:brand] if args.key?(:brand)
|
4729
|
+
@enterprise = args[:enterprise] if args.key?(:enterprise)
|
4730
|
+
@management_mode = args[:management_mode] if args.key?(:management_mode)
|
4731
|
+
@model = args[:model] if args.key?(:model)
|
4732
|
+
@name = args[:name] if args.key?(:name)
|
4733
|
+
@ownership = args[:ownership] if args.key?(:ownership)
|
4734
|
+
end
|
4735
|
+
end
|
4736
|
+
|
4584
4737
|
# Configuration info for an HTTP proxy. For a direct proxy, set the host, port,
|
4585
4738
|
# and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.
|
4586
4739
|
class ProxyInfo
|
@@ -4896,6 +5049,74 @@ module Google
|
|
4896
5049
|
end
|
4897
5050
|
end
|
4898
5051
|
|
5052
|
+
# Parameters associated with the START_LOST_MODE command to put the device into
|
5053
|
+
# lost mode. At least one of the parameters, not including the organization name,
|
5054
|
+
# must be provided in order for the device to be put into lost mode.
|
5055
|
+
class StartLostModeParams
|
5056
|
+
include Google::Apis::Core::Hashable
|
5057
|
+
|
5058
|
+
# The email address displayed to the user when the device is in lost mode.
|
5059
|
+
# Corresponds to the JSON property `lostEmailAddress`
|
5060
|
+
# @return [String]
|
5061
|
+
attr_accessor :lost_email_address
|
5062
|
+
|
5063
|
+
# Provides a user-facing message with locale info. The maximum message length is
|
5064
|
+
# 4096 characters.
|
5065
|
+
# Corresponds to the JSON property `lostMessage`
|
5066
|
+
# @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
|
5067
|
+
attr_accessor :lost_message
|
5068
|
+
|
5069
|
+
# Provides a user-facing message with locale info. The maximum message length is
|
5070
|
+
# 4096 characters.
|
5071
|
+
# Corresponds to the JSON property `lostOrganization`
|
5072
|
+
# @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
|
5073
|
+
attr_accessor :lost_organization
|
5074
|
+
|
5075
|
+
# Provides a user-facing message with locale info. The maximum message length is
|
5076
|
+
# 4096 characters.
|
5077
|
+
# Corresponds to the JSON property `lostPhoneNumber`
|
5078
|
+
# @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
|
5079
|
+
attr_accessor :lost_phone_number
|
5080
|
+
|
5081
|
+
# Provides a user-facing message with locale info. The maximum message length is
|
5082
|
+
# 4096 characters.
|
5083
|
+
# Corresponds to the JSON property `lostStreetAddress`
|
5084
|
+
# @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
|
5085
|
+
attr_accessor :lost_street_address
|
5086
|
+
|
5087
|
+
def initialize(**args)
|
5088
|
+
update!(**args)
|
5089
|
+
end
|
5090
|
+
|
5091
|
+
# Update properties of this object
|
5092
|
+
def update!(**args)
|
5093
|
+
@lost_email_address = args[:lost_email_address] if args.key?(:lost_email_address)
|
5094
|
+
@lost_message = args[:lost_message] if args.key?(:lost_message)
|
5095
|
+
@lost_organization = args[:lost_organization] if args.key?(:lost_organization)
|
5096
|
+
@lost_phone_number = args[:lost_phone_number] if args.key?(:lost_phone_number)
|
5097
|
+
@lost_street_address = args[:lost_street_address] if args.key?(:lost_street_address)
|
5098
|
+
end
|
5099
|
+
end
|
5100
|
+
|
5101
|
+
# Status of the START_LOST_MODE command to put the device into lost mode.
|
5102
|
+
class StartLostModeStatus
|
5103
|
+
include Google::Apis::Core::Hashable
|
5104
|
+
|
5105
|
+
# The status. See StartLostModeStatus.
|
5106
|
+
# Corresponds to the JSON property `status`
|
5107
|
+
# @return [String]
|
5108
|
+
attr_accessor :status
|
5109
|
+
|
5110
|
+
def initialize(**args)
|
5111
|
+
update!(**args)
|
5112
|
+
end
|
5113
|
+
|
5114
|
+
# Update properties of this object
|
5115
|
+
def update!(**args)
|
5116
|
+
@status = args[:status] if args.key?(:status)
|
5117
|
+
end
|
5118
|
+
end
|
5119
|
+
|
4899
5120
|
# The Status type defines a logical error model that is suitable for different
|
4900
5121
|
# programming environments, including REST APIs and RPC APIs. It is used by gRPC
|
4901
5122
|
# (https://github.com/grpc). Each Status message contains three pieces of data:
|
@@ -5027,6 +5248,58 @@ module Google
|
|
5027
5248
|
end
|
5028
5249
|
end
|
5029
5250
|
|
5251
|
+
# Parameters associated with the STOP_LOST_MODE command to take the device out
|
5252
|
+
# of lost mode.
|
5253
|
+
class StopLostModeParams
|
5254
|
+
include Google::Apis::Core::Hashable
|
5255
|
+
|
5256
|
+
def initialize(**args)
|
5257
|
+
update!(**args)
|
5258
|
+
end
|
5259
|
+
|
5260
|
+
# Update properties of this object
|
5261
|
+
def update!(**args)
|
5262
|
+
end
|
5263
|
+
end
|
5264
|
+
|
5265
|
+
# Status of the STOP_LOST_MODE command to take the device out of lost mode.
|
5266
|
+
class StopLostModeStatus
|
5267
|
+
include Google::Apis::Core::Hashable
|
5268
|
+
|
5269
|
+
# The status. See StopLostModeStatus.
|
5270
|
+
# Corresponds to the JSON property `status`
|
5271
|
+
# @return [String]
|
5272
|
+
attr_accessor :status
|
5273
|
+
|
5274
|
+
def initialize(**args)
|
5275
|
+
update!(**args)
|
5276
|
+
end
|
5277
|
+
|
5278
|
+
# Update properties of this object
|
5279
|
+
def update!(**args)
|
5280
|
+
@status = args[:status] if args.key?(:status)
|
5281
|
+
end
|
5282
|
+
end
|
5283
|
+
|
5284
|
+
# A lost mode event indicating the user has attempted to stop lost mode.
|
5285
|
+
class StopLostModeUserAttemptEvent
|
5286
|
+
include Google::Apis::Core::Hashable
|
5287
|
+
|
5288
|
+
# The status of the attempt to stop lost mode.
|
5289
|
+
# Corresponds to the JSON property `status`
|
5290
|
+
# @return [String]
|
5291
|
+
attr_accessor :status
|
5292
|
+
|
5293
|
+
def initialize(**args)
|
5294
|
+
update!(**args)
|
5295
|
+
end
|
5296
|
+
|
5297
|
+
# Update properties of this object
|
5298
|
+
def update!(**args)
|
5299
|
+
@status = args[:status] if args.key?(:status)
|
5300
|
+
end
|
5301
|
+
end
|
5302
|
+
|
5030
5303
|
# Configuration for managing system updates
|
5031
5304
|
class SystemUpdate
|
5032
5305
|
include Google::Apis::Core::Hashable
|
@@ -5333,6 +5606,18 @@ module Google
|
|
5333
5606
|
# @return [Google::Apis::AndroidmanagementV1::LoggingStoppedEvent]
|
5334
5607
|
attr_accessor :logging_stopped_event
|
5335
5608
|
|
5609
|
+
# A lost mode event containing the device location and battery level as a
|
5610
|
+
# percentage.
|
5611
|
+
# Corresponds to the JSON property `lostModeLocationEvent`
|
5612
|
+
# @return [Google::Apis::AndroidmanagementV1::LostModeLocationEvent]
|
5613
|
+
attr_accessor :lost_mode_location_event
|
5614
|
+
|
5615
|
+
# An event indicating an outgoing phone call has been made when a device is in
|
5616
|
+
# lost mode. Intentionally empty.
|
5617
|
+
# Corresponds to the JSON property `lostModeOutgoingPhoneCallEvent`
|
5618
|
+
# @return [Google::Apis::AndroidmanagementV1::LostModeOutgoingPhoneCallEvent]
|
5619
|
+
attr_accessor :lost_mode_outgoing_phone_call_event
|
5620
|
+
|
5336
5621
|
# Removable media was mounted.
|
5337
5622
|
# Corresponds to the JSON property `mediaMountEvent`
|
5338
5623
|
# @return [Google::Apis::AndroidmanagementV1::MediaMountEvent]
|
@@ -5358,6 +5643,11 @@ module Google
|
|
5358
5643
|
# @return [Google::Apis::AndroidmanagementV1::RemoteLockEvent]
|
5359
5644
|
attr_accessor :remote_lock_event
|
5360
5645
|
|
5646
|
+
# A lost mode event indicating the user has attempted to stop lost mode.
|
5647
|
+
# Corresponds to the JSON property `stopLostModeUserAttemptEvent`
|
5648
|
+
# @return [Google::Apis::AndroidmanagementV1::StopLostModeUserAttemptEvent]
|
5649
|
+
attr_accessor :stop_lost_mode_user_attempt_event
|
5650
|
+
|
5361
5651
|
# The work profile or company-owned device failed to wipe when requested. This
|
5362
5652
|
# could be user initiated or admin initiated e.g. delete was received.
|
5363
5653
|
# Intentionally empty.
|
@@ -5395,11 +5685,14 @@ module Google
|
|
5395
5685
|
@log_buffer_size_critical_event = args[:log_buffer_size_critical_event] if args.key?(:log_buffer_size_critical_event)
|
5396
5686
|
@logging_started_event = args[:logging_started_event] if args.key?(:logging_started_event)
|
5397
5687
|
@logging_stopped_event = args[:logging_stopped_event] if args.key?(:logging_stopped_event)
|
5688
|
+
@lost_mode_location_event = args[:lost_mode_location_event] if args.key?(:lost_mode_location_event)
|
5689
|
+
@lost_mode_outgoing_phone_call_event = args[:lost_mode_outgoing_phone_call_event] if args.key?(:lost_mode_outgoing_phone_call_event)
|
5398
5690
|
@media_mount_event = args[:media_mount_event] if args.key?(:media_mount_event)
|
5399
5691
|
@media_unmount_event = args[:media_unmount_event] if args.key?(:media_unmount_event)
|
5400
5692
|
@os_shutdown_event = args[:os_shutdown_event] if args.key?(:os_shutdown_event)
|
5401
5693
|
@os_startup_event = args[:os_startup_event] if args.key?(:os_startup_event)
|
5402
5694
|
@remote_lock_event = args[:remote_lock_event] if args.key?(:remote_lock_event)
|
5695
|
+
@stop_lost_mode_user_attempt_event = args[:stop_lost_mode_user_attempt_event] if args.key?(:stop_lost_mode_user_attempt_event)
|
5403
5696
|
@wipe_failure_event = args[:wipe_failure_event] if args.key?(:wipe_failure_event)
|
5404
5697
|
end
|
5405
5698
|
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.
|
19
|
+
GEM_VERSION = "0.57.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 = "
|
25
|
+
REVISION = "20230724"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -412,6 +412,12 @@ module Google
|
|
412
412
|
include Google::Apis::Core::JsonObjectSupport
|
413
413
|
end
|
414
414
|
|
415
|
+
class Location
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
415
421
|
class LogBufferSizeCriticalEvent
|
416
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
423
|
|
@@ -430,6 +436,18 @@ module Google
|
|
430
436
|
include Google::Apis::Core::JsonObjectSupport
|
431
437
|
end
|
432
438
|
|
439
|
+
class LostModeLocationEvent
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
445
|
+
class LostModeOutgoingPhoneCallEvent
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
433
451
|
class ManagedConfigurationTemplate
|
434
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
453
|
|
@@ -592,6 +610,12 @@ module Google
|
|
592
610
|
include Google::Apis::Core::JsonObjectSupport
|
593
611
|
end
|
594
612
|
|
613
|
+
class ProvisioningInfo
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
595
619
|
class ProxyInfo
|
596
620
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
621
|
|
@@ -640,6 +664,18 @@ module Google
|
|
640
664
|
include Google::Apis::Core::JsonObjectSupport
|
641
665
|
end
|
642
666
|
|
667
|
+
class StartLostModeParams
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
|
+
|
670
|
+
include Google::Apis::Core::JsonObjectSupport
|
671
|
+
end
|
672
|
+
|
673
|
+
class StartLostModeStatus
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
643
679
|
class Status
|
644
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
681
|
|
@@ -652,6 +688,24 @@ module Google
|
|
652
688
|
include Google::Apis::Core::JsonObjectSupport
|
653
689
|
end
|
654
690
|
|
691
|
+
class StopLostModeParams
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
693
|
+
|
694
|
+
include Google::Apis::Core::JsonObjectSupport
|
695
|
+
end
|
696
|
+
|
697
|
+
class StopLostModeStatus
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
|
+
|
700
|
+
include Google::Apis::Core::JsonObjectSupport
|
701
|
+
end
|
702
|
+
|
703
|
+
class StopLostModeUserAttemptEvent
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
|
+
|
706
|
+
include Google::Apis::Core::JsonObjectSupport
|
707
|
+
end
|
708
|
+
|
655
709
|
class SystemUpdate
|
656
710
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
711
|
|
@@ -989,6 +1043,14 @@ module Google
|
|
989
1043
|
property :error_code, as: 'errorCode'
|
990
1044
|
property :new_password, as: 'newPassword'
|
991
1045
|
collection :reset_password_flags, as: 'resetPasswordFlags'
|
1046
|
+
property :start_lost_mode_params, as: 'startLostModeParams', class: Google::Apis::AndroidmanagementV1::StartLostModeParams, decorator: Google::Apis::AndroidmanagementV1::StartLostModeParams::Representation
|
1047
|
+
|
1048
|
+
property :start_lost_mode_status, as: 'startLostModeStatus', class: Google::Apis::AndroidmanagementV1::StartLostModeStatus, decorator: Google::Apis::AndroidmanagementV1::StartLostModeStatus::Representation
|
1049
|
+
|
1050
|
+
property :stop_lost_mode_params, as: 'stopLostModeParams', class: Google::Apis::AndroidmanagementV1::StopLostModeParams, decorator: Google::Apis::AndroidmanagementV1::StopLostModeParams::Representation
|
1051
|
+
|
1052
|
+
property :stop_lost_mode_status, as: 'stopLostModeStatus', class: Google::Apis::AndroidmanagementV1::StopLostModeStatus, decorator: Google::Apis::AndroidmanagementV1::StopLostModeStatus::Representation
|
1053
|
+
|
992
1054
|
property :type, as: 'type'
|
993
1055
|
property :user_name, as: 'userName'
|
994
1056
|
end
|
@@ -1140,6 +1202,7 @@ module Google
|
|
1140
1202
|
class DeviceRadioState
|
1141
1203
|
# @private
|
1142
1204
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1205
|
+
property :airplane_mode_state, as: 'airplaneModeState'
|
1143
1206
|
property :wifi_state, as: 'wifiState'
|
1144
1207
|
end
|
1145
1208
|
end
|
@@ -1442,6 +1505,14 @@ module Google
|
|
1442
1505
|
end
|
1443
1506
|
end
|
1444
1507
|
|
1508
|
+
class Location
|
1509
|
+
# @private
|
1510
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1511
|
+
property :latitude, as: 'latitude'
|
1512
|
+
property :longitude, as: 'longitude'
|
1513
|
+
end
|
1514
|
+
end
|
1515
|
+
|
1445
1516
|
class LogBufferSizeCriticalEvent
|
1446
1517
|
# @private
|
1447
1518
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1460,6 +1531,21 @@ module Google
|
|
1460
1531
|
end
|
1461
1532
|
end
|
1462
1533
|
|
1534
|
+
class LostModeLocationEvent
|
1535
|
+
# @private
|
1536
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1537
|
+
property :battery_level, as: 'batteryLevel'
|
1538
|
+
property :location, as: 'location', class: Google::Apis::AndroidmanagementV1::Location, decorator: Google::Apis::AndroidmanagementV1::Location::Representation
|
1539
|
+
|
1540
|
+
end
|
1541
|
+
end
|
1542
|
+
|
1543
|
+
class LostModeOutgoingPhoneCallEvent
|
1544
|
+
# @private
|
1545
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1546
|
+
end
|
1547
|
+
end
|
1548
|
+
|
1463
1549
|
class ManagedConfigurationTemplate
|
1464
1550
|
# @private
|
1465
1551
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1832,6 +1918,19 @@ module Google
|
|
1832
1918
|
end
|
1833
1919
|
end
|
1834
1920
|
|
1921
|
+
class ProvisioningInfo
|
1922
|
+
# @private
|
1923
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1924
|
+
property :api_level, as: 'apiLevel'
|
1925
|
+
property :brand, as: 'brand'
|
1926
|
+
property :enterprise, as: 'enterprise'
|
1927
|
+
property :management_mode, as: 'managementMode'
|
1928
|
+
property :model, as: 'model'
|
1929
|
+
property :name, as: 'name'
|
1930
|
+
property :ownership, as: 'ownership'
|
1931
|
+
end
|
1932
|
+
end
|
1933
|
+
|
1835
1934
|
class ProxyInfo
|
1836
1935
|
# @private
|
1837
1936
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1918,6 +2017,28 @@ module Google
|
|
1918
2017
|
end
|
1919
2018
|
end
|
1920
2019
|
|
2020
|
+
class StartLostModeParams
|
2021
|
+
# @private
|
2022
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2023
|
+
property :lost_email_address, as: 'lostEmailAddress'
|
2024
|
+
property :lost_message, as: 'lostMessage', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
|
2025
|
+
|
2026
|
+
property :lost_organization, as: 'lostOrganization', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
|
2027
|
+
|
2028
|
+
property :lost_phone_number, as: 'lostPhoneNumber', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
|
2029
|
+
|
2030
|
+
property :lost_street_address, as: 'lostStreetAddress', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
|
2031
|
+
|
2032
|
+
end
|
2033
|
+
end
|
2034
|
+
|
2035
|
+
class StartLostModeStatus
|
2036
|
+
# @private
|
2037
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2038
|
+
property :status, as: 'status'
|
2039
|
+
end
|
2040
|
+
end
|
2041
|
+
|
1921
2042
|
class Status
|
1922
2043
|
# @private
|
1923
2044
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1945,6 +2066,26 @@ module Google
|
|
1945
2066
|
end
|
1946
2067
|
end
|
1947
2068
|
|
2069
|
+
class StopLostModeParams
|
2070
|
+
# @private
|
2071
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2072
|
+
end
|
2073
|
+
end
|
2074
|
+
|
2075
|
+
class StopLostModeStatus
|
2076
|
+
# @private
|
2077
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2078
|
+
property :status, as: 'status'
|
2079
|
+
end
|
2080
|
+
end
|
2081
|
+
|
2082
|
+
class StopLostModeUserAttemptEvent
|
2083
|
+
# @private
|
2084
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2085
|
+
property :status, as: 'status'
|
2086
|
+
end
|
2087
|
+
end
|
2088
|
+
|
1948
2089
|
class SystemUpdate
|
1949
2090
|
# @private
|
1950
2091
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2038,6 +2179,10 @@ module Google
|
|
2038
2179
|
|
2039
2180
|
property :logging_stopped_event, as: 'loggingStoppedEvent', class: Google::Apis::AndroidmanagementV1::LoggingStoppedEvent, decorator: Google::Apis::AndroidmanagementV1::LoggingStoppedEvent::Representation
|
2040
2181
|
|
2182
|
+
property :lost_mode_location_event, as: 'lostModeLocationEvent', class: Google::Apis::AndroidmanagementV1::LostModeLocationEvent, decorator: Google::Apis::AndroidmanagementV1::LostModeLocationEvent::Representation
|
2183
|
+
|
2184
|
+
property :lost_mode_outgoing_phone_call_event, as: 'lostModeOutgoingPhoneCallEvent', class: Google::Apis::AndroidmanagementV1::LostModeOutgoingPhoneCallEvent, decorator: Google::Apis::AndroidmanagementV1::LostModeOutgoingPhoneCallEvent::Representation
|
2185
|
+
|
2041
2186
|
property :media_mount_event, as: 'mediaMountEvent', class: Google::Apis::AndroidmanagementV1::MediaMountEvent, decorator: Google::Apis::AndroidmanagementV1::MediaMountEvent::Representation
|
2042
2187
|
|
2043
2188
|
property :media_unmount_event, as: 'mediaUnmountEvent', class: Google::Apis::AndroidmanagementV1::MediaUnmountEvent, decorator: Google::Apis::AndroidmanagementV1::MediaUnmountEvent::Representation
|
@@ -2048,6 +2193,8 @@ module Google
|
|
2048
2193
|
|
2049
2194
|
property :remote_lock_event, as: 'remoteLockEvent', class: Google::Apis::AndroidmanagementV1::RemoteLockEvent, decorator: Google::Apis::AndroidmanagementV1::RemoteLockEvent::Representation
|
2050
2195
|
|
2196
|
+
property :stop_lost_mode_user_attempt_event, as: 'stopLostModeUserAttemptEvent', class: Google::Apis::AndroidmanagementV1::StopLostModeUserAttemptEvent, decorator: Google::Apis::AndroidmanagementV1::StopLostModeUserAttemptEvent::Representation
|
2197
|
+
|
2051
2198
|
property :wipe_failure_event, as: 'wipeFailureEvent', class: Google::Apis::AndroidmanagementV1::WipeFailureEvent, decorator: Google::Apis::AndroidmanagementV1::WipeFailureEvent::Representation
|
2052
2199
|
|
2053
2200
|
end
|
@@ -1093,6 +1093,38 @@ 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.
|
1098
|
+
# @param [String] name
|
1099
|
+
# Required. The identifier that Android Device Policy passes to the 3P sign-in
|
1100
|
+
# page in the form of provisioningInfo/`provisioning_info`.
|
1101
|
+
# @param [String] fields
|
1102
|
+
# Selector specifying which fields to include in a partial response.
|
1103
|
+
# @param [String] quota_user
|
1104
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1105
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1106
|
+
# @param [Google::Apis::RequestOptions] options
|
1107
|
+
# Request-specific options
|
1108
|
+
#
|
1109
|
+
# @yield [result, err] Result & error if block supplied
|
1110
|
+
# @yieldparam result [Google::Apis::AndroidmanagementV1::ProvisioningInfo] parsed result object
|
1111
|
+
# @yieldparam err [StandardError] error object if request failed
|
1112
|
+
#
|
1113
|
+
# @return [Google::Apis::AndroidmanagementV1::ProvisioningInfo]
|
1114
|
+
#
|
1115
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1116
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1117
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1118
|
+
def get_provisioning_info(name, fields: nil, quota_user: nil, options: nil, &block)
|
1119
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1120
|
+
command.response_representation = Google::Apis::AndroidmanagementV1::ProvisioningInfo::Representation
|
1121
|
+
command.response_class = Google::Apis::AndroidmanagementV1::ProvisioningInfo
|
1122
|
+
command.params['name'] = name unless name.nil?
|
1123
|
+
command.query['fields'] = fields unless fields.nil?
|
1124
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1125
|
+
execute_or_queue_command(command, &block)
|
1126
|
+
end
|
1127
|
+
|
1096
1128
|
# Creates an enterprise signup URL.
|
1097
1129
|
# @param [String] callback_url
|
1098
1130
|
# The callback URL that the admin will be redirected to after successfully
|
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.
|
4
|
+
version: 0.57.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-
|
11
|
+
date: 2023-08-06 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.57.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: []
|