Skip to content

Commit 8ef23e7

Browse files
feat: Automated regeneration of Meet client (#13298)
Auto-created at 2025-04-09 13:15:08 +0000 using the toys pull request generator.
1 parent 5cf6c4f commit 8ef23e7

File tree

11 files changed

+268
-11
lines changed

11 files changed

+268
-11
lines changed

clients/meet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ end
1717

1818
## For more information
1919

20-
Product documentation is available at [https://developers.google.com/meet/api](https://developers.google.com/meet/api).
20+
Product documentation is available at [https://developers.google.com/workspace/meet/api](https://developers.google.com/workspace/meet/api).
2121

2222
Library reference documentation is published on Hexdocs at
2323
[https://hexdocs.pm/google_api_meet](https://hexdocs.pm/google_api_meet).

clients/meet/lib/google_api/meet/v2/api/spaces.ex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ defmodule GoogleApi.Meet.V2.Api.Spaces do
8585
end
8686

8787
@doc """
88-
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).
88+
Ends an active conference (if there's one). For an example, see [End active conference](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#end-active-conference).
8989
9090
## Parameters
9191
9292
* `connection` (*type:* `GoogleApi.Meet.V2.Connection.t`) - Connection to server
93-
* `name` (*type:* `String.t`) - Required. 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).
93+
* `name` (*type:* `String.t`) - Required. 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/workspace/meet/api/guides/meeting-spaces#identify-meeting-space).
9494
* `optional_params` (*type:* `keyword()`) - Optional parameters
9595
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
9696
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -147,12 +147,12 @@ defmodule GoogleApi.Meet.V2.Api.Spaces do
147147
end
148148

149149
@doc """
150-
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).
150+
Gets details about a meeting space. For an example, see [Get a meeting space](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#get-meeting-space).
151151
152152
## Parameters
153153
154154
* `connection` (*type:* `GoogleApi.Meet.V2.Connection.t`) - Connection to server
155-
* `name` (*type:* `String.t`) - Required. 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).
155+
* `name` (*type:* `String.t`) - Required. 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/workspace/meet/api/guides/meeting-spaces#identify-meeting-space).
156156
* `optional_params` (*type:* `keyword()`) - Optional parameters
157157
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
158158
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -207,12 +207,12 @@ defmodule GoogleApi.Meet.V2.Api.Spaces do
207207
end
208208

209209
@doc """
210-
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).
210+
Updates details about a meeting space. For an example, see [Update a meeting space](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#update-meeting-space).
211211
212212
## Parameters
213213
214214
* `connection` (*type:* `GoogleApi.Meet.V2.Connection.t`) - Connection to server
215-
* `name` (*type:* `String.t`) - 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).
215+
* `name` (*type:* `String.t`) - 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/workspace/meet/api/guides/meeting-spaces#identify-meeting-space).
216216
* `optional_params` (*type:* `keyword()`) - Optional parameters
217217
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
218218
* `:access_token` (*type:* `String.t`) - OAuth access token.

clients/meet/lib/google_api/meet/v2/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Meet.V2 do
2020
API client metadata for GoogleApi.Meet.V2.
2121
"""
2222

23-
@discovery_revision "20250320"
23+
@discovery_revision "20250406"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.Meet.V2.Model.ArtifactConfig do
19+
@moduledoc """
20+
Configuration related to meeting artifacts potentially generated by this meeting space.
21+
22+
## Attributes
23+
24+
* `recordingConfig` (*type:* `GoogleApi.Meet.V2.Model.RecordingConfig.t`, *default:* `nil`) - Configuration for recording.
25+
* `smartNotesConfig` (*type:* `GoogleApi.Meet.V2.Model.SmartNotesConfig.t`, *default:* `nil`) - Configuration for auto-smart-notes.
26+
* `transcriptionConfig` (*type:* `GoogleApi.Meet.V2.Model.TranscriptionConfig.t`, *default:* `nil`) - Configuration for auto-transcript.
27+
"""
28+
29+
use GoogleApi.Gax.ModelBase
30+
31+
@type t :: %__MODULE__{
32+
:recordingConfig => GoogleApi.Meet.V2.Model.RecordingConfig.t() | nil,
33+
:smartNotesConfig => GoogleApi.Meet.V2.Model.SmartNotesConfig.t() | nil,
34+
:transcriptionConfig => GoogleApi.Meet.V2.Model.TranscriptionConfig.t() | nil
35+
}
36+
37+
field(:recordingConfig, as: GoogleApi.Meet.V2.Model.RecordingConfig)
38+
field(:smartNotesConfig, as: GoogleApi.Meet.V2.Model.SmartNotesConfig)
39+
field(:transcriptionConfig, as: GoogleApi.Meet.V2.Model.TranscriptionConfig)
40+
end
41+
42+
defimpl Poison.Decoder, for: GoogleApi.Meet.V2.Model.ArtifactConfig do
43+
def decode(value, options) do
44+
GoogleApi.Meet.V2.Model.ArtifactConfig.decode(value, options)
45+
end
46+
end
47+
48+
defimpl Poison.Encoder, for: GoogleApi.Meet.V2.Model.ArtifactConfig do
49+
def encode(value, options) do
50+
GoogleApi.Gax.ModelBase.encode(value, options)
51+
end
52+
end
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.Meet.V2.Model.ModerationRestrictions do
19+
@moduledoc """
20+
Defines restrictions for features when the meeting is moderated.
21+
22+
## Attributes
23+
24+
* `chatRestriction` (*type:* `String.t`, *default:* `nil`) - Defines who has permission to send chat messages in the meeting space.
25+
* `defaultJoinAsViewerType` (*type:* `String.t`, *default:* `nil`) - Defines whether to restrict the default role assigned to users as viewer.
26+
* `presentRestriction` (*type:* `String.t`, *default:* `nil`) - Defines who has permission to share their screen in the meeting space.
27+
* `reactionRestriction` (*type:* `String.t`, *default:* `nil`) - Defines who has permission to send reactions in the meeting space.
28+
"""
29+
30+
use GoogleApi.Gax.ModelBase
31+
32+
@type t :: %__MODULE__{
33+
:chatRestriction => String.t() | nil,
34+
:defaultJoinAsViewerType => String.t() | nil,
35+
:presentRestriction => String.t() | nil,
36+
:reactionRestriction => String.t() | nil
37+
}
38+
39+
field(:chatRestriction)
40+
field(:defaultJoinAsViewerType)
41+
field(:presentRestriction)
42+
field(:reactionRestriction)
43+
end
44+
45+
defimpl Poison.Decoder, for: GoogleApi.Meet.V2.Model.ModerationRestrictions do
46+
def decode(value, options) do
47+
GoogleApi.Meet.V2.Model.ModerationRestrictions.decode(value, options)
48+
end
49+
end
50+
51+
defimpl Poison.Encoder, for: GoogleApi.Meet.V2.Model.ModerationRestrictions do
52+
def encode(value, options) do
53+
GoogleApi.Gax.ModelBase.encode(value, options)
54+
end
55+
end
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.Meet.V2.Model.RecordingConfig do
19+
@moduledoc """
20+
Configuration related to recording in a meeting space.
21+
22+
## Attributes
23+
24+
* `autoRecordingGeneration` (*type:* `String.t`, *default:* `nil`) - Defines whether a meeting space is automatically recorded when someone with the privilege to record joins the meeting.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:autoRecordingGeneration => String.t() | nil
31+
}
32+
33+
field(:autoRecordingGeneration)
34+
end
35+
36+
defimpl Poison.Decoder, for: GoogleApi.Meet.V2.Model.RecordingConfig do
37+
def decode(value, options) do
38+
GoogleApi.Meet.V2.Model.RecordingConfig.decode(value, options)
39+
end
40+
end
41+
42+
defimpl Poison.Encoder, for: GoogleApi.Meet.V2.Model.RecordingConfig do
43+
def encode(value, options) do
44+
GoogleApi.Gax.ModelBase.encode(value, options)
45+
end
46+
end
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.Meet.V2.Model.SmartNotesConfig do
19+
@moduledoc """
20+
Configuration related to smart notes in a meeting space. More details about smart notes https://support.google.com/meet/answer/14754931?hl=en.
21+
22+
## Attributes
23+
24+
* `autoSmartNotesGeneration` (*type:* `String.t`, *default:* `nil`) - Defines whether to automatically generate a summary and recap of the meeting for all invitees in the organization when someone with the privilege to enable smart notes joins the meeting.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:autoSmartNotesGeneration => String.t() | nil
31+
}
32+
33+
field(:autoSmartNotesGeneration)
34+
end
35+
36+
defimpl Poison.Decoder, for: GoogleApi.Meet.V2.Model.SmartNotesConfig do
37+
def decode(value, options) do
38+
GoogleApi.Meet.V2.Model.SmartNotesConfig.decode(value, options)
39+
end
40+
end
41+
42+
defimpl Poison.Encoder, for: GoogleApi.Meet.V2.Model.SmartNotesConfig do
43+
def encode(value, options) do
44+
GoogleApi.Gax.ModelBase.encode(value, options)
45+
end
46+
end

clients/meet/lib/google_api/meet/v2/model/space.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule GoogleApi.Meet.V2.Model.Space do
2525
* `config` (*type:* `GoogleApi.Meet.V2.Model.SpaceConfig.t`, *default:* `nil`) - Configuration pertaining to the meeting space.
2626
* `meetingCode` (*type:* `String.t`, *default:* `nil`) - 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.
2727
* `meetingUri` (*type:* `String.t`, *default:* `nil`) - 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`.
28-
* `name` (*type:* `String.t`, *default:* `nil`) - 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).
28+
* `name` (*type:* `String.t`, *default:* `nil`) - 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/workspace/meet/api/guides/meeting-spaces#identify-meeting-space).
2929
"""
3030

3131
use GoogleApi.Gax.ModelBase

clients/meet/lib/google_api/meet/v2/model/space_config.ex

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,30 @@ defmodule GoogleApi.Meet.V2.Model.SpaceConfig do
2222
## Attributes
2323
2424
* `accessType` (*type:* `String.t`, *default:* `nil`) - 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.
25+
* `artifactConfig` (*type:* `GoogleApi.Meet.V2.Model.ArtifactConfig.t`, *default:* `nil`) - [Developer Preview](https://developers.google.com/workspace/preview): Configuration pertaining to the auto-generated artifacts that the meeting supports.
26+
* `attendanceReportGenerationType` (*type:* `String.t`, *default:* `nil`) - [Developer Preview](https://developers.google.com/workspace/preview): Whether attendance report is enabled for the meeting space.
2527
* `entryPointAccess` (*type:* `String.t`, *default:* `nil`) - Defines the entry points that can be used to join meetings hosted in this meeting space. Default: EntryPointAccess.ALL
28+
* `moderation` (*type:* `String.t`, *default:* `nil`) - [Developer Preview](https://developers.google.com/workspace/preview): The pre-configured moderation mode for the Meeting. Default: Controlled by the user's policies.
29+
* `moderationRestrictions` (*type:* `GoogleApi.Meet.V2.Model.ModerationRestrictions.t`, *default:* `nil`) - [Developer Preview](https://developers.google.com/workspace/preview): When moderation.ON, these restrictions go into effect for the meeting. When moderation.OFF, will be reset to default ModerationRestrictions.
2630
"""
2731

2832
use GoogleApi.Gax.ModelBase
2933

3034
@type t :: %__MODULE__{
3135
:accessType => String.t() | nil,
32-
:entryPointAccess => String.t() | nil
36+
:artifactConfig => GoogleApi.Meet.V2.Model.ArtifactConfig.t() | nil,
37+
:attendanceReportGenerationType => String.t() | nil,
38+
:entryPointAccess => String.t() | nil,
39+
:moderation => String.t() | nil,
40+
:moderationRestrictions => GoogleApi.Meet.V2.Model.ModerationRestrictions.t() | nil
3341
}
3442

3543
field(:accessType)
44+
field(:artifactConfig, as: GoogleApi.Meet.V2.Model.ArtifactConfig)
45+
field(:attendanceReportGenerationType)
3646
field(:entryPointAccess)
47+
field(:moderation)
48+
field(:moderationRestrictions, as: GoogleApi.Meet.V2.Model.ModerationRestrictions)
3749
end
3850

3951
defimpl Poison.Decoder, for: GoogleApi.Meet.V2.Model.SpaceConfig do
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.Meet.V2.Model.TranscriptionConfig do
19+
@moduledoc """
20+
Configuration related to transcription in a meeting space.
21+
22+
## Attributes
23+
24+
* `autoTranscriptionGeneration` (*type:* `String.t`, *default:* `nil`) - Defines whether the content of a meeting is automatically transcribed when someone with the privilege to transcribe joins the meeting.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:autoTranscriptionGeneration => String.t() | nil
31+
}
32+
33+
field(:autoTranscriptionGeneration)
34+
end
35+
36+
defimpl Poison.Decoder, for: GoogleApi.Meet.V2.Model.TranscriptionConfig do
37+
def decode(value, options) do
38+
GoogleApi.Meet.V2.Model.TranscriptionConfig.decode(value, options)
39+
end
40+
end
41+
42+
defimpl Poison.Encoder, for: GoogleApi.Meet.V2.Model.TranscriptionConfig do
43+
def encode(value, options) do
44+
GoogleApi.Gax.ModelBase.encode(value, options)
45+
end
46+
end

0 commit comments

Comments
 (0)