2.4.3 (latest) 2.4.2 2.3.1 2.2.2 Reference documentation and code samples for the Google Cloud Platform environment queries class Google::Cloud::Env::MetadataServerNotResponding.

Error raised when the compute metadata server is expected to be
present in the current environment, but couldn't be contacted.

## Inherits

- StandardError

## Methods

### #initialize

```ruby
def initialize(message = nil) -> MetadataServerNotResponding
```
Create a new MetadataServerNotResponding.
**Parameter**

- **message** (String) --- Error message. If not provided, defaults to [DEFAULT_MESSAGE](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-env/latest/Google-Cloud-Env-MetadataServerNotResponding.md.txt#Google__Cloud__Env__MetadataServerNotResponding__DEFAULT_MESSAGE "Google::Cloud::Env::MetadataServerNotResponding::DEFAULT_MESSAGE (constant)").
**Returns**

- ([MetadataServerNotResponding](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-env/latest/Google-Cloud-Env-MetadataServerNotResponding.md.txt)) --- a new instance of MetadataServerNotResponding

## Constants

### DEFAULT_MESSAGE

**value:** "The Google Metadata Server did not respond to queries. This " \\
"could be because no Server is present, the Server has not yet " \\
"finished starting up, the Server is running but overloaded, or " \\
"Server could not be contacted due to networking issues."  
Default message for the error