Package org.platformlayer.service.cloud.google.model

Examples of org.platformlayer.service.cloud.google.model.GoogleCloud


  @Handler
  public void doOperation() throws OpsException, IOException {
    Tags instanceTags = instance.getTags();

    GoogleCloud cloud = findCloud();
    if (cloud == null) {
      throw new OpsException("Could not find cloud");
    }
    GoogleComputeClient computeClient = googleComputeClientFactory.getComputeClient(cloud);
View Full Code Here


    request.tags = tags;
    return request;
  }

  private GoogleCloud findCloud() throws OpsException {
    GoogleCloud cloud = null;
    {
      cloud = platformLayer.getItem(instance.cloud, GoogleCloud.class);
    }
    return cloud;
  }
View Full Code Here

TOP

Related Classes of org.platformlayer.service.cloud.google.model.GoogleCloud

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.