Developer Device Platform 기기 카탈로그

기기 카탈로그를 사용하여 개발자 기기 플랫폼에서 기기를 찾고, 정렬하고, 자세히 살펴봅니다. 기기 카탈로그를 사용하면 개발, 테스트, 프로덕션을 위한 타겟 기기를 식별할 수 있습니다.

명령어 요약은 gcloud beta device-run devices list를 참고하세요.

시작하기 전에

이 단계에서는 이미 Google Cloud 프로젝트를 만들고, 개발자 기기 플랫폼 빠른 시작 가이드의 설정 단계를 완료하고, 터미널에서 gcloud로 인증했다고 가정합니다.

개발자 기기 플랫폼에서 기기 나열

  1. 프로젝트의 Google Cloud 기기를 나열합니다.

    gcloud beta device-run devices list
    

    출력은 다음과 비슷한 기기 목록입니다.

    ID        MAKE    NAME     MODEL FORM      OS_VERSION CAPACITY  AVAILABILITY  PRODUCTS
    tegu-35   Google  Pixel 9a tegu  PHYSICAL  35         MEDIUM    LOW           Automation, Streaming
    tokay-34  Google  Pixel 9  tokay PHYSICAL  34         HIGH      HIGH          Automation, Streaming
    tokay-35  Google  Pixel 9  tokay PHYSICAL  35         HIGH      HIGH          Automation, Streaming
    tokay-36  Google  Pixel 9  tokay PHYSICAL  36         MEDIUM    MEDIUM        Automation, Streaming
    
  2. 목록에서 사용에 적합한 기기 모델과 운영체제 버전을 식별하고 ID를 캡처합니다.

개발자 기기 플랫폼에서 기기 필터링

  1. 작업하려는 기기 모델과 운영체제 버전을 알고 있는 경우 기기 목록을 필터링하여 해당 기기만 표시할 수 있습니다. 예를 들어 운영체제 버전이 35인 실제 Android 기기만 나열하려면 다음을 실행합니다.

    gcloud beta device-run devices list --filter="HARDWARE_TYPE=PHYSICAL AND OS_VERSION=35 AND PLATFORM=ANDROID"
    

    출력은 필터와 일치하는 기기 목록입니다(예:).

    ID           MAKE      NAME                 MODEL     HARDWARE_TYPE    OS_VERSION  CAPACITY  AVAILABILITY  PRODUCTS
    re58c2-35    realme    realme C53           RE58C2    PHYSICAL         35          NONE      NONE          Automation, Streaming
    tb370fu-35   Lenovo    Lenovo Tab P12       TB370FU   PHYSICAL         35          LOW       LOW           Automation
    a05s-35      Samsung   Galaxy A05s          a05s      PHYSICAL         35          LOW       LOW           Automation, Streaming
    a06-35       Samsung   Galaxy A06           a06       PHYSICAL         35          LOW       LOW           Automation, Streaming
    a14xmsq-35   Samsung   Galaxy A14 5G        a14xmsq   PHYSICAL         35          LOW       NONE          Automation, Streaming
    a14xmtfn-35  Samsung   Galaxy A14 5G        a14xmtfn  PHYSICAL         35          NONE      NONE          Automation, Streaming
    a16-35       Samsung   Galaxy A16           a16       PHYSICAL         35          LOW       LOW           Automation, Streaming
    a16x-35      Samsung   Galaxy A16 5G        a16x      PHYSICAL         35          LOW       LOW           Automation
    
  2. ID를 기록하거나 목록을 계속 필터링하여 적합한 기기를 찾습니다.

개발자 기기 플랫폼에서 기기 필터링 및 형식 지정

  1. 기기를 필터링하는 것 외에도 출력 형식을 지정할 수 있습니다.

    gcloud beta device-run devices list --filter 'manufacturer=google AND formFactor=tablet' --format 'table(ID, AVAILABILITY)'
    

    출력은 필터와 일치하고 지정된 형식의 기기 목록입니다(예:).

    ID            AVAILABILITY
    tangorpro-33  HIGH
    tangorpro-36  MEDIUM
    
  2. ID를 캡처하거나 목록을 계속 필터링하고 형식을 지정하여 적합한 기기를 찾습니다.

개발자 기기 플랫폼에서 기기 설명

  1. 이제 기기 목록이 있으므로 특정 기기를 설명하여 자세한 정보를 볼 수 있습니다.

    gcloud beta device-run devices describe DEVICE_ID
    
  2. 예를 들어 tokay-35를 사용하면 다음과 비슷한 출력이 표시됩니다.

    availability: HIGH
    capacity: HIGH
    form: PHYSICAL
    formFactor: PHONE
    id: tokay-35
    manufacturer: Google
    modelCode: tokay
    name: Pixel 9
    platform: Android
    screenDensity: 420
    screenX: 1080
    screenY: 2424
    supportedAbis:
    -   arm64-v8a
    supportedProducts:
    -   product: AUTOMATION
    -   product: DEVICE_STREAMING
    
  3. 이 세부정보를 사용하여 사용에 적합한 기기 및 운영체제 버전을 결정하고 기기 ID를 기록해 둡니다.

다음 단계

다음으로 여기에서 캡처한 ID를 사용하여 기기 실행으로 테스트를 실행합니다.