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,52 @@
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
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/apps/meet/v2/version"
24
+
25
+ require "google/apps/meet/v2/conference_records_service/credentials"
26
+ require "google/apps/meet/v2/conference_records_service/paths"
27
+ require "google/apps/meet/v2/conference_records_service/rest/client"
28
+
29
+ module Google
30
+ module Apps
31
+ module Meet
32
+ module V2
33
+ ##
34
+ # REST API for services dealing with conference records.
35
+ #
36
+ # To load this service and instantiate a REST client:
37
+ #
38
+ # require "google/apps/meet/v2/conference_records_service/rest"
39
+ # client = ::Google::Apps::Meet::V2::ConferenceRecordsService::Rest::Client.new
40
+ #
41
+ module ConferenceRecordsService
42
+ # Client for the REST transport
43
+ module Rest
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+
51
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
52
+ require "google/apps/meet/v2/conference_records_service/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,55 @@
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
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/apps/meet/v2/version"
24
+
25
+ require "google/apps/meet/v2/conference_records_service/credentials"
26
+ require "google/apps/meet/v2/conference_records_service/paths"
27
+ require "google/apps/meet/v2/conference_records_service/client"
28
+ require "google/apps/meet/v2/conference_records_service/rest"
29
+
30
+ module Google
31
+ module Apps
32
+ module Meet
33
+ module V2
34
+ ##
35
+ # REST API for services dealing with conference records.
36
+ #
37
+ # @example Load this service and instantiate a gRPC client
38
+ #
39
+ # require "google/apps/meet/v2/conference_records_service"
40
+ # client = ::Google::Apps::Meet::V2::ConferenceRecordsService::Client.new
41
+ #
42
+ # @example Load this service and instantiate a REST client
43
+ #
44
+ # require "google/apps/meet/v2/conference_records_service/rest"
45
+ # client = ::Google::Apps::Meet::V2::ConferenceRecordsService::Rest::Client.new
46
+ #
47
+ module ConferenceRecordsService
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+ helper_path = ::File.join __dir__, "conference_records_service", "helpers.rb"
55
+ require "google/apps/meet/v2/conference_records_service/helpers" if ::File.file? helper_path
@@ -0,0 +1,64 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/apps/meet/v2/resource.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+
12
+ descriptor_data = "\n\"google/apps/meet/v2/resource.proto\x12\x13google.apps.meet.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf3\x01\n\x05Space\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x18\n\x0bmeeting_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cmeeting_code\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x30\n\x06\x63onfig\x18\x05 \x01(\x0b\x32 .google.apps.meet.v2.SpaceConfig\x12@\n\x11\x61\x63tive_conference\x18\x06 \x01(\x0b\x32%.google.apps.meet.v2.ActiveConference:.\xea\x41+\n\x19meet.googleapis.com/Space\x12\x0espaces/{space}\"[\n\x10\x41\x63tiveConference\x12G\n\x11\x63onference_record\x18\x01 \x01(\tB,\xe0\x41\x03\xfa\x41&\n$meet.googleapis.com/ConferenceRecord\"\xc7\x02\n\x0bSpaceConfig\x12@\n\x0b\x61\x63\x63\x65ss_type\x18\x01 \x01(\x0e\x32+.google.apps.meet.v2.SpaceConfig.AccessType\x12M\n\x12\x65ntry_point_access\x18\x02 \x01(\x0e\x32\x31.google.apps.meet.v2.SpaceConfig.EntryPointAccess\"P\n\nAccessType\x12\x1b\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04OPEN\x10\x01\x12\x0b\n\x07TRUSTED\x10\x02\x12\x0e\n\nRESTRICTED\x10\x03\"U\n\x10\x45ntryPointAccess\x12\"\n\x1e\x45NTRY_POINT_ACCESS_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41LL\x10\x01\x12\x14\n\x10\x43REATOR_APP_ONLY\x10\x02\"\xec\x02\n\x10\x43onferenceRecord\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x33\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x30\n\x05space\x18\x05 \x01(\tB!\xe0\x41\x03\xfa\x41\x1b\n\x19meet.googleapis.com/Space:u\xea\x41r\n$meet.googleapis.com/ConferenceRecord\x12%conferenceRecords/{conference_record}*\x11\x63onferenceRecords2\x10\x63onferenceRecord\"\xd4\x03\n\x0bParticipant\x12:\n\rsignedin_user\x18\x04 \x01(\x0b\x32!.google.apps.meet.v2.SignedinUserH\x00\x12<\n\x0e\x61nonymous_user\x18\x05 \x01(\x0b\x32\".google.apps.meet.v2.AnonymousUserH\x00\x12\x34\n\nphone_user\x18\x06 \x01(\x0b\x32\x1e.google.apps.meet.v2.PhoneUserH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12<\n\x13\x65\x61rliest_start_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x38\n\x0flatest_end_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x81\x01\xea\x41~\n\x1fmeet.googleapis.com/Participant\x12@conferenceRecords/{conference_record}/participants/{participant}*\x0cparticipants2\x0bparticipantB\x06\n\x04user\"\xd3\x02\n\x12ParticipantSession\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x33\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\xc1\x01\xea\x41\xbd\x01\n&meet.googleapis.com/ParticipantSession\x12jconferenceRecords/{conference_record}/participants/{participant}/participantSessions/{participant_session}*\x13participantSessions2\x12participantSession\"<\n\x0cSignedinUser\x12\x11\n\x04user\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\"*\n\rAnonymousUser\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x03\"&\n\tPhoneUser\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x03\"\xdd\x03\n\tRecording\x12G\n\x11\x64rive_destination\x18\x06 \x01(\x0b\x32%.google.apps.meet.v2.DriveDestinationB\x03\xe0\x41\x03H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x05state\x18\x03 \x01(\x0e\x32$.google.apps.meet.v2.Recording.StateB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"J\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07STARTED\x10\x01\x12\t\n\x05\x45NDED\x10\x02\x12\x12\n\x0e\x46ILE_GENERATED\x10\x03:w\xea\x41t\n\x1dmeet.googleapis.com/Recording\x12<conferenceRecords/{conference_record}/recordings/{recording}*\nrecordings2\trecordingB\r\n\x0b\x64\x65stination\">\n\x10\x44riveDestination\x12\x11\n\x04\x66ile\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nexport_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xe2\x03\n\nTranscript\x12\x45\n\x10\x64ocs_destination\x18\x06 \x01(\x0b\x32$.google.apps.meet.v2.DocsDestinationB\x03\xe0\x41\x03H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32%.google.apps.meet.v2.Transcript.StateB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"J\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07STARTED\x10\x01\x12\t\n\x05\x45NDED\x10\x02\x12\x12\n\x0e\x46ILE_GENERATED\x10\x03:|\xea\x41y\n\x1emeet.googleapis.com/Transcript\x12>conferenceRecords/{conference_record}/transcripts/{transcript}*\x0btranscripts2\ntranscriptB\r\n\x0b\x64\x65stination\"A\n\x0f\x44ocsDestination\x12\x15\n\x08\x64ocument\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nexport_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\x99\x03\n\x0fTranscriptEntry\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12<\n\x0bparticipant\x18\x02 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1fmeet.googleapis.com/Participant\x12\x11\n\x04text\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rlanguage_code\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x9d\x01\xea\x41\x99\x01\n#meet.googleapis.com/TranscriptEntry\x12NconferenceRecords/{conference_record}/transcripts/{transcript}/entries/{entry}*\x11transcriptEntries2\x0ftranscriptEntryB\xa2\x01\n\x17\x63om.google.apps.meet.v2B\rResourceProtoP\x01Z1cloud.google.com/go/apps/meet/apiv2/meetpb;meetpb\xaa\x02\x13Google.Apps.Meet.V2\xca\x02\x13Google\\Apps\\Meet\\V2\xea\x02\x16Google::Apps::Meet::V2b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
+ end
34
+ end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
37
+ end
38
+
39
+ module Google
40
+ module Apps
41
+ module Meet
42
+ module V2
43
+ Space = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.Space").msgclass
44
+ ActiveConference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ActiveConference").msgclass
45
+ SpaceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.SpaceConfig").msgclass
46
+ SpaceConfig::AccessType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.SpaceConfig.AccessType").enummodule
47
+ SpaceConfig::EntryPointAccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.SpaceConfig.EntryPointAccess").enummodule
48
+ ConferenceRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ConferenceRecord").msgclass
49
+ Participant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.Participant").msgclass
50
+ ParticipantSession = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ParticipantSession").msgclass
51
+ SignedinUser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.SignedinUser").msgclass
52
+ AnonymousUser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.AnonymousUser").msgclass
53
+ PhoneUser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.PhoneUser").msgclass
54
+ Recording = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.Recording").msgclass
55
+ Recording::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.Recording.State").enummodule
56
+ DriveDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.DriveDestination").msgclass
57
+ Transcript = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.Transcript").msgclass
58
+ Transcript::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.Transcript.State").enummodule
59
+ DocsDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.DocsDestination").msgclass
60
+ TranscriptEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.TranscriptEntry").msgclass
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,38 @@
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
+ require "google/apps/meet/v2/spaces_service/rest"
20
+ require "google/apps/meet/v2/conference_records_service/rest"
21
+ require "google/apps/meet/v2/version"
22
+
23
+ module Google
24
+ module Apps
25
+ module Meet
26
+ ##
27
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
28
+ #
29
+ # @example
30
+ #
31
+ # require "google/apps/meet/v2/rest"
32
+ # client = ::Google::Apps::Meet::V2::SpacesService::Rest::Client.new
33
+ #
34
+ module V2
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,73 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/apps/meet/v2/service.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/apps/meet/v2/resource_pb'
12
+ require 'google/protobuf/empty_pb'
13
+ require 'google/protobuf/field_mask_pb'
14
+
15
+
16
+ descriptor_data = "\n!google/apps/meet/v2/service.proto\x12\x13google.apps.meet.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/apps/meet/v2/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"?\n\x12\x43reateSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x1a.google.apps.meet.v2.Space\"B\n\x0fGetSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19meet.googleapis.com/Space\"z\n\x12UpdateSpaceRequest\x12.\n\x05space\x18\x01 \x01(\x0b\x32\x1a.google.apps.meet.v2.SpaceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"M\n\x1a\x45ndActiveConferenceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19meet.googleapis.com/Space\"X\n\x1aGetConferenceRecordRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$meet.googleapis.com/ConferenceRecord\"d\n\x1cListConferenceRecordsRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"{\n\x1dListConferenceRecordsResponse\x12\x41\n\x12\x63onference_records\x18\x01 \x03(\x0b\x32%.google.apps.meet.v2.ConferenceRecord\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"N\n\x15GetParticipantRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmeet.googleapis.com/Participant\"\x8e\x01\n\x17ListParticipantsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fmeet.googleapis.com/Participant\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x18ListParticipantsResponse\x12\x36\n\x0cparticipants\x18\x01 \x03(\x0b\x32 .google.apps.meet.v2.Participant\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"\\\n\x1cGetParticipantSessionRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&meet.googleapis.com/ParticipantSession\"\xa6\x01\n\x1eListParticipantSessionsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&meet.googleapis.com/ParticipantSession\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x81\x01\n\x1fListParticipantSessionsResponse\x12\x45\n\x14participant_sessions\x18\x01 \x03(\x0b\x32\'.google.apps.meet.v2.ParticipantSession\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"J\n\x13GetRecordingRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dmeet.googleapis.com/Recording\"u\n\x15ListRecordingsRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1dmeet.googleapis.com/Recording\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"e\n\x16ListRecordingsResponse\x12\x32\n\nrecordings\x18\x01 \x03(\x0b\x32\x1e.google.apps.meet.v2.Recording\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"L\n\x14GetTranscriptRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1emeet.googleapis.com/Transcript\"w\n\x16ListTranscriptsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1emeet.googleapis.com/Transcript\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"h\n\x17ListTranscriptsResponse\x12\x34\n\x0btranscripts\x18\x01 \x03(\x0b\x32\x1f.google.apps.meet.v2.Transcript\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"V\n\x19GetTranscriptEntryRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#meet.googleapis.com/TranscriptEntry\"\x82\x01\n\x1cListTranscriptEntriesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#meet.googleapis.com/TranscriptEntry\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"z\n\x1dListTranscriptEntriesResponse\x12@\n\x12transcript_entries\x18\x01 \x03(\x0b\x32$.google.apps.meet.v2.TranscriptEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xb1\x05\n\rSpacesService\x12u\n\x0b\x43reateSpace\x12\'.google.apps.meet.v2.CreateSpaceRequest\x1a\x1a.google.apps.meet.v2.Space\"!\xda\x41\x05space\x82\xd3\xe4\x93\x02\x13\"\n/v2/spaces:\x05space\x12p\n\x08GetSpace\x12$.google.apps.meet.v2.GetSpaceRequest\x1a\x1a.google.apps.meet.v2.Space\"\"\xda\x41\x04name\x82\xd3\xe4\x93\x02\x15\x12\x13/v2/{name=spaces/*}\x12\x90\x01\n\x0bUpdateSpace\x12\'.google.apps.meet.v2.UpdateSpaceRequest\x1a\x1a.google.apps.meet.v2.Space\"<\xda\x41\x11space,update_mask\x82\xd3\xe4\x93\x02\"2\x19/v2/{space.name=spaces/*}:\x05space\x12\x99\x01\n\x13\x45ndActiveConference\x12/.google.apps.meet.v2.EndActiveConferenceRequest\x1a\x16.google.protobuf.Empty\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\"\'/v2/{name=spaces/*}:endActiveConference:\x01*\x1a\x87\x01\xca\x41\x13meet.googleapis.com\xd2\x41nhttps://www.googleapis.com/auth/meetings.space.created,https://www.googleapis.com/auth/meetings.space.readonly2\xe3\x11\n\x18\x43onferenceRecordsService\x12\x9c\x01\n\x13GetConferenceRecord\x12/.google.apps.meet.v2.GetConferenceRecordRequest\x1a%.google.apps.meet.v2.ConferenceRecord\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/v2/{name=conferenceRecords/*}\x12\x9d\x01\n\x15ListConferenceRecords\x12\x31.google.apps.meet.v2.ListConferenceRecordsRequest\x1a\x32.google.apps.meet.v2.ListConferenceRecordsResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v2/conferenceRecords\x12\x9c\x01\n\x0eGetParticipant\x12*.google.apps.meet.v2.GetParticipantRequest\x1a .google.apps.meet.v2.Participant\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v2/{name=conferenceRecords/*/participants/*}\x12\xaf\x01\n\x10ListParticipants\x12,.google.apps.meet.v2.ListParticipantsRequest\x1a-.google.apps.meet.v2.ListParticipantsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v2/{parent=conferenceRecords/*}/participants\x12\xc7\x01\n\x15GetParticipantSession\x12\x31.google.apps.meet.v2.GetParticipantSessionRequest\x1a\'.google.apps.meet.v2.ParticipantSession\"R\xda\x41\x04name\x82\xd3\xe4\x93\x02\x45\x12\x43/v2/{name=conferenceRecords/*/participants/*/participantSessions/*}\x12\xda\x01\n\x17ListParticipantSessions\x12\x33.google.apps.meet.v2.ListParticipantSessionsRequest\x1a\x34.google.apps.meet.v2.ListParticipantSessionsResponse\"T\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x45\x12\x43/v2/{parent=conferenceRecords/*/participants/*}/participantSessions\x12\x94\x01\n\x0cGetRecording\x12(.google.apps.meet.v2.GetRecordingRequest\x1a\x1e.google.apps.meet.v2.Recording\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v2/{name=conferenceRecords/*/recordings/*}\x12\xa7\x01\n\x0eListRecordings\x12*.google.apps.meet.v2.ListRecordingsRequest\x1a+.google.apps.meet.v2.ListRecordingsResponse\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v2/{parent=conferenceRecords/*}/recordings\x12\x98\x01\n\rGetTranscript\x12).google.apps.meet.v2.GetTranscriptRequest\x1a\x1f.google.apps.meet.v2.Transcript\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v2/{name=conferenceRecords/*/transcripts/*}\x12\xab\x01\n\x0fListTranscripts\x12+.google.apps.meet.v2.ListTranscriptsRequest\x1a,.google.apps.meet.v2.ListTranscriptsResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v2/{parent=conferenceRecords/*}/transcripts\x12\xb1\x01\n\x12GetTranscriptEntry\x12..google.apps.meet.v2.GetTranscriptEntryRequest\x1a$.google.apps.meet.v2.TranscriptEntry\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{name=conferenceRecords/*/transcripts/*/entries/*}\x12\xc7\x01\n\x15ListTranscriptEntries\x12\x31.google.apps.meet.v2.ListTranscriptEntriesRequest\x1a\x32.google.apps.meet.v2.ListTranscriptEntriesResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{parent=conferenceRecords/*/transcripts/*}/entries\x1a\x87\x01\xca\x41\x13meet.googleapis.com\xd2\x41nhttps://www.googleapis.com/auth/meetings.space.created,https://www.googleapis.com/auth/meetings.space.readonlyB\xa1\x01\n\x17\x63om.google.apps.meet.v2B\x0cServiceProtoP\x01Z1cloud.google.com/go/apps/meet/apiv2/meetpb;meetpb\xaa\x02\x13Google.Apps.Meet.V2\xca\x02\x13Google\\Apps\\Meet\\V2\xea\x02\x16Google::Apps::Meet::V2b\x06proto3"
17
+
18
+ pool = Google::Protobuf::DescriptorPool.generated_pool
19
+
20
+ begin
21
+ pool.add_serialized_file(descriptor_data)
22
+ rescue TypeError
23
+ # Compatibility code: will be removed in the next major version.
24
+ require 'google/protobuf/descriptor_pb'
25
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
+ parsed.clear_dependency
27
+ serialized = parsed.class.encode(parsed)
28
+ file = pool.add_serialized_file(serialized)
29
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
+ imports = [
31
+ ["google.apps.meet.v2.Space", "google/apps/meet/v2/resource.proto"],
32
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
33
+ ]
34
+ imports.each do |type_name, expected_filename|
35
+ import_file = pool.lookup(type_name).file_descriptor
36
+ if import_file.name != expected_filename
37
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
38
+ end
39
+ end
40
+ warn "Each proto file must use a consistent fully-qualified name."
41
+ warn "This will become an error in the next major version."
42
+ end
43
+
44
+ module Google
45
+ module Apps
46
+ module Meet
47
+ module V2
48
+ CreateSpaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.CreateSpaceRequest").msgclass
49
+ GetSpaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.GetSpaceRequest").msgclass
50
+ UpdateSpaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.UpdateSpaceRequest").msgclass
51
+ EndActiveConferenceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.EndActiveConferenceRequest").msgclass
52
+ GetConferenceRecordRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.GetConferenceRecordRequest").msgclass
53
+ ListConferenceRecordsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ListConferenceRecordsRequest").msgclass
54
+ ListConferenceRecordsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ListConferenceRecordsResponse").msgclass
55
+ GetParticipantRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.GetParticipantRequest").msgclass
56
+ ListParticipantsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ListParticipantsRequest").msgclass
57
+ ListParticipantsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ListParticipantsResponse").msgclass
58
+ GetParticipantSessionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.GetParticipantSessionRequest").msgclass
59
+ ListParticipantSessionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ListParticipantSessionsRequest").msgclass
60
+ ListParticipantSessionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ListParticipantSessionsResponse").msgclass
61
+ GetRecordingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.GetRecordingRequest").msgclass
62
+ ListRecordingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ListRecordingsRequest").msgclass
63
+ ListRecordingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ListRecordingsResponse").msgclass
64
+ GetTranscriptRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.GetTranscriptRequest").msgclass
65
+ ListTranscriptsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ListTranscriptsRequest").msgclass
66
+ ListTranscriptsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ListTranscriptsResponse").msgclass
67
+ GetTranscriptEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.GetTranscriptEntryRequest").msgclass
68
+ ListTranscriptEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ListTranscriptEntriesRequest").msgclass
69
+ ListTranscriptEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.apps.meet.v2.ListTranscriptEntriesResponse").msgclass
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,109 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/apps/meet/v2/service.proto for package 'Google.Apps.Meet.V2'
3
+ # Original file comments:
4
+ # Copyright 2023 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/apps/meet/v2/service_pb'
21
+
22
+ module Google
23
+ module Apps
24
+ module Meet
25
+ module V2
26
+ module SpacesService
27
+ # REST API for services dealing with spaces.
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.apps.meet.v2.SpacesService'
35
+
36
+ # Creates a space.
37
+ rpc :CreateSpace, ::Google::Apps::Meet::V2::CreateSpaceRequest, ::Google::Apps::Meet::V2::Space
38
+ # Gets a space by `space_id` or `meeting_code`.
39
+ rpc :GetSpace, ::Google::Apps::Meet::V2::GetSpaceRequest, ::Google::Apps::Meet::V2::Space
40
+ # Updates a space.
41
+ rpc :UpdateSpace, ::Google::Apps::Meet::V2::UpdateSpaceRequest, ::Google::Apps::Meet::V2::Space
42
+ # Ends an active conference (if there's one).
43
+ rpc :EndActiveConference, ::Google::Apps::Meet::V2::EndActiveConferenceRequest, ::Google::Protobuf::Empty
44
+ end
45
+
46
+ Stub = Service.rpc_stub_class
47
+ end
48
+ module ConferenceRecordsService
49
+ # REST API for services dealing with conference records.
50
+ class Service
51
+
52
+ include ::GRPC::GenericService
53
+
54
+ self.marshal_class_method = :encode
55
+ self.unmarshal_class_method = :decode
56
+ self.service_name = 'google.apps.meet.v2.ConferenceRecordsService'
57
+
58
+ # Gets a conference record by conference ID.
59
+ rpc :GetConferenceRecord, ::Google::Apps::Meet::V2::GetConferenceRecordRequest, ::Google::Apps::Meet::V2::ConferenceRecord
60
+ # Lists the conference records. By default, ordered by start time and in
61
+ # descending order.
62
+ rpc :ListConferenceRecords, ::Google::Apps::Meet::V2::ListConferenceRecordsRequest, ::Google::Apps::Meet::V2::ListConferenceRecordsResponse
63
+ # Gets a participant by participant ID.
64
+ rpc :GetParticipant, ::Google::Apps::Meet::V2::GetParticipantRequest, ::Google::Apps::Meet::V2::Participant
65
+ # Lists the participants in a conference record. By default, ordered by join
66
+ # time and in descending order. This API supports `fields` as standard
67
+ # parameters like every other API. However, when the `fields` request
68
+ # parameter is omitted, this API defaults to `'participants/*,
69
+ # next_page_token'`.
70
+ rpc :ListParticipants, ::Google::Apps::Meet::V2::ListParticipantsRequest, ::Google::Apps::Meet::V2::ListParticipantsResponse
71
+ # Gets a participant session by participant session ID.
72
+ rpc :GetParticipantSession, ::Google::Apps::Meet::V2::GetParticipantSessionRequest, ::Google::Apps::Meet::V2::ParticipantSession
73
+ # Lists the participant sessions of a participant in a conference record. By
74
+ # default, ordered by join time and in descending order. This API supports
75
+ # `fields` as standard parameters like every other API. However, when the
76
+ # `fields` request parameter is omitted this API defaults to
77
+ # `'participantsessions/*, next_page_token'`.
78
+ rpc :ListParticipantSessions, ::Google::Apps::Meet::V2::ListParticipantSessionsRequest, ::Google::Apps::Meet::V2::ListParticipantSessionsResponse
79
+ # Gets a recording by recording ID.
80
+ rpc :GetRecording, ::Google::Apps::Meet::V2::GetRecordingRequest, ::Google::Apps::Meet::V2::Recording
81
+ # Lists the recording resources from the conference record. By default,
82
+ # ordered by start time and in ascending order.
83
+ rpc :ListRecordings, ::Google::Apps::Meet::V2::ListRecordingsRequest, ::Google::Apps::Meet::V2::ListRecordingsResponse
84
+ # Gets a transcript by transcript ID.
85
+ rpc :GetTranscript, ::Google::Apps::Meet::V2::GetTranscriptRequest, ::Google::Apps::Meet::V2::Transcript
86
+ # Lists the set of transcripts from the conference record. By default,
87
+ # ordered by start time and in ascending order.
88
+ rpc :ListTranscripts, ::Google::Apps::Meet::V2::ListTranscriptsRequest, ::Google::Apps::Meet::V2::ListTranscriptsResponse
89
+ # Gets a `TranscriptEntry` resource by entry ID.
90
+ #
91
+ # Note: The transcript entries returned by the Google Meet API might not
92
+ # match the transcription found in the Google Docs transcript file. This can
93
+ # occur when the Google Docs transcript file is modified after generation.
94
+ rpc :GetTranscriptEntry, ::Google::Apps::Meet::V2::GetTranscriptEntryRequest, ::Google::Apps::Meet::V2::TranscriptEntry
95
+ # Lists the structured transcript entries per transcript. By default, ordered
96
+ # by start time and in ascending order.
97
+ #
98
+ # Note: The transcript entries returned by the Google Meet API might not
99
+ # match the transcription found in the Google Docs transcript file. This can
100
+ # occur when the Google Docs transcript file is modified after generation.
101
+ rpc :ListTranscriptEntries, ::Google::Apps::Meet::V2::ListTranscriptEntriesRequest, ::Google::Apps::Meet::V2::ListTranscriptEntriesResponse
102
+ end
103
+
104
+ Stub = Service.rpc_stub_class
105
+ end
106
+ end
107
+ end
108
+ end
109
+ end