googleapis / googleapis/google-cloud-java
How to parse BigQuery Audit Log in Java
- 主要语言
- Java
- 星标
- 2.1k
- 派生
- 1.2k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 157
描述
Hi, I’m using:
```
JsonFormat.printer()
.usingTypeRegistry(TYPE_REGISTRY)
.print(logEntry.getProtoPayload());
```
But I get the following exception:
`Cannot find type for url: type.googleapis.com/google.cloud.bigquery.logging.v1.AuditData
`
I wasn’t able to find any Maven/Gradle dependency that provides
google.cloud.bigquery.logging.v1.AuditData so I can register it in the TypeRegistry.
Is there an official Java artifact for this type, or a recommended way to handle it?
This seems related to a previously reported issue in the .NET client:
https://github.com/googleapis/google-cloud-dotnet/issues/8963
In that case, support was added by publishing the required BigQuery logging proto types.
However, I couldn’t find an equivalent solution or dependency for Java.
贡献指南
评估
这个 Issue 还没有评估数据。