SystemUpdateView

enum SystemUpdateView


Defines the views for the SystemUpdate resource. The view affects which fields are included in the response when fetching SystemUpdate information.

Summary

Enum Values

SYSTEM_UPDATE_VIEW_BASIC

Includes fields primarily containing information about the update package itself (e.g., name, type, size, api_level, security_patch_level).

SYSTEM_UPDATE_VIEW_FULL

Includes all fields of the SystemUpdate resource, providing the most comprehensive view.

SYSTEM_UPDATE_VIEW_INSTRUCTIONS

Includes only the resource name and the 'instruction' field (download_instruction, apply_instruction) set by the Android Management API.

SYSTEM_UPDATE_VIEW_UNSPECIFIED

Unspecified.

Public functions

java-static SystemUpdateView!
valueOf(name: String!)

Returns the enum constant of this type with the specified name.

java-static Array<SystemUpdateView!>!

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

SYSTEM_UPDATE_VIEW_BASIC

val SystemUpdateView.SYSTEM_UPDATE_VIEW_BASICSystemUpdateView

Includes fields primarily containing information about the update package itself (e.g., name, type, size, api_level, security_patch_level). This view excludes fields set by the Android Management API, such as the 'instruction' field.

SYSTEM_UPDATE_VIEW_FULL

val SystemUpdateView.SYSTEM_UPDATE_VIEW_FULLSystemUpdateView

Includes all fields of the SystemUpdate resource, providing the most comprehensive view.

SYSTEM_UPDATE_VIEW_INSTRUCTIONS

val SystemUpdateView.SYSTEM_UPDATE_VIEW_INSTRUCTIONSSystemUpdateView

Includes only the resource name and the 'instruction' field (download_instruction, apply_instruction) set by the Android Management API.

SYSTEM_UPDATE_VIEW_UNSPECIFIED

val SystemUpdateView.SYSTEM_UPDATE_VIEW_UNSPECIFIEDSystemUpdateView

Unspecified. Defaults to SYSTEM_UPDATE_VIEW_INSTRUCTIONS.

Public functions

valueOf

java-static fun valueOf(name: String!): SystemUpdateView!

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
SystemUpdateView!

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

java-static fun values(): Array<SystemUpdateView!>!

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
Array<SystemUpdateView!>!

an array containing the constants of this enum type, in the order they're declared