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

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.Device

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

    Creates a device. Only company-owned device may be created. Note: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium Auto-naming is currently not supported for this resource.

    Create Device Resource

    new Device(name: string, args?: DeviceArgs, opts?: CustomResourceOptions);
    @overload
    def Device(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               asset_tag: Optional[str] = None,
               customer: Optional[str] = None,
               device_id: Optional[str] = None,
               hostname: Optional[str] = None,
               last_sync_time: Optional[str] = None,
               serial_number: Optional[str] = None,
               wifi_mac_addresses: Optional[Sequence[str]] = None)
    @overload
    def Device(resource_name: str,
               args: Optional[DeviceArgs] = None,
               opts: Optional[ResourceOptions] = None)
    func NewDevice(ctx *Context, name string, args *DeviceArgs, opts ...ResourceOption) (*Device, error)
    public Device(string name, DeviceArgs? args = null, CustomResourceOptions? opts = null)
    public Device(String name, DeviceArgs args)
    public Device(String name, DeviceArgs args, CustomResourceOptions options)
    
    type: google-native:cloudidentity/v1:Device
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args DeviceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DeviceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DeviceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DeviceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DeviceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Device Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Device resource accepts the following input properties:

    AssetTag string

    Asset tag of the device.

    Customer string

    Optional. Resource name of the customer. If you're using this API for your own organization, use customers/my_customer If you're using this API to manage another organization, use customers/{customer}, where customer is the customer to whom the device belongs.

    DeviceId string

    Unique identifier for the device.

    Hostname string

    Host name of the device.

    LastSyncTime string

    Most recent time when device synced with this service.

    SerialNumber string

    Serial Number of device. Example: HT82V1A01076.

    WifiMacAddresses List<string>

    WiFi MAC addresses of device.

    AssetTag string

    Asset tag of the device.

    Customer string

    Optional. Resource name of the customer. If you're using this API for your own organization, use customers/my_customer If you're using this API to manage another organization, use customers/{customer}, where customer is the customer to whom the device belongs.

    DeviceId string

    Unique identifier for the device.

    Hostname string

    Host name of the device.

    LastSyncTime string

    Most recent time when device synced with this service.

    SerialNumber string

    Serial Number of device. Example: HT82V1A01076.

    WifiMacAddresses []string

    WiFi MAC addresses of device.

    assetTag String

    Asset tag of the device.

    customer String

    Optional. Resource name of the customer. If you're using this API for your own organization, use customers/my_customer If you're using this API to manage another organization, use customers/{customer}, where customer is the customer to whom the device belongs.

    deviceId String

    Unique identifier for the device.

    hostname String

    Host name of the device.

    lastSyncTime String

    Most recent time when device synced with this service.

    serialNumber String

    Serial Number of device. Example: HT82V1A01076.

    wifiMacAddresses List<String>

    WiFi MAC addresses of device.

    assetTag string

    Asset tag of the device.

    customer string

    Optional. Resource name of the customer. If you're using this API for your own organization, use customers/my_customer If you're using this API to manage another organization, use customers/{customer}, where customer is the customer to whom the device belongs.

    deviceId string

    Unique identifier for the device.

    hostname string

    Host name of the device.

    lastSyncTime string

    Most recent time when device synced with this service.

    serialNumber string

    Serial Number of device. Example: HT82V1A01076.

    wifiMacAddresses string[]

    WiFi MAC addresses of device.

    asset_tag str

    Asset tag of the device.

    customer str

    Optional. Resource name of the customer. If you're using this API for your own organization, use customers/my_customer If you're using this API to manage another organization, use customers/{customer}, where customer is the customer to whom the device belongs.

    device_id str

    Unique identifier for the device.

    hostname str

    Host name of the device.

    last_sync_time str

    Most recent time when device synced with this service.

    serial_number str

    Serial Number of device. Example: HT82V1A01076.

    wifi_mac_addresses Sequence[str]

    WiFi MAC addresses of device.

    assetTag String

    Asset tag of the device.

    customer String

    Optional. Resource name of the customer. If you're using this API for your own organization, use customers/my_customer If you're using this API to manage another organization, use customers/{customer}, where customer is the customer to whom the device belongs.

    deviceId String

    Unique identifier for the device.

    hostname String

    Host name of the device.

    lastSyncTime String

    Most recent time when device synced with this service.

    serialNumber String

    Serial Number of device. Example: HT82V1A01076.

    wifiMacAddresses List<String>

    WiFi MAC addresses of device.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Device resource produces the following output properties:

    AndroidSpecificAttributes Pulumi.GoogleNative.CloudIdentity.V1.Outputs.GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse

    Attributes specific to Android devices.

    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.

    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.

    Id string

    The provider-assigned unique ID for this managed resource.

    Imei string

    IMEI number of device if GSM device; empty otherwise.

    KernelVersion string

    Kernel version of the device.

    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.

    AndroidSpecificAttributes GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse

    Attributes specific to Android devices.

    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.

    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.

    Id string

    The provider-assigned unique ID for this managed resource.

    Imei string

    IMEI number of device if GSM device; empty otherwise.

    KernelVersion string

    Kernel version of the device.

    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.

    androidSpecificAttributes GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse

    Attributes specific to Android devices.

    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.

    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.

    id String

    The provider-assigned unique ID for this managed resource.

    imei String

    IMEI number of device if GSM device; empty otherwise.

    kernelVersion String

    Kernel version of the device.

    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.

    androidSpecificAttributes GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse

    Attributes specific to Android devices.

    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.

    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.

    id string

    The provider-assigned unique ID for this managed resource.

    imei string

    IMEI number of device if GSM device; empty otherwise.

    kernelVersion string

    Kernel version of the device.

    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.

    android_specific_attributes GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse

    Attributes specific to Android devices.

    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_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.

    id str

    The provider-assigned unique ID for this managed resource.

    imei str

    IMEI number of device if GSM device; empty otherwise.

    kernel_version str

    Kernel version of the device.

    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.

    androidSpecificAttributes Property Map

    Attributes specific to Android devices.

    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.

    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.

    id String

    The provider-assigned unique ID for this managed resource.

    imei String

    IMEI number of device if GSM device; empty otherwise.

    kernelVersion String

    Kernel version of the device.

    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.

    Supporting Types

    GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse, GoogleAppsCloudidentityDevicesV1AndroidAttributesResponseArgs

    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