Add-VBRGoogleCloudComputeAccount

Short Description

Adds Google Cloud service account credentials record.

Important

This cmdlet is available starting from Veeam Backup & Replication 11a (build 11.0.1.1261).

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Add-VBRGoogleCloudComputeAccount -Name <string> -JSONKey <string> [-Description <string>]  [<CommonParameters>]

Detailed Description

This cmdlet adds the VBRGoogleCloudComputeAccount object. This object contains Google Cloud service account credentials records used to access the following services:

  • Google Compute Engine.
  • Google Cloud Platform Plug-in for Veeam Backup & Replication.

Important

This cmdlet does not create a Google Cloud service account. You must set up the Google Cloud service account beforehand, as described in Google Cloud documentation.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Name

Specifies a name of the Google Cloud service account. Veeam Backup & Replication will save the Google Cloud service account under this name.

String

True

Named

False

JSONKey

Specifies the path to the service account key in the JSON format.

String

True

Named

False

Description

Specifies a description for Google Cloud service account credentials records.

String

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBRGoogleCloudComputeAccount

Examples

Creating Google Cloud Service Account

This command creates the GCP service acc 1 Google Cloud service account credentials record. The cmdlet will use the json key located at the C:\Users\Admin\Downloads\eu-backup-253812-1bd00366edd2.json path.

Add-VBRGoogleCloudComputeAccount -Name "GCP service acc 1" -JSONKey "C:\Users\Admin\Downloads\eu-backup-253812-1bd00366edd2.json" -Description "Google Cloud Compute Administrator 1"