google-apps-meet-v2 0.a → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +144 -8
  5. data/lib/google/apps/meet/v2/conference_records_service/client.rb +1612 -0
  6. data/lib/google/apps/meet/v2/conference_records_service/credentials.rb +48 -0
  7. data/lib/google/apps/meet/v2/conference_records_service/paths.rb +136 -0
  8. data/lib/google/apps/meet/v2/conference_records_service/rest/client.rb +1510 -0
  9. data/lib/google/apps/meet/v2/conference_records_service/rest/service_stub.rb +775 -0
  10. data/lib/google/apps/meet/v2/conference_records_service/rest.rb +52 -0
  11. data/lib/google/apps/meet/v2/conference_records_service.rb +55 -0
  12. data/lib/google/apps/meet/v2/resource_pb.rb +64 -0
  13. data/lib/google/apps/meet/v2/rest.rb +38 -0
  14. data/lib/google/apps/meet/v2/service_pb.rb +73 -0
  15. data/lib/google/apps/meet/v2/service_services_pb.rb +109 -0
  16. data/lib/google/apps/meet/v2/spaces_service/client.rb +706 -0
  17. data/lib/google/apps/meet/v2/spaces_service/credentials.rb +48 -0
  18. data/lib/google/apps/meet/v2/spaces_service/paths.rb +61 -0
  19. data/lib/google/apps/meet/v2/spaces_service/rest/client.rb +660 -0
  20. data/lib/google/apps/meet/v2/spaces_service/rest/service_stub.rb +306 -0
  21. data/lib/google/apps/meet/v2/spaces_service/rest.rb +52 -0
  22. data/lib/google/apps/meet/v2/spaces_service.rb +55 -0
  23. data/lib/google/apps/meet/v2/version.rb +7 -2
  24. data/lib/google/apps/meet/v2.rb +46 -0
  25. data/lib/google-apps-meet-v2.rb +21 -0
  26. data/proto_docs/README.md +4 -0
  27. data/proto_docs/google/api/client.rb +395 -0
  28. data/proto_docs/google/api/field_behavior.rb +85 -0
  29. data/proto_docs/google/api/launch_stage.rb +71 -0
  30. data/proto_docs/google/api/resource.rb +222 -0
  31. data/proto_docs/google/apps/meet/v2/resource.rb +367 -0
  32. data/proto_docs/google/apps/meet/v2/service.rb +353 -0
  33. data/proto_docs/google/protobuf/duration.rb +98 -0
  34. data/proto_docs/google/protobuf/empty.rb +34 -0
  35. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  36. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  37. metadata +76 -11
@@ -0,0 +1,222 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Api
22
+ # A simple descriptor of a resource type.
23
+ #
24
+ # ResourceDescriptor annotates a resource message (either by means of a
25
+ # protobuf annotation or use in the service config), and associates the
26
+ # resource's schema, the resource type, and the pattern of the resource name.
27
+ #
28
+ # Example:
29
+ #
30
+ # message Topic {
31
+ # // Indicates this message defines a resource schema.
32
+ # // Declares the resource type in the format of {service}/{kind}.
33
+ # // For Kubernetes resources, the format is {api group}/{kind}.
34
+ # option (google.api.resource) = {
35
+ # type: "pubsub.googleapis.com/Topic"
36
+ # pattern: "projects/{project}/topics/{topic}"
37
+ # };
38
+ # }
39
+ #
40
+ # The ResourceDescriptor Yaml config will look like:
41
+ #
42
+ # resources:
43
+ # - type: "pubsub.googleapis.com/Topic"
44
+ # pattern: "projects/{project}/topics/{topic}"
45
+ #
46
+ # Sometimes, resources have multiple patterns, typically because they can
47
+ # live under multiple parents.
48
+ #
49
+ # Example:
50
+ #
51
+ # message LogEntry {
52
+ # option (google.api.resource) = {
53
+ # type: "logging.googleapis.com/LogEntry"
54
+ # pattern: "projects/{project}/logs/{log}"
55
+ # pattern: "folders/{folder}/logs/{log}"
56
+ # pattern: "organizations/{organization}/logs/{log}"
57
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
58
+ # };
59
+ # }
60
+ #
61
+ # The ResourceDescriptor Yaml config will look like:
62
+ #
63
+ # resources:
64
+ # - type: 'logging.googleapis.com/LogEntry'
65
+ # pattern: "projects/{project}/logs/{log}"
66
+ # pattern: "folders/{folder}/logs/{log}"
67
+ # pattern: "organizations/{organization}/logs/{log}"
68
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
69
+ # @!attribute [rw] type
70
+ # @return [::String]
71
+ # The resource type. It must be in the format of
72
+ # \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be
73
+ # singular and must not include version numbers.
74
+ #
75
+ # Example: `storage.googleapis.com/Bucket`
76
+ #
77
+ # The value of the resource_type_kind must follow the regular expression
78
+ # /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
79
+ # should use PascalCase (UpperCamelCase). The maximum number of
80
+ # characters allowed for the `resource_type_kind` is 100.
81
+ # @!attribute [rw] pattern
82
+ # @return [::Array<::String>]
83
+ # Optional. The relative resource name pattern associated with this resource
84
+ # type. The DNS prefix of the full resource name shouldn't be specified here.
85
+ #
86
+ # The path pattern must follow the syntax, which aligns with HTTP binding
87
+ # syntax:
88
+ #
89
+ # Template = Segment { "/" Segment } ;
90
+ # Segment = LITERAL | Variable ;
91
+ # Variable = "{" LITERAL "}" ;
92
+ #
93
+ # Examples:
94
+ #
95
+ # - "projects/\\{project}/topics/\\{topic}"
96
+ # - "projects/\\{project}/knowledgeBases/\\{knowledge_base}"
97
+ #
98
+ # The components in braces correspond to the IDs for each resource in the
99
+ # hierarchy. It is expected that, if multiple patterns are provided,
100
+ # the same component name (e.g. "project") refers to IDs of the same
101
+ # type of resource.
102
+ # @!attribute [rw] name_field
103
+ # @return [::String]
104
+ # Optional. The field on the resource that designates the resource name
105
+ # field. If omitted, this is assumed to be "name".
106
+ # @!attribute [rw] history
107
+ # @return [::Google::Api::ResourceDescriptor::History]
108
+ # Optional. The historical or future-looking state of the resource pattern.
109
+ #
110
+ # Example:
111
+ #
112
+ # // The InspectTemplate message originally only supported resource
113
+ # // names with organization, and project was added later.
114
+ # message InspectTemplate {
115
+ # option (google.api.resource) = {
116
+ # type: "dlp.googleapis.com/InspectTemplate"
117
+ # pattern:
118
+ # "organizations/{organization}/inspectTemplates/{inspect_template}"
119
+ # pattern: "projects/{project}/inspectTemplates/{inspect_template}"
120
+ # history: ORIGINALLY_SINGLE_PATTERN
121
+ # };
122
+ # }
123
+ # @!attribute [rw] plural
124
+ # @return [::String]
125
+ # The plural name used in the resource name and permission names, such as
126
+ # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
+ # concept of the `plural` field in k8s CRD spec
129
+ # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
+ #
131
+ # Note: The plural form is required even for singleton resources. See
132
+ # https://aip.dev/156
133
+ # @!attribute [rw] singular
134
+ # @return [::String]
135
+ # The same concept of the `singular` field in k8s CRD spec
136
+ # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
137
+ # Such as "project" for the `resourcemanager.googleapis.com/Project` type.
138
+ # @!attribute [rw] style
139
+ # @return [::Array<::Google::Api::ResourceDescriptor::Style>]
140
+ # Style flag(s) for this resource.
141
+ # These indicate that a resource is expected to conform to a given
142
+ # style. See the specific style flags for additional information.
143
+ class ResourceDescriptor
144
+ include ::Google::Protobuf::MessageExts
145
+ extend ::Google::Protobuf::MessageExts::ClassMethods
146
+
147
+ # A description of the historical or future-looking state of the
148
+ # resource pattern.
149
+ module History
150
+ # The "unset" value.
151
+ HISTORY_UNSPECIFIED = 0
152
+
153
+ # The resource originally had one pattern and launched as such, and
154
+ # additional patterns were added later.
155
+ ORIGINALLY_SINGLE_PATTERN = 1
156
+
157
+ # The resource has one pattern, but the API owner expects to add more
158
+ # later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents
159
+ # that from being necessary once there are multiple patterns.)
160
+ FUTURE_MULTI_PATTERN = 2
161
+ end
162
+
163
+ # A flag representing a specific style that a resource claims to conform to.
164
+ module Style
165
+ # The unspecified value. Do not use.
166
+ STYLE_UNSPECIFIED = 0
167
+
168
+ # This resource is intended to be "declarative-friendly".
169
+ #
170
+ # Declarative-friendly resources must be more strictly consistent, and
171
+ # setting this to true communicates to tools that this resource should
172
+ # adhere to declarative-friendly expectations.
173
+ #
174
+ # Note: This is used by the API linter (linter.aip.dev) to enable
175
+ # additional checks.
176
+ DECLARATIVE_FRIENDLY = 1
177
+ end
178
+ end
179
+
180
+ # Defines a proto annotation that describes a string field that refers to
181
+ # an API resource.
182
+ # @!attribute [rw] type
183
+ # @return [::String]
184
+ # The resource type that the annotated field references.
185
+ #
186
+ # Example:
187
+ #
188
+ # message Subscription {
189
+ # string topic = 2 [(google.api.resource_reference) = {
190
+ # type: "pubsub.googleapis.com/Topic"
191
+ # }];
192
+ # }
193
+ #
194
+ # Occasionally, a field may reference an arbitrary resource. In this case,
195
+ # APIs use the special value * in their resource reference.
196
+ #
197
+ # Example:
198
+ #
199
+ # message GetIamPolicyRequest {
200
+ # string resource = 2 [(google.api.resource_reference) = {
201
+ # type: "*"
202
+ # }];
203
+ # }
204
+ # @!attribute [rw] child_type
205
+ # @return [::String]
206
+ # The resource type of a child collection that the annotated field
207
+ # references. This is useful for annotating the `parent` field that
208
+ # doesn't have a fixed resource type.
209
+ #
210
+ # Example:
211
+ #
212
+ # message ListLogEntriesRequest {
213
+ # string parent = 1 [(google.api.resource_reference) = {
214
+ # child_type: "logging.googleapis.com/LogEntry"
215
+ # };
216
+ # }
217
+ class ResourceReference
218
+ include ::Google::Protobuf::MessageExts
219
+ extend ::Google::Protobuf::MessageExts::ClassMethods
220
+ end
221
+ end
222
+ end
@@ -0,0 +1,367 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Apps
22
+ module Meet
23
+ module V2
24
+ # Virtual place where conferences are held. Only one active conference can be
25
+ # held in one space at any given time.
26
+ # @!attribute [rw] name
27
+ # @return [::String]
28
+ # Immutable. Resource name of the space.
29
+ # Format: `spaces/{space}`
30
+ # @!attribute [r] meeting_uri
31
+ # @return [::String]
32
+ # Output only. URI used to join meetings, such as
33
+ # `https://meet.google.com/abc-mnop-xyz`.
34
+ # @!attribute [r] meeting_code
35
+ # @return [::String]
36
+ # Output only. Type friendly code to join the meeting. Format:
37
+ # `[a-z]+-[a-z]+-[a-z]+` such as `abc-mnop-xyz`. The maximum length is 128
38
+ # characters. Can only be used as an alias of the space ID to get the space.
39
+ # @!attribute [rw] config
40
+ # @return [::Google::Apps::Meet::V2::SpaceConfig]
41
+ # Configuration pertaining to the meeting space.
42
+ # @!attribute [rw] active_conference
43
+ # @return [::Google::Apps::Meet::V2::ActiveConference]
44
+ # Active conference, if it exists.
45
+ class Space
46
+ include ::Google::Protobuf::MessageExts
47
+ extend ::Google::Protobuf::MessageExts::ClassMethods
48
+ end
49
+
50
+ # Active conference.
51
+ # @!attribute [r] conference_record
52
+ # @return [::String]
53
+ # Output only. Reference to 'ConferenceRecord' resource.
54
+ # Format: `conferenceRecords/{conference_record}` where `{conference_record}`
55
+ # is a unique ID for each instance of a call within a space.
56
+ class ActiveConference
57
+ include ::Google::Protobuf::MessageExts
58
+ extend ::Google::Protobuf::MessageExts::ClassMethods
59
+ end
60
+
61
+ # The configuration pertaining to a meeting space.
62
+ # @!attribute [rw] access_type
63
+ # @return [::Google::Apps::Meet::V2::SpaceConfig::AccessType]
64
+ # Access type of the meeting space that determines who can join without
65
+ # knocking. Default: The user's default access settings. Controlled by the
66
+ # user's admin for enterprise users or RESTRICTED.
67
+ # @!attribute [rw] entry_point_access
68
+ # @return [::Google::Apps::Meet::V2::SpaceConfig::EntryPointAccess]
69
+ # Defines the entry points that can be used to join meetings hosted in this
70
+ # meeting space.
71
+ # Default: EntryPointAccess.ALL
72
+ class SpaceConfig
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+
76
+ # Possible access types for a meeting space.
77
+ module AccessType
78
+ # Default value specified by the user's organization.
79
+ # Note: This is never returned, as the configured access type is
80
+ # returned instead.
81
+ ACCESS_TYPE_UNSPECIFIED = 0
82
+
83
+ # Anyone with the join information (for example, the URL or phone access
84
+ # information) can join without knocking.
85
+ OPEN = 1
86
+
87
+ # Members of the host's organization, invited external users, and dial-in
88
+ # users can join without knocking. Everyone else must knock.
89
+ TRUSTED = 2
90
+
91
+ # Only invitees can join without knocking. Everyone else must knock.
92
+ RESTRICTED = 3
93
+ end
94
+
95
+ # Entry points that can be used to join a meeting. Example:
96
+ # `meet.google.com`, the Meet Embed SDK Web, or a mobile application.
97
+ module EntryPointAccess
98
+ # Unused.
99
+ ENTRY_POINT_ACCESS_UNSPECIFIED = 0
100
+
101
+ # All entry points are allowed.
102
+ ALL = 1
103
+
104
+ # Only entry points owned by the Google Cloud project that created the
105
+ # space can be used to join meetings in this space. Apps can use the Meet
106
+ # Embed SDK Web or mobile Meet SDKs to create owned entry points.
107
+ CREATOR_APP_ONLY = 2
108
+ end
109
+ end
110
+
111
+ # Single instance of a meeting held in a space.
112
+ # @!attribute [rw] name
113
+ # @return [::String]
114
+ # Identifier. Resource name of the conference record.
115
+ # Format: `conferenceRecords/{conference_record}` where `{conference_record}`
116
+ # is a unique ID for each instance of a call within a space.
117
+ # @!attribute [r] start_time
118
+ # @return [::Google::Protobuf::Timestamp]
119
+ # Output only. Timestamp when the conference started. Always set.
120
+ # @!attribute [r] end_time
121
+ # @return [::Google::Protobuf::Timestamp]
122
+ # Output only. Timestamp when the conference ended.
123
+ # Set for past conferences. Unset if the conference is ongoing.
124
+ # @!attribute [r] expire_time
125
+ # @return [::Google::Protobuf::Timestamp]
126
+ # Output only. Server enforced expiration time for when this conference
127
+ # record resource is deleted. The resource is deleted 30 days after the
128
+ # conference ends.
129
+ # @!attribute [r] space
130
+ # @return [::String]
131
+ # Output only. The space where the conference was held.
132
+ class ConferenceRecord
133
+ include ::Google::Protobuf::MessageExts
134
+ extend ::Google::Protobuf::MessageExts::ClassMethods
135
+ end
136
+
137
+ # User who attended or is attending a conference.
138
+ # @!attribute [rw] signedin_user
139
+ # @return [::Google::Apps::Meet::V2::SignedinUser]
140
+ # Signed-in user.
141
+ # @!attribute [rw] anonymous_user
142
+ # @return [::Google::Apps::Meet::V2::AnonymousUser]
143
+ # Anonymous user.
144
+ # @!attribute [rw] phone_user
145
+ # @return [::Google::Apps::Meet::V2::PhoneUser]
146
+ # User calling from their phone.
147
+ # @!attribute [r] name
148
+ # @return [::String]
149
+ # Output only. Resource name of the participant.
150
+ # Format: `conferenceRecords/{conference_record}/participants/{participant}`
151
+ # @!attribute [r] earliest_start_time
152
+ # @return [::Google::Protobuf::Timestamp]
153
+ # Output only. Time when the participant first joined the meeting.
154
+ # @!attribute [r] latest_end_time
155
+ # @return [::Google::Protobuf::Timestamp]
156
+ # Output only. Time when the participant left the meeting for the last time.
157
+ # This can be null if it's an active meeting.
158
+ class Participant
159
+ include ::Google::Protobuf::MessageExts
160
+ extend ::Google::Protobuf::MessageExts::ClassMethods
161
+ end
162
+
163
+ # Refers to each unique join or leave session when a user joins a conference
164
+ # from a device. Note that any time a user joins the conference a new unique ID
165
+ # is assigned. That means if a user joins a space multiple times from the same
166
+ # device, they're assigned different IDs, and are also be treated as different
167
+ # participant sessions.
168
+ # @!attribute [rw] name
169
+ # @return [::String]
170
+ # Identifier. Session id.
171
+ # @!attribute [r] start_time
172
+ # @return [::Google::Protobuf::Timestamp]
173
+ # Output only. Timestamp when the user session starts.
174
+ # @!attribute [r] end_time
175
+ # @return [::Google::Protobuf::Timestamp]
176
+ # Output only. Timestamp when the user session ends. Unset if the user
177
+ # session hasn’t ended.
178
+ class ParticipantSession
179
+ include ::Google::Protobuf::MessageExts
180
+ extend ::Google::Protobuf::MessageExts::ClassMethods
181
+ end
182
+
183
+ # A signed-in user can be:
184
+ # a) An individual joining from a personal computer, mobile device, or through
185
+ # companion mode.
186
+ # b) A robot account used by conference room devices.
187
+ # @!attribute [r] user
188
+ # @return [::String]
189
+ # Output only. Unique ID for the user. Interoperable with Admin SDK API and
190
+ # People API. Format: `users/{user}`
191
+ # @!attribute [r] display_name
192
+ # @return [::String]
193
+ # Output only. For a personal device, it's the user's first name and last
194
+ # name. For a robot account, it's the administrator-specified device name.
195
+ # For example, "Altostrat Room".
196
+ class SignedinUser
197
+ include ::Google::Protobuf::MessageExts
198
+ extend ::Google::Protobuf::MessageExts::ClassMethods
199
+ end
200
+
201
+ # User who joins anonymously (meaning not signed into a Google Account).
202
+ # @!attribute [r] display_name
203
+ # @return [::String]
204
+ # Output only. User provided name when they join a conference anonymously.
205
+ class AnonymousUser
206
+ include ::Google::Protobuf::MessageExts
207
+ extend ::Google::Protobuf::MessageExts::ClassMethods
208
+ end
209
+
210
+ # User dialing in from a phone where the user's identity is unknown because
211
+ # they haven't signed in with a Google Account.
212
+ # @!attribute [r] display_name
213
+ # @return [::String]
214
+ # Output only. Partially redacted user's phone number when calling.
215
+ class PhoneUser
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
219
+
220
+ # Metadata about a recording created during a conference.
221
+ # @!attribute [r] drive_destination
222
+ # @return [::Google::Apps::Meet::V2::DriveDestination]
223
+ # Output only. Recording is saved to Google Drive as an MP4 file. The
224
+ # `drive_destination` includes the Drive `fileId` that can be used to
225
+ # download the file using the `files.get` method of the Drive API.
226
+ # @!attribute [r] name
227
+ # @return [::String]
228
+ # Output only. Resource name of the recording.
229
+ # Format: `conferenceRecords/{conference_record}/recordings/{recording}`
230
+ # where `{recording}` is a 1:1 mapping to each unique recording session
231
+ # during the conference.
232
+ # @!attribute [r] state
233
+ # @return [::Google::Apps::Meet::V2::Recording::State]
234
+ # Output only. Current state.
235
+ # @!attribute [r] start_time
236
+ # @return [::Google::Protobuf::Timestamp]
237
+ # Output only. Timestamp when the recording started.
238
+ # @!attribute [r] end_time
239
+ # @return [::Google::Protobuf::Timestamp]
240
+ # Output only. Timestamp when the recording ended.
241
+ class Recording
242
+ include ::Google::Protobuf::MessageExts
243
+ extend ::Google::Protobuf::MessageExts::ClassMethods
244
+
245
+ # Current state of the recording session.
246
+ module State
247
+ # Default, never used.
248
+ STATE_UNSPECIFIED = 0
249
+
250
+ # An active recording session has started.
251
+ STARTED = 1
252
+
253
+ # This recording session has ended, but the recording file hasn't been
254
+ # generated yet.
255
+ ENDED = 2
256
+
257
+ # Recording file is generated and ready to download.
258
+ FILE_GENERATED = 3
259
+ end
260
+ end
261
+
262
+ # Export location where a recording file is saved in Google Drive.
263
+ # @!attribute [r] file
264
+ # @return [::String]
265
+ # Output only. The `fileId` for the underlying MP4 file. For example,
266
+ # "1kuceFZohVoCh6FulBHxwy6I15Ogpc4hP". Use `$ GET
267
+ # https://www.googleapis.com/drive/v3/files/\\{$fileId}?alt=media` to download
268
+ # the blob. For more information, see
269
+ # https://developers.google.com/drive/api/v3/reference/files/get.
270
+ # @!attribute [r] export_uri
271
+ # @return [::String]
272
+ # Output only. Link used to play back the recording file in the browser. For
273
+ # example, `https://drive.google.com/file/d/{$fileId}/view`.
274
+ class DriveDestination
275
+ include ::Google::Protobuf::MessageExts
276
+ extend ::Google::Protobuf::MessageExts::ClassMethods
277
+ end
278
+
279
+ # Metadata for a transcript generated from a conference. It refers to the ASR
280
+ # (Automatic Speech Recognition) result of user's speech during the conference.
281
+ # @!attribute [r] docs_destination
282
+ # @return [::Google::Apps::Meet::V2::DocsDestination]
283
+ # Output only. Where the Google Docs transcript is saved.
284
+ # @!attribute [r] name
285
+ # @return [::String]
286
+ # Output only. Resource name of the transcript.
287
+ # Format: `conferenceRecords/{conference_record}/transcripts/{transcript}`,
288
+ # where `{transcript}` is a 1:1 mapping to each unique transcription session
289
+ # of the conference.
290
+ # @!attribute [r] state
291
+ # @return [::Google::Apps::Meet::V2::Transcript::State]
292
+ # Output only. Current state.
293
+ # @!attribute [r] start_time
294
+ # @return [::Google::Protobuf::Timestamp]
295
+ # Output only. Timestamp when the transcript started.
296
+ # @!attribute [r] end_time
297
+ # @return [::Google::Protobuf::Timestamp]
298
+ # Output only. Timestamp when the transcript stopped.
299
+ class Transcript
300
+ include ::Google::Protobuf::MessageExts
301
+ extend ::Google::Protobuf::MessageExts::ClassMethods
302
+
303
+ # Current state of the transcript session.
304
+ module State
305
+ # Default, never used.
306
+ STATE_UNSPECIFIED = 0
307
+
308
+ # An active transcript session has started.
309
+ STARTED = 1
310
+
311
+ # This transcript session has ended, but the transcript file hasn't been
312
+ # generated yet.
313
+ ENDED = 2
314
+
315
+ # Transcript file is generated and ready to download.
316
+ FILE_GENERATED = 3
317
+ end
318
+ end
319
+
320
+ # Google Docs location where the transcript file is saved.
321
+ # @!attribute [r] document
322
+ # @return [::String]
323
+ # Output only. The document ID for the underlying Google Docs transcript
324
+ # file. For example, "1kuceFZohVoCh6FulBHxwy6I15Ogpc4hP". Use the
325
+ # `documents.get` method of the Google Docs API
326
+ # (https://developers.google.com/docs/api/reference/rest/v1/documents/get) to
327
+ # fetch the content.
328
+ # @!attribute [r] export_uri
329
+ # @return [::String]
330
+ # Output only. URI for the Google Docs transcript file. Use
331
+ # `https://docs.google.com/document/d/{$DocumentId}/view` to browse the
332
+ # transcript in the browser.
333
+ class DocsDestination
334
+ include ::Google::Protobuf::MessageExts
335
+ extend ::Google::Protobuf::MessageExts::ClassMethods
336
+ end
337
+
338
+ # Single entry for one user’s speech during a transcript session.
339
+ # @!attribute [r] name
340
+ # @return [::String]
341
+ # Output only. Resource name of the entry. Format:
342
+ # "conferenceRecords/\\{conference_record}/transcripts/\\{transcript}/entries/\\{entry}"
343
+ # @!attribute [r] participant
344
+ # @return [::String]
345
+ # Output only. Refers to the participant who speaks.
346
+ # @!attribute [r] text
347
+ # @return [::String]
348
+ # Output only. The transcribed text of the participant's voice, at maximum
349
+ # 10K words. Note that the limit is subject to change.
350
+ # @!attribute [r] language_code
351
+ # @return [::String]
352
+ # Output only. Language of spoken text, such as "en-US".
353
+ # IETF BCP 47 syntax (https://tools.ietf.org/html/bcp47)
354
+ # @!attribute [r] start_time
355
+ # @return [::Google::Protobuf::Timestamp]
356
+ # Output only. Timestamp when the transcript entry started.
357
+ # @!attribute [r] end_time
358
+ # @return [::Google::Protobuf::Timestamp]
359
+ # Output only. Timestamp when the transcript entry ended.
360
+ class TranscriptEntry
361
+ include ::Google::Protobuf::MessageExts
362
+ extend ::Google::Protobuf::MessageExts::ClassMethods
363
+ end
364
+ end
365
+ end
366
+ end
367
+ end