Documentation
¶
Index ¶
- type AccessToken
- type Align
- type ApiSession
- type ApiVersion
- type ApiVersionElement
- type BackupConfiguration
- type Category
- type ColorCollection
- type ColorStop
- type ContentFavorite
- type ContentMeta
- type ContentMetaGroupUser
- type ContentValidation
- type ContentValidationAlert
- type ContentValidationDashboard
- type ContentValidationDashboardElement
- type ContentValidationDashboardFilter
- type ContentValidationError
- type ContentValidationFolder
- type ContentValidationLook
- type ContentValidationLookMLDashboard
- type ContentValidationLookMLDashboardElement
- type ContentValidationScheduledPlan
- type ContentValidationSpace
- type ContentValidatorError
- type ContentView
- type ContinuousPalette
- type CreateDashboardFilter
- type CreateDashboardRenderTask
- type CreateFolder
- type CreateQueryTask
- type CreateSpace
- type CredentialsApi3
- type CredentialsEmail
- type CredentialsEmbed
- type CredentialsGoogle
- type CredentialsLDAP
- type CredentialsLookerOpenid
- type CredentialsOIDC
- type CredentialsSaml
- type CredentialsTotp
- type CustomWelcomeEmail
- type DBConnection
- type DBConnectionBase
- type DBConnectionOverride
- type DBConnectionTestResult
- type Dashboard
- type DashboardAggregateTableLookml
- type DashboardAppearance
- type DashboardBase
- type DashboardElement
- type DashboardFilter
- type DashboardLayout
- type DashboardLayoutComponent
- type DashboardLookml
- type DataActionForm
- type DataActionFormField
- type DataActionFormSelectOption
- type DataActionRequest
- type DataActionResponse
- type DataActionUserState
- type Datagroup
- type DelegateOauthTest
- type DependencyGraph
- type DependencyStatus
- type Dialect
- type DialectInfo
- type DialectInfoOptions
- type DigestEmailSend
- type DigestEmails
- type DiscretePalette
- type EmbedSsoParams
- type EmbedUrlResponse
- type Error
- type FillStyle
- type Folder
- type FolderBase
- type Format
- type GitApplicationServerHttpScheme
- type GitBranch
- type GitConnectionTest
- type GitConnectionTestResult
- type GitStatus
- type Group
- type GroupIdForGroupInclusion
- type GroupIdForGroupUserInclusion
- type Homepage
- type HomepageItem
- type HomepageSection
- type ImportedProject
- type Integration
- type IntegrationHub
- type IntegrationParam
- type IntegrationRequiredField
- type IntegrationTestResult
- type InternalHelpResources
- type InternalHelpResourcesContent
- type LDAPConfig
- type LDAPConfigTestIssue
- type LDAPConfigTestResult
- type LDAPGroupRead
- type LDAPGroupWrite
- type LDAPUser
- type LDAPUserAttributeRead
- type LDAPUserAttributeWrite
- type LegacyFeature
- type Locale
- type LocalizationSettings
- type Look
- type LookBasic
- type LookModel
- type LookWithDashboards
- type LookWithQuery
- type LookerSDK
- func (l *LookerSDK) AcceptIntegrationHubLegalAgreement(integrationHubId int64, options *rtl.ApiSettings) (IntegrationHub, error)
- func (l *LookerSDK) ActiveThemes(request RequestActiveThemes, options *rtl.ApiSettings) ([]Theme, error)
- func (l *LookerSDK) AddGroupGroup(groupId int64, body GroupIdForGroupInclusion, options *rtl.ApiSettings) (Group, error)
- func (l *LookerSDK) AddGroupUser(groupId int64, body GroupIdForGroupUserInclusion, options *rtl.ApiSettings) (User, error)
- func (l *LookerSDK) AllColorCollections(fields string, options *rtl.ApiSettings) ([]ColorCollection, error)
- func (l *LookerSDK) AllConnections(fields string, options *rtl.ApiSettings) ([]DBConnection, error)
- func (l *LookerSDK) AllContentMetadataAccesses(contentMetadataId int64, fields string, options *rtl.ApiSettings) ([]ContentMetaGroupUser, error)
- func (l *LookerSDK) AllContentMetadatas(parentId int64, fields string, options *rtl.ApiSettings) ([]ContentMeta, error)
- func (l *LookerSDK) AllDashboards(fields string, options *rtl.ApiSettings) ([]DashboardBase, error)
- func (l *LookerSDK) AllDatagroups(options *rtl.ApiSettings) ([]Datagroup, error)
- func (l *LookerSDK) AllDialectInfos(fields string, options *rtl.ApiSettings) ([]DialectInfo, error)
- func (l *LookerSDK) AllFolders(fields string, options *rtl.ApiSettings) ([]Folder, error)
- func (l *LookerSDK) AllGitBranches(projectId string, options *rtl.ApiSettings) ([]GitBranch, error)
- func (l *LookerSDK) AllGitConnectionTests(projectId string, remoteUrl string, options *rtl.ApiSettings) ([]GitConnectionTest, error)
- func (l *LookerSDK) AllGroupGroups(groupId int64, fields string, options *rtl.ApiSettings) ([]Group, error)
- func (l *LookerSDK) AllGroupUsers(request RequestAllGroupUsers, options *rtl.ApiSettings) ([]User, error)
- func (l *LookerSDK) AllGroups(request RequestAllGroups, options *rtl.ApiSettings) ([]Group, error)
- func (l *LookerSDK) AllHomepageItems(request RequestAllHomepageItems, options *rtl.ApiSettings) ([]HomepageItem, error)
- func (l *LookerSDK) AllHomepageSections(request RequestAllHomepageSections, options *rtl.ApiSettings) ([]HomepageSection, error)
- func (l *LookerSDK) AllHomepages(fields string, options *rtl.ApiSettings) ([]Homepage, error)
- func (l *LookerSDK) AllIntegrationHubs(fields string, options *rtl.ApiSettings) ([]IntegrationHub, error)
- func (l *LookerSDK) AllIntegrations(request RequestAllIntegrations, options *rtl.ApiSettings) ([]Integration, error)
- func (l *LookerSDK) AllLegacyFeatures(options *rtl.ApiSettings) ([]LegacyFeature, error)
- func (l *LookerSDK) AllLocales(options *rtl.ApiSettings) ([]Locale, error)
- func (l *LookerSDK) AllLookmlModels(fields string, options *rtl.ApiSettings) ([]LookmlModel, error)
- func (l *LookerSDK) AllLookmlTests(projectId string, fileId string, options *rtl.ApiSettings) ([]LookmlTest, error)
- func (l *LookerSDK) AllLooks(fields string, options *rtl.ApiSettings) ([]Look, error)
- func (l *LookerSDK) AllModelSets(fields string, options *rtl.ApiSettings) ([]ModelSet, error)
- func (l *LookerSDK) AllPermissionSets(fields string, options *rtl.ApiSettings) ([]PermissionSet, error)
- func (l *LookerSDK) AllPermissions(options *rtl.ApiSettings) ([]Permission, error)
- func (l *LookerSDK) AllPrimaryHomepageSections(fields string, options *rtl.ApiSettings) ([]HomepageSection, error)
- func (l *LookerSDK) AllProjectFiles(projectId string, fields string, options *rtl.ApiSettings) ([]ProjectFile, error)
- func (l *LookerSDK) AllProjects(fields string, options *rtl.ApiSettings) ([]Project, error)
- func (l *LookerSDK) AllRoles(request RequestAllRoles, options *rtl.ApiSettings) ([]Role, error)
- func (l *LookerSDK) AllRunningQueries(options *rtl.ApiSettings) ([]RunningQueries, error)
- func (l *LookerSDK) AllScheduledPlans(request RequestAllScheduledPlans, options *rtl.ApiSettings) ([]ScheduledPlan, error)
- func (l *LookerSDK) AllSpaces(fields string, options *rtl.ApiSettings) ([]SpaceBase, error)
- func (l *LookerSDK) AllThemes(fields string, options *rtl.ApiSettings) ([]Theme, error)
- func (l *LookerSDK) AllTimezones(options *rtl.ApiSettings) ([]Timezone, error)
- func (l *LookerSDK) AllUserAttributeGroupValues(userAttributeId int64, fields string, options *rtl.ApiSettings) ([]UserAttributeGroupValue, error)
- func (l *LookerSDK) AllUserAttributes(request RequestAllHomepageSections, options *rtl.ApiSettings) ([]UserAttribute, error)
- func (l *LookerSDK) AllUserCredentialsApi3s(userId int64, fields string, options *rtl.ApiSettings) ([]CredentialsApi3, error)
- func (l *LookerSDK) AllUserCredentialsEmbeds(userId int64, fields string, options *rtl.ApiSettings) ([]CredentialsEmbed, error)
- func (l *LookerSDK) AllUserLoginLockouts(fields string, options *rtl.ApiSettings) ([]UserLoginLockout, error)
- func (l *LookerSDK) AllUserSessions(userId int64, fields string, options *rtl.ApiSettings) ([]Session, error)
- func (l *LookerSDK) AllUsers(request RequestAllUsers, options *rtl.ApiSettings) ([]User, error)
- func (l *LookerSDK) AllWorkspaces(options *rtl.ApiSettings) ([]Workspace, error)
- func (l *LookerSDK) BackupConfiguration(options *rtl.ApiSettings) (BackupConfiguration, error)
- func (l *LookerSDK) CloudStorageConfiguration(options *rtl.ApiSettings) (BackupConfiguration, error)
- func (l *LookerSDK) ColorCollection(collectionId string, fields string, options *rtl.ApiSettings) (ColorCollection, error)
- func (l *LookerSDK) ColorCollectionsCustom(fields string, options *rtl.ApiSettings) ([]ColorCollection, error)
- func (l *LookerSDK) ColorCollectionsStandard(fields string, options *rtl.ApiSettings) ([]ColorCollection, error)
- func (l *LookerSDK) Connection(connectionName string, fields string, options *rtl.ApiSettings) (DBConnection, error)
- func (l *LookerSDK) ContentFavorite(contentFavoriteId int64, fields string, options *rtl.ApiSettings) (ContentFavorite, error)
- func (l *LookerSDK) ContentMetadata(contentMetadataId int64, fields string, options *rtl.ApiSettings) (ContentMeta, error)
- func (l *LookerSDK) ContentThumbnail(request RequestContentThumbnail, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) ContentValidation(fields string, options *rtl.ApiSettings) (ContentValidation, error)
- func (l *LookerSDK) CreateColorCollection(body WriteColorCollection, options *rtl.ApiSettings) (ColorCollection, error)
- func (l *LookerSDK) CreateConnection(body WriteDBConnection, options *rtl.ApiSettings) (DBConnection, error)
- func (l *LookerSDK) CreateContentFavorite(body WriteContentFavorite, options *rtl.ApiSettings) (ContentFavorite, error)
- func (l *LookerSDK) CreateContentMetadataAccess(body ContentMetaGroupUser, sendBoardsNotificationEmail bool, ...) (ContentMetaGroupUser, error)
- func (l *LookerSDK) CreateDashboard(body WriteDashboard, options *rtl.ApiSettings) (Dashboard, error)
- func (l *LookerSDK) CreateDashboardElement(body WriteDashboardElement, fields string, options *rtl.ApiSettings) (DashboardElement, error)
- func (l *LookerSDK) CreateDashboardFilter(body WriteCreateDashboardFilter, fields string, options *rtl.ApiSettings) (DashboardFilter, error)
- func (l *LookerSDK) CreateDashboardLayout(body WriteDashboardLayout, fields string, options *rtl.ApiSettings) (DashboardLayout, error)
- func (l *LookerSDK) CreateDashboardRenderTask(request RequestCreateDashboardRenderTask, options *rtl.ApiSettings) (RenderTask, error)
- func (l *LookerSDK) CreateDigestEmailSend(options *rtl.ApiSettings) (DigestEmailSend, error)
- func (l *LookerSDK) CreateFolder(body CreateFolder, options *rtl.ApiSettings) (Folder, error)
- func (l *LookerSDK) CreateGitBranch(projectId string, body WriteGitBranch, options *rtl.ApiSettings) (GitBranch, error)
- func (l *LookerSDK) CreateGitDeployKey(projectId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) CreateGroup(body WriteGroup, fields string, options *rtl.ApiSettings) (Group, error)
- func (l *LookerSDK) CreateHomepage(body WriteHomepage, fields string, options *rtl.ApiSettings) (Homepage, error)
- func (l *LookerSDK) CreateHomepageItem(body WriteHomepageItem, fields string, options *rtl.ApiSettings) (HomepageItem, error)
- func (l *LookerSDK) CreateHomepageSection(body WriteHomepageSection, fields string, options *rtl.ApiSettings) (HomepageSection, error)
- func (l *LookerSDK) CreateIntegrationHub(body WriteIntegrationHub, fields string, options *rtl.ApiSettings) (IntegrationHub, error)
- func (l *LookerSDK) CreateLook(body WriteLookWithQuery, fields string, options *rtl.ApiSettings) (LookWithQuery, error)
- func (l *LookerSDK) CreateLookRenderTask(lookId int64, resultFormat string, width int64, height int64, fields string, ...) (RenderTask, error)
- func (l *LookerSDK) CreateLookmlDashboardRenderTask(request RequestCreateLookmlDashboardRenderTask, options *rtl.ApiSettings) (RenderTask, error)
- func (l *LookerSDK) CreateLookmlModel(body WriteLookmlModel, options *rtl.ApiSettings) (LookmlModel, error)
- func (l *LookerSDK) CreateMergeQuery(body WriteMergeQuery, fields string, options *rtl.ApiSettings) (MergeQuery, error)
- func (l *LookerSDK) CreateModelSet(body WriteModelSet, options *rtl.ApiSettings) (ModelSet, error)
- func (l *LookerSDK) CreateOidcTestConfig(body WriteOIDCConfig, options *rtl.ApiSettings) (OIDCConfig, error)
- func (l *LookerSDK) CreatePermissionSet(body WritePermissionSet, options *rtl.ApiSettings) (PermissionSet, error)
- func (l *LookerSDK) CreateProject(body WriteProject, options *rtl.ApiSettings) (Project, error)
- func (l *LookerSDK) CreateQuery(body WriteQuery, fields string, options *rtl.ApiSettings) (Query, error)
- func (l *LookerSDK) CreateQueryRenderTask(queryId int64, resultFormat string, width int64, height int64, fields string, ...) (RenderTask, error)
- func (l *LookerSDK) CreateQueryTask(request RequestCreateQueryTask, options *rtl.ApiSettings) (QueryTask, error)
- func (l *LookerSDK) CreateRole(body WriteRole, options *rtl.ApiSettings) (Role, error)
- func (l *LookerSDK) CreateSamlTestConfig(body WriteSamlConfig, options *rtl.ApiSettings) (SamlConfig, error)
- func (l *LookerSDK) CreateScheduledPlan(body WriteScheduledPlan, options *rtl.ApiSettings) (ScheduledPlan, error)
- func (l *LookerSDK) CreateSpace(body CreateSpace, options *rtl.ApiSettings) (Space, error)
- func (l *LookerSDK) CreateSqlQuery(body SqlQueryCreate, options *rtl.ApiSettings) (SqlQuery, error)
- func (l *LookerSDK) CreateSsoEmbedUrl(body EmbedSsoParams, options *rtl.ApiSettings) (EmbedUrlResponse, error)
- func (l *LookerSDK) CreateTheme(body WriteTheme, options *rtl.ApiSettings) (Theme, error)
- func (l *LookerSDK) CreateUser(body WriteUser, fields string, options *rtl.ApiSettings) (User, error)
- func (l *LookerSDK) CreateUserAttribute(body WriteUserAttribute, fields string, options *rtl.ApiSettings) (UserAttribute, error)
- func (l *LookerSDK) CreateUserCredentialsApi3(userId int64, body CredentialsApi3, fields string, options *rtl.ApiSettings) (CredentialsApi3, error)
- func (l *LookerSDK) CreateUserCredentialsEmail(userId int64, body WriteCredentialsEmail, fields string, ...) (CredentialsEmail, error)
- func (l *LookerSDK) CreateUserCredentialsEmailPasswordReset(request RequestCreateUserCredentialsEmailPasswordReset, ...) (CredentialsEmail, error)
- func (l *LookerSDK) CreateUserCredentialsTotp(userId int64, body CredentialsTotp, fields string, options *rtl.ApiSettings) (CredentialsTotp, error)
- func (l *LookerSDK) CustomWelcomeEmail(options *rtl.ApiSettings) (CustomWelcomeEmail, error)
- func (l *LookerSDK) Dashboard(dashboardId string, fields string, options *rtl.ApiSettings) (Dashboard, error)
- func (l *LookerSDK) DashboardAggregateTableLookml(dashboardId string, options *rtl.ApiSettings) (DashboardAggregateTableLookml, error)
- func (l *LookerSDK) DashboardDashboardElements(dashboardId string, fields string, options *rtl.ApiSettings) ([]DashboardElement, error)
- func (l *LookerSDK) DashboardDashboardFilters(dashboardId string, fields string, options *rtl.ApiSettings) ([]DashboardFilter, error)
- func (l *LookerSDK) DashboardDashboardLayouts(dashboardId string, fields string, options *rtl.ApiSettings) ([]DashboardLayout, error)
- func (l *LookerSDK) DashboardElement(dashboardElementId string, fields string, options *rtl.ApiSettings) (DashboardElement, error)
- func (l *LookerSDK) DashboardFilter(dashboardFilterId string, fields string, options *rtl.ApiSettings) (DashboardFilter, error)
- func (l *LookerSDK) DashboardLayout(dashboardLayoutId string, fields string, options *rtl.ApiSettings) (DashboardLayout, error)
- func (l *LookerSDK) DashboardLayoutComponent(dashboardLayoutComponentId string, fields string, options *rtl.ApiSettings) (DashboardLayoutComponent, error)
- func (l *LookerSDK) DashboardLayoutDashboardLayoutComponents(dashboardLayoutId string, fields string, options *rtl.ApiSettings) ([]DashboardLayoutComponent, error)
- func (l *LookerSDK) DashboardLookml(dashboardId string, options *rtl.ApiSettings) (DashboardLookml, error)
- func (l *LookerSDK) Datagroup(datagroupId string, options *rtl.ApiSettings) (Datagroup, error)
- func (l *LookerSDK) DefaultColorCollection(options *rtl.ApiSettings) (ColorCollection, error)
- func (l *LookerSDK) DefaultTheme(ts time.Time, options *rtl.ApiSettings) (Theme, error)
- func (l *LookerSDK) DeleteColorCollection(collectionId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteConnection(connectionName string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteConnectionOverride(connectionName string, overrideContext string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteContentFavorite(contentFavoriteId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteContentMetadataAccess(contentMetadataAccessId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteDashboard(dashboardId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteDashboardElement(dashboardElementId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteDashboardFilter(dashboardFilterId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteDashboardLayout(dashboardLayoutId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteFolder(folderId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteGitBranch(projectId string, branchName string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteGroup(groupId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteGroupFromGroup(groupId int64, deletingGroupId int64, options *rtl.ApiSettings) error
- func (l *LookerSDK) DeleteGroupUser(groupId int64, userId int64, options *rtl.ApiSettings) error
- func (l *LookerSDK) DeleteHomepage(homepageId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteHomepageItem(homepageItemId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteHomepageSection(homepageSectionId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteIntegrationHub(integrationHubId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteLook(lookId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteLookmlModel(lookmlModelName string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteModelSet(modelSetId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteOidcTestConfig(testSlug string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeletePermissionSet(permissionSetId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteRepositoryCredential(rootProjectId string, credentialId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteRole(roleId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteSamlTestConfig(testSlug string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteScheduledPlan(scheduledPlanId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteSpace(spaceId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteTheme(themeId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteUser(userId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteUserAttribute(userAttributeId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteUserAttributeGroupValue(groupId int64, userAttributeId int64, options *rtl.ApiSettings) error
- func (l *LookerSDK) DeleteUserAttributeUserValue(userId int64, userAttributeId int64, options *rtl.ApiSettings) error
- func (l *LookerSDK) DeleteUserCredentialsApi3(userId int64, credentialsApi3Id int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteUserCredentialsEmail(userId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteUserCredentialsEmbed(userId int64, credentialsEmbedId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteUserCredentialsGoogle(userId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteUserCredentialsLdap(userId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteUserCredentialsLookerOpenid(userId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteUserCredentialsOidc(userId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteUserCredentialsSaml(userId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteUserCredentialsTotp(userId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteUserLoginLockout(key string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeleteUserSession(userId int64, sessionId int64, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeployRefToProduction(request RequestDeployRefToProduction, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DeployToProduction(projectId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) DigestEmailsEnabled(options *rtl.ApiSettings) (DigestEmails, error)
- func (l *LookerSDK) FetchAndParseSamlIdpMetadata(body string, options *rtl.ApiSettings) (SamlMetadataParseResult, error)
- func (l *LookerSDK) FetchIntegrationForm(integrationId string, body map[string]interface{}, options *rtl.ApiSettings) (DataActionForm, error)
- func (l *LookerSDK) FetchRemoteDataActionForm(body map[string]interface{}, options *rtl.ApiSettings) (DataActionForm, error)
- func (l *LookerSDK) FindGitBranch(projectId string, branchName string, options *rtl.ApiSettings) (GitBranch, error)
- func (l *LookerSDK) Folder(folderId string, fields string, options *rtl.ApiSettings) (Folder, error)
- func (l *LookerSDK) FolderAncestors(folderId string, fields string, options *rtl.ApiSettings) ([]Folder, error)
- func (l *LookerSDK) FolderChildren(request RequestFolderChildren, options *rtl.ApiSettings) ([]Folder, error)
- func (l *LookerSDK) FolderChildrenSearch(request RequestFolderChildrenSearch, options *rtl.ApiSettings) ([]Folder, error)
- func (l *LookerSDK) FolderDashboards(folderId string, fields string, options *rtl.ApiSettings) ([]Dashboard, error)
- func (l *LookerSDK) FolderLooks(folderId string, fields string, options *rtl.ApiSettings) ([]LookWithQuery, error)
- func (l *LookerSDK) FolderParent(folderId string, fields string, options *rtl.ApiSettings) (Folder, error)
- func (l *LookerSDK) ForcePasswordResetAtNextLoginForAllUsers(options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) GetAllRepositoryCredentials(rootProjectId string, options *rtl.ApiSettings) ([]RepositoryCredential, error)
- func (l *LookerSDK) GitBranch(projectId string, options *rtl.ApiSettings) (GitBranch, error)
- func (l *LookerSDK) GitDeployKey(projectId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) GraphDerivedTablesForModel(request RequestGraphDerivedTablesForModel, options *rtl.ApiSettings) (DependencyGraph, error)
- func (l *LookerSDK) Group(groupId int64, fields string, options *rtl.ApiSettings) (Group, error)
- func (l *LookerSDK) Homepage(homepageId int64, fields string, options *rtl.ApiSettings) (Homepage, error)
- func (l *LookerSDK) HomepageItem(homepageItemId int64, fields string, options *rtl.ApiSettings) (HomepageItem, error)
- func (l *LookerSDK) HomepageSection(homepageSectionId int64, fields string, options *rtl.ApiSettings) (HomepageSection, error)
- func (l *LookerSDK) ImportLookmlDashboard(lookmlDashboardId string, spaceId string, body WriteDashboard, rawLocale bool, ...) (Dashboard, error)
- func (l *LookerSDK) Integration(integrationId string, fields string, options *rtl.ApiSettings) (Integration, error)
- func (l *LookerSDK) IntegrationHub(integrationHubId int64, fields string, options *rtl.ApiSettings) (IntegrationHub, error)
- func (l *LookerSDK) InternalHelpResources(options *rtl.ApiSettings) (InternalHelpResources, error)
- func (l *LookerSDK) InternalHelpResourcesContent(options *rtl.ApiSettings) (InternalHelpResourcesContent, error)
- func (l *LookerSDK) KillQuery(queryTaskId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) LdapConfig(options *rtl.ApiSettings) (LDAPConfig, error)
- func (l *LookerSDK) LegacyFeature(legacyFeatureId int64, options *rtl.ApiSettings) (LegacyFeature, error)
- func (l *LookerSDK) Login(request RequestLogin, options *rtl.ApiSettings) (AccessToken, error)
- func (l *LookerSDK) LoginUser(userId int64, associative bool, options *rtl.ApiSettings) (AccessToken, error)
- func (l *LookerSDK) Logout(options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) Look(lookId int64, fields string, options *rtl.ApiSettings) (LookWithQuery, error)
- func (l *LookerSDK) LookmlModel(lookmlModelName string, fields string, options *rtl.ApiSettings) (LookmlModel, error)
- func (l *LookerSDK) LookmlModelExplore(lookmlModelName string, exploreName string, fields string, ...) (LookmlModelExplore, error)
- func (l *LookerSDK) Manifest(projectId string, options *rtl.ApiSettings) (Manifest, error)
- func (l *LookerSDK) Me(fields string, options *rtl.ApiSettings) (User, error)
- func (l *LookerSDK) MergeQuery(mergeQueryId string, fields string, options *rtl.ApiSettings) (MergeQuery, error)
- func (l *LookerSDK) ModelSet(modelSetId int64, fields string, options *rtl.ApiSettings) (ModelSet, error)
- func (l *LookerSDK) OidcConfig(options *rtl.ApiSettings) (OIDCConfig, error)
- func (l *LookerSDK) OidcTestConfig(testSlug string, options *rtl.ApiSettings) (OIDCConfig, error)
- func (l *LookerSDK) ParseSamlIdpMetadata(body string, options *rtl.ApiSettings) (SamlMetadataParseResult, error)
- func (l *LookerSDK) PasswordConfig(options *rtl.ApiSettings) (PasswordConfig, error)
- func (l *LookerSDK) PerformDataAction(body DataActionRequest, options *rtl.ApiSettings) (DataActionResponse, error)
- func (l *LookerSDK) PermissionSet(permissionSetId int64, fields string, options *rtl.ApiSettings) (PermissionSet, error)
- func (l *LookerSDK) Project(projectId string, fields string, options *rtl.ApiSettings) (Project, error)
- func (l *LookerSDK) ProjectFile(projectId string, fileId string, fields string, options *rtl.ApiSettings) (ProjectFile, error)
- func (l *LookerSDK) ProjectValidationResults(projectId string, fields string, options *rtl.ApiSettings) (ProjectValidationCache, error)
- func (l *LookerSDK) ProjectWorkspace(projectId string, fields string, options *rtl.ApiSettings) (ProjectWorkspace, error)
- func (l *LookerSDK) Query(queryId int64, fields string, options *rtl.ApiSettings) (Query, error)
- func (l *LookerSDK) QueryForSlug(slug string, fields string, options *rtl.ApiSettings) (Query, error)
- func (l *LookerSDK) QueryTask(queryTaskId string, fields string, options *rtl.ApiSettings) (QueryTask, error)
- func (l *LookerSDK) QueryTaskMultiResults(queryTaskIds rtl.DelimString, options *rtl.ApiSettings) (map[string]interface{}, error)
- func (l *LookerSDK) QueryTaskResults(queryTaskId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) RenderTask(renderTaskId string, fields string, options *rtl.ApiSettings) (RenderTask, error)
- func (l *LookerSDK) RenderTaskResults(renderTaskId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) ResetProjectToProduction(projectId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) ResetProjectToRemote(projectId string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) Role(roleId int64, options *rtl.ApiSettings) (Role, error)
- func (l *LookerSDK) RoleGroups(roleId int64, fields string, options *rtl.ApiSettings) ([]Group, error)
- func (l *LookerSDK) RoleUsers(request RequestRoleUsers, options *rtl.ApiSettings) ([]User, error)
- func (l *LookerSDK) RunGitConnectionTest(request RequestRunGitConnectionTest, options *rtl.ApiSettings) (GitConnectionTestResult, error)
- func (l *LookerSDK) RunInlineQuery(request RequestRunInlineQuery, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) RunLook(request RequestRunLook, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) RunLookmlTest(request RequestRunLookmlTest, options *rtl.ApiSettings) ([]LookmlTestResult, error)
- func (l *LookerSDK) RunQuery(request RequestRunQuery, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) RunSqlQuery(slug string, resultFormat string, download string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) RunUrlEncodedQuery(modelName string, viewName string, resultFormat string, ...) (string, error)
- func (l *LookerSDK) SamlConfig(options *rtl.ApiSettings) (SamlConfig, error)
- func (l *LookerSDK) SamlTestConfig(testSlug string, options *rtl.ApiSettings) (SamlConfig, error)
- func (l *LookerSDK) ScheduledPlan(scheduledPlanId int64, fields string, options *rtl.ApiSettings) (ScheduledPlan, error)
- func (l *LookerSDK) ScheduledPlanRunOnce(body WriteScheduledPlan, options *rtl.ApiSettings) (ScheduledPlan, error)
- func (l *LookerSDK) ScheduledPlanRunOnceById(scheduledPlanId int64, body WriteScheduledPlan, options *rtl.ApiSettings) (ScheduledPlan, error)
- func (l *LookerSDK) ScheduledPlansForDashboard(request RequestScheduledPlansForDashboard, options *rtl.ApiSettings) ([]ScheduledPlan, error)
- func (l *LookerSDK) ScheduledPlansForLook(request RequestScheduledPlansForLook, options *rtl.ApiSettings) ([]ScheduledPlan, error)
- func (l *LookerSDK) ScheduledPlansForLookmlDashboard(request RequestScheduledPlansForLookmlDashboard, options *rtl.ApiSettings) ([]ScheduledPlan, error)
- func (l *LookerSDK) ScheduledPlansForSpace(spaceId int64, fields string, options *rtl.ApiSettings) ([]ScheduledPlan, error)
- func (l *LookerSDK) SearchContentFavorites(request RequestSearchContentFavorites, options *rtl.ApiSettings) ([]ContentFavorite, error)
- func (l *LookerSDK) SearchContentViews(request RequestSearchContentViews, options *rtl.ApiSettings) ([]ContentView, error)
- func (l *LookerSDK) SearchDashboardElements(request RequestSearchDashboardElements, options *rtl.ApiSettings) ([]DashboardElement, error)
- func (l *LookerSDK) SearchDashboards(request RequestSearchDashboards, options *rtl.ApiSettings) ([]Dashboard, error)
- func (l *LookerSDK) SearchFolders(request RequestSearchSpaces, options *rtl.ApiSettings) ([]Folder, error)
- func (l *LookerSDK) SearchGroups(request RequestSearchGroups, options *rtl.ApiSettings) ([]Group, error)
- func (l *LookerSDK) SearchHomepages(request RequestSearchHomepages, options *rtl.ApiSettings) ([]Homepage, error)
- func (l *LookerSDK) SearchLooks(request RequestSearchLooks, options *rtl.ApiSettings) ([]Look, error)
- func (l *LookerSDK) SearchModelSets(request RequestSearchModelSets, options *rtl.ApiSettings) ([]ModelSet, error)
- func (l *LookerSDK) SearchPermissionSets(request RequestSearchModelSets, options *rtl.ApiSettings) ([]PermissionSet, error)
- func (l *LookerSDK) SearchRoles(request RequestSearchRoles, options *rtl.ApiSettings) ([]Role, error)
- func (l *LookerSDK) SearchSpaces(request RequestSearchSpaces, options *rtl.ApiSettings) ([]Space, error)
- func (l *LookerSDK) SearchThemes(request RequestSearchThemes, options *rtl.ApiSettings) ([]Theme, error)
- func (l *LookerSDK) SearchUserLoginLockouts(request RequestSearchUserLoginLockouts, options *rtl.ApiSettings) ([]UserLoginLockout, error)
- func (l *LookerSDK) SearchUsers(request RequestSearchUsers, options *rtl.ApiSettings) ([]User, error)
- func (l *LookerSDK) SearchUsersNames(request RequestSearchUsersNames, options *rtl.ApiSettings) ([]User, error)
- func (l *LookerSDK) Session(options *rtl.ApiSettings) (ApiSession, error)
- func (l *LookerSDK) SessionConfig(options *rtl.ApiSettings) (SessionConfig, error)
- func (l *LookerSDK) SetDefaultColorCollection(collectionId string, options *rtl.ApiSettings) (ColorCollection, error)
- func (l *LookerSDK) SetDefaultTheme(name string, options *rtl.ApiSettings) (Theme, error)
- func (l *LookerSDK) SetRoleGroups(roleId int64, body []int64, options *rtl.ApiSettings) ([]Group, error)
- func (l *LookerSDK) SetRoleUsers(roleId int64, body []int64, options *rtl.ApiSettings) ([]User, error)
- func (l *LookerSDK) SetUserAttributeGroupValues(userAttributeId int64, body []UserAttributeGroupValue, ...) ([]UserAttributeGroupValue, error)
- func (l *LookerSDK) SetUserAttributeUserValue(userId int64, userAttributeId int64, body WriteUserAttributeWithValue, ...) (UserAttributeWithValue, error)
- func (l *LookerSDK) SetUserRoles(userId int64, body []int64, fields string, options *rtl.ApiSettings) ([]Role, error)
- func (l *LookerSDK) Space(spaceId string, fields string, options *rtl.ApiSettings) (Space, error)
- func (l *LookerSDK) SpaceAncestors(spaceId string, fields string, options *rtl.ApiSettings) ([]Space, error)
- func (l *LookerSDK) SpaceChildren(request RequestSpaceChildren, options *rtl.ApiSettings) ([]Space, error)
- func (l *LookerSDK) SpaceChildrenSearch(request RequestSpaceChildrenSearch, options *rtl.ApiSettings) ([]Space, error)
- func (l *LookerSDK) SpaceDashboards(spaceId string, fields string, options *rtl.ApiSettings) ([]Dashboard, error)
- func (l *LookerSDK) SpaceLooks(spaceId string, fields string, options *rtl.ApiSettings) ([]LookWithQuery, error)
- func (l *LookerSDK) SpaceParent(spaceId string, fields string, options *rtl.ApiSettings) (Space, error)
- func (l *LookerSDK) SqlQuery(slug string, options *rtl.ApiSettings) (SqlQuery, error)
- func (l *LookerSDK) SyncLookmlDashboard(lookmlDashboardId string, body WriteDashboard, rawLocale bool, ...) ([]int64, error)
- func (l *LookerSDK) TestConnection(connectionName string, tests rtl.DelimString, options *rtl.ApiSettings) ([]DBConnectionTestResult, error)
- func (l *LookerSDK) TestConnectionConfig(body WriteDBConnection, tests rtl.DelimString, options *rtl.ApiSettings) ([]DBConnectionTestResult, error)
- func (l *LookerSDK) TestIntegration(integrationId string, options *rtl.ApiSettings) (IntegrationTestResult, error)
- func (l *LookerSDK) TestLdapConfigAuth(body WriteLDAPConfig, options *rtl.ApiSettings) (LDAPConfigTestResult, error)
- func (l *LookerSDK) TestLdapConfigConnection(body WriteLDAPConfig, options *rtl.ApiSettings) (LDAPConfigTestResult, error)
- func (l *LookerSDK) TestLdapConfigUserAuth(body WriteLDAPConfig, options *rtl.ApiSettings) (LDAPConfigTestResult, error)
- func (l *LookerSDK) TestLdapConfigUserInfo(body WriteLDAPConfig, options *rtl.ApiSettings) (LDAPConfigTestResult, error)
- func (l *LookerSDK) Theme(themeId string, fields string, options *rtl.ApiSettings) (Theme, error)
- func (l *LookerSDK) ThemeOrDefault(name string, ts time.Time, options *rtl.ApiSettings) (Theme, error)
- func (l *LookerSDK) UpdateBackupConfiguration(body WriteBackupConfiguration, options *rtl.ApiSettings) (BackupConfiguration, error)
- func (l *LookerSDK) UpdateCloudStorageConfiguration(body WriteBackupConfiguration, options *rtl.ApiSettings) (BackupConfiguration, error)
- func (l *LookerSDK) UpdateColorCollection(collectionId string, body WriteColorCollection, options *rtl.ApiSettings) (ColorCollection, error)
- func (l *LookerSDK) UpdateConnection(connectionName string, body WriteDBConnection, options *rtl.ApiSettings) (DBConnection, error)
- func (l *LookerSDK) UpdateContentMetadata(contentMetadataId int64, body WriteContentMeta, options *rtl.ApiSettings) (ContentMeta, error)
- func (l *LookerSDK) UpdateContentMetadataAccess(contentMetadataAccessId int64, body ContentMetaGroupUser, ...) (ContentMetaGroupUser, error)
- func (l *LookerSDK) UpdateCustomWelcomeEmail(body WriteCustomWelcomeEmail, sendTestWelcomeEmail bool, ...) (CustomWelcomeEmail, error)
- func (l *LookerSDK) UpdateCustomWelcomeEmailTest(body WelcomeEmailTest, options *rtl.ApiSettings) (WelcomeEmailTest, error)
- func (l *LookerSDK) UpdateDashboard(dashboardId string, body WriteDashboard, options *rtl.ApiSettings) (Dashboard, error)
- func (l *LookerSDK) UpdateDashboardElement(dashboardElementId string, body WriteDashboardElement, fields string, ...) (DashboardElement, error)
- func (l *LookerSDK) UpdateDashboardFilter(dashboardFilterId string, body WriteDashboardFilter, fields string, ...) (DashboardFilter, error)
- func (l *LookerSDK) UpdateDashboardLayout(dashboardLayoutId string, body WriteDashboardLayout, fields string, ...) (DashboardLayout, error)
- func (l *LookerSDK) UpdateDashboardLayoutComponent(dashboardLayoutComponentId string, body WriteDashboardLayoutComponent, ...) (DashboardLayoutComponent, error)
- func (l *LookerSDK) UpdateDatagroup(datagroupId string, body WriteDatagroup, options *rtl.ApiSettings) (Datagroup, error)
- func (l *LookerSDK) UpdateDigestEmailsEnabled(body DigestEmails, options *rtl.ApiSettings) (DigestEmails, error)
- func (l *LookerSDK) UpdateFolder(folderId string, body UpdateFolder, options *rtl.ApiSettings) (Folder, error)
- func (l *LookerSDK) UpdateGitBranch(projectId string, body WriteGitBranch, options *rtl.ApiSettings) (GitBranch, error)
- func (l *LookerSDK) UpdateGroup(groupId int64, body WriteGroup, fields string, options *rtl.ApiSettings) (Group, error)
- func (l *LookerSDK) UpdateHomepage(homepageId int64, body WriteHomepage, fields string, options *rtl.ApiSettings) (Homepage, error)
- func (l *LookerSDK) UpdateHomepageItem(homepageItemId int64, body WriteHomepageItem, fields string, ...) (HomepageItem, error)
- func (l *LookerSDK) UpdateHomepageSection(homepageSectionId int64, body WriteHomepageSection, fields string, ...) (HomepageSection, error)
- func (l *LookerSDK) UpdateIntegration(integrationId string, body WriteIntegration, fields string, ...) (Integration, error)
- func (l *LookerSDK) UpdateIntegrationHub(integrationHubId int64, body WriteIntegrationHub, fields string, ...) (IntegrationHub, error)
- func (l *LookerSDK) UpdateInternalHelpResources(body WriteInternalHelpResources, options *rtl.ApiSettings) (InternalHelpResources, error)
- func (l *LookerSDK) UpdateInternalHelpResourcesContent(body WriteInternalHelpResourcesContent, options *rtl.ApiSettings) (InternalHelpResourcesContent, error)
- func (l *LookerSDK) UpdateLdapConfig(body WriteLDAPConfig, options *rtl.ApiSettings) (LDAPConfig, error)
- func (l *LookerSDK) UpdateLegacyFeature(legacyFeatureId int64, body WriteLegacyFeature, options *rtl.ApiSettings) (LegacyFeature, error)
- func (l *LookerSDK) UpdateLook(lookId int64, body WriteLookWithQuery, fields string, options *rtl.ApiSettings) (LookWithQuery, error)
- func (l *LookerSDK) UpdateLookmlModel(lookmlModelName string, body WriteLookmlModel, options *rtl.ApiSettings) (LookmlModel, error)
- func (l *LookerSDK) UpdateModelSet(modelSetId int64, body WriteModelSet, options *rtl.ApiSettings) (ModelSet, error)
- func (l *LookerSDK) UpdateOidcConfig(body WriteOIDCConfig, options *rtl.ApiSettings) (OIDCConfig, error)
- func (l *LookerSDK) UpdatePasswordConfig(body WritePasswordConfig, options *rtl.ApiSettings) (PasswordConfig, error)
- func (l *LookerSDK) UpdatePermissionSet(permissionSetId int64, body WritePermissionSet, options *rtl.ApiSettings) (PermissionSet, error)
- func (l *LookerSDK) UpdateProject(projectId string, body WriteProject, fields string, options *rtl.ApiSettings) (Project, error)
- func (l *LookerSDK) UpdateRepositoryCredential(rootProjectId string, credentialId string, body WriteRepositoryCredential, ...) (RepositoryCredential, error)
- func (l *LookerSDK) UpdateRole(roleId int64, body WriteRole, options *rtl.ApiSettings) (Role, error)
- func (l *LookerSDK) UpdateSamlConfig(body WriteSamlConfig, options *rtl.ApiSettings) (SamlConfig, error)
- func (l *LookerSDK) UpdateScheduledPlan(scheduledPlanId int64, body WriteScheduledPlan, options *rtl.ApiSettings) (ScheduledPlan, error)
- func (l *LookerSDK) UpdateSession(body WriteApiSession, options *rtl.ApiSettings) (ApiSession, error)
- func (l *LookerSDK) UpdateSessionConfig(body WriteSessionConfig, options *rtl.ApiSettings) (SessionConfig, error)
- func (l *LookerSDK) UpdateSpace(spaceId string, body UpdateSpace, options *rtl.ApiSettings) (Space, error)
- func (l *LookerSDK) UpdateTheme(themeId string, body WriteTheme, options *rtl.ApiSettings) (Theme, error)
- func (l *LookerSDK) UpdateUser(userId int64, body WriteUser, fields string, options *rtl.ApiSettings) (User, error)
- func (l *LookerSDK) UpdateUserAttribute(userAttributeId int64, body WriteUserAttribute, fields string, ...) (UserAttribute, error)
- func (l *LookerSDK) UpdateUserAttributeGroupValue(groupId int64, userAttributeId int64, body UserAttributeGroupValue, ...) (UserAttributeGroupValue, error)
- func (l *LookerSDK) UpdateUserCredentialsEmail(userId int64, body WriteCredentialsEmail, fields string, ...) (CredentialsEmail, error)
- func (l *LookerSDK) UpdateWhitelabelConfiguration(body WriteWhitelabelConfiguration, options *rtl.ApiSettings) (WhitelabelConfiguration, error)
- func (l *LookerSDK) User(userId int64, fields string, options *rtl.ApiSettings) (User, error)
- func (l *LookerSDK) UserAttribute(userAttributeId int64, fields string, options *rtl.ApiSettings) (UserAttribute, error)
- func (l *LookerSDK) UserAttributeUserValues(request RequestUserAttributeUserValues, options *rtl.ApiSettings) ([]UserAttributeWithValue, error)
- func (l *LookerSDK) UserCredentialsApi3(userId int64, credentialsApi3Id int64, fields string, options *rtl.ApiSettings) (CredentialsApi3, error)
- func (l *LookerSDK) UserCredentialsEmail(userId int64, fields string, options *rtl.ApiSettings) (CredentialsEmail, error)
- func (l *LookerSDK) UserCredentialsEmbed(userId int64, credentialsEmbedId int64, fields string, ...) (CredentialsEmbed, error)
- func (l *LookerSDK) UserCredentialsGoogle(userId int64, fields string, options *rtl.ApiSettings) (CredentialsGoogle, error)
- func (l *LookerSDK) UserCredentialsLdap(userId int64, fields string, options *rtl.ApiSettings) (CredentialsLDAP, error)
- func (l *LookerSDK) UserCredentialsLookerOpenid(userId int64, fields string, options *rtl.ApiSettings) (CredentialsLookerOpenid, error)
- func (l *LookerSDK) UserCredentialsOidc(userId int64, fields string, options *rtl.ApiSettings) (CredentialsOIDC, error)
- func (l *LookerSDK) UserCredentialsSaml(userId int64, fields string, options *rtl.ApiSettings) (CredentialsSaml, error)
- func (l *LookerSDK) UserCredentialsTotp(userId int64, fields string, options *rtl.ApiSettings) (CredentialsTotp, error)
- func (l *LookerSDK) UserForCredential(credentialType string, credentialId string, fields string, ...) (User, error)
- func (l *LookerSDK) UserRoles(request RequestUserRoles, options *rtl.ApiSettings) ([]Role, error)
- func (l *LookerSDK) UserSession(userId int64, sessionId int64, fields string, options *rtl.ApiSettings) (Session, error)
- func (l *LookerSDK) ValidateProject(projectId string, fields string, options *rtl.ApiSettings) (ProjectValidation, error)
- func (l *LookerSDK) ValidateTheme(body WriteTheme, options *rtl.ApiSettings) (ValidationError, error)
- func (l *LookerSDK) VectorThumbnail(type0 string, resourceId string, reload string, options *rtl.ApiSettings) (string, error)
- func (l *LookerSDK) Versions(fields string, options *rtl.ApiSettings) (ApiVersion, error)
- func (l *LookerSDK) WhitelabelConfiguration(fields string, options *rtl.ApiSettings) (WhitelabelConfiguration, error)
- func (l *LookerSDK) Workspace(workspaceId string, options *rtl.ApiSettings) (Workspace, error)
- type LookmlModel
- type LookmlModelExplore
- type LookmlModelExploreAccessFilter
- type LookmlModelExploreAlias
- type LookmlModelExploreAlwaysFilter
- type LookmlModelExploreConditionallyFilter
- type LookmlModelExploreError
- type LookmlModelExploreField
- type LookmlModelExploreFieldEnumeration
- type LookmlModelExploreFieldMapLayer
- type LookmlModelExploreFieldMeasureFilters
- type LookmlModelExploreFieldSqlCase
- type LookmlModelExploreFieldTimeInterval
- type LookmlModelExploreFieldset
- type LookmlModelExploreJoins
- type LookmlModelExploreSet
- type LookmlModelExploreSupportedMeasureType
- type LookmlModelNavExplore
- type LookmlTest
- type LookmlTestResult
- type Manifest
- type MergeFields
- type MergeQuery
- type MergeQuerySourceQuery
- type ModelSet
- type ModelsNotValidated
- type Name
- type OIDCConfig
- type OIDCGroupRead
- type OIDCGroupWrite
- type OIDCUserAttributeRead
- type OIDCUserAttributeWrite
- type PasswordConfig
- type Permission
- type PermissionSet
- type PermissionType
- type Project
- type ProjectError
- type ProjectFile
- type ProjectValidation
- type ProjectValidationCache
- type ProjectWorkspace
- type PullRequestMode
- type Query
- type QueryTask
- type RenderTask
- type RepositoryCredential
- type RequestActiveThemes
- type RequestAllGroupUsers
- type RequestAllGroups
- type RequestAllHomepageItems
- type RequestAllHomepageSections
- type RequestAllIntegrations
- type RequestAllRoles
- type RequestAllScheduledPlans
- type RequestAllUsers
- type RequestContentThumbnail
- type RequestCreateDashboardRenderTask
- type RequestCreateLookmlDashboardRenderTask
- type RequestCreateQueryTask
- type RequestCreateUserCredentialsEmailPasswordReset
- type RequestDeployRefToProduction
- type RequestFolderChildren
- type RequestFolderChildrenSearch
- type RequestGraphDerivedTablesForModel
- type RequestLogin
- type RequestRoleUsers
- type RequestRunGitConnectionTest
- type RequestRunInlineQuery
- type RequestRunLook
- type RequestRunLookmlTest
- type RequestRunQuery
- type RequestScheduledPlansForDashboard
- type RequestScheduledPlansForLook
- type RequestScheduledPlansForLookmlDashboard
- type RequestSearchContentFavorites
- type RequestSearchContentViews
- type RequestSearchDashboardElements
- type RequestSearchDashboards
- type RequestSearchGroups
- type RequestSearchHomepages
- type RequestSearchLooks
- type RequestSearchModelSets
- type RequestSearchRoles
- type RequestSearchSpaces
- type RequestSearchThemes
- type RequestSearchUserLoginLockouts
- type RequestSearchUsers
- type RequestSearchUsersNames
- type RequestSpaceChildren
- type RequestSpaceChildrenSearch
- type RequestUserAttributeUserValues
- type RequestUserRoles
- type ResultFormat
- type ResultMakerFilterables
- type ResultMakerFilterablesListen
- type ResultMakerWithIdVisConfigAndDynamicFields
- type Role
- type RunningQueries
- type SamlConfig
- type SamlGroupRead
- type SamlGroupWrite
- type SamlMetadataParseResult
- type SamlUserAttributeRead
- type SamlUserAttributeWrite
- type ScheduledPlan
- type ScheduledPlanDestination
- type Session
- type SessionConfig
- type Snippet
- type Space
- type SpaceBase
- type SqlQuery
- type SqlQueryCreate
- type SupportedActionTypes
- type SupportedDownloadSettings
- type SupportedFormats
- type SupportedFormattings
- type SupportedVisualizationFormattings
- type Theme
- type ThemeSettings
- type Timezone
- type UpdateFolder
- type UpdateSpace
- type User
- type UserAttribute
- type UserAttributeFilterTypes
- type UserAttributeGroupValue
- type UserAttributeWithValue
- type UserIdOnly
- type UserLoginLockout
- type UserPublic
- type ValidationError
- type ValidationErrorDetail
- type WeekStartDay
- type WelcomeEmailTest
- type WhitelabelConfiguration
- type Workspace
- type WriteApiSession
- type WriteBackupConfiguration
- type WriteColorCollection
- type WriteContentFavorite
- type WriteContentMeta
- type WriteCreateDashboardFilter
- type WriteCreateQueryTask
- type WriteCredentialsEmail
- type WriteCustomWelcomeEmail
- type WriteDBConnection
- type WriteDBConnectionOverride
- type WriteDashboard
- type WriteDashboardBase
- type WriteDashboardElement
- type WriteDashboardFilter
- type WriteDashboardLayout
- type WriteDashboardLayoutComponent
- type WriteDatagroup
- type WriteFolderBase
- type WriteGitBranch
- type WriteGroup
- type WriteHomepage
- type WriteHomepageItem
- type WriteHomepageSection
- type WriteIntegration
- type WriteIntegrationHub
- type WriteInternalHelpResources
- type WriteInternalHelpResourcesContent
- type WriteLDAPConfig
- type WriteLegacyFeature
- type WriteLookWithQuery
- type WriteLookmlModel
- type WriteMergeQuery
- type WriteModelSet
- type WriteOIDCConfig
- type WritePasswordConfig
- type WritePermissionSet
- type WriteProject
- type WriteQuery
- type WriteRepositoryCredential
- type WriteResultMakerWithIdVisConfigAndDynamicFields
- type WriteRole
- type WriteSamlConfig
- type WriteScheduledPlan
- type WriteSessionConfig
- type WriteSpaceBase
- type WriteTheme
- type WriteUser
- type WriteUserAttribute
- type WriteUserAttributeWithValue
- type WriteWhitelabelConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type ApiSession ¶
type ApiSession struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object WorkspaceId *string `json:"workspace_id,omitempty"` // The id of active workspace for this session SudoUserId *int64 `json:"sudo_user_id,omitempty"` // The id of the actual user in the case when this session represents one user sudo'ing as another }
type ApiVersion ¶
type ApiVersion struct { LookerReleaseVersion *string `json:"looker_release_version,omitempty"` // Current Looker release version number CurrentVersion *ApiVersionElement `json:"current_version,omitempty"` SupportedVersions *[]ApiVersionElement `json:"supported_versions,omitempty"` // Array of versions supported by this Looker instance ApiServerUrl *string `json:"api_server_url,omitempty"` // API server base url }
type ApiVersionElement ¶
type ApiVersionElement struct { Version *string `json:"version,omitempty"` // Version number as it appears in '/api/xxx/' urls FullVersion *string `json:"full_version,omitempty"` // Full version number including minor version Status *string `json:"status,omitempty"` // Status of this version SwaggerUrl *url.URL `json:"swagger_url,omitempty"` // Url for swagger.json for this version }
type BackupConfiguration ¶
type BackupConfiguration struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Type *string `json:"type,omitempty"` // Type of backup: looker-s3 or custom-s3 CustomS3Bucket *string `json:"custom_s3_bucket,omitempty"` // Name of bucket for custom-s3 backups CustomS3BucketRegion *string `json:"custom_s3_bucket_region,omitempty"` // Name of region where the bucket is located CustomS3Key *string `json:"custom_s3_key,omitempty"` // (Write-Only) AWS S3 key used for custom-s3 backups CustomS3Secret *string `json:"custom_s3_secret,omitempty"` // (Write-Only) AWS S3 secret used for custom-s3 backups Url *url.URL `json:"url,omitempty"` // Link to get this item }
type Category ¶
type Category string
const Category_Dimension Category = "dimension"
const Category_Filter Category = "filter"
const Category_Measure Category = "measure"
const Category_Parameter Category = "parameter"
type ColorCollection ¶
type ColorCollection struct { Id *string `json:"id,omitempty"` // Unique Id Label *string `json:"label,omitempty"` // Label of color collection CategoricalPalettes *[]DiscretePalette `json:"categoricalPalettes,omitempty"` // Array of categorical palette definitions SequentialPalettes *[]ContinuousPalette `json:"sequentialPalettes,omitempty"` // Array of discrete palette definitions DivergingPalettes *[]ContinuousPalette `json:"divergingPalettes,omitempty"` // Array of diverging palette definitions }
type ContentFavorite ¶
type ContentFavorite struct { Id *int64 `json:"id,omitempty"` // Unique Id UserId *int64 `json:"user_id,omitempty"` // User Id which owns this ContentFavorite ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Content Metadata Id associated with this ContentFavorite LookId *int64 `json:"look_id,omitempty"` // Id of a look DashboardId *int64 `json:"dashboard_id,omitempty"` // Id of a dashboard Look *LookBasic `json:"look,omitempty"` Dashboard *DashboardBase `json:"dashboard,omitempty"` }
type ContentMeta ¶
type ContentMeta struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *int64 `json:"id,omitempty"` // Unique Id Name *string `json:"name,omitempty"` // Name or title of underlying content ParentId *int64 `json:"parent_id,omitempty"` // Id of Parent Content DashboardId *string `json:"dashboard_id,omitempty"` // Id of associated dashboard when content_type is "dashboard" LookId *int64 `json:"look_id,omitempty"` // Id of associated look when content_type is "look" FolderId *string `json:"folder_id,omitempty"` // Id of associated folder when content_type is "space" ContentType *string `json:"content_type,omitempty"` // Content Type ("dashboard", "look", or "space") Inherits *bool `json:"inherits,omitempty"` // Whether content inherits its access levels from parent InheritingId *int64 `json:"inheriting_id,omitempty"` // Id of Inherited Content Slug *string `json:"slug,omitempty"` // Content Slug SpaceId *string `json:"space_id,omitempty"` // Id of associated space when content_type is "space" }
type ContentMetaGroupUser ¶
type ContentMetaGroupUser struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *string `json:"id,omitempty"` // Unique Id ContentMetadataId *string `json:"content_metadata_id,omitempty"` // Id of associated Content Metadata PermissionType *PermissionType `json:"permission_type,omitempty"` // Type of permission: "view" or "edit" Valid values are: "view", "edit". GroupId *int64 `json:"group_id,omitempty"` // ID of associated group UserId *int64 `json:"user_id,omitempty"` // ID of associated user }
type ContentValidation ¶
type ContentValidation struct { ContentWithErrors *[]ContentValidatorError `json:"content_with_errors,omitempty"` // A list of content errors ComputationTime *float32 `json:"computation_time,omitempty"` // Duration of content validation in seconds TotalLooksValidated *int64 `json:"total_looks_validated,omitempty"` // The number of looks validated TotalDashboardElementsValidated *int64 `json:"total_dashboard_elements_validated,omitempty"` // The number of dashboard elements validated TotalDashboardFiltersValidated *int64 `json:"total_dashboard_filters_validated,omitempty"` // The number of dashboard filters validated TotalScheduledPlansValidated *int64 `json:"total_scheduled_plans_validated,omitempty"` // The number of scheduled plans validated TotalAlertsValidated *int64 `json:"total_alerts_validated,omitempty"` // The number of alerts validated TotalExploresValidated *int64 `json:"total_explores_validated,omitempty"` // The number of explores used across all content validated }
type ContentValidationAlert ¶
type ContentValidationAlert struct { Id *int64 `json:"id,omitempty"` // ID of the alert LookmlDashboardId *string `json:"lookml_dashboard_id,omitempty"` // ID of the LookML dashboard associated with the alert LookmlLinkId *string `json:"lookml_link_id,omitempty"` // ID of the LookML dashboard element associated with the alert CustomTitle *string `json:"custom_title,omitempty"` // An optional, user-defined title for the alert }
type ContentValidationDashboard ¶
type ContentValidationDashboard struct { Description *string `json:"description,omitempty"` // Description Id *string `json:"id,omitempty"` // Unique Id Folder *ContentValidationFolder `json:"folder,omitempty"` Title *string `json:"title,omitempty"` // Dashboard Title Space *ContentValidationSpace `json:"space,omitempty"` }
type ContentValidationDashboardElement ¶
type ContentValidationDashboardElement struct { BodyText *string `json:"body_text,omitempty"` // Text tile body text DashboardId *string `json:"dashboard_id,omitempty"` // Id of Dashboard Id *string `json:"id,omitempty"` // Unique Id LookId *string `json:"look_id,omitempty"` // Id Of Look NoteDisplay *string `json:"note_display,omitempty"` // Note Display NoteState *string `json:"note_state,omitempty"` // Note State NoteText *string `json:"note_text,omitempty"` // Note Text NoteTextAsHtml *string `json:"note_text_as_html,omitempty"` // Note Text as Html QueryId *int64 `json:"query_id,omitempty"` // Id Of Query SubtitleText *string `json:"subtitle_text,omitempty"` // Text tile subtitle text Title *string `json:"title,omitempty"` // Title of dashboard element TitleHidden *bool `json:"title_hidden,omitempty"` // Whether title is hidden TitleText *string `json:"title_text,omitempty"` // Text tile title Type *string `json:"type,omitempty"` // Type }
type ContentValidationDashboardFilter ¶
type ContentValidationDashboardFilter struct { Id *string `json:"id,omitempty"` // Unique Id DashboardId *string `json:"dashboard_id,omitempty"` // Id of Dashboard Name *string `json:"name,omitempty"` // Name of filter Title *string `json:"title,omitempty"` // Title of filter Type *string `json:"type,omitempty"` // Type of filter: one of date, number, string, or field DefaultValue *string `json:"default_value,omitempty"` // Default value of filter Model *string `json:"model,omitempty"` // Model of filter (required if type = field) Explore *string `json:"explore,omitempty"` // Explore of filter (required if type = field) Dimension *string `json:"dimension,omitempty"` // Dimension of filter (required if type = field) }
type ContentValidationError ¶
type ContentValidationError struct { Message *string `json:"message,omitempty"` // Error message FieldName *string `json:"field_name,omitempty"` // Name of the field involved in the error ModelName *string `json:"model_name,omitempty"` // Name of the model involved in the error ExploreName *string `json:"explore_name,omitempty"` // Name of the explore involved in the error Removable *bool `json:"removable,omitempty"` // Whether this validation error is removable }
type ContentValidationFolder ¶
type ContentValidationLook ¶
type ContentValidationLook struct { Id *int64 `json:"id,omitempty"` // Unique Id Title *string `json:"title,omitempty"` // Look Title Folder *ContentValidationFolder `json:"folder,omitempty"` Space *ContentValidationSpace `json:"space,omitempty"` }
type ContentValidationSpace ¶
type ContentValidatorError ¶
type ContentValidatorError struct { Look *ContentValidationLook `json:"look,omitempty"` Dashboard *ContentValidationDashboard `json:"dashboard,omitempty"` DashboardElement *ContentValidationDashboardElement `json:"dashboard_element,omitempty"` DashboardFilter *ContentValidationDashboardFilter `json:"dashboard_filter,omitempty"` ScheduledPlan *ContentValidationScheduledPlan `json:"scheduled_plan,omitempty"` Alert *ContentValidationAlert `json:"alert,omitempty"` LookmlDashboard *ContentValidationLookMLDashboard `json:"lookml_dashboard,omitempty"` LookmlDashboardElement *ContentValidationLookMLDashboardElement `json:"lookml_dashboard_element,omitempty"` Errors *[]ContentValidationError `json:"errors,omitempty"` // A list of errors found for this piece of content Id *string `json:"id,omitempty"` // An id unique to this piece of content for this validation run }
type ContentView ¶
type ContentView struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *int64 `json:"id,omitempty"` // Unique Id LookId *int64 `json:"look_id,omitempty"` // Id of viewed Look DashboardId *int64 `json:"dashboard_id,omitempty"` // Id of the viewed Dashboard Title *string `json:"title,omitempty"` // Name or title of underlying content ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Content metadata id of the Look or Dashboard UserId *int64 `json:"user_id,omitempty"` // Id of user content was viewed by GroupId *int64 `json:"group_id,omitempty"` // Id of group content was viewed by ViewCount *int64 `json:"view_count,omitempty"` // Number of times piece of content was viewed FavoriteCount *int64 `json:"favorite_count,omitempty"` // Number of times piece of content was favorited LastViewedAt *string `json:"last_viewed_at,omitempty"` // Date the piece of content was last viewed StartOfWeekDate *string `json:"start_of_week_date,omitempty"` // Week start date for the view and favorite count during that given week }
type ContinuousPalette ¶
type CreateDashboardFilter ¶
type CreateDashboardFilter struct { Id *string `json:"id,omitempty"` // Unique Id DashboardId string `json:"dashboard_id"` // Id of Dashboard Name string `json:"name"` // Name of filter Title string `json:"title"` // Title of filter Type string `json:"type"` // Type of filter: one of date, number, string, or field DefaultValue *string `json:"default_value,omitempty"` // Default value of filter Model *string `json:"model,omitempty"` // Model of filter (required if type = field) Explore *string `json:"explore,omitempty"` // Explore of filter (required if type = field) Dimension *string `json:"dimension,omitempty"` // Dimension of filter (required if type = field) Field *map[string]interface{} `json:"field,omitempty"` // Field information Row *int64 `json:"row,omitempty"` // Display order of this filter relative to other filters ListensToFilters *[]string `json:"listens_to_filters,omitempty"` // Array of listeners for faceted filters AllowMultipleValues *bool `json:"allow_multiple_values,omitempty"` // Whether the filter allows multiple filter values (deprecated in the latest version of dashboards) Required *bool `json:"required,omitempty"` // Whether the filter requires a value to run the dashboard UiConfig *map[string]interface{} `json:"ui_config,omitempty"` // The visual configuration for this filter. Used to set up how the UI for this filter should appear. }
type CreateFolder ¶
type CreateQueryTask ¶
type CreateQueryTask struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object QueryId int64 `json:"query_id"` // Id of query to run ResultFormat ResultFormat `json:"result_format"` // Desired async query result format. Valid values are: "inline_json", "json", "json_detail", "json_fe", "csv", "html", "md", "txt", "xlsx", "gsxml". Source *string `json:"source,omitempty"` // Source of query task Deferred *bool `json:"deferred,omitempty"` // Create the task but defer execution LookId *int64 `json:"look_id,omitempty"` // Id of look associated with query. DashboardId *string `json:"dashboard_id,omitempty"` // Id of dashboard associated with query. }
type CreateSpace ¶
type CredentialsApi3 ¶
type CredentialsApi3 struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *int64 `json:"id,omitempty"` // Unique Id ClientId *string `json:"client_id,omitempty"` // API key client_id CreatedAt *string `json:"created_at,omitempty"` // Timestamp for the creation of this credential IsDisabled *bool `json:"is_disabled,omitempty"` // Has this credential been disabled? Type *string `json:"type,omitempty"` // Short name for the type of this kind of credential Url *url.URL `json:"url,omitempty"` // Link to get this item }
type CredentialsEmail ¶
type CredentialsEmail struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object CreatedAt *string `json:"created_at,omitempty"` // Timestamp for the creation of this credential Email *string `json:"email,omitempty"` // EMail address used for user login ForcedPasswordResetAtNextLogin *bool `json:"forced_password_reset_at_next_login,omitempty"` // Force the user to change their password upon their next login IsDisabled *bool `json:"is_disabled,omitempty"` // Has this credential been disabled? LoggedInAt *string `json:"logged_in_at,omitempty"` // Timestamp for most recent login using credential PasswordResetUrl *string `json:"password_reset_url,omitempty"` // Url with one-time use secret token that the user can use to reset password Type *string `json:"type,omitempty"` // Short name for the type of this kind of credential Url *url.URL `json:"url,omitempty"` // Link to get this item UserUrl *url.URL `json:"user_url,omitempty"` // Link to get this user }
type CredentialsEmbed ¶
type CredentialsEmbed struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object CreatedAt *string `json:"created_at,omitempty"` // Timestamp for the creation of this credential ExternalGroupId *string `json:"external_group_id,omitempty"` // Embedder's id for a group to which this user was added during the most recent login ExternalUserId *string `json:"external_user_id,omitempty"` // Embedder's unique id for the user Id *int64 `json:"id,omitempty"` // Unique Id IsDisabled *bool `json:"is_disabled,omitempty"` // Has this credential been disabled? LoggedInAt *string `json:"logged_in_at,omitempty"` // Timestamp for most recent login using credential Type *string `json:"type,omitempty"` // Short name for the type of this kind of credential Url *url.URL `json:"url,omitempty"` // Link to get this item }
type CredentialsGoogle ¶
type CredentialsGoogle struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object CreatedAt *string `json:"created_at,omitempty"` // Timestamp for the creation of this credential Domain *string `json:"domain,omitempty"` // Google domain Email *string `json:"email,omitempty"` // EMail address GoogleUserId *string `json:"google_user_id,omitempty"` // Google's Unique ID for this user IsDisabled *bool `json:"is_disabled,omitempty"` // Has this credential been disabled? LoggedInAt *string `json:"logged_in_at,omitempty"` // Timestamp for most recent login using credential Type *string `json:"type,omitempty"` // Short name for the type of this kind of credential Url *url.URL `json:"url,omitempty"` // Link to get this item }
type CredentialsLDAP ¶
type CredentialsLDAP struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object CreatedAt *string `json:"created_at,omitempty"` // Timestamp for the creation of this credential Email *string `json:"email,omitempty"` // EMail address IsDisabled *bool `json:"is_disabled,omitempty"` // Has this credential been disabled? LdapDn *string `json:"ldap_dn,omitempty"` // LDAP Distinguished name for this user (as-of the last login) LdapId *string `json:"ldap_id,omitempty"` // LDAP Unique ID for this user LoggedInAt *string `json:"logged_in_at,omitempty"` // Timestamp for most recent login using credential Type *string `json:"type,omitempty"` // Short name for the type of this kind of credential Url *url.URL `json:"url,omitempty"` // Link to get this item }
type CredentialsLookerOpenid ¶
type CredentialsLookerOpenid struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object CreatedAt *string `json:"created_at,omitempty"` // Timestamp for the creation of this credential Email *string `json:"email,omitempty"` // EMail address used for user login IsDisabled *bool `json:"is_disabled,omitempty"` // Has this credential been disabled? LoggedInAt *string `json:"logged_in_at,omitempty"` // Timestamp for most recent login using credential LoggedInIp *string `json:"logged_in_ip,omitempty"` // IP address of client for most recent login using credential Type *string `json:"type,omitempty"` // Short name for the type of this kind of credential Url *url.URL `json:"url,omitempty"` // Link to get this item UserUrl *url.URL `json:"user_url,omitempty"` // Link to get this user }
type CredentialsOIDC ¶
type CredentialsOIDC struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object CreatedAt *string `json:"created_at,omitempty"` // Timestamp for the creation of this credential Email *string `json:"email,omitempty"` // EMail address IsDisabled *bool `json:"is_disabled,omitempty"` // Has this credential been disabled? LoggedInAt *string `json:"logged_in_at,omitempty"` // Timestamp for most recent login using credential OidcUserId *string `json:"oidc_user_id,omitempty"` // OIDC OP's Unique ID for this user Type *string `json:"type,omitempty"` // Short name for the type of this kind of credential Url *url.URL `json:"url,omitempty"` // Link to get this item }
type CredentialsSaml ¶
type CredentialsSaml struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object CreatedAt *string `json:"created_at,omitempty"` // Timestamp for the creation of this credential Email *string `json:"email,omitempty"` // EMail address IsDisabled *bool `json:"is_disabled,omitempty"` // Has this credential been disabled? LoggedInAt *string `json:"logged_in_at,omitempty"` // Timestamp for most recent login using credential SamlUserId *string `json:"saml_user_id,omitempty"` // Saml IdP's Unique ID for this user Type *string `json:"type,omitempty"` // Short name for the type of this kind of credential Url *url.URL `json:"url,omitempty"` // Link to get this item }
type CredentialsTotp ¶
type CredentialsTotp struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object CreatedAt *string `json:"created_at,omitempty"` // Timestamp for the creation of this credential IsDisabled *bool `json:"is_disabled,omitempty"` // Has this credential been disabled? Type *string `json:"type,omitempty"` // Short name for the type of this kind of credential Verified *bool `json:"verified,omitempty"` // User has verified Url *url.URL `json:"url,omitempty"` // Link to get this item }
type CustomWelcomeEmail ¶
type CustomWelcomeEmail struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Enabled *bool `json:"enabled,omitempty"` // If true, custom email content will replace the default body of welcome emails Content *string `json:"content,omitempty"` // The HTML to use as custom content for welcome emails. Script elements and other potentially dangerous markup will be removed. Subject *string `json:"subject,omitempty"` // The text to appear in the email subject line. Header *string `json:"header,omitempty"` // The text to appear in the header line of the email body. }
type DBConnection ¶
type DBConnection struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Name *string `json:"name,omitempty"` // Name of the connection. Also used as the unique identifier Dialect *Dialect `json:"dialect,omitempty"` Snippets *[]Snippet `json:"snippets,omitempty"` // SQL Runner snippets for this connection PdtsEnabled *bool `json:"pdts_enabled,omitempty"` // True if PDTs are enabled on this connection Host *string `json:"host,omitempty"` // Host name/address of server Port *string `json:"port,omitempty"` // Port number on server Username *string `json:"username,omitempty"` // Username for server authentication Password *string `json:"password,omitempty"` // (Write-Only) Password for server authentication UsesOauth *bool `json:"uses_oauth,omitempty"` // Whether the connection uses OAuth for authentication. Certificate *string `json:"certificate,omitempty"` // (Write-Only) Base64 encoded Certificate body for server authentication (when appropriate for dialect). FileType *string `json:"file_type,omitempty"` // (Write-Only) Certificate keyfile type - .json or .p12 Database *string `json:"database,omitempty"` // Database name DbTimezone *string `json:"db_timezone,omitempty"` // Time zone of database QueryTimezone *string `json:"query_timezone,omitempty"` // Timezone to use in queries Schema *string `json:"schema,omitempty"` // Scheme name MaxConnections *int64 `json:"max_connections,omitempty"` // Maximum number of concurrent connection to use MaxBillingGigabytes *string `json:"max_billing_gigabytes,omitempty"` // Maximum size of query in GBs (BigQuery only, can be a user_attribute name) Ssl *bool `json:"ssl,omitempty"` // Use SSL/TLS when connecting to server VerifySsl *bool `json:"verify_ssl,omitempty"` // Verify the SSL TmpDbName *string `json:"tmp_db_name,omitempty"` // Name of temporary database (if used) JdbcAdditionalParams *string `json:"jdbc_additional_params,omitempty"` // Additional params to add to JDBC connection string PoolTimeout *int64 `json:"pool_timeout,omitempty"` // Connection Pool Timeout, in seconds DialectName *string `json:"dialect_name,omitempty"` // (Read/Write) SQL Dialect name CreatedAt *string `json:"created_at,omitempty"` // Creation date for this connection UserId *string `json:"user_id,omitempty"` // Id of user who last modified this connection configuration Example *bool `json:"example,omitempty"` // Is this an example connection? UserDbCredentials *bool `json:"user_db_credentials,omitempty"` // (Limited access feature) Are per user db credentials enabled. Enabling will remove previously set username and password UserAttributeFields *[]string `json:"user_attribute_fields,omitempty"` // Fields whose values map to user attribute names MaintenanceCron *string `json:"maintenance_cron,omitempty"` // Cron string specifying when maintenance such as PDT trigger checks and drops should be performed LastRegenAt *string `json:"last_regen_at,omitempty"` // Unix timestamp at start of last completed PDT trigger check process LastReapAt *string `json:"last_reap_at,omitempty"` // Unix timestamp at start of last completed PDT reap process SqlRunnerPrecacheTables *bool `json:"sql_runner_precache_tables,omitempty"` // Precache tables in the SQL Runner SqlWritingWithInfoSchema *bool `json:"sql_writing_with_info_schema,omitempty"` // Fetch Information Schema For SQL Writing AfterConnectStatements *string `json:"after_connect_statements,omitempty"` // SQL statements (semicolon separated) to issue after connecting to the database. Requires `custom_after_connect_statements` license feature PdtContextOverride *DBConnectionOverride `json:"pdt_context_override,omitempty"` Managed *bool `json:"managed,omitempty"` // Is this connection created and managed by Looker }
type DBConnectionBase ¶
type DBConnectionBase struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Name *string `json:"name,omitempty"` // Name of the connection. Also used as the unique identifier Dialect *Dialect `json:"dialect,omitempty"` Snippets *[]Snippet `json:"snippets,omitempty"` // SQL Runner snippets for this connection PdtsEnabled *bool `json:"pdts_enabled,omitempty"` // True if PDTs are enabled on this connection }
type DBConnectionOverride ¶
type DBConnectionOverride struct { Context *string `json:"context,omitempty"` // Context in which to override (`pdt` is the only allowed value) Host *string `json:"host,omitempty"` // Host name/address of server Port *string `json:"port,omitempty"` // Port number on server Username *string `json:"username,omitempty"` // Username for server authentication Password *string `json:"password,omitempty"` // (Write-Only) Password for server authentication HasPassword *bool `json:"has_password,omitempty"` // Whether or not the password is overridden in this context Certificate *string `json:"certificate,omitempty"` // (Write-Only) Base64 encoded Certificate body for server authentication (when appropriate for dialect). FileType *string `json:"file_type,omitempty"` // (Write-Only) Certificate keyfile type - .json or .p12 Database *string `json:"database,omitempty"` // Database name Schema *string `json:"schema,omitempty"` // Scheme name JdbcAdditionalParams *string `json:"jdbc_additional_params,omitempty"` // Additional params to add to JDBC connection string AfterConnectStatements *string `json:"after_connect_statements,omitempty"` // SQL statements (semicolon separated) to issue after connecting to the database. Requires `custom_after_connect_statements` license feature }
type DBConnectionTestResult ¶
type DBConnectionTestResult struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object ConnectionString *string `json:"connection_string,omitempty"` // JDBC connection string. (only populated in the 'connect' test) Message *string `json:"message,omitempty"` // Result message of test Name *string `json:"name,omitempty"` // Name of test Status *string `json:"status,omitempty"` // Result code of test }
type Dashboard ¶
type Dashboard struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object ContentFavoriteId *int64 `json:"content_favorite_id,omitempty"` // Content Favorite Id ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Id of content metadata Description *string `json:"description,omitempty"` // Description Hidden *bool `json:"hidden,omitempty"` // Is Hidden Id *string `json:"id,omitempty"` // Unique Id Model *LookModel `json:"model,omitempty"` QueryTimezone *string `json:"query_timezone,omitempty"` // Timezone in which the Dashboard will run by default. Readonly *bool `json:"readonly,omitempty"` // Is Read-only RefreshInterval *string `json:"refresh_interval,omitempty"` // Refresh Interval, as a time duration phrase like "2 hours 30 minutes". A number with no time units will be interpreted as whole seconds. RefreshIntervalToI *int64 `json:"refresh_interval_to_i,omitempty"` // Refresh Interval in milliseconds Folder *FolderBase `json:"folder,omitempty"` Title *string `json:"title,omitempty"` // Dashboard Title UserId *int64 `json:"user_id,omitempty"` // Id of User Space *SpaceBase `json:"space,omitempty"` BackgroundColor *string `json:"background_color,omitempty"` // Background color CreatedAt *time.Time `json:"created_at,omitempty"` // Time that the Dashboard was created. CrossfilterEnabled *bool `json:"crossfilter_enabled,omitempty"` // Enables crossfiltering in dashboards - only available in dashboards-next (beta) DashboardElements *[]DashboardElement `json:"dashboard_elements,omitempty"` // Elements DashboardFilters *[]DashboardFilter `json:"dashboard_filters,omitempty"` // Filters DashboardLayouts *[]DashboardLayout `json:"dashboard_layouts,omitempty"` // Layouts Deleted *bool `json:"deleted,omitempty"` // Whether or not a dashboard is 'soft' deleted. DeletedAt *time.Time `json:"deleted_at,omitempty"` // Time that the Dashboard was 'soft' deleted. DeleterId *int64 `json:"deleter_id,omitempty"` // Id of User that 'soft' deleted the dashboard. EditUri *url.URL `json:"edit_uri,omitempty"` // Relative path of URI of LookML file to edit the dashboard (LookML dashboard only). FavoriteCount *int64 `json:"favorite_count,omitempty"` // Number of times favorited LastAccessedAt *time.Time `json:"last_accessed_at,omitempty"` // Time the dashboard was last accessed LastViewedAt *time.Time `json:"last_viewed_at,omitempty"` // Time last viewed in the Looker web UI LoadConfiguration *string `json:"load_configuration,omitempty"` // configuration option that governs how dashboard loading will happen. LookmlLinkId *string `json:"lookml_link_id,omitempty"` // Links this dashboard to a particular LookML dashboard such that calling a **sync** operation on that LookML dashboard will update this dashboard to match. ShowFiltersBar *bool `json:"show_filters_bar,omitempty"` // Show filters bar. **Security Note:** This property only affects the *cosmetic* appearance of the dashboard, not a user's ability to access data. Hiding the filters bar does **NOT** prevent users from changing filters by other means. For information on how to set up secure data access control policies, see [Control User Access to Data](https://looker.com/docs/r/api/control-access) ShowTitle *bool `json:"show_title,omitempty"` // Show title Slug *string `json:"slug,omitempty"` // Content Metadata Slug SpaceId *string `json:"space_id,omitempty"` // Id of Space FolderId *string `json:"folder_id,omitempty"` // Id of folder TextTileTextColor *string `json:"text_tile_text_color,omitempty"` // Color of text on text tiles TileBackgroundColor *string `json:"tile_background_color,omitempty"` // Tile background color TileTextColor *string `json:"tile_text_color,omitempty"` // Tile text color TitleColor *string `json:"title_color,omitempty"` // Title color ViewCount *int64 `json:"view_count,omitempty"` // Number of times viewed in the Looker web UI Appearance *DashboardAppearance `json:"appearance,omitempty"` PreferredViewer *string `json:"preferred_viewer,omitempty"` // The preferred route for viewing this dashboard (ie: dashboards or dashboards-next) }
type DashboardAppearance ¶
type DashboardAppearance struct { PageSideMargins *int64 `json:"page_side_margins,omitempty"` // Page margin (side) width PageBackgroundColor *string `json:"page_background_color,omitempty"` // Background color for the dashboard TileTitleAlignment *string `json:"tile_title_alignment,omitempty"` // Title alignment on dashboard tiles TileSpaceBetween *int64 `json:"tile_space_between,omitempty"` // Space between tiles TileBackgroundColor *string `json:"tile_background_color,omitempty"` // Background color for tiles TileShadow *bool `json:"tile_shadow,omitempty"` // Tile shadow on/off KeyColor *string `json:"key_color,omitempty"` // Key color }
type DashboardBase ¶
type DashboardBase struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object ContentFavoriteId *int64 `json:"content_favorite_id,omitempty"` // Content Favorite Id ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Id of content metadata Description *string `json:"description,omitempty"` // Description Hidden *bool `json:"hidden,omitempty"` // Is Hidden Id *string `json:"id,omitempty"` // Unique Id Model *LookModel `json:"model,omitempty"` QueryTimezone *string `json:"query_timezone,omitempty"` // Timezone in which the Dashboard will run by default. Readonly *bool `json:"readonly,omitempty"` // Is Read-only RefreshInterval *string `json:"refresh_interval,omitempty"` // Refresh Interval, as a time duration phrase like "2 hours 30 minutes". A number with no time units will be interpreted as whole seconds. RefreshIntervalToI *int64 `json:"refresh_interval_to_i,omitempty"` // Refresh Interval in milliseconds Folder *FolderBase `json:"folder,omitempty"` Title *string `json:"title,omitempty"` // Dashboard Title UserId *int64 `json:"user_id,omitempty"` // Id of User Space *SpaceBase `json:"space,omitempty"` }
type DashboardElement ¶
type DashboardElement struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object BodyText *string `json:"body_text,omitempty"` // Text tile body text BodyTextAsHtml *string `json:"body_text_as_html,omitempty"` // Text tile body text as Html DashboardId *string `json:"dashboard_id,omitempty"` // Id of Dashboard EditUri *url.URL `json:"edit_uri,omitempty"` // Relative path of URI of LookML file to edit the dashboard element (LookML dashboard only). Id *string `json:"id,omitempty"` // Unique Id Look *LookWithQuery `json:"look,omitempty"` LookId *string `json:"look_id,omitempty"` // Id Of Look LookmlLinkId *string `json:"lookml_link_id,omitempty"` // LookML link ID MergeResultId *string `json:"merge_result_id,omitempty"` // ID of merge result NoteDisplay *string `json:"note_display,omitempty"` // Note Display NoteState *string `json:"note_state,omitempty"` // Note State NoteText *string `json:"note_text,omitempty"` // Note Text NoteTextAsHtml *string `json:"note_text_as_html,omitempty"` // Note Text as Html Query *Query `json:"query,omitempty"` QueryId *int64 `json:"query_id,omitempty"` // Id Of Query RefreshInterval *string `json:"refresh_interval,omitempty"` // Refresh Interval RefreshIntervalToI *int64 `json:"refresh_interval_to_i,omitempty"` // Refresh Interval as integer ResultMaker *ResultMakerWithIdVisConfigAndDynamicFields `json:"result_maker,omitempty"` ResultMakerId *int64 `json:"result_maker_id,omitempty"` // ID of the ResultMakerLookup entry. SubtitleText *string `json:"subtitle_text,omitempty"` // Text tile subtitle text Title *string `json:"title,omitempty"` // Title of dashboard element TitleHidden *bool `json:"title_hidden,omitempty"` // Whether title is hidden TitleText *string `json:"title_text,omitempty"` // Text tile title Type *string `json:"type,omitempty"` // Type AlertCount *int64 `json:"alert_count,omitempty"` // Count of Alerts associated to a dashboard element TitleTextAsHtml *string `json:"title_text_as_html,omitempty"` // Text tile title text as Html SubtitleTextAsHtml *string `json:"subtitle_text_as_html,omitempty"` // Text tile subtitle text as Html }
type DashboardFilter ¶
type DashboardFilter struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *string `json:"id,omitempty"` // Unique Id DashboardId *string `json:"dashboard_id,omitempty"` // Id of Dashboard Name *string `json:"name,omitempty"` // Name of filter Title *string `json:"title,omitempty"` // Title of filter Type *string `json:"type,omitempty"` // Type of filter: one of date, number, string, or field DefaultValue *string `json:"default_value,omitempty"` // Default value of filter Model *string `json:"model,omitempty"` // Model of filter (required if type = field) Explore *string `json:"explore,omitempty"` // Explore of filter (required if type = field) Dimension *string `json:"dimension,omitempty"` // Dimension of filter (required if type = field) Field *map[string]interface{} `json:"field,omitempty"` // Field information Row *int64 `json:"row,omitempty"` // Display order of this filter relative to other filters ListensToFilters *[]string `json:"listens_to_filters,omitempty"` // Array of listeners for faceted filters AllowMultipleValues *bool `json:"allow_multiple_values,omitempty"` // Whether the filter allows multiple filter values (deprecated in the latest version of dashboards) Required *bool `json:"required,omitempty"` // Whether the filter requires a value to run the dashboard UiConfig *map[string]interface{} `json:"ui_config,omitempty"` // The visual configuration for this filter. Used to set up how the UI for this filter should appear. }
type DashboardLayout ¶
type DashboardLayout struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *string `json:"id,omitempty"` // Unique Id DashboardId *string `json:"dashboard_id,omitempty"` // Id of Dashboard Type *string `json:"type,omitempty"` // Type Active *bool `json:"active,omitempty"` // Is Active ColumnWidth *int64 `json:"column_width,omitempty"` // Column Width Width *int64 `json:"width,omitempty"` // Width Deleted *bool `json:"deleted,omitempty"` // Whether or not the dashboard layout is deleted. DashboardTitle *string `json:"dashboard_title,omitempty"` // Title extracted from the dashboard this layout represents. DashboardLayoutComponents *[]DashboardLayoutComponent `json:"dashboard_layout_components,omitempty"` // Components }
type DashboardLayoutComponent ¶
type DashboardLayoutComponent struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *string `json:"id,omitempty"` // Unique Id DashboardLayoutId *string `json:"dashboard_layout_id,omitempty"` // Id of Dashboard Layout DashboardElementId *string `json:"dashboard_element_id,omitempty"` // Id Of Dashboard Element Row *int64 `json:"row,omitempty"` // Row Column *int64 `json:"column,omitempty"` // Column Width *int64 `json:"width,omitempty"` // Width Height *int64 `json:"height,omitempty"` // Height Deleted *bool `json:"deleted,omitempty"` // Whether or not the dashboard layout component is deleted ElementTitle *string `json:"element_title,omitempty"` // Dashboard element title, extracted from the Dashboard Element. ElementTitleHidden *bool `json:"element_title_hidden,omitempty"` // Whether or not the dashboard element title is displayed. VisType *string `json:"vis_type,omitempty"` // Visualization type, extracted from a query's vis_config }
type DashboardLookml ¶
type DataActionForm ¶
type DataActionForm struct { State *DataActionUserState `json:"state,omitempty"` Fields *[]DataActionFormField `json:"fields,omitempty"` // Array of form fields. }
type DataActionFormField ¶
type DataActionFormField struct { Name *string `json:"name,omitempty"` // Name Label *string `json:"label,omitempty"` // Human-readable label Description *string `json:"description,omitempty"` // Description of field Type *string `json:"type,omitempty"` // Type of field. Default *string `json:"default,omitempty"` // Default value of the field. OauthUrl *string `json:"oauth_url,omitempty"` // The URL for an oauth link, if type is 'oauth_link'. Interactive *bool `json:"interactive,omitempty"` // Whether or not a field supports interactive forms. Required *bool `json:"required,omitempty"` // Whether or not the field is required. This is a user-interface hint. A user interface displaying this form should not submit it without a value for this field. The action server must also perform this validation. Options *[]DataActionFormSelectOption `json:"options,omitempty"` // If the form type is 'select', a list of options to be selected from. }
type DataActionRequest ¶
type DataActionRequest struct { Action *map[string]interface{} `json:"action,omitempty"` // The JSON describing the data action. This JSON should be considered opaque and should be passed through unmodified from the query result it came from. FormValues *map[string]interface{} `json:"form_values,omitempty"` // User input for any form values the data action might use. }
type DataActionResponse ¶
type DataActionResponse struct { WebhookId *string `json:"webhook_id,omitempty"` // ID of the webhook event that sent this data action. In some error conditions, this may be null. Success *bool `json:"success,omitempty"` // Whether the data action was successful. RefreshQuery *bool `json:"refresh_query,omitempty"` // When true, indicates that the client should refresh (rerun) the source query because the data may have been changed by the action. ValidationErrors *ValidationError `json:"validation_errors,omitempty"` Message *string `json:"message,omitempty"` // Optional message returned by the data action server describing the state of the action that took place. This can be used to implement custom failure messages. If a failure is related to a particular form field, the server should send back a validation error instead. The Looker web UI does not currently display any message if the action indicates 'success', but may do so in the future. }
type DataActionUserState ¶
type Datagroup ¶
type Datagroup struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object CreatedAt *int64 `json:"created_at,omitempty"` // UNIX timestamp at which this entry was created. Id *string `json:"id,omitempty"` // Unique ID of the datagroup ModelName *string `json:"model_name,omitempty"` // Name of the model containing the datagroup. Unique when combined with name. Name *string `json:"name,omitempty"` // Name of the datagroup. Unique when combined with model_name. StaleBefore *int64 `json:"stale_before,omitempty"` // UNIX timestamp before which cache entries are considered stale. Cannot be in the future. TriggerCheckAt *int64 `json:"trigger_check_at,omitempty"` // UNIX timestamp at which this entry trigger was last checked. TriggerError *string `json:"trigger_error,omitempty"` // The message returned with the error of the last trigger check. TriggerValue *string `json:"trigger_value,omitempty"` // The value of the trigger when last checked. TriggeredAt *int64 `json:"triggered_at,omitempty"` // UNIX timestamp at which this entry became triggered. Cannot be in the future. }
type DelegateOauthTest ¶
type DelegateOauthTest struct { Name *string `json:"name,omitempty"` // Delegate Oauth Connection Name InstallationTargetId *string `json:"installation_target_id,omitempty"` // The ID of the installation target. For Slack, this would be workspace id. InstallationId *int64 `json:"installation_id,omitempty"` // Installation ID Success *bool `json:"success,omitempty"` // Whether or not the test was successful }
type DependencyGraph ¶
type DependencyGraph struct {
GraphText *string `json:"graph_text,omitempty"` // The graph structure in the dot language that can be rendered into an image.
}
type DependencyStatus ¶
type DependencyStatus string
const DependencyStatus_InstallNone DependencyStatus = "install_none"
const DependencyStatus_LockError DependencyStatus = "lock_error"
const DependencyStatus_LockOptional DependencyStatus = "lock_optional"
const DependencyStatus_LockRequired DependencyStatus = "lock_required"
type Dialect ¶
type Dialect struct { Name *string `json:"name,omitempty"` // The name of the dialect Label *string `json:"label,omitempty"` // The human-readable label of the connection SupportsCostEstimate *bool `json:"supports_cost_estimate,omitempty"` // Whether the dialect supports query cost estimates PersistentTableIndexes *string `json:"persistent_table_indexes,omitempty"` // PDT index columns PersistentTableSortkeys *string `json:"persistent_table_sortkeys,omitempty"` // PDT sortkey columns PersistentTableDistkey *string `json:"persistent_table_distkey,omitempty"` // PDT distkey column SupportsStreaming *bool `json:"supports_streaming,omitempty"` // Suports streaming results AutomaticallyRunSqlRunnerSnippets *bool `json:"automatically_run_sql_runner_snippets,omitempty"` // Should SQL Runner snippets automatically be run ConnectionTests *[]string `json:"connection_tests,omitempty"` // Array of names of the tests that can be run on a connection using this dialect SupportsInducer *bool `json:"supports_inducer,omitempty"` // Is supported with the inducer (i.e. generate from sql) SupportsMultipleDatabases *bool `json:"supports_multiple_databases,omitempty"` // Can multiple databases be accessed from a connection using this dialect SupportsPersistentDerivedTables *bool `json:"supports_persistent_derived_tables,omitempty"` // Whether the dialect supports allowing Looker to build persistent derived tables HasSslSupport *bool `json:"has_ssl_support,omitempty"` // Does the database have client SSL support settable through the JDBC string explicitly? }
type DialectInfo ¶
type DialectInfo struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object DefaultMaxConnections *string `json:"default_max_connections,omitempty"` // Default number max connections DefaultPort *string `json:"default_port,omitempty"` // Default port number Installed *bool `json:"installed,omitempty"` // Is the supporting driver installed Label *string `json:"label,omitempty"` // The human-readable label of the connection LabelForDatabaseEquivalent *string `json:"label_for_database_equivalent,omitempty"` // What the dialect calls the equivalent of a normal SQL table Name *string `json:"name,omitempty"` // The name of the dialect SupportedOptions *DialectInfoOptions `json:"supported_options,omitempty"` }
type DialectInfoOptions ¶
type DialectInfoOptions struct { AdditionalParams *bool `json:"additional_params,omitempty"` // Has additional params support Auth *bool `json:"auth,omitempty"` // Has auth support Host *bool `json:"host,omitempty"` // Has host support OauthCredentials *bool `json:"oauth_credentials,omitempty"` // Has support for a service account ProjectName *bool `json:"project_name,omitempty"` // Has project name support Schema *bool `json:"schema,omitempty"` // Has schema support Ssl *bool `json:"ssl,omitempty"` // Has SSL support Timezone *bool `json:"timezone,omitempty"` // Has timezone support TmpTable *bool `json:"tmp_table,omitempty"` // Has tmp table support UsernameRequired *bool `json:"username_required,omitempty"` // Username is required Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object }
type DigestEmailSend ¶
type DigestEmailSend struct {
ConfigurationDelivered *bool `json:"configuration_delivered,omitempty"` // True if content was successfully generated and delivered
}
type DigestEmails ¶
type DigestEmails struct {
IsEnabled *bool `json:"is_enabled,omitempty"` // Whether or not digest emails are enabled
}
type DiscretePalette ¶
type EmbedSsoParams ¶
type EmbedSsoParams struct { TargetUrl url.URL `json:"target_url"` // The complete URL of the Looker UI page to display in the embed context. For example, to display the dashboard with id 34, `target_url` would look like: `https://mycompany.looker.com:9999/dashboards/34`. `target_uri` MUST contain a scheme (HTTPS), domain name, and URL path. Port must be included if it is required to reach the Looker server from browser clients. If the Looker instance is behind a load balancer or other proxy, `target_uri` must be the public-facing domain name and port required to reach the Looker instance, not the actual internal network machine name of the Looker instance. SessionLength *int64 `json:"session_length,omitempty"` // Number of seconds the SSO embed session will be valid after the embed session is started. Defaults to 300 seconds. Maximum session length accepted is 2592000 seconds (30 days). ForceLogoutLogin *bool `json:"force_logout_login,omitempty"` // When true, the embed session will purge any residual Looker login state (such as in browser cookies) before creating a new login state with the given embed user info. Defaults to true. ExternalUserId *string `json:"external_user_id,omitempty"` // A value from an external system that uniquely identifies the embed user. Since the user_ids of Looker embed users may change with every embed session, external_user_id provides a way to assign a known, stable user identifier across multiple embed sessions. FirstName *string `json:"first_name,omitempty"` // First name of the embed user. Defaults to 'Embed' if not specified LastName *string `json:"last_name,omitempty"` // Last name of the embed user. Defaults to 'User' if not specified UserTimezone *string `json:"user_timezone,omitempty"` // Sets the user timezone for the embed user session, if the User Specific Timezones setting is enabled in the Looker admin settings. A value of `null` forces the embed user to use the Looker Application Default Timezone. You MUST omit this property from the request if the User Specific Timezones setting is disabled. Timezone values are validated against the IANA Timezone standard and can be seen in the Application Time Zone dropdown list on the Looker General Settings admin page. Permissions *[]string `json:"permissions,omitempty"` // List of Looker permission names to grant to the embed user. Requested permissions will be filtered to permissions allowed for embed sessions. Models *[]string `json:"models,omitempty"` // List of model names that the embed user may access GroupIds *[]int64 `json:"group_ids,omitempty"` // List of Looker group ids in which to enroll the embed user ExternalGroupId *string `json:"external_group_id,omitempty"` // A unique value identifying an embed-exclusive group. Multiple embed users using the same `external_group_id` value will be able to share Looker content with each other. Content and embed users associated with the `external_group_id` will not be accessible to normal Looker users or embed users not associated with this `external_group_id`. UserAttributes *map[string]interface{} `json:"user_attributes,omitempty"` // A dictionary of name-value pairs associating a Looker user attribute name with a value. SecretId *int64 `json:"secret_id,omitempty"` // Id of the embed secret to use to sign this SSO url. If specified, the value must be an id of a valid (active) secret defined in the Looker instance. If not specified, the URL will be signed with the newest active embed secret defined in the Looker instance. }
type EmbedUrlResponse ¶
type EmbedUrlResponse struct {
Url *string `json:"url,omitempty"` // The embed URL. Any modification to this string will make the URL unusable.
}
type FillStyle ¶
type FillStyle string
const FillStyle_Enumeration FillStyle = "enumeration"
const FillStyle_Range FillStyle = "range"
type Folder ¶
type Folder struct { Name string `json:"name"` // Unique Name ParentId *string `json:"parent_id,omitempty"` // Id of Parent. If the parent id is null, this is a root-level entry Id *string `json:"id,omitempty"` // Unique Id ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Id of content metadata CreatedAt *time.Time `json:"created_at,omitempty"` // Time the space was created CreatorId *int64 `json:"creator_id,omitempty"` // User Id of Creator ChildCount *int64 `json:"child_count,omitempty"` // Children Count ExternalId *string `json:"external_id,omitempty"` // Embedder's Id if this folder was autogenerated as an embedding shared folder via 'external_group_id' in an SSO embed login IsEmbed *bool `json:"is_embed,omitempty"` // Folder is an embed folder IsEmbedUsersRoot *bool `json:"is_embed_users_root,omitempty"` // Folder is the root embed users folder IsPersonal *bool `json:"is_personal,omitempty"` // Folder is a user's personal folder IsPersonalDescendant *bool `json:"is_personal_descendant,omitempty"` // Folder is descendant of a user's personal folder IsUsersRoot *bool `json:"is_users_root,omitempty"` // Folder is the root user folder Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Dashboards *[]DashboardBase `json:"dashboards,omitempty"` // Dashboards Looks *[]LookWithDashboards `json:"looks,omitempty"` // Looks }
type FolderBase ¶
type FolderBase struct { Name string `json:"name"` // Unique Name ParentId *string `json:"parent_id,omitempty"` // Id of Parent. If the parent id is null, this is a root-level entry Id *string `json:"id,omitempty"` // Unique Id ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Id of content metadata CreatedAt *time.Time `json:"created_at,omitempty"` // Time the folder was created CreatorId *int64 `json:"creator_id,omitempty"` // User Id of Creator ChildCount *int64 `json:"child_count,omitempty"` // Children Count ExternalId *string `json:"external_id,omitempty"` // Embedder's Id if this folder was autogenerated as an embedding shared folder via 'external_group_id' in an SSO embed login IsEmbed *bool `json:"is_embed,omitempty"` // Folder is an embed folder IsEmbedUsersRoot *bool `json:"is_embed_users_root,omitempty"` // Folder is the root embed users folder IsPersonal *bool `json:"is_personal,omitempty"` // Folder is a user's personal folder IsPersonalDescendant *bool `json:"is_personal_descendant,omitempty"` // Folder is descendant of a user's personal folder IsUsersRoot *bool `json:"is_users_root,omitempty"` // Folder is the root user folder Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object }
type Format ¶
type Format string
const Format_Topojson Format = "topojson"
const Format_VectorTileRegion Format = "vector_tile_region"
type GitApplicationServerHttpScheme ¶
type GitApplicationServerHttpScheme string
const GitApplicationServerHttpScheme_Http GitApplicationServerHttpScheme = "http"
const GitApplicationServerHttpScheme_Https GitApplicationServerHttpScheme = "https"
type GitBranch ¶
type GitBranch struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Name *string `json:"name,omitempty"` // The short name on the local. Updating `name` results in `git checkout <new_name>` Remote *string `json:"remote,omitempty"` // The name of the remote RemoteName *string `json:"remote_name,omitempty"` // The short name on the remote Error *string `json:"error,omitempty"` // Name of error Message *string `json:"message,omitempty"` // Message describing an error if present OwnerName *string `json:"owner_name,omitempty"` // Name of the owner of a personal branch Readonly *bool `json:"readonly,omitempty"` // Whether or not this branch is readonly Personal *bool `json:"personal,omitempty"` // Whether or not this branch is a personal branch - readonly for all developers except the owner IsLocal *bool `json:"is_local,omitempty"` // Whether or not a local ref exists for the branch IsRemote *bool `json:"is_remote,omitempty"` // Whether or not a remote ref exists for the branch IsProduction *bool `json:"is_production,omitempty"` // Whether or not this is the production branch AheadCount *int64 `json:"ahead_count,omitempty"` // Number of commits the local branch is ahead of the remote BehindCount *int64 `json:"behind_count,omitempty"` // Number of commits the local branch is behind the remote CommitAt *int64 `json:"commit_at,omitempty"` // UNIX timestamp at which this branch was last committed. Ref *string `json:"ref,omitempty"` // The resolved ref of this branch. Updating `ref` results in `git reset --hard <new_ref>“. RemoteRef *string `json:"remote_ref,omitempty"` // The resolved ref of this branch remote. }
type GitConnectionTest ¶
type GitConnectionTest struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Description *string `json:"description,omitempty"` // Human readable string describing the test Id *string `json:"id,omitempty"` // A short string, uniquely naming this test }
type GitConnectionTestResult ¶
type GitConnectionTestResult struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *string `json:"id,omitempty"` // A short string, uniquely naming this test Message *string `json:"message,omitempty"` // Additional data from the test Status *string `json:"status,omitempty"` // Either 'pass' or 'fail' }
type GitStatus ¶
type GitStatus struct { Action *string `json:"action,omitempty"` // Git action: add, delete, etc Conflict *bool `json:"conflict,omitempty"` // When true, changes to the local file conflict with the remote repository Revertable *bool `json:"revertable,omitempty"` // When true, the file can be reverted to an earlier state Text *string `json:"text,omitempty"` // Git description of the action Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object }
type Group ¶
type Group struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object CanAddToContentMetadata *bool `json:"can_add_to_content_metadata,omitempty"` // Group can be used in content access controls ContainsCurrentUser *bool `json:"contains_current_user,omitempty"` // Currently logged in user is group member ExternalGroupId *string `json:"external_group_id,omitempty"` // External Id group if embed group ExternallyManaged *bool `json:"externally_managed,omitempty"` // Group membership controlled outside of Looker Id *int64 `json:"id,omitempty"` // Unique Id IncludeByDefault *bool `json:"include_by_default,omitempty"` // New users are added to this group by default Name *string `json:"name,omitempty"` // Name of group UserCount *int64 `json:"user_count,omitempty"` // Number of users included in this group }
type GroupIdForGroupInclusion ¶
type GroupIdForGroupInclusion struct {
GroupId *int64 `json:"group_id,omitempty"` // Id of group
}
type GroupIdForGroupUserInclusion ¶
type GroupIdForGroupUserInclusion struct {
UserId *int64 `json:"user_id,omitempty"` // Id of user
}
type Homepage ¶
type Homepage struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Id of associated content_metadata record CreatedAt *time.Time `json:"created_at,omitempty"` // Date of homepage creation DeletedAt *time.Time `json:"deleted_at,omitempty"` // Date of homepage deletion Description *string `json:"description,omitempty"` // Description of the homepage HomepageSections *[]HomepageSection `json:"homepage_sections,omitempty"` // Sections of the homepage Id *string `json:"id,omitempty"` // Unique Id SectionOrder *[]int64 `json:"section_order,omitempty"` // ids of the homepage sections in the order they should be displayed Title *string `json:"title,omitempty"` // Title of the homepage UpdatedAt *time.Time `json:"updated_at,omitempty"` // Date of last homepage update UserId *int64 `json:"user_id,omitempty"` // User id of homepage creator PrimaryHomepage *bool `json:"primary_homepage,omitempty"` // Whether the homepage is the primary homepage or not }
type HomepageItem ¶
type HomepageItem struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object ContentCreatedBy *string `json:"content_created_by,omitempty"` // Name of user who created the content this item is based on ContentFavoriteId *int64 `json:"content_favorite_id,omitempty"` // Content favorite id associated with the item this content is based on ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Content metadata id associated with the item this content is based on ContentUpdatedAt *string `json:"content_updated_at,omitempty"` // Last time the content that this item is based on was updated CustomDescription *string `json:"custom_description,omitempty"` // Custom description entered by the user, if present CustomImageDataBase64 *string `json:"custom_image_data_base64,omitempty"` // (Write-Only) base64 encoded image data CustomImageUrl *string `json:"custom_image_url,omitempty"` // Custom image_url entered by the user, if present CustomTitle *string `json:"custom_title,omitempty"` // Custom title entered by the user, if present CustomUrl *string `json:"custom_url,omitempty"` // Custom url entered by the user, if present DashboardId *int64 `json:"dashboard_id,omitempty"` // Dashboard to base this item on Description *string `json:"description,omitempty"` // The actual description for display FavoriteCount *int64 `json:"favorite_count,omitempty"` // Number of times content has been favorited, if present HomepageSectionId *string `json:"homepage_section_id,omitempty"` // Associated Homepage Section Id *string `json:"id,omitempty"` // Unique Id ImageUrl *string `json:"image_url,omitempty"` // The actual image_url for display Location *string `json:"location,omitempty"` // The container folder name of the content LookId *int64 `json:"look_id,omitempty"` // Look to base this item on LookmlDashboardId *string `json:"lookml_dashboard_id,omitempty"` // LookML Dashboard to base this item on Order *int64 `json:"order,omitempty"` // An arbitrary integer representing the sort order within the section SectionFetchTime *float32 `json:"section_fetch_time,omitempty"` // Number of seconds it took to fetch the section this item is in Title *string `json:"title,omitempty"` // The actual title for display Url *string `json:"url,omitempty"` // The actual url for display UseCustomDescription *bool `json:"use_custom_description,omitempty"` // Whether the custom description should be used instead of the content description, if the item is associated with content UseCustomImage *bool `json:"use_custom_image,omitempty"` // Whether the custom image should be used instead of the content image, if the item is associated with content UseCustomTitle *bool `json:"use_custom_title,omitempty"` // Whether the custom title should be used instead of the content title, if the item is associated with content UseCustomUrl *bool `json:"use_custom_url,omitempty"` // Whether the custom url should be used instead of the content url, if the item is associated with content ViewCount *int64 `json:"view_count,omitempty"` // Number of times content has been viewed, if present }
type HomepageSection ¶
type HomepageSection struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object CreatedAt *time.Time `json:"created_at,omitempty"` // Time at which this section was created. DeletedAt *time.Time `json:"deleted_at,omitempty"` // Time at which this section was deleted. DetailUrl *string `json:"detail_url,omitempty"` // A URL pointing to a page showing further information about the content in the section. HomepageId *int64 `json:"homepage_id,omitempty"` // Id reference to parent homepage HomepageItems *[]HomepageItem `json:"homepage_items,omitempty"` // Items in the homepage section Id *string `json:"id,omitempty"` // Unique Id IsHeader *bool `json:"is_header,omitempty"` // Is this a header section (has no items) ItemOrder *[]int64 `json:"item_order,omitempty"` // ids of the homepage items in the order they should be displayed Title *string `json:"title,omitempty"` // Name of row UpdatedAt *time.Time `json:"updated_at,omitempty"` // Time at which this section was last updated. Description *string `json:"description,omitempty"` // Description of the content found in this section. VisibleItemOrder *[]int64 `json:"visible_item_order,omitempty"` // ids of the homepage items the user can see in the order they should be displayed }
type ImportedProject ¶
type ImportedProject struct { Name *string `json:"name,omitempty"` // Dependency name Url *string `json:"url,omitempty"` // Url for a remote dependency Ref *string `json:"ref,omitempty"` // Ref for a remote dependency IsRemote *bool `json:"is_remote,omitempty"` // Flag signifying if a dependency is remote or local Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object }
type Integration ¶
type Integration struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *string `json:"id,omitempty"` // ID of the integration. IntegrationHubId *int64 `json:"integration_hub_id,omitempty"` // ID of the integration hub. Label *string `json:"label,omitempty"` // Label for the integration. Description *string `json:"description,omitempty"` // Description of the integration. Enabled *bool `json:"enabled,omitempty"` // Whether the integration is available to users. Params *[]IntegrationParam `json:"params,omitempty"` // Array of params for the integration. SupportedFormats *[]SupportedFormats `json:"supported_formats,omitempty"` // A list of data formats the integration supports. If unspecified, the default is all data formats. Valid values are: "txt", "csv", "inline_json", "json", "json_label", "json_detail", "json_detail_lite_stream", "xlsx", "html", "wysiwyg_pdf", "assembled_pdf", "wysiwyg_png", "csv_zip". SupportedActionTypes *[]SupportedActionTypes `json:"supported_action_types,omitempty"` // A list of action types the integration supports. Valid values are: "cell", "query", "dashboard". SupportedFormattings *[]SupportedFormattings `json:"supported_formattings,omitempty"` // A list of formatting options the integration supports. If unspecified, defaults to all formats. Valid values are: "formatted", "unformatted". SupportedVisualizationFormattings *[]SupportedVisualizationFormattings `json:"supported_visualization_formattings,omitempty"` // A list of visualization formatting options the integration supports. If unspecified, defaults to all formats. Valid values are: "apply", "noapply". SupportedDownloadSettings *[]SupportedDownloadSettings `json:"supported_download_settings,omitempty"` // A list of all the download mechanisms the integration supports. The order of values is not significant: Looker will select the most appropriate supported download mechanism for a given query. The integration must ensure it can handle any of the mechanisms it claims to support. If unspecified, this defaults to all download setting values. Valid values are: "push", "url". IconUrl *string `json:"icon_url,omitempty"` // URL to an icon for the integration. UsesOauth *bool `json:"uses_oauth,omitempty"` // Whether the integration uses oauth. RequiredFields *[]IntegrationRequiredField `json:"required_fields,omitempty"` // A list of descriptions of required fields that this integration is compatible with. If there are multiple entries in this list, the integration requires more than one field. If unspecified, no fields will be required. DelegateOauth *bool `json:"delegate_oauth,omitempty"` // Whether the integration uses delegate oauth, which allows federation between an integration installation scope specific entity (like org, group, and team, etc.) and Looker. InstalledDelegateOauthTargets *[]int64 `json:"installed_delegate_oauth_targets,omitempty"` // Whether the integration is available to users. }
type IntegrationHub ¶
type IntegrationHub struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *int64 `json:"id,omitempty"` // ID of the hub. Url *string `json:"url,omitempty"` // URL of the hub. Label *string `json:"label,omitempty"` // Label of the hub. Official *bool `json:"official,omitempty"` // Whether this hub is a first-party integration hub operated by Looker. FetchErrorMessage *string `json:"fetch_error_message,omitempty"` // An error message, present if the integration hub metadata could not be fetched. If this is present, the integration hub is unusable. AuthorizationToken *string `json:"authorization_token,omitempty"` // (Write-Only) An authorization key that will be sent to the integration hub on every request. HasAuthorizationToken *bool `json:"has_authorization_token,omitempty"` // Whether the authorization_token is set for the hub. LegalAgreementSigned *bool `json:"legal_agreement_signed,omitempty"` // Whether the legal agreement message has been signed by the user. This only matters if legal_agreement_required is true. LegalAgreementRequired *bool `json:"legal_agreement_required,omitempty"` // Whether the legal terms for the integration hub are required before use. LegalAgreementText *string `json:"legal_agreement_text,omitempty"` // The legal agreement text for this integration hub. }
type IntegrationParam ¶
type IntegrationParam struct { Name *string `json:"name,omitempty"` // Name of the parameter. Label *string `json:"label,omitempty"` // Label of the parameter. Description *string `json:"description,omitempty"` // Short description of the parameter. Required *bool `json:"required,omitempty"` // Whether the parameter is required to be set to use the destination. If unspecified, this defaults to false. HasValue *bool `json:"has_value,omitempty"` // Whether the parameter has a value set. Value *string `json:"value,omitempty"` // The current value of the parameter. Always null if the value is sensitive. When writing, null values will be ignored. Set the value to an empty string to clear it. UserAttributeName *string `json:"user_attribute_name,omitempty"` // When present, the param's value comes from this user attribute instead of the 'value' parameter. Set to null to use the 'value'. Sensitive *bool `json:"sensitive,omitempty"` // Whether the parameter contains sensitive data like API credentials. If unspecified, this defaults to true. PerUser *bool `json:"per_user,omitempty"` // When true, this parameter must be assigned to a user attribute in the admin panel (instead of a constant value), and that value may be updated by the user as part of the integration flow. DelegateOauthUrl *string `json:"delegate_oauth_url,omitempty"` // When present, the param represents the oauth url the user will be taken to. }
type IntegrationRequiredField ¶
type IntegrationRequiredField struct { Tag *string `json:"tag,omitempty"` // Matches a field that has this tag. AnyTag *[]string `json:"any_tag,omitempty"` // If present, supercedes 'tag' and matches a field that has any of the provided tags. AllTags *[]string `json:"all_tags,omitempty"` // If present, supercedes 'tag' and matches a field that has all of the provided tags. }
type IntegrationTestResult ¶
type IntegrationTestResult struct { Success *bool `json:"success,omitempty"` // Whether or not the test was successful Message *string `json:"message,omitempty"` // A message representing the results of the test. DelegateOauthResult *[]DelegateOauthTest `json:"delegate_oauth_result,omitempty"` // An array of connection test result for delegate oauth actions. }
type InternalHelpResources ¶
type InternalHelpResources struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Enabled *bool `json:"enabled,omitempty"` // If true and internal help resources content is not blank then the link for internal help resources will be shown in the help menu and the content displayed within Looker }
type InternalHelpResourcesContent ¶
type InternalHelpResourcesContent struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object OrganizationName *string `json:"organization_name,omitempty"` // Text to display in the help menu item which will display the internal help resources MarkdownContent *string `json:"markdown_content,omitempty"` // Content to be displayed in the internal help resources page/modal }
type LDAPConfig ¶
type LDAPConfig struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object AlternateEmailLoginAllowed *bool `json:"alternate_email_login_allowed,omitempty"` // Allow alternate email-based login via '/login/email' for admins and for specified users with the 'login_special_email' permission. This option is useful as a fallback during ldap setup, if ldap config problems occur later, or if you need to support some users who are not in your ldap directory. Looker email/password logins are always disabled for regular users when ldap is enabled. AuthPassword *string `json:"auth_password,omitempty"` // (Write-Only) Password for the LDAP account used to access the LDAP server AuthRequiresRole *bool `json:"auth_requires_role,omitempty"` // Users will not be allowed to login at all unless a role for them is found in LDAP if set to true AuthUsername *string `json:"auth_username,omitempty"` // Distinguished name of LDAP account used to access the LDAP server ConnectionHost *string `json:"connection_host,omitempty"` // LDAP server hostname ConnectionPort *string `json:"connection_port,omitempty"` // LDAP host port ConnectionTls *bool `json:"connection_tls,omitempty"` // Use Transport Layer Security ConnectionTlsNoVerify *bool `json:"connection_tls_no_verify,omitempty"` // Do not verify peer when using TLS DefaultNewUserGroupIds *[]int64 `json:"default_new_user_group_ids,omitempty"` // (Write-Only) Array of ids of groups that will be applied to new users the first time they login via LDAP DefaultNewUserGroups *[]Group `json:"default_new_user_groups,omitempty"` // (Read-only) Groups that will be applied to new users the first time they login via LDAP DefaultNewUserRoleIds *[]int64 `json:"default_new_user_role_ids,omitempty"` // (Write-Only) Array of ids of roles that will be applied to new users the first time they login via LDAP DefaultNewUserRoles *[]Role `json:"default_new_user_roles,omitempty"` // (Read-only) Roles that will be applied to new users the first time they login via LDAP Enabled *bool `json:"enabled,omitempty"` // Enable/Disable LDAP authentication for the server ForceNoPage *bool `json:"force_no_page,omitempty"` // Don't attempt to do LDAP search result paging (RFC 2696) even if the LDAP server claims to support it. Groups *[]LDAPGroupRead `json:"groups,omitempty"` // (Read-only) Array of mappings between LDAP Groups and Looker Roles GroupsBaseDn *string `json:"groups_base_dn,omitempty"` // Base dn for finding groups in LDAP searches GroupsFinderType *string `json:"groups_finder_type,omitempty"` // Identifier for a strategy for how Looker will search for groups in the LDAP server GroupsMemberAttribute *string `json:"groups_member_attribute,omitempty"` // LDAP Group attribute that signifies the members of the groups. Most commonly 'member' GroupsObjectclasses *string `json:"groups_objectclasses,omitempty"` // Optional comma-separated list of supported LDAP objectclass for groups when doing groups searches GroupsUserAttribute *string `json:"groups_user_attribute,omitempty"` // LDAP Group attribute that signifies the user in a group. Most commonly 'dn' GroupsWithRoleIds *[]LDAPGroupWrite `json:"groups_with_role_ids,omitempty"` // (Read/Write) Array of mappings between LDAP Groups and arrays of Looker Role ids HasAuthPassword *bool `json:"has_auth_password,omitempty"` // (Read-only) Has the password been set for the LDAP account used to access the LDAP server MergeNewUsersByEmail *bool `json:"merge_new_users_by_email,omitempty"` // Merge first-time ldap login to existing user account by email addresses. When a user logs in for the first time via ldap this option will connect this user into their existing account by finding the account with a matching email address. Otherwise a new user account will be created for the user. ModifiedAt *string `json:"modified_at,omitempty"` // When this config was last modified ModifiedBy *string `json:"modified_by,omitempty"` // User id of user who last modified this config SetRolesFromGroups *bool `json:"set_roles_from_groups,omitempty"` // Set user roles in Looker based on groups from LDAP TestLdapPassword *string `json:"test_ldap_password,omitempty"` // (Write-Only) Test LDAP user password. For ldap tests only. TestLdapUser *string `json:"test_ldap_user,omitempty"` // (Write-Only) Test LDAP user login id. For ldap tests only. UserAttributeMapEmail *string `json:"user_attribute_map_email,omitempty"` // Name of user record attributes used to indicate email address field UserAttributeMapFirstName *string `json:"user_attribute_map_first_name,omitempty"` // Name of user record attributes used to indicate first name UserAttributeMapLastName *string `json:"user_attribute_map_last_name,omitempty"` // Name of user record attributes used to indicate last name UserAttributeMapLdapId *string `json:"user_attribute_map_ldap_id,omitempty"` // Name of user record attributes used to indicate unique record id UserAttributes *[]LDAPUserAttributeRead `json:"user_attributes,omitempty"` // (Read-only) Array of mappings between LDAP User Attributes and Looker User Attributes UserAttributesWithIds *[]LDAPUserAttributeWrite `json:"user_attributes_with_ids,omitempty"` // (Read/Write) Array of mappings between LDAP User Attributes and arrays of Looker User Attribute ids UserBindBaseDn *string `json:"user_bind_base_dn,omitempty"` // Distinguished name of LDAP node used as the base for user searches UserCustomFilter *string `json:"user_custom_filter,omitempty"` // (Optional) Custom RFC-2254 filter clause for use in finding user during login. Combined via 'and' with the other generated filter clauses. UserIdAttributeNames *string `json:"user_id_attribute_names,omitempty"` // Name(s) of user record attributes used for matching user login id (comma separated list) UserObjectclass *string `json:"user_objectclass,omitempty"` // (Optional) Name of user record objectclass used for finding user during login id AllowNormalGroupMembership *bool `json:"allow_normal_group_membership,omitempty"` // Allow LDAP auth'd users to be members of non-reflected Looker groups. If 'false', user will be removed from non-reflected groups on login. AllowRolesFromNormalGroups *bool `json:"allow_roles_from_normal_groups,omitempty"` // LDAP auth'd users will be able to inherit roles from non-reflected Looker groups. AllowDirectRoles *bool `json:"allow_direct_roles,omitempty"` // Allows roles to be directly assigned to LDAP auth'd users. Url *url.URL `json:"url,omitempty"` // Link to get this item }
type LDAPConfigTestIssue ¶
type LDAPConfigTestIssue struct { Severity *string `json:"severity,omitempty"` // Severity of the issue. Error or Warning Message *string `json:"message,omitempty"` // Message describing the issue Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object }
type LDAPConfigTestResult ¶
type LDAPConfigTestResult struct { Details *string `json:"details,omitempty"` // Additional details for error cases Issues *[]LDAPConfigTestIssue `json:"issues,omitempty"` // Array of issues/considerations about the result Message *string `json:"message,omitempty"` // Short human readable test about the result Status *string `json:"status,omitempty"` // Test status code: always 'success' or 'error' Trace *string `json:"trace,omitempty"` // A more detailed trace of incremental results during auth tests User *LDAPUser `json:"user,omitempty"` Url *url.URL `json:"url,omitempty"` // Link to ldap config }
type LDAPGroupRead ¶
type LDAPGroupRead struct { Id *int64 `json:"id,omitempty"` // Unique Id LookerGroupId *int64 `json:"looker_group_id,omitempty"` // Unique Id of group in Looker LookerGroupName *string `json:"looker_group_name,omitempty"` // Name of group in Looker Name *string `json:"name,omitempty"` // Name of group in LDAP Roles *[]Role `json:"roles,omitempty"` // Looker Roles Url *url.URL `json:"url,omitempty"` // Link to ldap config }
type LDAPGroupWrite ¶
type LDAPGroupWrite struct { Id *int64 `json:"id,omitempty"` // Unique Id LookerGroupId *int64 `json:"looker_group_id,omitempty"` // Unique Id of group in Looker LookerGroupName *string `json:"looker_group_name,omitempty"` // Name of group in Looker Name *string `json:"name,omitempty"` // Name of group in LDAP RoleIds *[]int64 `json:"role_ids,omitempty"` // Looker Role Ids Url *url.URL `json:"url,omitempty"` // Link to ldap config }
type LDAPUser ¶
type LDAPUser struct { AllEmails *[]string `json:"all_emails,omitempty"` // Array of user's email addresses and aliases for use in migration Attributes *map[string]interface{} `json:"attributes,omitempty"` // Dictionary of user's attributes (name/value) Email *string `json:"email,omitempty"` // Primary email address FirstName *string `json:"first_name,omitempty"` // First name Groups *[]string `json:"groups,omitempty"` // Array of user's groups (group names only) LastName *string `json:"last_name,omitempty"` // Last Name LdapDn *string `json:"ldap_dn,omitempty"` // LDAP's distinguished name for the user record LdapId *string `json:"ldap_id,omitempty"` // LDAP's Unique ID for the user Roles *[]string `json:"roles,omitempty"` // Array of user's roles (role names only) Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Url *url.URL `json:"url,omitempty"` // Link to ldap config }
type LDAPUserAttributeRead ¶
type LDAPUserAttributeRead struct { Name *string `json:"name,omitempty"` // Name of User Attribute in LDAP Required *bool `json:"required,omitempty"` // Required to be in LDAP assertion for login to be allowed to succeed UserAttributes *[]UserAttribute `json:"user_attributes,omitempty"` // Looker User Attributes Url *url.URL `json:"url,omitempty"` // Link to ldap config }
type LDAPUserAttributeWrite ¶
type LDAPUserAttributeWrite struct { Name *string `json:"name,omitempty"` // Name of User Attribute in LDAP Required *bool `json:"required,omitempty"` // Required to be in LDAP assertion for login to be allowed to succeed UserAttributeIds *[]int64 `json:"user_attribute_ids,omitempty"` // Looker User Attribute Ids Url *url.URL `json:"url,omitempty"` // Link to ldap config }
type LegacyFeature ¶
type LegacyFeature struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *string `json:"id,omitempty"` // Unique Id Name *string `json:"name,omitempty"` // Name Description *string `json:"description,omitempty"` // Description EnabledLocally *bool `json:"enabled_locally,omitempty"` // Whether this feature has been enabled by a user Enabled *bool `json:"enabled,omitempty"` // Whether this feature is currently enabled DisallowedAsOfVersion *string `json:"disallowed_as_of_version,omitempty"` // Looker version where this feature became a legacy feature DisableOnUpgradeToVersion *string `json:"disable_on_upgrade_to_version,omitempty"` // Looker version where this feature will be automatically disabled EndOfLifeVersion *string `json:"end_of_life_version,omitempty"` // Future Looker version where this feature will be removed DocumentationUrl *string `json:"documentation_url,omitempty"` // URL for documentation about this feature ApproximateDisableDate *time.Time `json:"approximate_disable_date,omitempty"` // Approximate date that this feature will be automatically disabled. ApproximateEndOfLifeDate *time.Time `json:"approximate_end_of_life_date,omitempty"` // Approximate date that this feature will be removed. HasDisabledOnUpgrade *bool `json:"has_disabled_on_upgrade,omitempty"` // Whether this legacy feature may have been automatically disabled when upgrading to the current version. }
type LocalizationSettings ¶
type LocalizationSettings struct { DefaultLocale *string `json:"default_locale,omitempty"` // Default locale for localization LocalizationLevel *string `json:"localization_level,omitempty"` // Localization level - strict or permissive Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object }
type Look ¶
type Look struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Id of content metadata Id *int64 `json:"id,omitempty"` // Unique Id Title *string `json:"title,omitempty"` // Look Title ContentFavoriteId *int64 `json:"content_favorite_id,omitempty"` // Content Favorite Id CreatedAt *time.Time `json:"created_at,omitempty"` // Time that the Look was created. Deleted *bool `json:"deleted,omitempty"` // Whether or not a look is 'soft' deleted. DeletedAt *time.Time `json:"deleted_at,omitempty"` // Time that the Look was deleted. DeleterId *int64 `json:"deleter_id,omitempty"` // Id of User that deleted the look. Description *string `json:"description,omitempty"` // Description EmbedUrl *string `json:"embed_url,omitempty"` // Embed Url ExcelFileUrl *string `json:"excel_file_url,omitempty"` // Excel File Url FavoriteCount *int64 `json:"favorite_count,omitempty"` // Number of times favorited GoogleSpreadsheetFormula *string `json:"google_spreadsheet_formula,omitempty"` // Google Spreadsheet Formula ImageEmbedUrl *string `json:"image_embed_url,omitempty"` // Image Embed Url IsRunOnLoad *bool `json:"is_run_on_load,omitempty"` // auto-run query when Look viewed LastAccessedAt *time.Time `json:"last_accessed_at,omitempty"` // Time that the Look was last accessed by any user LastUpdaterId *int64 `json:"last_updater_id,omitempty"` // Id of User that last updated the look. LastViewedAt *time.Time `json:"last_viewed_at,omitempty"` // Time last viewed in the Looker web UI Model *LookModel `json:"model,omitempty"` Public *bool `json:"public,omitempty"` // Is Public PublicSlug *string `json:"public_slug,omitempty"` // Public Slug PublicUrl *string `json:"public_url,omitempty"` // Public Url QueryId *int64 `json:"query_id,omitempty"` // Query Id ShortUrl *string `json:"short_url,omitempty"` // Short Url Folder *FolderBase `json:"folder,omitempty"` FolderId *string `json:"folder_id,omitempty"` // Folder Id UpdatedAt *time.Time `json:"updated_at,omitempty"` // Time that the Look was updated. UserId *int64 `json:"user_id,omitempty"` // User Id ViewCount *int64 `json:"view_count,omitempty"` // Number of times viewed in the Looker web UI User *UserIdOnly `json:"user,omitempty"` SpaceId *string `json:"space_id,omitempty"` // Space Id Space *SpaceBase `json:"space,omitempty"` }
type LookBasic ¶
type LookBasic struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Id of content metadata Id *int64 `json:"id,omitempty"` // Unique Id Title *string `json:"title,omitempty"` // Look Title }
type LookWithDashboards ¶
type LookWithDashboards struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Id of content metadata Id *int64 `json:"id,omitempty"` // Unique Id Title *string `json:"title,omitempty"` // Look Title ContentFavoriteId *int64 `json:"content_favorite_id,omitempty"` // Content Favorite Id CreatedAt *time.Time `json:"created_at,omitempty"` // Time that the Look was created. Deleted *bool `json:"deleted,omitempty"` // Whether or not a look is 'soft' deleted. DeletedAt *time.Time `json:"deleted_at,omitempty"` // Time that the Look was deleted. DeleterId *int64 `json:"deleter_id,omitempty"` // Id of User that deleted the look. Description *string `json:"description,omitempty"` // Description EmbedUrl *string `json:"embed_url,omitempty"` // Embed Url ExcelFileUrl *string `json:"excel_file_url,omitempty"` // Excel File Url FavoriteCount *int64 `json:"favorite_count,omitempty"` // Number of times favorited GoogleSpreadsheetFormula *string `json:"google_spreadsheet_formula,omitempty"` // Google Spreadsheet Formula ImageEmbedUrl *string `json:"image_embed_url,omitempty"` // Image Embed Url IsRunOnLoad *bool `json:"is_run_on_load,omitempty"` // auto-run query when Look viewed LastAccessedAt *time.Time `json:"last_accessed_at,omitempty"` // Time that the Look was last accessed by any user LastUpdaterId *int64 `json:"last_updater_id,omitempty"` // Id of User that last updated the look. LastViewedAt *time.Time `json:"last_viewed_at,omitempty"` // Time last viewed in the Looker web UI Model *LookModel `json:"model,omitempty"` Public *bool `json:"public,omitempty"` // Is Public PublicSlug *string `json:"public_slug,omitempty"` // Public Slug PublicUrl *string `json:"public_url,omitempty"` // Public Url QueryId *int64 `json:"query_id,omitempty"` // Query Id ShortUrl *string `json:"short_url,omitempty"` // Short Url Folder *FolderBase `json:"folder,omitempty"` FolderId *string `json:"folder_id,omitempty"` // Folder Id UpdatedAt *time.Time `json:"updated_at,omitempty"` // Time that the Look was updated. UserId *int64 `json:"user_id,omitempty"` // User Id ViewCount *int64 `json:"view_count,omitempty"` // Number of times viewed in the Looker web UI User *UserIdOnly `json:"user,omitempty"` SpaceId *string `json:"space_id,omitempty"` // Space Id Space *SpaceBase `json:"space,omitempty"` Dashboards *[]DashboardBase `json:"dashboards,omitempty"` // Dashboards }
type LookWithQuery ¶
type LookWithQuery struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Id of content metadata Id *int64 `json:"id,omitempty"` // Unique Id Title *string `json:"title,omitempty"` // Look Title ContentFavoriteId *int64 `json:"content_favorite_id,omitempty"` // Content Favorite Id CreatedAt *time.Time `json:"created_at,omitempty"` // Time that the Look was created. Deleted *bool `json:"deleted,omitempty"` // Whether or not a look is 'soft' deleted. DeletedAt *time.Time `json:"deleted_at,omitempty"` // Time that the Look was deleted. DeleterId *int64 `json:"deleter_id,omitempty"` // Id of User that deleted the look. Description *string `json:"description,omitempty"` // Description EmbedUrl *string `json:"embed_url,omitempty"` // Embed Url ExcelFileUrl *string `json:"excel_file_url,omitempty"` // Excel File Url FavoriteCount *int64 `json:"favorite_count,omitempty"` // Number of times favorited GoogleSpreadsheetFormula *string `json:"google_spreadsheet_formula,omitempty"` // Google Spreadsheet Formula ImageEmbedUrl *string `json:"image_embed_url,omitempty"` // Image Embed Url IsRunOnLoad *bool `json:"is_run_on_load,omitempty"` // auto-run query when Look viewed LastAccessedAt *time.Time `json:"last_accessed_at,omitempty"` // Time that the Look was last accessed by any user LastUpdaterId *int64 `json:"last_updater_id,omitempty"` // Id of User that last updated the look. LastViewedAt *time.Time `json:"last_viewed_at,omitempty"` // Time last viewed in the Looker web UI Model *LookModel `json:"model,omitempty"` Public *bool `json:"public,omitempty"` // Is Public PublicSlug *string `json:"public_slug,omitempty"` // Public Slug PublicUrl *string `json:"public_url,omitempty"` // Public Url QueryId *int64 `json:"query_id,omitempty"` // Query Id ShortUrl *string `json:"short_url,omitempty"` // Short Url Folder *FolderBase `json:"folder,omitempty"` FolderId *string `json:"folder_id,omitempty"` // Folder Id UpdatedAt *time.Time `json:"updated_at,omitempty"` // Time that the Look was updated. UserId *int64 `json:"user_id,omitempty"` // User Id ViewCount *int64 `json:"view_count,omitempty"` // Number of times viewed in the Looker web UI User *UserIdOnly `json:"user,omitempty"` SpaceId *string `json:"space_id,omitempty"` // Space Id Space *SpaceBase `json:"space,omitempty"` Query *Query `json:"query,omitempty"` Url *string `json:"url,omitempty"` // Url }
type LookerSDK ¶
type LookerSDK struct {
// contains filtered or unexported fields
}
func NewLookerSDK ¶
func NewLookerSDK(session *rtl.AuthSession) *LookerSDK
func (*LookerSDK) AcceptIntegrationHubLegalAgreement ¶
func (l *LookerSDK) AcceptIntegrationHubLegalAgreement( integrationHubId int64, options *rtl.ApiSettings) (IntegrationHub, error)
Accepts the legal agreement for a given integration hub. This only works for integration hubs that have legal_agreement_required set to true and legal_agreement_signed set to false.
POST /integration_hubs/{integration_hub_id}/accept_legal_agreement -> IntegrationHub
func (*LookerSDK) ActiveThemes ¶
func (l *LookerSDK) ActiveThemes(request RequestActiveThemes, options *rtl.ApiSettings) ([]Theme, error)
### Get active themes
Returns an array of active themes.
If the `name` parameter is specified, it will return an array with one theme if it's active and found.
The optional `ts` parameter can specify a different timestamp than "now."
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
GET /themes/active -> []Theme
func (*LookerSDK) AddGroupGroup ¶
func (l *LookerSDK) AddGroupGroup( groupId int64, body GroupIdForGroupInclusion, options *rtl.ApiSettings) (Group, error)
### Adds a new group to a group.
POST /groups/{group_id}/groups -> Group
func (*LookerSDK) AddGroupUser ¶
func (l *LookerSDK) AddGroupUser( groupId int64, body GroupIdForGroupUserInclusion, options *rtl.ApiSettings) (User, error)
### Adds a new user to a group.
POST /groups/{group_id}/users -> User
func (*LookerSDK) AllColorCollections ¶
func (l *LookerSDK) AllColorCollections( fields string, options *rtl.ApiSettings) ([]ColorCollection, error)
### Get an array of all existing Color Collections Get a **single** color collection by id with ColorCollection(#!/ColorCollection/color_collection)
Get all **standard** color collections with ColorCollection(#!/ColorCollection/color_collections_standard)
Get all **custom** color collections with ColorCollection(#!/ColorCollection/color_collections_custom)
**Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.
GET /color_collections -> []ColorCollection
func (*LookerSDK) AllConnections ¶
func (l *LookerSDK) AllConnections( fields string, options *rtl.ApiSettings) ([]DBConnection, error)
### Get information about all connections.
GET /connections -> []DBConnection
func (*LookerSDK) AllContentMetadataAccesses ¶
func (l *LookerSDK) AllContentMetadataAccesses( contentMetadataId int64, fields string, options *rtl.ApiSettings) ([]ContentMetaGroupUser, error)
### All content metadata access records for a content metadata item.
GET /content_metadata_access -> []ContentMetaGroupUser
func (*LookerSDK) AllContentMetadatas ¶
func (l *LookerSDK) AllContentMetadatas( parentId int64, fields string, options *rtl.ApiSettings) ([]ContentMeta, error)
### Get information about all content metadata in a space.
GET /content_metadata -> []ContentMeta
func (*LookerSDK) AllDashboards ¶
func (l *LookerSDK) AllDashboards( fields string, options *rtl.ApiSettings) ([]DashboardBase, error)
### Get information about all active dashboards.
Returns an array of **abbreviated dashboard objects**. Dashboards marked as deleted are excluded from this list.
Get the **full details** of a specific dashboard by id with [dashboard()](#!/Dashboard/dashboard)
Find **deleted dashboards** with [search_dashboards()](#!/Dashboard/search_dashboards)
GET /dashboards -> []DashboardBase
func (*LookerSDK) AllDatagroups ¶
func (l *LookerSDK) AllDatagroups( options *rtl.ApiSettings) ([]Datagroup, error)
### Get information about all datagroups.
GET /datagroups -> []Datagroup
func (*LookerSDK) AllDialectInfos ¶
func (l *LookerSDK) AllDialectInfos( fields string, options *rtl.ApiSettings) ([]DialectInfo, error)
### Get information about all dialects.
GET /dialect_info -> []DialectInfo
func (*LookerSDK) AllFolders ¶
### Get information about all folders.
In API 3.x, this will not return empty personal folders, unless they belong to the calling user. In API 4.0+, all personal folders will be returned.
GET /folders -> []Folder
func (*LookerSDK) AllGitBranches ¶
func (l *LookerSDK) AllGitBranches( projectId string, options *rtl.ApiSettings) ([]GitBranch, error)
### Get All Git Branches
Returns a list of git branches in the project repository ¶
GET /projects/{project_id}/git_branches -> []GitBranch
func (*LookerSDK) AllGitConnectionTests ¶
func (l *LookerSDK) AllGitConnectionTests( projectId string, remoteUrl string, options *rtl.ApiSettings) ([]GitConnectionTest, error)
### Get All Git Connection Tests
dev mode required.
- Call `update_session` to select the 'dev' workspace.
Returns a list of tests which can be run against a project's (or the dependency project for the provided remote_url) git connection. Call [Run Git Connection Test](#!/Project/run_git_connection_test) to execute each test in sequence.
Tests are ordered by increasing specificity. Tests should be run in the order returned because later tests require functionality tested by tests earlier in the test list.
For example, a late-stage test for write access is meaningless if connecting to the git server (an early test) is failing.
GET /projects/{project_id}/git_connection_tests -> []GitConnectionTest
func (*LookerSDK) AllGroupGroups ¶
func (l *LookerSDK) AllGroupGroups( groupId int64, fields string, options *rtl.ApiSettings) ([]Group, error)
### Get information about all the groups in a group
GET /groups/{group_id}/groups -> []Group
func (*LookerSDK) AllGroupUsers ¶
func (l *LookerSDK) AllGroupUsers(request RequestAllGroupUsers, options *rtl.ApiSettings) ([]User, error)
### Get information about all the users directly included in a group.
GET /groups/{group_id}/users -> []User
func (*LookerSDK) AllGroups ¶
func (l *LookerSDK) AllGroups(request RequestAllGroups, options *rtl.ApiSettings) ([]Group, error)
### Get information about all groups.
GET /groups -> []Group
func (*LookerSDK) AllHomepageItems ¶
func (l *LookerSDK) AllHomepageItems(request RequestAllHomepageItems, options *rtl.ApiSettings) ([]HomepageItem, error)
### Get information about all homepage items.
GET /homepage_items -> []HomepageItem
func (*LookerSDK) AllHomepageSections ¶
func (l *LookerSDK) AllHomepageSections(request RequestAllHomepageSections, options *rtl.ApiSettings) ([]HomepageSection, error)
### Get information about all homepage sections.
GET /homepage_sections -> []HomepageSection
func (*LookerSDK) AllHomepages ¶
### Get information about all homepages.
GET /homepages -> []Homepage
func (*LookerSDK) AllIntegrationHubs ¶
func (l *LookerSDK) AllIntegrationHubs( fields string, options *rtl.ApiSettings) ([]IntegrationHub, error)
### Get information about all Integration Hubs.
GET /integration_hubs -> []IntegrationHub
func (*LookerSDK) AllIntegrations ¶
func (l *LookerSDK) AllIntegrations(request RequestAllIntegrations, options *rtl.ApiSettings) ([]Integration, error)
### Get information about all Integrations.
GET /integrations -> []Integration
func (*LookerSDK) AllLegacyFeatures ¶
func (l *LookerSDK) AllLegacyFeatures( options *rtl.ApiSettings) ([]LegacyFeature, error)
### Get all legacy features.
GET /legacy_features -> []LegacyFeature
func (*LookerSDK) AllLocales ¶
func (l *LookerSDK) AllLocales( options *rtl.ApiSettings) ([]Locale, error)
### Get a list of locales that Looker supports.
GET /locales -> []Locale
func (*LookerSDK) AllLookmlModels ¶
func (l *LookerSDK) AllLookmlModels( fields string, options *rtl.ApiSettings) ([]LookmlModel, error)
### Get information about all lookml models.
GET /lookml_models -> []LookmlModel
func (*LookerSDK) AllLookmlTests ¶
func (l *LookerSDK) AllLookmlTests( projectId string, fileId string, options *rtl.ApiSettings) ([]LookmlTest, error)
### Get All LookML Tests
Returns a list of tests which can be run to validate a project's LookML code and/or the underlying data, optionally filtered by the file id. Call [Run LookML Test](#!/Project/run_lookml_test) to execute tests.
GET /projects/{project_id}/lookml_tests -> []LookmlTest
func (*LookerSDK) AllLooks ¶
### Get information about all active Looks
Returns an array of **abbreviated Look objects** describing all the looks that the caller has access to. Soft-deleted Looks are **not** included.
Get the **full details** of a specific look by id with [look(id)](#!/Look/look)
Find **soft-deleted looks** with [search_looks()](#!/Look/search_looks)
GET /looks -> []Look
func (*LookerSDK) AllModelSets ¶
### Get information about all model sets.
GET /model_sets -> []ModelSet
func (*LookerSDK) AllPermissionSets ¶
func (l *LookerSDK) AllPermissionSets( fields string, options *rtl.ApiSettings) ([]PermissionSet, error)
### Get information about all permission sets.
GET /permission_sets -> []PermissionSet
func (*LookerSDK) AllPermissions ¶
func (l *LookerSDK) AllPermissions( options *rtl.ApiSettings) ([]Permission, error)
### Get all supported permissions.
GET /permissions -> []Permission
func (*LookerSDK) AllPrimaryHomepageSections ¶
func (l *LookerSDK) AllPrimaryHomepageSections( fields string, options *rtl.ApiSettings) ([]HomepageSection, error)
### Get information about the primary homepage's sections.
GET /primary_homepage_sections -> []HomepageSection
func (*LookerSDK) AllProjectFiles ¶
func (l *LookerSDK) AllProjectFiles( projectId string, fields string, options *rtl.ApiSettings) ([]ProjectFile, error)
### Get All Project Files
Returns a list of the files in the project ¶
GET /projects/{project_id}/files -> []ProjectFile
func (*LookerSDK) AllProjects ¶
### Get All Projects
Returns all projects visible to the current user ¶
GET /projects -> []Project
func (*LookerSDK) AllRoles ¶
func (l *LookerSDK) AllRoles(request RequestAllRoles, options *rtl.ApiSettings) ([]Role, error)
### Get information about all roles.
GET /roles -> []Role
func (*LookerSDK) AllRunningQueries ¶
func (l *LookerSDK) AllRunningQueries( options *rtl.ApiSettings) ([]RunningQueries, error)
Get information about all running queries.
GET /running_queries -> []RunningQueries
func (*LookerSDK) AllScheduledPlans ¶
func (l *LookerSDK) AllScheduledPlans(request RequestAllScheduledPlans, options *rtl.ApiSettings) ([]ScheduledPlan, error)
### List All Scheduled Plans
Returns all scheduled plans which belong to the caller or given user.
If no user_id is provided, this function returns the scheduled plans owned by the caller.
To list all schedules for all users, pass `all_users=true`.
The caller must have `see_schedules` permission to see other users' scheduled plans.
GET /scheduled_plans -> []ScheduledPlan
func (*LookerSDK) AllSpaces ¶
### Get information about all spaces.
In API 3.x, this will not return empty personal spaces, unless they belong to the calling user. In API 4.0+, all personal spaces will be returned.
GET /spaces -> []SpaceBase
func (*LookerSDK) AllThemes ¶
### Get an array of all existing themes
Get a **single theme** by id with Theme(#!/Theme/theme)
This method returns an array of all existing themes. The active time for the theme is not considered.
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
GET /themes -> []Theme
func (*LookerSDK) AllTimezones ¶
func (l *LookerSDK) AllTimezones( options *rtl.ApiSettings) ([]Timezone, error)
### Get a list of timezones that Looker supports (e.g. useful for scheduling tasks).
GET /timezones -> []Timezone
func (*LookerSDK) AllUserAttributeGroupValues ¶
func (l *LookerSDK) AllUserAttributeGroupValues( userAttributeId int64, fields string, options *rtl.ApiSettings) ([]UserAttributeGroupValue, error)
### Returns all values of a user attribute defined by user groups, in precedence order.
A user may be a member of multiple groups which define different values for a given user attribute. The order of group-values in the response determines precedence for selecting which group-value applies to a given user. For more information, see [Set User Attribute Group Values](#!/UserAttribute/set_user_attribute_group_values).
Results will only include groups that the caller's user account has permission to see.
GET /user_attributes/{user_attribute_id}/group_values -> []UserAttributeGroupValue
func (*LookerSDK) AllUserAttributes ¶
func (l *LookerSDK) AllUserAttributes(request RequestAllHomepageSections, options *rtl.ApiSettings) ([]UserAttribute, error)
### Get information about all user attributes.
GET /user_attributes -> []UserAttribute
func (*LookerSDK) AllUserCredentialsApi3s ¶
func (l *LookerSDK) AllUserCredentialsApi3s( userId int64, fields string, options *rtl.ApiSettings) ([]CredentialsApi3, error)
### API 3 login information for the specified user. This is for the newer API keys that can be added for any user.
GET /users/{user_id}/credentials_api3 -> []CredentialsApi3
func (*LookerSDK) AllUserCredentialsEmbeds ¶
func (l *LookerSDK) AllUserCredentialsEmbeds( userId int64, fields string, options *rtl.ApiSettings) ([]CredentialsEmbed, error)
### Embed login information for the specified user.
GET /users/{user_id}/credentials_embed -> []CredentialsEmbed
func (*LookerSDK) AllUserLoginLockouts ¶
func (l *LookerSDK) AllUserLoginLockouts( fields string, options *rtl.ApiSettings) ([]UserLoginLockout, error)
### Get currently locked-out users.
GET /user_login_lockouts -> []UserLoginLockout
func (*LookerSDK) AllUserSessions ¶
func (l *LookerSDK) AllUserSessions( userId int64, fields string, options *rtl.ApiSettings) ([]Session, error)
### Web login session for the specified user.
GET /users/{user_id}/sessions -> []Session
func (*LookerSDK) AllUsers ¶
func (l *LookerSDK) AllUsers(request RequestAllUsers, options *rtl.ApiSettings) ([]User, error)
### Get information about all users.
GET /users -> []User
func (*LookerSDK) AllWorkspaces ¶
func (l *LookerSDK) AllWorkspaces( options *rtl.ApiSettings) ([]Workspace, error)
### Get All Workspaces
Returns all workspaces available to the calling user.
GET /workspaces -> []Workspace
func (*LookerSDK) BackupConfiguration ¶
func (l *LookerSDK) BackupConfiguration( options *rtl.ApiSettings) (BackupConfiguration, error)
### WARNING: The Looker internal database backup function has been deprecated.
GET /backup_configuration -> BackupConfiguration
func (*LookerSDK) CloudStorageConfiguration ¶
func (l *LookerSDK) CloudStorageConfiguration( options *rtl.ApiSettings) (BackupConfiguration, error)
Get the current Cloud Storage Configuration.
GET /cloud_storage -> BackupConfiguration
func (*LookerSDK) ColorCollection ¶
func (l *LookerSDK) ColorCollection( collectionId string, fields string, options *rtl.ApiSettings) (ColorCollection, error)
### Get a Color Collection by ID
Use this to retrieve a specific Color Collection. Get a **single** color collection by id with ColorCollection(#!/ColorCollection/color_collection)
Get all **standard** color collections with ColorCollection(#!/ColorCollection/color_collections_standard)
Get all **custom** color collections with ColorCollection(#!/ColorCollection/color_collections_custom)
**Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.
GET /color_collections/{collection_id} -> ColorCollection
func (*LookerSDK) ColorCollectionsCustom ¶
func (l *LookerSDK) ColorCollectionsCustom( fields string, options *rtl.ApiSettings) ([]ColorCollection, error)
### Get an array of all existing **Custom** Color Collections Get a **single** color collection by id with ColorCollection(#!/ColorCollection/color_collection)
Get all **standard** color collections with ColorCollection(#!/ColorCollection/color_collections_standard)
**Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.
GET /color_collections/custom -> []ColorCollection
func (*LookerSDK) ColorCollectionsStandard ¶
func (l *LookerSDK) ColorCollectionsStandard( fields string, options *rtl.ApiSettings) ([]ColorCollection, error)
### Get an array of all existing **Standard** Color Collections Get a **single** color collection by id with ColorCollection(#!/ColorCollection/color_collection)
Get all **custom** color collections with ColorCollection(#!/ColorCollection/color_collections_custom)
**Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.
GET /color_collections/standard -> []ColorCollection
func (*LookerSDK) Connection ¶
func (l *LookerSDK) Connection( connectionName string, fields string, options *rtl.ApiSettings) (DBConnection, error)
### Get information about a connection.
GET /connections/{connection_name} -> DBConnection
func (*LookerSDK) ContentFavorite ¶
func (l *LookerSDK) ContentFavorite( contentFavoriteId int64, fields string, options *rtl.ApiSettings) (ContentFavorite, error)
### Get favorite content by its id
GET /content_favorite/{content_favorite_id} -> ContentFavorite
func (*LookerSDK) ContentMetadata ¶
func (l *LookerSDK) ContentMetadata( contentMetadataId int64, fields string, options *rtl.ApiSettings) (ContentMeta, error)
### Get information about an individual content metadata record.
GET /content_metadata/{content_metadata_id} -> ContentMeta
func (*LookerSDK) ContentThumbnail ¶
func (l *LookerSDK) ContentThumbnail(request RequestContentThumbnail, options *rtl.ApiSettings) (string, error)
### Get an image representing the contents of a dashboard or look.
The returned thumbnail is an abstract representation of the contents of a dashbord or look and does not reflect the actual data displayed in the respective visualizations.
GET /content_thumbnail/{type}/{resource_id} -> string
**Note**: Binary content may be returned by this method.
func (*LookerSDK) ContentValidation ¶
func (l *LookerSDK) ContentValidation( fields string, options *rtl.ApiSettings) (ContentValidation, error)
### Validate All Content
Performs validation of all looks and dashboards Returns a list of errors found as well as metadata about the content validation run.
GET /content_validation -> ContentValidation
func (*LookerSDK) CreateColorCollection ¶
func (l *LookerSDK) CreateColorCollection( body WriteColorCollection, options *rtl.ApiSettings) (ColorCollection, error)
### Create a custom color collection with the specified information
Creates a new custom color collection object, returning the details, including the created id.
**Update** an existing color collection with [Update Color Collection](#!/ColorCollection/update_color_collection)
**Permanently delete** an existing custom color collection with [Delete Color Collection](#!/ColorCollection/delete_color_collection)
**Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.
POST /color_collections -> ColorCollection
func (*LookerSDK) CreateConnection ¶
func (l *LookerSDK) CreateConnection( body WriteDBConnection, options *rtl.ApiSettings) (DBConnection, error)
### Create a connection using the specified configuration.
POST /connections -> DBConnection
func (*LookerSDK) CreateContentFavorite ¶
func (l *LookerSDK) CreateContentFavorite( body WriteContentFavorite, options *rtl.ApiSettings) (ContentFavorite, error)
### Create favorite content
POST /content_favorite -> ContentFavorite
func (*LookerSDK) CreateContentMetadataAccess ¶
func (l *LookerSDK) CreateContentMetadataAccess( body ContentMetaGroupUser, sendBoardsNotificationEmail bool, options *rtl.ApiSettings) (ContentMetaGroupUser, error)
### Create content metadata access.
POST /content_metadata_access -> ContentMetaGroupUser
func (*LookerSDK) CreateDashboard ¶
func (l *LookerSDK) CreateDashboard( body WriteDashboard, options *rtl.ApiSettings) (Dashboard, error)
### Create a new dashboard
Creates a new dashboard object and returns the details of the newly created dashboard.
`Title`, `user_id`, and `space_id` are all required fields. `Space_id` and `user_id` must contain the id of an existing space or user, respectively. A dashboard's `title` must be unique within the space in which it resides.
If you receive a 422 error response when creating a dashboard, be sure to look at the response body for information about exactly which fields are missing or contain invalid data.
You can **update** an existing dashboard with [update_dashboard()](#!/Dashboard/update_dashboard)
You can **permanently delete** an existing dashboard with [delete_dashboard()](#!/Dashboard/delete_dashboard)
POST /dashboards -> Dashboard
func (*LookerSDK) CreateDashboardElement ¶
func (l *LookerSDK) CreateDashboardElement( body WriteDashboardElement, fields string, options *rtl.ApiSettings) (DashboardElement, error)
### Create a dashboard element on the dashboard with a specific id.
POST /dashboard_elements -> DashboardElement
func (*LookerSDK) CreateDashboardFilter ¶
func (l *LookerSDK) CreateDashboardFilter( body WriteCreateDashboardFilter, fields string, options *rtl.ApiSettings) (DashboardFilter, error)
### Create a dashboard filter on the dashboard with a specific id.
POST /dashboard_filters -> DashboardFilter
func (*LookerSDK) CreateDashboardLayout ¶
func (l *LookerSDK) CreateDashboardLayout( body WriteDashboardLayout, fields string, options *rtl.ApiSettings) (DashboardLayout, error)
### Create a dashboard layout on the dashboard with a specific id.
POST /dashboard_layouts -> DashboardLayout
func (*LookerSDK) CreateDashboardRenderTask ¶
func (l *LookerSDK) CreateDashboardRenderTask(request RequestCreateDashboardRenderTask, options *rtl.ApiSettings) (RenderTask, error)
### Create a new task to render a dashboard to a document or image.
Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
POST /render_tasks/dashboards/{dashboard_id}/{result_format} -> RenderTask
func (*LookerSDK) CreateDigestEmailSend ¶
func (l *LookerSDK) CreateDigestEmailSend( options *rtl.ApiSettings) (DigestEmailSend, error)
### Trigger the generation of digest email records and send them to Looker's internal system. This does not send any actual emails, it generates records containing content which may be of interest for users who have become inactive. Emails will be sent at a later time from Looker's internal system if the Digest Emails feature is enabled in settings.
POST /digest_email_send -> DigestEmailSend
func (*LookerSDK) CreateFolder ¶
func (l *LookerSDK) CreateFolder( body CreateFolder, options *rtl.ApiSettings) (Folder, error)
### Create a folder with specified information.
Caller must have permission to edit the parent folder and to create folders, otherwise the request returns 404 Not Found.
POST /folders -> Folder
func (*LookerSDK) CreateGitBranch ¶
func (l *LookerSDK) CreateGitBranch( projectId string, body WriteGitBranch, options *rtl.ApiSettings) (GitBranch, error)
### Create and Checkout a Git Branch
Creates and checks out a new branch in the given project repository Only allowed in development mode
- Call `update_session` to select the 'dev' workspace.
Optionally specify a branch name, tag name or commit SHA as the start point in the ref field.
If no ref is specified, HEAD of the current branch will be used as the start point for the new branch.
POST /projects/{project_id}/git_branch -> GitBranch
func (*LookerSDK) CreateGitDeployKey ¶
### Create Git Deploy Key
Create a public/private key pair for authenticating ssh git requests from Looker to a remote git repository for a particular Looker project.
Returns the public key of the generated ssh key pair.
Copy this public key to your remote git repository's ssh keys configuration so that the remote git service can validate and accept git requests from the Looker server.
POST /projects/{project_id}/git/deploy_key -> string
func (*LookerSDK) CreateGroup ¶
func (l *LookerSDK) CreateGroup( body WriteGroup, fields string, options *rtl.ApiSettings) (Group, error)
### Creates a new group (admin only).
POST /groups -> Group
func (*LookerSDK) CreateHomepage ¶
func (l *LookerSDK) CreateHomepage( body WriteHomepage, fields string, options *rtl.ApiSettings) (Homepage, error)
### Create a new homepage.
POST /homepages -> Homepage
func (*LookerSDK) CreateHomepageItem ¶
func (l *LookerSDK) CreateHomepageItem( body WriteHomepageItem, fields string, options *rtl.ApiSettings) (HomepageItem, error)
### Create a new homepage item.
POST /homepage_items -> HomepageItem
func (*LookerSDK) CreateHomepageSection ¶
func (l *LookerSDK) CreateHomepageSection( body WriteHomepageSection, fields string, options *rtl.ApiSettings) (HomepageSection, error)
### Create a new homepage section.
POST /homepage_sections -> HomepageSection
func (*LookerSDK) CreateIntegrationHub ¶
func (l *LookerSDK) CreateIntegrationHub( body WriteIntegrationHub, fields string, options *rtl.ApiSettings) (IntegrationHub, error)
### Create a new Integration Hub.
This API is rate limited to prevent it from being used for SSRF attacks ¶
POST /integration_hubs -> IntegrationHub
func (*LookerSDK) CreateLook ¶
func (l *LookerSDK) CreateLook( body WriteLookWithQuery, fields string, options *rtl.ApiSettings) (LookWithQuery, error)
### Create a Look
To create a look to display query data, first create the query with [create_query()](#!/Query/create_query) then assign the query's id to the `query_id` property in the call to `create_look()`.
To place the look into a particular space, assign the space's id to the `space_id` property in the call to `create_look()`.
POST /looks -> LookWithQuery
func (*LookerSDK) CreateLookRenderTask ¶
func (l *LookerSDK) CreateLookRenderTask( lookId int64, resultFormat string, width int64, height int64, fields string, options *rtl.ApiSettings) (RenderTask, error)
### Create a new task to render a look to an image.
Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
POST /render_tasks/looks/{look_id}/{result_format} -> RenderTask
func (*LookerSDK) CreateLookmlDashboardRenderTask ¶
func (l *LookerSDK) CreateLookmlDashboardRenderTask(request RequestCreateLookmlDashboardRenderTask, options *rtl.ApiSettings) (RenderTask, error)
### Create a new task to render a lookml dashboard to a document or image.
DEPRECATED: Use [create_dashboard_render_task()](#!/RenderTask/create_dashboard_render_task) in API 4.0+ ¶
Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
POST /render_tasks/lookml_dashboards/{dashboard_id}/{result_format} -> RenderTask
func (*LookerSDK) CreateLookmlModel ¶
func (l *LookerSDK) CreateLookmlModel( body WriteLookmlModel, options *rtl.ApiSettings) (LookmlModel, error)
### Create a lookml model using the specified configuration.
POST /lookml_models -> LookmlModel
func (*LookerSDK) CreateMergeQuery ¶
func (l *LookerSDK) CreateMergeQuery( body WriteMergeQuery, fields string, options *rtl.ApiSettings) (MergeQuery, error)
### Create Merge Query
Creates a new merge query object.
A merge query takes the results of one or more queries and combines (merges) the results according to field mapping definitions. The result is similar to a SQL left outer join.
A merge query can merge results of queries from different SQL databases.
The order that queries are defined in the source_queries array property is significant. The first query in the array defines the primary key into which the results of subsequent queries will be merged.
Like model/view query objects, merge queries are immutable and have structural identity - if you make a request to create a new merge query that is identical to an existing merge query, the existing merge query will be returned instead of creating a duplicate. Conversely, any change to the contents of a merge query will produce a new object with a new id.
POST /merge_queries -> MergeQuery
func (*LookerSDK) CreateModelSet ¶
func (l *LookerSDK) CreateModelSet( body WriteModelSet, options *rtl.ApiSettings) (ModelSet, error)
### Create a model set with the specified information. Model sets are used by Roles.
POST /model_sets -> ModelSet
func (*LookerSDK) CreateOidcTestConfig ¶
func (l *LookerSDK) CreateOidcTestConfig( body WriteOIDCConfig, options *rtl.ApiSettings) (OIDCConfig, error)
### Create a OIDC test configuration.
POST /oidc_test_configs -> OIDCConfig
func (*LookerSDK) CreatePermissionSet ¶
func (l *LookerSDK) CreatePermissionSet( body WritePermissionSet, options *rtl.ApiSettings) (PermissionSet, error)
### Create a permission set with the specified information. Permission sets are used by Roles.
POST /permission_sets -> PermissionSet
func (*LookerSDK) CreateProject ¶
func (l *LookerSDK) CreateProject( body WriteProject, options *rtl.ApiSettings) (Project, error)
### Create A Project
dev mode required. - Call `update_session` to select the 'dev' workspace.
`name` is required. `git_remote_url` is not allowed. To configure Git for the newly created project, follow the instructions in `update_project`.
POST /projects -> Project
func (*LookerSDK) CreateQuery ¶
func (l *LookerSDK) CreateQuery( body WriteQuery, fields string, options *rtl.ApiSettings) (Query, error)
### Create a query.
This allows you to create a new query that you can later run. Looker queries are immutable once created and are not deleted. If you create a query that is exactly like an existing query then the existing query will be returned and no new query will be created. Whether a new query is created or not, you can use the 'id' in the returned query with the 'run' method.
The query parameters are passed as json in the body of the request.
POST /queries -> Query
func (*LookerSDK) CreateQueryRenderTask ¶
func (l *LookerSDK) CreateQueryRenderTask( queryId int64, resultFormat string, width int64, height int64, fields string, options *rtl.ApiSettings) (RenderTask, error)
### Create a new task to render an existing query to an image.
Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
POST /render_tasks/queries/{query_id}/{result_format} -> RenderTask
func (*LookerSDK) CreateQueryTask ¶
func (l *LookerSDK) CreateQueryTask(request RequestCreateQueryTask, options *rtl.ApiSettings) (QueryTask, error)
### Create an async query task
Creates a query task (job) to run a previously created query asynchronously. Returns a Query Task ID.
Use [query_task(query_task_id)](#!/Query/query_task) to check the execution status of the query task. After the query task status reaches "Complete", use [query_task_results(query_task_id)](#!/Query/query_task_results) to fetch the results of the query.
POST /query_tasks -> QueryTask
func (*LookerSDK) CreateRole ¶
### Create a role with the specified information.
POST /roles -> Role
func (*LookerSDK) CreateSamlTestConfig ¶
func (l *LookerSDK) CreateSamlTestConfig( body WriteSamlConfig, options *rtl.ApiSettings) (SamlConfig, error)
### Create a SAML test configuration.
POST /saml_test_configs -> SamlConfig
func (*LookerSDK) CreateScheduledPlan ¶
func (l *LookerSDK) CreateScheduledPlan( body WriteScheduledPlan, options *rtl.ApiSettings) (ScheduledPlan, error)
### Create a Scheduled Plan
Create a scheduled plan to render a Look or Dashboard on a recurring schedule.
To create a scheduled plan, you MUST provide values for the following fields: `name` and `look_id`, `dashboard_id`, `lookml_dashboard_id`, or `query_id` and `cron_tab` or `datagroup` and at least one scheduled_plan_destination
A scheduled plan MUST have at least one scheduled_plan_destination defined.
When `look_id` is set, `require_no_results`, `require_results`, and `require_change` are all required.
If `create_scheduled_plan` fails with a 422 error, be sure to look at the error messages in the response which will explain exactly what fields are missing or values that are incompatible.
The queries that provide the data for the look or dashboard are run in the context of user account that owns the scheduled plan.
When `run_as_recipient` is `false` or not specified, the queries that provide the data for the look or dashboard are run in the context of user account that owns the scheduled plan.
When `run_as_recipient` is `true` and all the email recipients are Looker user accounts, the queries are run in the context of each recipient, so different recipients may see different data from the same scheduled render of a look or dashboard. For more details, see [Run As Recipient](https://looker.com/docs/r/admin/run-as-recipient).
Admins can create and modify scheduled plans on behalf of other users by specifying a user id. Non-admin users may not create or modify scheduled plans by or for other users.
#### Email Permissions:
For details about permissions required to schedule delivery to email and the safeguards Looker offers to protect against sending to unauthorized email destinations, see [Email Domain Whitelist for Scheduled Looks](https://docs.looker.com/r/api/embed-permissions).
#### Scheduled Plan Destination Formats
Scheduled plan destinations must specify the data format to produce and send to the destination.
Formats:
| format | Description | :-----------: | :--- | | json | A JSON object containing a `data` property which contains an array of JSON objects, one per row. No metadata. | json_detail | Row data plus metadata describing the fields, pivots, table calcs, and other aspects of the query | inline_json | Same as the JSON format, except that the `data` property is a string containing JSON-escaped row data. Additional properties describe the data operation. This format is primarily used to send data to web hooks so that the web hook doesn't have to re-encode the JSON row data in order to pass it on to its ultimate destination. | csv | Comma separated values with a header | txt | Tab separated values with a header | html | Simple html | xlsx | MS Excel spreadsheet | wysiwyg_pdf | Dashboard rendered in a tiled layout to produce a PDF document | assembled_pdf | Dashboard rendered in a single column layout to produce a PDF document | wysiwyg_png | Dashboard rendered in a tiled layout to produce a PNG image ||
Valid formats vary by destination type and source object. `wysiwyg_pdf` is only valid for dashboards, for example.
POST /scheduled_plans -> ScheduledPlan
func (*LookerSDK) CreateSpace ¶
func (l *LookerSDK) CreateSpace( body CreateSpace, options *rtl.ApiSettings) (Space, error)
### Create a space with specified information.
Caller must have permission to edit the parent space and to create spaces, otherwise the request returns 404 Not Found.
POST /spaces -> Space
func (*LookerSDK) CreateSqlQuery ¶
func (l *LookerSDK) CreateSqlQuery( body SqlQueryCreate, options *rtl.ApiSettings) (SqlQuery, error)
### Create a SQL Runner Query
Either the `connection_name` or `model_name` parameter MUST be provided.
POST /sql_queries -> SqlQuery
func (*LookerSDK) CreateSsoEmbedUrl ¶
func (l *LookerSDK) CreateSsoEmbedUrl( body EmbedSsoParams, options *rtl.ApiSettings) (EmbedUrlResponse, error)
### Create SSO Embed URL
Creates an SSO embed URL and cryptographically signs it with an embed secret. This signed URL can then be used to instantiate a Looker embed session in a PBL web application. Do not make any modifications to this URL - any change may invalidate the signature and cause the URL to fail to load a Looker embed session.
A signed SSO embed URL can only be used once. After it has been used to request a page from the Looker server, the URL is invalid. Future requests using the same URL will fail. This is to prevent 'replay attacks'.
The `target_url` property must be a complete URL of a Looker UI page - scheme, hostname, path and query params. To load a dashboard with id 56 and with a filter of `Date=1 years`, the looker URL would look like `https:/myname.looker.com/dashboards/56?Date=1%20years`. The best way to obtain this target_url is to navigate to the desired Looker page in your web browser, copy the URL shown in the browser address bar and paste it into the `target_url` property as a quoted string value in this API request.
Permissions for the embed user are defined by the groups in which the embed user is a member (group_ids property) and the lists of models and permissions assigned to the embed user. At a minimum, you must provide values for either the group_ids property, or both the models and permissions properties. These properties are additive; an embed user can be a member of certain groups AND be granted access to models and permissions.
The embed user's access is the union of permissions granted by the group_ids, models, and permissions properties.
This function does not strictly require all group_ids, user attribute names, or model names to exist at the moment the SSO embed url is created. Unknown group_id, user attribute names or model names will be passed through to the output URL. To diagnose potential problems with an SSO embed URL, you can copy the signed URL into the Embed URI Validator text box in `<your looker instance>/admin/embed`.
The `secret_id` parameter is optional. If specified, its value must be the id of an active secret defined in the Looker instance. if not specified, the URL will be signed using the newest active secret defined in the Looker instance.
#### Security Note Protect this signed URL as you would an access token or password credentials - do not write it to disk, do not pass it to a third party, and only pass it through a secure HTTPS encrypted transport.
POST /embed/sso_url -> EmbedUrlResponse
func (*LookerSDK) CreateTheme ¶
func (l *LookerSDK) CreateTheme( body WriteTheme, options *rtl.ApiSettings) (Theme, error)
### Create a theme
Creates a new theme object, returning the theme details, including the created id.
If `settings` are not specified, the default theme settings will be copied into the new theme.
The theme `name` can only contain alphanumeric characters or underscores. Theme names should not contain any confidential information, such as customer names.
**Update** an existing theme with [Update Theme](#!/Theme/update_theme)
**Permanently delete** an existing theme with [Delete Theme](#!/Theme/delete_theme)
For more information, see [Creating and Applying Themes](https://looker.com/docs/r/admin/themes).
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
POST /themes -> Theme
func (*LookerSDK) CreateUser ¶
func (l *LookerSDK) CreateUser( body WriteUser, fields string, options *rtl.ApiSettings) (User, error)
### Create a user with the specified information.
POST /users -> User
func (*LookerSDK) CreateUserAttribute ¶
func (l *LookerSDK) CreateUserAttribute( body WriteUserAttribute, fields string, options *rtl.ApiSettings) (UserAttribute, error)
### Create a new user attribute
Permission information for a user attribute is conveyed through the `can` and `user_can_edit` fields. The `user_can_edit` field indicates whether an attribute is user-editable _anywhere_ in the application. The `can` field gives more granular access information, with the `set_value` child field indicating whether an attribute's value can be set by [Setting the User Attribute User Value](#!/User/set_user_attribute_user_value).
Note: `name` and `label` fields must be unique across all user attributes in the Looker instance. Attempting to create a new user attribute with a name or label that duplicates an existing user attribute will fail with a 422 error.
POST /user_attributes -> UserAttribute
func (*LookerSDK) CreateUserCredentialsApi3 ¶
func (l *LookerSDK) CreateUserCredentialsApi3( userId int64, body CredentialsApi3, fields string, options *rtl.ApiSettings) (CredentialsApi3, error)
### API 3 login information for the specified user. This is for the newer API keys that can be added for any user.
POST /users/{user_id}/credentials_api3 -> CredentialsApi3
func (*LookerSDK) CreateUserCredentialsEmail ¶
func (l *LookerSDK) CreateUserCredentialsEmail( userId int64, body WriteCredentialsEmail, fields string, options *rtl.ApiSettings) (CredentialsEmail, error)
### Email/password login information for the specified user.
POST /users/{user_id}/credentials_email -> CredentialsEmail
func (*LookerSDK) CreateUserCredentialsEmailPasswordReset ¶
func (l *LookerSDK) CreateUserCredentialsEmailPasswordReset(request RequestCreateUserCredentialsEmailPasswordReset, options *rtl.ApiSettings) (CredentialsEmail, error)
### Create a password reset token. This will create a cryptographically secure random password reset token for the user. If the user already has a password reset token then this invalidates the old token and creates a new one. The token is expressed as the 'password_reset_url' of the user's email/password credential object. This takes an optional 'expires' param to indicate if the new token should be an expiring token. Tokens that expire are typically used for self-service password resets for existing users. Invitation emails for new users typically are not set to expire. The expire period is always 60 minutes when expires is enabled. This method can be called with an empty body.
POST /users/{user_id}/credentials_email/password_reset -> CredentialsEmail
func (*LookerSDK) CreateUserCredentialsTotp ¶
func (l *LookerSDK) CreateUserCredentialsTotp( userId int64, body CredentialsTotp, fields string, options *rtl.ApiSettings) (CredentialsTotp, error)
### Two-factor login information for the specified user.
POST /users/{user_id}/credentials_totp -> CredentialsTotp
func (*LookerSDK) CustomWelcomeEmail ¶
func (l *LookerSDK) CustomWelcomeEmail( options *rtl.ApiSettings) (CustomWelcomeEmail, error)
### Get the current status and content of custom welcome emails
GET /custom_welcome_email -> CustomWelcomeEmail
func (*LookerSDK) Dashboard ¶
func (l *LookerSDK) Dashboard( dashboardId string, fields string, options *rtl.ApiSettings) (Dashboard, error)
### Get information about a dashboard
Returns the full details of the identified dashboard object ¶
Get a **summary list** of all active dashboards with [all_dashboards()](#!/Dashboard/all_dashboards)
You can **Search** for dashboards with [search_dashboards()](#!/Dashboard/search_dashboards)
GET /dashboards/{dashboard_id} -> Dashboard
func (*LookerSDK) DashboardAggregateTableLookml ¶
func (l *LookerSDK) DashboardAggregateTableLookml( dashboardId string, options *rtl.ApiSettings) (DashboardAggregateTableLookml, error)
### Get Aggregate Table LookML for Each Query on a Dahboard
Returns a JSON object that contains the dashboard id and Aggregate Table lookml ¶
GET /dashboards/aggregate_table_lookml/{dashboard_id} -> DashboardAggregateTableLookml
func (*LookerSDK) DashboardDashboardElements ¶
func (l *LookerSDK) DashboardDashboardElements( dashboardId string, fields string, options *rtl.ApiSettings) ([]DashboardElement, error)
### Get information about all the dashboard elements on a dashboard with a specific id.
GET /dashboards/{dashboard_id}/dashboard_elements -> []DashboardElement
func (*LookerSDK) DashboardDashboardFilters ¶
func (l *LookerSDK) DashboardDashboardFilters( dashboardId string, fields string, options *rtl.ApiSettings) ([]DashboardFilter, error)
### Get information about all the dashboard filters on a dashboard with a specific id.
GET /dashboards/{dashboard_id}/dashboard_filters -> []DashboardFilter
func (*LookerSDK) DashboardDashboardLayouts ¶
func (l *LookerSDK) DashboardDashboardLayouts( dashboardId string, fields string, options *rtl.ApiSettings) ([]DashboardLayout, error)
### Get information about all the dashboard elements on a dashboard with a specific id.
GET /dashboards/{dashboard_id}/dashboard_layouts -> []DashboardLayout
func (*LookerSDK) DashboardElement ¶
func (l *LookerSDK) DashboardElement( dashboardElementId string, fields string, options *rtl.ApiSettings) (DashboardElement, error)
### Get information about the dashboard element with a specific id.
GET /dashboard_elements/{dashboard_element_id} -> DashboardElement
func (*LookerSDK) DashboardFilter ¶
func (l *LookerSDK) DashboardFilter( dashboardFilterId string, fields string, options *rtl.ApiSettings) (DashboardFilter, error)
### Get information about the dashboard filters with a specific id.
GET /dashboard_filters/{dashboard_filter_id} -> DashboardFilter
func (*LookerSDK) DashboardLayout ¶
func (l *LookerSDK) DashboardLayout( dashboardLayoutId string, fields string, options *rtl.ApiSettings) (DashboardLayout, error)
### Get information about the dashboard layouts with a specific id.
GET /dashboard_layouts/{dashboard_layout_id} -> DashboardLayout
func (*LookerSDK) DashboardLayoutComponent ¶
func (l *LookerSDK) DashboardLayoutComponent( dashboardLayoutComponentId string, fields string, options *rtl.ApiSettings) (DashboardLayoutComponent, error)
### Get information about the dashboard elements with a specific id.
GET /dashboard_layout_components/{dashboard_layout_component_id} -> DashboardLayoutComponent
func (*LookerSDK) DashboardLayoutDashboardLayoutComponents ¶
func (l *LookerSDK) DashboardLayoutDashboardLayoutComponents( dashboardLayoutId string, fields string, options *rtl.ApiSettings) ([]DashboardLayoutComponent, error)
### Get information about all the dashboard layout components for a dashboard layout with a specific id.
GET /dashboard_layouts/{dashboard_layout_id}/dashboard_layout_components -> []DashboardLayoutComponent
func (*LookerSDK) DashboardLookml ¶
func (l *LookerSDK) DashboardLookml( dashboardId string, options *rtl.ApiSettings) (DashboardLookml, error)
### Get lookml of a UDD
Returns a JSON object that contains the dashboard id and the full lookml ¶
GET /dashboards/lookml/{dashboard_id} -> DashboardLookml
func (*LookerSDK) Datagroup ¶
### Get information about a datagroup.
GET /datagroups/{datagroup_id} -> Datagroup
func (*LookerSDK) DefaultColorCollection ¶
func (l *LookerSDK) DefaultColorCollection( options *rtl.ApiSettings) (ColorCollection, error)
### Get the default color collection
Use this to retrieve the default Color Collection.
Set the default color collection with ColorCollection(#!/ColorCollection/set_default_color_collection)
GET /color_collections/default -> ColorCollection
func (*LookerSDK) DefaultTheme ¶
### Get the default theme
Returns the active theme object set as the default.
The **default** theme name can be set in the UI on the Admin|Theme UI page
The optional `ts` parameter can specify a different timestamp than "now." If specified, it returns the default theme at the time indicated.
GET /themes/default -> Theme
func (*LookerSDK) DeleteColorCollection ¶
func (l *LookerSDK) DeleteColorCollection( collectionId string, options *rtl.ApiSettings) (string, error)
### Delete a custom color collection by id
This operation permanently deletes the identified **Custom** color collection.
**Standard** color collections cannot be deleted
Because multiple color collections can have the same label, they must be deleted by ID, not name. **Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.
DELETE /color_collections/{collection_id} -> string
func (*LookerSDK) DeleteConnection ¶
func (l *LookerSDK) DeleteConnection( connectionName string, options *rtl.ApiSettings) (string, error)
### Delete a connection.
DELETE /connections/{connection_name} -> string
func (*LookerSDK) DeleteConnectionOverride ¶
func (l *LookerSDK) DeleteConnectionOverride( connectionName string, overrideContext string, options *rtl.ApiSettings) (string, error)
### Delete a connection override.
DELETE /connections/{connection_name}/connection_override/{override_context} -> string
func (*LookerSDK) DeleteContentFavorite ¶
func (l *LookerSDK) DeleteContentFavorite( contentFavoriteId int64, options *rtl.ApiSettings) (string, error)
### Delete favorite content
DELETE /content_favorite/{content_favorite_id} -> string
func (*LookerSDK) DeleteContentMetadataAccess ¶
func (l *LookerSDK) DeleteContentMetadataAccess( contentMetadataAccessId int64, options *rtl.ApiSettings) (string, error)
### Remove content metadata access.
DELETE /content_metadata_access/{content_metadata_access_id} -> string
func (*LookerSDK) DeleteDashboard ¶
### Delete the dashboard with the specified id
Permanently **deletes** a dashboard. (The dashboard cannot be recovered after this operation.)
"Soft" delete or hide a dashboard by setting its `deleted` status to `True` with [update_dashboard()](#!/Dashboard/update_dashboard).
Note: When a dashboard is deleted in the UI, it is soft deleted. Use this API call to permanently remove it, if desired.
DELETE /dashboards/{dashboard_id} -> string
func (*LookerSDK) DeleteDashboardElement ¶
func (l *LookerSDK) DeleteDashboardElement( dashboardElementId string, options *rtl.ApiSettings) (string, error)
### Delete a dashboard element with a specific id.
DELETE /dashboard_elements/{dashboard_element_id} -> string
func (*LookerSDK) DeleteDashboardFilter ¶
func (l *LookerSDK) DeleteDashboardFilter( dashboardFilterId string, options *rtl.ApiSettings) (string, error)
### Delete a dashboard filter with a specific id.
DELETE /dashboard_filters/{dashboard_filter_id} -> string
func (*LookerSDK) DeleteDashboardLayout ¶
func (l *LookerSDK) DeleteDashboardLayout( dashboardLayoutId string, options *rtl.ApiSettings) (string, error)
### Delete a dashboard layout with a specific id.
DELETE /dashboard_layouts/{dashboard_layout_id} -> string
func (*LookerSDK) DeleteFolder ¶
### Delete the folder with a specific id including any children folders. **DANGER** this will delete all looks and dashboards in the folder.
DELETE /folders/{folder_id} -> string
func (*LookerSDK) DeleteGitBranch ¶
func (l *LookerSDK) DeleteGitBranch( projectId string, branchName string, options *rtl.ApiSettings) (string, error)
### Delete the specified Git Branch
Delete git branch specified in branch_name path param from local and remote of specified project repository
DELETE /projects/{project_id}/git_branch/{branch_name} -> string
func (*LookerSDK) DeleteGroup ¶
### Deletes a group (admin only).
DELETE /groups/{group_id} -> string
func (*LookerSDK) DeleteGroupFromGroup ¶
func (l *LookerSDK) DeleteGroupFromGroup( groupId int64, deletingGroupId int64, options *rtl.ApiSettings) error
### Removes a group from a group.
DELETE /groups/{group_id}/groups/{deleting_group_id} -> Void
func (*LookerSDK) DeleteGroupUser ¶
### Removes a user from a group.
DELETE /groups/{group_id}/users/{user_id} -> Void
func (*LookerSDK) DeleteHomepageItem ¶
func (l *LookerSDK) DeleteHomepageItem( homepageItemId int64, options *rtl.ApiSettings) (string, error)
### Delete a homepage item.
DELETE /homepage_items/{homepage_item_id} -> string
func (*LookerSDK) DeleteHomepageSection ¶
func (l *LookerSDK) DeleteHomepageSection( homepageSectionId int64, options *rtl.ApiSettings) (string, error)
### Delete a homepage section.
DELETE /homepage_sections/{homepage_section_id} -> string
func (*LookerSDK) DeleteIntegrationHub ¶
func (l *LookerSDK) DeleteIntegrationHub( integrationHubId int64, options *rtl.ApiSettings) (string, error)
### Delete a Integration Hub.
DELETE /integration_hubs/{integration_hub_id} -> string
func (*LookerSDK) DeleteLook ¶
### Permanently Delete a Look
This operation **permanently** removes a look from the Looker database.
NOTE: There is no "undo" for this kind of delete.
For information about soft-delete (which can be undone) see [update_look()](#!/Look/update_look).
DELETE /looks/{look_id} -> string
func (*LookerSDK) DeleteLookmlModel ¶
func (l *LookerSDK) DeleteLookmlModel( lookmlModelName string, options *rtl.ApiSettings) (string, error)
### Delete a lookml model.
DELETE /lookml_models/{lookml_model_name} -> string
func (*LookerSDK) DeleteModelSet ¶
### Delete the model set with a specific id.
DELETE /model_sets/{model_set_id} -> string
func (*LookerSDK) DeleteOidcTestConfig ¶
func (l *LookerSDK) DeleteOidcTestConfig( testSlug string, options *rtl.ApiSettings) (string, error)
### Delete a OIDC test configuration.
DELETE /oidc_test_configs/{test_slug} -> string
func (*LookerSDK) DeletePermissionSet ¶
func (l *LookerSDK) DeletePermissionSet( permissionSetId int64, options *rtl.ApiSettings) (string, error)
### Delete the permission set with a specific id.
DELETE /permission_sets/{permission_set_id} -> string
func (*LookerSDK) DeleteRepositoryCredential ¶
func (l *LookerSDK) DeleteRepositoryCredential( rootProjectId string, credentialId string, options *rtl.ApiSettings) (string, error)
### Repository Credential for a remote dependency
Admin required.
`root_project_id` is required. `credential_id` is required.
DELETE /projects/{root_project_id}/credential/{credential_id} -> string
func (*LookerSDK) DeleteRole ¶
### Delete the role with a specific id.
DELETE /roles/{role_id} -> string
func (*LookerSDK) DeleteSamlTestConfig ¶
func (l *LookerSDK) DeleteSamlTestConfig( testSlug string, options *rtl.ApiSettings) (string, error)
### Delete a SAML test configuration.
DELETE /saml_test_configs/{test_slug} -> string
func (*LookerSDK) DeleteScheduledPlan ¶
func (l *LookerSDK) DeleteScheduledPlan( scheduledPlanId int64, options *rtl.ApiSettings) (string, error)
### Delete a Scheduled Plan
Normal users can only delete their own scheduled plans. Admins can delete other users' scheduled plans. This delete cannot be undone.
DELETE /scheduled_plans/{scheduled_plan_id} -> string
func (*LookerSDK) DeleteSpace ¶
### Delete the space with a specific id including any children spaces. **DANGER** this will delete all looks and dashboards in the space.
DELETE /spaces/{space_id} -> string
func (*LookerSDK) DeleteTheme ¶
### Delete a specific theme by id
This operation permanently deletes the identified theme from the database.
Because multiple themes can have the same name (with different activation time spans) themes can only be deleted by ID.
All IDs associated with a theme name can be retrieved by searching for the theme name with [Theme Search](#!/Theme/search).
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
DELETE /themes/{theme_id} -> string
func (*LookerSDK) DeleteUser ¶
### Delete the user with a specific id.
**DANGER** this will delete the user and all looks and other information owned by the user.
DELETE /users/{user_id} -> string
func (*LookerSDK) DeleteUserAttribute ¶
func (l *LookerSDK) DeleteUserAttribute( userAttributeId int64, options *rtl.ApiSettings) (string, error)
### Delete a user attribute (admin only).
DELETE /user_attributes/{user_attribute_id} -> string
func (*LookerSDK) DeleteUserAttributeGroupValue ¶
func (l *LookerSDK) DeleteUserAttributeGroupValue( groupId int64, userAttributeId int64, options *rtl.ApiSettings) error
### Remove a user attribute value from a group.
DELETE /groups/{group_id}/attribute_values/{user_attribute_id} -> Void
func (*LookerSDK) DeleteUserAttributeUserValue ¶
func (l *LookerSDK) DeleteUserAttributeUserValue( userId int64, userAttributeId int64, options *rtl.ApiSettings) error
### Delete a user attribute value from a user's account settings.
After the user attribute value is deleted from the user's account settings, subsequent requests for the user attribute value for this user will draw from the user's groups or the default value of the user attribute. See [Get User Attribute Values](#!/User/user_attribute_user_values) for more information about how user attribute values are resolved.
DELETE /users/{user_id}/attribute_values/{user_attribute_id} -> Void
func (*LookerSDK) DeleteUserCredentialsApi3 ¶
func (l *LookerSDK) DeleteUserCredentialsApi3( userId int64, credentialsApi3Id int64, options *rtl.ApiSettings) (string, error)
### API 3 login information for the specified user. This is for the newer API keys that can be added for any user.
DELETE /users/{user_id}/credentials_api3/{credentials_api3_id} -> string
func (*LookerSDK) DeleteUserCredentialsEmail ¶
func (l *LookerSDK) DeleteUserCredentialsEmail( userId int64, options *rtl.ApiSettings) (string, error)
### Email/password login information for the specified user.
DELETE /users/{user_id}/credentials_email -> string
func (*LookerSDK) DeleteUserCredentialsEmbed ¶
func (l *LookerSDK) DeleteUserCredentialsEmbed( userId int64, credentialsEmbedId int64, options *rtl.ApiSettings) (string, error)
### Embed login information for the specified user.
DELETE /users/{user_id}/credentials_embed/{credentials_embed_id} -> string
func (*LookerSDK) DeleteUserCredentialsGoogle ¶
func (l *LookerSDK) DeleteUserCredentialsGoogle( userId int64, options *rtl.ApiSettings) (string, error)
### Google authentication login information for the specified user.
DELETE /users/{user_id}/credentials_google -> string
func (*LookerSDK) DeleteUserCredentialsLdap ¶
func (l *LookerSDK) DeleteUserCredentialsLdap( userId int64, options *rtl.ApiSettings) (string, error)
### LDAP login information for the specified user.
DELETE /users/{user_id}/credentials_ldap -> string
func (*LookerSDK) DeleteUserCredentialsLookerOpenid ¶
func (l *LookerSDK) DeleteUserCredentialsLookerOpenid( userId int64, options *rtl.ApiSettings) (string, error)
### Looker Openid login information for the specified user. Used by Looker Analysts.
DELETE /users/{user_id}/credentials_looker_openid -> string
func (*LookerSDK) DeleteUserCredentialsOidc ¶
func (l *LookerSDK) DeleteUserCredentialsOidc( userId int64, options *rtl.ApiSettings) (string, error)
### OpenID Connect (OIDC) authentication login information for the specified user.
DELETE /users/{user_id}/credentials_oidc -> string
func (*LookerSDK) DeleteUserCredentialsSaml ¶
func (l *LookerSDK) DeleteUserCredentialsSaml( userId int64, options *rtl.ApiSettings) (string, error)
### Saml authentication login information for the specified user.
DELETE /users/{user_id}/credentials_saml -> string
func (*LookerSDK) DeleteUserCredentialsTotp ¶
func (l *LookerSDK) DeleteUserCredentialsTotp( userId int64, options *rtl.ApiSettings) (string, error)
### Two-factor login information for the specified user.
DELETE /users/{user_id}/credentials_totp -> string
func (*LookerSDK) DeleteUserLoginLockout ¶
### Removes login lockout for the associated user.
DELETE /user_login_lockout/{key} -> string
func (*LookerSDK) DeleteUserSession ¶
func (l *LookerSDK) DeleteUserSession( userId int64, sessionId int64, options *rtl.ApiSettings) (string, error)
### Web login session for the specified user.
DELETE /users/{user_id}/sessions/{session_id} -> string
func (*LookerSDK) DeployRefToProduction ¶
func (l *LookerSDK) DeployRefToProduction(request RequestDeployRefToProduction, options *rtl.ApiSettings) (string, error)
### Deploy a Remote Branch or Ref to Production
Git must have been configured and deploy permission required.
Deploy is a one/two step process 1. If this is the first deploy of this project, create the production project with git repository. 2. Pull the branch or ref into the production project.
Can only specify either a branch or a ref.
POST /projects/{project_id}/deploy_ref_to_production -> string
func (*LookerSDK) DeployToProduction ¶
### Deploy LookML from this Development Mode Project to Production
Git must have been configured, must be in dev mode and deploy permission required ¶
Deploy is a two / three step process:
- Push commits in current branch of dev mode project to the production branch (origin/master). Note a. This step is skipped in read-only projects. Note b. If this step is unsuccessful for any reason (e.g. rejected non-fastforward because production branch has commits not in current branch), subsequent steps will be skipped.
- If this is the first deploy of this project, create the production project with git repository.
- Pull the production branch into the production project.
POST /projects/{project_id}/deploy_to_production -> string
func (*LookerSDK) DigestEmailsEnabled ¶
func (l *LookerSDK) DigestEmailsEnabled( options *rtl.ApiSettings) (DigestEmails, error)
### Retrieve the value for whether or not digest emails is enabled
GET /digest_emails_enabled -> DigestEmails
func (*LookerSDK) FetchAndParseSamlIdpMetadata ¶
func (l *LookerSDK) FetchAndParseSamlIdpMetadata( body string, options *rtl.ApiSettings) (SamlMetadataParseResult, error)
### Fetch the given url and parse it as a SAML IdP metadata document and return the result. Note that this requires that the url be public or at least at a location where the Looker instance can fetch it without requiring any special authentication.
POST /fetch_and_parse_saml_idp_metadata -> SamlMetadataParseResult
func (*LookerSDK) FetchIntegrationForm ¶
func (l *LookerSDK) FetchIntegrationForm( integrationId string, body map[string]interface{}, options *rtl.ApiSettings) (DataActionForm, error)
Returns the Integration form for presentation to the user.
POST /integrations/{integration_id}/form -> DataActionForm
func (*LookerSDK) FetchRemoteDataActionForm ¶
func (l *LookerSDK) FetchRemoteDataActionForm( body map[string]interface{}, options *rtl.ApiSettings) (DataActionForm, error)
For some data actions, the remote server may supply a form requesting further user input. This endpoint takes a data action, asks the remote server to generate a form for it, and returns that form to you for presentation to the user.
POST /data_actions/form -> DataActionForm
func (*LookerSDK) FindGitBranch ¶
func (l *LookerSDK) FindGitBranch( projectId string, branchName string, options *rtl.ApiSettings) (GitBranch, error)
### Get the specified Git Branch
Returns the git branch specified in branch_name path param if it exists in the given project repository
GET /projects/{project_id}/git_branch/{branch_name} -> GitBranch
func (*LookerSDK) Folder ¶
func (l *LookerSDK) Folder( folderId string, fields string, options *rtl.ApiSettings) (Folder, error)
### Get information about the folder with a specific id.
GET /folders/{folder_id} -> Folder
func (*LookerSDK) FolderAncestors ¶
func (l *LookerSDK) FolderAncestors( folderId string, fields string, options *rtl.ApiSettings) ([]Folder, error)
### Get the ancestors of a folder
GET /folders/{folder_id}/ancestors -> []Folder
func (*LookerSDK) FolderChildren ¶
func (l *LookerSDK) FolderChildren(request RequestFolderChildren, options *rtl.ApiSettings) ([]Folder, error)
### Get the children of a folder.
GET /folders/{folder_id}/children -> []Folder
func (*LookerSDK) FolderChildrenSearch ¶
func (l *LookerSDK) FolderChildrenSearch(request RequestFolderChildrenSearch, options *rtl.ApiSettings) ([]Folder, error)
### Search the children of a folder
GET /folders/{folder_id}/children/search -> []Folder
func (*LookerSDK) FolderDashboards ¶
func (l *LookerSDK) FolderDashboards( folderId string, fields string, options *rtl.ApiSettings) ([]Dashboard, error)
### Get the dashboards in a folder
GET /folders/{folder_id}/dashboards -> []Dashboard
func (*LookerSDK) FolderLooks ¶
func (l *LookerSDK) FolderLooks( folderId string, fields string, options *rtl.ApiSettings) ([]LookWithQuery, error)
### Get all looks in a folder. In API 3.x, this will return all looks in a folder, including looks in the trash. In API 4.0+, all looks in a folder will be returned, excluding looks in the trash.
GET /folders/{folder_id}/looks -> []LookWithQuery
func (*LookerSDK) FolderParent ¶
func (l *LookerSDK) FolderParent( folderId string, fields string, options *rtl.ApiSettings) (Folder, error)
### Get the parent of a folder
GET /folders/{folder_id}/parent -> Folder
func (*LookerSDK) ForcePasswordResetAtNextLoginForAllUsers ¶
func (l *LookerSDK) ForcePasswordResetAtNextLoginForAllUsers( options *rtl.ApiSettings) (string, error)
### Force all credentials_email users to reset their login passwords upon their next login.
PUT /password_config/force_password_reset_at_next_login_for_all_users -> string
func (*LookerSDK) GetAllRepositoryCredentials ¶
func (l *LookerSDK) GetAllRepositoryCredentials( rootProjectId string, options *rtl.ApiSettings) ([]RepositoryCredential, error)
### Get all Repository Credentials for a project
`root_project_id` is required.
GET /projects/{root_project_id}/credentials -> []RepositoryCredential
func (*LookerSDK) GitBranch ¶
### Get the Current Git Branch
Returns the git branch currently checked out in the given project repository ¶
GET /projects/{project_id}/git_branch -> GitBranch
func (*LookerSDK) GitDeployKey ¶
### Git Deploy Key
Returns the ssh public key previously created for a project's git repository.
GET /projects/{project_id}/git/deploy_key -> string
func (*LookerSDK) GraphDerivedTablesForModel ¶
func (l *LookerSDK) GraphDerivedTablesForModel(request RequestGraphDerivedTablesForModel, options *rtl.ApiSettings) (DependencyGraph, error)
### Discover information about derived tables
GET /derived_table/graph/model/{model} -> DependencyGraph
func (*LookerSDK) Homepage ¶
func (l *LookerSDK) Homepage( homepageId int64, fields string, options *rtl.ApiSettings) (Homepage, error)
### Get information about a homepage.
GET /homepages/{homepage_id} -> Homepage
func (*LookerSDK) HomepageItem ¶
func (l *LookerSDK) HomepageItem( homepageItemId int64, fields string, options *rtl.ApiSettings) (HomepageItem, error)
### Get information about a homepage item.
GET /homepage_items/{homepage_item_id} -> HomepageItem
func (*LookerSDK) HomepageSection ¶
func (l *LookerSDK) HomepageSection( homepageSectionId int64, fields string, options *rtl.ApiSettings) (HomepageSection, error)
### Get information about a homepage section.
GET /homepage_sections/{homepage_section_id} -> HomepageSection
func (*LookerSDK) ImportLookmlDashboard ¶
func (l *LookerSDK) ImportLookmlDashboard( lookmlDashboardId string, spaceId string, body WriteDashboard, rawLocale bool, options *rtl.ApiSettings) (Dashboard, error)
### Import a LookML dashboard to a space as a UDD Creates a UDD (a dashboard which exists in the Looker database rather than as a LookML file) from the LookML dashboard and places it in the space specified. The created UDD will have a lookml_link_id which links to the original LookML dashboard.
To give the imported dashboard specify a (e.g. title: "my title") in the body of your request, otherwise the imported dashboard will have the same title as the original LookML dashboard.
For this operation to succeed the user must have permission to see the LookML dashboard in question, and have permission to create content in the space the dashboard is being imported to.
**Sync** a linked UDD with [sync_lookml_dashboard()](#!/Dashboard/sync_lookml_dashboard) **Unlink** a linked UDD by setting lookml_link_id to null with [update_dashboard()](#!/Dashboard/update_dashboard)
POST /dashboards/{lookml_dashboard_id}/import/{space_id} -> Dashboard
func (*LookerSDK) Integration ¶
func (l *LookerSDK) Integration( integrationId string, fields string, options *rtl.ApiSettings) (Integration, error)
### Get information about a Integration.
GET /integrations/{integration_id} -> Integration
func (*LookerSDK) IntegrationHub ¶
func (l *LookerSDK) IntegrationHub( integrationHubId int64, fields string, options *rtl.ApiSettings) (IntegrationHub, error)
### Get information about a Integration Hub.
GET /integration_hubs/{integration_hub_id} -> IntegrationHub
func (*LookerSDK) InternalHelpResources ¶
func (l *LookerSDK) InternalHelpResources( options *rtl.ApiSettings) (InternalHelpResources, error)
### Get and set the options for internal help resources
GET /internal_help_resources_enabled -> InternalHelpResources
func (*LookerSDK) InternalHelpResourcesContent ¶
func (l *LookerSDK) InternalHelpResourcesContent( options *rtl.ApiSettings) (InternalHelpResourcesContent, error)
### Set the menu item name and content for internal help resources
GET /internal_help_resources_content -> InternalHelpResourcesContent
func (*LookerSDK) KillQuery ¶
Kill a query with a specific query_task_id.
DELETE /running_queries/{query_task_id} -> string
func (*LookerSDK) LdapConfig ¶
func (l *LookerSDK) LdapConfig( options *rtl.ApiSettings) (LDAPConfig, error)
### Get the LDAP configuration.
Looker can be optionally configured to authenticate users against an Active Directory or other LDAP directory server. LDAP setup requires coordination with an administrator of that directory server.
Only Looker administrators can read and update the LDAP configuration.
Configuring LDAP impacts authentication for all users. This configuration should be done carefully.
Looker maintains a single LDAP configuration. It can be read and updated. Updates only succeed if the new state will be valid (in the sense that all required fields are populated); it is up to you to ensure that the configuration is appropriate and correct).
LDAP is enabled or disabled for Looker using the **enabled** field.
Looker will never return an **auth_password** field. That value can be set, but never retrieved.
See the [Looker LDAP docs](https://www.looker.com/docs/r/api/ldap_setup) for additional information.
GET /ldap_config -> LDAPConfig
func (*LookerSDK) LegacyFeature ¶
func (l *LookerSDK) LegacyFeature( legacyFeatureId int64, options *rtl.ApiSettings) (LegacyFeature, error)
### Get information about the legacy feature with a specific id.
GET /legacy_features/{legacy_feature_id} -> LegacyFeature
func (*LookerSDK) Login ¶
func (l *LookerSDK) Login(request RequestLogin, options *rtl.ApiSettings) (AccessToken, error)
### Present client credentials to obtain an authorization token
Looker API implements the OAuth2 [Resource Owner Password Credentials Grant](https://looker.com/docs/r/api/outh2_resource_owner_pc) pattern. The client credentials required for this login must be obtained by creating an API3 key on a user account in the Looker Admin console. The API3 key consists of a public `client_id` and a private `client_secret`.
The access token returned by `login` must be used in the HTTP Authorization header of subsequent API requests, like this: ``` Authorization: token 4QDkCyCtZzYgj4C2p2cj3csJH7zqS5RzKs2kTnG4 ``` Replace "4QDkCy..." with the `access_token` value returned by `login`. The word `token` is a string literal and must be included exactly as shown.
This function can accept `client_id` and `client_secret` parameters as URL query params or as www-form-urlencoded params in the body of the HTTP request. Since there is a small risk that URL parameters may be visible to intermediate nodes on the network route (proxies, routers, etc), passing credentials in the body of the request is considered more secure than URL params.
Example of passing credentials in the HTTP request body: ```` POST HTTP /login Content-Type: application/x-www-form-urlencoded
client_id=CGc9B7v7J48dQSJvxxx&client_secret=nNVS9cSS3xNpSC9JdsBvvvvv ````
### Best Practice: Always pass credentials in body params. Pass credentials in URL query params **only** when you cannot pass body params due to application, tool, or other limitations.
For more information and detailed examples of Looker API authorization, see [How to Authenticate to Looker API3](https://github.com/looker/looker-sdk-ruby/blob/master/authentication.md).
POST /login -> AccessToken
func (*LookerSDK) LoginUser ¶
func (l *LookerSDK) LoginUser( userId int64, associative bool, options *rtl.ApiSettings) (AccessToken, error)
### Create an access token that runs as a given user.
This can only be called by an authenticated admin user. It allows that admin to generate a new authentication token for the user with the given user id. That token can then be used for subsequent API calls - which are then performed *as* that target user.
The target user does *not* need to have a pre-existing API client_id/client_secret pair. And, no such credentials are created by this call.
This allows for building systems where api user authentication for an arbitrary number of users is done outside of Looker and funneled through a single 'service account' with admin permissions. Note that a new access token is generated on each call. If target users are going to be making numerous API calls in a short period then it is wise to cache this authentication token rather than call this before each of those API calls.
See 'login' for more detail on the access token and how to use it.
POST /login/{user_id} -> AccessToken
func (*LookerSDK) Logout ¶
func (l *LookerSDK) Logout( options *rtl.ApiSettings) (string, error)
### Logout of the API and invalidate the current access token.
DELETE /logout -> string
func (*LookerSDK) Look ¶
func (l *LookerSDK) Look( lookId int64, fields string, options *rtl.ApiSettings) (LookWithQuery, error)
### Get a Look.
Returns detailed information about a Look and its associated Query.
GET /looks/{look_id} -> LookWithQuery
func (*LookerSDK) LookmlModel ¶
func (l *LookerSDK) LookmlModel( lookmlModelName string, fields string, options *rtl.ApiSettings) (LookmlModel, error)
### Get information about a lookml model.
GET /lookml_models/{lookml_model_name} -> LookmlModel
func (*LookerSDK) LookmlModelExplore ¶
func (l *LookerSDK) LookmlModelExplore( lookmlModelName string, exploreName string, fields string, options *rtl.ApiSettings) (LookmlModelExplore, error)
### Get information about a lookml model explore.
GET /lookml_models/{lookml_model_name}/explores/{explore_name} -> LookmlModelExplore
func (*LookerSDK) Manifest ¶
### Get A Projects Manifest object
Returns the project with the given project id ¶
GET /projects/{project_id}/manifest -> Manifest
func (*LookerSDK) Me ¶
### Get information about the current user; i.e. the user account currently calling the API.
GET /user -> User
func (*LookerSDK) MergeQuery ¶
func (l *LookerSDK) MergeQuery( mergeQueryId string, fields string, options *rtl.ApiSettings) (MergeQuery, error)
### Get Merge Query
Returns a merge query object given its id.
GET /merge_queries/{merge_query_id} -> MergeQuery
func (*LookerSDK) ModelSet ¶
func (l *LookerSDK) ModelSet( modelSetId int64, fields string, options *rtl.ApiSettings) (ModelSet, error)
### Get information about the model set with a specific id.
GET /model_sets/{model_set_id} -> ModelSet
func (*LookerSDK) OidcConfig ¶
func (l *LookerSDK) OidcConfig( options *rtl.ApiSettings) (OIDCConfig, error)
### Get the OIDC configuration.
Looker can be optionally configured to authenticate users against an OpenID Connect (OIDC) authentication server. OIDC setup requires coordination with an administrator of that server.
Only Looker administrators can read and update the OIDC configuration.
Configuring OIDC impacts authentication for all users. This configuration should be done carefully.
Looker maintains a single OIDC configuation. It can be read and updated. Updates only succeed if the new state will be valid (in the sense that all required fields are populated); it is up to you to ensure that the configuration is appropriate and correct).
OIDC is enabled or disabled for Looker using the **enabled** field.
GET /oidc_config -> OIDCConfig
func (*LookerSDK) OidcTestConfig ¶
func (l *LookerSDK) OidcTestConfig( testSlug string, options *rtl.ApiSettings) (OIDCConfig, error)
### Get a OIDC test configuration by test_slug.
GET /oidc_test_configs/{test_slug} -> OIDCConfig
func (*LookerSDK) ParseSamlIdpMetadata ¶
func (l *LookerSDK) ParseSamlIdpMetadata( body string, options *rtl.ApiSettings) (SamlMetadataParseResult, error)
### Parse the given xml as a SAML IdP metadata document and return the result.
POST /parse_saml_idp_metadata -> SamlMetadataParseResult
func (*LookerSDK) PasswordConfig ¶
func (l *LookerSDK) PasswordConfig( options *rtl.ApiSettings) (PasswordConfig, error)
### Get password config.
GET /password_config -> PasswordConfig
func (*LookerSDK) PerformDataAction ¶
func (l *LookerSDK) PerformDataAction( body DataActionRequest, options *rtl.ApiSettings) (DataActionResponse, error)
Perform a data action. The data action object can be obtained from query results, and used to perform an arbitrary action.
POST /data_actions -> DataActionResponse
func (*LookerSDK) PermissionSet ¶
func (l *LookerSDK) PermissionSet( permissionSetId int64, fields string, options *rtl.ApiSettings) (PermissionSet, error)
### Get information about the permission set with a specific id.
GET /permission_sets/{permission_set_id} -> PermissionSet
func (*LookerSDK) Project ¶
func (l *LookerSDK) Project( projectId string, fields string, options *rtl.ApiSettings) (Project, error)
### Get A Project
Returns the project with the given project id ¶
GET /projects/{project_id} -> Project
func (*LookerSDK) ProjectFile ¶
func (l *LookerSDK) ProjectFile( projectId string, fileId string, fields string, options *rtl.ApiSettings) (ProjectFile, error)
### Get Project File Info
Returns information about a file in the project ¶
GET /projects/{project_id}/files/file -> ProjectFile
func (*LookerSDK) ProjectValidationResults ¶
func (l *LookerSDK) ProjectValidationResults( projectId string, fields string, options *rtl.ApiSettings) (ProjectValidationCache, error)
### Get Cached Project Validation Results
Returns the cached results of a previous project validation calculation, if any. Returns http status 204 No Content if no validation results exist.
Validating the content of all the files in a project can be computationally intensive for large projects. Use this API to simply fetch the results of the most recent project validation rather than revalidating the entire project from scratch.
A value of `"stale": true` in the response indicates that the project has changed since the cached validation results were computed. The cached validation results may no longer reflect the current state of the project.
GET /projects/{project_id}/validate -> ProjectValidationCache
func (*LookerSDK) ProjectWorkspace ¶
func (l *LookerSDK) ProjectWorkspace( projectId string, fields string, options *rtl.ApiSettings) (ProjectWorkspace, error)
### Get Project Workspace
Returns information about the state of the project files in the currently selected workspace ¶
GET /projects/{project_id}/current_workspace -> ProjectWorkspace
func (*LookerSDK) Query ¶
### Get a previously created query by id.
A Looker query object includes the various parameters that define a database query that has been run or could be run in the future. These parameters include: model, view, fields, filters, pivots, etc. Query *results* are not part of the query object.
Query objects are unique and immutable. Query objects are created automatically in Looker as users explore data. Looker does not delete them; they become part of the query history. When asked to create a query for any given set of parameters, Looker will first try to find an existing query object with matching parameters and will only create a new object when an appropriate object can not be found.
This 'get' method is used to get the details about a query for a given id. See the other methods here to 'create' and 'run' queries.
Note that some fields like 'filter_config' and 'vis_config' etc are specific to how the Looker UI builds queries and visualizations and are not generally useful for API use. They are not required when creating new queries and can usually just be ignored.
GET /queries/{query_id} -> Query
func (*LookerSDK) QueryForSlug ¶
func (l *LookerSDK) QueryForSlug( slug string, fields string, options *rtl.ApiSettings) (Query, error)
### Get the query for a given query slug.
This returns the query for the 'slug' in a query share URL.
The 'slug' is a randomly chosen short string that is used as an alternative to the query's id value for use in URLs etc. This method exists as a convenience to help you use the API to 'find' queries that have been created using the Looker UI.
You can use the Looker explore page to build a query and then choose the 'Share' option to show the share url for the query. Share urls generally look something like 'https://looker.yourcompany/x/vwGSbfc'. The trailing 'vwGSbfc' is the share slug. You can pass that string to this api method to get details about the query. Those details include the 'id' that you can use to run the query. Or, you can copy the query body (perhaps with your own modification) and use that as the basis to make/run new queries.
This will also work with slugs from Looker explore urls like 'https://looker.yourcompany/explore/ecommerce/orders?qid=aogBgL6o3cKK1jN3RoZl5s'. In this case 'aogBgL6o3cKK1jN3RoZl5s' is the slug.
GET /queries/slug/{slug} -> Query
func (*LookerSDK) QueryTask ¶
func (l *LookerSDK) QueryTask( queryTaskId string, fields string, options *rtl.ApiSettings) (QueryTask, error)
### Get Query Task details
Use this function to check the status of an async query task. After the status reaches "Complete", you can call [query_task_results(query_task_id)](#!/Query/query_task_results) to retrieve the results of the query.
Use [create_query_task()](#!/Query/create_query_task) to create an async query task.
GET /query_tasks/{query_task_id} -> QueryTask
func (*LookerSDK) QueryTaskMultiResults ¶
func (l *LookerSDK) QueryTaskMultiResults( queryTaskIds rtl.DelimString, options *rtl.ApiSettings) (map[string]interface{}, error)
### Fetch results of multiple async queries
Returns the results of multiple async queries in one request.
For Query Tasks that are not completed, the response will include the execution status of the Query Task but will not include query results. Query Tasks whose results have expired will have a status of 'expired'. If the user making the API request does not have sufficient privileges to view a Query Task result, the result will have a status of 'missing'
GET /query_tasks/multi_results -> map[string]interface{}
func (*LookerSDK) QueryTaskResults ¶
### Get Async Query Results
Returns the results of an async query task if the query has completed.
If the query task is still running or waiting to run, this function returns 204 No Content.
If the query task ID is invalid or the cached results of the query task have expired, this function returns 404 Not Found.
Use [query_task(query_task_id)](#!/Query/query_task) to check the execution status of the query task Call query_task_results only after the query task status reaches "Complete".
You can also use [query_task_multi_results()](#!/Query/query_task_multi_results) retrieve the results of multiple async query tasks at the same time.
#### SQL Error Handling: If the query fails due to a SQL db error, how this is communicated depends on the result_format you requested in `create_query_task()`.
For `json_detail` result_format: `query_task_results()` will respond with HTTP status '200 OK' and db SQL error info will be in the `errors` property of the response object. The 'data' property will be empty.
For all other result formats: `query_task_results()` will respond with HTTP status `400 Bad Request` and some db SQL error info will be in the message of the 400 error response, but not as detailed as expressed in `json_detail.errors`. These data formats can only carry row data, and error info is not row data.
GET /query_tasks/{query_task_id}/results -> string
func (*LookerSDK) RenderTask ¶
func (l *LookerSDK) RenderTask( renderTaskId string, fields string, options *rtl.ApiSettings) (RenderTask, error)
### Get information about a render task.
Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
GET /render_tasks/{render_task_id} -> RenderTask
func (*LookerSDK) RenderTaskResults ¶
func (l *LookerSDK) RenderTaskResults( renderTaskId string, options *rtl.ApiSettings) (string, error)
### Get the document or image produced by a completed render task.
Note that the PDF or image result will be a binary blob in the HTTP response, as indicated by the Content-Type in the response headers. This may require specialized (or at least different) handling than text responses such as JSON. You may need to tell your HTTP client that the response is binary so that it does not attempt to parse the binary data as text.
If the render task exists but has not finished rendering the results, the response HTTP status will be **202 Accepted**, the response body will be empty, and the response will have a Retry-After header indicating that the caller should repeat the request at a later time.
Returns 404 if the render task cannot be found, if the cached result has expired, or if the caller does not have permission to view the results.
For detailed information about the status of the render task, use [Render Task](#!/RenderTask/render_task). Polling loops waiting for completion of a render task would be better served by polling **render_task(id)** until the task status reaches completion (or error) instead of polling **render_task_results(id)** alone.
GET /render_tasks/{render_task_id}/results -> string
**Note**: Binary content is returned by this method.
func (*LookerSDK) ResetProjectToProduction ¶
func (l *LookerSDK) ResetProjectToProduction( projectId string, options *rtl.ApiSettings) (string, error)
### Reset a project to the revision of the project that is in production.
**DANGER** this will delete any changes that have not been pushed to a remote repository.
POST /projects/{project_id}/reset_to_production -> string
func (*LookerSDK) ResetProjectToRemote ¶
func (l *LookerSDK) ResetProjectToRemote( projectId string, options *rtl.ApiSettings) (string, error)
### Reset a project development branch to the revision of the project that is on the remote.
**DANGER** this will delete any changes that have not been pushed to a remote repository.
POST /projects/{project_id}/reset_to_remote -> string
func (*LookerSDK) Role ¶
### Get information about the role with a specific id.
GET /roles/{role_id} -> Role
func (*LookerSDK) RoleGroups ¶
func (l *LookerSDK) RoleGroups( roleId int64, fields string, options *rtl.ApiSettings) ([]Group, error)
### Get information about all the groups with the role that has a specific id.
GET /roles/{role_id}/groups -> []Group
func (*LookerSDK) RoleUsers ¶
func (l *LookerSDK) RoleUsers(request RequestRoleUsers, options *rtl.ApiSettings) ([]User, error)
### Get information about all the users with the role that has a specific id.
GET /roles/{role_id}/users -> []User
func (*LookerSDK) RunGitConnectionTest ¶
func (l *LookerSDK) RunGitConnectionTest(request RequestRunGitConnectionTest, options *rtl.ApiSettings) (GitConnectionTestResult, error)
### Run a git connection test
Run the named test on the git service used by this project (or the dependency project for the provided remote_url) and return the result. This is intended to help debug git connections when things do not work properly, to give more helpful information about why a git url is not working with Looker.
Tests should be run in the order they are returned by [Get All Git Connection Tests](#!/Project/all_git_connection_tests).
GET /projects/{project_id}/git_connection_tests/{test_id} -> GitConnectionTestResult
func (*LookerSDK) RunInlineQuery ¶
func (l *LookerSDK) RunInlineQuery(request RequestRunInlineQuery, options *rtl.ApiSettings) (string, error)
### Run the query that is specified inline in the posted body.
This allows running a query as defined in json in the posted body. This combines the two actions of posting & running a query into one step.
Here is an example body in json: ```
{ "model":"thelook", "view":"inventory_items", "fields":["category.name","inventory_items.days_in_inventory_tier","products.count"], "filters":{"category.name":"socks"}, "sorts":["products.count desc 0"], "limit":"500", "query_timezone":"America/Los_Angeles" }
```
When using the Ruby SDK this would be passed as a Ruby hash like: ```
{ :model=>"thelook", :view=>"inventory_items", :fields=> ["category.name", "inventory_items.days_in_inventory_tier", "products.count"], :filters=>{:"category.name"=>"socks"}, :sorts=>["products.count desc 0"], :limit=>"500", :query_timezone=>"America/Los_Angeles", }
```
This will return the result of running the query in the format specified by the 'result_format' parameter.
Supported formats:
| result_format | Description | :-----------: | :--- | | json | Plain json | json_detail | Row data plus metadata describing the fields, pivots, table calcs, and other aspects of the query | csv | Comma separated values with a header | txt | Tab separated values with a header | html | Simple html | md | Simple markdown | xlsx | MS Excel spreadsheet | sql | Returns the generated SQL rather than running the query | png | A PNG image of the visualization of the query | jpg | A JPG image of the visualization of the query
POST /queries/run/{result_format} -> string
**Note**: Binary content may be returned by this method.
func (*LookerSDK) RunLook ¶
func (l *LookerSDK) RunLook(request RequestRunLook, options *rtl.ApiSettings) (string, error)
### Run a Look
Runs a given look's query and returns the results in the requested format.
Supported formats:
| result_format | Description | :-----------: | :--- | | json | Plain json | json_detail | Row data plus metadata describing the fields, pivots, table calcs, and other aspects of the query | csv | Comma separated values with a header | txt | Tab separated values with a header | html | Simple html | md | Simple markdown | xlsx | MS Excel spreadsheet | sql | Returns the generated SQL rather than running the query | png | A PNG image of the visualization of the query | jpg | A JPG image of the visualization of the query
GET /looks/{look_id}/run/{result_format} -> string
**Note**: Binary content may be returned by this method.
func (*LookerSDK) RunLookmlTest ¶
func (l *LookerSDK) RunLookmlTest(request RequestRunLookmlTest, options *rtl.ApiSettings) ([]LookmlTestResult, error)
### Run LookML Tests
Runs all tests in the project, optionally filtered by file, test, and/or model.
GET /projects/{project_id}/lookml_tests/run -> []LookmlTestResult
func (*LookerSDK) RunQuery ¶
func (l *LookerSDK) RunQuery(request RequestRunQuery, options *rtl.ApiSettings) (string, error)
### Run a saved query.
This runs a previously saved query. You can use this on a query that was generated in the Looker UI or one that you have explicitly created using the API. You can also use a query 'id' from a saved 'Look'.
The 'result_format' parameter specifies the desired structure and format of the response.
Supported formats:
| result_format | Description | :-----------: | :--- | | json | Plain json | json_detail | Row data plus metadata describing the fields, pivots, table calcs, and other aspects of the query | csv | Comma separated values with a header | txt | Tab separated values with a header | html | Simple html | md | Simple markdown | xlsx | MS Excel spreadsheet | sql | Returns the generated SQL rather than running the query | png | A PNG image of the visualization of the query | jpg | A JPG image of the visualization of the query
GET /queries/{query_id}/run/{result_format} -> string
**Note**: Binary content may be returned by this method.
func (*LookerSDK) RunSqlQuery ¶
func (l *LookerSDK) RunSqlQuery( slug string, resultFormat string, download string, options *rtl.ApiSettings) (string, error)
Execute a SQL Runner query in a given result_format.
POST /sql_queries/{slug}/run/{result_format} -> string
**Note**: Binary content may be returned by this method.
func (*LookerSDK) RunUrlEncodedQuery ¶
func (l *LookerSDK) RunUrlEncodedQuery( modelName string, viewName string, resultFormat string, options *rtl.ApiSettings) (string, error)
### Run an URL encoded query.
This requires the caller to encode the specifiers for the query into the URL query part using Looker-specific syntax as explained below.
Generally, you would want to use one of the methods that takes the parameters as json in the POST body for creating and/or running queries. This method exists for cases where one really needs to encode the parameters into the URL of a single 'GET' request. This matches the way that the Looker UI formats 'explore' URLs etc.
The parameters here are very similar to the json body formatting except that the filter syntax is tricky. Unfortunately, this format makes this method not currently callable via the 'Try it out!' button in this documentation page. But, this is callable when creating URLs manually or when using the Looker SDK.
Here is an example inline query URL:
When invoking this endpoint with the Ruby SDK, pass the query parameter parts as a hash. The hash to match the above would look like:
```ruby query_params =
{ :fields => "category.name,inventory_items.days_in_inventory_tier,products.count", :"f[category.name]" => "socks", :sorts => "products.count desc 0", :limit => "500", :query_timezone => "America/Los_Angeles" }
response = ruby_sdk.run_url_encoded_query('thelook','inventory_items','json', query_params)
```
Again, it is generally easier to use the variant of this method that passes the full query in the POST body. This method is available for cases where other alternatives won't fit the need.
Supported formats:
| result_format | Description | :-----------: | :--- | | json | Plain json | json_detail | Row data plus metadata describing the fields, pivots, table calcs, and other aspects of the query | csv | Comma separated values with a header | txt | Tab separated values with a header | html | Simple html | md | Simple markdown | xlsx | MS Excel spreadsheet | sql | Returns the generated SQL rather than running the query | png | A PNG image of the visualization of the query | jpg | A JPG image of the visualization of the query
GET /queries/models/{model_name}/views/{view_name}/run/{result_format} -> string
**Note**: Binary content may be returned by this method.
func (*LookerSDK) SamlConfig ¶
func (l *LookerSDK) SamlConfig( options *rtl.ApiSettings) (SamlConfig, error)
### Get the SAML configuration.
Looker can be optionally configured to authenticate users against a SAML authentication server. SAML setup requires coordination with an administrator of that server.
Only Looker administrators can read and update the SAML configuration.
Configuring SAML impacts authentication for all users. This configuration should be done carefully.
Looker maintains a single SAML configuation. It can be read and updated. Updates only succeed if the new state will be valid (in the sense that all required fields are populated); it is up to you to ensure that the configuration is appropriate and correct).
SAML is enabled or disabled for Looker using the **enabled** field.
GET /saml_config -> SamlConfig
func (*LookerSDK) SamlTestConfig ¶
func (l *LookerSDK) SamlTestConfig( testSlug string, options *rtl.ApiSettings) (SamlConfig, error)
### Get a SAML test configuration by test_slug.
GET /saml_test_configs/{test_slug} -> SamlConfig
func (*LookerSDK) ScheduledPlan ¶
func (l *LookerSDK) ScheduledPlan( scheduledPlanId int64, fields string, options *rtl.ApiSettings) (ScheduledPlan, error)
### Get Information About a Scheduled Plan
Admins can fetch information about other users' Scheduled Plans.
GET /scheduled_plans/{scheduled_plan_id} -> ScheduledPlan
func (*LookerSDK) ScheduledPlanRunOnce ¶
func (l *LookerSDK) ScheduledPlanRunOnce( body WriteScheduledPlan, options *rtl.ApiSettings) (ScheduledPlan, error)
### Run a Scheduled Plan Immediately
Create a scheduled plan that runs only once, and immediately.
This can be useful for testing a Scheduled Plan before committing to a production schedule.
Admins can create scheduled plans on behalf of other users by specifying a user id.
This API is rate limited to prevent it from being used for relay spam or DoS attacks ¶
#### Email Permissions:
For details about permissions required to schedule delivery to email and the safeguards Looker offers to protect against sending to unauthorized email destinations, see [Email Domain Whitelist for Scheduled Looks](https://docs.looker.com/r/api/embed-permissions).
#### Scheduled Plan Destination Formats
Scheduled plan destinations must specify the data format to produce and send to the destination.
Formats:
| format | Description | :-----------: | :--- | | json | A JSON object containing a `data` property which contains an array of JSON objects, one per row. No metadata. | json_detail | Row data plus metadata describing the fields, pivots, table calcs, and other aspects of the query | inline_json | Same as the JSON format, except that the `data` property is a string containing JSON-escaped row data. Additional properties describe the data operation. This format is primarily used to send data to web hooks so that the web hook doesn't have to re-encode the JSON row data in order to pass it on to its ultimate destination. | csv | Comma separated values with a header | txt | Tab separated values with a header | html | Simple html | xlsx | MS Excel spreadsheet | wysiwyg_pdf | Dashboard rendered in a tiled layout to produce a PDF document | assembled_pdf | Dashboard rendered in a single column layout to produce a PDF document | wysiwyg_png | Dashboard rendered in a tiled layout to produce a PNG image ||
Valid formats vary by destination type and source object. `wysiwyg_pdf` is only valid for dashboards, for example.
POST /scheduled_plans/run_once -> ScheduledPlan
func (*LookerSDK) ScheduledPlanRunOnceById ¶
func (l *LookerSDK) ScheduledPlanRunOnceById( scheduledPlanId int64, body WriteScheduledPlan, options *rtl.ApiSettings) (ScheduledPlan, error)
### Run a Scheduled Plan By Id Immediately This function creates a run-once schedule plan based on an existing scheduled plan, applies modifications (if any) to the new scheduled plan, and runs the new schedule plan immediately. This can be useful for testing modifications to an existing scheduled plan before committing to a production schedule.
This function internally performs the following operations:
1. Copies the properties of the existing scheduled plan into a new scheduled plan 2. Copies any properties passed in the JSON body of this request into the new scheduled plan (replacing the original values) 3. Creates the new scheduled plan 4. Runs the new scheduled plan
The original scheduled plan is not modified by this operation. Admins can create, modify, and run scheduled plans on behalf of other users by specifying a user id. Non-admins can only create, modify, and run their own scheduled plans.
#### Email Permissions:
For details about permissions required to schedule delivery to email and the safeguards Looker offers to protect against sending to unauthorized email destinations, see [Email Domain Whitelist for Scheduled Looks](https://docs.looker.com/r/api/embed-permissions).
#### Scheduled Plan Destination Formats
Scheduled plan destinations must specify the data format to produce and send to the destination.
Formats:
| format | Description | :-----------: | :--- | | json | A JSON object containing a `data` property which contains an array of JSON objects, one per row. No metadata. | json_detail | Row data plus metadata describing the fields, pivots, table calcs, and other aspects of the query | inline_json | Same as the JSON format, except that the `data` property is a string containing JSON-escaped row data. Additional properties describe the data operation. This format is primarily used to send data to web hooks so that the web hook doesn't have to re-encode the JSON row data in order to pass it on to its ultimate destination. | csv | Comma separated values with a header | txt | Tab separated values with a header | html | Simple html | xlsx | MS Excel spreadsheet | wysiwyg_pdf | Dashboard rendered in a tiled layout to produce a PDF document | assembled_pdf | Dashboard rendered in a single column layout to produce a PDF document | wysiwyg_png | Dashboard rendered in a tiled layout to produce a PNG image ||
Valid formats vary by destination type and source object. `wysiwyg_pdf` is only valid for dashboards, for example.
This API is rate limited to prevent it from being used for relay spam or DoS attacks ¶
POST /scheduled_plans/{scheduled_plan_id}/run_once -> ScheduledPlan
func (*LookerSDK) ScheduledPlansForDashboard ¶
func (l *LookerSDK) ScheduledPlansForDashboard(request RequestScheduledPlansForDashboard, options *rtl.ApiSettings) ([]ScheduledPlan, error)
### Get Scheduled Plans for a Dashboard
Returns all scheduled plans for a dashboard which belong to the caller or given user.
If no user_id is provided, this function returns the scheduled plans owned by the caller.
To list all schedules for all users, pass `all_users=true`.
The caller must have `see_schedules` permission to see other users' scheduled plans.
GET /scheduled_plans/dashboard/{dashboard_id} -> []ScheduledPlan
func (*LookerSDK) ScheduledPlansForLook ¶
func (l *LookerSDK) ScheduledPlansForLook(request RequestScheduledPlansForLook, options *rtl.ApiSettings) ([]ScheduledPlan, error)
### Get Scheduled Plans for a Look
Returns all scheduled plans for a look which belong to the caller or given user.
If no user_id is provided, this function returns the scheduled plans owned by the caller.
To list all schedules for all users, pass `all_users=true`.
The caller must have `see_schedules` permission to see other users' scheduled plans.
GET /scheduled_plans/look/{look_id} -> []ScheduledPlan
func (*LookerSDK) ScheduledPlansForLookmlDashboard ¶
func (l *LookerSDK) ScheduledPlansForLookmlDashboard(request RequestScheduledPlansForLookmlDashboard, options *rtl.ApiSettings) ([]ScheduledPlan, error)
### Get Scheduled Plans for a LookML Dashboard
Returns all scheduled plans for a LookML Dashboard which belong to the caller or given user.
If no user_id is provided, this function returns the scheduled plans owned by the caller.
To list all schedules for all users, pass `all_users=true`.
The caller must have `see_schedules` permission to see other users' scheduled plans.
GET /scheduled_plans/lookml_dashboard/{lookml_dashboard_id} -> []ScheduledPlan
func (*LookerSDK) ScheduledPlansForSpace ¶
func (l *LookerSDK) ScheduledPlansForSpace( spaceId int64, fields string, options *rtl.ApiSettings) ([]ScheduledPlan, error)
### Get Scheduled Plans for a Space
Returns scheduled plans owned by the caller for a given space id.
GET /scheduled_plans/space/{space_id} -> []ScheduledPlan
func (*LookerSDK) SearchContentFavorites ¶
func (l *LookerSDK) SearchContentFavorites(request RequestSearchContentFavorites, options *rtl.ApiSettings) ([]ContentFavorite, error)
### Search Favorite Content
If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
GET /content_favorite/search -> []ContentFavorite
func (*LookerSDK) SearchContentViews ¶
func (l *LookerSDK) SearchContentViews(request RequestSearchContentViews, options *rtl.ApiSettings) ([]ContentView, error)
### Search Content Views
If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
GET /content_view/search -> []ContentView
func (*LookerSDK) SearchDashboardElements ¶
func (l *LookerSDK) SearchDashboardElements(request RequestSearchDashboardElements, options *rtl.ApiSettings) ([]DashboardElement, error)
### Search Dashboard Elements
Returns an **array of DashboardElement objects** that match the specified search criteria.
If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
GET /dashboard_elements/search -> []DashboardElement
func (*LookerSDK) SearchDashboards ¶
func (l *LookerSDK) SearchDashboards(request RequestSearchDashboards, options *rtl.ApiSettings) ([]Dashboard, error)
### Search Dashboards
Returns an **array of dashboard objects** that match the specified search criteria.
If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
The parameters `limit`, and `offset` are recommended for fetching results in page-size chunks.
Get a **single dashboard** by id with [dashboard()](#!/Dashboard/dashboard)
GET /dashboards/search -> []Dashboard
func (*LookerSDK) SearchFolders ¶
func (l *LookerSDK) SearchFolders(request RequestSearchSpaces, options *rtl.ApiSettings) ([]Folder, error)
Search for folders by creator id, parent id, name, etc
GET /folders/search -> []Folder
func (*LookerSDK) SearchGroups ¶
func (l *LookerSDK) SearchGroups(request RequestSearchGroups, options *rtl.ApiSettings) ([]Group, error)
### Search groups
Returns all group records that match the given search criteria.
If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
GET /groups/search -> []Group
func (*LookerSDK) SearchHomepages ¶
func (l *LookerSDK) SearchHomepages(request RequestSearchHomepages, options *rtl.ApiSettings) ([]Homepage, error)
### Search Homepages
If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
GET /homepages/search -> []Homepage
func (*LookerSDK) SearchLooks ¶
func (l *LookerSDK) SearchLooks(request RequestSearchLooks, options *rtl.ApiSettings) ([]Look, error)
### Search Looks
Returns an **array of Look objects** that match the specified search criteria.
If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
Get a **single look** by id with [look(id)](#!/Look/look)
GET /looks/search -> []Look
func (*LookerSDK) SearchModelSets ¶
func (l *LookerSDK) SearchModelSets(request RequestSearchModelSets, options *rtl.ApiSettings) ([]ModelSet, error)
### Search model sets Returns all model set records that match the given search criteria. If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
GET /model_sets/search -> []ModelSet
func (*LookerSDK) SearchPermissionSets ¶
func (l *LookerSDK) SearchPermissionSets(request RequestSearchModelSets, options *rtl.ApiSettings) ([]PermissionSet, error)
### Search permission sets Returns all permission set records that match the given search criteria. If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
GET /permission_sets/search -> []PermissionSet
func (*LookerSDK) SearchRoles ¶
func (l *LookerSDK) SearchRoles(request RequestSearchRoles, options *rtl.ApiSettings) ([]Role, error)
### Search roles
Returns all role records that match the given search criteria.
If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
GET /roles/search -> []Role
func (*LookerSDK) SearchSpaces ¶
func (l *LookerSDK) SearchSpaces(request RequestSearchSpaces, options *rtl.ApiSettings) ([]Space, error)
### Search Spaces
Returns an **array of space objects** that match the given search criteria. If multiple search params are given and `filter_or` is FALSE or not specified,
search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
The parameters `limit`, and `offset` are recommended for fetching results in page-size chunks. Get a **single space** by id with [Space](#!/Space/space)
GET /spaces/search -> []Space
func (*LookerSDK) SearchThemes ¶
func (l *LookerSDK) SearchThemes(request RequestSearchThemes, options *rtl.ApiSettings) ([]Theme, error)
### Search all themes for matching criteria.
Returns an **array of theme objects** that match the specified search criteria.
| Search Parameters | Description | :-------------------: | :------ | | `begin_at` only | Find themes active at or after `begin_at` | `end_at` only | Find themes active at or before `end_at` | both set | Find themes with an active inclusive period between `begin_at` and `end_at`
Note: Range matching requires boolean AND logic. When using `begin_at` and `end_at` together, do not use `filter_or`=TRUE
If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
Get a **single theme** by id with Theme(#!/Theme/theme)
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
GET /themes/search -> []Theme
func (*LookerSDK) SearchUserLoginLockouts ¶
func (l *LookerSDK) SearchUserLoginLockouts(request RequestSearchUserLoginLockouts, options *rtl.ApiSettings) ([]UserLoginLockout, error)
### Search currently locked-out users.
GET /user_login_lockouts/search -> []UserLoginLockout
func (*LookerSDK) SearchUsers ¶
func (l *LookerSDK) SearchUsers(request RequestSearchUsers, options *rtl.ApiSettings) ([]User, error)
### Search users
Returns all<sup>*</sup> user records that match the given search criteria.
If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
(<sup>*</sup>) Results are always filtered to the level of information the caller is permitted to view. Looker admins can see all user details; normal users in an open system can see names of other users but no details; normal users in a closed system can only see names of other users who are members of the same group as the user.
GET /users/search -> []User
func (*LookerSDK) SearchUsersNames ¶
func (l *LookerSDK) SearchUsersNames(request RequestSearchUsersNames, options *rtl.ApiSettings) ([]User, error)
### Search for user accounts by name
Returns all user accounts where `first_name` OR `last_name` OR `email` field values match a pattern. The pattern can contain `%` and `_` wildcards as in SQL LIKE expressions.
Any additional search params will be combined into a logical AND expression.
GET /users/search/names/{pattern} -> []User
func (*LookerSDK) Session ¶
func (l *LookerSDK) Session( options *rtl.ApiSettings) (ApiSession, error)
### Get API Session
Returns information about the current API session, such as which workspace is selected for the session.
GET /session -> ApiSession
func (*LookerSDK) SessionConfig ¶
func (l *LookerSDK) SessionConfig( options *rtl.ApiSettings) (SessionConfig, error)
### Get session config.
GET /session_config -> SessionConfig
func (*LookerSDK) SetDefaultColorCollection ¶
func (l *LookerSDK) SetDefaultColorCollection( collectionId string, options *rtl.ApiSettings) (ColorCollection, error)
### Set the global default Color Collection by ID
Returns the new specified default Color Collection object. **Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.
PUT /color_collections/default -> ColorCollection
func (*LookerSDK) SetDefaultTheme ¶
### Set the global default theme by theme name
Only Admin users can call this function.
Only an active theme with no expiration (`end_at` not set) can be assigned as the default theme. As long as a theme has an active record with no expiration, it can be set as the default.
[Create Theme](#!/Theme/create) has detailed information on rules for default and active themes
Returns the new specified default theme object.
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
PUT /themes/default -> Theme
func (*LookerSDK) SetRoleGroups ¶
func (l *LookerSDK) SetRoleGroups( roleId int64, body []int64, options *rtl.ApiSettings) ([]Group, error)
### Set all groups for a role, removing all existing group associations from that role.
PUT /roles/{role_id}/groups -> []Group
func (*LookerSDK) SetRoleUsers ¶
func (l *LookerSDK) SetRoleUsers( roleId int64, body []int64, options *rtl.ApiSettings) ([]User, error)
### Set all the users of the role with a specific id.
PUT /roles/{role_id}/users -> []User
func (*LookerSDK) SetUserAttributeGroupValues ¶
func (l *LookerSDK) SetUserAttributeGroupValues( userAttributeId int64, body []UserAttributeGroupValue, options *rtl.ApiSettings) ([]UserAttributeGroupValue, error)
### Define values for a user attribute across a set of groups, in priority order.
This function defines all values for a user attribute defined by user groups. This is a global setting, potentially affecting all users in the system. This function replaces any existing group value definitions for the indicated user attribute.
The value of a user attribute for a given user is determined by searching the following locations, in this order:
1. the user's account settings 2. the groups that the user is a member of 3. the default value of the user attribute, if any
The user may be a member of multiple groups which define different values for that user attribute. The order of items in the group_values parameter determines which group takes priority for that user. Lowest array index wins.
An alternate method to indicate the selection precedence of group-values is to assign numbers to the 'rank' property of each group-value object in the array. Lowest 'rank' value wins. If you use this technique, you must assign a rank value to every group-value object in the array.
To set a user attribute value for a single user, see [Set User Attribute User Value](#!/User/set_user_attribute_user_value).
To set a user attribute value for all members of a group, see [Set User Attribute Group Value](#!/Group/update_user_attribute_group_value).
POST /user_attributes/{user_attribute_id}/group_values -> []UserAttributeGroupValue
func (*LookerSDK) SetUserAttributeUserValue ¶
func (l *LookerSDK) SetUserAttributeUserValue( userId int64, userAttributeId int64, body WriteUserAttributeWithValue, options *rtl.ApiSettings) (UserAttributeWithValue, error)
### Store a custom value for a user attribute in a user's account settings.
Per-user user attribute values take precedence over group or default values.
PATCH /users/{user_id}/attribute_values/{user_attribute_id} -> UserAttributeWithValue
func (*LookerSDK) SetUserRoles ¶
func (l *LookerSDK) SetUserRoles( userId int64, body []int64, fields string, options *rtl.ApiSettings) ([]Role, error)
### Set roles of the user with a specific id.
PUT /users/{user_id}/roles -> []Role
func (*LookerSDK) Space ¶
### Get information about the space with a specific id.
GET /spaces/{space_id} -> Space
func (*LookerSDK) SpaceAncestors ¶
func (l *LookerSDK) SpaceAncestors( spaceId string, fields string, options *rtl.ApiSettings) ([]Space, error)
### Get the ancestors of a space
GET /spaces/{space_id}/ancestors -> []Space
func (*LookerSDK) SpaceChildren ¶
func (l *LookerSDK) SpaceChildren(request RequestSpaceChildren, options *rtl.ApiSettings) ([]Space, error)
### Get the children of a space.
GET /spaces/{space_id}/children -> []Space
func (*LookerSDK) SpaceChildrenSearch ¶
func (l *LookerSDK) SpaceChildrenSearch(request RequestSpaceChildrenSearch, options *rtl.ApiSettings) ([]Space, error)
### Search the children of a space
GET /spaces/{space_id}/children/search -> []Space
func (*LookerSDK) SpaceDashboards ¶
func (l *LookerSDK) SpaceDashboards( spaceId string, fields string, options *rtl.ApiSettings) ([]Dashboard, error)
### Get the dashboards in a space
GET /spaces/{space_id}/dashboards -> []Dashboard
func (*LookerSDK) SpaceLooks ¶
func (l *LookerSDK) SpaceLooks( spaceId string, fields string, options *rtl.ApiSettings) ([]LookWithQuery, error)
### Get all looks in a space. In API 3.x, this will return all looks in a space, including looks in the trash. In API 4.0+, all looks in a space will be returned, excluding looks in the trash.
GET /spaces/{space_id}/looks -> []LookWithQuery
func (*LookerSDK) SpaceParent ¶
func (l *LookerSDK) SpaceParent( spaceId string, fields string, options *rtl.ApiSettings) (Space, error)
### Get the parent of a space
GET /spaces/{space_id}/parent -> Space
func (*LookerSDK) SyncLookmlDashboard ¶
func (l *LookerSDK) SyncLookmlDashboard( lookmlDashboardId string, body WriteDashboard, rawLocale bool, options *rtl.ApiSettings) ([]int64, error)
### Update all linked dashboards to match the specified LookML dashboard.
Any UDD (a dashboard which exists in the Looker database rather than as a LookML file) which has a `lookml_link_id` property value referring to a LookML dashboard's id (model::dashboardname) will be updated so that it matches the current state of the LookML dashboard.
For this operation to succeed the user must have permission to view the LookML dashboard, and only linked dashboards that the user has permission to update will be synced.
To **link** or **unlink** a UDD set the `lookml_link_id` property with [update_dashboard()](#!/Dashboard/update_dashboard)
PATCH /dashboards/{lookml_dashboard_id}/sync -> []int64
func (*LookerSDK) TestConnection ¶
func (l *LookerSDK) TestConnection( connectionName string, tests rtl.DelimString, options *rtl.ApiSettings) ([]DBConnectionTestResult, error)
### Test an existing connection.
Note that a connection's 'dialect' property has a 'connection_tests' property that lists the specific types of tests that the connection supports.
This API is rate limited.
Unsupported tests in the request will be ignored.
PUT /connections/{connection_name}/test -> []DBConnectionTestResult
func (*LookerSDK) TestConnectionConfig ¶
func (l *LookerSDK) TestConnectionConfig( body WriteDBConnection, tests rtl.DelimString, options *rtl.ApiSettings) ([]DBConnectionTestResult, error)
### Test a connection configuration.
Note that a connection's 'dialect' property has a 'connection_tests' property that lists the specific types of tests that the connection supports.
This API is rate limited.
Unsupported tests in the request will be ignored.
PUT /connections/test -> []DBConnectionTestResult
func (*LookerSDK) TestIntegration ¶
func (l *LookerSDK) TestIntegration( integrationId string, options *rtl.ApiSettings) (IntegrationTestResult, error)
Tests the integration to make sure all the settings are working.
POST /integrations/{integration_id}/test -> IntegrationTestResult
func (*LookerSDK) TestLdapConfigAuth ¶
func (l *LookerSDK) TestLdapConfigAuth( body WriteLDAPConfig, options *rtl.ApiSettings) (LDAPConfigTestResult, error)
### Test the connection authentication settings for an LDAP configuration.
This tests that the connection is possible and that a 'server' account to be used by Looker can authenticate to the LDAP server given connection and authentication information.
**connection_host**, **connection_port**, and **auth_username**, are required. **connection_tls** and **auth_password** are optional.
Example: ```json
{ "connection_host": "ldap.example.com", "connection_port": "636", "connection_tls": true, "auth_username": "cn=looker,dc=example,dc=com", "auth_password": "secret" }
```
Looker will never return an **auth_password**. If this request omits the **auth_password** field, then the **auth_password** value from the active config (if present) will be used for the test.
The active LDAP settings are not modified.
PUT /ldap_config/test_auth -> LDAPConfigTestResult
func (*LookerSDK) TestLdapConfigConnection ¶
func (l *LookerSDK) TestLdapConfigConnection( body WriteLDAPConfig, options *rtl.ApiSettings) (LDAPConfigTestResult, error)
### Test the connection settings for an LDAP configuration.
This tests that the connection is possible given a connection_host and connection_port.
**connection_host** and **connection_port** are required. **connection_tls** is optional.
Example: ```json
{ "connection_host": "ldap.example.com", "connection_port": "636", "connection_tls": true }
```
No authentication to the LDAP server is attempted.
The active LDAP settings are not modified.
PUT /ldap_config/test_connection -> LDAPConfigTestResult
func (*LookerSDK) TestLdapConfigUserAuth ¶
func (l *LookerSDK) TestLdapConfigUserAuth( body WriteLDAPConfig, options *rtl.ApiSettings) (LDAPConfigTestResult, error)
### Test the user authentication settings for an LDAP configuration.
This test accepts a full LDAP configuration along with a username/password pair and attempts to authenticate the user with the LDAP server. The configuration is validated before attempting the authentication.
Looker will never return an **auth_password**. If this request omits the **auth_password** field, then the **auth_password** value from the active config (if present) will be used for the test.
**test_ldap_user** and **test_ldap_password** are required.
The active LDAP settings are not modified.
PUT /ldap_config/test_user_auth -> LDAPConfigTestResult
func (*LookerSDK) TestLdapConfigUserInfo ¶
func (l *LookerSDK) TestLdapConfigUserInfo( body WriteLDAPConfig, options *rtl.ApiSettings) (LDAPConfigTestResult, error)
### Test the user authentication settings for an LDAP configuration without authenticating the user.
This test will let you easily test the mapping for user properties and roles for any user without needing to authenticate as that user.
This test accepts a full LDAP configuration along with a username and attempts to find the full info for the user from the LDAP server without actually authenticating the user. So, user password is not required.The configuration is validated before attempting to contact the server.
**test_ldap_user** is required.
The active LDAP settings are not modified.
PUT /ldap_config/test_user_info -> LDAPConfigTestResult
func (*LookerSDK) Theme ¶
### Get a theme by ID
Use this to retrieve a specific theme, whether or not it's currently active.
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
GET /themes/{theme_id} -> Theme
func (*LookerSDK) ThemeOrDefault ¶
func (l *LookerSDK) ThemeOrDefault( name string, ts time.Time, options *rtl.ApiSettings) (Theme, error)
### Get the named theme if it's active. Otherwise, return the default theme
The optional `ts` parameter can specify a different timestamp than "now." Note: API users with `show` ability can call this function
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
GET /themes/theme_or_default -> Theme
func (*LookerSDK) UpdateBackupConfiguration ¶
func (l *LookerSDK) UpdateBackupConfiguration( body WriteBackupConfiguration, options *rtl.ApiSettings) (BackupConfiguration, error)
### WARNING: The Looker internal database backup function has been deprecated.
PATCH /backup_configuration -> BackupConfiguration
func (*LookerSDK) UpdateCloudStorageConfiguration ¶
func (l *LookerSDK) UpdateCloudStorageConfiguration( body WriteBackupConfiguration, options *rtl.ApiSettings) (BackupConfiguration, error)
Update the current Cloud Storage Configuration.
PATCH /cloud_storage -> BackupConfiguration
func (*LookerSDK) UpdateColorCollection ¶
func (l *LookerSDK) UpdateColorCollection( collectionId string, body WriteColorCollection, options *rtl.ApiSettings) (ColorCollection, error)
### Update a custom color collection by id. **Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.
PATCH /color_collections/{collection_id} -> ColorCollection
func (*LookerSDK) UpdateConnection ¶
func (l *LookerSDK) UpdateConnection( connectionName string, body WriteDBConnection, options *rtl.ApiSettings) (DBConnection, error)
### Update a connection using the specified configuration.
PATCH /connections/{connection_name} -> DBConnection
func (*LookerSDK) UpdateContentMetadata ¶
func (l *LookerSDK) UpdateContentMetadata( contentMetadataId int64, body WriteContentMeta, options *rtl.ApiSettings) (ContentMeta, error)
### Move a piece of content.
PATCH /content_metadata/{content_metadata_id} -> ContentMeta
func (*LookerSDK) UpdateContentMetadataAccess ¶
func (l *LookerSDK) UpdateContentMetadataAccess( contentMetadataAccessId int64, body ContentMetaGroupUser, options *rtl.ApiSettings) (ContentMetaGroupUser, error)
### Update type of access for content metadata.
PUT /content_metadata_access/{content_metadata_access_id} -> ContentMetaGroupUser
func (*LookerSDK) UpdateCustomWelcomeEmail ¶
func (l *LookerSDK) UpdateCustomWelcomeEmail( body WriteCustomWelcomeEmail, sendTestWelcomeEmail bool, options *rtl.ApiSettings) (CustomWelcomeEmail, error)
Update custom welcome email setting and values. Optionally send a test email with the new content to the currently logged in user.
PATCH /custom_welcome_email -> CustomWelcomeEmail
func (*LookerSDK) UpdateCustomWelcomeEmailTest ¶
func (l *LookerSDK) UpdateCustomWelcomeEmailTest( body WelcomeEmailTest, options *rtl.ApiSettings) (WelcomeEmailTest, error)
Requests to this endpoint will send a welcome email with the custom content provided in the body to the currently logged in user.
PUT /custom_welcome_email_test -> WelcomeEmailTest
func (*LookerSDK) UpdateDashboard ¶
func (l *LookerSDK) UpdateDashboard( dashboardId string, body WriteDashboard, options *rtl.ApiSettings) (Dashboard, error)
### Update a dashboard
You can use this function to change the string and integer properties of a dashboard. Nested objects such as filters, dashboard elements, or dashboard layout components cannot be modified by this function - use the update functions for the respective nested object types (like [update_dashboard_filter()](#!/3.1/Dashboard/update_dashboard_filter) to change a filter) to modify nested objects referenced by a dashboard.
If you receive a 422 error response when updating a dashboard, be sure to look at the response body for information about exactly which fields are missing or contain invalid data.
PATCH /dashboards/{dashboard_id} -> Dashboard
func (*LookerSDK) UpdateDashboardElement ¶
func (l *LookerSDK) UpdateDashboardElement( dashboardElementId string, body WriteDashboardElement, fields string, options *rtl.ApiSettings) (DashboardElement, error)
### Update the dashboard element with a specific id.
PATCH /dashboard_elements/{dashboard_element_id} -> DashboardElement
func (*LookerSDK) UpdateDashboardFilter ¶
func (l *LookerSDK) UpdateDashboardFilter( dashboardFilterId string, body WriteDashboardFilter, fields string, options *rtl.ApiSettings) (DashboardFilter, error)
### Update the dashboard filter with a specific id.
PATCH /dashboard_filters/{dashboard_filter_id} -> DashboardFilter
func (*LookerSDK) UpdateDashboardLayout ¶
func (l *LookerSDK) UpdateDashboardLayout( dashboardLayoutId string, body WriteDashboardLayout, fields string, options *rtl.ApiSettings) (DashboardLayout, error)
### Update the dashboard layout with a specific id.
PATCH /dashboard_layouts/{dashboard_layout_id} -> DashboardLayout
func (*LookerSDK) UpdateDashboardLayoutComponent ¶
func (l *LookerSDK) UpdateDashboardLayoutComponent( dashboardLayoutComponentId string, body WriteDashboardLayoutComponent, fields string, options *rtl.ApiSettings) (DashboardLayoutComponent, error)
### Update the dashboard element with a specific id.
PATCH /dashboard_layout_components/{dashboard_layout_component_id} -> DashboardLayoutComponent
func (*LookerSDK) UpdateDatagroup ¶
func (l *LookerSDK) UpdateDatagroup( datagroupId string, body WriteDatagroup, options *rtl.ApiSettings) (Datagroup, error)
### Update a datagroup using the specified params.
PATCH /datagroups/{datagroup_id} -> Datagroup
func (*LookerSDK) UpdateDigestEmailsEnabled ¶
func (l *LookerSDK) UpdateDigestEmailsEnabled( body DigestEmails, options *rtl.ApiSettings) (DigestEmails, error)
### Update the setting for enabling/disabling digest emails
PATCH /digest_emails_enabled -> DigestEmails
func (*LookerSDK) UpdateFolder ¶
func (l *LookerSDK) UpdateFolder( folderId string, body UpdateFolder, options *rtl.ApiSettings) (Folder, error)
### Update the folder with a specific id.
PATCH /folders/{folder_id} -> Folder
func (*LookerSDK) UpdateGitBranch ¶
func (l *LookerSDK) UpdateGitBranch( projectId string, body WriteGitBranch, options *rtl.ApiSettings) (GitBranch, error)
### Checkout and/or reset --hard an existing Git Branch
Only allowed in development mode
- Call `update_session` to select the 'dev' workspace.
Checkout an existing branch if name field is different from the name of the currently checked out branch.
Optionally specify a branch name, tag name or commit SHA to which the branch should be reset.
**DANGER** hard reset will be force pushed to the remote. Unsaved changes and commits may be permanently lost.
PUT /projects/{project_id}/git_branch -> GitBranch
func (*LookerSDK) UpdateGroup ¶
func (l *LookerSDK) UpdateGroup( groupId int64, body WriteGroup, fields string, options *rtl.ApiSettings) (Group, error)
### Updates the a group (admin only).
PATCH /groups/{group_id} -> Group
func (*LookerSDK) UpdateHomepage ¶
func (l *LookerSDK) UpdateHomepage( homepageId int64, body WriteHomepage, fields string, options *rtl.ApiSettings) (Homepage, error)
### Update a homepage definition.
PATCH /homepages/{homepage_id} -> Homepage
func (*LookerSDK) UpdateHomepageItem ¶
func (l *LookerSDK) UpdateHomepageItem( homepageItemId int64, body WriteHomepageItem, fields string, options *rtl.ApiSettings) (HomepageItem, error)
### Update a homepage item definition.
PATCH /homepage_items/{homepage_item_id} -> HomepageItem
func (*LookerSDK) UpdateHomepageSection ¶
func (l *LookerSDK) UpdateHomepageSection( homepageSectionId int64, body WriteHomepageSection, fields string, options *rtl.ApiSettings) (HomepageSection, error)
### Update a homepage section definition.
PATCH /homepage_sections/{homepage_section_id} -> HomepageSection
func (*LookerSDK) UpdateIntegration ¶
func (l *LookerSDK) UpdateIntegration( integrationId string, body WriteIntegration, fields string, options *rtl.ApiSettings) (Integration, error)
### Update parameters on a Integration.
PATCH /integrations/{integration_id} -> Integration
func (*LookerSDK) UpdateIntegrationHub ¶
func (l *LookerSDK) UpdateIntegrationHub( integrationHubId int64, body WriteIntegrationHub, fields string, options *rtl.ApiSettings) (IntegrationHub, error)
### Update a Integration Hub definition.
This API is rate limited to prevent it from being used for SSRF attacks ¶
PATCH /integration_hubs/{integration_hub_id} -> IntegrationHub
func (*LookerSDK) UpdateInternalHelpResources ¶
func (l *LookerSDK) UpdateInternalHelpResources( body WriteInternalHelpResources, options *rtl.ApiSettings) (InternalHelpResources, error)
Update internal help resources settings
PATCH /internal_help_resources -> InternalHelpResources
func (*LookerSDK) UpdateInternalHelpResourcesContent ¶
func (l *LookerSDK) UpdateInternalHelpResourcesContent( body WriteInternalHelpResourcesContent, options *rtl.ApiSettings) (InternalHelpResourcesContent, error)
Update internal help resources content
PATCH /internal_help_resources_content -> InternalHelpResourcesContent
func (*LookerSDK) UpdateLdapConfig ¶
func (l *LookerSDK) UpdateLdapConfig( body WriteLDAPConfig, options *rtl.ApiSettings) (LDAPConfig, error)
### Update the LDAP configuration.
Configuring LDAP impacts authentication for all users. This configuration should be done carefully.
Only Looker administrators can read and update the LDAP configuration.
LDAP is enabled or disabled for Looker using the **enabled** field.
It is **highly** recommended that any LDAP setting changes be tested using the APIs below before being set globally.
See the [Looker LDAP docs](https://www.looker.com/docs/r/api/ldap_setup) for additional information.
PATCH /ldap_config -> LDAPConfig
func (*LookerSDK) UpdateLegacyFeature ¶
func (l *LookerSDK) UpdateLegacyFeature( legacyFeatureId int64, body WriteLegacyFeature, options *rtl.ApiSettings) (LegacyFeature, error)
### Update information about the legacy feature with a specific id.
PATCH /legacy_features/{legacy_feature_id} -> LegacyFeature
func (*LookerSDK) UpdateLook ¶
func (l *LookerSDK) UpdateLook( lookId int64, body WriteLookWithQuery, fields string, options *rtl.ApiSettings) (LookWithQuery, error)
### Modify a Look
Use this function to modify parts of a look. Property values given in a call to `update_look` are applied to the existing look, so there's no need to include properties whose values are not changing. It's best to specify only the properties you want to change and leave everything else out of your `update_look` call. **Look properties marked 'read-only' will be ignored.**
When a user deletes a look in the Looker UI, the look data remains in the database but is marked with a deleted flag ("soft-deleted"). Soft-deleted looks can be undeleted (by an admin) if the delete was in error.
To soft-delete a look via the API, use [update_look()](#!/Look/update_look) to change the look's `deleted` property to `true`. You can undelete a look by calling `update_look` to change the look's `deleted` property to `false`.
Soft-deleted looks are excluded from the results of [all_looks()](#!/Look/all_looks) and [search_looks()](#!/Look/search_looks), so they essentially disappear from view even though they still reside in the db. In API 3.1 and later, you can pass `deleted: true` as a parameter to [search_looks()](#!/3.1/Look/search_looks) to list soft-deleted looks.
NOTE: [delete_look()](#!/Look/delete_look) performs a "hard delete" - the look data is removed from the Looker database and destroyed. There is no "undo" for `delete_look()`.
PATCH /looks/{look_id} -> LookWithQuery
func (*LookerSDK) UpdateLookmlModel ¶
func (l *LookerSDK) UpdateLookmlModel( lookmlModelName string, body WriteLookmlModel, options *rtl.ApiSettings) (LookmlModel, error)
### Update a lookml model using the specified configuration.
PATCH /lookml_models/{lookml_model_name} -> LookmlModel
func (*LookerSDK) UpdateModelSet ¶
func (l *LookerSDK) UpdateModelSet( modelSetId int64, body WriteModelSet, options *rtl.ApiSettings) (ModelSet, error)
### Update information about the model set with a specific id.
PATCH /model_sets/{model_set_id} -> ModelSet
func (*LookerSDK) UpdateOidcConfig ¶
func (l *LookerSDK) UpdateOidcConfig( body WriteOIDCConfig, options *rtl.ApiSettings) (OIDCConfig, error)
### Update the OIDC configuration.
Configuring OIDC impacts authentication for all users. This configuration should be done carefully.
Only Looker administrators can read and update the OIDC configuration.
OIDC is enabled or disabled for Looker using the **enabled** field.
It is **highly** recommended that any OIDC setting changes be tested using the APIs below before being set globally.
PATCH /oidc_config -> OIDCConfig
func (*LookerSDK) UpdatePasswordConfig ¶
func (l *LookerSDK) UpdatePasswordConfig( body WritePasswordConfig, options *rtl.ApiSettings) (PasswordConfig, error)
### Update password config.
PATCH /password_config -> PasswordConfig
func (*LookerSDK) UpdatePermissionSet ¶
func (l *LookerSDK) UpdatePermissionSet( permissionSetId int64, body WritePermissionSet, options *rtl.ApiSettings) (PermissionSet, error)
### Update information about the permission set with a specific id.
PATCH /permission_sets/{permission_set_id} -> PermissionSet
func (*LookerSDK) UpdateProject ¶
func (l *LookerSDK) UpdateProject( projectId string, body WriteProject, fields string, options *rtl.ApiSettings) (Project, error)
### Update Project Configuration
Apply changes to a project's configuration.
#### Configuring Git for a Project
To set up a Looker project with a remote git repository, follow these steps:
1. Call `update_session` to select the 'dev' workspace. 1. Call `create_git_deploy_key` to create a new deploy key for the project 1. Copy the deploy key text into the remote git repository's ssh key configuration 1. Call `update_project` to set project's `git_remote_url` ()and `git_service_name`, if necessary).
When you modify a project's `git_remote_url`, Looker connects to the remote repository to fetch metadata. The remote git repository MUST be configured with the Looker-generated deploy key for this project prior to setting the project's `git_remote_url`.
To set up a Looker project with a git repository residing on the Looker server (a 'bare' git repo):
1. Call `update_session` to select the 'dev' workspace. 1. Call `update_project` setting `git_remote_url` to null and `git_service_name` to "bare".
PATCH /projects/{project_id} -> Project
func (*LookerSDK) UpdateRepositoryCredential ¶
func (l *LookerSDK) UpdateRepositoryCredential( rootProjectId string, credentialId string, body WriteRepositoryCredential, options *rtl.ApiSettings) (RepositoryCredential, error)
### Configure Repository Credential for a remote dependency
Admin required.
`root_project_id` is required. `credential_id` is required.
PUT /projects/{root_project_id}/credential/{credential_id} -> RepositoryCredential
func (*LookerSDK) UpdateRole ¶
func (l *LookerSDK) UpdateRole( roleId int64, body WriteRole, options *rtl.ApiSettings) (Role, error)
### Update information about the role with a specific id.
PATCH /roles/{role_id} -> Role
func (*LookerSDK) UpdateSamlConfig ¶
func (l *LookerSDK) UpdateSamlConfig( body WriteSamlConfig, options *rtl.ApiSettings) (SamlConfig, error)
### Update the SAML configuration.
Configuring SAML impacts authentication for all users. This configuration should be done carefully.
Only Looker administrators can read and update the SAML configuration.
SAML is enabled or disabled for Looker using the **enabled** field.
It is **highly** recommended that any SAML setting changes be tested using the APIs below before being set globally.
PATCH /saml_config -> SamlConfig
func (*LookerSDK) UpdateScheduledPlan ¶
func (l *LookerSDK) UpdateScheduledPlan( scheduledPlanId int64, body WriteScheduledPlan, options *rtl.ApiSettings) (ScheduledPlan, error)
### Update a Scheduled Plan
Admins can update other users' Scheduled Plans.
Note: Any scheduled plan destinations specified in an update will **replace** all scheduled plan destinations currently defined for the scheduled plan.
For Example: If a scheduled plan has destinations A, B, and C, and you call update on this scheduled plan specifying only B in the destinations, then destinations A and C will be deleted by the update.
Updating a scheduled plan to assign null or an empty array to the scheduled_plan_destinations property is an error, as a scheduled plan must always have at least one destination.
If you omit the scheduled_plan_destinations property from the object passed to update, then the destinations defined on the original scheduled plan will remain unchanged.
#### Email Permissions:
For details about permissions required to schedule delivery to email and the safeguards Looker offers to protect against sending to unauthorized email destinations, see [Email Domain Whitelist for Scheduled Looks](https://docs.looker.com/r/api/embed-permissions).
#### Scheduled Plan Destination Formats
Scheduled plan destinations must specify the data format to produce and send to the destination.
Formats:
| format | Description | :-----------: | :--- | | json | A JSON object containing a `data` property which contains an array of JSON objects, one per row. No metadata. | json_detail | Row data plus metadata describing the fields, pivots, table calcs, and other aspects of the query | inline_json | Same as the JSON format, except that the `data` property is a string containing JSON-escaped row data. Additional properties describe the data operation. This format is primarily used to send data to web hooks so that the web hook doesn't have to re-encode the JSON row data in order to pass it on to its ultimate destination. | csv | Comma separated values with a header | txt | Tab separated values with a header | html | Simple html | xlsx | MS Excel spreadsheet | wysiwyg_pdf | Dashboard rendered in a tiled layout to produce a PDF document | assembled_pdf | Dashboard rendered in a single column layout to produce a PDF document | wysiwyg_png | Dashboard rendered in a tiled layout to produce a PNG image ||
Valid formats vary by destination type and source object. `wysiwyg_pdf` is only valid for dashboards, for example.
PATCH /scheduled_plans/{scheduled_plan_id} -> ScheduledPlan
func (*LookerSDK) UpdateSession ¶
func (l *LookerSDK) UpdateSession( body WriteApiSession, options *rtl.ApiSettings) (ApiSession, error)
### Update API Session
#### API Session Workspace
You can use this endpoint to change the active workspace for the current API session.
Only one workspace can be active in a session. The active workspace can be changed any number of times in a session.
The default workspace for API sessions is the "production" workspace.
All Looker APIs that use projects or lookml models (such as running queries) will use the version of project and model files defined by this workspace for the lifetime of the current API session or until the session workspace is changed again.
An API session has the same lifetime as the access_token used to authenticate API requests. Each successful API login generates a new access_token and a new API session.
If your Looker API client application needs to work in a dev workspace across multiple API sessions, be sure to select the dev workspace after each login.
PATCH /session -> ApiSession
func (*LookerSDK) UpdateSessionConfig ¶
func (l *LookerSDK) UpdateSessionConfig( body WriteSessionConfig, options *rtl.ApiSettings) (SessionConfig, error)
### Update session config.
PATCH /session_config -> SessionConfig
func (*LookerSDK) UpdateSpace ¶
func (l *LookerSDK) UpdateSpace( spaceId string, body UpdateSpace, options *rtl.ApiSettings) (Space, error)
### Update the space with a specific id.
PATCH /spaces/{space_id} -> Space
func (*LookerSDK) UpdateTheme ¶
func (l *LookerSDK) UpdateTheme( themeId string, body WriteTheme, options *rtl.ApiSettings) (Theme, error)
### Update the theme by id.
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
PATCH /themes/{theme_id} -> Theme
func (*LookerSDK) UpdateUser ¶
func (l *LookerSDK) UpdateUser( userId int64, body WriteUser, fields string, options *rtl.ApiSettings) (User, error)
### Update information about the user with a specific id.
PATCH /users/{user_id} -> User
func (*LookerSDK) UpdateUserAttribute ¶
func (l *LookerSDK) UpdateUserAttribute( userAttributeId int64, body WriteUserAttribute, fields string, options *rtl.ApiSettings) (UserAttribute, error)
### Update a user attribute definition.
PATCH /user_attributes/{user_attribute_id} -> UserAttribute
func (*LookerSDK) UpdateUserAttributeGroupValue ¶
func (l *LookerSDK) UpdateUserAttributeGroupValue( groupId int64, userAttributeId int64, body UserAttributeGroupValue, options *rtl.ApiSettings) (UserAttributeGroupValue, error)
### Set the value of a user attribute for a group.
For information about how user attribute values are calculated, see [Set User Attribute Group Values](#!/UserAttribute/set_user_attribute_group_values).
PATCH /groups/{group_id}/attribute_values/{user_attribute_id} -> UserAttributeGroupValue
func (*LookerSDK) UpdateUserCredentialsEmail ¶
func (l *LookerSDK) UpdateUserCredentialsEmail( userId int64, body WriteCredentialsEmail, fields string, options *rtl.ApiSettings) (CredentialsEmail, error)
### Email/password login information for the specified user.
PATCH /users/{user_id}/credentials_email -> CredentialsEmail
func (*LookerSDK) UpdateWhitelabelConfiguration ¶
func (l *LookerSDK) UpdateWhitelabelConfiguration( body WriteWhitelabelConfiguration, options *rtl.ApiSettings) (WhitelabelConfiguration, error)
### Update the whitelabel configuration
PUT /whitelabel_configuration -> WhitelabelConfiguration
func (*LookerSDK) User ¶
### Get information about the user with a specific id.
If the caller is an admin or the caller is the user being specified, then full user information will be returned. Otherwise, a minimal 'public' variant of the user information will be returned. This contains The user name and avatar url, but no sensitive information.
GET /users/{user_id} -> User
func (*LookerSDK) UserAttribute ¶
func (l *LookerSDK) UserAttribute( userAttributeId int64, fields string, options *rtl.ApiSettings) (UserAttribute, error)
### Get information about a user attribute.
GET /user_attributes/{user_attribute_id} -> UserAttribute
func (*LookerSDK) UserAttributeUserValues ¶
func (l *LookerSDK) UserAttributeUserValues(request RequestUserAttributeUserValues, options *rtl.ApiSettings) ([]UserAttributeWithValue, error)
### Get user attribute values for a given user.
Returns the values of specified user attributes (or all user attributes) for a certain user.
A value for each user attribute is searched for in the following locations, in this order:
1. in the user's account information 1. in groups that the user is a member of 1. the default value of the user attribute
If more than one group has a value defined for a user attribute, the group with the lowest rank wins.
The response will only include user attributes for which values were found. Use `include_unset=true` to include empty records for user attributes with no value.
The value of all hidden user attributes will be blank.
GET /users/{user_id}/attribute_values -> []UserAttributeWithValue
func (*LookerSDK) UserCredentialsApi3 ¶
func (l *LookerSDK) UserCredentialsApi3( userId int64, credentialsApi3Id int64, fields string, options *rtl.ApiSettings) (CredentialsApi3, error)
### API 3 login information for the specified user. This is for the newer API keys that can be added for any user.
GET /users/{user_id}/credentials_api3/{credentials_api3_id} -> CredentialsApi3
func (*LookerSDK) UserCredentialsEmail ¶
func (l *LookerSDK) UserCredentialsEmail( userId int64, fields string, options *rtl.ApiSettings) (CredentialsEmail, error)
### Email/password login information for the specified user.
GET /users/{user_id}/credentials_email -> CredentialsEmail
func (*LookerSDK) UserCredentialsEmbed ¶
func (l *LookerSDK) UserCredentialsEmbed( userId int64, credentialsEmbedId int64, fields string, options *rtl.ApiSettings) (CredentialsEmbed, error)
### Embed login information for the specified user.
GET /users/{user_id}/credentials_embed/{credentials_embed_id} -> CredentialsEmbed
func (*LookerSDK) UserCredentialsGoogle ¶
func (l *LookerSDK) UserCredentialsGoogle( userId int64, fields string, options *rtl.ApiSettings) (CredentialsGoogle, error)
### Google authentication login information for the specified user.
GET /users/{user_id}/credentials_google -> CredentialsGoogle
func (*LookerSDK) UserCredentialsLdap ¶
func (l *LookerSDK) UserCredentialsLdap( userId int64, fields string, options *rtl.ApiSettings) (CredentialsLDAP, error)
### LDAP login information for the specified user.
GET /users/{user_id}/credentials_ldap -> CredentialsLDAP
func (*LookerSDK) UserCredentialsLookerOpenid ¶
func (l *LookerSDK) UserCredentialsLookerOpenid( userId int64, fields string, options *rtl.ApiSettings) (CredentialsLookerOpenid, error)
### Looker Openid login information for the specified user. Used by Looker Analysts.
GET /users/{user_id}/credentials_looker_openid -> CredentialsLookerOpenid
func (*LookerSDK) UserCredentialsOidc ¶
func (l *LookerSDK) UserCredentialsOidc( userId int64, fields string, options *rtl.ApiSettings) (CredentialsOIDC, error)
### OpenID Connect (OIDC) authentication login information for the specified user.
GET /users/{user_id}/credentials_oidc -> CredentialsOIDC
func (*LookerSDK) UserCredentialsSaml ¶
func (l *LookerSDK) UserCredentialsSaml( userId int64, fields string, options *rtl.ApiSettings) (CredentialsSaml, error)
### Saml authentication login information for the specified user.
GET /users/{user_id}/credentials_saml -> CredentialsSaml
func (*LookerSDK) UserCredentialsTotp ¶
func (l *LookerSDK) UserCredentialsTotp( userId int64, fields string, options *rtl.ApiSettings) (CredentialsTotp, error)
### Two-factor login information for the specified user.
GET /users/{user_id}/credentials_totp -> CredentialsTotp
func (*LookerSDK) UserForCredential ¶
func (l *LookerSDK) UserForCredential( credentialType string, credentialId string, fields string, options *rtl.ApiSettings) (User, error)
### Get information about the user with a credential of given type with specific id.
This is used to do things like find users by their embed external_user_id. Or, find the user with a given api3 client_id, etc. The 'credential_type' matches the 'type' name of the various credential types. It must be one of the values listed in the table below. The 'credential_id' is your unique Id for the user and is specific to each type of credential.
An example using the Ruby sdk might look like:
`sdk.user_for_credential('embed', 'customer-4959425')`
This table shows the supported 'Credential Type' strings. The right column is for reference; it shows which field in the given credential type is actually searched when finding a user with the supplied 'credential_id'.
| Credential Types | Id Field Matched | | ---------------- | ---------------- | | email | email | | google | google_user_id | | saml | saml_user_id | | oidc | oidc_user_id | | ldap | ldap_id | | api | token | | api3 | client_id | | embed | external_user_id | | looker_openid | email |
**NOTE**: The 'api' credential type was only used with the legacy Looker query API and is no longer supported. The credential type for API you are currently looking at is 'api3'.
GET /users/credential/{credential_type}/{credential_id} -> User
func (*LookerSDK) UserRoles ¶
func (l *LookerSDK) UserRoles(request RequestUserRoles, options *rtl.ApiSettings) ([]Role, error)
### Get information about roles of a given user
GET /users/{user_id}/roles -> []Role
func (*LookerSDK) UserSession ¶
func (l *LookerSDK) UserSession( userId int64, sessionId int64, fields string, options *rtl.ApiSettings) (Session, error)
### Web login session for the specified user.
GET /users/{user_id}/sessions/{session_id} -> Session
func (*LookerSDK) ValidateProject ¶
func (l *LookerSDK) ValidateProject( projectId string, fields string, options *rtl.ApiSettings) (ProjectValidation, error)
### Validate Project
Performs lint validation of all lookml files in the project. Returns a list of errors found, if any.
Validating the content of all the files in a project can be computationally intensive for large projects. For best performance, call `validate_project(project_id)` only when you really want to recompute project validation. To quickly display the results of the most recent project validation (without recomputing), use `project_validation_results(project_id)`
POST /projects/{project_id}/validate -> ProjectValidation
func (*LookerSDK) ValidateTheme ¶
func (l *LookerSDK) ValidateTheme( body WriteTheme, options *rtl.ApiSettings) (ValidationError, error)
### Validate a theme with the specified information
Validates all values set for the theme, returning any errors encountered, or 200 OK if valid ¶
See [Create Theme](#!/Theme/create_theme) for constraints
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
POST /themes/validate -> ValidationError
func (*LookerSDK) VectorThumbnail ¶
func (l *LookerSDK) VectorThumbnail( type0 string, resourceId string, reload string, options *rtl.ApiSettings) (string, error)
### Get a vector image representing the contents of a dashboard or look.
DEPRECATED: Use [content_thumbnail()](#!/Content/content_thumbnail) ¶
The returned thumbnail is an abstract representation of the contents of a dashbord or look and does not reflect the actual data displayed in the respective visualizations.
GET /vector_thumbnail/{type}/{resource_id} -> string
func (*LookerSDK) Versions ¶
func (l *LookerSDK) Versions( fields string, options *rtl.ApiSettings) (ApiVersion, error)
### Get information about all API versions supported by this Looker instance.
GET /versions -> ApiVersion
func (*LookerSDK) WhitelabelConfiguration ¶
func (l *LookerSDK) WhitelabelConfiguration( fields string, options *rtl.ApiSettings) (WhitelabelConfiguration, error)
### This feature is enabled only by special license. ### Gets the whitelabel configuration, which includes hiding documentation links, custom favicon uploading, etc.
GET /whitelabel_configuration -> WhitelabelConfiguration
func (*LookerSDK) Workspace ¶
### Get A Workspace
Returns information about a workspace such as the git status and selected branches of all projects available to the caller's user account.
A workspace defines which versions of project files will be used to evaluate expressions and operations that use model definitions - operations such as running queries or rendering dashboards. Each project has its own git repository, and each project in a workspace may be configured to reference particular branch or revision within their respective repositories.
There are two predefined workspaces available: "production" and "dev".
The production workspace is shared across all Looker users. Models in the production workspace are read-only. Changing files in production is accomplished by modifying files in a git branch and using Pull Requests to merge the changes from the dev branch into the production branch, and then telling Looker to sync with production.
The dev workspace is local to each Looker user. Changes made to project/model files in the dev workspace only affect that user, and only when the dev workspace is selected as the active workspace for the API session. (See set_session_workspace()).
The dev workspace is NOT unique to an API session. Two applications accessing the Looker API using the same user account will see the same files in the dev workspace. To avoid collisions between API clients it's best to have each client login with API3 credentials for a different user account.
Changes made to files in a dev workspace are persistent across API sessions. It's a good idea to commit any changes you've made to the git repository, but not strictly required. Your modified files reside in a special user-specific directory on the Looker server and will still be there when you login in again later and use update_session(workspace_id: "dev") to select the dev workspace for the new API session.
GET /workspaces/{workspace_id} -> Workspace
type LookmlModel ¶
type LookmlModel struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object AllowedDbConnectionNames *[]string `json:"allowed_db_connection_names,omitempty"` // Array of names of connections this model is allowed to use Explores *[]LookmlModelNavExplore `json:"explores,omitempty"` // Array of explores (if has_content) HasContent *bool `json:"has_content,omitempty"` // Does this model declaration have have lookml content? Label *string `json:"label,omitempty"` // UI-friendly name for this model Name *string `json:"name,omitempty"` // Name of the model. Also used as the unique identifier ProjectName *string `json:"project_name,omitempty"` // Name of project containing the model UnlimitedDbConnections *bool `json:"unlimited_db_connections,omitempty"` // Is this model allowed to use all current and future connections }
type LookmlModelExplore ¶
type LookmlModelExplore struct { Id *string `json:"id,omitempty"` // Fully qualified explore name (model name plus explore name) Name *string `json:"name,omitempty"` // Explore name Description *string `json:"description,omitempty"` // Description Label *string `json:"label,omitempty"` // Label Scopes *[]string `json:"scopes,omitempty"` // Scopes CanTotal *bool `json:"can_total,omitempty"` // Can Total CanSave *bool `json:"can_save,omitempty"` // Can Save CanExplain *bool `json:"can_explain,omitempty"` // Can Explain CanPivotInDb *bool `json:"can_pivot_in_db,omitempty"` // Can pivot in the DB CanSubtotal *bool `json:"can_subtotal,omitempty"` // Can use subtotals HasTimezoneSupport *bool `json:"has_timezone_support,omitempty"` // Has timezone support SupportsCostEstimate *bool `json:"supports_cost_estimate,omitempty"` // Cost estimates supported ConnectionName *string `json:"connection_name,omitempty"` // Connection name NullSortTreatment *string `json:"null_sort_treatment,omitempty"` // How nulls are sorted, possible values are "low", "high", "first" and "last" Files *[]string `json:"files,omitempty"` // List of model source files SourceFile *string `json:"source_file,omitempty"` // Primary source_file file ProjectName *string `json:"project_name,omitempty"` // Name of project ModelName *string `json:"model_name,omitempty"` // Name of model ViewName *string `json:"view_name,omitempty"` // Name of view Hidden *bool `json:"hidden,omitempty"` // Is hidden SqlTableName *string `json:"sql_table_name,omitempty"` // A sql_table_name expression that defines what sql table the view/explore maps onto. Example: "prod_orders2 AS orders" in a view named orders. AccessFilterFields *[]string `json:"access_filter_fields,omitempty"` // (DEPRECATED) Array of access filter field names AccessFilters *[]LookmlModelExploreAccessFilter `json:"access_filters,omitempty"` // Access filters Aliases *[]LookmlModelExploreAlias `json:"aliases,omitempty"` // Aliases AlwaysFilter *[]LookmlModelExploreAlwaysFilter `json:"always_filter,omitempty"` // Always filter ConditionallyFilter *[]LookmlModelExploreConditionallyFilter `json:"conditionally_filter,omitempty"` // Conditionally filter IndexFields *[]string `json:"index_fields,omitempty"` // Array of index fields Sets *[]LookmlModelExploreSet `json:"sets,omitempty"` // Sets Tags *[]string `json:"tags,omitempty"` // An array of arbitrary string tags provided in the model for this explore. Errors *[]LookmlModelExploreError `json:"errors,omitempty"` // Errors Fields *LookmlModelExploreFieldset `json:"fields,omitempty"` Joins *[]LookmlModelExploreJoins `json:"joins,omitempty"` // Views joined into this explore GroupLabel *string `json:"group_label,omitempty"` // Label used to group explores in the navigation menus SupportedMeasureTypes *[]LookmlModelExploreSupportedMeasureType `json:"supported_measure_types,omitempty"` // An array of items describing which custom measure types are supported for creating a custom measure 'based_on' each possible dimension type. }
type LookmlModelExploreAlias ¶
type LookmlModelExploreError ¶
type LookmlModelExploreError struct { Message *string `json:"message,omitempty"` // Error Message Details *interface{} `json:"details,omitempty"` // Details ErrorPos *string `json:"error_pos,omitempty"` // Error source location FieldError *bool `json:"field_error,omitempty"` // Is this a field error }
type LookmlModelExploreField ¶
type LookmlModelExploreField struct { Align *Align `json:"align,omitempty"` // The appropriate horizontal text alignment the values of this field should be displayed in. Valid values are: "left", "right". CanFilter *bool `json:"can_filter,omitempty"` // Whether it's possible to filter on this field. Category *Category `json:"category,omitempty"` // Field category Valid values are: "parameter", "filter", "measure", "dimension". DefaultFilterValue *string `json:"default_filter_value,omitempty"` // The default value that this field uses when filtering. Null if there is no default value. Description *string `json:"description,omitempty"` // Description DimensionGroup *string `json:"dimension_group,omitempty"` // Dimension group if this field is part of a dimension group. If not, this will be null. Enumerations *[]LookmlModelExploreFieldEnumeration `json:"enumerations,omitempty"` // An array enumerating all the possible values that this field can contain. When null, there is no limit to the set of possible values this field can contain. Error *string `json:"error,omitempty"` // An error message indicating a problem with the definition of this field. If there are no errors, this will be null. FieldGroupLabel *string `json:"field_group_label,omitempty"` // A label creating a grouping of fields. All fields with this label should be presented together when displayed in a UI. FieldGroupVariant *string `json:"field_group_variant,omitempty"` // When presented in a field group via field_group_label, a shorter name of the field to be displayed in that context. FillStyle *FillStyle `json:"fill_style,omitempty"` // The style of dimension fill that is possible for this field. Null if no dimension fill is possible. Valid values are: "enumeration", "range". FiscalMonthOffset *int64 `json:"fiscal_month_offset,omitempty"` // An offset (in months) from the calendar start month to the fiscal start month defined in the LookML model this field belongs to. HasAllowedValues *bool `json:"has_allowed_values,omitempty"` // Whether this field has a set of allowed_values specified in LookML. Hidden *bool `json:"hidden,omitempty"` // Whether this field should be hidden from the user interface. IsFilter *bool `json:"is_filter,omitempty"` // Whether this field is a filter. IsFiscal *bool `json:"is_fiscal,omitempty"` // Whether this field represents a fiscal time value. IsNumeric *bool `json:"is_numeric,omitempty"` // Whether this field is of a type that represents a numeric value. IsTimeframe *bool `json:"is_timeframe,omitempty"` // Whether this field is of a type that represents a time value. CanTimeFilter *bool `json:"can_time_filter,omitempty"` // Whether this field can be time filtered. TimeInterval *LookmlModelExploreFieldTimeInterval `json:"time_interval,omitempty"` Label *string `json:"label,omitempty"` // Fully-qualified human-readable label of the field. LabelFromParameter *string `json:"label_from_parameter,omitempty"` // The name of the parameter that will provide a parameterized label for this field, if available in the current context. LabelShort *string `json:"label_short,omitempty"` // The human-readable label of the field, without the view label. LookmlLink *string `json:"lookml_link,omitempty"` // A URL linking to the definition of this field in the LookML IDE. MapLayer *LookmlModelExploreFieldMapLayer `json:"map_layer,omitempty"` Measure *bool `json:"measure,omitempty"` // Whether this field is a measure. Name *string `json:"name,omitempty"` // Fully-qualified name of the field. StrictValueFormat *bool `json:"strict_value_format,omitempty"` // If yes, the field will not be localized with the user attribute number_format. Defaults to no Parameter *bool `json:"parameter,omitempty"` // Whether this field is a parameter. Permanent *bool `json:"permanent,omitempty"` // Whether this field can be removed from a query. PrimaryKey *bool `json:"primary_key,omitempty"` // Whether or not the field represents a primary key. ProjectName *string `json:"project_name,omitempty"` // The name of the project this field is defined in. RequiresRefreshOnSort *bool `json:"requires_refresh_on_sort,omitempty"` // When true, it's not possible to re-sort this field's values without re-running the SQL query, due to database logic that affects the sort. Scope *string `json:"scope,omitempty"` // The LookML scope this field belongs to. The scope is typically the field's view. Sortable *bool `json:"sortable,omitempty"` // Whether this field can be sorted. SourceFile *string `json:"source_file,omitempty"` // The path portion of source_file_path. SourceFilePath *string `json:"source_file_path,omitempty"` // The fully-qualified path of the project file this field is defined in. Sql *string `json:"sql,omitempty"` // SQL expression as defined in the LookML model. The SQL syntax shown here is a representation intended for auditability, and is not neccessarily an exact match for what will ultimately be run in the database. It may contain special LookML syntax or annotations that are not valid SQL. This will be null if the current user does not have the see_lookml permission for the field's model. SqlCase *[]LookmlModelExploreFieldSqlCase `json:"sql_case,omitempty"` // An array of conditions and values that make up a SQL Case expression, as defined in the LookML model. The SQL syntax shown here is a representation intended for auditability, and is not neccessarily an exact match for what will ultimately be run in the database. It may contain special LookML syntax or annotations that are not valid SQL. This will be null if the current user does not have the see_lookml permission for the field's model. Filters *[]LookmlModelExploreFieldMeasureFilters `json:"filters,omitempty"` // Array of filter conditions defined for the measure in LookML. SuggestDimension *string `json:"suggest_dimension,omitempty"` // The name of the dimension to base suggest queries from. SuggestExplore *string `json:"suggest_explore,omitempty"` // The name of the explore to base suggest queries from. Suggestable *bool `json:"suggestable,omitempty"` // Whether or not suggestions are possible for this field. Suggestions *[]string `json:"suggestions,omitempty"` // If available, a list of suggestions for this field. For most fields, a suggest query is a more appropriate way to get an up-to-date list of suggestions. Or use enumerations to list all the possible values. Tags *[]string `json:"tags,omitempty"` // An array of arbitrary string tags provided in the model for this field. Type *string `json:"type,omitempty"` // The LookML type of the field. UserAttributeFilterTypes *[]UserAttributeFilterTypes `json:"user_attribute_filter_types,omitempty"` // An array of user attribute types that are allowed to be used in filters on this field. Valid values are: "advanced_filter_string", "advanced_filter_number", "advanced_filter_datetime", "string", "number", "datetime", "relative_url", "yesno", "zipcode". ValueFormat *string `json:"value_format,omitempty"` // If specified, the LookML value format string for formatting values of this field. View *string `json:"view,omitempty"` // The name of the view this field belongs to. ViewLabel *string `json:"view_label,omitempty"` // The human-readable label of the view the field belongs to. Dynamic *bool `json:"dynamic,omitempty"` // Whether this field was specified in "dynamic_fields" and is not part of the model. WeekStartDay *WeekStartDay `json:"week_start_day,omitempty"` // The name of the starting day of the week. Valid values are: "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday". }
type LookmlModelExploreFieldEnumeration ¶
type LookmlModelExploreFieldEnumeration struct { Label *string `json:"label,omitempty"` // Label Value *interface{} `json:"value,omitempty"` // Value }
type LookmlModelExploreFieldMapLayer ¶
type LookmlModelExploreFieldMapLayer struct { Url *string `json:"url,omitempty"` // URL to the map layer resource. Name *string `json:"name,omitempty"` // Name of the map layer, as defined in LookML. FeatureKey *string `json:"feature_key,omitempty"` // Specifies the name of the TopoJSON object that the map layer references. If not specified, use the first object.. PropertyKey *string `json:"property_key,omitempty"` // Selects which property from the TopoJSON data to plot against. TopoJSON supports arbitrary metadata for each region. When null, the first matching property should be used. PropertyLabelKey *string `json:"property_label_key,omitempty"` // Which property from the TopoJSON data to use to label the region. When null, property_key should be used. Projection *string `json:"projection,omitempty"` // The preferred geographic projection of the map layer when displayed in a visualization that supports multiple geographic projections. Format *Format `json:"format,omitempty"` // Specifies the data format of the region information. Valid values are: "topojson", "vector_tile_region". ExtentsJsonUrl *string `json:"extents_json_url,omitempty"` // Specifies the URL to a JSON file that defines the geographic extents of each region available in the map layer. This data is used to automatically center the map on the available data for visualization purposes. The JSON file must be a JSON object where the keys are the mapping value of the feature (as specified by property_key) and the values are arrays of four numbers representing the west longitude, south latitude, east longitude, and north latitude extents of the region. The object must include a key for every possible value of property_key. MaxZoomLevel *int64 `json:"max_zoom_level,omitempty"` // The minimum zoom level that the map layer may be displayed at, for visualizations that support zooming. MinZoomLevel *int64 `json:"min_zoom_level,omitempty"` // The maximum zoom level that the map layer may be displayed at, for visualizations that support zooming. }
type LookmlModelExploreFieldTimeInterval ¶
type LookmlModelExploreFieldTimeInterval struct { Name *Name `json:"name,omitempty"` // The type of time interval this field represents a grouping of. Valid values are: "day", "hour", "minute", "second", "millisecond", "microsecond", "week", "month", "quarter", "year". Count *int64 `json:"count,omitempty"` // The number of intervals this field represents a grouping of. }
type LookmlModelExploreFieldset ¶
type LookmlModelExploreFieldset struct { Dimensions *[]LookmlModelExploreField `json:"dimensions,omitempty"` // Array of dimensions Measures *[]LookmlModelExploreField `json:"measures,omitempty"` // Array of measures Filters *[]LookmlModelExploreField `json:"filters,omitempty"` // Array of filters Parameters *[]LookmlModelExploreField `json:"parameters,omitempty"` // Array of parameters }
type LookmlModelExploreJoins ¶
type LookmlModelExploreJoins struct { Name *string `json:"name,omitempty"` // Name of this join (and name of the view to join) DependentFields *[]string `json:"dependent_fields,omitempty"` // Fields referenced by the join Fields *[]string `json:"fields,omitempty"` // Fields of the joined view to pull into this explore ForeignKey *string `json:"foreign_key,omitempty"` // Name of the dimension in this explore whose value is in the primary key of the joined view From *string `json:"from,omitempty"` // Name of view to join OuterOnly *bool `json:"outer_only,omitempty"` // Specifies whether all queries must use an outer join Relationship *string `json:"relationship,omitempty"` // many_to_one, one_to_one, one_to_many, many_to_many RequiredJoins *[]string `json:"required_joins,omitempty"` // Names of joins that must always be included in SQL queries SqlForeignKey *string `json:"sql_foreign_key,omitempty"` // SQL expression that produces a foreign key SqlOn *string `json:"sql_on,omitempty"` // SQL ON expression describing the join condition SqlTableName *string `json:"sql_table_name,omitempty"` // SQL table name to join Type *string `json:"type,omitempty"` // The join type: left_outer, full_outer, inner, or cross ViewLabel *string `json:"view_label,omitempty"` // Label to display in UI selectors }
type LookmlModelExploreSet ¶
type LookmlModelNavExplore ¶
type LookmlModelNavExplore struct {}
type LookmlTest ¶
type LookmlTest struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object ModelName *string `json:"model_name,omitempty"` // Name of model containing this test. Name *string `json:"name,omitempty"` // Name of this test. ExploreName *string `json:"explore_name,omitempty"` // Name of the explore this test runs a query against QueryUrlParams *string `json:"query_url_params,omitempty"` // The url parameters that can be used to reproduce this test's query on an explore. File *string `json:"file,omitempty"` // Name of the LookML file containing this test. Line *int64 `json:"line,omitempty"` // Line number of this test in LookML. }
type LookmlTestResult ¶
type LookmlTestResult struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object ModelName *string `json:"model_name,omitempty"` // Name of model containing this test. TestName *string `json:"test_name,omitempty"` // Name of this test. AssertionsCount *int64 `json:"assertions_count,omitempty"` // Number of assertions in this test AssertionsFailed *int64 `json:"assertions_failed,omitempty"` // Number of assertions passed in this test Errors *[]ProjectError `json:"errors,omitempty"` // A list of any errors encountered by the test. Warnings *[]ProjectError `json:"warnings,omitempty"` // A list of any warnings encountered by the test. Success *bool `json:"success,omitempty"` // True if this test passsed without errors. }
type Manifest ¶
type Manifest struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Name *string `json:"name,omitempty"` // Manifest project name Imports *[]ImportedProject `json:"imports,omitempty"` // Imports for a project LocalizationSettings *LocalizationSettings `json:"localization_settings,omitempty"` }
type MergeFields ¶
type MergeQuery ¶
type MergeQuery struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object ColumnLimit *string `json:"column_limit,omitempty"` // Column Limit DynamicFields *string `json:"dynamic_fields,omitempty"` // Dynamic Fields Id *string `json:"id,omitempty"` // Unique Id Pivots *[]string `json:"pivots,omitempty"` // Pivots ResultMakerId *int64 `json:"result_maker_id,omitempty"` // Unique to get results Sorts *[]string `json:"sorts,omitempty"` // Sorts SourceQueries *[]MergeQuerySourceQuery `json:"source_queries,omitempty"` // Source Queries defining the results to be merged. Total *bool `json:"total,omitempty"` // Total VisConfig *map[string]interface{} `json:"vis_config,omitempty"` // Visualization Config }
type MergeQuerySourceQuery ¶
type MergeQuerySourceQuery struct { MergeFields *[]MergeFields `json:"merge_fields,omitempty"` // An array defining which fields of the source query are mapped onto fields of the merge query Name *string `json:"name,omitempty"` // Display name QueryId *int64 `json:"query_id,omitempty"` // Id of the query to merge }
type ModelSet ¶
type ModelSet struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object AllAccess *bool `json:"all_access,omitempty"` BuiltIn *bool `json:"built_in,omitempty"` Id *int64 `json:"id,omitempty"` // Unique Id Models *[]string `json:"models,omitempty"` Name *string `json:"name,omitempty"` // Name of ModelSet Url *url.URL `json:"url,omitempty"` // Link to get this item }
type ModelsNotValidated ¶
type Name ¶
type Name string
const Name_Day Name = "day"
const Name_Hour Name = "hour"
const Name_Microsecond Name = "microsecond"
const Name_Millisecond Name = "millisecond"
const Name_Minute Name = "minute"
const Name_Month Name = "month"
const Name_Quarter Name = "quarter"
const Name_Second Name = "second"
const Name_Week Name = "week"
const Name_Year Name = "year"
type OIDCConfig ¶
type OIDCConfig struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object AlternateEmailLoginAllowed *bool `json:"alternate_email_login_allowed,omitempty"` // Allow alternate email-based login via '/login/email' for admins and for specified users with the 'login_special_email' permission. This option is useful as a fallback during ldap setup, if ldap config problems occur later, or if you need to support some users who are not in your ldap directory. Looker email/password logins are always disabled for regular users when ldap is enabled. Audience *string `json:"audience,omitempty"` // OpenID Provider Audience AuthRequiresRole *bool `json:"auth_requires_role,omitempty"` // Users will not be allowed to login at all unless a role for them is found in OIDC if set to true AuthorizationEndpoint *url.URL `json:"authorization_endpoint,omitempty"` // OpenID Provider Authorization Url DefaultNewUserGroupIds *[]int64 `json:"default_new_user_group_ids,omitempty"` // (Write-Only) Array of ids of groups that will be applied to new users the first time they login via OIDC DefaultNewUserGroups *[]Group `json:"default_new_user_groups,omitempty"` // (Read-only) Groups that will be applied to new users the first time they login via OIDC DefaultNewUserRoleIds *[]int64 `json:"default_new_user_role_ids,omitempty"` // (Write-Only) Array of ids of roles that will be applied to new users the first time they login via OIDC DefaultNewUserRoles *[]Role `json:"default_new_user_roles,omitempty"` // (Read-only) Roles that will be applied to new users the first time they login via OIDC Enabled *bool `json:"enabled,omitempty"` // Enable/Disable OIDC authentication for the server Groups *[]OIDCGroupRead `json:"groups,omitempty"` // (Read-only) Array of mappings between OIDC Groups and Looker Roles GroupsAttribute *string `json:"groups_attribute,omitempty"` // Name of user record attributes used to indicate groups. Used when 'groups_finder_type' is set to 'grouped_attribute_values' GroupsWithRoleIds *[]OIDCGroupWrite `json:"groups_with_role_ids,omitempty"` // (Read/Write) Array of mappings between OIDC Groups and arrays of Looker Role ids Identifier *string `json:"identifier,omitempty"` // Relying Party Identifier (provided by OpenID Provider) Issuer *string `json:"issuer,omitempty"` // OpenID Provider Issuer ModifiedAt *time.Time `json:"modified_at,omitempty"` // When this config was last modified ModifiedBy *int64 `json:"modified_by,omitempty"` // User id of user who last modified this config NewUserMigrationTypes *string `json:"new_user_migration_types,omitempty"` // Merge first-time oidc login to existing user account by email addresses. When a user logs in for the first time via oidc this option will connect this user into their existing account by finding the account with a matching email address by testing the given types of credentials for existing users. Otherwise a new user account will be created for the user. This list (if provided) must be a comma separated list of string like 'email,ldap,google' Scopes *[]string `json:"scopes,omitempty"` // Array of scopes to request. Secret *string `json:"secret,omitempty"` // (Write-Only) Relying Party Secret (provided by OpenID Provider) SetRolesFromGroups *bool `json:"set_roles_from_groups,omitempty"` // Set user roles in Looker based on groups from OIDC TestSlug *string `json:"test_slug,omitempty"` // Slug to identify configurations that are created in order to run a OIDC config test TokenEndpoint *string `json:"token_endpoint,omitempty"` // OpenID Provider Token Url UserAttributeMapEmail *string `json:"user_attribute_map_email,omitempty"` // Name of user record attributes used to indicate email address field UserAttributeMapFirstName *string `json:"user_attribute_map_first_name,omitempty"` // Name of user record attributes used to indicate first name UserAttributeMapLastName *string `json:"user_attribute_map_last_name,omitempty"` // Name of user record attributes used to indicate last name UserAttributes *[]OIDCUserAttributeRead `json:"user_attributes,omitempty"` // (Read-only) Array of mappings between OIDC User Attributes and Looker User Attributes UserAttributesWithIds *[]OIDCUserAttributeWrite `json:"user_attributes_with_ids,omitempty"` // (Read/Write) Array of mappings between OIDC User Attributes and arrays of Looker User Attribute ids UserinfoEndpoint *url.URL `json:"userinfo_endpoint,omitempty"` // OpenID Provider User Information Url AllowNormalGroupMembership *bool `json:"allow_normal_group_membership,omitempty"` // Allow OIDC auth'd users to be members of non-reflected Looker groups. If 'false', user will be removed from non-reflected groups on login. AllowRolesFromNormalGroups *bool `json:"allow_roles_from_normal_groups,omitempty"` // OIDC auth'd users will inherit roles from non-reflected Looker groups. AllowDirectRoles *bool `json:"allow_direct_roles,omitempty"` // Allows roles to be directly assigned to OIDC auth'd users. Url *url.URL `json:"url,omitempty"` // Link to get this item }
type OIDCGroupRead ¶
type OIDCGroupRead struct { Id *int64 `json:"id,omitempty"` // Unique Id LookerGroupId *int64 `json:"looker_group_id,omitempty"` // Unique Id of group in Looker LookerGroupName *string `json:"looker_group_name,omitempty"` // Name of group in Looker Name *string `json:"name,omitempty"` // Name of group in OIDC Roles *[]Role `json:"roles,omitempty"` // Looker Roles }
type OIDCGroupWrite ¶
type OIDCGroupWrite struct { Id *int64 `json:"id,omitempty"` // Unique Id LookerGroupId *int64 `json:"looker_group_id,omitempty"` // Unique Id of group in Looker LookerGroupName *string `json:"looker_group_name,omitempty"` // Name of group in Looker Name *string `json:"name,omitempty"` // Name of group in OIDC RoleIds *[]int64 `json:"role_ids,omitempty"` // Looker Role Ids Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object }
type OIDCUserAttributeRead ¶
type OIDCUserAttributeRead struct { Name *string `json:"name,omitempty"` // Name of User Attribute in OIDC Required *bool `json:"required,omitempty"` // Required to be in OIDC assertion for login to be allowed to succeed UserAttributes *[]UserAttribute `json:"user_attributes,omitempty"` // Looker User Attributes }
type OIDCUserAttributeWrite ¶
type OIDCUserAttributeWrite struct { Name *string `json:"name,omitempty"` // Name of User Attribute in OIDC Required *bool `json:"required,omitempty"` // Required to be in OIDC assertion for login to be allowed to succeed UserAttributeIds *[]int64 `json:"user_attribute_ids,omitempty"` // Looker User Attribute Ids Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object }
type PasswordConfig ¶
type PasswordConfig struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object MinLength *int64 `json:"min_length,omitempty"` // Minimum number of characters required for a new password. Must be between 7 and 100 RequireNumeric *bool `json:"require_numeric,omitempty"` // Require at least one numeric character RequireUpperlower *bool `json:"require_upperlower,omitempty"` // Require at least one uppercase and one lowercase letter RequireSpecial *bool `json:"require_special,omitempty"` // Require at least one special character }
type Permission ¶
type Permission struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Permission *string `json:"permission,omitempty"` // Permission symbol Parent *string `json:"parent,omitempty"` // Dependency parent symbol Description *string `json:"description,omitempty"` // Description }
type PermissionSet ¶
type PermissionSet struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object AllAccess *bool `json:"all_access,omitempty"` BuiltIn *bool `json:"built_in,omitempty"` Id *int64 `json:"id,omitempty"` // Unique Id Name *string `json:"name,omitempty"` // Name of PermissionSet Permissions *[]string `json:"permissions,omitempty"` Url *url.URL `json:"url,omitempty"` // Link to get this item }
type PermissionType ¶
type PermissionType string
const PermissionType_Edit PermissionType = "edit"
const PermissionType_View PermissionType = "view"
type Project ¶
type Project struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *string `json:"id,omitempty"` // Project Id Name *string `json:"name,omitempty"` // Project display name UsesGit *bool `json:"uses_git,omitempty"` // If true the project is configured with a git repository GitRemoteUrl *string `json:"git_remote_url,omitempty"` // Git remote repository url GitUsername *string `json:"git_username,omitempty"` // Git username for HTTPS authentication. (For production only, if using user attributes.) GitPassword *string `json:"git_password,omitempty"` // (Write-Only) Git password for HTTPS authentication. (For production only, if using user attributes.) GitProductionBranchName *string `json:"git_production_branch_name,omitempty"` // Git production branch name. Defaults to master. Supported only in Looker 21.0 and higher. UseGitCookieAuth *bool `json:"use_git_cookie_auth,omitempty"` // If true, the project uses a git cookie for authentication. GitUsernameUserAttribute *string `json:"git_username_user_attribute,omitempty"` // User attribute name for username in per-user HTTPS authentication. GitPasswordUserAttribute *string `json:"git_password_user_attribute,omitempty"` // User attribute name for password in per-user HTTPS authentication. GitServiceName *string `json:"git_service_name,omitempty"` // Name of the git service provider GitApplicationServerHttpPort *int64 `json:"git_application_server_http_port,omitempty"` // Port that HTTP(S) application server is running on (for PRs, file browsing, etc.) GitApplicationServerHttpScheme *GitApplicationServerHttpScheme `json:"git_application_server_http_scheme,omitempty"` // Scheme that is running on application server (for PRs, file browsing, etc.) Valid values are: "http", "https". DeploySecret *string `json:"deploy_secret,omitempty"` // (Write-Only) Optional secret token with which to authenticate requests to the webhook deploy endpoint. If not set, endpoint is unauthenticated. UnsetDeploySecret *bool `json:"unset_deploy_secret,omitempty"` // (Write-Only) When true, unsets the deploy secret to allow unauthenticated access to the webhook deploy endpoint. PullRequestMode *PullRequestMode `json:"pull_request_mode,omitempty"` // The git pull request policy for this project. Valid values are: "off", "links", "recommended", "required". ValidationRequired *bool `json:"validation_required,omitempty"` // Validation policy: If true, the project must pass validation checks before project changes can be committed to the git repository GitReleaseMgmtEnabled *bool `json:"git_release_mgmt_enabled,omitempty"` // If true, advanced git release management is enabled for this project AllowWarnings *bool `json:"allow_warnings,omitempty"` // Validation policy: If true, the project can be committed with warnings when `validation_required` is true. (`allow_warnings` does nothing if `validation_required` is false). IsExample *bool `json:"is_example,omitempty"` // If true the project is an example project and cannot be modified }
type ProjectError ¶
type ProjectError struct { Code *string `json:"code,omitempty"` // A stable token that uniquely identifies this class of error, ignoring parameter values. Error message text may vary due to parameters or localization, but error codes do not. For example, a "File not found" error will have the same error code regardless of the filename in question or the user's display language Severity *string `json:"severity,omitempty"` // Severity: fatal, error, warning, info, success Kind *string `json:"kind,omitempty"` // Error classification: syntax, deprecation, model_configuration, etc Message *string `json:"message,omitempty"` // Error message which may contain information such as dashboard or model names that may be considered sensitive in some use cases. Avoid storing or sending this message outside of Looker FieldName *string `json:"field_name,omitempty"` // The field associated with this error FilePath *string `json:"file_path,omitempty"` // Name of the file containing this error LineNumber *int64 `json:"line_number,omitempty"` // Line number in the file of this error ModelId *string `json:"model_id,omitempty"` // The model associated with this error Explore *string `json:"explore,omitempty"` // The explore associated with this error HelpUrl *string `json:"help_url,omitempty"` // A link to Looker documentation about this error Params *map[string]interface{} `json:"params,omitempty"` // Error parameters SanitizedMessage *string `json:"sanitized_message,omitempty"` // A version of the error message that does not contain potentially sensitive information. Suitable for situations in which messages are stored or sent to consumers outside of Looker, such as external logs. Sanitized messages will display "(?)" where sensitive information would appear in the corresponding non-sanitized message }
type ProjectFile ¶
type ProjectFile struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *string `json:"id,omitempty"` // An opaque token uniquely identifying a file within a project. Avoid parsing or decomposing the text of this token. This token is stable within a Looker release but may change between Looker releases Path *string `json:"path,omitempty"` // Path, file name, and extension of the file relative to the project root directory Title *string `json:"title,omitempty"` // Display name Type *string `json:"type,omitempty"` // File type: model, view, etc Extension *string `json:"extension,omitempty"` // The extension of the file: .view.lkml, .model.lkml, etc MimeType *string `json:"mime_type,omitempty"` // File mime type Editable *bool `json:"editable,omitempty"` // State of editability for the file. GitStatus *GitStatus `json:"git_status,omitempty"` }
type ProjectValidation ¶
type ProjectValidation struct { Errors *[]ProjectError `json:"errors,omitempty"` // A list of project errors ProjectDigest *string `json:"project_digest,omitempty"` // A hash value computed from the project's current state ModelsNotValidated *[]ModelsNotValidated `json:"models_not_validated,omitempty"` // A list of models which were not fully validated ComputationTime *float32 `json:"computation_time,omitempty"` // Duration of project validation in seconds }
type ProjectValidationCache ¶
type ProjectValidationCache struct { Errors *[]ProjectError `json:"errors,omitempty"` // A list of project errors ProjectDigest *string `json:"project_digest,omitempty"` // A hash value computed from the project's current state ModelsNotValidated *[]ModelsNotValidated `json:"models_not_validated,omitempty"` // A list of models which were not fully validated ComputationTime *float32 `json:"computation_time,omitempty"` // Duration of project validation in seconds Stale *bool `json:"stale,omitempty"` // If true, the cached project validation results are no longer accurate because the project has changed since the cached results were calculated }
type ProjectWorkspace ¶
type ProjectWorkspace struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object ProjectId *string `json:"project_id,omitempty"` // The id of the project WorkspaceId *string `json:"workspace_id,omitempty"` // The id of the local workspace containing the project files GitStatus *string `json:"git_status,omitempty"` // The status of the local git directory GitHead *string `json:"git_head,omitempty"` // Git head revision name DependencyStatus *DependencyStatus `json:"dependency_status,omitempty"` // Status of the dependencies in your project. Valid values are: "lock_optional", "lock_required", "lock_error", "install_none". GitBranch *GitBranch `json:"git_branch,omitempty"` LookmlType *string `json:"lookml_type,omitempty"` // The lookml syntax used by all files in this project }
type PullRequestMode ¶
type PullRequestMode string
const PullRequestMode_Links PullRequestMode = "links"
const PullRequestMode_Off PullRequestMode = "off"
const PullRequestMode_Recommended PullRequestMode = "recommended"
const PullRequestMode_Required PullRequestMode = "required"
type Query ¶
type Query struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *int64 `json:"id,omitempty"` // Unique Id Model string `json:"model"` // Model View string `json:"view"` // Explore Name Fields *[]string `json:"fields,omitempty"` // Fields Pivots *[]string `json:"pivots,omitempty"` // Pivots FillFields *[]string `json:"fill_fields,omitempty"` // Fill Fields Filters *map[string]interface{} `json:"filters,omitempty"` // Filters FilterExpression *string `json:"filter_expression,omitempty"` // Filter Expression Sorts *[]string `json:"sorts,omitempty"` // Sorting for the query results. Use the format `["view.field", ...]` to sort on fields in ascending order. Use the format `["view.field desc", ...]` to sort on fields in descending order. Use `["__UNSORTED__"]` (2 underscores before and after) to disable sorting entirely. Empty sorts `[]` will trigger a default sort. Limit *string `json:"limit,omitempty"` // Limit ColumnLimit *string `json:"column_limit,omitempty"` // Column Limit Total *bool `json:"total,omitempty"` // Total RowTotal *string `json:"row_total,omitempty"` // Raw Total Subtotals *[]string `json:"subtotals,omitempty"` // Fields on which to run subtotals VisConfig *map[string]interface{} `json:"vis_config,omitempty"` // Visualization configuration properties. These properties are typically opaque and differ based on the type of visualization used. There is no specified set of allowed keys. The values can be any type supported by JSON. A "type" key with a string value is often present, and is used by Looker to determine which visualization to present. Visualizations ignore unknown vis_config properties. FilterConfig *map[string]interface{} `json:"filter_config,omitempty"` // The filter_config represents the state of the filter UI on the explore page for a given query. When running a query via the Looker UI, this parameter takes precedence over "filters". When creating a query or modifying an existing query, "filter_config" should be set to null. Setting it to any other value could cause unexpected filtering behavior. The format should be considered opaque. VisibleUiSections *string `json:"visible_ui_sections,omitempty"` // Visible UI Sections Slug *string `json:"slug,omitempty"` // Slug DynamicFields *string `json:"dynamic_fields,omitempty"` // Dynamic Fields ClientId *string `json:"client_id,omitempty"` // Client Id: used to generate shortened explore URLs. If set by client, must be a unique 22 character alphanumeric string. Otherwise one will be generated. Url *string `json:"url,omitempty"` // Expanded Url QueryTimezone *string `json:"query_timezone,omitempty"` // Query Timezone HasTableCalculations *bool `json:"has_table_calculations,omitempty"` // Has Table Calculations Runtime *float64 `json:"runtime,omitempty"` // (DEPRECATED) Runtime (Deprecated) }
type QueryTask ¶
type QueryTask struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *string `json:"id,omitempty"` // Unique Id QueryId *int64 `json:"query_id,omitempty"` // Id of query Query *Query `json:"query,omitempty"` GenerateLinks *bool `json:"generate_links,omitempty"` // whether or not to generate links in the query response. ForceProduction *bool `json:"force_production,omitempty"` // Use production models to run query (even is user is in dev mode). PathPrefix *string `json:"path_prefix,omitempty"` // Prefix to use for drill links. Cache *bool `json:"cache,omitempty"` // Whether or not to use the cache ServerTableCalcs *bool `json:"server_table_calcs,omitempty"` // Whether or not to run table calculations on the server CacheOnly *bool `json:"cache_only,omitempty"` // Retrieve any results from cache even if the results have expired. CacheKey *string `json:"cache_key,omitempty"` // cache key used to cache query. Status *string `json:"status,omitempty"` // Status of query task. Source *string `json:"source,omitempty"` // Source of query task. Runtime *float32 `json:"runtime,omitempty"` // Runtime of prior queries. RebuildPdts *bool `json:"rebuild_pdts,omitempty"` // Rebuild PDTS used in query. ResultSource *string `json:"result_source,omitempty"` // Source of the results of the query. LookId *int64 `json:"look_id,omitempty"` // Id of look associated with query. DashboardId *string `json:"dashboard_id,omitempty"` // Id of dashboard associated with query. ResultFormat *string `json:"result_format,omitempty"` // The data format of the query results. }
type RenderTask ¶
type RenderTask struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object CreatedAt *string `json:"created_at,omitempty"` // Date/Time render task was created DashboardFilters *string `json:"dashboard_filters,omitempty"` // Filter values to apply to the dashboard queries, in URL query format DashboardId *int64 `json:"dashboard_id,omitempty"` // Id of dashboard to render DashboardStyle *string `json:"dashboard_style,omitempty"` // Dashboard layout style: single_column or tiled FinalizedAt *string `json:"finalized_at,omitempty"` // Date/Time render task was completed Height *int64 `json:"height,omitempty"` // Output height in pixels. Flowed layouts may ignore this value. Id *string `json:"id,omitempty"` // Id of this render task LookId *int64 `json:"look_id,omitempty"` // Id of look to render LookmlDashboardId *string `json:"lookml_dashboard_id,omitempty"` // Id of lookml dashboard to render QueryId *int64 `json:"query_id,omitempty"` // Id of query to render QueryRuntime *float64 `json:"query_runtime,omitempty"` // Number of seconds elapsed running queries RenderRuntime *float64 `json:"render_runtime,omitempty"` // Number of seconds elapsed rendering data ResultFormat *string `json:"result_format,omitempty"` // Output format: pdf, png, or jpg Runtime *float64 `json:"runtime,omitempty"` // Total seconds elapsed for render task Status *string `json:"status,omitempty"` // Render task status: enqueued_for_query, querying, enqueued_for_render, rendering, success, failure StatusDetail *string `json:"status_detail,omitempty"` // Additional information about the current status UserId *int64 `json:"user_id,omitempty"` // The user account permissions in which the render task will execute Width *int64 `json:"width,omitempty"` // Output width in pixels }
type RepositoryCredential ¶
type RepositoryCredential struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *string `json:"id,omitempty"` // Unique Id RootProjectId *string `json:"root_project_id,omitempty"` // Root project Id RemoteUrl *string `json:"remote_url,omitempty"` // Git remote repository url GitUsername *string `json:"git_username,omitempty"` // Git username for HTTPS authentication. GitPassword *string `json:"git_password,omitempty"` // (Write-Only) Git password for HTTPS authentication. SshPublicKey *string `json:"ssh_public_key,omitempty"` // Public deploy key for SSH authentication. IsConfigured *bool `json:"is_configured,omitempty"` // Whether the credentials have been configured for the Git Repository. }
type RequestActiveThemes ¶
type RequestActiveThemes struct { Name *string `json:"name,omitempty"` // Name of theme Ts *time.Time `json:"ts,omitempty"` // Timestamp representing the target datetime for the active period. Defaults to 'now' Fields *string `json:"fields,omitempty"` // Requested fields. }
Dynamically generated request type for active_themes
type RequestAllGroupUsers ¶
type RequestAllGroupUsers struct { GroupId int64 `json:"group_id"` // Id of group Fields *string `json:"fields,omitempty"` // Requested fields. Page *int64 `json:"page,omitempty"` // Requested page. PerPage *int64 `json:"per_page,omitempty"` // Results per page. Sorts *string `json:"sorts,omitempty"` // Fields to sort by. }
Dynamically generated request type for all_group_users
type RequestAllGroups ¶
type RequestAllGroups struct { Fields *string `json:"fields,omitempty"` // Requested fields. Page *int64 `json:"page,omitempty"` // Requested page. PerPage *int64 `json:"per_page,omitempty"` // Results per page. Sorts *string `json:"sorts,omitempty"` // Fields to sort by. Ids *rtl.DelimInt64 `json:"ids,omitempty"` // Optional of ids to get specific groups. ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Id of content metadata to which groups must have access. CanAddToContentMetadata *bool `json:"can_add_to_content_metadata,omitempty"` // Select only groups that either can/cannot be given access to content. }
Dynamically generated request type for all_groups
type RequestAllHomepageItems ¶
type RequestAllHomepageItems struct { Fields *string `json:"fields,omitempty"` // Requested fields. Sorts *string `json:"sorts,omitempty"` // Fields to sort by. HomepageSectionId *string `json:"homepage_section_id,omitempty"` // Filter to a specific homepage section }
Dynamically generated request type for all_homepage_items
type RequestAllHomepageSections ¶
type RequestAllHomepageSections struct { Fields *string `json:"fields,omitempty"` // Requested fields. Sorts *string `json:"sorts,omitempty"` // Fields to sort by. }
Dynamically generated request type for all_homepage_sections
type RequestAllIntegrations ¶
type RequestAllIntegrations struct { Fields *string `json:"fields,omitempty"` // Requested fields. IntegrationHubId *string `json:"integration_hub_id,omitempty"` // Filter to a specific provider }
Dynamically generated request type for all_integrations
type RequestAllRoles ¶
type RequestAllRoles struct { Fields *string `json:"fields,omitempty"` // Requested fields. Ids *rtl.DelimInt64 `json:"ids,omitempty"` // Optional list of ids to get specific roles. }
Dynamically generated request type for all_roles
type RequestAllScheduledPlans ¶
type RequestAllScheduledPlans struct { UserId *int64 `json:"user_id,omitempty"` // Return scheduled plans belonging to this user_id. If not provided, returns scheduled plans owned by the caller. Fields *string `json:"fields,omitempty"` // Comma delimited list of field names. If provided, only the fields specified will be included in the response AllUsers *bool `json:"all_users,omitempty"` // Return scheduled plans belonging to all users (caller needs see_schedules permission) }
Dynamically generated request type for all_scheduled_plans
type RequestAllUsers ¶
type RequestAllUsers struct { Fields *string `json:"fields,omitempty"` // Requested fields. Page *int64 `json:"page,omitempty"` // Requested page. PerPage *int64 `json:"per_page,omitempty"` // Results per page. Sorts *string `json:"sorts,omitempty"` // Fields to sort by. Ids *rtl.DelimInt64 `json:"ids,omitempty"` // Optional list of ids to get specific users. }
Dynamically generated request type for all_users
type RequestContentThumbnail ¶
type RequestContentThumbnail struct { Type string `json:"type"` // Either dashboard or look ResourceId string `json:"resource_id"` // ID of the dashboard or look to render Reload *string `json:"reload,omitempty"` // Whether or not to refresh the rendered image with the latest content Format *string `json:"format,omitempty"` // A value of png produces a thumbnail in PNG format instead of SVG (default) Width *int64 `json:"width,omitempty"` // The width of the image if format is supplied Height *int64 `json:"height,omitempty"` // The height of the image if format is supplied }
Dynamically generated request type for content_thumbnail
type RequestCreateDashboardRenderTask ¶
type RequestCreateDashboardRenderTask struct { DashboardId int64 `json:"dashboard_id"` // Id of dashboard to render ResultFormat string `json:"result_format"` // Output type: pdf, png, or jpg Body CreateDashboardRenderTask `json:"body"` Width int64 `json:"width"` // Output width in pixels Height int64 `json:"height"` // Output height in pixels Fields *string `json:"fields,omitempty"` // Requested fields. PdfPaperSize *string `json:"pdf_paper_size,omitempty"` // Paper size for pdf. Value can be one of: ["letter","legal","tabloid","a0","a1","a2","a3","a4","a5"] PdfLandscape *bool `json:"pdf_landscape,omitempty"` // Whether to render pdf in landscape paper orientation }
Dynamically generated request type for create_dashboard_render_task
type RequestCreateLookmlDashboardRenderTask ¶
type RequestCreateLookmlDashboardRenderTask struct { DashboardId string `json:"dashboard_id"` // Id of lookml dashboard to render ResultFormat string `json:"result_format"` // Output type: pdf, png, or jpg Body CreateDashboardRenderTask `json:"body"` Width int64 `json:"width"` // Output width in pixels Height int64 `json:"height"` // Output height in pixels Fields *string `json:"fields,omitempty"` // Requested fields. PdfPaperSize *string `json:"pdf_paper_size,omitempty"` // Paper size for pdf. Value can be one of: ["letter","legal","tabloid","a0","a1","a2","a3","a4","a5"] PdfLandscape *bool `json:"pdf_landscape,omitempty"` // Whether to render pdf in landscape }
Dynamically generated request type for create_lookml_dashboard_render_task
type RequestCreateQueryTask ¶
type RequestCreateQueryTask struct { Body WriteCreateQueryTask `json:"body"` Limit *int64 `json:"limit,omitempty"` // Row limit (may override the limit in the saved query). ApplyFormatting *bool `json:"apply_formatting,omitempty"` // Apply model-specified formatting to each result. ApplyVis *bool `json:"apply_vis,omitempty"` // Apply visualization options to results. Cache *bool `json:"cache,omitempty"` // Get results from cache if available. ImageWidth *int64 `json:"image_width,omitempty"` // Render width for image formats. ImageHeight *int64 `json:"image_height,omitempty"` // Render height for image formats. GenerateDrillLinks *bool `json:"generate_drill_links,omitempty"` // Generate drill links (only applicable to 'json_detail' format. ForceProduction *bool `json:"force_production,omitempty"` // Force use of production models even if the user is in development mode. CacheOnly *bool `json:"cache_only,omitempty"` // Retrieve any results from cache even if the results have expired. PathPrefix *string `json:"path_prefix,omitempty"` // Prefix to use for drill links (url encoded). RebuildPdts *bool `json:"rebuild_pdts,omitempty"` // Rebuild PDTS used in query. ServerTableCalcs *bool `json:"server_table_calcs,omitempty"` // Perform table calculations on query results Fields *string `json:"fields,omitempty"` // Requested fields }
Dynamically generated request type for create_query_task
type RequestCreateUserCredentialsEmailPasswordReset ¶
type RequestCreateUserCredentialsEmailPasswordReset struct { UserId int64 `json:"user_id"` // Id of user Expires *bool `json:"expires,omitempty"` // Expiring token. Fields *string `json:"fields,omitempty"` // Requested fields. }
Dynamically generated request type for create_user_credentials_email_password_reset
type RequestDeployRefToProduction ¶
type RequestDeployRefToProduction struct { ProjectId string `json:"project_id"` // Id of project Branch *string `json:"branch,omitempty"` // Branch to deploy to production Ref *string `json:"ref,omitempty"` // Ref to deploy to production }
Dynamically generated request type for deploy_ref_to_production
type RequestFolderChildren ¶
type RequestFolderChildren struct { FolderId string `json:"folder_id"` // Id of folder Fields *string `json:"fields,omitempty"` // Requested fields. Page *int64 `json:"page,omitempty"` // Requested page. PerPage *int64 `json:"per_page,omitempty"` // Results per page. Sorts *string `json:"sorts,omitempty"` // Fields to sort by. }
Dynamically generated request type for folder_children
type RequestFolderChildrenSearch ¶
type RequestFolderChildrenSearch struct { FolderId string `json:"folder_id"` // Id of folder Fields *string `json:"fields,omitempty"` // Requested fields. Sorts *string `json:"sorts,omitempty"` // Fields to sort by. Name *string `json:"name,omitempty"` // Match folder name. }
Dynamically generated request type for folder_children_search
type RequestGraphDerivedTablesForModel ¶
type RequestGraphDerivedTablesForModel struct { Model string `json:"model"` // The name of the Lookml model. Format *string `json:"format,omitempty"` // The format of the graph. Valid values are [dot]. Default is `dot` Color *string `json:"color,omitempty"` // Color denoting the build status of the graph. Grey = not built, green = built, yellow = building, red = error. }
Dynamically generated request type for graph_derived_tables_for_model
type RequestLogin ¶
type RequestLogin struct { ClientId *string `json:"client_id,omitempty"` // client_id part of API3 Key. ClientSecret *string `json:"client_secret,omitempty"` // client_secret part of API3 Key. }
Dynamically generated request type for login
type RequestRoleUsers ¶
type RequestRoleUsers struct { RoleId int64 `json:"role_id"` // id of user Fields *string `json:"fields,omitempty"` // Requested fields. DirectAssociationOnly *bool `json:"direct_association_only,omitempty"` // Get only users associated directly with the role: exclude those only associated through groups. }
Dynamically generated request type for role_users
type RequestRunGitConnectionTest ¶
type RequestRunGitConnectionTest struct { ProjectId string `json:"project_id"` // Project Id TestId string `json:"test_id"` // Test Id RemoteUrl *string `json:"remote_url,omitempty"` // (Optional: leave blank for root project) The remote url for remote dependency to test. UseProduction *string `json:"use_production,omitempty"` // (Optional: leave blank for dev credentials) Whether to use git production credentials. }
Dynamically generated request type for run_git_connection_test
type RequestRunInlineQuery ¶
type RequestRunInlineQuery struct { ResultFormat string `json:"result_format"` // Format of result Body WriteQuery `json:"body"` Limit *int64 `json:"limit,omitempty"` // Row limit (may override the limit in the saved query). ApplyFormatting *bool `json:"apply_formatting,omitempty"` // Apply model-specified formatting to each result. ApplyVis *bool `json:"apply_vis,omitempty"` // Apply visualization options to results. Cache *bool `json:"cache,omitempty"` // Get results from cache if available. ImageWidth *int64 `json:"image_width,omitempty"` // Render width for image formats. ImageHeight *int64 `json:"image_height,omitempty"` // Render height for image formats. GenerateDrillLinks *bool `json:"generate_drill_links,omitempty"` // Generate drill links (only applicable to 'json_detail' format. ForceProduction *bool `json:"force_production,omitempty"` // Force use of production models even if the user is in development mode. CacheOnly *bool `json:"cache_only,omitempty"` // Retrieve any results from cache even if the results have expired. PathPrefix *string `json:"path_prefix,omitempty"` // Prefix to use for drill links (url encoded). RebuildPdts *bool `json:"rebuild_pdts,omitempty"` // Rebuild PDTS used in query. ServerTableCalcs *bool `json:"server_table_calcs,omitempty"` // Perform table calculations on query results }
Dynamically generated request type for run_inline_query
type RequestRunLook ¶
type RequestRunLook struct { LookId int64 `json:"look_id"` // Id of look ResultFormat string `json:"result_format"` // Format of result Limit *int64 `json:"limit,omitempty"` // Row limit (may override the limit in the saved query). ApplyFormatting *bool `json:"apply_formatting,omitempty"` // Apply model-specified formatting to each result. ApplyVis *bool `json:"apply_vis,omitempty"` // Apply visualization options to results. Cache *bool `json:"cache,omitempty"` // Get results from cache if available. ImageWidth *int64 `json:"image_width,omitempty"` // Render width for image formats. ImageHeight *int64 `json:"image_height,omitempty"` // Render height for image formats. GenerateDrillLinks *bool `json:"generate_drill_links,omitempty"` // Generate drill links (only applicable to 'json_detail' format. ForceProduction *bool `json:"force_production,omitempty"` // Force use of production models even if the user is in development mode. CacheOnly *bool `json:"cache_only,omitempty"` // Retrieve any results from cache even if the results have expired. PathPrefix *string `json:"path_prefix,omitempty"` // Prefix to use for drill links (url encoded). RebuildPdts *bool `json:"rebuild_pdts,omitempty"` // Rebuild PDTS used in query. ServerTableCalcs *bool `json:"server_table_calcs,omitempty"` // Perform table calculations on query results }
Dynamically generated request type for run_look
type RequestRunLookmlTest ¶
type RequestRunLookmlTest struct { ProjectId string `json:"project_id"` // Project Id FileId *string `json:"file_id,omitempty"` // File Name Test *string `json:"test,omitempty"` // Test Name Model *string `json:"model,omitempty"` // Model Name }
Dynamically generated request type for run_lookml_test
type RequestRunQuery ¶
type RequestRunQuery struct { QueryId int64 `json:"query_id"` // Id of query ResultFormat string `json:"result_format"` // Format of result Limit *int64 `json:"limit,omitempty"` // Row limit (may override the limit in the saved query). ApplyFormatting *bool `json:"apply_formatting,omitempty"` // Apply model-specified formatting to each result. ApplyVis *bool `json:"apply_vis,omitempty"` // Apply visualization options to results. Cache *bool `json:"cache,omitempty"` // Get results from cache if available. ImageWidth *int64 `json:"image_width,omitempty"` // Render width for image formats. ImageHeight *int64 `json:"image_height,omitempty"` // Render height for image formats. GenerateDrillLinks *bool `json:"generate_drill_links,omitempty"` // Generate drill links (only applicable to 'json_detail' format. ForceProduction *bool `json:"force_production,omitempty"` // Force use of production models even if the user is in development mode. CacheOnly *bool `json:"cache_only,omitempty"` // Retrieve any results from cache even if the results have expired. PathPrefix *string `json:"path_prefix,omitempty"` // Prefix to use for drill links (url encoded). RebuildPdts *bool `json:"rebuild_pdts,omitempty"` // Rebuild PDTS used in query. ServerTableCalcs *bool `json:"server_table_calcs,omitempty"` // Perform table calculations on query results }
Dynamically generated request type for run_query
type RequestScheduledPlansForDashboard ¶
type RequestScheduledPlansForDashboard struct { DashboardId int64 `json:"dashboard_id"` // Dashboard Id UserId *int64 `json:"user_id,omitempty"` // User Id (default is requesting user if not specified) AllUsers *bool `json:"all_users,omitempty"` // Return scheduled plans belonging to all users for the dashboard Fields *string `json:"fields,omitempty"` // Requested fields. }
Dynamically generated request type for scheduled_plans_for_dashboard
type RequestScheduledPlansForLook ¶
type RequestScheduledPlansForLook struct { LookId int64 `json:"look_id"` // Look Id UserId *int64 `json:"user_id,omitempty"` // User Id (default is requesting user if not specified) Fields *string `json:"fields,omitempty"` // Requested fields. AllUsers *bool `json:"all_users,omitempty"` // Return scheduled plans belonging to all users for the look }
Dynamically generated request type for scheduled_plans_for_look
type RequestScheduledPlansForLookmlDashboard ¶
type RequestScheduledPlansForLookmlDashboard struct { LookmlDashboardId string `json:"lookml_dashboard_id"` // LookML Dashboard Id UserId *int64 `json:"user_id,omitempty"` // User Id (default is requesting user if not specified) Fields *string `json:"fields,omitempty"` // Requested fields. AllUsers *bool `json:"all_users,omitempty"` // Return scheduled plans belonging to all users for the dashboard }
Dynamically generated request type for scheduled_plans_for_lookml_dashboard
type RequestSearchContentFavorites ¶
type RequestSearchContentFavorites struct { Id *int64 `json:"id,omitempty"` // Match content favorite id(s) UserId *int64 `json:"user_id,omitempty"` // Match user id(s) ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Match content metadata id(s) DashboardId *int64 `json:"dashboard_id,omitempty"` // Match dashboard id(s) LookId *int64 `json:"look_id,omitempty"` // Match look id(s) Limit *int64 `json:"limit,omitempty"` // Number of results to return. (used with offset) Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any. (used with limit) Sorts *string `json:"sorts,omitempty"` // Fields to sort by. Fields *string `json:"fields,omitempty"` // Requested fields. FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression }
Dynamically generated request type for search_content_favorites
type RequestSearchContentViews ¶
type RequestSearchContentViews struct { ViewCount *int64 `json:"view_count,omitempty"` // Match view count GroupId *int64 `json:"group_id,omitempty"` // Match Group Id LookId *string `json:"look_id,omitempty"` // Match look_id DashboardId *string `json:"dashboard_id,omitempty"` // Match dashboard_id ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Match content metadata id StartOfWeekDate *string `json:"start_of_week_date,omitempty"` // Match start of week date (format is "YYYY-MM-DD") AllTime *bool `json:"all_time,omitempty"` // True if only all time view records should be returned UserId *int64 `json:"user_id,omitempty"` // Match user id Fields *string `json:"fields,omitempty"` // Requested fields Limit *int64 `json:"limit,omitempty"` // Number of results to return. Use with `offset` to manage pagination of results Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning data Sorts *string `json:"sorts,omitempty"` // Fields to sort by FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression }
Dynamically generated request type for search_content_views
type RequestSearchDashboardElements ¶
type RequestSearchDashboardElements struct { DashboardId *int64 `json:"dashboard_id,omitempty"` // Select elements that refer to a given dashboard id LookId *int64 `json:"look_id,omitempty"` // Select elements that refer to a given look id Title *string `json:"title,omitempty"` // Match the title of element Deleted *bool `json:"deleted,omitempty"` // Select soft-deleted dashboard elements Fields *string `json:"fields,omitempty"` // Requested fields. FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression Sorts *string `json:"sorts,omitempty"` // Fields to sort by. Sortable fields: [:look_id, :dashboard_id, :deleted, :title] }
Dynamically generated request type for search_dashboard_elements
type RequestSearchDashboards ¶
type RequestSearchDashboards struct { Id *int64 `json:"id,omitempty"` // Match dashboard id. Slug *string `json:"slug,omitempty"` // Match dashboard slug. Title *string `json:"title,omitempty"` // Match Dashboard title. Description *string `json:"description,omitempty"` // Match Dashboard description. ContentFavoriteId *int64 `json:"content_favorite_id,omitempty"` // Filter on a content favorite id. SpaceId *string `json:"space_id,omitempty"` // Filter on a particular space. FolderId *string `json:"folder_id,omitempty"` // Filter on a particular space. Deleted *string `json:"deleted,omitempty"` // Filter on dashboards deleted status. UserId *string `json:"user_id,omitempty"` // Filter on dashboards created by a particular user. ViewCount *string `json:"view_count,omitempty"` // Filter on a particular value of view_count ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Filter on a content favorite id. Curate *bool `json:"curate,omitempty"` // Exclude items that exist only in personal spaces other than the users Fields *string `json:"fields,omitempty"` // Requested fields. Page *int64 `json:"page,omitempty"` // Requested page. PerPage *int64 `json:"per_page,omitempty"` // Results per page. Limit *int64 `json:"limit,omitempty"` // Number of results to return. (used with offset and takes priority over page and per_page) Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any. (used with limit and takes priority over page and per_page) Sorts *string `json:"sorts,omitempty"` // One or more fields to sort by. Sortable fields: [:title, :user_id, :id, :created_at, :space_id, :folder_id, :description, :view_count, :favorite_count, :slug, :content_favorite_id, :content_metadata_id, :deleted, :deleted_at, :last_viewed_at, :last_accessed_at] FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression }
Dynamically generated request type for search_dashboards
type RequestSearchGroups ¶
type RequestSearchGroups struct { Fields *string `json:"fields,omitempty"` // Requested fields. Limit *int64 `json:"limit,omitempty"` // Number of results to return (used with `offset`). Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any (used with `limit`). Sorts *string `json:"sorts,omitempty"` // Fields to sort by. FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression Id *int64 `json:"id,omitempty"` // Match group id. Name *string `json:"name,omitempty"` // Match group name. ExternalGroupId *string `json:"external_group_id,omitempty"` // Match group external_group_id. ExternallyManaged *bool `json:"externally_managed,omitempty"` // Match group externally_managed. ExternallyOrphaned *bool `json:"externally_orphaned,omitempty"` // Match group externally_orphaned. }
Dynamically generated request type for search_groups
type RequestSearchHomepages ¶
type RequestSearchHomepages struct { Title *string `json:"title,omitempty"` // Matches homepage title. CreatedAt *string `json:"created_at,omitempty"` // Matches the timestamp for when the homepage was created. FirstName *string `json:"first_name,omitempty"` // The first name of the user who created this homepage. LastName *string `json:"last_name,omitempty"` // The last name of the user who created this homepage. Fields *string `json:"fields,omitempty"` // Requested fields. Favorited *bool `json:"favorited,omitempty"` // Return favorited homepages when true. CreatorId *string `json:"creator_id,omitempty"` // Filter on homepages created by a particular user. Page *int64 `json:"page,omitempty"` // The page to return. PerPage *int64 `json:"per_page,omitempty"` // The number of items in the returned page. Offset *int64 `json:"offset,omitempty"` // The number of items to skip before returning any. (used with limit and takes priority over page and per_page) Limit *int64 `json:"limit,omitempty"` // The maximum number of items to return. (used with offset and takes priority over page and per_page) Sorts *string `json:"sorts,omitempty"` // The fields to sort the results by. FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression }
Dynamically generated request type for search_homepages
type RequestSearchLooks ¶
type RequestSearchLooks struct { Id *string `json:"id,omitempty"` // Match look id. Title *string `json:"title,omitempty"` // Match Look title. Description *string `json:"description,omitempty"` // Match Look description. ContentFavoriteId *int64 `json:"content_favorite_id,omitempty"` // Select looks with a particular content favorite id SpaceId *string `json:"space_id,omitempty"` // Select looks in a particular space. UserId *string `json:"user_id,omitempty"` // Select looks created by a particular user. ViewCount *string `json:"view_count,omitempty"` // Select looks with particular view_count value Deleted *bool `json:"deleted,omitempty"` // Select soft-deleted looks QueryId *int64 `json:"query_id,omitempty"` // Select looks that reference a particular query by query_id Curate *bool `json:"curate,omitempty"` // Exclude items that exist only in personal spaces other than the users Fields *string `json:"fields,omitempty"` // Requested fields. Page *int64 `json:"page,omitempty"` // Requested page. PerPage *int64 `json:"per_page,omitempty"` // Results per page. Limit *int64 `json:"limit,omitempty"` // Number of results to return. (used with offset and takes priority over page and per_page) Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any. (used with limit and takes priority over page and per_page) Sorts *string `json:"sorts,omitempty"` // One or more fields to sort results by. Sortable fields: [:title, :user_id, :id, :created_at, :space_id, :folder_id, :description, :updated_at, :last_updater_id, :view_count, :favorite_count, :content_favorite_id, :deleted, :deleted_at, :last_viewed_at, :last_accessed_at, :query_id] FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression }
Dynamically generated request type for search_looks
type RequestSearchModelSets ¶
type RequestSearchModelSets struct { Fields *string `json:"fields,omitempty"` // Requested fields. Limit *int64 `json:"limit,omitempty"` // Number of results to return (used with `offset`). Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any (used with `limit`). Sorts *string `json:"sorts,omitempty"` // Fields to sort by. Id *int64 `json:"id,omitempty"` // Match model set id. Name *string `json:"name,omitempty"` // Match model set name. AllAccess *bool `json:"all_access,omitempty"` // Match model sets by all_access status. BuiltIn *bool `json:"built_in,omitempty"` // Match model sets by built_in status. FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression. }
Dynamically generated request type for search_model_sets
type RequestSearchRoles ¶
type RequestSearchRoles struct { Fields *string `json:"fields,omitempty"` // Requested fields. Limit *int64 `json:"limit,omitempty"` // Number of results to return (used with `offset`). Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any (used with `limit`). Sorts *string `json:"sorts,omitempty"` // Fields to sort by. Id *int64 `json:"id,omitempty"` // Match role id. Name *string `json:"name,omitempty"` // Match role name. BuiltIn *bool `json:"built_in,omitempty"` // Match roles by built_in status. FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression. }
Dynamically generated request type for search_roles
type RequestSearchSpaces ¶
type RequestSearchSpaces struct { Fields *string `json:"fields,omitempty"` // Requested fields. Page *int64 `json:"page,omitempty"` // Requested page. PerPage *int64 `json:"per_page,omitempty"` // Results per page. Limit *int64 `json:"limit,omitempty"` // Number of results to return. (used with offset and takes priority over page and per_page) Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any. (used with limit and takes priority over page and per_page) Sorts *string `json:"sorts,omitempty"` // Fields to sort by. Name *string `json:"name,omitempty"` // Match Space title. Id *int64 `json:"id,omitempty"` // Match Space id ParentId *string `json:"parent_id,omitempty"` // Filter on a children of a particular space. CreatorId *string `json:"creator_id,omitempty"` // Filter on spaces created by a particular user. FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression }
Dynamically generated request type for search_spaces
type RequestSearchThemes ¶
type RequestSearchThemes struct { Id *int64 `json:"id,omitempty"` // Match theme id. Name *string `json:"name,omitempty"` // Match theme name. BeginAt *time.Time `json:"begin_at,omitempty"` // Timestamp for activation. EndAt *time.Time `json:"end_at,omitempty"` // Timestamp for expiration. Limit *int64 `json:"limit,omitempty"` // Number of results to return (used with `offset`). Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any (used with `limit`). Sorts *string `json:"sorts,omitempty"` // Fields to sort by. Fields *string `json:"fields,omitempty"` // Requested fields. FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression }
Dynamically generated request type for search_themes
type RequestSearchUserLoginLockouts ¶
type RequestSearchUserLoginLockouts struct { Fields *string `json:"fields,omitempty"` // Include only these fields in the response Page *int64 `json:"page,omitempty"` // Return only page N of paginated results PerPage *int64 `json:"per_page,omitempty"` // Return N rows of data per page Sorts *string `json:"sorts,omitempty"` // Fields to sort by. AuthType *string `json:"auth_type,omitempty"` // Auth type user is locked out for (email, ldap, totp, api) FullName *string `json:"full_name,omitempty"` // Match name Email *string `json:"email,omitempty"` // Match email RemoteId *string `json:"remote_id,omitempty"` // Match remote LDAP ID FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression }
Dynamically generated request type for search_user_login_lockouts
type RequestSearchUsers ¶
type RequestSearchUsers struct { Fields *string `json:"fields,omitempty"` // Include only these fields in the response Page *int64 `json:"page,omitempty"` // Return only page N of paginated results PerPage *int64 `json:"per_page,omitempty"` // Return N rows of data per page Sorts *string `json:"sorts,omitempty"` // Fields to sort by. Id *int64 `json:"id,omitempty"` // Match User Id. FirstName *string `json:"first_name,omitempty"` // Match First name. LastName *string `json:"last_name,omitempty"` // Match Last name. VerifiedLookerEmployee *bool `json:"verified_looker_employee,omitempty"` // Search for user accounts associated with Looker employees Email *string `json:"email,omitempty"` // Search for the user with this email address IsDisabled *bool `json:"is_disabled,omitempty"` // Search for disabled user accounts FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Search for users who have access to this content_metadata item GroupId *int64 `json:"group_id,omitempty"` // Search for users who are direct members of this group }
Dynamically generated request type for search_users
type RequestSearchUsersNames ¶
type RequestSearchUsersNames struct { Pattern string `json:"pattern"` // Pattern to match Fields *string `json:"fields,omitempty"` // Include only these fields in the response Page *int64 `json:"page,omitempty"` // Return only page N of paginated results PerPage *int64 `json:"per_page,omitempty"` // Return N rows of data per page Sorts *string `json:"sorts,omitempty"` // Fields to sort by Id *int64 `json:"id,omitempty"` // Match User Id FirstName *string `json:"first_name,omitempty"` // Match First name LastName *string `json:"last_name,omitempty"` // Match Last name VerifiedLookerEmployee *bool `json:"verified_looker_employee,omitempty"` // Match Verified Looker employee Email *string `json:"email,omitempty"` // Match Email Address IsDisabled *bool `json:"is_disabled,omitempty"` // Include or exclude disabled accounts in the results }
Dynamically generated request type for search_users_names
type RequestSpaceChildren ¶
type RequestSpaceChildren struct { SpaceId string `json:"space_id"` // Id of space Fields *string `json:"fields,omitempty"` // Requested fields. Page *int64 `json:"page,omitempty"` // Requested page. PerPage *int64 `json:"per_page,omitempty"` // Results per page. Sorts *string `json:"sorts,omitempty"` // Fields to sort by. }
Dynamically generated request type for space_children
type RequestSpaceChildrenSearch ¶
type RequestSpaceChildrenSearch struct { SpaceId string `json:"space_id"` // Id of space Fields *string `json:"fields,omitempty"` // Requested fields. Sorts *string `json:"sorts,omitempty"` // Fields to sort by. Name *string `json:"name,omitempty"` // Match Space name. }
Dynamically generated request type for space_children_search
type RequestUserAttributeUserValues ¶
type RequestUserAttributeUserValues struct { UserId int64 `json:"user_id"` // Id of user Fields *string `json:"fields,omitempty"` // Requested fields. UserAttributeIds *rtl.DelimInt64 `json:"user_attribute_ids,omitempty"` // Specific user attributes to request. Omit or leave blank to request all user attributes. AllValues *bool `json:"all_values,omitempty"` // If true, returns all values in the search path instead of just the first value found. Useful for debugging group precedence. IncludeUnset *bool `json:"include_unset,omitempty"` // If true, returns an empty record for each requested attribute that has no user, group, or default value. }
Dynamically generated request type for user_attribute_user_values
type RequestUserRoles ¶
type RequestUserRoles struct { UserId int64 `json:"user_id"` // id of user Fields *string `json:"fields,omitempty"` // Requested fields. DirectAssociationOnly *bool `json:"direct_association_only,omitempty"` // Get only roles associated directly with the user: exclude those only associated through groups. }
Dynamically generated request type for user_roles
type ResultFormat ¶
type ResultFormat string
const ResultFormat_Csv ResultFormat = "csv"
const ResultFormat_Gsxml ResultFormat = "gsxml"
const ResultFormat_Html ResultFormat = "html"
const ResultFormat_InlineJson ResultFormat = "inline_json"
const ResultFormat_Json ResultFormat = "json"
const ResultFormat_JsonDetail ResultFormat = "json_detail"
const ResultFormat_JsonFe ResultFormat = "json_fe"
const ResultFormat_Md ResultFormat = "md"
const ResultFormat_Txt ResultFormat = "txt"
const ResultFormat_Xlsx ResultFormat = "xlsx"
type ResultMakerFilterables ¶
type ResultMakerFilterables struct { Model *string `json:"model,omitempty"` // The model this filterable comes from (used for field suggestions). View *string `json:"view,omitempty"` // The view this filterable comes from (used for field suggestions). Name *string `json:"name,omitempty"` // The name of the filterable thing (Query or Merged Results). Listen *[]ResultMakerFilterablesListen `json:"listen,omitempty"` // array of dashboard_filter_name: and field: objects. }
type ResultMakerWithIdVisConfigAndDynamicFields ¶
type ResultMakerWithIdVisConfigAndDynamicFields struct { Id *int64 `json:"id,omitempty"` // Unique Id. DynamicFields *string `json:"dynamic_fields,omitempty"` // JSON string of dynamic field information. Filterables *[]ResultMakerFilterables `json:"filterables,omitempty"` // array of items that can be filtered and information about them. Sorts *[]string `json:"sorts,omitempty"` // Sorts of the constituent Look, Query, or Merge Query MergeResultId *string `json:"merge_result_id,omitempty"` // ID of merge result if this is a merge_result. Total *bool `json:"total,omitempty"` // Total of the constituent Look, Query, or Merge Query QueryId *int64 `json:"query_id,omitempty"` // ID of query if this is a query. SqlQueryId *string `json:"sql_query_id,omitempty"` // ID of SQL Query if this is a SQL Runner Query Query *Query `json:"query,omitempty"` VisConfig *map[string]interface{} `json:"vis_config,omitempty"` // Vis config of the constituent Query, or Merge Query. }
type Role ¶
type Role struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *int64 `json:"id,omitempty"` // Unique Id Name *string `json:"name,omitempty"` // Name of Role PermissionSet *PermissionSet `json:"permission_set,omitempty"` PermissionSetId *int64 `json:"permission_set_id,omitempty"` // (Write-Only) Id of permission set ModelSet *ModelSet `json:"model_set,omitempty"` ModelSetId *int64 `json:"model_set_id,omitempty"` // (Write-Only) Id of model set Url *url.URL `json:"url,omitempty"` // Link to get this item UsersUrl *url.URL `json:"users_url,omitempty"` // Link to get list of users with this role }
type RunningQueries ¶
type RunningQueries struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *int64 `json:"id,omitempty"` // Unique Id User *UserPublic `json:"user,omitempty"` Query *Query `json:"query,omitempty"` SqlQuery *SqlQuery `json:"sql_query,omitempty"` Look *LookBasic `json:"look,omitempty"` CreatedAt *string `json:"created_at,omitempty"` // Date/Time Query was initiated CompletedAt *string `json:"completed_at,omitempty"` // Date/Time Query was completed QueryId *string `json:"query_id,omitempty"` // Query Id Source *string `json:"source,omitempty"` // Source (look, dashboard, queryrunner, explore, etc.) NodeId *string `json:"node_id,omitempty"` // Node Id Slug *string `json:"slug,omitempty"` // Slug QueryTaskId *string `json:"query_task_id,omitempty"` // ID of a Query Task CacheKey *string `json:"cache_key,omitempty"` // Cache Key ConnectionName *string `json:"connection_name,omitempty"` // Connection Dialect *string `json:"dialect,omitempty"` // Dialect ConnectionId *string `json:"connection_id,omitempty"` // Connection ID Message *string `json:"message,omitempty"` // Additional Information(Error message or verbose status) Status *string `json:"status,omitempty"` // Status description Runtime *float64 `json:"runtime,omitempty"` // Number of seconds elapsed running the Query Sql *string `json:"sql,omitempty"` // SQL text of the query as run }
type SamlConfig ¶
type SamlConfig struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Enabled *bool `json:"enabled,omitempty"` // Enable/Disable Saml authentication for the server IdpCert *string `json:"idp_cert,omitempty"` // Identity Provider Certificate (provided by IdP) IdpUrl *string `json:"idp_url,omitempty"` // Identity Provider Url (provided by IdP) IdpIssuer *string `json:"idp_issuer,omitempty"` // Identity Provider Issuer (provided by IdP) IdpAudience *string `json:"idp_audience,omitempty"` // Identity Provider Audience (set in IdP config). Optional in Looker. Set this only if you want Looker to validate the audience value returned by the IdP. AllowedClockDrift *int64 `json:"allowed_clock_drift,omitempty"` // Count of seconds of clock drift to allow when validating timestamps of assertions. UserAttributeMapEmail *string `json:"user_attribute_map_email,omitempty"` // Name of user record attributes used to indicate email address field UserAttributeMapFirstName *string `json:"user_attribute_map_first_name,omitempty"` // Name of user record attributes used to indicate first name UserAttributeMapLastName *string `json:"user_attribute_map_last_name,omitempty"` // Name of user record attributes used to indicate last name NewUserMigrationTypes *string `json:"new_user_migration_types,omitempty"` // Merge first-time saml login to existing user account by email addresses. When a user logs in for the first time via saml this option will connect this user into their existing account by finding the account with a matching email address by testing the given types of credentials for existing users. Otherwise a new user account will be created for the user. This list (if provided) must be a comma separated list of string like 'email,ldap,google' AlternateEmailLoginAllowed *bool `json:"alternate_email_login_allowed,omitempty"` // Allow alternate email-based login via '/login/email' for admins and for specified users with the 'login_special_email' permission. This option is useful as a fallback during ldap setup, if ldap config problems occur later, or if you need to support some users who are not in your ldap directory. Looker email/password logins are always disabled for regular users when ldap is enabled. TestSlug *string `json:"test_slug,omitempty"` // Slug to identify configurations that are created in order to run a Saml config test ModifiedAt *string `json:"modified_at,omitempty"` // When this config was last modified ModifiedBy *string `json:"modified_by,omitempty"` // User id of user who last modified this config DefaultNewUserRoles *[]Role `json:"default_new_user_roles,omitempty"` // (Read-only) Roles that will be applied to new users the first time they login via Saml DefaultNewUserGroups *[]Group `json:"default_new_user_groups,omitempty"` // (Read-only) Groups that will be applied to new users the first time they login via Saml DefaultNewUserRoleIds *[]int64 `json:"default_new_user_role_ids,omitempty"` // (Write-Only) Array of ids of roles that will be applied to new users the first time they login via Saml DefaultNewUserGroupIds *[]int64 `json:"default_new_user_group_ids,omitempty"` // (Write-Only) Array of ids of groups that will be applied to new users the first time they login via Saml SetRolesFromGroups *bool `json:"set_roles_from_groups,omitempty"` // Set user roles in Looker based on groups from Saml GroupsAttribute *string `json:"groups_attribute,omitempty"` // Name of user record attributes used to indicate groups. Used when 'groups_finder_type' is set to 'grouped_attribute_values' Groups *[]SamlGroupRead `json:"groups,omitempty"` // (Read-only) Array of mappings between Saml Groups and Looker Roles GroupsWithRoleIds *[]SamlGroupWrite `json:"groups_with_role_ids,omitempty"` // (Read/Write) Array of mappings between Saml Groups and arrays of Looker Role ids AuthRequiresRole *bool `json:"auth_requires_role,omitempty"` // Users will not be allowed to login at all unless a role for them is found in Saml if set to true UserAttributes *[]SamlUserAttributeRead `json:"user_attributes,omitempty"` // (Read-only) Array of mappings between Saml User Attributes and Looker User Attributes UserAttributesWithIds *[]SamlUserAttributeWrite `json:"user_attributes_with_ids,omitempty"` // (Read/Write) Array of mappings between Saml User Attributes and arrays of Looker User Attribute ids GroupsFinderType *string `json:"groups_finder_type,omitempty"` // Identifier for a strategy for how Looker will find groups in the SAML response. One of ['grouped_attribute_values', 'individual_attributes'] GroupsMemberValue *string `json:"groups_member_value,omitempty"` // Value for group attribute used to indicate membership. Used when 'groups_finder_type' is set to 'individual_attributes' BypassLoginPage *bool `json:"bypass_login_page,omitempty"` // Bypass the login page when user authentication is required. Redirect to IdP immediately instead. AllowNormalGroupMembership *bool `json:"allow_normal_group_membership,omitempty"` // Allow SAML auth'd users to be members of non-reflected Looker groups. If 'false', user will be removed from non-reflected groups on login. AllowRolesFromNormalGroups *bool `json:"allow_roles_from_normal_groups,omitempty"` // SAML auth'd users will inherit roles from non-reflected Looker groups. AllowDirectRoles *bool `json:"allow_direct_roles,omitempty"` // Allows roles to be directly assigned to SAML auth'd users. Url *url.URL `json:"url,omitempty"` // Link to get this item }
type SamlGroupRead ¶
type SamlGroupRead struct { Id *int64 `json:"id,omitempty"` // Unique Id LookerGroupId *int64 `json:"looker_group_id,omitempty"` // Unique Id of group in Looker LookerGroupName *string `json:"looker_group_name,omitempty"` // Name of group in Looker Name *string `json:"name,omitempty"` // Name of group in Saml Roles *[]Role `json:"roles,omitempty"` // Looker Roles Url *url.URL `json:"url,omitempty"` // Link to saml config }
type SamlGroupWrite ¶
type SamlGroupWrite struct { Id *int64 `json:"id,omitempty"` // Unique Id LookerGroupId *int64 `json:"looker_group_id,omitempty"` // Unique Id of group in Looker LookerGroupName *string `json:"looker_group_name,omitempty"` // Name of group in Looker Name *string `json:"name,omitempty"` // Name of group in Saml RoleIds *[]int64 `json:"role_ids,omitempty"` // Looker Role Ids Url *url.URL `json:"url,omitempty"` // Link to saml config }
type SamlMetadataParseResult ¶
type SamlMetadataParseResult struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object IdpIssuer *string `json:"idp_issuer,omitempty"` // Identify Provider Issuer IdpUrl *string `json:"idp_url,omitempty"` // Identify Provider Url IdpCert *string `json:"idp_cert,omitempty"` // Identify Provider Certificate }
type SamlUserAttributeRead ¶
type SamlUserAttributeRead struct { Name *string `json:"name,omitempty"` // Name of User Attribute in Saml Required *bool `json:"required,omitempty"` // Required to be in Saml assertion for login to be allowed to succeed UserAttributes *[]UserAttribute `json:"user_attributes,omitempty"` // Looker User Attributes Url *url.URL `json:"url,omitempty"` // Link to saml config }
type SamlUserAttributeWrite ¶
type SamlUserAttributeWrite struct { Name *string `json:"name,omitempty"` // Name of User Attribute in Saml Required *bool `json:"required,omitempty"` // Required to be in Saml assertion for login to be allowed to succeed UserAttributeIds *[]int64 `json:"user_attribute_ids,omitempty"` // Looker User Attribute Ids Url *url.URL `json:"url,omitempty"` // Link to saml config }
type ScheduledPlan ¶
type ScheduledPlan struct { Name *string `json:"name,omitempty"` // Name of this scheduled plan UserId *int64 `json:"user_id,omitempty"` // User Id which owns this scheduled plan RunAsRecipient *bool `json:"run_as_recipient,omitempty"` // Whether schedule is run as recipient (only applicable for email recipients) Enabled *bool `json:"enabled,omitempty"` // Whether the ScheduledPlan is enabled LookId *int64 `json:"look_id,omitempty"` // Id of a look DashboardId *int64 `json:"dashboard_id,omitempty"` // Id of a dashboard LookmlDashboardId *string `json:"lookml_dashboard_id,omitempty"` // Id of a LookML dashboard FiltersString *string `json:"filters_string,omitempty"` // Query string to run look or dashboard with DashboardFilters *string `json:"dashboard_filters,omitempty"` // (DEPRECATED) Alias for filters_string field RequireResults *bool `json:"require_results,omitempty"` // Delivery should occur if running the dashboard or look returns results RequireNoResults *bool `json:"require_no_results,omitempty"` // Delivery should occur if the dashboard look does not return results RequireChange *bool `json:"require_change,omitempty"` // Delivery should occur if data have changed since the last run SendAllResults *bool `json:"send_all_results,omitempty"` // Will run an unlimited query and send all results. Crontab *string `json:"crontab,omitempty"` // Vixie-Style crontab specification when to run Datagroup *string `json:"datagroup,omitempty"` // Name of a datagroup; if specified will run when datagroup triggered (can't be used with cron string) Timezone *string `json:"timezone,omitempty"` // Timezone for interpreting the specified crontab (default is Looker instance timezone) QueryId *string `json:"query_id,omitempty"` // Query id ScheduledPlanDestination *[]ScheduledPlanDestination `json:"scheduled_plan_destination,omitempty"` // Scheduled plan destinations RunOnce *bool `json:"run_once,omitempty"` // Whether the plan in question should only be run once (usually for testing) IncludeLinks *bool `json:"include_links,omitempty"` // Whether links back to Looker should be included in this ScheduledPlan PdfPaperSize *string `json:"pdf_paper_size,omitempty"` // The size of paper the PDF should be formatted to fit. Valid values are: "letter", "legal", "tabloid", "a0", "a1", "a2", "a3", "a4", "a5". PdfLandscape *bool `json:"pdf_landscape,omitempty"` // Whether the PDF should be formatted for landscape orientation Embed *bool `json:"embed,omitempty"` // Whether this schedule is in an embed context or not ColorTheme *string `json:"color_theme,omitempty"` // Color scheme of the dashboard if applicable LongTables *bool `json:"long_tables,omitempty"` // Whether or not to expand table vis to full length InlineTableWidth *int64 `json:"inline_table_width,omitempty"` // The pixel width at which we render the inline table visualizations Id *int64 `json:"id,omitempty"` // Unique Id CreatedAt *time.Time `json:"created_at,omitempty"` // Date and time when ScheduledPlan was created UpdatedAt *time.Time `json:"updated_at,omitempty"` // Date and time when ScheduledPlan was last updated Title *string `json:"title,omitempty"` // Title User *UserPublic `json:"user,omitempty"` NextRunAt *time.Time `json:"next_run_at,omitempty"` // When the ScheduledPlan will next run (null if running once) LastRunAt *time.Time `json:"last_run_at,omitempty"` // When the ScheduledPlan was last run Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object }
type ScheduledPlanDestination ¶
type ScheduledPlanDestination struct { Id *int64 `json:"id,omitempty"` // Unique Id ScheduledPlanId *int64 `json:"scheduled_plan_id,omitempty"` // Id of a scheduled plan you own Format *string `json:"format,omitempty"` // The data format to send to the given destination. Supported formats vary by destination, but include: "txt", "csv", "inline_json", "json", "json_detail", "xlsx", "html", "wysiwyg_pdf", "assembled_pdf", "wysiwyg_png" ApplyFormatting *bool `json:"apply_formatting,omitempty"` // Are values formatted? (containing currency symbols, digit separators, etc. ApplyVis *bool `json:"apply_vis,omitempty"` // Whether visualization options are applied to the results. Address *string `json:"address,omitempty"` // Address for recipient. For email e.g. 'user@example.com'. For webhooks e.g. 'https://domain/path'. For Amazon S3 e.g. 's3://bucket-name/path/'. For SFTP e.g. 'sftp://host-name/path/'. LookerRecipient *bool `json:"looker_recipient,omitempty"` // Whether the recipient is a Looker user on the current instance (only applicable for email recipients) Type *string `json:"type,omitempty"` // Type of the address ('email', 'webhook', 's3', or 'sftp') Parameters *string `json:"parameters,omitempty"` // JSON object containing parameters for external scheduling. For Amazon S3, this requires keys and values for access_key_id and region. For SFTP, this requires a key and value for username. SecretParameters *string `json:"secret_parameters,omitempty"` // (Write-Only) JSON object containing secret parameters for external scheduling. For Amazon S3, this requires a key and value for secret_access_key. For SFTP, this requires a key and value for password. Message *string `json:"message,omitempty"` // Optional message to be included in scheduled emails }
type Session ¶
type Session struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *int64 `json:"id,omitempty"` // Unique Id IpAddress *string `json:"ip_address,omitempty"` // IP address of user when this session was initiated Browser *string `json:"browser,omitempty"` // User's browser type OperatingSystem *string `json:"operating_system,omitempty"` // User's Operating System City *string `json:"city,omitempty"` // City component of user location (derived from IP address) State *string `json:"state,omitempty"` // State component of user location (derived from IP address) Country *string `json:"country,omitempty"` // Country component of user location (derived from IP address) CredentialsType *string `json:"credentials_type,omitempty"` // Type of credentials used for logging in this session ExtendedAt *string `json:"extended_at,omitempty"` // Time when this session was last extended by the user ExtendedCount *int64 `json:"extended_count,omitempty"` // Number of times this session was extended SudoUserId *int64 `json:"sudo_user_id,omitempty"` // Actual user in the case when this session represents one user sudo'ing as another CreatedAt *string `json:"created_at,omitempty"` // Time when this session was initiated ExpiresAt *string `json:"expires_at,omitempty"` // Time when this session will expire Url *url.URL `json:"url,omitempty"` // Link to get this item }
type SessionConfig ¶
type SessionConfig struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object AllowPersistentSessions *bool `json:"allow_persistent_sessions,omitempty"` // Allow users to have persistent sessions when they login SessionMinutes *int64 `json:"session_minutes,omitempty"` // Number of minutes for user sessions. Must be between 5 and 43200 UnlimitedSessionsPerUser *bool `json:"unlimited_sessions_per_user,omitempty"` // Allow users to have an unbounded number of concurrent sessions (otherwise, users will be limited to only one session at a time). UseInactivityBasedLogout *bool `json:"use_inactivity_based_logout,omitempty"` // Enforce session logout for sessions that are inactive for 15 minutes. TrackSessionLocation *bool `json:"track_session_location,omitempty"` // Track location of session when user logs in. }
type Snippet ¶
type Snippet struct { Name *string `json:"name,omitempty"` // Name of the snippet Label *string `json:"label,omitempty"` // Label of the snippet Sql *string `json:"sql,omitempty"` // SQL text of the snippet Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object }
type Space ¶
type Space struct { Name string `json:"name"` // Unique Name ParentId *string `json:"parent_id,omitempty"` // Id of Parent. If the parent id is null, this is a root-level entry Id *string `json:"id,omitempty"` // Unique Id ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Id of content metadata CreatedAt *time.Time `json:"created_at,omitempty"` // Time the space was created CreatorId *int64 `json:"creator_id,omitempty"` // User Id of Creator ChildCount *int64 `json:"child_count,omitempty"` // Children Count ExternalId *string `json:"external_id,omitempty"` // Embedder's Id if this space was autogenerated as an embedding shared space via 'external_group_id' in an SSO embed login IsEmbed *bool `json:"is_embed,omitempty"` // Space is an embed space IsEmbedUsersRoot *bool `json:"is_embed_users_root,omitempty"` // Space is the root embed users space IsPersonal *bool `json:"is_personal,omitempty"` // Space is a user's personal space IsPersonalDescendant *bool `json:"is_personal_descendant,omitempty"` // Space is descendant of a user's personal space IsUsersRoot *bool `json:"is_users_root,omitempty"` // Space is the root user space Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Dashboards *[]DashboardBase `json:"dashboards,omitempty"` // Dashboards Looks *[]LookWithDashboards `json:"looks,omitempty"` // Looks }
type SpaceBase ¶
type SpaceBase struct { Name string `json:"name"` // Unique Name ParentId *string `json:"parent_id,omitempty"` // Id of Parent. If the parent id is null, this is a root-level entry Id *string `json:"id,omitempty"` // Unique Id ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Id of content metadata CreatedAt *time.Time `json:"created_at,omitempty"` // Time the space was created CreatorId *int64 `json:"creator_id,omitempty"` // User Id of Creator ChildCount *int64 `json:"child_count,omitempty"` // Children Count ExternalId *string `json:"external_id,omitempty"` // Embedder's Id if this space was autogenerated as an embedding shared space via 'external_group_id' in an SSO embed login IsEmbed *bool `json:"is_embed,omitempty"` // Space is an embed space IsEmbedUsersRoot *bool `json:"is_embed_users_root,omitempty"` // Space is the root embed users space IsPersonal *bool `json:"is_personal,omitempty"` // Space is a user's personal space IsPersonalDescendant *bool `json:"is_personal_descendant,omitempty"` // Space is descendant of a user's personal space IsUsersRoot *bool `json:"is_users_root,omitempty"` // Space is the root user space Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object }
type SqlQuery ¶
type SqlQuery struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Slug *string `json:"slug,omitempty"` // The identifier of the SQL query LastRuntime *float32 `json:"last_runtime,omitempty"` // Number of seconds this query took to run the most recent time it was run RunCount *int64 `json:"run_count,omitempty"` // Number of times this query has been run BrowserLimit *int64 `json:"browser_limit,omitempty"` // Maximum number of rows this query will display on the SQL Runner page Sql *string `json:"sql,omitempty"` // SQL query text LastRunAt *string `json:"last_run_at,omitempty"` // The most recent time this query was run Connection *DBConnectionBase `json:"connection,omitempty"` ModelName *string `json:"model_name,omitempty"` // Model name this query uses Creator *UserPublic `json:"creator,omitempty"` ExploreUrl *string `json:"explore_url,omitempty"` // Explore page URL for this SQL query Plaintext *bool `json:"plaintext,omitempty"` // Should this query be rendered as plain text VisConfig *map[string]interface{} `json:"vis_config,omitempty"` // Visualization configuration properties. These properties are typically opaque and differ based on the type of visualization used. There is no specified set of allowed keys. The values can be any type supported by JSON. A "type" key with a string value is often present, and is used by Looker to determine which visualization to present. Visualizations ignore unknown vis_config properties. ResultMakerId *int64 `json:"result_maker_id,omitempty"` // ID of the ResultMakerLookup entry. }
type SqlQueryCreate ¶
type SqlQueryCreate struct { ConnectionName *string `json:"connection_name,omitempty"` // Name of the db connection on which to run this query ConnectionId *string `json:"connection_id,omitempty"` // (DEPRECATED) Use `connection_name` instead ModelName *string `json:"model_name,omitempty"` // Name of LookML Model (this or `connection_id` required) Sql *string `json:"sql,omitempty"` // SQL query VisConfig *map[string]interface{} `json:"vis_config,omitempty"` // Visualization configuration properties. These properties are typically opaque and differ based on the type of visualization used. There is no specified set of allowed keys. The values can be any type supported by JSON. A "type" key with a string value is often present, and is used by Looker to determine which visualization to present. Visualizations ignore unknown vis_config properties. }
type SupportedActionTypes ¶
type SupportedActionTypes string
const SupportedActionTypes_Cell SupportedActionTypes = "cell"
const SupportedActionTypes_Dashboard SupportedActionTypes = "dashboard"
const SupportedActionTypes_Query SupportedActionTypes = "query"
type SupportedDownloadSettings ¶
type SupportedDownloadSettings string
const SupportedDownloadSettings_Push SupportedDownloadSettings = "push"
const SupportedDownloadSettings_Url SupportedDownloadSettings = "url"
type SupportedFormats ¶
type SupportedFormats string
const SupportedFormats_AssembledPdf SupportedFormats = "assembled_pdf"
const SupportedFormats_Csv SupportedFormats = "csv"
const SupportedFormats_CsvZip SupportedFormats = "csv_zip"
const SupportedFormats_Html SupportedFormats = "html"
const SupportedFormats_InlineJson SupportedFormats = "inline_json"
const SupportedFormats_Json SupportedFormats = "json"
const SupportedFormats_JsonDetail SupportedFormats = "json_detail"
const SupportedFormats_JsonDetailLiteStream SupportedFormats = "json_detail_lite_stream"
const SupportedFormats_JsonLabel SupportedFormats = "json_label"
const SupportedFormats_Txt SupportedFormats = "txt"
const SupportedFormats_WysiwygPdf SupportedFormats = "wysiwyg_pdf"
const SupportedFormats_WysiwygPng SupportedFormats = "wysiwyg_png"
const SupportedFormats_Xlsx SupportedFormats = "xlsx"
type SupportedFormattings ¶
type SupportedFormattings string
const SupportedFormattings_Formatted SupportedFormattings = "formatted"
const SupportedFormattings_Unformatted SupportedFormattings = "unformatted"
type SupportedVisualizationFormattings ¶
type SupportedVisualizationFormattings string
const SupportedVisualizationFormattings_Apply SupportedVisualizationFormattings = "apply"
const SupportedVisualizationFormattings_Noapply SupportedVisualizationFormattings = "noapply"
type Theme ¶
type Theme struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object BeginAt *time.Time `json:"begin_at,omitempty"` // Timestamp for when this theme becomes active. Null=always EndAt *time.Time `json:"end_at,omitempty"` // Timestamp for when this theme expires. Null=never Id *int64 `json:"id,omitempty"` // Unique Id Name *string `json:"name,omitempty"` // Name of theme. Can only be alphanumeric and underscores. Settings *ThemeSettings `json:"settings,omitempty"` }
type ThemeSettings ¶
type ThemeSettings struct { BackgroundColor *string `json:"background_color,omitempty"` // Default background color BaseFontSize *string `json:"base_font_size,omitempty"` // Base font size for scaling fonts ColorCollectionId *string `json:"color_collection_id,omitempty"` // Optional. ID of color collection to use with the theme. Use an empty string for none. FontColor *string `json:"font_color,omitempty"` // Default font color FontFamily *string `json:"font_family,omitempty"` // Primary font family FontSource *string `json:"font_source,omitempty"` // Source specification for font InfoButtonColor *string `json:"info_button_color,omitempty"` // Info button color PrimaryButtonColor *string `json:"primary_button_color,omitempty"` // Primary button color ShowFiltersBar *bool `json:"show_filters_bar,omitempty"` // Toggle to show filters. Defaults to true. ShowTitle *bool `json:"show_title,omitempty"` // Toggle to show the title. Defaults to true. TextTileTextColor *string `json:"text_tile_text_color,omitempty"` // Text color for text tiles TileBackgroundColor *string `json:"tile_background_color,omitempty"` // Background color for tiles TileTextColor *string `json:"tile_text_color,omitempty"` // Text color for tiles TitleColor *string `json:"title_color,omitempty"` // Color for titles WarnButtonColor *string `json:"warn_button_color,omitempty"` // Warning button color TileTitleAlignment *string `json:"tile_title_alignment,omitempty"` // The text alignment of tile titles (New Dashboards) TileShadow *bool `json:"tile_shadow,omitempty"` // Toggles the tile shadow (New Dashboards) }
type UpdateFolder ¶
type UpdateSpace ¶
type User ¶
type User struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object AvatarUrl *url.URL `json:"avatar_url,omitempty"` // URL for the avatar image (may be generic) AvatarUrlWithoutSizing *url.URL `json:"avatar_url_without_sizing,omitempty"` // URL for the avatar image (may be generic), does not specify size CredentialsApi3 *[]CredentialsApi3 `json:"credentials_api3,omitempty"` // API 3 credentials CredentialsEmail *CredentialsEmail `json:"credentials_email,omitempty"` CredentialsEmbed *[]CredentialsEmbed `json:"credentials_embed,omitempty"` // Embed credentials CredentialsGoogle *CredentialsGoogle `json:"credentials_google,omitempty"` CredentialsLdap *CredentialsLDAP `json:"credentials_ldap,omitempty"` CredentialsLookerOpenid *CredentialsLookerOpenid `json:"credentials_looker_openid,omitempty"` CredentialsOidc *CredentialsOIDC `json:"credentials_oidc,omitempty"` CredentialsSaml *CredentialsSaml `json:"credentials_saml,omitempty"` CredentialsTotp *CredentialsTotp `json:"credentials_totp,omitempty"` DisplayName *string `json:"display_name,omitempty"` // Full name for display (available only if both first_name and last_name are set) Email *string `json:"email,omitempty"` // EMail address EmbedGroupSpaceId *int64 `json:"embed_group_space_id,omitempty"` // (Embed only) ID of user's group space based on the external_group_id optionally specified during embed user login FirstName *string `json:"first_name,omitempty"` // First name GroupIds *[]int64 `json:"group_ids,omitempty"` // Array of ids of the groups for this user HomeSpaceId *string `json:"home_space_id,omitempty"` // ID string for user's home space HomeFolderId *string `json:"home_folder_id,omitempty"` // ID string for user's home folder Id *int64 `json:"id,omitempty"` // Unique Id IsDisabled *bool `json:"is_disabled,omitempty"` // Account has been disabled LastName *string `json:"last_name,omitempty"` // Last name Locale *string `json:"locale,omitempty"` // User's preferred locale. User locale takes precedence over Looker's system-wide default locale. Locale determines language of display strings and date and numeric formatting in API responses. Locale string must be a 2 letter language code or a combination of language code and region code: 'en' or 'en-US', for example. LookerVersions *[]string `json:"looker_versions,omitempty"` // Array of strings representing the Looker versions that this user has used (this only goes back as far as '3.54.0') ModelsDirValidated *bool `json:"models_dir_validated,omitempty"` // User's dev workspace has been checked for presence of applicable production projects PersonalSpaceId *int64 `json:"personal_space_id,omitempty"` // ID of user's personal space PersonalFolderId *int64 `json:"personal_folder_id,omitempty"` // ID of user's personal folder PresumedLookerEmployee *bool `json:"presumed_looker_employee,omitempty"` // User is identified as an employee of Looker RoleIds *[]int64 `json:"role_ids,omitempty"` // Array of ids of the roles for this user Sessions *[]Session `json:"sessions,omitempty"` // Active sessions UiState *map[string]interface{} `json:"ui_state,omitempty"` // Per user dictionary of undocumented state information owned by the Looker UI. VerifiedLookerEmployee *bool `json:"verified_looker_employee,omitempty"` // User is identified as an employee of Looker who has been verified via Looker corporate authentication RolesExternallyManaged *bool `json:"roles_externally_managed,omitempty"` // User's roles are managed by an external directory like SAML or LDAP and can not be changed directly. AllowDirectRoles *bool `json:"allow_direct_roles,omitempty"` // User can be directly assigned a role. AllowNormalGroupMembership *bool `json:"allow_normal_group_membership,omitempty"` // User can be a direct member of a normal Looker group. AllowRolesFromNormalGroups *bool `json:"allow_roles_from_normal_groups,omitempty"` // User can inherit roles from a normal Looker group. Url *url.URL `json:"url,omitempty"` // Link to get this item }
type UserAttribute ¶
type UserAttribute struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *int64 `json:"id,omitempty"` // Unique Id Name *string `json:"name,omitempty"` // Name of user attribute Label *string `json:"label,omitempty"` // Human-friendly label for user attribute Type *string `json:"type,omitempty"` // Type of user attribute ("string", "number", "datetime", "yesno", "zipcode") DefaultValue *string `json:"default_value,omitempty"` // Default value for when no value is set on the user IsSystem *bool `json:"is_system,omitempty"` // Attribute is a system default IsPermanent *bool `json:"is_permanent,omitempty"` // Attribute is permanent and cannot be deleted ValueIsHidden *bool `json:"value_is_hidden,omitempty"` // If true, users will not be able to view values of this attribute UserCanView *bool `json:"user_can_view,omitempty"` // Non-admin users can see the values of their attributes and use them in filters UserCanEdit *bool `json:"user_can_edit,omitempty"` // Users can change the value of this attribute for themselves HiddenValueDomainWhitelist *string `json:"hidden_value_domain_whitelist,omitempty"` // Destinations to which a hidden attribute may be sent. Once set, cannot be edited. }
type UserAttributeFilterTypes ¶
type UserAttributeFilterTypes string
const UserAttributeFilterTypes_AdvancedFilterDatetime UserAttributeFilterTypes = "advanced_filter_datetime"
const UserAttributeFilterTypes_AdvancedFilterNumber UserAttributeFilterTypes = "advanced_filter_number"
const UserAttributeFilterTypes_AdvancedFilterString UserAttributeFilterTypes = "advanced_filter_string"
const UserAttributeFilterTypes_Datetime UserAttributeFilterTypes = "datetime"
const UserAttributeFilterTypes_Number UserAttributeFilterTypes = "number"
const UserAttributeFilterTypes_RelativeUrl UserAttributeFilterTypes = "relative_url"
const UserAttributeFilterTypes_String UserAttributeFilterTypes = "string"
const UserAttributeFilterTypes_Yesno UserAttributeFilterTypes = "yesno"
const UserAttributeFilterTypes_Zipcode UserAttributeFilterTypes = "zipcode"
type UserAttributeGroupValue ¶
type UserAttributeGroupValue struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *int64 `json:"id,omitempty"` // Unique Id of this group-attribute relation GroupId *int64 `json:"group_id,omitempty"` // Id of group UserAttributeId *int64 `json:"user_attribute_id,omitempty"` // Id of user attribute ValueIsHidden *bool `json:"value_is_hidden,omitempty"` // If true, the "value" field will be null, because the attribute settings block access to this value Rank *int64 `json:"rank,omitempty"` // Precedence for resolving value for user Value *string `json:"value,omitempty"` // Value of user attribute for group }
type UserAttributeWithValue ¶
type UserAttributeWithValue struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Name *string `json:"name,omitempty"` // Name of user attribute Label *string `json:"label,omitempty"` // Human-friendly label for user attribute Rank *int64 `json:"rank,omitempty"` // Precedence for setting value on user (lowest wins) Value *string `json:"value,omitempty"` // Value of attribute for user UserId *int64 `json:"user_id,omitempty"` // Id of User UserCanEdit *bool `json:"user_can_edit,omitempty"` // Can the user set this value ValueIsHidden *bool `json:"value_is_hidden,omitempty"` // If true, the "value" field will be null, because the attribute settings block access to this value UserAttributeId *int64 `json:"user_attribute_id,omitempty"` // Id of User Attribute Source *string `json:"source,omitempty"` // How user got this value for this attribute HiddenValueDomainWhitelist *string `json:"hidden_value_domain_whitelist,omitempty"` // If this user attribute is hidden, whitelist of destinations to which it may be sent. }
type UserIdOnly ¶
type UserIdOnly struct {
Id *int64 `json:"id,omitempty"` // Unique Id
}
type UserLoginLockout ¶
type UserLoginLockout struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Key *string `json:"key,omitempty"` // Hash of user's client id AuthType *string `json:"auth_type,omitempty"` // Authentication method for login failures Ip *string `json:"ip,omitempty"` // IP address of most recent failed attempt UserId *int64 `json:"user_id,omitempty"` // User ID RemoteId *string `json:"remote_id,omitempty"` // Remote ID of user if using LDAP FullName *string `json:"full_name,omitempty"` // User's name Email *string `json:"email,omitempty"` // Email address associated with the user's account FailCount *int64 `json:"fail_count,omitempty"` // Number of failures that triggered the lockout LockoutAt *time.Time `json:"lockout_at,omitempty"` // Time when lockout was triggered }
type UserPublic ¶
type UserPublic struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *int64 `json:"id,omitempty"` // Unique Id FirstName *string `json:"first_name,omitempty"` // First Name LastName *string `json:"last_name,omitempty"` // Last Name DisplayName *string `json:"display_name,omitempty"` // Full name for display (available only if both first_name and last_name are set) AvatarUrl *url.URL `json:"avatar_url,omitempty"` // URL for the avatar image (may be generic) Url *url.URL `json:"url,omitempty"` // Link to get this item }
type ValidationError ¶
type ValidationError struct { Message string `json:"message"` // Error details Errors *[]ValidationErrorDetail `json:"errors,omitempty"` // Error detail array DocumentationUrl url.URL `json:"documentation_url"` // Documentation link }
type ValidationErrorDetail ¶
type WeekStartDay ¶
type WeekStartDay string
const WeekStartDay_Friday WeekStartDay = "friday"
const WeekStartDay_Monday WeekStartDay = "monday"
const WeekStartDay_Saturday WeekStartDay = "saturday"
const WeekStartDay_Sunday WeekStartDay = "sunday"
const WeekStartDay_Thursday WeekStartDay = "thursday"
const WeekStartDay_Tuesday WeekStartDay = "tuesday"
const WeekStartDay_Wednesday WeekStartDay = "wednesday"
type WelcomeEmailTest ¶
type WelcomeEmailTest struct { Content *string `json:"content,omitempty"` // The content that would be sent in the body of a custom welcome email Subject *string `json:"subject,omitempty"` // The subject that would be sent for the custom welcome email Header *string `json:"header,omitempty"` // The header that would be sent in the body of a custom welcome email }
type WhitelabelConfiguration ¶
type WhitelabelConfiguration struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *int64 `json:"id,omitempty"` // Unique Id LogoFile *string `json:"logo_file,omitempty"` // Customer logo image. Expected base64 encoded data (write-only) LogoUrl *string `json:"logo_url,omitempty"` // Logo image url (read-only) FaviconFile *string `json:"favicon_file,omitempty"` // Custom favicon image. Expected base64 encoded data (write-only) FaviconUrl *string `json:"favicon_url,omitempty"` // Favicon image url (read-only) DefaultTitle *string `json:"default_title,omitempty"` // Default page title ShowHelpMenu *bool `json:"show_help_menu,omitempty"` // Boolean to toggle showing help menus ShowDocs *bool `json:"show_docs,omitempty"` // Boolean to toggle showing docs ShowEmailSubOptions *bool `json:"show_email_sub_options,omitempty"` // Boolean to toggle showing email subscription options. AllowLookerMentions *bool `json:"allow_looker_mentions,omitempty"` // Boolean to toggle mentions of Looker in emails AllowLookerLinks *bool `json:"allow_looker_links,omitempty"` // Boolean to toggle links to Looker in emails CustomWelcomeEmailAdvanced *bool `json:"custom_welcome_email_advanced,omitempty"` // Allow subject line and email heading customization in customized emails” SetupMentions *bool `json:"setup_mentions,omitempty"` // Remove the word Looker from appearing in the account setup page AlertsLogo *bool `json:"alerts_logo,omitempty"` // Remove Looker logo from Alerts AlertsLinks *bool `json:"alerts_links,omitempty"` // Remove Looker links from Alerts FoldersMentions *bool `json:"folders_mentions,omitempty"` // Remove Looker mentions in home folder page when you don’t have any items saved }
type Workspace ¶
type Workspace struct { Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object Id *string `json:"id,omitempty"` // The unique id of this user workspace. Predefined workspace ids include "production" and "dev" Projects *[]Project `json:"projects,omitempty"` // The local state of each project in the workspace }
type WriteApiSession ¶
type WriteApiSession struct {
WorkspaceId *string `json:"workspace_id,omitempty"` // The id of active workspace for this session
}
Dynamically generated writeable type for ApiSession removes properties: can, sudo_user_id
type WriteBackupConfiguration ¶
type WriteBackupConfiguration struct { Type *string `json:"type,omitempty"` // Type of backup: looker-s3 or custom-s3 CustomS3Bucket *string `json:"custom_s3_bucket,omitempty"` // Name of bucket for custom-s3 backups CustomS3BucketRegion *string `json:"custom_s3_bucket_region,omitempty"` // Name of region where the bucket is located CustomS3Key *string `json:"custom_s3_key,omitempty"` // (Write-Only) AWS S3 key used for custom-s3 backups CustomS3Secret *string `json:"custom_s3_secret,omitempty"` // (Write-Only) AWS S3 secret used for custom-s3 backups }
Dynamically generated writeable type for BackupConfiguration removes properties: can, url
type WriteColorCollection ¶
type WriteColorCollection struct { Label *string `json:"label,omitempty"` // Label of color collection CategoricalPalettes *[]DiscretePalette `json:"categoricalPalettes,omitempty"` // Array of categorical palette definitions SequentialPalettes *[]ContinuousPalette `json:"sequentialPalettes,omitempty"` // Array of discrete palette definitions DivergingPalettes *[]ContinuousPalette `json:"divergingPalettes,omitempty"` // Array of diverging palette definitions }
Dynamically generated writeable type for ColorCollection removes properties: id
type WriteContentFavorite ¶
type WriteContentFavorite struct { UserId *int64 `json:"user_id,omitempty"` // User Id which owns this ContentFavorite ContentMetadataId *int64 `json:"content_metadata_id,omitempty"` // Content Metadata Id associated with this ContentFavorite Dashboard *WriteDashboardBase `json:"dashboard,omitempty"` }
Dynamically generated writeable type for ContentFavorite removes properties: id, look_id, dashboard_id, look
type WriteContentMeta ¶
type WriteContentMeta struct {
Inherits *bool `json:"inherits,omitempty"` // Whether content inherits its access levels from parent
}
Dynamically generated writeable type for ContentMeta removes properties: can, id, name, parent_id, dashboard_id, look_id, folder_id, content_type, inheriting_id, slug, space_id
type WriteCreateDashboardFilter ¶
type WriteCreateDashboardFilter struct { DashboardId string `json:"dashboard_id"` // Id of Dashboard Name string `json:"name"` // Name of filter Title string `json:"title"` // Title of filter Type string `json:"type"` // Type of filter: one of date, number, string, or field DefaultValue *string `json:"default_value,omitempty"` // Default value of filter Model *string `json:"model,omitempty"` // Model of filter (required if type = field) Explore *string `json:"explore,omitempty"` // Explore of filter (required if type = field) Dimension *string `json:"dimension,omitempty"` // Dimension of filter (required if type = field) Row *int64 `json:"row,omitempty"` // Display order of this filter relative to other filters ListensToFilters *[]string `json:"listens_to_filters,omitempty"` // Array of listeners for faceted filters AllowMultipleValues *bool `json:"allow_multiple_values,omitempty"` // Whether the filter allows multiple filter values (deprecated in the latest version of dashboards) Required *bool `json:"required,omitempty"` // Whether the filter requires a value to run the dashboard UiConfig *map[string]interface{} `json:"ui_config,omitempty"` // The visual configuration for this filter. Used to set up how the UI for this filter should appear. }
Dynamically generated writeable type for CreateDashboardFilter removes properties: id, field
type WriteCreateQueryTask ¶
type WriteCreateQueryTask struct { QueryId int64 `json:"query_id"` // Id of query to run ResultFormat ResultFormat `json:"result_format"` // Desired async query result format. Valid values are: "inline_json", "json", "json_detail", "json_fe", "csv", "html", "md", "txt", "xlsx", "gsxml". Source *string `json:"source,omitempty"` // Source of query task Deferred *bool `json:"deferred,omitempty"` // Create the task but defer execution LookId *int64 `json:"look_id,omitempty"` // Id of look associated with query. DashboardId *string `json:"dashboard_id,omitempty"` // Id of dashboard associated with query. }
Dynamically generated writeable type for CreateQueryTask removes properties: can
type WriteCredentialsEmail ¶
type WriteCredentialsEmail struct { Email *string `json:"email,omitempty"` // EMail address used for user login ForcedPasswordResetAtNextLogin *bool `json:"forced_password_reset_at_next_login,omitempty"` // Force the user to change their password upon their next login }
Dynamically generated writeable type for CredentialsEmail removes properties: can, created_at, is_disabled, logged_in_at, password_reset_url, type, url, user_url
type WriteCustomWelcomeEmail ¶
type WriteCustomWelcomeEmail struct { Enabled *bool `json:"enabled,omitempty"` // If true, custom email content will replace the default body of welcome emails Content *string `json:"content,omitempty"` // The HTML to use as custom content for welcome emails. Script elements and other potentially dangerous markup will be removed. Subject *string `json:"subject,omitempty"` // The text to appear in the email subject line. Header *string `json:"header,omitempty"` // The text to appear in the header line of the email body. }
Dynamically generated writeable type for CustomWelcomeEmail removes properties: can
type WriteDBConnection ¶
type WriteDBConnection struct { Name *string `json:"name,omitempty"` // Name of the connection. Also used as the unique identifier Host *string `json:"host,omitempty"` // Host name/address of server Port *string `json:"port,omitempty"` // Port number on server Username *string `json:"username,omitempty"` // Username for server authentication Password *string `json:"password,omitempty"` // (Write-Only) Password for server authentication Certificate *string `json:"certificate,omitempty"` // (Write-Only) Base64 encoded Certificate body for server authentication (when appropriate for dialect). FileType *string `json:"file_type,omitempty"` // (Write-Only) Certificate keyfile type - .json or .p12 Database *string `json:"database,omitempty"` // Database name DbTimezone *string `json:"db_timezone,omitempty"` // Time zone of database QueryTimezone *string `json:"query_timezone,omitempty"` // Timezone to use in queries Schema *string `json:"schema,omitempty"` // Scheme name MaxConnections *int64 `json:"max_connections,omitempty"` // Maximum number of concurrent connection to use MaxBillingGigabytes *string `json:"max_billing_gigabytes,omitempty"` // Maximum size of query in GBs (BigQuery only, can be a user_attribute name) Ssl *bool `json:"ssl,omitempty"` // Use SSL/TLS when connecting to server VerifySsl *bool `json:"verify_ssl,omitempty"` // Verify the SSL TmpDbName *string `json:"tmp_db_name,omitempty"` // Name of temporary database (if used) JdbcAdditionalParams *string `json:"jdbc_additional_params,omitempty"` // Additional params to add to JDBC connection string PoolTimeout *int64 `json:"pool_timeout,omitempty"` // Connection Pool Timeout, in seconds DialectName *string `json:"dialect_name,omitempty"` // (Read/Write) SQL Dialect name UserDbCredentials *bool `json:"user_db_credentials,omitempty"` // (Limited access feature) Are per user db credentials enabled. Enabling will remove previously set username and password UserAttributeFields *[]string `json:"user_attribute_fields,omitempty"` // Fields whose values map to user attribute names MaintenanceCron *string `json:"maintenance_cron,omitempty"` // Cron string specifying when maintenance such as PDT trigger checks and drops should be performed SqlRunnerPrecacheTables *bool `json:"sql_runner_precache_tables,omitempty"` // Precache tables in the SQL Runner SqlWritingWithInfoSchema *bool `json:"sql_writing_with_info_schema,omitempty"` // Fetch Information Schema For SQL Writing AfterConnectStatements *string `json:"after_connect_statements,omitempty"` // SQL statements (semicolon separated) to issue after connecting to the database. Requires `custom_after_connect_statements` license feature PdtContextOverride *WriteDBConnectionOverride `json:"pdt_context_override,omitempty"` }
Dynamically generated writeable type for DBConnection removes properties: can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed
type WriteDBConnectionOverride ¶
type WriteDBConnectionOverride struct { Context *string `json:"context,omitempty"` // Context in which to override (`pdt` is the only allowed value) Host *string `json:"host,omitempty"` // Host name/address of server Port *string `json:"port,omitempty"` // Port number on server Username *string `json:"username,omitempty"` // Username for server authentication Password *string `json:"password,omitempty"` // (Write-Only) Password for server authentication Certificate *string `json:"certificate,omitempty"` // (Write-Only) Base64 encoded Certificate body for server authentication (when appropriate for dialect). FileType *string `json:"file_type,omitempty"` // (Write-Only) Certificate keyfile type - .json or .p12 Database *string `json:"database,omitempty"` // Database name Schema *string `json:"schema,omitempty"` // Scheme name JdbcAdditionalParams *string `json:"jdbc_additional_params,omitempty"` // Additional params to add to JDBC connection string AfterConnectStatements *string `json:"after_connect_statements,omitempty"` // SQL statements (semicolon separated) to issue after connecting to the database. Requires `custom_after_connect_statements` license feature }
Dynamically generated writeable type for DBConnectionOverride removes properties: has_password
type WriteDashboard ¶
type WriteDashboard struct { Description *string `json:"description,omitempty"` // Description Hidden *bool `json:"hidden,omitempty"` // Is Hidden QueryTimezone *string `json:"query_timezone,omitempty"` // Timezone in which the Dashboard will run by default. RefreshInterval *string `json:"refresh_interval,omitempty"` // Refresh Interval, as a time duration phrase like "2 hours 30 minutes". A number with no time units will be interpreted as whole seconds. Folder *WriteFolderBase `json:"folder,omitempty"` Title *string `json:"title,omitempty"` // Dashboard Title Space *WriteSpaceBase `json:"space,omitempty"` BackgroundColor *string `json:"background_color,omitempty"` // Background color CrossfilterEnabled *bool `json:"crossfilter_enabled,omitempty"` // Enables crossfiltering in dashboards - only available in dashboards-next (beta) Deleted *bool `json:"deleted,omitempty"` // Whether or not a dashboard is 'soft' deleted. LoadConfiguration *string `json:"load_configuration,omitempty"` // configuration option that governs how dashboard loading will happen. LookmlLinkId *string `json:"lookml_link_id,omitempty"` // Links this dashboard to a particular LookML dashboard such that calling a **sync** operation on that LookML dashboard will update this dashboard to match. ShowFiltersBar *bool `json:"show_filters_bar,omitempty"` // Show filters bar. **Security Note:** This property only affects the *cosmetic* appearance of the dashboard, not a user's ability to access data. Hiding the filters bar does **NOT** prevent users from changing filters by other means. For information on how to set up secure data access control policies, see [Control User Access to Data](https://looker.com/docs/r/api/control-access) ShowTitle *bool `json:"show_title,omitempty"` // Show title Slug *string `json:"slug,omitempty"` // Content Metadata Slug SpaceId *string `json:"space_id,omitempty"` // Id of Space FolderId *string `json:"folder_id,omitempty"` // Id of folder TextTileTextColor *string `json:"text_tile_text_color,omitempty"` // Color of text on text tiles TileBackgroundColor *string `json:"tile_background_color,omitempty"` // Tile background color TileTextColor *string `json:"tile_text_color,omitempty"` // Tile text color TitleColor *string `json:"title_color,omitempty"` // Title color Appearance *DashboardAppearance `json:"appearance,omitempty"` PreferredViewer *string `json:"preferred_viewer,omitempty"` // The preferred route for viewing this dashboard (ie: dashboards or dashboards-next) }
Dynamically generated writeable type for Dashboard removes properties: can, content_favorite_id, content_metadata_id, id, model, readonly, refresh_interval_to_i, user_id, created_at, dashboard_elements, dashboard_filters, dashboard_layouts, deleted_at, deleter_id, edit_uri, favorite_count, last_accessed_at, last_viewed_at, view_count
type WriteDashboardBase ¶
type WriteDashboardBase struct { Folder *WriteFolderBase `json:"folder,omitempty"` Space *WriteSpaceBase `json:"space,omitempty"` }
Dynamically generated writeable type for DashboardBase removes properties: can, content_favorite_id, content_metadata_id, description, hidden, id, model, query_timezone, readonly, refresh_interval, refresh_interval_to_i, title, user_id
type WriteDashboardElement ¶
type WriteDashboardElement struct { BodyText *string `json:"body_text,omitempty"` // Text tile body text DashboardId *string `json:"dashboard_id,omitempty"` // Id of Dashboard Look *WriteLookWithQuery `json:"look,omitempty"` LookId *string `json:"look_id,omitempty"` // Id Of Look MergeResultId *string `json:"merge_result_id,omitempty"` // ID of merge result NoteDisplay *string `json:"note_display,omitempty"` // Note Display NoteState *string `json:"note_state,omitempty"` // Note State NoteText *string `json:"note_text,omitempty"` // Note Text Query *WriteQuery `json:"query,omitempty"` QueryId *int64 `json:"query_id,omitempty"` // Id Of Query RefreshInterval *string `json:"refresh_interval,omitempty"` // Refresh Interval ResultMaker *WriteResultMakerWithIdVisConfigAndDynamicFields `json:"result_maker,omitempty"` ResultMakerId *int64 `json:"result_maker_id,omitempty"` // ID of the ResultMakerLookup entry. SubtitleText *string `json:"subtitle_text,omitempty"` // Text tile subtitle text Title *string `json:"title,omitempty"` // Title of dashboard element TitleHidden *bool `json:"title_hidden,omitempty"` // Whether title is hidden TitleText *string `json:"title_text,omitempty"` // Text tile title Type *string `json:"type,omitempty"` // Type }
Dynamically generated writeable type for DashboardElement removes properties: can, body_text_as_html, edit_uri, id, lookml_link_id, note_text_as_html, refresh_interval_to_i, alert_count, title_text_as_html, subtitle_text_as_html
type WriteDashboardFilter ¶
type WriteDashboardFilter struct { Name *string `json:"name,omitempty"` // Name of filter Title *string `json:"title,omitempty"` // Title of filter Type *string `json:"type,omitempty"` // Type of filter: one of date, number, string, or field DefaultValue *string `json:"default_value,omitempty"` // Default value of filter Model *string `json:"model,omitempty"` // Model of filter (required if type = field) Explore *string `json:"explore,omitempty"` // Explore of filter (required if type = field) Dimension *string `json:"dimension,omitempty"` // Dimension of filter (required if type = field) Row *int64 `json:"row,omitempty"` // Display order of this filter relative to other filters ListensToFilters *[]string `json:"listens_to_filters,omitempty"` // Array of listeners for faceted filters AllowMultipleValues *bool `json:"allow_multiple_values,omitempty"` // Whether the filter allows multiple filter values (deprecated in the latest version of dashboards) Required *bool `json:"required,omitempty"` // Whether the filter requires a value to run the dashboard UiConfig *map[string]interface{} `json:"ui_config,omitempty"` // The visual configuration for this filter. Used to set up how the UI for this filter should appear. }
Dynamically generated writeable type for DashboardFilter removes properties: can, id, dashboard_id, field
type WriteDashboardLayout ¶
type WriteDashboardLayout struct { DashboardId *string `json:"dashboard_id,omitempty"` // Id of Dashboard Type *string `json:"type,omitempty"` // Type Active *bool `json:"active,omitempty"` // Is Active ColumnWidth *int64 `json:"column_width,omitempty"` // Column Width Width *int64 `json:"width,omitempty"` // Width }
Dynamically generated writeable type for DashboardLayout removes properties: can, id, deleted, dashboard_title, dashboard_layout_components
type WriteDashboardLayoutComponent ¶
type WriteDashboardLayoutComponent struct { DashboardLayoutId *string `json:"dashboard_layout_id,omitempty"` // Id of Dashboard Layout DashboardElementId *string `json:"dashboard_element_id,omitempty"` // Id Of Dashboard Element Row *int64 `json:"row,omitempty"` // Row Column *int64 `json:"column,omitempty"` // Column Width *int64 `json:"width,omitempty"` // Width Height *int64 `json:"height,omitempty"` // Height }
Dynamically generated writeable type for DashboardLayoutComponent removes properties: can, id, deleted, element_title, element_title_hidden, vis_type
type WriteDatagroup ¶
type WriteDatagroup struct { StaleBefore *int64 `json:"stale_before,omitempty"` // UNIX timestamp before which cache entries are considered stale. Cannot be in the future. TriggeredAt *int64 `json:"triggered_at,omitempty"` // UNIX timestamp at which this entry became triggered. Cannot be in the future. }
Dynamically generated writeable type for Datagroup removes properties: can, created_at, id, model_name, name, trigger_check_at, trigger_error, trigger_value
type WriteFolderBase ¶
type WriteFolderBase struct { Name string `json:"name"` // Unique Name ParentId *string `json:"parent_id,omitempty"` // Id of Parent. If the parent id is null, this is a root-level entry }
Dynamically generated writeable type for FolderBase removes properties: id, content_metadata_id, created_at, creator_id, child_count, external_id, is_embed, is_embed_shared_root, is_embed_users_root, is_personal, is_personal_descendant, is_shared_root, is_users_root, can
type WriteGitBranch ¶
type WriteGitBranch struct { Name *string `json:"name,omitempty"` // The short name on the local. Updating `name` results in `git checkout <new_name>` Ref *string `json:"ref,omitempty"` // The resolved ref of this branch. Updating `ref` results in `git reset --hard <new_ref>“. }
Dynamically generated writeable type for GitBranch removes properties: can, remote, remote_name, error, message, owner_name, readonly, personal, is_local, is_remote, is_production, ahead_count, behind_count, commit_at, remote_ref
type WriteGroup ¶
type WriteGroup struct { CanAddToContentMetadata *bool `json:"can_add_to_content_metadata,omitempty"` // Group can be used in content access controls Name *string `json:"name,omitempty"` // Name of group }
Dynamically generated writeable type for Group removes properties: can, contains_current_user, external_group_id, externally_managed, id, include_by_default, user_count
type WriteHomepage ¶
type WriteHomepage struct { DeletedAt *time.Time `json:"deleted_at,omitempty"` // Date of homepage deletion Description *string `json:"description,omitempty"` // Description of the homepage SectionOrder *[]int64 `json:"section_order,omitempty"` // ids of the homepage sections in the order they should be displayed Title *string `json:"title,omitempty"` // Title of the homepage }
Dynamically generated writeable type for Homepage removes properties: can, content_metadata_id, created_at, homepage_sections, id, updated_at, user_id, primary_homepage
type WriteHomepageItem ¶
type WriteHomepageItem struct { CustomDescription *string `json:"custom_description,omitempty"` // Custom description entered by the user, if present CustomImageDataBase64 *string `json:"custom_image_data_base64,omitempty"` // (Write-Only) base64 encoded image data CustomTitle *string `json:"custom_title,omitempty"` // Custom title entered by the user, if present CustomUrl *string `json:"custom_url,omitempty"` // Custom url entered by the user, if present DashboardId *int64 `json:"dashboard_id,omitempty"` // Dashboard to base this item on HomepageSectionId *string `json:"homepage_section_id,omitempty"` // Associated Homepage Section LookId *int64 `json:"look_id,omitempty"` // Look to base this item on LookmlDashboardId *string `json:"lookml_dashboard_id,omitempty"` // LookML Dashboard to base this item on Order *int64 `json:"order,omitempty"` // An arbitrary integer representing the sort order within the section UseCustomDescription *bool `json:"use_custom_description,omitempty"` // Whether the custom description should be used instead of the content description, if the item is associated with content UseCustomImage *bool `json:"use_custom_image,omitempty"` // Whether the custom image should be used instead of the content image, if the item is associated with content UseCustomTitle *bool `json:"use_custom_title,omitempty"` // Whether the custom title should be used instead of the content title, if the item is associated with content UseCustomUrl *bool `json:"use_custom_url,omitempty"` // Whether the custom url should be used instead of the content url, if the item is associated with content }
Dynamically generated writeable type for HomepageItem removes properties: can, content_created_by, content_favorite_id, content_metadata_id, content_updated_at, custom_image_url, description, favorite_count, id, image_url, location, section_fetch_time, title, url, view_count
type WriteHomepageSection ¶
type WriteHomepageSection struct { DeletedAt *time.Time `json:"deleted_at,omitempty"` // Time at which this section was deleted. HomepageId *int64 `json:"homepage_id,omitempty"` // Id reference to parent homepage ItemOrder *[]int64 `json:"item_order,omitempty"` // ids of the homepage items in the order they should be displayed Title *string `json:"title,omitempty"` // Name of row Description *string `json:"description,omitempty"` // Description of the content found in this section. }
Dynamically generated writeable type for HomepageSection removes properties: can, created_at, detail_url, homepage_items, id, is_header, updated_at, visible_item_order
type WriteIntegration ¶
type WriteIntegration struct { Enabled *bool `json:"enabled,omitempty"` // Whether the integration is available to users. Params *[]IntegrationParam `json:"params,omitempty"` // Array of params for the integration. InstalledDelegateOauthTargets *[]int64 `json:"installed_delegate_oauth_targets,omitempty"` // Whether the integration is available to users. }
Dynamically generated writeable type for Integration removes properties: can, id, integration_hub_id, label, description, supported_formats, supported_action_types, supported_formattings, supported_visualization_formattings, supported_download_settings, icon_url, uses_oauth, required_fields, delegate_oauth
type WriteIntegrationHub ¶
type WriteIntegrationHub struct { Url *string `json:"url,omitempty"` // URL of the hub. AuthorizationToken *string `json:"authorization_token,omitempty"` // (Write-Only) An authorization key that will be sent to the integration hub on every request. }
Dynamically generated writeable type for IntegrationHub removes properties: can, id, label, official, fetch_error_message, has_authorization_token, legal_agreement_signed, legal_agreement_required, legal_agreement_text
type WriteInternalHelpResources ¶
type WriteInternalHelpResources struct {
Enabled *bool `json:"enabled,omitempty"` // If true and internal help resources content is not blank then the link for internal help resources will be shown in the help menu and the content displayed within Looker
}
Dynamically generated writeable type for InternalHelpResources removes properties: can
type WriteInternalHelpResourcesContent ¶
type WriteInternalHelpResourcesContent struct { OrganizationName *string `json:"organization_name,omitempty"` // Text to display in the help menu item which will display the internal help resources MarkdownContent *string `json:"markdown_content,omitempty"` // Content to be displayed in the internal help resources page/modal }
Dynamically generated writeable type for InternalHelpResourcesContent removes properties: can
type WriteLDAPConfig ¶
type WriteLDAPConfig struct { AlternateEmailLoginAllowed *bool `json:"alternate_email_login_allowed,omitempty"` // Allow alternate email-based login via '/login/email' for admins and for specified users with the 'login_special_email' permission. This option is useful as a fallback during ldap setup, if ldap config problems occur later, or if you need to support some users who are not in your ldap directory. Looker email/password logins are always disabled for regular users when ldap is enabled. AuthPassword *string `json:"auth_password,omitempty"` // (Write-Only) Password for the LDAP account used to access the LDAP server AuthRequiresRole *bool `json:"auth_requires_role,omitempty"` // Users will not be allowed to login at all unless a role for them is found in LDAP if set to true AuthUsername *string `json:"auth_username,omitempty"` // Distinguished name of LDAP account used to access the LDAP server ConnectionHost *string `json:"connection_host,omitempty"` // LDAP server hostname ConnectionPort *string `json:"connection_port,omitempty"` // LDAP host port ConnectionTls *bool `json:"connection_tls,omitempty"` // Use Transport Layer Security ConnectionTlsNoVerify *bool `json:"connection_tls_no_verify,omitempty"` // Do not verify peer when using TLS DefaultNewUserGroupIds *[]int64 `json:"default_new_user_group_ids,omitempty"` // (Write-Only) Array of ids of groups that will be applied to new users the first time they login via LDAP DefaultNewUserRoleIds *[]int64 `json:"default_new_user_role_ids,omitempty"` // (Write-Only) Array of ids of roles that will be applied to new users the first time they login via LDAP Enabled *bool `json:"enabled,omitempty"` // Enable/Disable LDAP authentication for the server ForceNoPage *bool `json:"force_no_page,omitempty"` // Don't attempt to do LDAP search result paging (RFC 2696) even if the LDAP server claims to support it. GroupsBaseDn *string `json:"groups_base_dn,omitempty"` // Base dn for finding groups in LDAP searches GroupsFinderType *string `json:"groups_finder_type,omitempty"` // Identifier for a strategy for how Looker will search for groups in the LDAP server GroupsMemberAttribute *string `json:"groups_member_attribute,omitempty"` // LDAP Group attribute that signifies the members of the groups. Most commonly 'member' GroupsObjectclasses *string `json:"groups_objectclasses,omitempty"` // Optional comma-separated list of supported LDAP objectclass for groups when doing groups searches GroupsUserAttribute *string `json:"groups_user_attribute,omitempty"` // LDAP Group attribute that signifies the user in a group. Most commonly 'dn' GroupsWithRoleIds *[]LDAPGroupWrite `json:"groups_with_role_ids,omitempty"` // (Read/Write) Array of mappings between LDAP Groups and arrays of Looker Role ids MergeNewUsersByEmail *bool `json:"merge_new_users_by_email,omitempty"` // Merge first-time ldap login to existing user account by email addresses. When a user logs in for the first time via ldap this option will connect this user into their existing account by finding the account with a matching email address. Otherwise a new user account will be created for the user. SetRolesFromGroups *bool `json:"set_roles_from_groups,omitempty"` // Set user roles in Looker based on groups from LDAP TestLdapPassword *string `json:"test_ldap_password,omitempty"` // (Write-Only) Test LDAP user password. For ldap tests only. TestLdapUser *string `json:"test_ldap_user,omitempty"` // (Write-Only) Test LDAP user login id. For ldap tests only. UserAttributeMapEmail *string `json:"user_attribute_map_email,omitempty"` // Name of user record attributes used to indicate email address field UserAttributeMapFirstName *string `json:"user_attribute_map_first_name,omitempty"` // Name of user record attributes used to indicate first name UserAttributeMapLastName *string `json:"user_attribute_map_last_name,omitempty"` // Name of user record attributes used to indicate last name UserAttributeMapLdapId *string `json:"user_attribute_map_ldap_id,omitempty"` // Name of user record attributes used to indicate unique record id UserAttributesWithIds *[]LDAPUserAttributeWrite `json:"user_attributes_with_ids,omitempty"` // (Read/Write) Array of mappings between LDAP User Attributes and arrays of Looker User Attribute ids UserBindBaseDn *string `json:"user_bind_base_dn,omitempty"` // Distinguished name of LDAP node used as the base for user searches UserCustomFilter *string `json:"user_custom_filter,omitempty"` // (Optional) Custom RFC-2254 filter clause for use in finding user during login. Combined via 'and' with the other generated filter clauses. UserIdAttributeNames *string `json:"user_id_attribute_names,omitempty"` // Name(s) of user record attributes used for matching user login id (comma separated list) UserObjectclass *string `json:"user_objectclass,omitempty"` // (Optional) Name of user record objectclass used for finding user during login id AllowNormalGroupMembership *bool `json:"allow_normal_group_membership,omitempty"` // Allow LDAP auth'd users to be members of non-reflected Looker groups. If 'false', user will be removed from non-reflected groups on login. AllowRolesFromNormalGroups *bool `json:"allow_roles_from_normal_groups,omitempty"` // LDAP auth'd users will be able to inherit roles from non-reflected Looker groups. AllowDirectRoles *bool `json:"allow_direct_roles,omitempty"` // Allows roles to be directly assigned to LDAP auth'd users. }
Dynamically generated writeable type for LDAPConfig removes properties: can, default_new_user_groups, default_new_user_roles, groups, has_auth_password, modified_at, modified_by, user_attributes, url
type WriteLegacyFeature ¶
type WriteLegacyFeature struct {
EnabledLocally *bool `json:"enabled_locally,omitempty"` // Whether this feature has been enabled by a user
}
Dynamically generated writeable type for LegacyFeature removes properties: can, id, name, description, enabled, disallowed_as_of_version, disable_on_upgrade_to_version, end_of_life_version, documentation_url, approximate_disable_date, approximate_end_of_life_date, has_disabled_on_upgrade
type WriteLookWithQuery ¶
type WriteLookWithQuery struct { Title *string `json:"title,omitempty"` // Look Title Deleted *bool `json:"deleted,omitempty"` // Whether or not a look is 'soft' deleted. Description *string `json:"description,omitempty"` // Description IsRunOnLoad *bool `json:"is_run_on_load,omitempty"` // auto-run query when Look viewed Public *bool `json:"public,omitempty"` // Is Public QueryId *int64 `json:"query_id,omitempty"` // Query Id Folder *WriteFolderBase `json:"folder,omitempty"` FolderId *string `json:"folder_id,omitempty"` // Folder Id UserId *int64 `json:"user_id,omitempty"` // User Id SpaceId *string `json:"space_id,omitempty"` // Space Id Space *WriteSpaceBase `json:"space,omitempty"` Query *WriteQuery `json:"query,omitempty"` }
Dynamically generated writeable type for LookWithQuery removes properties: can, content_metadata_id, id, content_favorite_id, created_at, deleted_at, deleter_id, embed_url, excel_file_url, favorite_count, google_spreadsheet_formula, image_embed_url, last_accessed_at, last_updater_id, last_viewed_at, model, public_slug, public_url, short_url, updated_at, view_count, user, url
type WriteLookmlModel ¶
type WriteLookmlModel struct { AllowedDbConnectionNames *[]string `json:"allowed_db_connection_names,omitempty"` // Array of names of connections this model is allowed to use Name *string `json:"name,omitempty"` // Name of the model. Also used as the unique identifier ProjectName *string `json:"project_name,omitempty"` // Name of project containing the model UnlimitedDbConnections *bool `json:"unlimited_db_connections,omitempty"` // Is this model allowed to use all current and future connections }
Dynamically generated writeable type for LookmlModel removes properties: can, explores, has_content, label
type WriteMergeQuery ¶
type WriteMergeQuery struct { ColumnLimit *string `json:"column_limit,omitempty"` // Column Limit DynamicFields *string `json:"dynamic_fields,omitempty"` // Dynamic Fields Pivots *[]string `json:"pivots,omitempty"` // Pivots Sorts *[]string `json:"sorts,omitempty"` // Sorts SourceQueries *[]MergeQuerySourceQuery `json:"source_queries,omitempty"` // Source Queries defining the results to be merged. Total *bool `json:"total,omitempty"` // Total VisConfig *map[string]interface{} `json:"vis_config,omitempty"` // Visualization Config }
Dynamically generated writeable type for MergeQuery removes properties: can, id, result_maker_id
type WriteModelSet ¶
type WriteModelSet struct { Models *[]string `json:"models,omitempty"` Name *string `json:"name,omitempty"` // Name of ModelSet }
Dynamically generated writeable type for ModelSet removes properties: can, all_access, built_in, id, url
type WriteOIDCConfig ¶
type WriteOIDCConfig struct { AlternateEmailLoginAllowed *bool `json:"alternate_email_login_allowed,omitempty"` // Allow alternate email-based login via '/login/email' for admins and for specified users with the 'login_special_email' permission. This option is useful as a fallback during ldap setup, if ldap config problems occur later, or if you need to support some users who are not in your ldap directory. Looker email/password logins are always disabled for regular users when ldap is enabled. Audience *string `json:"audience,omitempty"` // OpenID Provider Audience AuthRequiresRole *bool `json:"auth_requires_role,omitempty"` // Users will not be allowed to login at all unless a role for them is found in OIDC if set to true AuthorizationEndpoint *url.URL `json:"authorization_endpoint,omitempty"` // OpenID Provider Authorization Url DefaultNewUserGroupIds *[]int64 `json:"default_new_user_group_ids,omitempty"` // (Write-Only) Array of ids of groups that will be applied to new users the first time they login via OIDC DefaultNewUserRoleIds *[]int64 `json:"default_new_user_role_ids,omitempty"` // (Write-Only) Array of ids of roles that will be applied to new users the first time they login via OIDC Enabled *bool `json:"enabled,omitempty"` // Enable/Disable OIDC authentication for the server GroupsAttribute *string `json:"groups_attribute,omitempty"` // Name of user record attributes used to indicate groups. Used when 'groups_finder_type' is set to 'grouped_attribute_values' GroupsWithRoleIds *[]OIDCGroupWrite `json:"groups_with_role_ids,omitempty"` // (Read/Write) Array of mappings between OIDC Groups and arrays of Looker Role ids Identifier *string `json:"identifier,omitempty"` // Relying Party Identifier (provided by OpenID Provider) Issuer *string `json:"issuer,omitempty"` // OpenID Provider Issuer NewUserMigrationTypes *string `json:"new_user_migration_types,omitempty"` // Merge first-time oidc login to existing user account by email addresses. When a user logs in for the first time via oidc this option will connect this user into their existing account by finding the account with a matching email address by testing the given types of credentials for existing users. Otherwise a new user account will be created for the user. This list (if provided) must be a comma separated list of string like 'email,ldap,google' Scopes *[]string `json:"scopes,omitempty"` // Array of scopes to request. Secret *string `json:"secret,omitempty"` // (Write-Only) Relying Party Secret (provided by OpenID Provider) SetRolesFromGroups *bool `json:"set_roles_from_groups,omitempty"` // Set user roles in Looker based on groups from OIDC TokenEndpoint *string `json:"token_endpoint,omitempty"` // OpenID Provider Token Url UserAttributeMapEmail *string `json:"user_attribute_map_email,omitempty"` // Name of user record attributes used to indicate email address field UserAttributeMapFirstName *string `json:"user_attribute_map_first_name,omitempty"` // Name of user record attributes used to indicate first name UserAttributeMapLastName *string `json:"user_attribute_map_last_name,omitempty"` // Name of user record attributes used to indicate last name UserAttributesWithIds *[]OIDCUserAttributeWrite `json:"user_attributes_with_ids,omitempty"` // (Read/Write) Array of mappings between OIDC User Attributes and arrays of Looker User Attribute ids UserinfoEndpoint *url.URL `json:"userinfo_endpoint,omitempty"` // OpenID Provider User Information Url AllowNormalGroupMembership *bool `json:"allow_normal_group_membership,omitempty"` // Allow OIDC auth'd users to be members of non-reflected Looker groups. If 'false', user will be removed from non-reflected groups on login. AllowRolesFromNormalGroups *bool `json:"allow_roles_from_normal_groups,omitempty"` // OIDC auth'd users will inherit roles from non-reflected Looker groups. AllowDirectRoles *bool `json:"allow_direct_roles,omitempty"` // Allows roles to be directly assigned to OIDC auth'd users. }
Dynamically generated writeable type for OIDCConfig removes properties: can, default_new_user_groups, default_new_user_roles, groups, modified_at, modified_by, test_slug, user_attributes, url
type WritePasswordConfig ¶
type WritePasswordConfig struct { MinLength *int64 `json:"min_length,omitempty"` // Minimum number of characters required for a new password. Must be between 7 and 100 RequireNumeric *bool `json:"require_numeric,omitempty"` // Require at least one numeric character RequireUpperlower *bool `json:"require_upperlower,omitempty"` // Require at least one uppercase and one lowercase letter RequireSpecial *bool `json:"require_special,omitempty"` // Require at least one special character }
Dynamically generated writeable type for PasswordConfig removes properties: can
type WritePermissionSet ¶
type WritePermissionSet struct { Name *string `json:"name,omitempty"` // Name of PermissionSet Permissions *[]string `json:"permissions,omitempty"` }
Dynamically generated writeable type for PermissionSet removes properties: can, all_access, built_in, id, url
type WriteProject ¶
type WriteProject struct { Name *string `json:"name,omitempty"` // Project display name GitRemoteUrl *string `json:"git_remote_url,omitempty"` // Git remote repository url GitUsername *string `json:"git_username,omitempty"` // Git username for HTTPS authentication. (For production only, if using user attributes.) GitPassword *string `json:"git_password,omitempty"` // (Write-Only) Git password for HTTPS authentication. (For production only, if using user attributes.) GitProductionBranchName *string `json:"git_production_branch_name,omitempty"` // Git production branch name. Defaults to master. Supported only in Looker 21.0 and higher. UseGitCookieAuth *bool `json:"use_git_cookie_auth,omitempty"` // If true, the project uses a git cookie for authentication. GitUsernameUserAttribute *string `json:"git_username_user_attribute,omitempty"` // User attribute name for username in per-user HTTPS authentication. GitPasswordUserAttribute *string `json:"git_password_user_attribute,omitempty"` // User attribute name for password in per-user HTTPS authentication. GitServiceName *string `json:"git_service_name,omitempty"` // Name of the git service provider GitApplicationServerHttpPort *int64 `json:"git_application_server_http_port,omitempty"` // Port that HTTP(S) application server is running on (for PRs, file browsing, etc.) GitApplicationServerHttpScheme *GitApplicationServerHttpScheme `json:"git_application_server_http_scheme,omitempty"` // Scheme that is running on application server (for PRs, file browsing, etc.) Valid values are: "http", "https". DeploySecret *string `json:"deploy_secret,omitempty"` // (Write-Only) Optional secret token with which to authenticate requests to the webhook deploy endpoint. If not set, endpoint is unauthenticated. UnsetDeploySecret *bool `json:"unset_deploy_secret,omitempty"` // (Write-Only) When true, unsets the deploy secret to allow unauthenticated access to the webhook deploy endpoint. PullRequestMode *PullRequestMode `json:"pull_request_mode,omitempty"` // The git pull request policy for this project. Valid values are: "off", "links", "recommended", "required". ValidationRequired *bool `json:"validation_required,omitempty"` // Validation policy: If true, the project must pass validation checks before project changes can be committed to the git repository GitReleaseMgmtEnabled *bool `json:"git_release_mgmt_enabled,omitempty"` // If true, advanced git release management is enabled for this project AllowWarnings *bool `json:"allow_warnings,omitempty"` // Validation policy: If true, the project can be committed with warnings when `validation_required` is true. (`allow_warnings` does nothing if `validation_required` is false). }
Dynamically generated writeable type for Project removes properties: can, id, uses_git, is_example
type WriteQuery ¶
type WriteQuery struct { Model string `json:"model"` // Model View string `json:"view"` // Explore Name Fields *[]string `json:"fields,omitempty"` // Fields Pivots *[]string `json:"pivots,omitempty"` // Pivots FillFields *[]string `json:"fill_fields,omitempty"` // Fill Fields Filters *map[string]interface{} `json:"filters,omitempty"` // Filters FilterExpression *string `json:"filter_expression,omitempty"` // Filter Expression Sorts *[]string `json:"sorts,omitempty"` // Sorting for the query results. Use the format `["view.field", ...]` to sort on fields in ascending order. Use the format `["view.field desc", ...]` to sort on fields in descending order. Use `["__UNSORTED__"]` (2 underscores before and after) to disable sorting entirely. Empty sorts `[]` will trigger a default sort. Limit *string `json:"limit,omitempty"` // Limit ColumnLimit *string `json:"column_limit,omitempty"` // Column Limit Total *bool `json:"total,omitempty"` // Total RowTotal *string `json:"row_total,omitempty"` // Raw Total Subtotals *[]string `json:"subtotals,omitempty"` // Fields on which to run subtotals VisConfig *map[string]interface{} `json:"vis_config,omitempty"` // Visualization configuration properties. These properties are typically opaque and differ based on the type of visualization used. There is no specified set of allowed keys. The values can be any type supported by JSON. A "type" key with a string value is often present, and is used by Looker to determine which visualization to present. Visualizations ignore unknown vis_config properties. FilterConfig *map[string]interface{} `json:"filter_config,omitempty"` // The filter_config represents the state of the filter UI on the explore page for a given query. When running a query via the Looker UI, this parameter takes precedence over "filters". When creating a query or modifying an existing query, "filter_config" should be set to null. Setting it to any other value could cause unexpected filtering behavior. The format should be considered opaque. VisibleUiSections *string `json:"visible_ui_sections,omitempty"` // Visible UI Sections DynamicFields *string `json:"dynamic_fields,omitempty"` // Dynamic Fields ClientId *string `json:"client_id,omitempty"` // Client Id: used to generate shortened explore URLs. If set by client, must be a unique 22 character alphanumeric string. Otherwise one will be generated. QueryTimezone *string `json:"query_timezone,omitempty"` // Query Timezone Runtime *float64 `json:"runtime,omitempty"` // (DEPRECATED) Runtime (Deprecated) }
Dynamically generated writeable type for Query removes properties: can, id, slug, share_url, expanded_share_url, url, has_table_calculations
type WriteRepositoryCredential ¶
type WriteRepositoryCredential struct { GitUsername *string `json:"git_username,omitempty"` // Git username for HTTPS authentication. GitPassword *string `json:"git_password,omitempty"` // (Write-Only) Git password for HTTPS authentication. SshPublicKey *string `json:"ssh_public_key,omitempty"` // Public deploy key for SSH authentication. }
Dynamically generated writeable type for RepositoryCredential removes properties: can, id, root_project_id, remote_url, is_configured
type WriteResultMakerWithIdVisConfigAndDynamicFields ¶
type WriteResultMakerWithIdVisConfigAndDynamicFields struct {
Query *WriteQuery `json:"query,omitempty"`
}
Dynamically generated writeable type for ResultMakerWithIdVisConfigAndDynamicFields removes properties: id, dynamic_fields, filterables, sorts, merge_result_id, total, query_id, sql_query_id, vis_config
type WriteRole ¶
type WriteRole struct { Name *string `json:"name,omitempty"` // Name of Role PermissionSet *WritePermissionSet `json:"permission_set,omitempty"` PermissionSetId *int64 `json:"permission_set_id,omitempty"` // (Write-Only) Id of permission set ModelSet *WriteModelSet `json:"model_set,omitempty"` ModelSetId *int64 `json:"model_set_id,omitempty"` // (Write-Only) Id of model set }
Dynamically generated writeable type for Role removes properties: can, id, url, users_url
type WriteSamlConfig ¶
type WriteSamlConfig struct { Enabled *bool `json:"enabled,omitempty"` // Enable/Disable Saml authentication for the server IdpCert *string `json:"idp_cert,omitempty"` // Identity Provider Certificate (provided by IdP) IdpUrl *string `json:"idp_url,omitempty"` // Identity Provider Url (provided by IdP) IdpIssuer *string `json:"idp_issuer,omitempty"` // Identity Provider Issuer (provided by IdP) IdpAudience *string `json:"idp_audience,omitempty"` // Identity Provider Audience (set in IdP config). Optional in Looker. Set this only if you want Looker to validate the audience value returned by the IdP. AllowedClockDrift *int64 `json:"allowed_clock_drift,omitempty"` // Count of seconds of clock drift to allow when validating timestamps of assertions. UserAttributeMapEmail *string `json:"user_attribute_map_email,omitempty"` // Name of user record attributes used to indicate email address field UserAttributeMapFirstName *string `json:"user_attribute_map_first_name,omitempty"` // Name of user record attributes used to indicate first name UserAttributeMapLastName *string `json:"user_attribute_map_last_name,omitempty"` // Name of user record attributes used to indicate last name NewUserMigrationTypes *string `json:"new_user_migration_types,omitempty"` // Merge first-time saml login to existing user account by email addresses. When a user logs in for the first time via saml this option will connect this user into their existing account by finding the account with a matching email address by testing the given types of credentials for existing users. Otherwise a new user account will be created for the user. This list (if provided) must be a comma separated list of string like 'email,ldap,google' AlternateEmailLoginAllowed *bool `json:"alternate_email_login_allowed,omitempty"` // Allow alternate email-based login via '/login/email' for admins and for specified users with the 'login_special_email' permission. This option is useful as a fallback during ldap setup, if ldap config problems occur later, or if you need to support some users who are not in your ldap directory. Looker email/password logins are always disabled for regular users when ldap is enabled. DefaultNewUserRoleIds *[]int64 `json:"default_new_user_role_ids,omitempty"` // (Write-Only) Array of ids of roles that will be applied to new users the first time they login via Saml DefaultNewUserGroupIds *[]int64 `json:"default_new_user_group_ids,omitempty"` // (Write-Only) Array of ids of groups that will be applied to new users the first time they login via Saml SetRolesFromGroups *bool `json:"set_roles_from_groups,omitempty"` // Set user roles in Looker based on groups from Saml GroupsAttribute *string `json:"groups_attribute,omitempty"` // Name of user record attributes used to indicate groups. Used when 'groups_finder_type' is set to 'grouped_attribute_values' GroupsWithRoleIds *[]SamlGroupWrite `json:"groups_with_role_ids,omitempty"` // (Read/Write) Array of mappings between Saml Groups and arrays of Looker Role ids AuthRequiresRole *bool `json:"auth_requires_role,omitempty"` // Users will not be allowed to login at all unless a role for them is found in Saml if set to true UserAttributesWithIds *[]SamlUserAttributeWrite `json:"user_attributes_with_ids,omitempty"` // (Read/Write) Array of mappings between Saml User Attributes and arrays of Looker User Attribute ids GroupsFinderType *string `json:"groups_finder_type,omitempty"` // Identifier for a strategy for how Looker will find groups in the SAML response. One of ['grouped_attribute_values', 'individual_attributes'] GroupsMemberValue *string `json:"groups_member_value,omitempty"` // Value for group attribute used to indicate membership. Used when 'groups_finder_type' is set to 'individual_attributes' BypassLoginPage *bool `json:"bypass_login_page,omitempty"` // Bypass the login page when user authentication is required. Redirect to IdP immediately instead. AllowNormalGroupMembership *bool `json:"allow_normal_group_membership,omitempty"` // Allow SAML auth'd users to be members of non-reflected Looker groups. If 'false', user will be removed from non-reflected groups on login. AllowRolesFromNormalGroups *bool `json:"allow_roles_from_normal_groups,omitempty"` // SAML auth'd users will inherit roles from non-reflected Looker groups. AllowDirectRoles *bool `json:"allow_direct_roles,omitempty"` // Allows roles to be directly assigned to SAML auth'd users. }
Dynamically generated writeable type for SamlConfig removes properties: can, test_slug, modified_at, modified_by, default_new_user_roles, default_new_user_groups, groups, user_attributes, url
type WriteScheduledPlan ¶
type WriteScheduledPlan struct { Name *string `json:"name,omitempty"` // Name of this scheduled plan UserId *int64 `json:"user_id,omitempty"` // User Id which owns this scheduled plan RunAsRecipient *bool `json:"run_as_recipient,omitempty"` // Whether schedule is run as recipient (only applicable for email recipients) Enabled *bool `json:"enabled,omitempty"` // Whether the ScheduledPlan is enabled LookId *int64 `json:"look_id,omitempty"` // Id of a look DashboardId *int64 `json:"dashboard_id,omitempty"` // Id of a dashboard LookmlDashboardId *string `json:"lookml_dashboard_id,omitempty"` // Id of a LookML dashboard FiltersString *string `json:"filters_string,omitempty"` // Query string to run look or dashboard with DashboardFilters *string `json:"dashboard_filters,omitempty"` // (DEPRECATED) Alias for filters_string field RequireResults *bool `json:"require_results,omitempty"` // Delivery should occur if running the dashboard or look returns results RequireNoResults *bool `json:"require_no_results,omitempty"` // Delivery should occur if the dashboard look does not return results RequireChange *bool `json:"require_change,omitempty"` // Delivery should occur if data have changed since the last run SendAllResults *bool `json:"send_all_results,omitempty"` // Will run an unlimited query and send all results. Crontab *string `json:"crontab,omitempty"` // Vixie-Style crontab specification when to run Datagroup *string `json:"datagroup,omitempty"` // Name of a datagroup; if specified will run when datagroup triggered (can't be used with cron string) Timezone *string `json:"timezone,omitempty"` // Timezone for interpreting the specified crontab (default is Looker instance timezone) QueryId *string `json:"query_id,omitempty"` // Query id ScheduledPlanDestination *[]ScheduledPlanDestination `json:"scheduled_plan_destination,omitempty"` // Scheduled plan destinations RunOnce *bool `json:"run_once,omitempty"` // Whether the plan in question should only be run once (usually for testing) IncludeLinks *bool `json:"include_links,omitempty"` // Whether links back to Looker should be included in this ScheduledPlan PdfPaperSize *string `json:"pdf_paper_size,omitempty"` // The size of paper the PDF should be formatted to fit. Valid values are: "letter", "legal", "tabloid", "a0", "a1", "a2", "a3", "a4", "a5". PdfLandscape *bool `json:"pdf_landscape,omitempty"` // Whether the PDF should be formatted for landscape orientation Embed *bool `json:"embed,omitempty"` // Whether this schedule is in an embed context or not ColorTheme *string `json:"color_theme,omitempty"` // Color scheme of the dashboard if applicable LongTables *bool `json:"long_tables,omitempty"` // Whether or not to expand table vis to full length InlineTableWidth *int64 `json:"inline_table_width,omitempty"` // The pixel width at which we render the inline table visualizations }
Dynamically generated writeable type for ScheduledPlan removes properties: id, created_at, updated_at, title, user, next_run_at, last_run_at, can
type WriteSessionConfig ¶
type WriteSessionConfig struct { AllowPersistentSessions *bool `json:"allow_persistent_sessions,omitempty"` // Allow users to have persistent sessions when they login SessionMinutes *int64 `json:"session_minutes,omitempty"` // Number of minutes for user sessions. Must be between 5 and 43200 UnlimitedSessionsPerUser *bool `json:"unlimited_sessions_per_user,omitempty"` // Allow users to have an unbounded number of concurrent sessions (otherwise, users will be limited to only one session at a time). UseInactivityBasedLogout *bool `json:"use_inactivity_based_logout,omitempty"` // Enforce session logout for sessions that are inactive for 15 minutes. TrackSessionLocation *bool `json:"track_session_location,omitempty"` // Track location of session when user logs in. }
Dynamically generated writeable type for SessionConfig removes properties: can
type WriteSpaceBase ¶
type WriteSpaceBase struct { Name string `json:"name"` // Unique Name ParentId *string `json:"parent_id,omitempty"` // Id of Parent. If the parent id is null, this is a root-level entry }
Dynamically generated writeable type for SpaceBase removes properties: id, content_metadata_id, created_at, creator_id, child_count, external_id, is_embed, is_embed_shared_root, is_embed_users_root, is_personal, is_personal_descendant, is_shared_root, is_users_root, can
type WriteTheme ¶
type WriteTheme struct { BeginAt *time.Time `json:"begin_at,omitempty"` // Timestamp for when this theme becomes active. Null=always EndAt *time.Time `json:"end_at,omitempty"` // Timestamp for when this theme expires. Null=never Name *string `json:"name,omitempty"` // Name of theme. Can only be alphanumeric and underscores. Settings *ThemeSettings `json:"settings,omitempty"` }
Dynamically generated writeable type for Theme removes properties: can, id
type WriteUser ¶
type WriteUser struct { CredentialsEmail *WriteCredentialsEmail `json:"credentials_email,omitempty"` FirstName *string `json:"first_name,omitempty"` // First name HomeSpaceId *string `json:"home_space_id,omitempty"` // ID string for user's home space HomeFolderId *string `json:"home_folder_id,omitempty"` // ID string for user's home folder IsDisabled *bool `json:"is_disabled,omitempty"` // Account has been disabled LastName *string `json:"last_name,omitempty"` // Last name Locale *string `json:"locale,omitempty"` // User's preferred locale. User locale takes precedence over Looker's system-wide default locale. Locale determines language of display strings and date and numeric formatting in API responses. Locale string must be a 2 letter language code or a combination of language code and region code: 'en' or 'en-US', for example. ModelsDirValidated *bool `json:"models_dir_validated,omitempty"` // User's dev workspace has been checked for presence of applicable production projects UiState *map[string]interface{} `json:"ui_state,omitempty"` // Per user dictionary of undocumented state information owned by the Looker UI. }
Dynamically generated writeable type for User removes properties: can, avatar_url, avatar_url_without_sizing, credentials_api3, credentials_embed, credentials_google, credentials_ldap, credentials_looker_openid, credentials_oidc, credentials_saml, credentials_totp, display_name, email, embed_group_space_id, group_ids, id, looker_versions, personal_space_id, personal_folder_id, presumed_looker_employee, role_ids, sessions, verified_looker_employee, roles_externally_managed, allow_direct_roles, allow_normal_group_membership, allow_roles_from_normal_groups, url
type WriteUserAttribute ¶
type WriteUserAttribute struct { Name *string `json:"name,omitempty"` // Name of user attribute Label *string `json:"label,omitempty"` // Human-friendly label for user attribute Type *string `json:"type,omitempty"` // Type of user attribute ("string", "number", "datetime", "yesno", "zipcode") DefaultValue *string `json:"default_value,omitempty"` // Default value for when no value is set on the user ValueIsHidden *bool `json:"value_is_hidden,omitempty"` // If true, users will not be able to view values of this attribute UserCanView *bool `json:"user_can_view,omitempty"` // Non-admin users can see the values of their attributes and use them in filters UserCanEdit *bool `json:"user_can_edit,omitempty"` // Users can change the value of this attribute for themselves HiddenValueDomainWhitelist *string `json:"hidden_value_domain_whitelist,omitempty"` // Destinations to which a hidden attribute may be sent. Once set, cannot be edited. }
Dynamically generated writeable type for UserAttribute removes properties: can, id, is_system, is_permanent
type WriteUserAttributeWithValue ¶
type WriteUserAttributeWithValue struct {
Value *string `json:"value,omitempty"` // Value of attribute for user
}
Dynamically generated writeable type for UserAttributeWithValue removes properties: can, name, label, rank, user_id, user_can_edit, value_is_hidden, user_attribute_id, source, hidden_value_domain_whitelist
type WriteWhitelabelConfiguration ¶
type WriteWhitelabelConfiguration struct { LogoFile *string `json:"logo_file,omitempty"` // Customer logo image. Expected base64 encoded data (write-only) FaviconFile *string `json:"favicon_file,omitempty"` // Custom favicon image. Expected base64 encoded data (write-only) DefaultTitle *string `json:"default_title,omitempty"` // Default page title ShowHelpMenu *bool `json:"show_help_menu,omitempty"` // Boolean to toggle showing help menus ShowDocs *bool `json:"show_docs,omitempty"` // Boolean to toggle showing docs ShowEmailSubOptions *bool `json:"show_email_sub_options,omitempty"` // Boolean to toggle showing email subscription options. AllowLookerMentions *bool `json:"allow_looker_mentions,omitempty"` // Boolean to toggle mentions of Looker in emails AllowLookerLinks *bool `json:"allow_looker_links,omitempty"` // Boolean to toggle links to Looker in emails CustomWelcomeEmailAdvanced *bool `json:"custom_welcome_email_advanced,omitempty"` // Allow subject line and email heading customization in customized emails” SetupMentions *bool `json:"setup_mentions,omitempty"` // Remove the word Looker from appearing in the account setup page AlertsLogo *bool `json:"alerts_logo,omitempty"` // Remove Looker logo from Alerts AlertsLinks *bool `json:"alerts_links,omitempty"` // Remove Looker links from Alerts FoldersMentions *bool `json:"folders_mentions,omitempty"` // Remove Looker mentions in home folder page when you don’t have any items saved }
Dynamically generated writeable type for WhitelabelConfiguration removes properties: can, id, logo_url, favicon_url