Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
Attributes wraps the custom attributes for a directory user
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the GSuite client
type IAMRole ¶
type IAMRole struct { // Type is just "work" Type string // Value is a comma delimited list of the IAM role and the provider Value string }
IAMRole wraps the IAM role info set in the custom attributes of a user
type Option ¶
type Option func(o *Options)
Option ...
func WithImpersonationEmail ¶
WithImpersonationEmail sets the impersonation email on the Option
func WithServiceAccountBase64EncodedFile ¶
WithServiceAccountBase64EncodedFile takes in the SA PEM file as a Base64 encoded string. Either this or the WithServiceAcountFile function must be used. If the base64 string is NOT valid, this WILL panic.
func WithServiceAccountEmail ¶
WithServiceAccountEmail sets the email on the Option
func WithServiceAccountFile ¶
WithServiceAccountFile takes in a file as bytes. Either this or the WithServiceAccountBase64EncodedFile will be used, depending on which one is run last.
Click to show internal directories.
Click to hide internal directories.