gsm
GoSpace Manager - Manage Google Workspace resources using a developer-friendly CLI written in Go
Synopsis
GSM is free software licensed under the GPLv3 (https://gsm.hayashi-ke.online/license). Copyright © 2020-2023 Hannes Hayashi. For documentation see https://gsm.hayashi-ke.online.
gsm [flags]
Options
--compressOutput By default, GSM outputs "pretty" (indented) objects. By setting this flag, GSM's output will be compressed. This may or may not improve performance in scripts.
--config string config file (default is $HOME/.config/gsm/.gsm.yaml)
--delay int This delay (plus a random jitter between 0 and 50) will be applied after every command to avoid reaching quota and rate limits. Set to 0 to disable.
--dwdSubject string Specify a subject used for DWD impersonation (overrides value in config file)
-h, --help help for gsm
--log string Set the path of the log file. Default is either ~/gsm.log or defined in your config file
--maxElapsedTime int This is the maximum total time that will be spent retrying a request in minutes. (default 15)
--maxRetryInterval int This is the maximum interval that will be used between retry attempts in seconds. (default 320)
--redirectPort int This is the TCP port on which GSM will create web server if you authenticate with a user account for the first time. This is necessary for the OAuth flow. See https://developers.google.com/identity/protocols/oauth2/native-app#redirect-uri_loopback (default 8081)
--retryOn ints Specify the HTTP error code(s) that GSM should retry on. Note that GSM will always retry on HTTP 403 errors that indicate a quota / rate limit error
--streamOutput Setting this flag will cause GSM to output slice values to stdout one by one, instead of one large object
-v, --version version for gsm
SEE ALSO
- gsm about - Information about the user, the user’s Drive, and system capabilities (Part of Drive API)
- gsm activities - Manage (list) activities (Part of Admin SDK)
- gsm asps - Manage ASPs (application-specific password) for a user (Part of Admin SDK)
- gsm attachments - Manage (get..) message attachements (Part of Gmail API)
- gsm buildings - Manage Buildings (Resources) (Part of Admin SDK)
- gsm calendarAcl - Manage entries in users’ calendar acl (Part of Calendar API)
- gsm calendarLists - Manage entries in users’ calendar list (Part of Calendar API)
- gsm calendarResources - Manage resource calendars (Part of Admin SDK)
- gsm calendarSettings - See users’ calendar settings (Part of Calendar API)
- gsm calendars - Manage users’ calendars (Part of Calendar API)
- gsm changes - View changes to user’s or Shared Drive (Part of Drive API)
- gsm chromeOs - Issue Commands to Chrome OS Devices (Part of Admin SDK)
- gsm chromeOs - Issue Commands to Chrome OS Devices (Part of Admin SDK)
- gsm chromeOsDevices - Managed Chrome OS Devices (Part of Admin SDK)
- gsm chromePrinters - Managed Chrome Printers (Part of Admin SDK)
- gsm clientStates - Manage client states (Part of Cloud Identity API)
- gsm colors - Show Calendar and Event color definitions (Part of Calendar API)
- gsm comments - Manage comments in Google files (Part of Drive API)
- gsm completion - Generate the autocompletion script for the specified shell
- gsm configs - Configure GSM
- gsm contactDelegates - Manage users’ contact contact delegations (Part of Admin SDK)
- gsm contactGroups - Manage users’ contact groups (Part of People API)
- gsm contactGroupsMembers - Modify members of contact groups (Part of People API)
- gsm customerUsageReports - Manage (get) Customer Usage Reports (Part of Admin SDK)
- gsm customers - Implements customers API (Part of Admin SDK).
- gsm delegates - Manage Gmail Delegates (Part of Gmail API)
- gsm deviceUsers - Manage device users (Part of Cloud Identity API)
- gsm devices - Manage Devices (Part of Cloud Identity API)
- gsm domainAliases - Manage Domain Aliases (Part of Admin SDK)
- gsm domains - Manage Domains (Part of Admin SDK)
- gsm drafts - Manage Drafts (Part of Gmail API)
- gsm driveLabelLimits - Manages Drive Label Limits (Part of Drive Labels API)
- gsm driveLabelLocks - Manages Drive Label Locks (Part of Drive Labels API)
- gsm driveLabelPermissions - Manages Drive Label Permissions (Part of Drive Labels API)
- gsm driveLabelUsers - Manages Drive Label Users (Part of Drive Labels API)
- gsm driveLabels - Managed driveLabels (Part of Drive Labels API)
- gsm drives - Manage Shared Drives (Part of Drive API)
- gsm entityUsageReports - Manage (get) Entity Usage Reports (Part of Admin SDK)
- gsm events - Manage events in users’ calendars (Part of Calendar API)
- gsm features - Manage resource features (Part of Admin SDK)
- gsm files - Managed files (Part of Drive API)
- gsm filters - Manage users’ Gmail message filters (Part of Gmail API)
- gsm forwardingAddresses - Manage users’ forwarding addresses (Part of Gmail API)
- gsm freeBusy - Query free/busy information (Part of Calendar API)
- gsm gmailSettings - Manage Gmail settings for users (Part of Gmail API)
- gsm gmailUsers - Gmail User Profiles (Part of Gmail API)
- gsm groupAliases - Manage group aliases, which are alternative email addresses (Part of Admin SDK - not Gmail API!)
- gsm groupMembershipsCi - Manage group memberships (Part of Cloud Identity API)
- gsm groupSettings - Manage Group Settings (Part of Admin SDK)
- gsm groups - Implements the groups API (Part of Admin SDK).
- gsm groupsCi - Manage Google Groups with the Cloud Identity API
- gsm history - Manage (list..) user’s mailbox History (Part of Gmail API)
- gsm labels - Manage users’ mailbox labels (Part of Gmail API)
- gsm licenseAssignments - Manage user license assignments (Part of Enterprise License Manager API)
- gsm log - Manage GSM Logs
- gsm members - Manage group members (Part of Admin SDK)
- gsm messages - Manage users’ messages (Part of Gmail API)
- gsm mobileDevices - Manage Mobile Devices (Part of Admin SDK)
- gsm orgUnits - Manage Organizational Unit (Part of Admin SDK)
- gsm orgUnitsMemberships - Manage the memberships of Shared Drives in organizational units (OUs) (Part of Cloud Identity Beta API)
- gsm otherContacts - Manage ‘other’ contacts (Part of People API)
- gsm people - Manage people’s contacts (Part of People API)
- gsm peopleConnections - Information about a person merged from various data sources such as the authenticated user’s contacts and profile data. (Part of People API)
- gsm permissions - Manage file and drive permissions (Part of Drive API)
- gsm postmasterDomains - Use Gmail Postmaster Tools to manage domain (Part of Gmail Postmaster API)
- gsm postmasterTrafficStats - Use Gmail Postmaster Tools to view email traffic statistics (Part of Gmail Postmaster API)
- gsm privileges - Manage (list) Privileges (Part of Admin SDK)
- gsm replies - Manage replies to comments (Part of Drive API)
- gsm revisions - Manage revisions of non-Google files (Part of Drive API)
- gsm roleAssignments - Manage Role Assignments (Part of Admin SDK)
- gsm roles - Manage roles (Part of Admin SDK)
- gsm schemas - Manage custom schemas for user accounts (Part of Admin SDK)
- gsm sendAs - Manage send-as settings for users (Part of Gmail API)
- gsm sharedContacts - Manage Domain Shared Contacts (Part of Shared Contacts API - not Admin SDK!)
- gsm smimeInfo - Manage users’ S/MIME configs for send-as aliases
- gsm spreadsheets - Manage Google Sheets spreadsheets (Part of Sheets API)
- gsm ssoAssignments - Manage inbound SAML SSO assignments (Part of Cloud Identity API)
- gsm ssoProfileCredentials - Manage inbound SAML SSO profile IdP Credentials (Part of Cloud Identity API)
- gsm ssoProfiles - Manage inbound SAML SSO profiles (Part of Cloud Identity API)
- gsm threads - Manage threads in users’ mailboxes (Part of Gmail API)
- gsm tokens - Managed OAuth access tokens for users (Part of Admin SDK)
- gsm twoStepVerification - Manage Two Step Verification for users (Park of Admin SDK)
- gsm userAliases - Manage user aliases, which are alternative email addresses (Part of Admin SDK - not Gmail API!)
- gsm userInvitations - Manage user invitations for unmanaged accounts (Part of Cloud Identity Beta API)
- gsm userPhotos - Manage user photos (Part of Admin SDK)
- gsm userUsageReports - Manage (get) User Usage Reports (Part of Admin SDK)
- gsm users - Manage Users (Park of Admin SDK)
- gsm verificationCodes - Manage backup Verification Codes for Users (Part of Admin SDK)