1. Packages
  2. Google Cloud Native
  3. API Docs
  4. cloudidentity
  5. cloudidentity/v1
  6. getDevice

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.cloudidentity/v1.getDevice

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Retrieves the specified device.

    Using getDevice

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDevice(args: GetDeviceArgs, opts?: InvokeOptions): Promise<GetDeviceResult>
    function getDeviceOutput(args: GetDeviceOutputArgs, opts?: InvokeOptions): Output<GetDeviceResult>
    def get_device(customer: Optional[str] = None,
                   device_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetDeviceResult
    def get_device_output(customer: Optional[pulumi.Input[str]] = None,
                   device_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetDeviceResult]
    func LookupDevice(ctx *Context, args *LookupDeviceArgs, opts ...InvokeOption) (*LookupDeviceResult, error)
    func LookupDeviceOutput(ctx *Context, args *LookupDeviceOutputArgs, opts ...InvokeOption) LookupDeviceResultOutput

    > Note: This function is named LookupDevice in the Go SDK.

    public static class GetDevice 
    {
        public static Task<GetDeviceResult> InvokeAsync(GetDeviceArgs args, InvokeOptions? opts = null)
        public static Output<GetDeviceResult> Invoke(GetDeviceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDeviceResult> getDevice(GetDeviceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:cloudidentity/v1:getDevice
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DeviceId string
    Customer string
    DeviceId string
    Customer string
    deviceId String
    customer String
    deviceId string
    customer string
    deviceId String
    customer String

    getDevice Result

    The following output properties are available:

    AndroidSpecificAttributes Pulumi.GoogleNative.CloudIdentity.V1.Outputs.GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse
    Attributes specific to Android devices.
    AssetTag string
    Asset tag of the device.
    BasebandVersion string
    Baseband version of the device.
    BootloaderVersion string
    Device bootloader version. Example: 0.6.7.
    Brand string
    Device brand. Example: Samsung.
    BuildNumber string
    Build number of the device.
    CompromisedState string
    Represents whether the Device is compromised.
    CreateTime string
    When the Company-Owned device was imported. This field is empty for BYOD devices.
    DeviceId string
    Unique identifier for the device.
    DeviceType string
    Type of device.
    EnabledDeveloperOptions bool
    Whether developer options is enabled on device.
    EnabledUsbDebugging bool
    Whether USB debugging is enabled on device.
    EncryptionState string
    Device encryption state.
    Hostname string
    Host name of the device.
    Imei string
    IMEI number of device if GSM device; empty otherwise.
    KernelVersion string
    Kernel version of the device.
    LastSyncTime string
    Most recent time when device synced with this service.
    ManagementState string
    Management state of the device
    Manufacturer string
    Device manufacturer. Example: Motorola.
    Meid string
    MEID number of device if CDMA device; empty otherwise.
    Model string
    Model name of device. Example: Pixel 3.
    Name string
    Resource name of the Device in format: devices/{device}, where device is the unique id assigned to the Device.
    NetworkOperator string
    Mobile or network operator of device, if available.
    OsVersion string
    OS version of the device. Example: Android 8.1.0.
    OtherAccounts List<string>
    Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com".
    OwnerType string
    Whether the device is owned by the company or an individual
    ReleaseVersion string
    OS release version. Example: 6.0.
    SecurityPatchTime string
    OS security patch update time on device.
    SerialNumber string
    Serial Number of device. Example: HT82V1A01076.
    WifiMacAddresses List<string>
    WiFi MAC addresses of device.
    AndroidSpecificAttributes GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse
    Attributes specific to Android devices.
    AssetTag string
    Asset tag of the device.
    BasebandVersion string
    Baseband version of the device.
    BootloaderVersion string
    Device bootloader version. Example: 0.6.7.
    Brand string
    Device brand. Example: Samsung.
    BuildNumber string
    Build number of the device.
    CompromisedState string
    Represents whether the Device is compromised.
    CreateTime string
    When the Company-Owned device was imported. This field is empty for BYOD devices.
    DeviceId string
    Unique identifier for the device.
    DeviceType string
    Type of device.
    EnabledDeveloperOptions bool
    Whether developer options is enabled on device.
    EnabledUsbDebugging bool
    Whether USB debugging is enabled on device.
    EncryptionState string
    Device encryption state.
    Hostname string
    Host name of the device.
    Imei string
    IMEI number of device if GSM device; empty otherwise.
    KernelVersion string
    Kernel version of the device.
    LastSyncTime string
    Most recent time when device synced with this service.
    ManagementState string
    Management state of the device
    Manufacturer string
    Device manufacturer. Example: Motorola.
    Meid string
    MEID number of device if CDMA device; empty otherwise.
    Model string
    Model name of device. Example: Pixel 3.
    Name string
    Resource name of the Device in format: devices/{device}, where device is the unique id assigned to the Device.
    NetworkOperator string
    Mobile or network operator of device, if available.
    OsVersion string
    OS version of the device. Example: Android 8.1.0.
    OtherAccounts []string
    Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com".
    OwnerType string
    Whether the device is owned by the company or an individual
    ReleaseVersion string
    OS release version. Example: 6.0.
    SecurityPatchTime string
    OS security patch update time on device.
    SerialNumber string
    Serial Number of device. Example: HT82V1A01076.
    WifiMacAddresses []string
    WiFi MAC addresses of device.
    androidSpecificAttributes GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse
    Attributes specific to Android devices.
    assetTag String
    Asset tag of the device.
    basebandVersion String
    Baseband version of the device.
    bootloaderVersion String
    Device bootloader version. Example: 0.6.7.
    brand String
    Device brand. Example: Samsung.
    buildNumber String
    Build number of the device.
    compromisedState String
    Represents whether the Device is compromised.
    createTime String
    When the Company-Owned device was imported. This field is empty for BYOD devices.
    deviceId String
    Unique identifier for the device.
    deviceType String
    Type of device.
    enabledDeveloperOptions Boolean
    Whether developer options is enabled on device.
    enabledUsbDebugging Boolean
    Whether USB debugging is enabled on device.
    encryptionState String
    Device encryption state.
    hostname String
    Host name of the device.
    imei String
    IMEI number of device if GSM device; empty otherwise.
    kernelVersion String
    Kernel version of the device.
    lastSyncTime String
    Most recent time when device synced with this service.
    managementState String
    Management state of the device
    manufacturer String
    Device manufacturer. Example: Motorola.
    meid String
    MEID number of device if CDMA device; empty otherwise.
    model String
    Model name of device. Example: Pixel 3.
    name String
    Resource name of the Device in format: devices/{device}, where device is the unique id assigned to the Device.
    networkOperator String
    Mobile or network operator of device, if available.
    osVersion String
    OS version of the device. Example: Android 8.1.0.
    otherAccounts List<String>
    Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com".
    ownerType String
    Whether the device is owned by the company or an individual
    releaseVersion String
    OS release version. Example: 6.0.
    securityPatchTime String
    OS security patch update time on device.
    serialNumber String
    Serial Number of device. Example: HT82V1A01076.
    wifiMacAddresses List<String>
    WiFi MAC addresses of device.
    androidSpecificAttributes GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse
    Attributes specific to Android devices.
    assetTag string
    Asset tag of the device.
    basebandVersion string
    Baseband version of the device.
    bootloaderVersion string
    Device bootloader version. Example: 0.6.7.
    brand string
    Device brand. Example: Samsung.
    buildNumber string
    Build number of the device.
    compromisedState string
    Represents whether the Device is compromised.
    createTime string
    When the Company-Owned device was imported. This field is empty for BYOD devices.
    deviceId string
    Unique identifier for the device.
    deviceType string
    Type of device.
    enabledDeveloperOptions boolean
    Whether developer options is enabled on device.
    enabledUsbDebugging boolean
    Whether USB debugging is enabled on device.
    encryptionState string
    Device encryption state.
    hostname string
    Host name of the device.
    imei string
    IMEI number of device if GSM device; empty otherwise.
    kernelVersion string
    Kernel version of the device.
    lastSyncTime string
    Most recent time when device synced with this service.
    managementState string
    Management state of the device
    manufacturer string
    Device manufacturer. Example: Motorola.
    meid string
    MEID number of device if CDMA device; empty otherwise.
    model string
    Model name of device. Example: Pixel 3.
    name string
    Resource name of the Device in format: devices/{device}, where device is the unique id assigned to the Device.
    networkOperator string
    Mobile or network operator of device, if available.
    osVersion string
    OS version of the device. Example: Android 8.1.0.
    otherAccounts string[]
    Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com".
    ownerType string
    Whether the device is owned by the company or an individual
    releaseVersion string
    OS release version. Example: 6.0.
    securityPatchTime string
    OS security patch update time on device.
    serialNumber string
    Serial Number of device. Example: HT82V1A01076.
    wifiMacAddresses string[]
    WiFi MAC addresses of device.
    android_specific_attributes GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse
    Attributes specific to Android devices.
    asset_tag str
    Asset tag of the device.
    baseband_version str
    Baseband version of the device.
    bootloader_version str
    Device bootloader version. Example: 0.6.7.
    brand str
    Device brand. Example: Samsung.
    build_number str
    Build number of the device.
    compromised_state str
    Represents whether the Device is compromised.
    create_time str
    When the Company-Owned device was imported. This field is empty for BYOD devices.
    device_id str
    Unique identifier for the device.
    device_type str
    Type of device.
    enabled_developer_options bool
    Whether developer options is enabled on device.
    enabled_usb_debugging bool
    Whether USB debugging is enabled on device.
    encryption_state str
    Device encryption state.
    hostname str
    Host name of the device.
    imei str
    IMEI number of device if GSM device; empty otherwise.
    kernel_version str
    Kernel version of the device.
    last_sync_time str
    Most recent time when device synced with this service.
    management_state str
    Management state of the device
    manufacturer str
    Device manufacturer. Example: Motorola.
    meid str
    MEID number of device if CDMA device; empty otherwise.
    model str
    Model name of device. Example: Pixel 3.
    name str
    Resource name of the Device in format: devices/{device}, where device is the unique id assigned to the Device.
    network_operator str
    Mobile or network operator of device, if available.
    os_version str
    OS version of the device. Example: Android 8.1.0.
    other_accounts Sequence[str]
    Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com".
    owner_type str
    Whether the device is owned by the company or an individual
    release_version str
    OS release version. Example: 6.0.
    security_patch_time str
    OS security patch update time on device.
    serial_number str
    Serial Number of device. Example: HT82V1A01076.
    wifi_mac_addresses Sequence[str]
    WiFi MAC addresses of device.
    androidSpecificAttributes Property Map
    Attributes specific to Android devices.
    assetTag String
    Asset tag of the device.
    basebandVersion String
    Baseband version of the device.
    bootloaderVersion String
    Device bootloader version. Example: 0.6.7.
    brand String
    Device brand. Example: Samsung.
    buildNumber String
    Build number of the device.
    compromisedState String
    Represents whether the Device is compromised.
    createTime String
    When the Company-Owned device was imported. This field is empty for BYOD devices.
    deviceId String
    Unique identifier for the device.
    deviceType String
    Type of device.
    enabledDeveloperOptions Boolean
    Whether developer options is enabled on device.
    enabledUsbDebugging Boolean
    Whether USB debugging is enabled on device.
    encryptionState String
    Device encryption state.
    hostname String
    Host name of the device.
    imei String
    IMEI number of device if GSM device; empty otherwise.
    kernelVersion String
    Kernel version of the device.
    lastSyncTime String
    Most recent time when device synced with this service.
    managementState String
    Management state of the device
    manufacturer String
    Device manufacturer. Example: Motorola.
    meid String
    MEID number of device if CDMA device; empty otherwise.
    model String
    Model name of device. Example: Pixel 3.
    name String
    Resource name of the Device in format: devices/{device}, where device is the unique id assigned to the Device.
    networkOperator String
    Mobile or network operator of device, if available.
    osVersion String
    OS version of the device. Example: Android 8.1.0.
    otherAccounts List<String>
    Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com".
    ownerType String
    Whether the device is owned by the company or an individual
    releaseVersion String
    OS release version. Example: 6.0.
    securityPatchTime String
    OS security patch update time on device.
    serialNumber String
    Serial Number of device. Example: HT82V1A01076.
    wifiMacAddresses List<String>
    WiFi MAC addresses of device.

    Supporting Types

    GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse

    CtsProfileMatch bool
    Whether the device passes Android CTS compliance.
    EnabledUnknownSources bool
    Whether applications from unknown sources can be installed on device.
    HasPotentiallyHarmfulApps bool
    Whether any potentially harmful apps were detected on the device.
    OwnerProfileAccount bool
    Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.
    OwnershipPrivilege string
    Ownership privileges on device.
    SupportsWorkProfile bool
    Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy.
    VerifiedBoot bool
    Whether Android verified boot status is GREEN.
    VerifyAppsEnabled bool
    Whether Google Play Protect Verify Apps is enabled.
    CtsProfileMatch bool
    Whether the device passes Android CTS compliance.
    EnabledUnknownSources bool
    Whether applications from unknown sources can be installed on device.
    HasPotentiallyHarmfulApps bool
    Whether any potentially harmful apps were detected on the device.
    OwnerProfileAccount bool
    Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.
    OwnershipPrivilege string
    Ownership privileges on device.
    SupportsWorkProfile bool
    Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy.
    VerifiedBoot bool
    Whether Android verified boot status is GREEN.
    VerifyAppsEnabled bool
    Whether Google Play Protect Verify Apps is enabled.
    ctsProfileMatch Boolean
    Whether the device passes Android CTS compliance.
    enabledUnknownSources Boolean
    Whether applications from unknown sources can be installed on device.
    hasPotentiallyHarmfulApps Boolean
    Whether any potentially harmful apps were detected on the device.
    ownerProfileAccount Boolean
    Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.
    ownershipPrivilege String
    Ownership privileges on device.
    supportsWorkProfile Boolean
    Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy.
    verifiedBoot Boolean
    Whether Android verified boot status is GREEN.
    verifyAppsEnabled Boolean
    Whether Google Play Protect Verify Apps is enabled.
    ctsProfileMatch boolean
    Whether the device passes Android CTS compliance.
    enabledUnknownSources boolean
    Whether applications from unknown sources can be installed on device.
    hasPotentiallyHarmfulApps boolean
    Whether any potentially harmful apps were detected on the device.
    ownerProfileAccount boolean
    Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.
    ownershipPrivilege string
    Ownership privileges on device.
    supportsWorkProfile boolean
    Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy.
    verifiedBoot boolean
    Whether Android verified boot status is GREEN.
    verifyAppsEnabled boolean
    Whether Google Play Protect Verify Apps is enabled.
    cts_profile_match bool
    Whether the device passes Android CTS compliance.
    enabled_unknown_sources bool
    Whether applications from unknown sources can be installed on device.
    has_potentially_harmful_apps bool
    Whether any potentially harmful apps were detected on the device.
    owner_profile_account bool
    Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.
    ownership_privilege str
    Ownership privileges on device.
    supports_work_profile bool
    Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy.
    verified_boot bool
    Whether Android verified boot status is GREEN.
    verify_apps_enabled bool
    Whether Google Play Protect Verify Apps is enabled.
    ctsProfileMatch Boolean
    Whether the device passes Android CTS compliance.
    enabledUnknownSources Boolean
    Whether applications from unknown sources can be installed on device.
    hasPotentiallyHarmfulApps Boolean
    Whether any potentially harmful apps were detected on the device.
    ownerProfileAccount Boolean
    Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.
    ownershipPrivilege String
    Ownership privileges on device.
    supportsWorkProfile Boolean
    Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy.
    verifiedBoot Boolean
    Whether Android verified boot status is GREEN.
    verifyAppsEnabled Boolean
    Whether Google Play Protect Verify Apps is enabled.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi