googleapis / googleapis/google-cloud-java

How to parse BigQuery Audit Log in Java

Đang mở
#12,180 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
api: bigquery priority: p3 type: feature request
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.