Interface DetectedPlatform


  • public interface DetectedPlatform
    Represents a GCP specific platform on which a cloud application can run.
    • Method Detail

      • getProjectId

        java.lang.String getProjectId()
        Method to retrieve the GCP Project ID in which the GCP specific platform exists. Every valid platform must have a GCP Project ID associated with it.
        Returns:
        the Google Cloud project ID.
      • getAttributes

        java.util.Map<java.lang.String,​java.lang.String> getAttributes()
        Method to retrieve the attributes associated with the compute platform on which the application is running as key-value pairs. The valid keys to query on this Map are specified in the AttributeKeys.
        Returns:
        a Map of attributes specific to the underlying compute platform.