Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple fixes and enhancements #214

Merged
merged 81 commits into from Aug 18, 2016
Merged

Multiple fixes and enhancements #214

merged 81 commits into from Aug 18, 2016

Conversation

taers232c
Copy link
Contributor

@taers232c taers232c commented Apr 4, 2016

getCustomerInfo:

  • move code from getInstanceInfo, print address fields in logical order

getInstanceInfo:

  • call getCustomerInfo

doUpdateInstance:

  • eliminate code that duplicated doUpdateCustomer

doUpdateCustomer, the customers API is not ready for prime time.

  • countryCode doesn't seem to work, docs say ISO 3166 code required, nothing seems to work, but this may be the reason: https://support.google.com/a/answer/1228129#billing_country
  • language doesn't seem to work, docs say ISO 639-2 code required, these are three letter codes but the docs say the default is en-US which is not ISO 639-2; this bug has been around for months at stackoverflow
  • for now, I handle language with adminSettings
  • addressLine1/2/3 don't seem to work, values never change
  • patch doesn't help, no matter what field you try to patch, it complains about the language, but, I can't enter a valid language

doCreateAlias:

  • Fix problem with gam create alias <Alias> target <Group>

doPrintGroupMembers:

  • Add membernames argument to add member full name to output
  • Add fields <MembersFieldNameList> argument to allow field selection
  • MembersFieldNameList is a comma separated list of field names: email | group | id | name | role | type
  • Add domain to unqualified group <Name>

doWhatis/doGetUserInfo/doGetGroupInfo

  • Allow info user/group arguments to be passed in from whatis and be processed/ignored as appropriate
  • gam whatis group@domain.com nolicenses will pass to doGetGroupInfo which will ignore nolicenses

doGetUserInfo

  • Add skus <SKUIDList> to allow any licenses to be processed

doPrintPrintJobs, doPrintJobFetch

  • add limit <Number> to allow selecting number of print jobs to process. limit 0 means all print jobs.

downloadDriveFile

  • Added revision <Number> argument to allow downloading of specific drive file revision
  • Credit to Seth Stein (wfu-linux)

showDriveFileRevisions

  • Added command gam <Users> show filerevisions <DriveFileID> to show drive file revisions
  • Credit to Seth Stein (wfu-linux)

Google+ profiles

  • Added command gam <Users> show gplusprofile [todrive]

Print address fields in logical order in gam info instance

Allow multiple address fields to be entered in a single gam update
instance command
Move print customer info code from getInstanceInfo to getCustomerInfo;
getInstanceInfo calls getCustomerInfo

doUpdateCustomer already had code added to doUpdateInstance, remove
from doUpdateInstance
@taers232c taers232c changed the title Improve info/update instance commands Improve info/update customer/instance commands Apr 4, 2016
@taers232c taers232c changed the title Improve info/update customer/instance commands Improve info/update customer/instance commands and print group-members commands Apr 8, 2016
@taers232c taers232c changed the title Improve info/update customer/instance commands and print group-members commands Improve info/update customer/instance, print group-members, update drivefile commands Apr 19, 2016
@taers232c taers232c changed the title Improve info/update customer/instance, print group-members, update drivefile commands Multiple fixes and enhancements Apr 29, 2016
@jay0lee jay0lee merged commit 2c15230 into GAM-team:branch-3.63 Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants