Cloud Testing API (testing:v1)

2023-09-06

5 new methods

Additions

    Methods
  • testing.projects.deviceSessions.patch

      HTTP Method: PATCH

      Parameter Order: name

      Path: v1/{+name}

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: PATCH /v1/projects/{projectId}/deviceSessions/deviceSessionId}:updateDeviceSession Updates the current device session to the fields described by the update_mask.

      Parameters:

        updateMask

          Format: google-fieldmask

          Location: query

          Description: Required. The list of fields to update.

          Type: string

        name

          Required: Yes

          Description: Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"

          Type: string

          Pattern: ^projects/[^/]+/deviceSessions/[^/]+$

          Location: path

      Flat Path: v1/projects/{projectsId}/deviceSessions/{deviceSessionsId}

  • testing.projects.deviceSessions.cancel

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Parameters:

        name

          Description: Required. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"

          Type: string

          Required: Yes

          Pattern: ^projects/[^/]+/deviceSessions/[^/]+$

          Location: path

      Flat Path: v1/projects/{projectsId}/deviceSessions/{deviceSessionsId}:cancel

      HTTP Method: POST

      Parameter Order: name

      Path: v1/{+name}:cancel

      Description: POST /v1/projects/{project_id}/deviceSessions/{device_session_id}:cancel Changes the DeviceSession to state FINISHED and terminates all connections. Canceled sessions are not deleted and can be retrieved or listed by the user until they expire based on the 28 day deletion policy.

  • testing.projects.deviceSessions.create

      HTTP Method: POST

      Flat Path: v1/projects/{projectsId}/deviceSessions

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Parameter Order: parent

      Parameters:

        parent

          Description: Required. The Compute Engine project under which this device will be allocated. "projects/{project_id}"

          Location: path

          Required: Yes

          Type: string

          Pattern: ^projects/[^/]+$

      Path: v1/{+parent}/deviceSessions

      Description: POST /v1/projects/{project_id}/deviceSessions

  • testing.projects.deviceSessions.get

      Flat Path: v1/projects/{projectsId}/deviceSessions/{deviceSessionsId}

      HTTP Method: GET

      Parameters:

        name

          Type: string

          Required: Yes

          Location: path

          Description: Required. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"

          Pattern: ^projects/[^/]+/deviceSessions/[^/]+$

      Parameter Order: name

      Description: GET /v1/projects/{project_id}/deviceSessions/{device_session_id} Return a DeviceSession, which documents the allocation status and whether the device is allocated. Clients making requests from this API must poll GetDeviceSession.

      Path: v1/{+name}

      Scopes: https://www.googleapis.com/auth/cloud-platform

  • testing.projects.deviceSessions.list

      HTTP Method: GET

      Parameter Order: parent

      Description: GET /v1/projects/{project_id}/deviceSessions Lists device Sessions owned by the project user.

      Flat Path: v1/projects/{projectsId}/deviceSessions

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Parameters:

        parent

          Required: Yes

          Pattern: ^projects/[^/]+$

          Location: path

          Description: Required. The name of the parent to request, e.g. "projects/{project_id}"

          Type: string

        filter

          Description: Optional. If specified, responses will be filtered by the given filter. Allowed fields are: session_state.

          Type: string

          Location: query

        pageSize

          Type: integer

          Location: query

          Format: int32

          Description: Optional. The maximum number of DeviceSessions to return.

        pageToken

          Location: query

          Description: Optional. A continuation token for paging.

          Type: string

      Path: v1/{+parent}/deviceSessions