With the Secret Manager API, unless I provide an empty automatic object to replication, like so:
const secret = await client.createSecret({
parent: 'projects/1111111',
secret: {
name: 'foo',
replication: {
automatic: {}
}
},
secretId: 'foo'
})
I receive:
INVALID_ARGUMENT: Secret.replication must be provided.
☝️ an empty object feels like a weird interpretation of the protos?