Acl.GroupPrincipalParser

public static class Acl.GroupPrincipalParser extends Object
implements Parser<Principal>

Parser used to extract a group principal of either "google" or "external" type.

By definition, accounts beginning with com.google.enterprise.cloudsearch.sdk.indexing.Acl.GOOGLE_ACCOUNT_PREFIX are "google" accounts.

Public Constructor Summary

Public Method Summary

Principal
parse(String group)
Parses input String to required type.

Inherited Method Summary

Public Constructors

public Acl.GroupPrincipalParser ()

Public Methods

public Principal parse (String group)

Parses input String to required type.

Parameters
group to parse
Returns
  • Converted value

Send feedback about...

Cloud Search
Cloud Search