Skip to content

Commit

Permalink
v1.3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Kozlov authored and Max Kozlov committed Jul 22, 2024
1 parent 3dd46b4 commit 64b63ef
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
21 changes: 10 additions & 11 deletions GMGoogleDrive/GMGoogleDrive.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
RootModule = 'GMGoogleDrive'

# Version number of this module.
ModuleVersion = '1.2.0.0'
ModuleVersion = '1.3.0.0'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand All @@ -31,7 +31,7 @@ CompanyName = 'NA'
Copyright = '(c) 2017-2024 Max Kozlov. All rights reserved.'

# Description of the functionality provided by this module
Description = 'Google Drive REST Api module'
Description = 'Google Drive and Google Sheets REST Api module'

# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '5.1'
Expand Down Expand Up @@ -122,21 +122,21 @@ FunctionsToExport = @(
'Get-GDriveProxySetting',
'Set-GDriveProxySetting',

'New-GSheetsSpreadSheet',
'New-GSheetsSpreadsheet',
'Get-GSheetsSpreadsheet',
'Remove-GSheetsSpreadsheet',
'Add-GSheetsSheet',
'Remove-GSheetsSpreadSheet',
'Remove-GSheetsSheet',
'Copy-GSheetsSheet',
'Rename-GSheetsSheet',
'Clear-GSheetsValue',
'Export-GSheets',
'Get-GSheetsValue',
'Set-GSheetsValue',
'Set-GSheetsFormatting',
'Clear-GSheetsValue',
'Get-GSheetsRaw',
'Update-GSheetsRaw',
'Convert-A1NotationToGridRange',
'Export-GSheets',
'Get-GSheetsSpreadsheet',
'Set-GSheetsFormatting'
'Convert-A1NotationToGridRange'
)

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
Expand All @@ -163,7 +163,7 @@ PrivateData = @{
PSData = @{

# Tags applied to this module. These help with module discovery in online galleries.
Tags = @('Powershell','GoogleDrive', 'REST')
Tags = @('Powershell', 'GoogleDrive', 'Google', 'Drive', 'Sheets', 'Spreadsheets', 'REST', 'Api')

# A URL to the license for this module.
LicenseUri = 'https://opensource.org/licenses/MIT'
Expand Down Expand Up @@ -194,4 +194,3 @@ PrivateData = @{
# DefaultCommandPrefix = 'GDrive'

}

8 changes: 4 additions & 4 deletions GMGoogleDrive/Public/GSheets/New-GSheetsSpreadSheet.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
.PARAMETER AccessToken
Access Token for request
.EXAMPLE
New-GSheetsSpreadSheet -AccessToken $access_token -Name 'New table'
New-GSheetsSpreadsheet -AccessToken $access_token -Name 'New table'
.EXAMPLE
New-GSheetsSpreadSheet -AccessToken $access_token -Name 'New table' -SheetName 'sheet1'
New-GSheetsSpreadsheet -AccessToken $access_token -Name 'New table' -SheetName 'sheet1'
.EXAMPLE
New-GSheetsSpreadSheet -AccessToken $access_token
New-GSheetsSpreadsheet -AccessToken $access_token
.OUTPUTS
Spreadsheet
.NOTES
Author: Max Kozlov
.LINK
https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/create
#>
function New-GSheetsSpreadSheet {
function New-GSheetsSpreadsheet {
[CmdletBinding()]
param(
[string]$Name,
Expand Down
4 changes: 2 additions & 2 deletions GMGoogleDrive/Public/GSheets/Remove-GSheetsSpreadSheet.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
.PARAMETER AccessToken
Access Token for request
.EXAMPLE
Remove-GSheetsSpreadSheet -AccessToken $access_token -SpreadsheetId $SpreadsheetId
Remove-GSheetsSpreadsheet -AccessToken $access_token -SpreadsheetId $SpreadsheetId
.OUTPUTS
.NOTES
Author: Max Kozlov
.LINK
https://developers.google.com/sheets/api/samples/sheet
#>
function Remove-GSheetsSpreadSheet {
function Remove-GSheetsSpreadsheet {
[CmdletBinding(SupportsShouldProcess, ConfirmImpact='High')]
param(
[Parameter(Mandatory)]
Expand Down

0 comments on commit 64b63ef

Please sign in to comment.