Set-VBRGoogleCloudComputeAccount

In this article

    Short Description

    Modifies 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

    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 VBRGoogleCloudComputeAccount object. To create this object, run the Add-VBRGoogleCloudComputeAccount cmdlet.

    True

    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.

    String

    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.

    String

    False

    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.

    String

    False

    Named

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

    Output Object

    VBRGoogleCloudComputeAccount

    Example

    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:

    1. Run the Get-VBRGoogleCloudComputeAccount cmdlet. Specify the Name parameter value. Save the result to the $account variable.
    2. Run the Set-VBRGoogleCloudComputeAccount cmdlet. Set the $account variable as the Account parameter. Specify the Name parameter value.

    Related Commands

    Get-VBRGoogleCloudComputeAccount