File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,8 @@ enum MetadataValue {
81
81
return result;
82
82
}
83
83
84
- /// Returns the
85
- /// [Region] (https://cloud.google.com/compute/docs/regions-zones#identifying_a_region_or_zone)
86
- /// for the current instance by checking the environment variables in
87
- /// [environmentValues] .
88
- ///
84
+ /// Returns a metadata value for the current instance by checking the
85
+ /// environment variables in [environmentVariables] .
89
86
/// The list is checked in order. This is useful for local development.
90
87
///
91
88
/// If no matching variable is found, `null` is returned.
@@ -98,10 +95,8 @@ enum MetadataValue {
98
95
return null ;
99
96
}
100
97
101
- /// Returns a [Future] that completes with the
102
- /// [Region] (https://cloud.google.com/compute/docs/regions-zones#identifying_a_region_or_zone)
103
- /// for the current instance by checking
104
- /// [instance metadata] (https://cloud.google.com/compute/docs/metadata/default-metadata-values#vm_instance_metadata).
98
+ /// Returns a [Future] that completes with a metadata value for the current
99
+ /// instance by contacting the metadata server.
105
100
///
106
101
/// If the metadata server cannot be contacted, a [BadConfigurationException]
107
102
/// is thrown.
You can’t perform that action at this time.
0 commit comments