Skip to content
Spencer Varney edited this page Dec 27, 2016 · 3 revisions

Watch-GRepActivity

SYNOPSIS

Push changes to activities

SYNTAX

Params (Default)

Watch-GRepActivity [-ApplicationName] <ApplicationNameEnum> [-UserKey] <String> [[-EventName] <String>]
 [[-Filters] <String>] [[-Id] <String>] [[-Token] <String>] [[-Expiration] <Int64>] [[-Type] <String>]
 [[-Address] <String>] [[-Payload] <Boolean>] [[-Ttl] <String>]
 [-StandardQueryParams <StandardQueryParameters>] [-GAuthId <String>] [-WhatIf] [-Confirm]

Body

Watch-GRepActivity [-ApplicationName] <ApplicationNameEnum> [-UserKey] <String> [[-ChannelBody] <Channel>]
 [-StandardQueryParams <StandardQueryParameters>] [-GAuthId <String>] [-WhatIf] [-Confirm]

DESCRIPTION

Push changes to activities

EXAMPLES

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

PS C:\> Watch-GRepActivity -UserKey $SomeUserKeyString -ApplicationName $SomeApplicationNameString -ChannelBody $SomeChannelObj

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

-ApplicationName

Application name for which the events are to be retrieved.

Possible values: admin, calendar, drive, groups, login, token

Type: ApplicationNameEnum
Parameter Sets: (All)
Aliases: 
Accepted values: admin, calendar, drive, groups, login, token

Required: True
Position: 0
Default value: Admin
Accept pipeline input: False
Accept wildcard characters: False

-UserKey

Represents the profile id or the user email for which the data should be filtered. When 'all' is specified as the userKey, it returns usageReports for all users.

Type: String
Parameter Sets: (All)
Aliases: 

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

-EventName

Name of the event being queried.

Type: String
Parameter Sets: Params
Aliases: 

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

-Filters

Event parameters in the form [parameter1 name][operator][parameter1 value],[parameter2 name][operator][parameter2 value],...

Type: String
Parameter Sets: Params
Aliases: 

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

-Id

A UUID or similar unique string that identifies this channel.

Type: String
Parameter Sets: Params
Aliases: 

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

-Token

An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.

Type: String
Parameter Sets: Params
Aliases: 

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

-Expiration

Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.

Type: Int64
Parameter Sets: Params
Aliases: 

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

-Type

The type of delivery mechanism used for this channel.

Type: String
Parameter Sets: Params
Aliases: 

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

-Address

The address where notifications are delivered for this channel.

Type: String
Parameter Sets: Params
Aliases: 

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

-Payload

A Boolean value to indicate whether payload is wanted. Optional.

Type: Boolean
Parameter Sets: Params
Aliases: 

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

-Ttl

Specifies the time-to-live in seconds for the notification channel. The default is 21,600 seconds.

Type: String
Parameter Sets: Params
Aliases: 

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

-ChannelBody

An notification channel used to watch for resource changes.

Type: Channel
Parameter Sets: Body
Aliases: 

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

-StandardQueryParams

A Standard Query Parameters Object.

Type: StandardQueryParameters
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: 
Accept pipeline input: False
Accept wildcard characters: False

-GAuthId

The GAuthId representing the gShell auth credentials this cmdlet should use to run.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: 
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

System.String

Name of the event being queried.

System.String

Event parameters in the form [parameter1 name][operator][parameter1 value],[parameter2 name][operator][parameter2 value],...

System.String

A UUID or similar unique string that identifies this channel.

System.String

An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.

System.Int64

Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.

System.String

The type of delivery mechanism used for this channel.

System.String

The address where notifications are delivered for this channel.

System.Boolean

A Boolean value to indicate whether payload is wanted. Optional.

System.String

Specifies the time-to-live in seconds for the notification channel. The default is 21,600 seconds.

Google.Apis.admin.Reports.reports_v1.Data.Channel

An notification channel used to watch for resource changes.

OUTPUTS

NOTES

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

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally