Documentation ¶
Index ¶
- Constants
- Variables
- func AddCustomer(glc *admin.GroupsListCall, customerID string) *admin.GroupsListCall
- func AddDomain(glc *admin.GroupsListCall, domain string) *admin.GroupsListCall
- func AddFields(callObj interface{}, attrs string) interface{}
- func AddMaxResults(glc *admin.GroupsListCall, maxResults int64) *admin.GroupsListCall
- func AddOrderBy(glc *admin.GroupsListCall, orderBy string) *admin.GroupsListCall
- func AddPageToken(glc *admin.GroupsListCall, token string) *admin.GroupsListCall
- func AddQuery(glc *admin.GroupsListCall, query string) *admin.GroupsListCall
- func AddSortOrder(glc *admin.GroupsListCall, sortorder string) *admin.GroupsListCall
- func AddUserKey(glc *admin.GroupsListCall, key string) *admin.GroupsListCall
- func DoGet(ggc *admin.GroupsGetCall) (*admin.Group, error)
- func DoList(glc *admin.GroupsListCall) (*admin.Groups, error)
- func PopulateGroup(group *admin.Group, hdrMap map[int]string, objData []interface{}) error
- func PopulateGroupForUpdate(grpParams *GroupParams, hdrMap map[int]string, objData []interface{}) error
- func ShowAttrs(filter string)
- func ShowFlagValues(lenArgs int, args []string, filter string) error
- type GroupParams
- type Key
Constants ¶
const ( // ENDFIELD is List call attribute string terminator ENDFIELD string = ")" // KEYNAME is name of key for processing KEYNAME string = "groupKey" // STARTGROUPSFIELD is List call attribute string prefix STARTGROUPSFIELD string = "groups(" )
Variables ¶
var GroupAttrMap = map[string]string{
"admincreated": "adminCreated",
"description": "description",
"directmemberscount": "directMembersCount",
"email": "email",
"etag": "etag",
"forcesendfields": "forceSendFields",
"groupkey": "groupKey",
"id": "id",
"kind": "kind",
"name": "name",
"noneditablealiases": "nonEditableAliases",
}
GroupAttrMap provides lowercase mappings to valid admin.Group attributes
var QueryAttrMap = map[string]string{
"email": "email",
"name": "name",
"memberkey": "memberKey",
}
QueryAttrMap provides lowercase mappings to valid admin.Group query attributes
var ValidOrderByStrs = []string{
"email",
}
ValidOrderByStrs provide valid strings to be used to set admin.GroupsListCall OrderBy
Functions ¶
func AddCustomer ¶
func AddCustomer(glc *admin.GroupsListCall, customerID string) *admin.GroupsListCall
AddCustomer adds Customer to admin calls
func AddDomain ¶
func AddDomain(glc *admin.GroupsListCall, domain string) *admin.GroupsListCall
AddDomain adds domain to admin calls
func AddFields ¶
func AddFields(callObj interface{}, attrs string) interface{}
AddFields adds fields to be returned from admin calls
func AddMaxResults ¶
func AddMaxResults(glc *admin.GroupsListCall, maxResults int64) *admin.GroupsListCall
AddMaxResults adds MaxResults to admin calls
func AddOrderBy ¶
func AddOrderBy(glc *admin.GroupsListCall, orderBy string) *admin.GroupsListCall
AddOrderBy adds OrderBy to admin calls
func AddPageToken ¶
func AddPageToken(glc *admin.GroupsListCall, token string) *admin.GroupsListCall
AddPageToken adds PageToken to admin calls
func AddQuery ¶
func AddQuery(glc *admin.GroupsListCall, query string) *admin.GroupsListCall
AddQuery adds query to admin calls
func AddSortOrder ¶
func AddSortOrder(glc *admin.GroupsListCall, sortorder string) *admin.GroupsListCall
AddSortOrder adds SortOrder to admin calls
func AddUserKey ¶
func AddUserKey(glc *admin.GroupsListCall, key string) *admin.GroupsListCall
AddUserKey adds UserKey to admin calls
func DoGet ¶
func DoGet(ggc *admin.GroupsGetCall) (*admin.Group, error)
DoGet calls the .Do() function on the admin.GroupsGetCall
func DoList ¶
func DoList(glc *admin.GroupsListCall) (*admin.Groups, error)
DoList calls the .Do() function on the admin.GroupsListCall
func PopulateGroup ¶ added in v0.8.0
PopulateGroup is used in batch processing
func PopulateGroupForUpdate ¶ added in v0.8.0
func PopulateGroupForUpdate(grpParams *GroupParams, hdrMap map[int]string, objData []interface{}) error
PopulateGroupForUpdate is used in batch processing
Types ¶
type GroupParams ¶ added in v0.8.0
GroupParams holds group data for batch processing