# Functions
AssertStorageBucketExists checks if the given storage bucket exists and fails the test if it does not.
AssertStorageBucketExistsE checks if the given storage bucket exists and returns an error if it does not.
CreateBuild creates a new build blocking until the operation is complete.
CreateBuildE creates a new build blocking until the operation is complete.
CreateStorageBucket creates a Google Cloud bucket with the given BucketAttrs.
CreateStorageBucketE creates a Google Cloud bucket with the given BucketAttrs.
DeleteGCRImageRef deletes a single repo image ref/digest.
DeleteGCRImageRefE deletes a single repo image ref/digest.
DeleteGCRRepo deletes a GCR repository including all tagged images.
DeleteGCRRepoE deletes a GCR repository including all tagged images.
DeleteSSHKey will delete an SSH key attached to the provided user identity.
DeleteSSHKeyE will delete an SSH key attached to the provided user identity.
DeleteStorageBucket destroys the Google Storage bucket.
DeleteStorageBucketE destroys the S3 bucket in the given region with the given name.
EmptyStorageBucket removes the contents of a storage bucket with the given name.
EmptyStorageBucketE removes the contents of a storage bucket with the given name.
FetchImage queries GCP to return a new instance of the (GCP Compute) Image type.
FetchImage queries GCP to return a new instance of the (GCP Compute) Image type.
FetchInstance queries GCP to return an instance of the (GCP Compute) Instance type.
FetchInstance queries GCP to return an instance of the (GCP Compute) Instance type.
FetchRegionalInstanceGroup queries GCP to return a new instance of the Regional Instance Group type.
FetchRegionalInstanceGroup queries GCP to return a new instance of the Regional Instance Group type.
FetchZonalInstanceGroup queries GCP to return a new instance of the Regional Instance Group type.
FetchZonalInstanceGroup queries GCP to return a new instance of the Regional Instance Group type.
GetAllGcpRegions gets the list of GCP regions available in this account.
GetAllGcpRegionsE gets the list of GCP regions available in this account.
GetAllGcpZones gets the list of GCP Zones available in this account.
GetAllGcpZonesE gets the list of GCP Zones available in this account.
GetBuild gets the given build.
GetBuildE gets the given build.
GetBuilds gets the list of builds for a given project.
GetBuildsE gets the list of builds for a given project.
GetBuildsForTrigger gets a list of builds for a specific cloud build trigger.
GetBuildsForTriggerE gets a list of builds for a specific cloud build trigger.
GetGoogleCredentialsFromEnvVar returns the Credentials for use with testing.
GetGoogleIdentityEmailEnvVar returns a Google identity (user) for use with testing.
GetGoogleProjectIDFromEnvVar returns the Project Id for use with testing.
GetGoogleRegionFromEnvVar returns the Region for use with testing.
GetLoginProfile will retrieve the login profile for a user's Google identity.
GetLoginProfileE will retrieve the login profile for a user's Google identity.
GetRandomRegion gets a randomly chosen GCP Region.
GetRandomRegionE gets a randomly chosen GCP Region.
GetRandomZone gets a randomly chosen GCP Zone.
GetRandomZoneE gets a randomly chosen GCP Zone.
GetRandomZoneForRegion gets a randomly chosen GCP Zone in the given Region.
GetRandomZoneForRegionE gets a randomly chosen GCP Zone in the given Region.
ImportProjectSSHKey will import an SSH key to GCP under the provided user identity.
ImportProjectSSHKeyE will import an SSH key to GCP under the provided user identity.
ImportSSHKey will import an SSH key to GCP under the provided user identity.
ImportSSHKeyE will import an SSH key to GCP under the provided user identity.
NewCloudBuildService creates a new Cloud Build service, which is used to make Cloud Build API calls.
NewCloudBuildServiceE creates a new Cloud Build service, which is used to make Cloud Build API calls.
NewComputeService creates a new Compute service, which is used to make GCE API calls.
NewComputeServiceE creates a new Compute service, which is used to make GCE API calls.
NewInstancesService creates a new InstancesService service, which is used to make a subset of GCE API calls.
NewInstancesServiceE creates a new InstancesService service, which is used to make a subset of GCE API calls.
NewOSLoginServiceE creates a new OS Login service, which is used to make OS Login API calls.
Return a random, valid name for GCP resources.
ReadBucketObject reads an object from the given Storage Bucket and returns its contents.
ReadBucketObjectE reads an object from the given Storage Bucket and returns its contents.
Given a GCP Zone URL formatted like https://www.googleapis.com/compute/v1/projects/project-123456/regions/southamerica-east1, return "southamerica-east1".
WriteBucketObject writes an object to the given Storage Bucket and returns its URL.
WriteBucketObjectE writes an object to the given Storage Bucket and returns its URL.
Given a GCP Zone URL formatted like https://www.googleapis.com/compute/v1/projects/project-123456/zones/asia-east1-b, return "asia-east1-b".
# Structs
Corresponds to a GCP Image (https://cloud.google.com/compute/docs/images).
Corresponds to a GCP Compute Instance (https://cloud.google.com/compute/docs/instances/).
Corresponds to a GCP Regional Instance Group (https://cloud.google.com/compute/docs/instance-groups/).
Corresponds to a GCP Zonal Instance Group (https://cloud.google.com/compute/docs/instance-groups/).