File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,8 @@ enum MetadataValue {
8181 return result;
8282 }
8383
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] .
8986 /// The list is checked in order. This is useful for local development.
9087 ///
9188 /// If no matching variable is found, `null` is returned.
@@ -98,10 +95,8 @@ enum MetadataValue {
9895 return null ;
9996 }
10097
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.
105100 ///
106101 /// If the metadata server cannot be contacted, a [BadConfigurationException]
107102 /// is thrown.
You can’t perform that action at this time.
0 commit comments