Refreshes every supported local object cache from a Google Workspace tenant.
Update-GOLocalCache
[-ShowPrereqs]
[<CommonParameters>]
Update-GOLocalCache
-ConfigNode <String>
[<CommonParameters>]
Use the Update-GOLocalCache cmdlet to refresh every supported local object cache
from a Google Workspace tenant.
See the Notes section for cmdlet requirements.
Update-GOLocalCache -ConfigNode Source
This example refreshes every supported object cache from a Google Workspace tenant.
The config.psd1 configuration node to use.
Type: String
Parameter Sets: Action
Aliases:
Accepted values: Source, Target
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prints the cmdlet prerequisites.
Type: SwitchParameter
Parameter Sets: Help
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Required config.psd1 keys
These configuration keys are scoped to the Source or Target node in config.psd1.
GOAdmin: The ID of your tenant’s administrator.
GOServiceAccountKey: The path to your service account’s JSON key file.
GOTenant: The ID of your tenant. For example, source.org.
Optional config.psd1 keys
These configuration keys are scoped to the Source or Target node in config.psd1.
GOSharedContactsApi: The API to use to retrieve shared contacts. Valid values are People and Contacts.
Default: People
Required APIs
Admin SDKCloud IdentityCloud Resource ManagerContactsGoogle ChatGoogle DrivePeopleRequired scopes
https://www.googleapis.com/auth/admin.directory.customer.readonlyhttps://www.googleapis.com/auth/admin.directory.domain.readonlyhttps://www.googleapis.com/auth/admin.directory.group.readonlyhttps://www.googleapis.com/auth/admin.directory.orgunit.readonlyhttps://www.googleapis.com/auth/admin.directory.resource.calendar.readonlyhttps://www.googleapis.com/auth/admin.directory.user.readonlyhttps://www.googleapis.com/auth/chat.admin.spaces.readonlyhttps://www.googleapis.com/auth/cloud-identity.groups.readonlyhttps://www.googleapis.com/auth/cloudplatformprojects.readonlyhttps://www.googleapis.com/auth/contacts.readonlyhttps://www.googleapis.com/auth/directory.readonlyhttps://www.googleapis.com/auth/drive.readonly