org.dasein.cloud.google
Class Google

java.lang.Object
  extended by org.dasein.cloud.CloudProvider
      extended by org.dasein.cloud.AbstractCloud
          extended by org.dasein.cloud.google.Google

public class Google
extends org.dasein.cloud.AbstractCloud

Support for the Google API through Dasein Cloud.

Created by George Reese: 12/06/2012 9:35 AM

Since:
2013.01
Version:
2013.01 initial version
Author:
George Reese

Field Summary
static String ISO8601_NO_MS_PATTERN
           
static String ISO8601_PATTERN
           
 
Constructor Summary
Google()
           
 
Method Summary
 String getCloudName()
           
 GoogleCompute getComputeServices()
           
 org.dasein.cloud.ContextRequirements getContextRequirements()
           
 DataCenters getDataCenterServices()
           
 com.google.api.services.compute.Compute getGoogleCompute()
           
 com.google.api.services.sqladmin.SQLAdmin getGoogleSQLAdmin()
           
 com.google.api.services.storage.Storage getGoogleStorage()
           
static org.apache.log4j.Logger getLogger(Class<?> cls)
           
 GoogleNetwork getNetworkServices()
           
 GooglePlatform getPlatformServices()
           
 String getProviderName()
           
 String getProxyHost()
           
 int getProxyPort()
           
 GoogleDrive getStorageServices()
           
static org.apache.log4j.Logger getWireLogger(Class<?> cls)
           
 long parseTime(String time)
           
 String testContext()
           
 
Methods inherited from class org.dasein.cloud.AbstractCloud
getAdminServices, getCIServices, getIdentityServices
 
Methods inherited from class org.dasein.cloud.CloudProvider
close, connect, connect, connect, findUniqueName, getComputeCloud, getContext, hasAdminServices, hasCIServices, hasComputeServices, hasIdentityServices, hasNetworkServices, hasPlatformServices, hasStorageServices, hold, isConnected, matchesTags, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ISO8601_PATTERN

public static final String ISO8601_PATTERN
See Also:
Constant Field Values

ISO8601_NO_MS_PATTERN

public static final String ISO8601_NO_MS_PATTERN
See Also:
Constant Field Values
Constructor Detail

Google

public Google()
Method Detail

getLogger

@Nonnull
public static org.apache.log4j.Logger getLogger(@Nonnull
                                                        Class<?> cls)

getWireLogger

@Nonnull
public static org.apache.log4j.Logger getWireLogger(@Nonnull
                                                            Class<?> cls)

getCloudName

@Nonnull
public String getCloudName()
Specified by:
getCloudName in class org.dasein.cloud.CloudProvider

getContextRequirements

@Nonnull
public org.dasein.cloud.ContextRequirements getContextRequirements()
Overrides:
getContextRequirements in class org.dasein.cloud.AbstractCloud

getDataCenterServices

@Nonnull
public DataCenters getDataCenterServices()
Specified by:
getDataCenterServices in class org.dasein.cloud.CloudProvider

getComputeServices

@Nonnull
public GoogleCompute getComputeServices()
Overrides:
getComputeServices in class org.dasein.cloud.AbstractCloud

getNetworkServices

@Nonnull
public GoogleNetwork getNetworkServices()
Overrides:
getNetworkServices in class org.dasein.cloud.AbstractCloud

getPlatformServices

@Nullable
public GooglePlatform getPlatformServices()
Overrides:
getPlatformServices in class org.dasein.cloud.AbstractCloud

getProxyHost

@Nullable
public String getProxyHost()

getProxyPort

public int getProxyPort()

getStorageServices

@Nonnull
public GoogleDrive getStorageServices()
Overrides:
getStorageServices in class org.dasein.cloud.CloudProvider

getProviderName

@Nonnull
public String getProviderName()
Specified by:
getProviderName in class org.dasein.cloud.CloudProvider

getGoogleCompute

public com.google.api.services.compute.Compute getGoogleCompute()
                                                         throws org.dasein.cloud.CloudException,
                                                                org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getGoogleStorage

public com.google.api.services.storage.Storage getGoogleStorage()
                                                         throws org.dasein.cloud.CloudException,
                                                                org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getGoogleSQLAdmin

public com.google.api.services.sqladmin.SQLAdmin getGoogleSQLAdmin()
                                                            throws org.dasein.cloud.CloudException,
                                                                   org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testContext

@Nullable
public String testContext()
Overrides:
testContext in class org.dasein.cloud.CloudProvider

parseTime

public long parseTime(@Nullable
                      String time)
               throws org.dasein.cloud.CloudException
Throws:
org.dasein.cloud.CloudException


Copyright © 2014 Dell, Inc. All Rights Reserved.