Google Business PerformanceAPI has aNEWAPI method that allows fetching multiple `DailyMetrics` in a single API request. Review thedeprecation scheduleand instructions to migrate over from v4 reportInsights API method to Google Business Profile Performance API.
The name of the resource to write. Thismustbe set on the firstWriteRequestof eachWrite()action. If it is set on subsequent calls, itmustmatch the value of the first request.
The offset from the beginning of the resource at which the data should be written. It is required on allWriteRequests.
In the firstWriteRequestof aWrite()action, it indicates the initial offset for theWrite()call. The valuemustbe equal to thecommittedSizethat a call toQueryWriteStatus()would return.
On subsequent calls, this valuemustbe set andmustbe equal to the sum of the firstwriteOffsetand the sizes of alldatabundles sent previously on this stream.
An incorrect value will cause an error.
finishWrite
boolean
Iftrue, this indicates that the write is complete. Sending anyWriteRequests subsequent to one in whichfinishWriteistruewill cause an error.
A portion of the data for the resource. The clientmayleavedataempty for any givenWriteRequest. This enables the client to inform the service that the request is still live while it is running an operation to generate more data.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 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"]]