Get-VBRGoogleCloudFolder
Short Description
Returns Google Cloud folders.
Platform: VMware, Hyper-V
Syntax
|
Get-VBRGoogleCloudFolder -Connection <IVBRGoogleCloudConnection> -Bucket <VBRGoogleCloudBucket[]> [-Name <String[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of Google Cloud folders.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Bucket |
Specifies an array of Google Cloud buckets. The cmdlet will return an array of the folders added to these buckets.
Accepts the |
True |
Named |
False |
|
|
Connection |
Specifies an active session with Google Cloud object storage. The cmdlet will return an array of the folders added to this object storage.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Name |
Specifies an array of names for the Google Cloud folders. Veeam Backup & Replication will return the folders with these names. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRGoogleCloudFolder object that contains an array of Google Cloud folders.
Examples
Getting Google Cloud Folders
This example shows how to get folders added to Google Cloud object storage.
|
$account = Get-VBRGoogleCloudAccount -Id "936edf7c-7cf3-4dbd-9895-c7485ef4bb2c" $connection = Connect-VBRGoogleCloudService -Account $account -ServiceType CapacityTier $bucket = Get-VBRGoogleCloudBucket -Connection $connection -Region $region Get-VBRGoogleCloudFolder -Connection $connection -Bucket $bucket |
Perform the following steps:
- Run the
Get-VBRGoogleCloudAccountReturns Google Cloud credentials records. cmdlet. Specify theIdparameter value. Save the result to the$accountvariable. - Run the
Connect-VBRGoogleCloudServiceConnects to Google Cloud object storage. cmdlet. Specify theAccountandServiceTypeparameter values. Save the result to the$connectionvariable. - Run the
Get-VBRGoogleCloudBucketReturns Google Cloud buckets. cmdlet. Specify theConnectionandRegionparameter values. Save the result to the$bucketvariable. - Run the
Get-VBRGoogleCloudFoldercmdlet. Set the$connectionvariable as theConnectionparameter value. Set the$bucketvariable as theBucketparameter value.
Related Commands
Get-VBRGoogleCloudAccountReturns Google Cloud credentials records.Connect-VBRGoogleCloudServiceConnects to Google Cloud object storage.Get-VBRGoogleCloudBucketReturns Google Cloud buckets.