Skip to content

New GDriveFileContentHintsDataObj

Spencer Varney edited this page Dec 9, 2016 · 2 revisions

New-GDriveFileContentHintsDataObj

SYNOPSIS

Creates a new Drive API File.ContentHintsData object.

SYNTAX

New-GDriveFileContentHintsDataObj [[-IndexableText] <String>] [[-Thumbnail] <ThumbnailData>] [-WhatIf]
 [-Confirm]

DESCRIPTION

This provides a Cmdlet-Based approach to creating a File.ContentHintsData object which may be required as a parameter for some other Cmdlets in the Drive API category.

You could alternately create this object by calling New-Object -TypeName Google.Apis.Drive.v3.Data.File.ContentHintsData

EXAMPLES

---------- EXAMPLE 1 ----------

PS C:\> New-GDriveFileContentHintsDataObj

This automatically generated example serves to show the bare minimum required to call this Cmdlet.

Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.

PARAMETERS

-IndexableText

Text to be indexed for the file to improve fullText queries. This is limited to 128KB in length and may contain HTML elements.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Thumbnail

A thumbnail for the file. This will only be used if Drive cannot generate a standard thumbnail.

Type: ThumbnailData
Parameter Sets: (All)
Aliases: 

Required: False
Position: 1
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

INPUTS

System.String

Text to be indexed for the file to improve fullText queries. This is limited to 128KB in length and may contain HTML elements.

Google.Apis.Drive.v3.Data.File+ContentHintsData+ThumbnailData

A thumbnail for the file. This will only be used if Drive cannot generate a standard thumbnail.

OUTPUTS

Google.Apis.Drive.v3.Data.File+ContentHintsData

NOTES

Part of the gShell Project, relating to the Google Drive API; see Related Links or use the -Online parameter.

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally