googleapis / googleapis/google-cloud-java

How to parse BigQuery Audit Log in Java

Ouverte
#12,180 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
api: bigquery priority: p3 type: feature request
Langage dominant
Java
Étoiles
2.1k
Forks
1.2k
Merge moyen
1 j 23 h
PR mergées (30 j)
154

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.