Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.micronaut.context.env.ComputePlatform getComputePlatform()  
      java.lang.String getRegion()  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GoogleComputeInstanceMetadata

        public GoogleComputeInstanceMetadata()
    • Method Detail

      • getComputePlatform

        public io.micronaut.context.env.ComputePlatform getComputePlatform()
      • getRegion

        public java.lang.String getRegion()
        Specified by:
        getRegion in interface io.micronaut.discovery.cloud.ComputeInstanceMetadata
        Overrides:
        getRegion in class io.micronaut.discovery.cloud.AbstractComputeInstanceMetadata