Apenas saída. Nome do recurso deste fluxo de dados. Formato: properties/{property_id}/dataStreams/{stream_id} Exemplo: "properties/1000/dataStreams/2000"
Obrigatório. Lista de campos a serem atualizados. Os campos omitidos não serão atualizados. Para substituir a entidade inteira, use um caminho com a string "*" para corresponder a todos os campos.
É uma lista separada por vírgulas de nomes de campos totalmente qualificados. Exemplo: "user.displayName,photo".
Corpo da solicitação
O corpo da solicitação contém uma instância de DataStream.
Corpo da resposta
Se a solicitação for bem-sucedida, o corpo da resposta conterá uma instância de DataStream.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-07-26 UTC."],[[["\u003cp\u003eUpdates a DataStream associated with a Google Analytics 4 property.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the DataStream name as a path parameter and an update mask as a query parameter.\u003c/p\u003e\n"],["\u003cp\u003eRequest and response bodies utilize the \u003ccode\u003eDataStream\u003c/code\u003e object structure for data exchange.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization necessitates the \u003ccode\u003eanalytics.edit\u003c/code\u003e scope for successful execution.\u003c/p\u003e\n"]]],["This outlines updating a DataStream using a PATCH request to a specified URL structure: `https://analyticsadmin.googleapis.com/v1beta/{dataStream.name=properties/*/dataStreams/*}`. The `dataStream.name` parameter in the path is required. Updates are defined in the `updateMask` query parameter using FieldMask format. The request and response bodies utilize the DataStream format. It also requires the `https://www.googleapis.com/auth/analytics.edit` authorization scope.\n"],null,["# Method: properties.dataStreams.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates a DataStream on a property.\n\n### HTTP request\n\n`PATCH https://analyticsadmin.googleapis.com/v1beta/{dataStream.name=properties/*/dataStreams/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `dataStream.name` | `string` Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: \"properties/1000/dataStreams/2000\" |\n\n### Query parameters\n\n| Parameters ||\n|--------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string \"\\*\" to match all fields. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body contains an instance of [DataStream](/analytics/devguides/config/admin/v1/rest/v1beta/properties.dataStreams#DataStream).\n\n### Response body\n\nIf successful, the response body contains an instance of [DataStream](/analytics/devguides/config/admin/v1/rest/v1beta/properties.dataStreams#DataStream).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/analytics.edit`"]]