google

package
v0.1.65 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CalendarGetEventsComponent = "google_calendar_get_events"
)
View Source
const CalendarRegisterWebhookComponent = "google_calendar_register_webhook"
View Source
const ExchangeAutCodeComponent = "google_exchange_auth_code"
View Source
const GetAuthUrlComponent = "google_get_auth_url"

Variables

This section is empty.

Functions

This section is empty.

Types

type CalendarGetEventSuccess

type CalendarGetEventSuccess struct {
	Context CalendarGetEventsContext `json:"context"`
	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, output 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 {
	Context CalendarGetEventsContext `json:"context"`
	Request CalendarGetEventsRequest `json:"request"`
	Error   string                   `json:"error"`
}

type CalendarGetEventsRequest

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

type CalendarGetEventsRequestPort

type CalendarGetEventsRequestPort struct {
	Context CalendarGetEventsContext `json:"context" configurable:"true" title:"Context" description:"Arbitrary message to be send further" propertyOrder:"1"`
	Request CalendarGetEventsRequest `json:"request" title:"Request" propertyOrder:"2"`
}

type CalendarGetEventsSettings

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

type CalendarRegisterChannel

type CalendarRegisterChannel 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 CalendarRegisterWebhook

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

func (*CalendarRegisterWebhook) GetInfo

func (*CalendarRegisterWebhook) Handle

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

func (*CalendarRegisterWebhook) Instance

func (*CalendarRegisterWebhook) Ports

type CalendarRegisterWebhookContext

type CalendarRegisterWebhookContext any

type CalendarRegisterWebhookError

type CalendarRegisterWebhookError struct {
	Context CalendarRegisterWebhookContext `json:"context"`
	Request CalendarRegisterWebhookRequest `json:"request"`
	Error   string                         `json:"error"`
}

type CalendarRegisterWebhookRequest

type CalendarRegisterWebhookRequest struct {
	Context  CalendarRegisterWebhookContext         `json:"context" configurable:"true" title:"Context" description:"Arbitrary message to be send further" propertyOrder:"1"`
	Calendar CalendarRegisterWebhookRequestCalendar `json:"calendar" required:"true" title:"Calendar" propertyOrder:"2"`
	Channel  CalendarRegisterChannel                `json:"channel" required:"true" title:"Channel" propertyOrder:"3"`
	Token    Token                                  `json:"token" required:"true" title:"Token" propertyOrder:"4"`
}

type CalendarRegisterWebhookRequestCalendar

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

type CalendarRegisterWebhookSettings

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

type CalendarRegisterWebhookSuccess

type CalendarRegisterWebhookSuccess struct {
	Context CalendarRegisterWebhookContext `json:"context"`
	Request CalendarRegisterWebhookRequest `json:"request"`
}

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 {
}

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 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 GetAuthUrl

type GetAuthUrl struct {
}

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 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 {
	Context GetAuthUrlInContext `json:"context"`
	AuthUrl string              `json:"authUrl" format:"uri"`
}

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