Also used :
GCPUriPaths(com.vmware.photon.controller.model.adapters.gcp.GCPUriPaths)
AuthCredentialsServiceState(com.vmware.xenon.services.common.AuthCredentialsService.AuthCredentialsServiceState)
ComputeEnumerateResourceRequest(com.vmware.photon.controller.model.adapterapi.ComputeEnumerateResourceRequest)
GCPUtils.privateKeyFromPkcs8(com.vmware.photon.controller.model.adapters.gcp.utils.GCPUtils.privateKeyFromPkcs8)
QueryTask(com.vmware.xenon.services.common.QueryTask)
OSType(com.vmware.photon.controller.model.ComputeProperties.OSType)
GCPInstance(com.vmware.photon.controller.model.adapters.gcp.podo.vm.GCPInstance)
ResourceGroupState(com.vmware.photon.controller.model.resources.ResourceGroupService.ResourceGroupState)
DiskType(com.vmware.photon.controller.model.resources.DiskService.DiskType)
ComputeType(com.vmware.photon.controller.model.resources.ComputeDescriptionService.ComputeDescription.ComputeType)
ENVIRONMENT_NAME_GCP(com.vmware.photon.controller.model.resources.ComputeDescriptionService.ComputeDescription.ENVIRONMENT_NAME_GCP)
Utils(com.vmware.xenon.common.Utils)
GeneralSecurityException(java.security.GeneralSecurityException)
GCPInstancesList(com.vmware.photon.controller.model.adapters.gcp.podo.vm.GCPInstancesList)
AtomicInteger(java.util.concurrent.atomic.AtomicInteger)
Map(java.util.Map)
ServiceDocumentQueryResult(com.vmware.xenon.common.ServiceDocumentQueryResult)
URI(java.net.URI)
DEFAULT_DISK_SOURCE_IMAGE(com.vmware.photon.controller.model.adapters.gcp.constants.GCPConstants.DEFAULT_DISK_SOURCE_IMAGE)
GCPUtils.assignPowerState(com.vmware.photon.controller.model.adapters.gcp.utils.GCPUtils.assignPowerState)
GCPUtils.extractActualInstanceType(com.vmware.photon.controller.model.adapters.gcp.utils.GCPUtils.extractActualInstanceType)
ComputeDescription(com.vmware.photon.controller.model.resources.ComputeDescriptionService.ComputeDescription)
DISK_AUTO_DELETE(com.vmware.photon.controller.model.adapters.gcp.constants.GCPConstants.DISK_AUTO_DELETE)
StatelessService(com.vmware.xenon.common.StatelessService)
DEFAULT_DISK_SERVICE_REFERENCE(com.vmware.photon.controller.model.adapters.gcp.constants.GCPConstants.DEFAULT_DISK_SERVICE_REFERENCE)
Collection(java.util.Collection)
ConcurrentHashMap(java.util.concurrent.ConcurrentHashMap)
GCPDisk(com.vmware.photon.controller.model.adapters.gcp.podo.vm.GCPDisk)
TaskManager(com.vmware.photon.controller.model.adapters.util.TaskManager)
Set(java.util.Set)
DiskState(com.vmware.photon.controller.model.resources.DiskService.DiskState)
LIST_VM_TEMPLATE_URI(com.vmware.photon.controller.model.adapters.gcp.constants.GCPConstants.LIST_VM_TEMPLATE_URI)
UUID(java.util.UUID)
ServiceHost(com.vmware.xenon.common.ServiceHost)
List(java.util.List)
AUTH_HEADER_BEARER_PREFIX(com.vmware.photon.controller.model.adapters.gcp.constants.GCPConstants.AUTH_HEADER_BEARER_PREFIX)
PrivateKey(java.security.PrivateKey)
UriUtils(com.vmware.xenon.common.UriUtils)
ComputeService(com.vmware.photon.controller.model.resources.ComputeService)
QueryOption(com.vmware.xenon.services.common.QueryTask.QuerySpecification.QueryOption)
NumericRange(com.vmware.xenon.services.common.QueryTask.NumericRange)
DiskService(com.vmware.photon.controller.model.resources.DiskService)
PhotonModelUriUtils(com.vmware.photon.controller.model.util.PhotonModelUriUtils)
HashMap(java.util.HashMap)
ComputeDescriptionService(com.vmware.photon.controller.model.resources.ComputeDescriptionService)
GCPUtils(com.vmware.photon.controller.model.adapters.gcp.utils.GCPUtils)
MAX_RESULTS(com.vmware.photon.controller.model.adapters.gcp.constants.GCPConstants.MAX_RESULTS)
ArrayList(java.util.ArrayList)
HashSet(java.util.HashSet)
PAGE_TOKEN(com.vmware.photon.controller.model.adapters.gcp.constants.GCPConstants.PAGE_TOKEN)
UriPaths(com.vmware.photon.controller.model.UriPaths)
EnumerationStages(com.vmware.photon.controller.model.adapters.util.enums.EnumerationStages)
ComputeState(com.vmware.photon.controller.model.resources.ComputeService.ComputeState)
EnumerationAction(com.vmware.photon.controller.model.adapterapi.EnumerationAction)
LinkedList(java.util.LinkedList)
GCPAccessTokenResponse(com.vmware.photon.controller.model.adapters.gcp.podo.authorization.GCPAccessTokenResponse)
AdapterUtils(com.vmware.photon.controller.model.adapters.util.AdapterUtils)
GCPUtils.extractRegionFromZone(com.vmware.photon.controller.model.adapters.gcp.utils.GCPUtils.extractRegionFromZone)
EncryptionUtils(com.vmware.photon.controller.model.security.util.EncryptionUtils)
Operation(com.vmware.xenon.common.Operation)
QueryUtils(com.vmware.photon.controller.model.query.QueryUtils)
IOException(java.io.IOException)
ComputeScopes(com.google.api.services.compute.ComputeScopes)
Consumer(java.util.function.Consumer)
CUSTOM_OS_TYPE(com.vmware.photon.controller.model.ComputeProperties.CUSTOM_OS_TYPE)
DEFAULT_DISK_CAPACITY(com.vmware.photon.controller.model.adapters.gcp.constants.GCPConstants.DEFAULT_DISK_CAPACITY)
ComputeStateWithDescription(com.vmware.photon.controller.model.resources.ComputeService.ComputeStateWithDescription)
GCPUtils.assignIPAddress(com.vmware.photon.controller.model.adapters.gcp.utils.GCPUtils.assignIPAddress)
Collections(java.util.Collections)
OperationJoin(com.vmware.xenon.common.OperationJoin)
PhotonModelUriUtils.createInventoryUri(com.vmware.photon.controller.model.util.PhotonModelUriUtils.createInventoryUri)
JSONWebToken(com.vmware.photon.controller.model.adapters.gcp.utils.JSONWebToken)
GCPInstance(com.vmware.photon.controller.model.adapters.gcp.podo.vm.GCPInstance)
GCPInstancesList(com.vmware.photon.controller.model.adapters.gcp.podo.vm.GCPInstancesList)
GCPInstancesList(com.vmware.photon.controller.model.adapters.gcp.podo.vm.GCPInstancesList)
List(java.util.List)
ArrayList(java.util.ArrayList)
LinkedList(java.util.LinkedList)
URI(java.net.URI)
LIST_VM_TEMPLATE_URI(com.vmware.photon.controller.model.adapters.gcp.constants.GCPConstants.LIST_VM_TEMPLATE_URI)