Google Business Performance API에는 단일 API 요청으로 여러 'DailyMetrics'를 가져올 수 있는
새로운 API 메서드가 있습니다.
v4 reportInsights API 메서드에서 Google Business Profile Performance API로 이전하려면
지원 중단 일정 및 안내를 검토하세요.
WriteRequest
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
ByteStream.Write의 요청 객체입니다.
JSON 표현 |
{
"resourceName": string,
"writeOffset": string,
"finishWrite": boolean,
"data": string
} |
필드 |
resourceName |
string
작성할 리소스의 이름입니다. 이는 각 Write() 작업의 첫 번째 WriteRequest 에서 설정해야 합니다. 후속 호출에서 설정된 경우 첫 번째 요청의 값과 일치해야 합니다.
|
writeOffset |
string (int64 format)
데이터를 기록해야 하는 리소스의 시작 부분으로부터의 오프셋입니다. 모든 WriteRequest 에 필수입니다. Write() 작업의 첫 번째 WriteRequest 에서 Write() 호출의 초기 오프셋을 나타냅니다. 이 값은 QueryWriteStatus() 호출에서 반환되는 committedSize 과 같아야 합니다.
후속 호출에서는 이 값을 설정해야 하며 이 스트림에서 이전에 전송된 모든 data 번들의 첫 번째 writeOffset 및 크기를 합한 것과 같아야 합니다. 값이 올바르지 않으면 오류가 발생합니다.
|
finishWrite |
boolean
true 이면 쓰기가 완료되었음을 나타냅니다. finishWrite 가 true 인 것 이후에 WriteRequest 을 전송하면 오류가 발생합니다.
|
data |
string (bytes format)
리소스 데이터의 일부입니다. 클라이언트는 특정 WriteRequest 에 대해 data 를 비워 둘 수 있습니다. 이를 통해 클라이언트는 추가 데이터를 생성하는 작업을 실행하는 동안 요청이 여전히 활성 상태임을 서비스에 알릴 수 있습니다. base64 인코딩 문자열입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-25(UTC)"],[],["The ByteStream.Write request requires `resourceName` (set initially, and consistent thereafter), `writeOffset` (indicating data position, increasing cumulatively), `finishWrite` (a boolean flag signaling completion), and `data` (a base64-encoded string of resource data). The `writeOffset` must match the `committedSize`. Setting `finishWrite` to true prevents further writes. The `data` field can be empty to keep the request active. All the parameters are required unless otherwise specified.\n"]]