Skip to content

id save as undefined if not provided in createInstance should throw an error #652

@laljikanjareeya

Description

@laljikanjareeya

Environment details

  • OS: any
  • Node.js version: any
  • npm version: any
  • @google-cloud/bigtable version: any

Steps to reproduce

function createInstance() {
    const bigtable = new Bigtable();
    const instance = bigtable.instance('test-instance');
    const instanceOptions = {
        clusters: [
            {
                nodes: 3,
                location: 'us-central1-f',
                storage: 'ssd',
            }
        ],
        labels: { 'prod-label': 'prod-label' },
    };
    instance.create(instanceOptions, (err, response) => {
        if (err) {
            console.log(err);
        }
        console.log(`Created Instance successfully.`);
    });
}

Metadata

Metadata

Labels

api: bigtableIssues related to the googleapis/nodejs-bigtable API.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions