Documentation ¶
Index ¶
- Variables
- func CameltoSnake(s string) string
- func GetChromePoliciesService(chromePolicyService *chromepolicy.Service) (*chromepolicy.CustomersPoliciesService, diag.Diagnostics)
- func GetChromePolicySchemasService(chromePolicyService *chromepolicy.Service) (*chromepolicy.CustomersPolicySchemasService, diag.Diagnostics)
- func GetDomainAliasesService(directoryService *directory.Service) (*directory.DomainAliasesService, diag.Diagnostics)
- func GetDomainsService(directoryService *directory.Service) (*directory.DomainsService, diag.Diagnostics)
- func GetGmailSendAsAliasService(gmailService *gmail.Service) (*gmail.UsersSettingsSendAsService, diag.Diagnostics)
- func GetGroupAliasService(groupsService *directory.GroupsService) (*directory.GroupsAliasesService, diag.Diagnostics)
- func GetGroupsService(directoryService *directory.Service) (*directory.GroupsService, diag.Diagnostics)
- func GetGroupsSettingsService(groupsSettingsService *groupssettings.Service) (*groupssettings.GroupsService, diag.Diagnostics)
- func GetMembersService(directoryService *directory.Service) (*directory.MembersService, diag.Diagnostics)
- func GetOrgUnitsService(directoryService *directory.Service) (*directory.OrgunitsService, diag.Diagnostics)
- func GetPrivilegesService(directoryService *directory.Service) (*directory.PrivilegesService, diag.Diagnostics)
- func GetRoleAssignmentsService(directoryService *directory.Service) (*directory.RoleAssignmentsService, diag.Diagnostics)
- func GetRolesService(directoryService *directory.Service) (*directory.RolesService, diag.Diagnostics)
- func GetSchemasService(directoryService *directory.Service) (*directory.SchemasService, diag.Diagnostics)
- func GetUserAliasService(usersService *directory.UsersService) (*directory.UsersAliasesService, diag.Diagnostics)
- func GetUsersService(directoryService *directory.Service) (*directory.UsersService, diag.Diagnostics)
- func IsNotConsistent(err error) bool
- func NewTransportWithDefaultRetries(t http.RoundTripper) *retryTransport
- func NewTransportWithScrubbedLogs(name string, t http.RoundTripper) *loggingTransport
- func Nprintf(format string, params map[string]interface{}) string
- func Provider(version string) func() *schema.Provider
- func SnakeToCamel(s string) string
- type MemberChange
- type RetryErrorPredicateFunc
Constants ¶
This section is empty.
Variables ¶
var DefaultClientScopes = []string{
"https://www.googleapis.com/auth/gmail.settings.basic",
"https://www.googleapis.com/auth/gmail.settings.sharing",
"https://www.googleapis.com/auth/chrome.management.policy",
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/admin.directory.customer",
"https://www.googleapis.com/auth/admin.directory.domain",
"https://www.googleapis.com/auth/admin.directory.group",
"https://www.googleapis.com/auth/admin.directory.orgunit",
"https://www.googleapis.com/auth/admin.directory.rolemanagement",
"https://www.googleapis.com/auth/admin.directory.userschema",
"https://www.googleapis.com/auth/admin.directory.user",
"https://www.googleapis.com/auth/apps.groups.settings",
}
Functions ¶
func CameltoSnake ¶
This will translate a snake cased string to a camel case string Note: the first letter of the camel case string will be lower case
func GetChromePoliciesService ¶
func GetChromePoliciesService(chromePolicyService *chromepolicy.Service) (*chromepolicy.CustomersPoliciesService, diag.Diagnostics)
func GetChromePolicySchemasService ¶
func GetChromePolicySchemasService(chromePolicyService *chromepolicy.Service) (*chromepolicy.CustomersPolicySchemasService, diag.Diagnostics)
func GetDomainAliasesService ¶
func GetDomainAliasesService(directoryService *directory.Service) (*directory.DomainAliasesService, diag.Diagnostics)
func GetDomainsService ¶
func GetDomainsService(directoryService *directory.Service) (*directory.DomainsService, diag.Diagnostics)
func GetGmailSendAsAliasService ¶
func GetGmailSendAsAliasService(gmailService *gmail.Service) (*gmail.UsersSettingsSendAsService, diag.Diagnostics)
func GetGroupAliasService ¶
func GetGroupAliasService(groupsService *directory.GroupsService) (*directory.GroupsAliasesService, diag.Diagnostics)
func GetGroupsService ¶
func GetGroupsService(directoryService *directory.Service) (*directory.GroupsService, diag.Diagnostics)
func GetGroupsSettingsService ¶
func GetGroupsSettingsService(groupsSettingsService *groupssettings.Service) (*groupssettings.GroupsService, diag.Diagnostics)
func GetMembersService ¶
func GetMembersService(directoryService *directory.Service) (*directory.MembersService, diag.Diagnostics)
func GetOrgUnitsService ¶
func GetOrgUnitsService(directoryService *directory.Service) (*directory.OrgunitsService, diag.Diagnostics)
func GetPrivilegesService ¶
func GetPrivilegesService(directoryService *directory.Service) (*directory.PrivilegesService, diag.Diagnostics)
func GetRoleAssignmentsService ¶
func GetRoleAssignmentsService(directoryService *directory.Service) (*directory.RoleAssignmentsService, diag.Diagnostics)
func GetRolesService ¶
func GetRolesService(directoryService *directory.Service) (*directory.RolesService, diag.Diagnostics)
func GetSchemasService ¶
func GetSchemasService(directoryService *directory.Service) (*directory.SchemasService, diag.Diagnostics)
func GetUserAliasService ¶
func GetUserAliasService(usersService *directory.UsersService) (*directory.UsersAliasesService, diag.Diagnostics)
func GetUsersService ¶
func GetUsersService(directoryService *directory.Service) (*directory.UsersService, diag.Diagnostics)
func IsNotConsistent ¶
func NewTransportWithDefaultRetries ¶
func NewTransportWithDefaultRetries(t http.RoundTripper) *retryTransport
NewTransportWithDefaultRetries constructs a default retryTransport that will retry common temporary errors
func NewTransportWithScrubbedLogs ¶
func NewTransportWithScrubbedLogs(name string, t http.RoundTripper) *loggingTransport
func Nprintf ¶
This is a Printf sibling (Nprintf; Named Printf), which handles strings like Nprintf("Hello %{target}!", map[string]interface{}{"target":"world"}) == "Hello world!". This is particularly useful for generated tests, where we don't want to use Printf, since that would require us to generate a very particular ordering of arguments.
func SnakeToCamel ¶
This will translate a snake cased string to a camel case string Note: the first letter of the camel case string will be lower case
Types ¶
type MemberChange ¶
type MemberChange struct {
Old, New map[string]interface{}
}
type RetryErrorPredicateFunc ¶
Source Files ¶
- data_source_chrome_policy_schema.go
- data_source_domain.go
- data_source_domain_alias.go
- data_source_group.go
- data_source_group_member.go
- data_source_group_members.go
- data_source_group_settings.go
- data_source_groups.go
- data_source_org_unit.go
- data_source_privileges.go
- data_source_role.go
- data_source_schema.go
- data_source_user.go
- data_source_users.go
- datasource_helpers.go
- eventual_consistency.go
- logging_transport.go
- provider.go
- provider_config.go
- resource_chrome_policy.go
- resource_domain.go
- resource_domain_alias.go
- resource_gmail_send_as_alias.go
- resource_group.go
- resource_group_member.go
- resource_group_members.go
- resource_group_settings.go
- resource_org_unit.go
- resource_role.go
- resource_role_assignment.go
- resource_schema.go
- resource_user.go
- retry_predicates.go
- retry_transport.go
- retry_utils.go
- services.go
- utils.go