meet

package
v0.210.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package meet provides access to the Google Meet API.

For product documentation, see: https://developers.google.com/meet/api

Library status

These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.

When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.

Creating a client

Usage example:

import "google.golang.org/api/meet/v2"
...
ctx := context.Background()
meetService, err := meet.NewService(ctx)

In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use google.golang.org/api/option.WithScopes:

meetService, err := meet.NewService(ctx, option.WithScopes(meet.MeetingsSpaceReadonlyScope))

To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:

meetService, err := meet.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
meetService, err := meet.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See google.golang.org/api/option.ClientOption for details on options.

Index

Constants

View Source
const (
	// Create, edit, and see information about your Google Meet conferences created
	// by the app.
	MeetingsSpaceCreatedScope = "https://www.googleapis.com/auth/meetings.space.created"

	// Read information about any of your Google Meet conferences
	MeetingsSpaceReadonlyScope = "https://www.googleapis.com/auth/meetings.space.readonly"
)

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveConference

type ActiveConference struct {
	// ConferenceRecord: Output only. Reference to 'ConferenceRecord' resource.
	// Format: `conferenceRecords/{conference_record}` where `{conference_record}`
	// is a unique ID for each instance of a call within a space.
	ConferenceRecord string `json:"conferenceRecord,omitempty"`
	// ForceSendFields is a list of field names (e.g. "ConferenceRecord") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ConferenceRecord") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ActiveConference: Active conference.

func (ActiveConference) MarshalJSON

func (s ActiveConference) MarshalJSON() ([]byte, error)

type AnonymousUser

type AnonymousUser struct {
	// DisplayName: Output only. User provided name when they join a conference
	// anonymously.
	DisplayName string `json:"displayName,omitempty"`
	// ForceSendFields is a list of field names (e.g. "DisplayName") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DisplayName") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

AnonymousUser: User who joins anonymously (meaning not signed into a Google Account).

func (AnonymousUser) MarshalJSON

func (s AnonymousUser) MarshalJSON() ([]byte, error)

type ConferenceRecord

type ConferenceRecord struct {
	// EndTime: Output only. Timestamp when the conference ended. Set for past
	// conferences. Unset if the conference is ongoing.
	EndTime string `json:"endTime,omitempty"`
	// ExpireTime: Output only. Server enforced expiration time for when this
	// conference record resource is deleted. The resource is deleted 30 days after
	// the conference ends.
	ExpireTime string `json:"expireTime,omitempty"`
	// Name: Identifier. Resource name of the conference record. Format:
	// `conferenceRecords/{conference_record}` where `{conference_record}` is a
	// unique ID for each instance of a call within a space.
	Name string `json:"name,omitempty"`
	// Space: Output only. The space where the conference was held.
	Space string `json:"space,omitempty"`
	// StartTime: Output only. Timestamp when the conference started. Always set.
	StartTime string `json:"startTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "EndTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ConferenceRecord: Single instance of a meeting held in a space.

func (ConferenceRecord) MarshalJSON

func (s ConferenceRecord) MarshalJSON() ([]byte, error)

type ConferenceRecordsGetCall

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

func (*ConferenceRecordsGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ConferenceRecordsGetCall) Do

Do executes the "meet.conferenceRecords.get" call. Any non-2xx status code is an error. Response headers are in either *ConferenceRecord.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConferenceRecordsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ConferenceRecordsGetCall) Header

func (c *ConferenceRecordsGetCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ConferenceRecordsGetCall) IfNoneMatch

func (c *ConferenceRecordsGetCall) IfNoneMatch(entityTag string) *ConferenceRecordsGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ConferenceRecordsListCall

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

func (*ConferenceRecordsListCall) Context

Context sets the context to be used in this call's Do method.

func (*ConferenceRecordsListCall) Do

Do executes the "meet.conferenceRecords.list" call. Any non-2xx status code is an error. Response headers are in either *ListConferenceRecordsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConferenceRecordsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ConferenceRecordsListCall) Filter

Filter sets the optional parameter "filter": User specified filtering condition in EBNF format (https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form). The following are the filterable fields: * `space.meeting_code` * `space.name` * `start_time` * `end_time` For example, consider the following filters: * `space.name = "spaces/NAME" * `space.meeting_code = "abc-mnop-xyz" * `start_time>="2024-01-01T00:00:00.000Z" AND start_time<="2024-01-02T00:00:00.000Z" * `end_time IS NULL`

func (*ConferenceRecordsListCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ConferenceRecordsListCall) IfNoneMatch

func (c *ConferenceRecordsListCall) IfNoneMatch(entityTag string) *ConferenceRecordsListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ConferenceRecordsListCall) PageSize

PageSize sets the optional parameter "pageSize": Maximum number of conference records to return. The service might return fewer than this value. If unspecified, at most 25 conference records are returned. The maximum value is 100; values above 100 are coerced to 100. Maximum might change in the future.

func (*ConferenceRecordsListCall) PageToken

PageToken sets the optional parameter "pageToken": Page token returned from previous List Call.

func (*ConferenceRecordsListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ConferenceRecordsParticipantsGetCall

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

func (*ConferenceRecordsParticipantsGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ConferenceRecordsParticipantsGetCall) Do

Do executes the "meet.conferenceRecords.participants.get" call. Any non-2xx status code is an error. Response headers are in either *Participant.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConferenceRecordsParticipantsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ConferenceRecordsParticipantsGetCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ConferenceRecordsParticipantsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ConferenceRecordsParticipantsListCall

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

func (*ConferenceRecordsParticipantsListCall) Context

Context sets the context to be used in this call's Do method.

func (*ConferenceRecordsParticipantsListCall) Do

Do executes the "meet.conferenceRecords.participants.list" call. Any non-2xx status code is an error. Response headers are in either *ListParticipantsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConferenceRecordsParticipantsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ConferenceRecordsParticipantsListCall) Filter

Filter sets the optional parameter "filter": User specified filtering condition in EBNF format (https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form). The following are the filterable fields: * `earliest_start_time` * `latest_end_time` For example, `latest_end_time IS NULL` returns active participants in the conference.

func (*ConferenceRecordsParticipantsListCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ConferenceRecordsParticipantsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ConferenceRecordsParticipantsListCall) PageSize

PageSize sets the optional parameter "pageSize": Maximum number of participants to return. The service might return fewer than this value. If unspecified, at most 100 participants are returned. The maximum value is 250; values above 250 are coerced to 250. Maximum might change in the future.

func (*ConferenceRecordsParticipantsListCall) PageToken

PageToken sets the optional parameter "pageToken": Page token returned from previous List Call.

func (*ConferenceRecordsParticipantsListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ConferenceRecordsParticipantsParticipantSessionsGetCall

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

func (*ConferenceRecordsParticipantsParticipantSessionsGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ConferenceRecordsParticipantsParticipantSessionsGetCall) Do

Do executes the "meet.conferenceRecords.participants.participantSessions.get" call. Any non-2xx status code is an error. Response headers are in either *ParticipantSession.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConferenceRecordsParticipantsParticipantSessionsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ConferenceRecordsParticipantsParticipantSessionsGetCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ConferenceRecordsParticipantsParticipantSessionsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ConferenceRecordsParticipantsParticipantSessionsListCall

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

func (*ConferenceRecordsParticipantsParticipantSessionsListCall) Context

Context sets the context to be used in this call's Do method.

func (*ConferenceRecordsParticipantsParticipantSessionsListCall) Do

Do executes the "meet.conferenceRecords.participants.participantSessions.list" call. Any non-2xx status code is an error. Response headers are in either *ListParticipantSessionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConferenceRecordsParticipantsParticipantSessionsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ConferenceRecordsParticipantsParticipantSessionsListCall) Filter

Filter sets the optional parameter "filter": User specified filtering condition in EBNF format (https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form). The following are the filterable fields: * `start_time` * `end_time` For example, `end_time IS NULL` returns active participant sessions in the conference record.

func (*ConferenceRecordsParticipantsParticipantSessionsListCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ConferenceRecordsParticipantsParticipantSessionsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ConferenceRecordsParticipantsParticipantSessionsListCall) PageSize

PageSize sets the optional parameter "pageSize": Maximum number of participant sessions to return. The service might return fewer than this value. If unspecified, at most 100 participants are returned. The maximum value is 250; values above 250 are coerced to 250. Maximum might change in the future.

func (*ConferenceRecordsParticipantsParticipantSessionsListCall) PageToken

PageToken sets the optional parameter "pageToken": Page token returned from previous List Call.

func (*ConferenceRecordsParticipantsParticipantSessionsListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ConferenceRecordsParticipantsParticipantSessionsService

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

func (*ConferenceRecordsParticipantsParticipantSessionsService) Get

Get: Gets a participant session by participant session ID.

- name: Resource name of the participant.

func (*ConferenceRecordsParticipantsParticipantSessionsService) List

List: Lists the participant sessions of a participant in a conference record. By default, ordered by join time and in descending order. This API supports `fields` as standard parameters like every other API. However, when the `fields` request parameter is omitted this API defaults to `'participantsessions/*, next_page_token'`.

  • parent: Format: `conferenceRecords/{conference_record}/participants/{participant}`.

type ConferenceRecordsParticipantsService

type ConferenceRecordsParticipantsService struct {
	ParticipantSessions *ConferenceRecordsParticipantsParticipantSessionsService
	// contains filtered or unexported fields
}

func NewConferenceRecordsParticipantsService

func NewConferenceRecordsParticipantsService(s *Service) *ConferenceRecordsParticipantsService

func (*ConferenceRecordsParticipantsService) Get

Get: Gets a participant by participant ID.

- name: Resource name of the participant.

func (*ConferenceRecordsParticipantsService) List

List: Lists the participants in a conference record. By default, ordered by join time and in descending order. This API supports `fields` as standard parameters like every other API. However, when the `fields` request parameter is omitted, this API defaults to `'participants/*, next_page_token'`.

- parent: Format: `conferenceRecords/{conference_record}`.

type ConferenceRecordsRecordingsGetCall

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

func (*ConferenceRecordsRecordingsGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ConferenceRecordsRecordingsGetCall) Do

Do executes the "meet.conferenceRecords.recordings.get" call. Any non-2xx status code is an error. Response headers are in either *Recording.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConferenceRecordsRecordingsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ConferenceRecordsRecordingsGetCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ConferenceRecordsRecordingsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ConferenceRecordsRecordingsListCall

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

func (*ConferenceRecordsRecordingsListCall) Context

Context sets the context to be used in this call's Do method.

func (*ConferenceRecordsRecordingsListCall) Do

Do executes the "meet.conferenceRecords.recordings.list" call. Any non-2xx status code is an error. Response headers are in either *ListRecordingsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConferenceRecordsRecordingsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ConferenceRecordsRecordingsListCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ConferenceRecordsRecordingsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ConferenceRecordsRecordingsListCall) PageSize

PageSize sets the optional parameter "pageSize": Maximum number of recordings to return. The service might return fewer than this value. If unspecified, at most 10 recordings are returned. The maximum value is 100; values above 100 are coerced to 100. Maximum might change in the future.

func (*ConferenceRecordsRecordingsListCall) PageToken

PageToken sets the optional parameter "pageToken": Page token returned from previous List Call.

func (*ConferenceRecordsRecordingsListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ConferenceRecordsRecordingsService

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

func NewConferenceRecordsRecordingsService

func NewConferenceRecordsRecordingsService(s *Service) *ConferenceRecordsRecordingsService

func (*ConferenceRecordsRecordingsService) Get

Get: Gets a recording by recording ID.

- name: Resource name of the recording.

func (*ConferenceRecordsRecordingsService) List

List: Lists the recording resources from the conference record. By default, ordered by start time and in ascending order.

- parent: Format: `conferenceRecords/{conference_record}`.

type ConferenceRecordsService

type ConferenceRecordsService struct {
	Participants *ConferenceRecordsParticipantsService

	Recordings *ConferenceRecordsRecordingsService

	Transcripts *ConferenceRecordsTranscriptsService
	// contains filtered or unexported fields
}

func NewConferenceRecordsService

func NewConferenceRecordsService(s *Service) *ConferenceRecordsService

func (*ConferenceRecordsService) Get

Get: Gets a conference record by conference ID.

- name: Resource name of the conference.

func (*ConferenceRecordsService) List

List: Lists the conference records. By default, ordered by start time and in descending order.

type ConferenceRecordsTranscriptsEntriesGetCall

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

func (*ConferenceRecordsTranscriptsEntriesGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ConferenceRecordsTranscriptsEntriesGetCall) Do

Do executes the "meet.conferenceRecords.transcripts.entries.get" call. Any non-2xx status code is an error. Response headers are in either *TranscriptEntry.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConferenceRecordsTranscriptsEntriesGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ConferenceRecordsTranscriptsEntriesGetCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ConferenceRecordsTranscriptsEntriesGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ConferenceRecordsTranscriptsEntriesListCall

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

func (*ConferenceRecordsTranscriptsEntriesListCall) Context

Context sets the context to be used in this call's Do method.

func (*ConferenceRecordsTranscriptsEntriesListCall) Do

Do executes the "meet.conferenceRecords.transcripts.entries.list" call. Any non-2xx status code is an error. Response headers are in either *ListTranscriptEntriesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConferenceRecordsTranscriptsEntriesListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ConferenceRecordsTranscriptsEntriesListCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ConferenceRecordsTranscriptsEntriesListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ConferenceRecordsTranscriptsEntriesListCall) PageSize

PageSize sets the optional parameter "pageSize": Maximum number of entries to return. The service might return fewer than this value. If unspecified, at most 10 entries are returned. The maximum value is 100; values above 100 are coerced to 100. Maximum might change in the future.

func (*ConferenceRecordsTranscriptsEntriesListCall) PageToken

PageToken sets the optional parameter "pageToken": Page token returned from previous List Call.

func (*ConferenceRecordsTranscriptsEntriesListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ConferenceRecordsTranscriptsEntriesService

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

func NewConferenceRecordsTranscriptsEntriesService

func NewConferenceRecordsTranscriptsEntriesService(s *Service) *ConferenceRecordsTranscriptsEntriesService

func (*ConferenceRecordsTranscriptsEntriesService) Get

Get: Gets a `TranscriptEntry` resource by entry ID. Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation.

- name: Resource name of the `TranscriptEntry`.

func (*ConferenceRecordsTranscriptsEntriesService) List

List: Lists the structured transcript entries per transcript. By default, ordered by start time and in ascending order. Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation.

  • parent: Format: `conferenceRecords/{conference_record}/transcripts/{transcript}`.

type ConferenceRecordsTranscriptsGetCall

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

func (*ConferenceRecordsTranscriptsGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ConferenceRecordsTranscriptsGetCall) Do

Do executes the "meet.conferenceRecords.transcripts.get" call. Any non-2xx status code is an error. Response headers are in either *Transcript.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConferenceRecordsTranscriptsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ConferenceRecordsTranscriptsGetCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ConferenceRecordsTranscriptsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ConferenceRecordsTranscriptsListCall

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

func (*ConferenceRecordsTranscriptsListCall) Context

Context sets the context to be used in this call's Do method.

func (*ConferenceRecordsTranscriptsListCall) Do

Do executes the "meet.conferenceRecords.transcripts.list" call. Any non-2xx status code is an error. Response headers are in either *ListTranscriptsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ConferenceRecordsTranscriptsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ConferenceRecordsTranscriptsListCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ConferenceRecordsTranscriptsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ConferenceRecordsTranscriptsListCall) PageSize

PageSize sets the optional parameter "pageSize": Maximum number of transcripts to return. The service might return fewer than this value. If unspecified, at most 10 transcripts are returned. The maximum value is 100; values above 100 are coerced to 100. Maximum might change in the future.

func (*ConferenceRecordsTranscriptsListCall) PageToken

PageToken sets the optional parameter "pageToken": Page token returned from previous List Call.

func (*ConferenceRecordsTranscriptsListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ConferenceRecordsTranscriptsService

type ConferenceRecordsTranscriptsService struct {
	Entries *ConferenceRecordsTranscriptsEntriesService
	// contains filtered or unexported fields
}

func NewConferenceRecordsTranscriptsService

func NewConferenceRecordsTranscriptsService(s *Service) *ConferenceRecordsTranscriptsService

func (*ConferenceRecordsTranscriptsService) Get

Get: Gets a transcript by transcript ID.

- name: Resource name of the transcript.

func (*ConferenceRecordsTranscriptsService) List

List: Lists the set of transcripts from the conference record. By default, ordered by start time and in ascending order.

- parent: Format: `conferenceRecords/{conference_record}`.

type DocsDestination

type DocsDestination struct {
	// Document: Output only. The document ID for the underlying Google Docs
	// transcript file. For example, "1kuceFZohVoCh6FulBHxwy6I15Ogpc4hP". Use the
	// `documents.get` method of the Google Docs API
	// (https://developers.google.com/docs/api/reference/rest/v1/documents/get) to
	// fetch the content.
	Document string `json:"document,omitempty"`
	// ExportUri: Output only. URI for the Google Docs transcript file. Use
	// `https://docs.google.com/document/d/{$DocumentId}/view` to browse the
	// transcript in the browser.
	ExportUri string `json:"exportUri,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Document") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Document") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

DocsDestination: Google Docs location where the transcript file is saved.

func (DocsDestination) MarshalJSON

func (s DocsDestination) MarshalJSON() ([]byte, error)

type DriveDestination

type DriveDestination struct {
	// ExportUri: Output only. Link used to play back the recording file in the
	// browser. For example, `https://drive.google.com/file/d/{$fileId}/view`.
	ExportUri string `json:"exportUri,omitempty"`
	// File: Output only. The `fileId` for the underlying MP4 file. For example,
	// "1kuceFZohVoCh6FulBHxwy6I15Ogpc4hP". Use `$ GET
	// https://www.googleapis.com/drive/v3/files/{$fileId}?alt=media` to download
	// the blob. For more information, see
	// https://developers.google.com/drive/api/v3/reference/files/get.
	File string `json:"file,omitempty"`
	// ForceSendFields is a list of field names (e.g. "ExportUri") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ExportUri") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

DriveDestination: Export location where a recording file is saved in Google Drive.

func (DriveDestination) MarshalJSON

func (s DriveDestination) MarshalJSON() ([]byte, error)

type Empty

type Empty struct {
	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
}

Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

type EndActiveConferenceRequest

type EndActiveConferenceRequest struct {
}

EndActiveConferenceRequest: Request to end an ongoing conference of a space.

type ListConferenceRecordsResponse

type ListConferenceRecordsResponse struct {
	// ConferenceRecords: List of conferences in one page.
	ConferenceRecords []*ConferenceRecord `json:"conferenceRecords,omitempty"`
	// NextPageToken: Token to be circulated back for further List call if current
	// List does NOT include all the Conferences. Unset if all conferences have
	// been returned.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "ConferenceRecords") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ConferenceRecords") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListConferenceRecordsResponse: Response of ListConferenceRecords method.

func (ListConferenceRecordsResponse) MarshalJSON

func (s ListConferenceRecordsResponse) MarshalJSON() ([]byte, error)

type ListParticipantSessionsResponse

type ListParticipantSessionsResponse struct {
	// NextPageToken: Token to be circulated back for further List call if current
	// List doesn't include all the participants. Unset if all participants are
	// returned.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// ParticipantSessions: List of participants in one page.
	ParticipantSessions []*ParticipantSession `json:"participantSessions,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListParticipantSessionsResponse: Response of ListParticipants method.

func (ListParticipantSessionsResponse) MarshalJSON

func (s ListParticipantSessionsResponse) MarshalJSON() ([]byte, error)

type ListParticipantsResponse

type ListParticipantsResponse struct {
	// NextPageToken: Token to be circulated back for further List call if current
	// List doesn't include all the participants. Unset if all participants are
	// returned.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Participants: List of participants in one page.
	Participants []*Participant `json:"participants,omitempty"`
	// TotalSize: Total, exact number of `participants`. By default, this field
	// isn't included in the response. Set the field mask in SystemParameterContext
	// (https://cloud.google.com/apis/docs/system-parameters) to receive this field
	// in the response.
	TotalSize int64 `json:"totalSize,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListParticipantsResponse: Response of ListParticipants method.

func (ListParticipantsResponse) MarshalJSON

func (s ListParticipantsResponse) MarshalJSON() ([]byte, error)

type ListRecordingsResponse

type ListRecordingsResponse struct {
	// NextPageToken: Token to be circulated back for further List call if current
	// List doesn't include all the recordings. Unset if all recordings are
	// returned.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Recordings: List of recordings in one page.
	Recordings []*Recording `json:"recordings,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListRecordingsResponse: Response for ListRecordings method.

func (ListRecordingsResponse) MarshalJSON

func (s ListRecordingsResponse) MarshalJSON() ([]byte, error)

type ListTranscriptEntriesResponse

type ListTranscriptEntriesResponse struct {
	// NextPageToken: Token to be circulated back for further List call if current
	// List doesn't include all the transcript entries. Unset if all entries are
	// returned.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// TranscriptEntries: List of TranscriptEntries in one page.
	TranscriptEntries []*TranscriptEntry `json:"transcriptEntries,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListTranscriptEntriesResponse: Response for ListTranscriptEntries method.

func (ListTranscriptEntriesResponse) MarshalJSON

func (s ListTranscriptEntriesResponse) MarshalJSON() ([]byte, error)

type ListTranscriptsResponse

type ListTranscriptsResponse struct {
	// NextPageToken: Token to be circulated back for further List call if current
	// List doesn't include all the transcripts. Unset if all transcripts are
	// returned.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Transcripts: List of transcripts in one page.
	Transcripts []*Transcript `json:"transcripts,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListTranscriptsResponse: Response for ListTranscripts method.

func (ListTranscriptsResponse) MarshalJSON

func (s ListTranscriptsResponse) MarshalJSON() ([]byte, error)

type Participant

type Participant struct {
	// AnonymousUser: Anonymous user.
	AnonymousUser *AnonymousUser `json:"anonymousUser,omitempty"`
	// EarliestStartTime: Output only. Time when the participant first joined the
	// meeting.
	EarliestStartTime string `json:"earliestStartTime,omitempty"`
	// LatestEndTime: Output only. Time when the participant left the meeting for
	// the last time. This can be null if it's an active meeting.
	LatestEndTime string `json:"latestEndTime,omitempty"`
	// Name: Output only. Resource name of the participant. Format:
	// `conferenceRecords/{conference_record}/participants/{participant}`
	Name string `json:"name,omitempty"`
	// PhoneUser: User calling from their phone.
	PhoneUser *PhoneUser `json:"phoneUser,omitempty"`
	// SignedinUser: Signed-in user.
	SignedinUser *SignedinUser `json:"signedinUser,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AnonymousUser") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AnonymousUser") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Participant: User who attended or is attending a conference.

func (Participant) MarshalJSON

func (s Participant) MarshalJSON() ([]byte, error)

type ParticipantSession

type ParticipantSession struct {
	// EndTime: Output only. Timestamp when the user session ends. Unset if the
	// user session hasn’t ended.
	EndTime string `json:"endTime,omitempty"`
	// Name: Identifier. Session id.
	Name string `json:"name,omitempty"`
	// StartTime: Output only. Timestamp when the user session starts.
	StartTime string `json:"startTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "EndTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ParticipantSession: Refers to each unique join or leave session when a user joins a conference from a device. Note that any time a user joins the conference a new unique ID is assigned. That means if a user joins a space multiple times from the same device, they're assigned different IDs, and are also be treated as different participant sessions.

func (ParticipantSession) MarshalJSON

func (s ParticipantSession) MarshalJSON() ([]byte, error)

type PhoneUser

type PhoneUser struct {
	// DisplayName: Output only. Partially redacted user's phone number when
	// calling.
	DisplayName string `json:"displayName,omitempty"`
	// ForceSendFields is a list of field names (e.g. "DisplayName") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DisplayName") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

PhoneUser: User dialing in from a phone where the user's identity is unknown because they haven't signed in with a Google Account.

func (PhoneUser) MarshalJSON

func (s PhoneUser) MarshalJSON() ([]byte, error)

type Recording

type Recording struct {
	// DriveDestination: Output only. Recording is saved to Google Drive as an MP4
	// file. The `drive_destination` includes the Drive `fileId` that can be used
	// to download the file using the `files.get` method of the Drive API.
	DriveDestination *DriveDestination `json:"driveDestination,omitempty"`
	// EndTime: Output only. Timestamp when the recording ended.
	EndTime string `json:"endTime,omitempty"`
	// Name: Output only. Resource name of the recording. Format:
	// `conferenceRecords/{conference_record}/recordings/{recording}` where
	// `{recording}` is a 1:1 mapping to each unique recording session during the
	// conference.
	Name string `json:"name,omitempty"`
	// StartTime: Output only. Timestamp when the recording started.
	StartTime string `json:"startTime,omitempty"`
	// State: Output only. Current state.
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - Default, never used.
	//   "STARTED" - An active recording session has started.
	//   "ENDED" - This recording session has ended, but the recording file hasn't
	// been generated yet.
	//   "FILE_GENERATED" - Recording file is generated and ready to download.
	State string `json:"state,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "DriveDestination") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DriveDestination") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Recording: Metadata about a recording created during a conference.

func (Recording) MarshalJSON

func (s Recording) MarshalJSON() ([]byte, error)

type Service

type Service struct {
	BasePath  string // API endpoint base URL
	UserAgent string // optional additional User-Agent fragment

	ConferenceRecords *ConferenceRecordsService

	Spaces *SpacesService
	// contains filtered or unexported fields
}

func New deprecated

func New(client *http.Client) (*Service, error)

New creates a new Service. It uses the provided http.Client for requests.

Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

func NewService

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.

type SignedinUser

type SignedinUser struct {
	// DisplayName: Output only. For a personal device, it's the user's first name
	// and last name. For a robot account, it's the administrator-specified device
	// name. For example, "Altostrat Room".
	DisplayName string `json:"displayName,omitempty"`
	// User: Output only. Unique ID for the user. Interoperable with Admin SDK API
	// and People API. Format: `users/{user}`
	User string `json:"user,omitempty"`
	// ForceSendFields is a list of field names (e.g. "DisplayName") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DisplayName") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

SignedinUser: A signed-in user can be: a) An individual joining from a personal computer, mobile device, or through companion mode. b) A robot account used by conference room devices.

func (SignedinUser) MarshalJSON

func (s SignedinUser) MarshalJSON() ([]byte, error)

type Space

type Space struct {
	// ActiveConference: Active conference, if it exists.
	ActiveConference *ActiveConference `json:"activeConference,omitempty"`
	// Config: Configuration pertaining to the meeting space.
	Config *SpaceConfig `json:"config,omitempty"`
	// MeetingCode: Output only. Type friendly unique string used to join the
	// meeting. Format: `[a-z]+-[a-z]+-[a-z]+`. For example, `abc-mnop-xyz`. The
	// maximum length is 128 characters. Can only be used as an alias of the space
	// name to get the space.
	MeetingCode string `json:"meetingCode,omitempty"`
	// MeetingUri: Output only. URI used to join meetings consisting of
	// `https://meet.google.com/` followed by the `meeting_code`. For example,
	// `https://meet.google.com/abc-mnop-xyz`.
	MeetingUri string `json:"meetingUri,omitempty"`
	// Name: Immutable. Resource name of the space. Format: `spaces/{space}`.
	// `{space}` is the resource identifier for the space. It's a unique,
	// server-generated ID and is case sensitive. For example, `jQCFfuBOdN5z`. For
	// more information, see How Meet identifies a meeting space
	// (https://developers.google.com/meet/api/guides/meeting-spaces#identify-meeting-space).
	Name string `json:"name,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "ActiveConference") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ActiveConference") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Space: Virtual place where conferences are held. Only one active conference can be held in one space at any given time.

func (Space) MarshalJSON

func (s Space) MarshalJSON() ([]byte, error)

type SpaceConfig

type SpaceConfig struct {
	// AccessType: Access type of the meeting space that determines who can join
	// without knocking. Default: The user's default access settings. Controlled by
	// the user's admin for enterprise users or RESTRICTED.
	//
	// Possible values:
	//   "ACCESS_TYPE_UNSPECIFIED" - Default value specified by the user's
	// organization. Note: This is never returned, as the configured access type is
	// returned instead.
	//   "OPEN" - Anyone with the join information (for example, the URL or phone
	// access information) can join without knocking.
	//   "TRUSTED" - Members of the host's organization, invited external users,
	// and dial-in users can join without knocking. Everyone else must knock.
	//   "RESTRICTED" - Only invitees can join without knocking. Everyone else must
	// knock.
	AccessType string `json:"accessType,omitempty"`
	// EntryPointAccess: Defines the entry points that can be used to join meetings
	// hosted in this meeting space. Default: EntryPointAccess.ALL
	//
	// Possible values:
	//   "ENTRY_POINT_ACCESS_UNSPECIFIED" - Unused.
	//   "ALL" - All entry points are allowed.
	//   "CREATOR_APP_ONLY" - Only entry points owned by the Google Cloud project
	// that created the space can be used to join meetings in this space. Apps can
	// use the Meet Embed SDK Web or mobile Meet SDKs to create owned entry points.
	EntryPointAccess string `json:"entryPointAccess,omitempty"`
	// ForceSendFields is a list of field names (e.g. "AccessType") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccessType") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

SpaceConfig: The configuration pertaining to a meeting space.

func (SpaceConfig) MarshalJSON

func (s SpaceConfig) MarshalJSON() ([]byte, error)

type SpacesCreateCall

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

func (*SpacesCreateCall) Context

Context sets the context to be used in this call's Do method.

func (*SpacesCreateCall) Do

func (c *SpacesCreateCall) Do(opts ...googleapi.CallOption) (*Space, error)

Do executes the "meet.spaces.create" call. Any non-2xx status code is an error. Response headers are in either *Space.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*SpacesCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*SpacesCreateCall) Header

func (c *SpacesCreateCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type SpacesEndActiveConferenceCall

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

func (*SpacesEndActiveConferenceCall) Context

Context sets the context to be used in this call's Do method.

func (*SpacesEndActiveConferenceCall) Do

Do executes the "meet.spaces.endActiveConference" call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*SpacesEndActiveConferenceCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*SpacesEndActiveConferenceCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type SpacesGetCall

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

func (*SpacesGetCall) Context

func (c *SpacesGetCall) Context(ctx context.Context) *SpacesGetCall

Context sets the context to be used in this call's Do method.

func (*SpacesGetCall) Do

func (c *SpacesGetCall) Do(opts ...googleapi.CallOption) (*Space, error)

Do executes the "meet.spaces.get" call. Any non-2xx status code is an error. Response headers are in either *Space.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*SpacesGetCall) Fields

func (c *SpacesGetCall) Fields(s ...googleapi.Field) *SpacesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*SpacesGetCall) Header

func (c *SpacesGetCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*SpacesGetCall) IfNoneMatch

func (c *SpacesGetCall) IfNoneMatch(entityTag string) *SpacesGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type SpacesPatchCall

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

func (*SpacesPatchCall) Context

Context sets the context to be used in this call's Do method.

func (*SpacesPatchCall) Do

func (c *SpacesPatchCall) Do(opts ...googleapi.CallOption) (*Space, error)

Do executes the "meet.spaces.patch" call. Any non-2xx status code is an error. Response headers are in either *Space.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*SpacesPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*SpacesPatchCall) Header

func (c *SpacesPatchCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*SpacesPatchCall) UpdateMask

func (c *SpacesPatchCall) UpdateMask(updateMask string) *SpacesPatchCall

UpdateMask sets the optional parameter "updateMask": Field mask used to specify the fields to be updated in the space. If update_mask isn't provided(not set, set with empty paths, or only has "" as paths), it defaults to update all fields provided with values in the request. Using "*" as update_mask will update all fields, including deleting fields not set in the request.

type SpacesService

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

func NewSpacesService

func NewSpacesService(s *Service) *SpacesService

func (*SpacesService) Create

func (r *SpacesService) Create(space *Space) *SpacesCreateCall

Create: Creates a space.

func (*SpacesService) EndActiveConference

func (r *SpacesService) EndActiveConference(nameid string, endactiveconferencerequest *EndActiveConferenceRequest) *SpacesEndActiveConferenceCall

EndActiveConference: Ends an active conference (if there's one). For an example, see End active conference (https://developers.google.com/meet/api/guides/meeting-spaces#end-active-conference).

func (*SpacesService) Get

func (r *SpacesService) Get(nameid string) *SpacesGetCall

Get: Gets details about a meeting space. For an example, see Get a meeting space (https://developers.google.com/meet/api/guides/meeting-spaces#get-meeting-space).

  • name: Resource name of the space. Format: `spaces/{space}` or `spaces/{meetingCode}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, `jQCFfuBOdN5z`. `{meetingCode}` is an alias for the space. It's a typeable, unique character string and is non-case sensitive. For example, `abc-mnop-xyz`. The maximum length is 128 characters. A `meetingCode` shouldn't be stored long term as it can become dissociated from a meeting space and can be reused for different meeting spaces in the future. Generally, a `meetingCode` expires 365 days after last use. For more information, see Learn about meeting codes in Google Meet (https://support.google.com/meet/answer/10710509). For more information, see How Meet identifies a meeting space (https://developers.google.com/meet/api/guides/meeting-spaces#identify-meeting-space).

func (*SpacesService) Patch

func (r *SpacesService) Patch(nameid string, space *Space) *SpacesPatchCall

Patch: Updates details about a meeting space. For an example, see Update a meeting space (https://developers.google.com/meet/api/guides/meeting-spaces#update-meeting-space).

type Transcript

type Transcript struct {
	// DocsDestination: Output only. Where the Google Docs transcript is saved.
	DocsDestination *DocsDestination `json:"docsDestination,omitempty"`
	// EndTime: Output only. Timestamp when the transcript stopped.
	EndTime string `json:"endTime,omitempty"`
	// Name: Output only. Resource name of the transcript. Format:
	// `conferenceRecords/{conference_record}/transcripts/{transcript}`, where
	// `{transcript}` is a 1:1 mapping to each unique transcription session of the
	// conference.
	Name string `json:"name,omitempty"`
	// StartTime: Output only. Timestamp when the transcript started.
	StartTime string `json:"startTime,omitempty"`
	// State: Output only. Current state.
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - Default, never used.
	//   "STARTED" - An active transcript session has started.
	//   "ENDED" - This transcript session has ended, but the transcript file
	// hasn't been generated yet.
	//   "FILE_GENERATED" - Transcript file is generated and ready to download.
	State string `json:"state,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "DocsDestination") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DocsDestination") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Transcript: Metadata for a transcript generated from a conference. It refers to the ASR (Automatic Speech Recognition) result of user's speech during the conference.

func (Transcript) MarshalJSON

func (s Transcript) MarshalJSON() ([]byte, error)

type TranscriptEntry

type TranscriptEntry struct {
	// EndTime: Output only. Timestamp when the transcript entry ended.
	EndTime string `json:"endTime,omitempty"`
	// LanguageCode: Output only. Language of spoken text, such as "en-US". IETF
	// BCP 47 syntax (https://tools.ietf.org/html/bcp47)
	LanguageCode string `json:"languageCode,omitempty"`
	// Name: Output only. Resource name of the entry. Format:
	// "conferenceRecords/{conference_record}/transcripts/{transcript}/entries/{entr
	// y}"
	Name string `json:"name,omitempty"`
	// Participant: Output only. Refers to the participant who speaks.
	Participant string `json:"participant,omitempty"`
	// StartTime: Output only. Timestamp when the transcript entry started.
	StartTime string `json:"startTime,omitempty"`
	// Text: Output only. The transcribed text of the participant's voice, at
	// maximum 10K words. Note that the limit is subject to change.
	Text string `json:"text,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "EndTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

TranscriptEntry: Single entry for one user’s speech during a transcript session.

func (TranscriptEntry) MarshalJSON

func (s TranscriptEntry) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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