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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.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

    Methods inherited from class java.lang.Object

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

    • GoogleComputeInstanceMetadata

      public GoogleComputeInstanceMetadata()
  • Method Details

    • getComputePlatform

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

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