Package io.micronaut.discovery.cloud.gcp
Class GoogleComputeInstanceMetadata
java.lang.Object
io.micronaut.discovery.cloud.AbstractComputeInstanceMetadata
io.micronaut.discovery.cloud.gcp.GoogleComputeInstanceMetadata
- All Implemented Interfaces:
io.micronaut.discovery.cloud.ComputeInstanceMetadata
@Introspected
public class GoogleComputeInstanceMetadata
extends io.micronaut.discovery.cloud.AbstractComputeInstanceMetadata
Represents
ComputeInstanceMetadata
for Google Cloud Platform.- Since:
- 1.0
- Author:
- rvanderwerf, Graeme Rocher
-
Field Summary
Fields inherited from class io.micronaut.discovery.cloud.AbstractComputeInstanceMetadata
availabilityZone, region
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.context.env.ComputePlatform
Methods inherited from class io.micronaut.discovery.cloud.AbstractComputeInstanceMetadata
getAccount, getAvailabilityZone, getDescription, getImageId, getInstanceId, getInterfaces, getLocalHostname, getMachineType, getMetadata, getName, getPrivateHostname, getPrivateIpV4, getPrivateIpV6, getPublicHostname, getPublicIpV4, getPublicIpV6, getTags, isCached, setAccount, setAvailabilityZone, setCached, setDescription, setImageId, setInstanceId, setInterfaces, setLocalHostname, setMachineType, setMetadata, setName, setPrivateIpV4, setPrivateIpV6, setPublicHostname, setPublicIpV4, setPublicIpV6, setRegion, setTags
-
Constructor Details
-
GoogleComputeInstanceMetadata
public GoogleComputeInstanceMetadata()
-
-
Method Details
-
getComputePlatform
public io.micronaut.context.env.ComputePlatform getComputePlatform() -
getRegion
- Specified by:
getRegion
in interfaceio.micronaut.discovery.cloud.ComputeInstanceMetadata
- Overrides:
getRegion
in classio.micronaut.discovery.cloud.AbstractComputeInstanceMetadata
-