Method: projects.histories.executions.steps.perfSampleSeries.samples.batchCreate

PerfSamples 배치를 생성합니다. 클라이언트는 대규모 요청 페이로드를 분할하기 위해 이 메서드에 대한 반복 호출을 통해 여러 Perf 샘플 배치를 제출할 수 있습니다. 중복 항목과 기존 타임스탬프 항목은 무시됩니다. - 일괄 작업이 부분적으로 성공할 수 있습니다. - 성공적으로 삽입된 요소 집합이 응답으로 반환됩니다(데이터베이스에 이미 존재하는 항목은 생략됨).

다음 정식 오류 코드 중 하나를 반환할 수 있습니다. - NOT_FOUND - 포함된 PerfSampleSeries가 존재하지 않습니다.

HTTP 요청

POST https://toolresults.googleapis.com/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate

URL은 gRPC 트랜스코딩 구문을 사용합니다.

경로 매개변수

매개변수
projectId

string

클라우드 프로젝트

historyId

string

도구 결과 기록 ID입니다.

executionId

string

도구 결과 실행 ID입니다.

stepId

string

도구 결과 단계 ID입니다.

sampleSeriesId

string

샘플 시리즈 ID

요청 본문

요청 본문에는 다음 구조의 데이터가 포함됩니다.

JSON 표현
{
  "perfSamples": [
    {
      object (PerfSample)
    }
  ]
}
필드
perfSamples[]

object ( PerfSample )

생성할 PerfSamples 집합에는 기존 타임스탬프가 포함되어서는 안 됩니다.

응답 본문

성공하면 응답 본문에 다음 구조의 데이터가 포함됩니다.

JSON 표현
{
  "perfSamples": [
    {
      object (PerfSample)
    }
  ]
}
필드
perfSamples[]

object ( PerfSample )

승인 범위

다음 OAuth 범위가 필요합니다.

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

자세한 내용은 인증 개요를 참조하세요.