googleworkspace

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: Apache-2.0 Imports: 27 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WorksheetMetadataProviderEndpoints

func WorksheetMetadataProviderEndpoints() []proofevidence.Endpoint

Types

type Connector

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

func New

func New(ctx context.Context, config workspace.Config, creds provider.Credentials) (*Connector, error)

func (*Connector) Close

func (c *Connector) Close() error

func (*Connector) Execute

func (*Connector) IntrospectSchema

func (c *Connector) IntrospectSchema(ctx context.Context) (*filedata.Schema, error)

func (*Connector) TestConnection

func (c *Connector) TestConnection(ctx context.Context) error

type FileMetadataObserver

type FileMetadataObserver struct {
	Resource  string `json:"resource,omitempty"`
	FileID    string `json:"file_id"`
	Operation string `json:"operation"`
}

FileMetadataObserver checks the operation's file or destination folder without downloading content.

func (FileMetadataObserver) AssessMetadata

func (FileMetadataObserver) Description

func (o FileMetadataObserver) Description() string

func (FileMetadataObserver) MatchesResource

func (o FileMetadataObserver) MatchesResource(config, operation json.RawMessage, source bool) bool

func (FileMetadataObserver) Plan

func (FileMetadataObserver) ReadMetadata

type FileMetadataSnapshot

type FileMetadataSnapshot struct {
	FileID         string `json:"file_id"`
	MIMEType       string `json:"mime_type"`
	CanDownload    bool   `json:"can_download"`
	CanEdit        bool   `json:"can_edit"`
	CanAddChildren bool   `json:"can_add_children"`
}

type WorksheetMetadataObserver

type WorksheetMetadataObserver struct {
	SpreadsheetID string `json:"spreadsheet_id"`
	WorksheetID   int    `json:"worksheet_id"`
	Range         string `json:"range"`
}

WorksheetMetadataObserver proves that one configured worksheet still exists and contains the declared rectangle. It never reads or writes cell values.

func (WorksheetMetadataObserver) AssessMetadata

func (WorksheetMetadataObserver) Description

func (o WorksheetMetadataObserver) Description() string

func (WorksheetMetadataObserver) MatchesResource

func (o WorksheetMetadataObserver) MatchesResource(config, operation json.RawMessage, source bool) bool

func (WorksheetMetadataObserver) Plan

func (WorksheetMetadataObserver) ReadMetadata

type WorksheetMetadataSnapshot

type WorksheetMetadataSnapshot struct {
	WorksheetID int `json:"worksheet_id"`
	RowCount    int `json:"row_count"`
	ColumnCount int `json:"column_count"`
}

Jump to

Keyboard shortcuts

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