A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/nodejs/docs/reference/gcp-metadata/5.0.1/gcp-metadata/metadataaccessor below:

Package gcp-metadata (5.0.1) | Node.js client library

Package gcp-metadata (5.0.1)

Stay organized with collections Save and categorize content based on your preferences.

Interfaces Options Variables BASE_PATH
BASE_PATH = "/computeMetadata/v1"
HEADER_NAME = "Metadata-Flavor"
HEADERS: Readonly<{ "metadata-flavor":="" "google";="" }="">
HOST_ADDRESS
HOST_ADDRESS = "http://169.254.169.254"
SECONDARY_HOST_ADDRESS
SECONDARY_HOST_ADDRESS = "http://metadata.google.internal."
Functions instance(options)
export declare function instance

Obtain metadata for the current GCE instance

Parameter Name Description options string | Options
Returns Type Description Promise<T> Type Parameter Type Description T isAvailable()
export declare function isAvailable(): Promise

Determine if the metadata server is currently available.

Returns Type Description Promise<boolean> project(options)
export declare function project

Obtain metadata for the current GCP Project.

Parameter Name Description options string | Options
Returns Type Description Promise<T> Type Parameter Type Description T requestTimeout()
export declare function requestTimeout(): number;

Obtain the timeout for requests to the metadata server.

Returns Type Description number resetIsAvailableCache()
export declare function resetIsAvailableCache(): void;

reset the memoized isAvailable() lookup.

Returns Type Description void

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-07 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4