Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var MeetScopes = []string{
people.UserinfoEmailScope,
calendar.CalendarEventsScope,
}
This API requires some API scopes: Get user email scope Manage calendar event scope
Note that this scope is slice of string, not string
Functions ¶
This section is empty.
Types ¶
type Conference ¶
type Conference struct {
URL string `json:"url,omitempty"`
}
Conference is struct for api call response data
type ConferenceCreateCall ¶
type ConferenceCreateCall struct {
// contains filtered or unexported fields
}
ConferenceCreateCall manages creation of ConferenceData
func (*ConferenceCreateCall) Context ¶
func (c *ConferenceCreateCall) Context(ctx context.Context) *ConferenceCreateCall
Set request context
func (*ConferenceCreateCall) Do ¶
func (c *ConferenceCreateCall) Do() (*Conference, error)
Execute API call To get new Google Meet URL, we need to do following steps: 1. Create temporal calendar event with atend yourself 2. Retrieve response from calendar created reponse (may contains Google Meet URL) 3. Delete temporal event 4. return Google Meet URL got on step.2
type ConferenceService ¶
type ConferenceService struct {
// contains filtered or unexported fields
}
ConferenceService wraps calendar's conferenceData access
func NewConferenceService ¶
func NewConferenceService(c *http.Client) (*ConferenceService, error)
Create new ConferenceService
func (*ConferenceService) Create ¶
func (c *ConferenceService) Create() *ConferenceCreateCall
Create() creates Calendar creation caller pointer