org.dasein.cloud.google
Class GoogleMethod

java.lang.Object
  extended by org.dasein.cloud.google.GoogleMethod

public class GoogleMethod
extends Object

Represents the interaction point between Dasein Cloud and the underlying REST API.

Since:
2014.03
Version:
2014.03 initial version
Author:
Drew Lyall

Constructor Summary
GoogleMethod(Google provider)
           
 
Method Summary
 boolean getOperationComplete(org.dasein.cloud.ProviderContext ctx, com.google.api.services.compute.model.Operation job, GoogleOperationType operationType, String regionId, String dataCenterId)
           
 String getOperationTarget(org.dasein.cloud.ProviderContext ctx, com.google.api.services.compute.model.Operation job, GoogleOperationType operationType, String regionId, String dataCenterId, boolean getLink)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleMethod

public GoogleMethod(@Nonnull
                    Google provider)
Method Detail

getOperationTarget

@Nonnull
public String getOperationTarget(@Nonnull
                                         org.dasein.cloud.ProviderContext ctx,
                                         @Nonnull
                                         com.google.api.services.compute.model.Operation job,
                                         @Nonnull
                                         GoogleOperationType operationType,
                                         String regionId,
                                         String dataCenterId,
                                         boolean getLink)
                          throws org.dasein.cloud.CloudException,
                                 org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getOperationComplete

@Nonnull
public boolean getOperationComplete(org.dasein.cloud.ProviderContext ctx,
                                            com.google.api.services.compute.model.Operation job,
                                            GoogleOperationType operationType,
                                            String regionId,
                                            String dataCenterId)
                             throws org.dasein.cloud.CloudException,
                                    org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException


Copyright © 2014 Dell, Inc. All Rights Reserved.