public final class MetadataLoader extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ENV_FLEXIBLE |
static String |
ENV_STANDARD |
| Constructor and Description |
|---|
MetadataLoader(ResourceTypeEnvironmentGetter getter) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable String |
getValue(MonitoredResourceUtil.Label label)
Loads metadata value for the
label argument. |
public static final String ENV_FLEXIBLE
public static final String ENV_STANDARD
public MetadataLoader(ResourceTypeEnvironmentGetter getter)
public @Nullable String getValue(MonitoredResourceUtil.Label label)
label argument.label - A resource metadata label of type MonitoredResourceUtil.Labelnull if the label is not supported.Copyright © 2023 Google LLC. All rights reserved.