google-apps-meet-v2 0.a → 0.1.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 +186 -9
@@ -0,0 +1,353 @@
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
+ # Request to create a space.
25
+ # @!attribute [rw] space
26
+ # @return [::Google::Apps::Meet::V2::Space]
27
+ # Space to be created. As of May 2023, the input space can be empty. Later on
28
+ # the input space can be non-empty when space configuration is introduced.
29
+ class CreateSpaceRequest
30
+ include ::Google::Protobuf::MessageExts
31
+ extend ::Google::Protobuf::MessageExts::ClassMethods
32
+ end
33
+
34
+ # Request to get a space.
35
+ # @!attribute [rw] name
36
+ # @return [::String]
37
+ # Required. Resource name of the space.
38
+ class GetSpaceRequest
39
+ include ::Google::Protobuf::MessageExts
40
+ extend ::Google::Protobuf::MessageExts::ClassMethods
41
+ end
42
+
43
+ # Request to update a space.
44
+ # @!attribute [rw] space
45
+ # @return [::Google::Apps::Meet::V2::Space]
46
+ # Required. Space to be updated.
47
+ # @!attribute [rw] update_mask
48
+ # @return [::Google::Protobuf::FieldMask]
49
+ # Optional. Field mask used to specify the fields to be updated in the space.
50
+ # If update_mask isn't provided, it defaults to '*' and updates all
51
+ # fields provided in the request, including deleting fields not set in the
52
+ # request.
53
+ class UpdateSpaceRequest
54
+ include ::Google::Protobuf::MessageExts
55
+ extend ::Google::Protobuf::MessageExts::ClassMethods
56
+ end
57
+
58
+ # Request to end an ongoing conference of a space.
59
+ # @!attribute [rw] name
60
+ # @return [::String]
61
+ # Required. Resource name of the space.
62
+ class EndActiveConferenceRequest
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+ end
66
+
67
+ # Request to get a conference record.
68
+ # @!attribute [rw] name
69
+ # @return [::String]
70
+ # Required. Resource name of the conference.
71
+ class GetConferenceRecordRequest
72
+ include ::Google::Protobuf::MessageExts
73
+ extend ::Google::Protobuf::MessageExts::ClassMethods
74
+ end
75
+
76
+ # Request to fetch list of conference records per user.
77
+ # @!attribute [rw] page_size
78
+ # @return [::Integer]
79
+ # Optional. Maximum number of conference records to return. The service might
80
+ # return fewer than this value. If unspecified, at most 25 conference records
81
+ # are returned. The maximum value is 100; values above 100 are coerced to
82
+ # 100. Maximum might change in the future.
83
+ # @!attribute [rw] page_token
84
+ # @return [::String]
85
+ # Optional. Page token returned from previous List Call.
86
+ # @!attribute [rw] filter
87
+ # @return [::String]
88
+ # Optional. User specified filtering condition in [EBNF
89
+ # format](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form).
90
+ # The following are the filterable fields:
91
+ #
92
+ # * `space.meeting_code`
93
+ # * `space.name`
94
+ # * `start_time`
95
+ # * `end_time`
96
+ #
97
+ # For example, `space.meeting_code = "abc-mnop-xyz"`.
98
+ class ListConferenceRecordsRequest
99
+ include ::Google::Protobuf::MessageExts
100
+ extend ::Google::Protobuf::MessageExts::ClassMethods
101
+ end
102
+
103
+ # Response of ListConferenceRecords method.
104
+ # @!attribute [rw] conference_records
105
+ # @return [::Array<::Google::Apps::Meet::V2::ConferenceRecord>]
106
+ # List of conferences in one page.
107
+ # @!attribute [rw] next_page_token
108
+ # @return [::String]
109
+ # Token to be circulated back for further List call if current List does NOT
110
+ # include all the Conferences. Unset if all conferences have been returned.
111
+ class ListConferenceRecordsResponse
112
+ include ::Google::Protobuf::MessageExts
113
+ extend ::Google::Protobuf::MessageExts::ClassMethods
114
+ end
115
+
116
+ # Request to get a participant.
117
+ # @!attribute [rw] name
118
+ # @return [::String]
119
+ # Required. Resource name of the participant.
120
+ class GetParticipantRequest
121
+ include ::Google::Protobuf::MessageExts
122
+ extend ::Google::Protobuf::MessageExts::ClassMethods
123
+ end
124
+
125
+ # Request to fetch list of participants per conference.
126
+ # @!attribute [rw] parent
127
+ # @return [::String]
128
+ # Required. Format: `conferenceRecords/{conference_record}`
129
+ # @!attribute [rw] page_size
130
+ # @return [::Integer]
131
+ # Maximum number of participants to return. The service might return fewer
132
+ # than this value.
133
+ # If unspecified, at most 100 participants are returned.
134
+ # The maximum value is 250; values above 250 are coerced to 250.
135
+ # Maximum might change in the future.
136
+ # @!attribute [rw] page_token
137
+ # @return [::String]
138
+ # Page token returned from previous List Call.
139
+ # @!attribute [rw] filter
140
+ # @return [::String]
141
+ # Optional. User specified filtering condition in [EBNF
142
+ # format](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form).
143
+ # The following are the filterable fields:
144
+ #
145
+ # * `earliest_start_time`
146
+ # * `latest_end_time`
147
+ #
148
+ # For example, `latest_end_time IS NULL` returns active participants in
149
+ # the conference.
150
+ class ListParticipantsRequest
151
+ include ::Google::Protobuf::MessageExts
152
+ extend ::Google::Protobuf::MessageExts::ClassMethods
153
+ end
154
+
155
+ # Response of ListParticipants method.
156
+ # @!attribute [rw] participants
157
+ # @return [::Array<::Google::Apps::Meet::V2::Participant>]
158
+ # List of participants in one page.
159
+ # @!attribute [rw] next_page_token
160
+ # @return [::String]
161
+ # Token to be circulated back for further List call if current List doesn't
162
+ # include all the participants. Unset if all participants are returned.
163
+ # @!attribute [rw] total_size
164
+ # @return [::Integer]
165
+ # Total, exact number of `participants`. By default, this field isn't
166
+ # included in the response. Set the field mask in
167
+ # [SystemParameterContext](https://cloud.google.com/apis/docs/system-parameters)
168
+ # to receive this field in the response.
169
+ class ListParticipantsResponse
170
+ include ::Google::Protobuf::MessageExts
171
+ extend ::Google::Protobuf::MessageExts::ClassMethods
172
+ end
173
+
174
+ # Request to get a participant session.
175
+ # @!attribute [rw] name
176
+ # @return [::String]
177
+ # Required. Resource name of the participant.
178
+ class GetParticipantSessionRequest
179
+ include ::Google::Protobuf::MessageExts
180
+ extend ::Google::Protobuf::MessageExts::ClassMethods
181
+ end
182
+
183
+ # Request to fetch list of participant sessions per conference record, per
184
+ # participant.
185
+ # @!attribute [rw] parent
186
+ # @return [::String]
187
+ # Required. Format:
188
+ # `conferenceRecords/{conference_record}/participants/{participant}`
189
+ # @!attribute [rw] page_size
190
+ # @return [::Integer]
191
+ # Optional. Maximum number of participant sessions to return. The service
192
+ # might return fewer than this value. If unspecified, at most 100
193
+ # participants are returned. The maximum value is 250; values above 250 are
194
+ # coerced to 250. Maximum might change in the future.
195
+ # @!attribute [rw] page_token
196
+ # @return [::String]
197
+ # Optional. Page token returned from previous List Call.
198
+ # @!attribute [rw] filter
199
+ # @return [::String]
200
+ # Optional. User specified filtering condition in [EBNF
201
+ # format](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form).
202
+ # The following are the filterable fields:
203
+ #
204
+ # * `start_time`
205
+ # * `end_time`
206
+ #
207
+ # For example, `end_time IS NULL` returns active participant sessions in
208
+ # the conference record.
209
+ class ListParticipantSessionsRequest
210
+ include ::Google::Protobuf::MessageExts
211
+ extend ::Google::Protobuf::MessageExts::ClassMethods
212
+ end
213
+
214
+ # Response of ListParticipants method.
215
+ # @!attribute [rw] participant_sessions
216
+ # @return [::Array<::Google::Apps::Meet::V2::ParticipantSession>]
217
+ # List of participants in one page.
218
+ # @!attribute [rw] next_page_token
219
+ # @return [::String]
220
+ # Token to be circulated back for further List call if current List doesn't
221
+ # include all the participants. Unset if all participants are returned.
222
+ class ListParticipantSessionsResponse
223
+ include ::Google::Protobuf::MessageExts
224
+ extend ::Google::Protobuf::MessageExts::ClassMethods
225
+ end
226
+
227
+ # Request message for GetRecording method.
228
+ # @!attribute [rw] name
229
+ # @return [::String]
230
+ # Required. Resource name of the recording.
231
+ class GetRecordingRequest
232
+ include ::Google::Protobuf::MessageExts
233
+ extend ::Google::Protobuf::MessageExts::ClassMethods
234
+ end
235
+
236
+ # Request for ListRecordings method.
237
+ # @!attribute [rw] parent
238
+ # @return [::String]
239
+ # Required. Format: `conferenceRecords/{conference_record}`
240
+ # @!attribute [rw] page_size
241
+ # @return [::Integer]
242
+ # Maximum number of recordings to return. The service might return fewer
243
+ # than this value.
244
+ # If unspecified, at most 10 recordings are returned.
245
+ # The maximum value is 100; values above 100 are coerced to 100.
246
+ # Maximum might change in the future.
247
+ # @!attribute [rw] page_token
248
+ # @return [::String]
249
+ # Page token returned from previous List Call.
250
+ class ListRecordingsRequest
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # Response for ListRecordings method.
256
+ # @!attribute [rw] recordings
257
+ # @return [::Array<::Google::Apps::Meet::V2::Recording>]
258
+ # List of recordings in one page.
259
+ # @!attribute [rw] next_page_token
260
+ # @return [::String]
261
+ # Token to be circulated back for further List call if current List doesn't
262
+ # include all the recordings. Unset if all recordings are returned.
263
+ class ListRecordingsResponse
264
+ include ::Google::Protobuf::MessageExts
265
+ extend ::Google::Protobuf::MessageExts::ClassMethods
266
+ end
267
+
268
+ # Request for GetTranscript method.
269
+ # @!attribute [rw] name
270
+ # @return [::String]
271
+ # Required. Resource name of the transcript.
272
+ class GetTranscriptRequest
273
+ include ::Google::Protobuf::MessageExts
274
+ extend ::Google::Protobuf::MessageExts::ClassMethods
275
+ end
276
+
277
+ # Request for ListTranscripts method.
278
+ # @!attribute [rw] parent
279
+ # @return [::String]
280
+ # Required. Format: `conferenceRecords/{conference_record}`
281
+ # @!attribute [rw] page_size
282
+ # @return [::Integer]
283
+ # Maximum number of transcripts to return. The service might return fewer
284
+ # than this value.
285
+ # If unspecified, at most 10 transcripts are returned.
286
+ # The maximum value is 100; values above 100 are coerced to 100.
287
+ # Maximum might change in the future.
288
+ # @!attribute [rw] page_token
289
+ # @return [::String]
290
+ # Page token returned from previous List Call.
291
+ class ListTranscriptsRequest
292
+ include ::Google::Protobuf::MessageExts
293
+ extend ::Google::Protobuf::MessageExts::ClassMethods
294
+ end
295
+
296
+ # Response for ListTranscripts method.
297
+ # @!attribute [rw] transcripts
298
+ # @return [::Array<::Google::Apps::Meet::V2::Transcript>]
299
+ # List of transcripts in one page.
300
+ # @!attribute [rw] next_page_token
301
+ # @return [::String]
302
+ # Token to be circulated back for further List call if current List doesn't
303
+ # include all the transcripts. Unset if all transcripts are returned.
304
+ class ListTranscriptsResponse
305
+ include ::Google::Protobuf::MessageExts
306
+ extend ::Google::Protobuf::MessageExts::ClassMethods
307
+ end
308
+
309
+ # Request for GetTranscriptEntry method.
310
+ # @!attribute [rw] name
311
+ # @return [::String]
312
+ # Required. Resource name of the `TranscriptEntry`.
313
+ class GetTranscriptEntryRequest
314
+ include ::Google::Protobuf::MessageExts
315
+ extend ::Google::Protobuf::MessageExts::ClassMethods
316
+ end
317
+
318
+ # Request for ListTranscriptEntries method.
319
+ # @!attribute [rw] parent
320
+ # @return [::String]
321
+ # Required. Format:
322
+ # `conferenceRecords/{conference_record}/transcripts/{transcript}`
323
+ # @!attribute [rw] page_size
324
+ # @return [::Integer]
325
+ # Maximum number of entries to return. The service might return fewer than
326
+ # this value.
327
+ # If unspecified, at most 10 entries are returned.
328
+ # The maximum value is 100; values above 100 are coerced to 100.
329
+ # Maximum might change in the future.
330
+ # @!attribute [rw] page_token
331
+ # @return [::String]
332
+ # Page token returned from previous List Call.
333
+ class ListTranscriptEntriesRequest
334
+ include ::Google::Protobuf::MessageExts
335
+ extend ::Google::Protobuf::MessageExts::ClassMethods
336
+ end
337
+
338
+ # Response for ListTranscriptEntries method.
339
+ # @!attribute [rw] transcript_entries
340
+ # @return [::Array<::Google::Apps::Meet::V2::TranscriptEntry>]
341
+ # List of TranscriptEntries in one page.
342
+ # @!attribute [rw] next_page_token
343
+ # @return [::String]
344
+ # Token to be circulated back for further List call if current List doesn't
345
+ # include all the transcript entries. Unset if all entries are returned.
346
+ class ListTranscriptEntriesResponse
347
+ include ::Google::Protobuf::MessageExts
348
+ extend ::Google::Protobuf::MessageExts::ClassMethods
349
+ end
350
+ end
351
+ end
352
+ end
353
+ end
@@ -0,0 +1,98 @@
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 Protobuf
22
+ # A Duration represents a signed, fixed-length span of time represented
23
+ # as a count of seconds and fractions of seconds at nanosecond
24
+ # resolution. It is independent of any calendar and concepts like "day"
25
+ # or "month". It is related to Timestamp in that the difference between
26
+ # two Timestamp values is a Duration and it can be added or subtracted
27
+ # from a Timestamp. Range is approximately +-10,000 years.
28
+ #
29
+ # # Examples
30
+ #
31
+ # Example 1: Compute Duration from two Timestamps in pseudo code.
32
+ #
33
+ # Timestamp start = ...;
34
+ # Timestamp end = ...;
35
+ # Duration duration = ...;
36
+ #
37
+ # duration.seconds = end.seconds - start.seconds;
38
+ # duration.nanos = end.nanos - start.nanos;
39
+ #
40
+ # if (duration.seconds < 0 && duration.nanos > 0) {
41
+ # duration.seconds += 1;
42
+ # duration.nanos -= 1000000000;
43
+ # } else if (duration.seconds > 0 && duration.nanos < 0) {
44
+ # duration.seconds -= 1;
45
+ # duration.nanos += 1000000000;
46
+ # }
47
+ #
48
+ # Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
49
+ #
50
+ # Timestamp start = ...;
51
+ # Duration duration = ...;
52
+ # Timestamp end = ...;
53
+ #
54
+ # end.seconds = start.seconds + duration.seconds;
55
+ # end.nanos = start.nanos + duration.nanos;
56
+ #
57
+ # if (end.nanos < 0) {
58
+ # end.seconds -= 1;
59
+ # end.nanos += 1000000000;
60
+ # } else if (end.nanos >= 1000000000) {
61
+ # end.seconds += 1;
62
+ # end.nanos -= 1000000000;
63
+ # }
64
+ #
65
+ # Example 3: Compute Duration from datetime.timedelta in Python.
66
+ #
67
+ # td = datetime.timedelta(days=3, minutes=10)
68
+ # duration = Duration()
69
+ # duration.FromTimedelta(td)
70
+ #
71
+ # # JSON Mapping
72
+ #
73
+ # In JSON format, the Duration type is encoded as a string rather than an
74
+ # object, where the string ends in the suffix "s" (indicating seconds) and
75
+ # is preceded by the number of seconds, with nanoseconds expressed as
76
+ # fractional seconds. For example, 3 seconds with 0 nanoseconds should be
77
+ # encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
78
+ # be expressed in JSON format as "3.000000001s", and 3 seconds and 1
79
+ # microsecond should be expressed in JSON format as "3.000001s".
80
+ # @!attribute [rw] seconds
81
+ # @return [::Integer]
82
+ # Signed seconds of the span of time. Must be from -315,576,000,000
83
+ # to +315,576,000,000 inclusive. Note: these bounds are computed from:
84
+ # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
85
+ # @!attribute [rw] nanos
86
+ # @return [::Integer]
87
+ # Signed fractions of a second at nanosecond resolution of the span
88
+ # of time. Durations less than one second are represented with a 0
89
+ # `seconds` field and a positive or negative `nanos` field. For durations
90
+ # of one second or more, a non-zero value for the `nanos` field must be
91
+ # of the same sign as the `seconds` field. Must be from -999,999,999
92
+ # to +999,999,999 inclusive.
93
+ class Duration
94
+ include ::Google::Protobuf::MessageExts
95
+ extend ::Google::Protobuf::MessageExts::ClassMethods
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,34 @@
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 Protobuf
22
+ # A generic empty message that you can re-use to avoid defining duplicated
23
+ # empty messages in your APIs. A typical example is to use it as the request
24
+ # or the response type of an API method. For instance:
25
+ #
26
+ # service Foo {
27
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
28
+ # }
29
+ class Empty
30
+ include ::Google::Protobuf::MessageExts
31
+ extend ::Google::Protobuf::MessageExts::ClassMethods
32
+ end
33
+ end
34
+ end