google

package
v0.1.82 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CalendarChannelWatchComponent    = "google_calendar_channel_watch"
	CalendarChannelWatchRequestPort  = "request"
	CalendarChannelWatchResponsePort = "response"
	CalendarChannelWatchErrorPort    = "error"
)
View Source
const (
	CalendarGetEventsComponent    = "google_calendar_get_events"
	CalendarGetEventsRequestPort  = "request"
	CalendarGetEventsResponsePort = "response"
	CalendarGetEventsErrorPort    = "error"
)
View Source
const (
	ExchangeAutCodeComponent     = "google_exchange_auth_code"
	ExchangeAuthCodeRequestPort  = "request"
	ExchangeAuthCodeResponsePort = "response"
	ExchangeAuthCodeErrorPort    = "error"
)
View Source
const (
	GetAuthUrlComponent    = "google_get_auth_url"
	GetAuthUrlRequestPort  = "request"
	GetAuthUrlResponsePort = "response"
	GetAuthUrlErrorPort    = "error"
)
View Source
const (
	GetCalendarsComponent    = "google_get_calendars"
	GetCalendarsRequestPort  = "request"
	GetCalendarsResponsePort = "response"
	GetCalendarsErrorPort    = "error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CalendarChannelWatch added in v0.1.82

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

func (*CalendarChannelWatch) GetInfo added in v0.1.82

func (*CalendarChannelWatch) Handle added in v0.1.82

func (h *CalendarChannelWatch) Handle(ctx context.Context, handler module.Handler, port string, msg interface{}) error

func (*CalendarChannelWatch) Instance added in v0.1.82

func (h *CalendarChannelWatch) Instance() module.Component

func (*CalendarChannelWatch) Ports added in v0.1.82

func (h *CalendarChannelWatch) Ports() []module.NodePort

type CalendarChannelWatchChannel added in v0.1.82

type CalendarChannelWatchChannel struct {
	ID string `json:"id"`
}

type CalendarChannelWatchContext added in v0.1.82

type CalendarChannelWatchContext any

type CalendarChannelWatchError added in v0.1.82

type CalendarChannelWatchError struct {
	Request CalendarChannelWatchRequest `json:"request"`
	Error   string                      `json:"error"`
}

type CalendarChannelWatchRequest added in v0.1.82

type CalendarChannelWatchRequest struct {
	Context  CalendarChannelWatchContext         `json:"context" configurable:"true" title:"Context" description:"Arbitrary message to be send further" propertyOrder:"1"`
	Calendar CalendarChannelWatchRequestCalendar `json:"calendar" required:"true" title:"Calendar" propertyOrder:"2"`
	Channel  CalendarWatchChannel                `json:"channel" required:"true" title:"Channel" propertyOrder:"3"`
	Token    Token                               `json:"token" required:"true" title:"Token" propertyOrder:"4"`
	Config   ClientConfig                        `json:"config" required:"true" title:"Client credentials" propertyOrder:"5"`
}

type CalendarChannelWatchRequestCalendar added in v0.1.82

type CalendarChannelWatchRequestCalendar struct {
	ID string `json:"id" required:"true" title:"Calendar ID" description:"Google Calendar ID to be watched"`
}

type CalendarChannelWatchResponse added in v0.1.82

type CalendarChannelWatchResponse struct {
	Request CalendarChannelWatchRequest `json:"request"`
	Channel CalendarChannelWatchChannel `json:"channel"`
}

type CalendarChannelWatchSettings added in v0.1.82

type CalendarChannelWatchSettings struct {
	EnableErrorPort bool `` /* 137-byte string literal not displayed */
}

type CalendarGetEventResponse added in v0.1.82

type CalendarGetEventResponse struct {
	Request CalendarGetEventsRequest `json:"request"`
	Results calendar.Events          `json:"results"`
}

type CalendarGetEvents

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

func (*CalendarGetEvents) GetInfo

func (c *CalendarGetEvents) GetInfo() module.ComponentInfo

func (*CalendarGetEvents) Handle

func (c *CalendarGetEvents) Handle(ctx context.Context, handler module.Handler, port string, msg interface{}) error

func (*CalendarGetEvents) Instance

func (c *CalendarGetEvents) Instance() module.Component

func (*CalendarGetEvents) Ports

func (c *CalendarGetEvents) Ports() []module.NodePort

type CalendarGetEventsContext

type CalendarGetEventsContext any

type CalendarGetEventsError

type CalendarGetEventsError struct {
	Request CalendarGetEventsRequest `json:"request"`
	Error   string                   `json:"error"`
}

type CalendarGetEventsRequest

type CalendarGetEventsRequest struct {
	Context     CalendarGetEventsContext `json:"context" configurable:"true" title:"Context" description:"Arbitrary message to be send further" propertyOrder:"1"`
	CalendarId  string                   `json:"calendarId" required:"true" default:"primary" minLength:"1" title:"Calendar ID" propertyOrder:"2"`
	ShowDeleted bool                     `json:"showDeleted" required:"true" title:"Show deleted events" default:"true" propertyOrder:"3"`
	StartDate   time.Time                `json:"startDate" title:"Start date" propertyOrder:"4"`
	EndDate     time.Time                `json:"endDate" title:"End date" propertyOrder:"5"`
	SyncToken   string                   `json:"syncToken" title:"Sync Token" propertyOrder:"6"`
	Token       Token                    `json:"token" required:"true" title:"Auth Token" propertyOrder:"7"`
	Config      ClientConfig             `json:"config" required:"true" title:"Client credentials" propertyOrder:"8"`
}

type CalendarGetEventsSettings

type CalendarGetEventsSettings struct {
	EnableErrorPort bool `` /* 153-byte string literal not displayed */
}

type CalendarWatchChannel added in v0.1.82

type CalendarWatchChannel struct {
	ID          string `json:"id" required:"true" title:"ID" description:"A UUID or similar unique string that identifies this channel."`
	Type        string `` /* 274-byte string literal not displayed */
	Address     string `json:"address" required:"true" title:"Address" description:"The address where notifications are delivered for this channel."`
	Expiration  int64  `` /* 148-byte string literal not displayed */
	ResourceId  string `` /* 161-byte string literal not displayed */
	ResourceUri string `json:"resourceUri" title:"ResourceURI" description:"A version-specific identifier for the watched resource."`
	Token       string `` /* 149-byte string literal not displayed */
}

type ClientConfig

type ClientConfig struct {
	Credentials string   `` /* 130-byte string literal not displayed */
	Scopes      []string `json:"scopes" title:"Scopes" required:"true"`
}

type ExchangeAuthCode

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

func (*ExchangeAuthCode) GetInfo

func (a *ExchangeAuthCode) GetInfo() module.ComponentInfo

func (*ExchangeAuthCode) Handle

func (a *ExchangeAuthCode) Handle(ctx context.Context, output module.Handler, port string, msg interface{}) error

func (*ExchangeAuthCode) Instance

func (a *ExchangeAuthCode) Instance() module.Component

func (*ExchangeAuthCode) Ports

func (a *ExchangeAuthCode) Ports() []module.NodePort

type ExchangeAuthCodeError added in v0.1.73

type ExchangeAuthCodeError struct {
	Request ExchangeAuthCodeInMessage `json:"request"`
	Error   string                    `json:"error"`
}

type ExchangeAuthCodeInContext

type ExchangeAuthCodeInContext any

type ExchangeAuthCodeInMessage

type ExchangeAuthCodeInMessage struct {
	Context  ExchangeAuthCodeInContext `json:"context" title:"Context" configurable:"true" propertyOrder:"1"`
	Config   ClientConfig              `json:"config" title:"Config"  required:"true" description:"Client Config" propertyOrder:"2"`
	AuthCode string                    `json:"authCode" required:"true" title:"Authorisation code" propertyOrder:"3"`
}

type ExchangeAuthCodeOutMessage

type ExchangeAuthCodeOutMessage struct {
	Context ExchangeAuthCodeInContext `json:"context" title:"Context" propertyOrder:"1"`
	Token   Token                     `json:"token" propertyOrder:"2"`
}

type ExchangeAuthCodeSettings added in v0.1.73

type ExchangeAuthCodeSettings struct {
	EnableErrorPort bool `` /* 137-byte string literal not displayed */
}

type GetAuthUrl

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

func (*GetAuthUrl) GetInfo

func (a *GetAuthUrl) GetInfo() module.ComponentInfo

func (*GetAuthUrl) Handle

func (a *GetAuthUrl) Handle(ctx context.Context, output module.Handler, port string, msg interface{}) error

func (*GetAuthUrl) Instance

func (a *GetAuthUrl) Instance() module.Component

func (*GetAuthUrl) Ports

func (a *GetAuthUrl) Ports() []module.NodePort

type GetAuthUrlErrorMessage added in v0.1.73

type GetAuthUrlErrorMessage struct {
	Request GetAuthUrlInMessage `json:"request"`
	Error   string              `json:"error"`
}

type GetAuthUrlInContext

type GetAuthUrlInContext any

type GetAuthUrlInMessage

type GetAuthUrlInMessage struct {
	Context       GetAuthUrlInContext `json:"context" title:"Context" configurable:"true" propertyOrder:"1"`
	Config        ClientConfig        `json:"config" required:"true" title:"Client credentials" propertyOrder:"2"`
	AccessType    string              `json:"accessType" title:"Type of access" enum:"offline,online" enumTitles:"Offline,Online" required:"true" propertyOrder:"3"`
	ApprovalForce bool                `json:"approvalForce" title:"ApprovalForce" required:"true" propertyOrder:"4"`
}

type GetAuthUrlOutMessage

type GetAuthUrlOutMessage struct {
	Request GetAuthUrlInMessage `json:"request"`
	AuthUrl string              `json:"authUrl" format:"uri"`
}

type GetAuthUrlSettings added in v0.1.73

type GetAuthUrlSettings struct {
	EnableErrorPort bool `` /* 137-byte string literal not displayed */
}

type GetCalendars added in v0.1.73

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

func (*GetCalendars) GetInfo added in v0.1.73

func (g *GetCalendars) GetInfo() module.ComponentInfo

func (*GetCalendars) Handle added in v0.1.73

func (g *GetCalendars) Handle(ctx context.Context, output module.Handler, port string, msg interface{}) error

func (*GetCalendars) Instance added in v0.1.73

func (g *GetCalendars) Instance() module.Component

func (*GetCalendars) Ports added in v0.1.73

func (g *GetCalendars) Ports() []module.NodePort

type GetCalendarsContext added in v0.1.72

type GetCalendarsContext any

type GetCalendarsError added in v0.1.73

type GetCalendarsError struct {
	Request GetCalendarsRequest `json:"request"`
	Error   string              `json:"error"`
}

type GetCalendarsRequest added in v0.1.73

type GetCalendarsRequest struct {
	Context GetCalendarsContext `json:"context" title:"Context" configurable:"true" propertyOrder:"1"`
	Config  ClientConfig        `json:"config" title:"Config"  required:"true" description:"Client Config" propertyOrder:"2"`
	Token   Token               `json:"token" required:"true" title:"Auth Token" propertyOrder:"7"`
}

type GetCalendarsResponse added in v0.1.73

type GetCalendarsResponse struct {
	Request   GetCalendarsRequest           `json:"request"`
	Calendars []*calendar.CalendarListEntry `json:"calendars"`
}

type GetCalendarsSettings added in v0.1.73

type GetCalendarsSettings struct {
	EnableErrorPort bool `` /* 137-byte string literal not displayed */
}

type Token

type Token struct {
	AccessToken  string    `json:"access_token" required:"true" minLength:"1" title:"AccessToken" description:"Token that authorizes and authenticates"`
	TokenType    string    `` /* 142-byte string literal not displayed */
	RefreshToken string    `` /* 170-byte string literal not displayed */
	Expiry       time.Time `` /* 264-byte string literal not displayed */
}

Jump to

Keyboard shortcuts

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