Set-VBRGoogleCloudComputeAccount
Short Description
Modifies Google Cloud service account credentials record.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRGoogleCloudComputeAccount -Account <VBRGoogleCloudComputeAccount> [-Name <String>] [-JSONKey <String>] [-Description <String>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies an existing Google Cloud service account credentials record.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Account |
Specifies a Google Cloud service account credentials record that you want to modify.
Accepts the |
True |
Named |
False |
|
|
Description |
Specifies a description for Google Cloud service account credentials records. Veeam Backup & Replication will modify the description of the Google Cloud service account to the specified value. |
|
False |
Named |
False |
|
JSONKey |
Specifies the path to the service account key in the JSON format. Veeam Backup & Replication will modify the path to the Google Cloud service account key to the specified value. |
|
False |
Named |
False |
|
Name |
Specifies a name of the Google Cloud service account. Veeam Backup & Replication will modify the name of the Google Cloud service account to the specified value. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Modifying Google Cloud Service Account Credentials Record
This example shows how to modify the GCP service acc 1 Google Cloud service account credentials record.
|
$account = Get-VBRGoogleCloudComputeAccount -Name "GCP service acc 1" Set-VBRGoogleCloudComputeAccount -Account $account -Name "GCP service account 1" |
Perform the following steps:
- Run the
Get-VBRGoogleCloudComputeAccountReturns Google Cloud service account credentials record. cmdlet. Specify theNameparameter value. Save the result to the$accountvariable. - Run the
Set-VBRGoogleCloudComputeAccountcmdlet. Set the$accountvariable as theAccountparameter. Specify theNameparameter value.
Related Commands
Get-VBRGoogleCloudComputeAccountReturns Google Cloud service account credentials record.