Skip to content

Commit 0bdbe25

Browse files
feat(androidmanagement): update the api
#### androidmanagement:v1 The following keys were added: - schemas.AddEsimParams (Total Keys: 4) - schemas.Command.properties.addEsimParams.$ref (Total Keys: 1) - schemas.Command.properties.esimStatus (Total Keys: 2) - schemas.Command.properties.removeEsimParams.$ref (Total Keys: 1) - schemas.EsimCommandStatus (Total Keys: 8) - schemas.EsimInfo (Total Keys: 4) - schemas.InternalErrorDetails (Total Keys: 12) - schemas.Policy.properties.wipeDataFlags (Total Keys: 2) - schemas.Policy.properties.workAccountSetupConfig.$ref (Total Keys: 1) - schemas.RemoveEsimParams (Total Keys: 3) - schemas.TelephonyInfo.properties.activationState (Total Keys: 2) - schemas.TelephonyInfo.properties.configMode (Total Keys: 2) - schemas.WorkAccountSetupConfig (Total Keys: 4)
1 parent e2b8f48 commit 0bdbe25

File tree

3 files changed

+349
-5
lines changed

3 files changed

+349
-5
lines changed

docs/dyn/androidmanagement_v1.enterprises.devices.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ <h3>Method Details</h3>
117117
WIPE_DATA_FLAG_UNSPECIFIED - This value is ignored.
118118
PRESERVE_RESET_PROTECTION_DATA - Preserve the factory reset protection data on the device.
119119
WIPE_EXTERNAL_STORAGE - Additionally wipe the device&#x27;s external storage (such as SD cards).
120+
WIPE_ESIMS - For company-owned devices, this removes all eSIMs from the device when the device is wiped. In personally-owned devices, this will remove managed eSIMs (eSIMs which are added via the ADD_ESIM command) on the devices and no personally owned eSIMs will be removed.
120121
wipeReasonMessage: string, Optional. A short message displayed to the user before wiping the work profile on personal devices. This has no effect on company owned devices. The maximum message length is 200 characters.
121122
x__xgafv: string, V1 error format.
122123
Allowed values
@@ -319,7 +320,9 @@ <h3>Method Details</h3>
319320
&quot;networkOperatorName&quot;: &quot;A String&quot;, # Alphabetic name of current registered operator. For example, Vodafone.
320321
&quot;telephonyInfos&quot;: [ # Provides telephony information associated with each SIM card on the device. Only supported on fully managed devices starting from Android API level 23.
321322
{ # Telephony information associated with a given SIM card on the device. Only supported on fully managed devices starting from Android API level 23.
323+
&quot;activationState&quot;: &quot;A String&quot;, # Output only. Activation state of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for API level 35 and above. This is always ACTIVATION_STATE_UNSPECIFIED for physical SIMs and for devices below API level 35.
322324
&quot;carrierName&quot;: &quot;A String&quot;, # The carrier name associated with this SIM card.
325+
&quot;configMode&quot;: &quot;A String&quot;, # Output only. The configuration mode of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for API level 35 and above. This is always CONFIG_MODE_UNSPECIFIED for physical SIMs and for devices below API level 35.
323326
&quot;iccId&quot;: &quot;A String&quot;, # Output only. The ICCID associated with this SIM card.
324327
&quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number associated with this SIM card.
325328
},
@@ -411,6 +414,10 @@ <h3>Method Details</h3>
411414
The object takes the form of:
412415

413416
{ # A command.
417+
&quot;addEsimParams&quot;: { # Parameters associated with the ADD_ESIM command to add an eSIM profile to the device. # Optional. Parameters for the ADD_ESIM command to add an eSIM profile to the device. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to ADD_ESIM. It is also acceptable to explicitly set type to ADD_ESIM.
418+
&quot;activationCode&quot;: &quot;A String&quot;, # Required. The activation code for the eSIM profile.
419+
&quot;activationState&quot;: &quot;A String&quot;, # Required. The activation state of the eSIM profile once it is downloaded.
420+
},
414421
&quot;clearAppsDataParams&quot;: { # Parameters associated with the CLEAR_APP_DATA command to clear the data of specified apps from the device. # Parameters for the CLEAR_APP_DATA command to clear the data of specified apps from the device. See ClearAppsDataParams. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to CLEAR_APP_DATA. It is also acceptable to explicitly set type to CLEAR_APP_DATA.
415422
&quot;packageNames&quot;: [ # The package names of the apps whose data will be cleared when the command is executed.
416423
&quot;A String&quot;,
@@ -426,7 +433,22 @@ <h3>Method Details</h3>
426433
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp at which the command was created. The timestamp is automatically generated by the server.
427434
&quot;duration&quot;: &quot;A String&quot;, # The duration for which the command is valid. The command will expire if not executed by the device during this time. The default duration if unspecified is ten minutes. There is no maximum duration.
428435
&quot;errorCode&quot;: &quot;A String&quot;, # If the command failed, an error code explaining the failure. This is not set when the command is cancelled by the caller. For reasoning about command errors, prefer fields in the following order (most preferred first): 1. Command-specific fields like clearAppsDataStatus, startLostModeStatus, or similar, if they exist. 2. This field, if set. 3. The generic error field in the Operation that wraps the command.
436+
&quot;esimStatus&quot;: { # Status and error details (if present) of an ADD_ESIM or REMOVE_ESIM command. # Output only. Status of an ADD_ESIM or REMOVE_ESIM command.
437+
&quot;esimInfo&quot;: { # Details of the eSIM added or removed. # Output only. Information about the eSIM added or removed. This is populated only when the eSIM operation status is SUCCESS.
438+
&quot;iccId&quot;: &quot;A String&quot;, # Output only. ICC ID of the eSIM.
439+
},
440+
&quot;internalErrorDetails&quot;: { # Internal error details if present for the ADD_ESIM or REMOVE_ESIM command. # Output only. Details of the error if the status is set to INTERNAL_ERROR.
441+
&quot;errorCode&quot;: &quot;A String&quot;, # Output only. Integer representation of the error code as specified here (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE). See also, OPERATION_SMDX_SUBJECT_REASON_CODE. See error_code_detail for more details.
442+
&quot;errorCodeDetail&quot;: &quot;A String&quot;, # Output only. The error code detail corresponding to the error_code.
443+
&quot;operationCode&quot;: &quot;A String&quot;, # Output only. Integer representation of the operation code as specified here (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE). See operation_code_detail for more details.
444+
&quot;operationCodeDetail&quot;: &quot;A String&quot;, # Output only. The operation code detail corresponding to the operation_code.
445+
},
446+
&quot;status&quot;: &quot;A String&quot;, # Output only. Status of an ADD_ESIM or REMOVE_ESIM command.
447+
},
429448
&quot;newPassword&quot;: &quot;A String&quot;, # For commands of type RESET_PASSWORD, optionally specifies the new password. Note: The new password must be at least 6 characters long if it is numeric in case of Android 14 devices. Else the command will fail with INVALID_VALUE.
449+
&quot;removeEsimParams&quot;: { # Parameters associated with the REMOVE_ESIM command to remove an eSIM profile from the device. # Optional. Parameters for the REMOVE_ESIM command to remove an eSIM profile from the device. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to REMOVE_ESIM. It is also acceptable to explicitly set type to REMOVE_ESIM.
450+
&quot;iccId&quot;: &quot;A String&quot;, # Required. ICC ID of the eSIM profile to be deleted.
451+
},
430452
&quot;requestDeviceInfoParams&quot;: { # Parameters associated with the REQUEST_DEVICE_INFO command to get device related information. # Optional. Parameters for the REQUEST_DEVICE_INFO command to get device related information. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to REQUEST_DEVICE_INFO . It is also acceptable to explicitly set type to REQUEST_DEVICE_INFO.
431453
&quot;deviceInfo&quot;: &quot;A String&quot;, # Required. Type of device information to be requested.
432454
},
@@ -704,7 +726,9 @@ <h3>Method Details</h3>
704726
&quot;networkOperatorName&quot;: &quot;A String&quot;, # Alphabetic name of current registered operator. For example, Vodafone.
705727
&quot;telephonyInfos&quot;: [ # Provides telephony information associated with each SIM card on the device. Only supported on fully managed devices starting from Android API level 23.
706728
{ # Telephony information associated with a given SIM card on the device. Only supported on fully managed devices starting from Android API level 23.
729+
&quot;activationState&quot;: &quot;A String&quot;, # Output only. Activation state of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for API level 35 and above. This is always ACTIVATION_STATE_UNSPECIFIED for physical SIMs and for devices below API level 35.
707730
&quot;carrierName&quot;: &quot;A String&quot;, # The carrier name associated with this SIM card.
731+
&quot;configMode&quot;: &quot;A String&quot;, # Output only. The configuration mode of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for API level 35 and above. This is always CONFIG_MODE_UNSPECIFIED for physical SIMs and for devices below API level 35.
708732
&quot;iccId&quot;: &quot;A String&quot;, # Output only. The ICCID associated with this SIM card.
709733
&quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number associated with this SIM card.
710734
},
@@ -987,7 +1011,9 @@ <h3>Method Details</h3>
9871011
&quot;networkOperatorName&quot;: &quot;A String&quot;, # Alphabetic name of current registered operator. For example, Vodafone.
9881012
&quot;telephonyInfos&quot;: [ # Provides telephony information associated with each SIM card on the device. Only supported on fully managed devices starting from Android API level 23.
9891013
{ # Telephony information associated with a given SIM card on the device. Only supported on fully managed devices starting from Android API level 23.
1014+
&quot;activationState&quot;: &quot;A String&quot;, # Output only. Activation state of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for API level 35 and above. This is always ACTIVATION_STATE_UNSPECIFIED for physical SIMs and for devices below API level 35.
9901015
&quot;carrierName&quot;: &quot;A String&quot;, # The carrier name associated with this SIM card.
1016+
&quot;configMode&quot;: &quot;A String&quot;, # Output only. The configuration mode of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for API level 35 and above. This is always CONFIG_MODE_UNSPECIFIED for physical SIMs and for devices below API level 35.
9911017
&quot;iccId&quot;: &quot;A String&quot;, # Output only. The ICCID associated with this SIM card.
9921018
&quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number associated with this SIM card.
9931019
},
@@ -1252,7 +1278,9 @@ <h3>Method Details</h3>
12521278
&quot;networkOperatorName&quot;: &quot;A String&quot;, # Alphabetic name of current registered operator. For example, Vodafone.
12531279
&quot;telephonyInfos&quot;: [ # Provides telephony information associated with each SIM card on the device. Only supported on fully managed devices starting from Android API level 23.
12541280
{ # Telephony information associated with a given SIM card on the device. Only supported on fully managed devices starting from Android API level 23.
1281+
&quot;activationState&quot;: &quot;A String&quot;, # Output only. Activation state of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for API level 35 and above. This is always ACTIVATION_STATE_UNSPECIFIED for physical SIMs and for devices below API level 35.
12551282
&quot;carrierName&quot;: &quot;A String&quot;, # The carrier name associated with this SIM card.
1283+
&quot;configMode&quot;: &quot;A String&quot;, # Output only. The configuration mode of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for API level 35 and above. This is always CONFIG_MODE_UNSPECIFIED for physical SIMs and for devices below API level 35.
12561284
&quot;iccId&quot;: &quot;A String&quot;, # Output only. The ICCID associated with this SIM card.
12571285
&quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number associated with this SIM card.
12581286
},

0 commit comments

Comments
 (0)