Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.
This repository was archived by the owner on Dec 14, 2025. It is now read-only.

Add support for fetching multiple metadata properties #56

@Abhi347

Description

@Abhi347

Please add support for fetching multiple metadata properties using a single call. For example, the call could be like the following

const res = await gcpMetadata.instance({
  properties: ['id','name','zone']
});
console.log(res.data)
// Result: {id:1234,name:'name',zone:'zone_name'}

Metadata

Metadata

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions