opengovernance

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code is generated by go generate. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChromeDevice

func GetChromeDevice(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetDomain added in v0.1.0

func GetDomain(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetDomainAlias added in v0.1.0

func GetDomainAlias(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetGroup

func GetGroup(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetGroupAlias added in v0.1.0

func GetGroupAlias(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetGroupMember

func GetGroupMember(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetMobileDevice

func GetMobileDevice(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetOrgUnit

func GetOrgUnit(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetPrivilege added in v0.1.0

func GetPrivilege(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetResourceBuilding added in v0.1.0

func GetResourceBuilding(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetResourceCalender added in v0.1.0

func GetResourceCalender(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetResourceFeature added in v0.1.0

func GetResourceFeature(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetRole

func GetRole(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetRoleAssignment added in v0.1.0

func GetRoleAssignment(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetUser

func GetUser(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func GetUserAlias

func GetUserAlias(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListChromeDevice

func ListChromeDevice(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListDomain added in v0.1.0

func ListDomain(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListDomainAlias added in v0.1.0

func ListDomainAlias(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListGroup

func ListGroup(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListGroupAlias added in v0.1.0

func ListGroupAlias(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListGroupMember

func ListGroupMember(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListMobileDevice

func ListMobileDevice(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListOrgUnit

func ListOrgUnit(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListPrivilege added in v0.1.0

func ListPrivilege(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListResourceBuilding added in v0.1.0

func ListResourceBuilding(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListResourceCalender added in v0.1.0

func ListResourceCalender(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListResourceFeature added in v0.1.0

func ListResourceFeature(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListRole

func ListRole(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListRoleAssignment added in v0.1.0

func ListRoleAssignment(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListUser

func ListUser(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

func ListUserAlias

func ListUserAlias(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error)

Types

type ChromeDevice

type ChromeDevice struct {
	ResourceID      string                                  `json:"resource_id"`
	PlatformID      string                                  `json:"platform_id"`
	Description     googleworkspace.ChromeDeviceDescription `json:"description"`
	Metadata        googleworkspace.Metadata                `json:"metadata"`
	DescribedBy     string                                  `json:"described_by"`
	ResourceType    string                                  `json:"resource_type"`
	IntegrationType string                                  `json:"integration_type"`
	IntegrationID   string                                  `json:"integration_id"`
}

type ChromeDeviceHit

type ChromeDeviceHit struct {
	ID      string        `json:"_id"`
	Score   float64       `json:"_score"`
	Index   string        `json:"_index"`
	Type    string        `json:"_type"`
	Version int64         `json:"_version,omitempty"`
	Source  ChromeDevice  `json:"_source"`
	Sort    []interface{} `json:"sort"`
}

type ChromeDeviceHits

type ChromeDeviceHits struct {
	Total essdk.SearchTotal `json:"total"`
	Hits  []ChromeDeviceHit `json:"hits"`
}

type ChromeDevicePaginator

type ChromeDevicePaginator struct {
	// contains filtered or unexported fields
}

func (ChromeDevicePaginator) Close

func (ChromeDevicePaginator) HasNext

func (p ChromeDevicePaginator) HasNext() bool

func (ChromeDevicePaginator) NextPage

type ChromeDeviceSearchResponse

type ChromeDeviceSearchResponse struct {
	PitID string           `json:"pit_id"`
	Hits  ChromeDeviceHits `json:"hits"`
}

type Client

type Client struct {
	essdk.Client
}

func (Client) NewChromeDevicePaginator

func (k Client) NewChromeDevicePaginator(filters []essdk.BoolFilter, limit *int64) (ChromeDevicePaginator, error)

func (Client) NewDomainAliasPaginator added in v0.1.0

func (k Client) NewDomainAliasPaginator(filters []essdk.BoolFilter, limit *int64) (DomainAliasPaginator, error)

func (Client) NewDomainPaginator added in v0.1.0

func (k Client) NewDomainPaginator(filters []essdk.BoolFilter, limit *int64) (DomainPaginator, error)

func (Client) NewGroupAliasPaginator added in v0.1.0

func (k Client) NewGroupAliasPaginator(filters []essdk.BoolFilter, limit *int64) (GroupAliasPaginator, error)

func (Client) NewGroupMemberPaginator

func (k Client) NewGroupMemberPaginator(filters []essdk.BoolFilter, limit *int64) (GroupMemberPaginator, error)

func (Client) NewGroupPaginator

func (k Client) NewGroupPaginator(filters []essdk.BoolFilter, limit *int64) (GroupPaginator, error)

func (Client) NewMobileDevicePaginator

func (k Client) NewMobileDevicePaginator(filters []essdk.BoolFilter, limit *int64) (MobileDevicePaginator, error)

func (Client) NewOrgUnitPaginator

func (k Client) NewOrgUnitPaginator(filters []essdk.BoolFilter, limit *int64) (OrgUnitPaginator, error)

func (Client) NewPrivilegePaginator added in v0.1.0

func (k Client) NewPrivilegePaginator(filters []essdk.BoolFilter, limit *int64) (PrivilegePaginator, error)

func (Client) NewResourceBuildingPaginator added in v0.1.0

func (k Client) NewResourceBuildingPaginator(filters []essdk.BoolFilter, limit *int64) (ResourceBuildingPaginator, error)

func (Client) NewResourceCalenderPaginator added in v0.1.0

func (k Client) NewResourceCalenderPaginator(filters []essdk.BoolFilter, limit *int64) (ResourceCalenderPaginator, error)

func (Client) NewResourceFeaturePaginator added in v0.1.0

func (k Client) NewResourceFeaturePaginator(filters []essdk.BoolFilter, limit *int64) (ResourceFeaturePaginator, error)

func (Client) NewRoleAssignmentPaginator added in v0.1.0

func (k Client) NewRoleAssignmentPaginator(filters []essdk.BoolFilter, limit *int64) (RoleAssignmentPaginator, error)

func (Client) NewRolePaginator

func (k Client) NewRolePaginator(filters []essdk.BoolFilter, limit *int64) (RolePaginator, error)

func (Client) NewUserAliasPaginator

func (k Client) NewUserAliasPaginator(filters []essdk.BoolFilter, limit *int64) (UserAliasPaginator, error)

func (Client) NewUserPaginator

func (k Client) NewUserPaginator(filters []essdk.BoolFilter, limit *int64) (UserPaginator, error)

type Domain added in v0.1.0

type Domain struct {
	ResourceID      string                            `json:"resource_id"`
	PlatformID      string                            `json:"platform_id"`
	Description     googleworkspace.DomainDescription `json:"description"`
	Metadata        googleworkspace.Metadata          `json:"metadata"`
	DescribedBy     string                            `json:"described_by"`
	ResourceType    string                            `json:"resource_type"`
	IntegrationType string                            `json:"integration_type"`
	IntegrationID   string                            `json:"integration_id"`
}

type DomainAlias added in v0.1.0

type DomainAlias struct {
	ResourceID      string                                 `json:"resource_id"`
	PlatformID      string                                 `json:"platform_id"`
	Description     googleworkspace.DomainAliasDescription `json:"description"`
	Metadata        googleworkspace.Metadata               `json:"metadata"`
	DescribedBy     string                                 `json:"described_by"`
	ResourceType    string                                 `json:"resource_type"`
	IntegrationType string                                 `json:"integration_type"`
	IntegrationID   string                                 `json:"integration_id"`
}

type DomainAliasHit added in v0.1.0

type DomainAliasHit struct {
	ID      string        `json:"_id"`
	Score   float64       `json:"_score"`
	Index   string        `json:"_index"`
	Type    string        `json:"_type"`
	Version int64         `json:"_version,omitempty"`
	Source  DomainAlias   `json:"_source"`
	Sort    []interface{} `json:"sort"`
}

type DomainAliasHits added in v0.1.0

type DomainAliasHits struct {
	Total essdk.SearchTotal `json:"total"`
	Hits  []DomainAliasHit  `json:"hits"`
}

type DomainAliasPaginator added in v0.1.0

type DomainAliasPaginator struct {
	// contains filtered or unexported fields
}

func (DomainAliasPaginator) Close added in v0.1.0

func (DomainAliasPaginator) HasNext added in v0.1.0

func (p DomainAliasPaginator) HasNext() bool

func (DomainAliasPaginator) NextPage added in v0.1.0

func (p DomainAliasPaginator) NextPage(ctx context.Context) ([]DomainAlias, error)

type DomainAliasSearchResponse added in v0.1.0

type DomainAliasSearchResponse struct {
	PitID string          `json:"pit_id"`
	Hits  DomainAliasHits `json:"hits"`
}

type DomainHit added in v0.1.0

type DomainHit struct {
	ID      string        `json:"_id"`
	Score   float64       `json:"_score"`
	Index   string        `json:"_index"`
	Type    string        `json:"_type"`
	Version int64         `json:"_version,omitempty"`
	Source  Domain        `json:"_source"`
	Sort    []interface{} `json:"sort"`
}

type DomainHits added in v0.1.0

type DomainHits struct {
	Total essdk.SearchTotal `json:"total"`
	Hits  []DomainHit       `json:"hits"`
}

type DomainPaginator added in v0.1.0

type DomainPaginator struct {
	// contains filtered or unexported fields
}

func (DomainPaginator) Close added in v0.1.0

func (p DomainPaginator) Close(ctx context.Context) error

func (DomainPaginator) HasNext added in v0.1.0

func (p DomainPaginator) HasNext() bool

func (DomainPaginator) NextPage added in v0.1.0

func (p DomainPaginator) NextPage(ctx context.Context) ([]Domain, error)

type DomainSearchResponse added in v0.1.0

type DomainSearchResponse struct {
	PitID string     `json:"pit_id"`
	Hits  DomainHits `json:"hits"`
}

type Group

type Group struct {
	ResourceID      string                           `json:"resource_id"`
	PlatformID      string                           `json:"platform_id"`
	Description     googleworkspace.GroupDescription `json:"description"`
	Metadata        googleworkspace.Metadata         `json:"metadata"`
	DescribedBy     string                           `json:"described_by"`
	ResourceType    string                           `json:"resource_type"`
	IntegrationType string                           `json:"integration_type"`
	IntegrationID   string                           `json:"integration_id"`
}

type GroupAlias added in v0.1.0

type GroupAlias struct {
	ResourceID      string                                `json:"resource_id"`
	PlatformID      string                                `json:"platform_id"`
	Description     googleworkspace.GroupAliasDescription `json:"description"`
	Metadata        googleworkspace.Metadata              `json:"metadata"`
	DescribedBy     string                                `json:"described_by"`
	ResourceType    string                                `json:"resource_type"`
	IntegrationType string                                `json:"integration_type"`
	IntegrationID   string                                `json:"integration_id"`
}

type GroupAliasHit added in v0.1.0

type GroupAliasHit struct {
	ID      string        `json:"_id"`
	Score   float64       `json:"_score"`
	Index   string        `json:"_index"`
	Type    string        `json:"_type"`
	Version int64         `json:"_version,omitempty"`
	Source  GroupAlias    `json:"_source"`
	Sort    []interface{} `json:"sort"`
}

type GroupAliasHits added in v0.1.0

type GroupAliasHits struct {
	Total essdk.SearchTotal `json:"total"`
	Hits  []GroupAliasHit   `json:"hits"`
}

type GroupAliasPaginator added in v0.1.0

type GroupAliasPaginator struct {
	// contains filtered or unexported fields
}

func (GroupAliasPaginator) Close added in v0.1.0

func (GroupAliasPaginator) HasNext added in v0.1.0

func (p GroupAliasPaginator) HasNext() bool

func (GroupAliasPaginator) NextPage added in v0.1.0

func (p GroupAliasPaginator) NextPage(ctx context.Context) ([]GroupAlias, error)

type GroupAliasSearchResponse added in v0.1.0

type GroupAliasSearchResponse struct {
	PitID string         `json:"pit_id"`
	Hits  GroupAliasHits `json:"hits"`
}

type GroupHit

type GroupHit struct {
	ID      string        `json:"_id"`
	Score   float64       `json:"_score"`
	Index   string        `json:"_index"`
	Type    string        `json:"_type"`
	Version int64         `json:"_version,omitempty"`
	Source  Group         `json:"_source"`
	Sort    []interface{} `json:"sort"`
}

type GroupHits

type GroupHits struct {
	Total essdk.SearchTotal `json:"total"`
	Hits  []GroupHit        `json:"hits"`
}

type GroupMember

type GroupMember struct {
	ResourceID      string                                 `json:"resource_id"`
	PlatformID      string                                 `json:"platform_id"`
	Description     googleworkspace.GroupMemberDescription `json:"description"`
	Metadata        googleworkspace.Metadata               `json:"metadata"`
	DescribedBy     string                                 `json:"described_by"`
	ResourceType    string                                 `json:"resource_type"`
	IntegrationType string                                 `json:"integration_type"`
	IntegrationID   string                                 `json:"integration_id"`
}

type GroupMemberHit

type GroupMemberHit struct {
	ID      string        `json:"_id"`
	Score   float64       `json:"_score"`
	Index   string        `json:"_index"`
	Type    string        `json:"_type"`
	Version int64         `json:"_version,omitempty"`
	Source  GroupMember   `json:"_source"`
	Sort    []interface{} `json:"sort"`
}

type GroupMemberHits

type GroupMemberHits struct {
	Total essdk.SearchTotal `json:"total"`
	Hits  []GroupMemberHit  `json:"hits"`
}

type GroupMemberPaginator

type GroupMemberPaginator struct {
	// contains filtered or unexported fields
}

func (GroupMemberPaginator) Close

func (GroupMemberPaginator) HasNext

func (p GroupMemberPaginator) HasNext() bool

func (GroupMemberPaginator) NextPage

func (p GroupMemberPaginator) NextPage(ctx context.Context) ([]GroupMember, error)

type GroupMemberSearchResponse

type GroupMemberSearchResponse struct {
	PitID string          `json:"pit_id"`
	Hits  GroupMemberHits `json:"hits"`
}

type GroupPaginator

type GroupPaginator struct {
	// contains filtered or unexported fields
}

func (GroupPaginator) Close

func (p GroupPaginator) Close(ctx context.Context) error

func (GroupPaginator) HasNext

func (p GroupPaginator) HasNext() bool

func (GroupPaginator) NextPage

func (p GroupPaginator) NextPage(ctx context.Context) ([]Group, error)

type GroupSearchResponse

type GroupSearchResponse struct {
	PitID string    `json:"pit_id"`
	Hits  GroupHits `json:"hits"`
}

type MobileDevice

type MobileDevice struct {
	ResourceID      string                                  `json:"resource_id"`
	PlatformID      string                                  `json:"platform_id"`
	Description     googleworkspace.MobileDeviceDescription `json:"description"`
	Metadata        googleworkspace.Metadata                `json:"metadata"`
	DescribedBy     string                                  `json:"described_by"`
	ResourceType    string                                  `json:"resource_type"`
	IntegrationType string                                  `json:"integration_type"`
	IntegrationID   string                                  `json:"integration_id"`
}

type MobileDeviceHit

type MobileDeviceHit struct {
	ID      string        `json:"_id"`
	Score   float64       `json:"_score"`
	Index   string        `json:"_index"`
	Type    string        `json:"_type"`
	Version int64         `json:"_version,omitempty"`
	Source  MobileDevice  `json:"_source"`
	Sort    []interface{} `json:"sort"`
}

type MobileDeviceHits

type MobileDeviceHits struct {
	Total essdk.SearchTotal `json:"total"`
	Hits  []MobileDeviceHit `json:"hits"`
}

type MobileDevicePaginator

type MobileDevicePaginator struct {
	// contains filtered or unexported fields
}

func (MobileDevicePaginator) Close

func (MobileDevicePaginator) HasNext

func (p MobileDevicePaginator) HasNext() bool

func (MobileDevicePaginator) NextPage

type MobileDeviceSearchResponse

type MobileDeviceSearchResponse struct {
	PitID string           `json:"pit_id"`
	Hits  MobileDeviceHits `json:"hits"`
}

type OrgUnit

type OrgUnit struct {
	ResourceID      string                             `json:"resource_id"`
	PlatformID      string                             `json:"platform_id"`
	Description     googleworkspace.OrgUnitDescription `json:"description"`
	Metadata        googleworkspace.Metadata           `json:"metadata"`
	DescribedBy     string                             `json:"described_by"`
	ResourceType    string                             `json:"resource_type"`
	IntegrationType string                             `json:"integration_type"`
	IntegrationID   string                             `json:"integration_id"`
}

type OrgUnitHit

type OrgUnitHit struct {
	ID      string        `json:"_id"`
	Score   float64       `json:"_score"`
	Index   string        `json:"_index"`
	Type    string        `json:"_type"`
	Version int64         `json:"_version,omitempty"`
	Source  OrgUnit       `json:"_source"`
	Sort    []interface{} `json:"sort"`
}

type OrgUnitHits

type OrgUnitHits struct {
	Total essdk.SearchTotal `json:"total"`
	Hits  []OrgUnitHit      `json:"hits"`
}

type OrgUnitPaginator

type OrgUnitPaginator struct {
	// contains filtered or unexported fields
}

func (OrgUnitPaginator) Close

func (p OrgUnitPaginator) Close(ctx context.Context) error

func (OrgUnitPaginator) HasNext

func (p OrgUnitPaginator) HasNext() bool

func (OrgUnitPaginator) NextPage

func (p OrgUnitPaginator) NextPage(ctx context.Context) ([]OrgUnit, error)

type OrgUnitSearchResponse

type OrgUnitSearchResponse struct {
	PitID string      `json:"pit_id"`
	Hits  OrgUnitHits `json:"hits"`
}

type Privilege added in v0.1.0

type Privilege struct {
	ResourceID      string                               `json:"resource_id"`
	PlatformID      string                               `json:"platform_id"`
	Description     googleworkspace.PrivilegeDescription `json:"description"`
	Metadata        googleworkspace.Metadata             `json:"metadata"`
	DescribedBy     string                               `json:"described_by"`
	ResourceType    string                               `json:"resource_type"`
	IntegrationType string                               `json:"integration_type"`
	IntegrationID   string                               `json:"integration_id"`
}

type PrivilegeHit added in v0.1.0

type PrivilegeHit struct {
	ID      string        `json:"_id"`
	Score   float64       `json:"_score"`
	Index   string        `json:"_index"`
	Type    string        `json:"_type"`
	Version int64         `json:"_version,omitempty"`
	Source  Privilege     `json:"_source"`
	Sort    []interface{} `json:"sort"`
}

type PrivilegeHits added in v0.1.0

type PrivilegeHits struct {
	Total essdk.SearchTotal `json:"total"`
	Hits  []PrivilegeHit    `json:"hits"`
}

type PrivilegePaginator added in v0.1.0

type PrivilegePaginator struct {
	// contains filtered or unexported fields
}

func (PrivilegePaginator) Close added in v0.1.0

func (p PrivilegePaginator) Close(ctx context.Context) error

func (PrivilegePaginator) HasNext added in v0.1.0

func (p PrivilegePaginator) HasNext() bool

func (PrivilegePaginator) NextPage added in v0.1.0

func (p PrivilegePaginator) NextPage(ctx context.Context) ([]Privilege, error)

type PrivilegeSearchResponse added in v0.1.0

type PrivilegeSearchResponse struct {
	PitID string        `json:"pit_id"`
	Hits  PrivilegeHits `json:"hits"`
}

type ResourceBuilding added in v0.1.0

type ResourceBuilding struct {
	ResourceID      string                                      `json:"resource_id"`
	PlatformID      string                                      `json:"platform_id"`
	Description     googleworkspace.ResourceBuildingDescription `json:"description"`
	Metadata        googleworkspace.Metadata                    `json:"metadata"`
	DescribedBy     string                                      `json:"described_by"`
	ResourceType    string                                      `json:"resource_type"`
	IntegrationType string                                      `json:"integration_type"`
	IntegrationID   string                                      `json:"integration_id"`
}

type ResourceBuildingHit added in v0.1.0

type ResourceBuildingHit struct {
	ID      string           `json:"_id"`
	Score   float64          `json:"_score"`
	Index   string           `json:"_index"`
	Type    string           `json:"_type"`
	Version int64            `json:"_version,omitempty"`
	Source  ResourceBuilding `json:"_source"`
	Sort    []interface{}    `json:"sort"`
}

type ResourceBuildingHits added in v0.1.0

type ResourceBuildingHits struct {
	Total essdk.SearchTotal     `json:"total"`
	Hits  []ResourceBuildingHit `json:"hits"`
}

type ResourceBuildingPaginator added in v0.1.0

type ResourceBuildingPaginator struct {
	// contains filtered or unexported fields
}

func (ResourceBuildingPaginator) Close added in v0.1.0

func (ResourceBuildingPaginator) HasNext added in v0.1.0

func (p ResourceBuildingPaginator) HasNext() bool

func (ResourceBuildingPaginator) NextPage added in v0.1.0

type ResourceBuildingSearchResponse added in v0.1.0

type ResourceBuildingSearchResponse struct {
	PitID string               `json:"pit_id"`
	Hits  ResourceBuildingHits `json:"hits"`
}

type ResourceCalender added in v0.1.0

type ResourceCalender struct {
	ResourceID      string                                      `json:"resource_id"`
	PlatformID      string                                      `json:"platform_id"`
	Description     googleworkspace.ResourceCalenderDescription `json:"description"`
	Metadata        googleworkspace.Metadata                    `json:"metadata"`
	DescribedBy     string                                      `json:"described_by"`
	ResourceType    string                                      `json:"resource_type"`
	IntegrationType string                                      `json:"integration_type"`
	IntegrationID   string                                      `json:"integration_id"`
}

type ResourceCalenderHit added in v0.1.0

type ResourceCalenderHit struct {
	ID      string           `json:"_id"`
	Score   float64          `json:"_score"`
	Index   string           `json:"_index"`
	Type    string           `json:"_type"`
	Version int64            `json:"_version,omitempty"`
	Source  ResourceCalender `json:"_source"`
	Sort    []interface{}    `json:"sort"`
}

type ResourceCalenderHits added in v0.1.0

type ResourceCalenderHits struct {
	Total essdk.SearchTotal     `json:"total"`
	Hits  []ResourceCalenderHit `json:"hits"`
}

type ResourceCalenderPaginator added in v0.1.0

type ResourceCalenderPaginator struct {
	// contains filtered or unexported fields
}

func (ResourceCalenderPaginator) Close added in v0.1.0

func (ResourceCalenderPaginator) HasNext added in v0.1.0

func (p ResourceCalenderPaginator) HasNext() bool

func (ResourceCalenderPaginator) NextPage added in v0.1.0

type ResourceCalenderSearchResponse added in v0.1.0

type ResourceCalenderSearchResponse struct {
	PitID string               `json:"pit_id"`
	Hits  ResourceCalenderHits `json:"hits"`
}

type ResourceFeature added in v0.1.0

type ResourceFeature struct {
	ResourceID      string                                     `json:"resource_id"`
	PlatformID      string                                     `json:"platform_id"`
	Description     googleworkspace.ResourceFeatureDescription `json:"description"`
	Metadata        googleworkspace.Metadata                   `json:"metadata"`
	DescribedBy     string                                     `json:"described_by"`
	ResourceType    string                                     `json:"resource_type"`
	IntegrationType string                                     `json:"integration_type"`
	IntegrationID   string                                     `json:"integration_id"`
}

type ResourceFeatureHit added in v0.1.0

type ResourceFeatureHit struct {
	ID      string          `json:"_id"`
	Score   float64         `json:"_score"`
	Index   string          `json:"_index"`
	Type    string          `json:"_type"`
	Version int64           `json:"_version,omitempty"`
	Source  ResourceFeature `json:"_source"`
	Sort    []interface{}   `json:"sort"`
}

type ResourceFeatureHits added in v0.1.0

type ResourceFeatureHits struct {
	Total essdk.SearchTotal    `json:"total"`
	Hits  []ResourceFeatureHit `json:"hits"`
}

type ResourceFeaturePaginator added in v0.1.0

type ResourceFeaturePaginator struct {
	// contains filtered or unexported fields
}

func (ResourceFeaturePaginator) Close added in v0.1.0

func (ResourceFeaturePaginator) HasNext added in v0.1.0

func (p ResourceFeaturePaginator) HasNext() bool

func (ResourceFeaturePaginator) NextPage added in v0.1.0

type ResourceFeatureSearchResponse added in v0.1.0

type ResourceFeatureSearchResponse struct {
	PitID string              `json:"pit_id"`
	Hits  ResourceFeatureHits `json:"hits"`
}

type Role

type Role struct {
	ResourceID      string                          `json:"resource_id"`
	PlatformID      string                          `json:"platform_id"`
	Description     googleworkspace.RoleDescription `json:"description"`
	Metadata        googleworkspace.Metadata        `json:"metadata"`
	DescribedBy     string                          `json:"described_by"`
	ResourceType    string                          `json:"resource_type"`
	IntegrationType string                          `json:"integration_type"`
	IntegrationID   string                          `json:"integration_id"`
}

type RoleAssignment added in v0.1.0

type RoleAssignment struct {
	ResourceID      string                                    `json:"resource_id"`
	PlatformID      string                                    `json:"platform_id"`
	Description     googleworkspace.RoleAssignmentDescription `json:"description"`
	Metadata        googleworkspace.Metadata                  `json:"metadata"`
	DescribedBy     string                                    `json:"described_by"`
	ResourceType    string                                    `json:"resource_type"`
	IntegrationType string                                    `json:"integration_type"`
	IntegrationID   string                                    `json:"integration_id"`
}

type RoleAssignmentHit added in v0.1.0

type RoleAssignmentHit struct {
	ID      string         `json:"_id"`
	Score   float64        `json:"_score"`
	Index   string         `json:"_index"`
	Type    string         `json:"_type"`
	Version int64          `json:"_version,omitempty"`
	Source  RoleAssignment `json:"_source"`
	Sort    []interface{}  `json:"sort"`
}

type RoleAssignmentHits added in v0.1.0

type RoleAssignmentHits struct {
	Total essdk.SearchTotal   `json:"total"`
	Hits  []RoleAssignmentHit `json:"hits"`
}

type RoleAssignmentPaginator added in v0.1.0

type RoleAssignmentPaginator struct {
	// contains filtered or unexported fields
}

func (RoleAssignmentPaginator) Close added in v0.1.0

func (RoleAssignmentPaginator) HasNext added in v0.1.0

func (p RoleAssignmentPaginator) HasNext() bool

func (RoleAssignmentPaginator) NextPage added in v0.1.0

type RoleAssignmentSearchResponse added in v0.1.0

type RoleAssignmentSearchResponse struct {
	PitID string             `json:"pit_id"`
	Hits  RoleAssignmentHits `json:"hits"`
}

type RoleHit

type RoleHit struct {
	ID      string        `json:"_id"`
	Score   float64       `json:"_score"`
	Index   string        `json:"_index"`
	Type    string        `json:"_type"`
	Version int64         `json:"_version,omitempty"`
	Source  Role          `json:"_source"`
	Sort    []interface{} `json:"sort"`
}

type RoleHits

type RoleHits struct {
	Total essdk.SearchTotal `json:"total"`
	Hits  []RoleHit         `json:"hits"`
}

type RolePaginator

type RolePaginator struct {
	// contains filtered or unexported fields
}

func (RolePaginator) Close

func (p RolePaginator) Close(ctx context.Context) error

func (RolePaginator) HasNext

func (p RolePaginator) HasNext() bool

func (RolePaginator) NextPage

func (p RolePaginator) NextPage(ctx context.Context) ([]Role, error)

type RoleSearchResponse

type RoleSearchResponse struct {
	PitID string   `json:"pit_id"`
	Hits  RoleHits `json:"hits"`
}

type User

type User struct {
	ResourceID      string                          `json:"resource_id"`
	PlatformID      string                          `json:"platform_id"`
	Description     googleworkspace.UserDescription `json:"description"`
	Metadata        googleworkspace.Metadata        `json:"metadata"`
	DescribedBy     string                          `json:"described_by"`
	ResourceType    string                          `json:"resource_type"`
	IntegrationType string                          `json:"integration_type"`
	IntegrationID   string                          `json:"integration_id"`
}

type UserAlias

type UserAlias struct {
	ResourceID      string                               `json:"resource_id"`
	PlatformID      string                               `json:"platform_id"`
	Description     googleworkspace.UserAliasDescription `json:"description"`
	Metadata        googleworkspace.Metadata             `json:"metadata"`
	DescribedBy     string                               `json:"described_by"`
	ResourceType    string                               `json:"resource_type"`
	IntegrationType string                               `json:"integration_type"`
	IntegrationID   string                               `json:"integration_id"`
}

type UserAliasHit

type UserAliasHit struct {
	ID      string        `json:"_id"`
	Score   float64       `json:"_score"`
	Index   string        `json:"_index"`
	Type    string        `json:"_type"`
	Version int64         `json:"_version,omitempty"`
	Source  UserAlias     `json:"_source"`
	Sort    []interface{} `json:"sort"`
}

type UserAliasHits

type UserAliasHits struct {
	Total essdk.SearchTotal `json:"total"`
	Hits  []UserAliasHit    `json:"hits"`
}

type UserAliasPaginator

type UserAliasPaginator struct {
	// contains filtered or unexported fields
}

func (UserAliasPaginator) Close

func (p UserAliasPaginator) Close(ctx context.Context) error

func (UserAliasPaginator) HasNext

func (p UserAliasPaginator) HasNext() bool

func (UserAliasPaginator) NextPage

func (p UserAliasPaginator) NextPage(ctx context.Context) ([]UserAlias, error)

type UserAliasSearchResponse

type UserAliasSearchResponse struct {
	PitID string        `json:"pit_id"`
	Hits  UserAliasHits `json:"hits"`
}

type UserHit

type UserHit struct {
	ID      string        `json:"_id"`
	Score   float64       `json:"_score"`
	Index   string        `json:"_index"`
	Type    string        `json:"_type"`
	Version int64         `json:"_version,omitempty"`
	Source  User          `json:"_source"`
	Sort    []interface{} `json:"sort"`
}

type UserHits

type UserHits struct {
	Total essdk.SearchTotal `json:"total"`
	Hits  []UserHit         `json:"hits"`
}

type UserPaginator

type UserPaginator struct {
	// contains filtered or unexported fields
}

func (UserPaginator) Close

func (p UserPaginator) Close(ctx context.Context) error

func (UserPaginator) HasNext

func (p UserPaginator) HasNext() bool

func (UserPaginator) NextPage

func (p UserPaginator) NextPage(ctx context.Context) ([]User, error)

type UserSearchResponse

type UserSearchResponse struct {
	PitID string   `json:"pit_id"`
	Hits  UserHits `json:"hits"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL