google-apps-meet-v2 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98f54edb3f21718ce55093390e7e4b8b900cd85d0c801b232ed5a093ce5cf12a
4
- data.tar.gz: 2f8c2bc3bd3b7b5e3ea579ec5b312ed51e76f1add52e9898671898d59ed841d2
3
+ metadata.gz: a94b8e2d8a93dad76ba885de4f3ca190488762f6f4e5d91d4d0a6b0ec72513b7
4
+ data.tar.gz: fb7ca00dcdce9183664b76b4690bc59726c0ec32df590a3392f4001b524be2bf
5
5
  SHA512:
6
- metadata.gz: 0ea37041323fe0b3b0e8d75ccaf76df6595bc269a17a5891b93042b8b11756b6eea81e117757a0022bbd163578302ee7f1373bd2f50f9aa84d4c121fc5d685b4
7
- data.tar.gz: 148ed7cca6340613b150bedcc210ab95589c3eeddb4d34eec78604324079653aec3b7a338509c872ea057b8df6d19d10724d9b5538c1a0c4c94ab3e3ed84cf22
6
+ metadata.gz: e0e93aec141316d968422fad631328a9eb32d978b2a755e7cfce769686c19b9ea45140266cde89bfc18c740b86aba03734463b095f428d16c6cb555dce44932e
7
+ data.tar.gz: a8c9e11b45631316a225679e6ba32797432694bb824ed940bf4aaf3197f244b60ba90b02d91ded8339e16ca3fd50a62151c1651998b3d6c5d8df3ff70e351631
@@ -1429,8 +1429,6 @@ module Google
1429
1429
  # @return [::String,nil]
1430
1430
  # @!attribute [rw] credentials
1431
1431
  # Credentials to send with calls. You may provide any of the following types:
1432
- # * (`String`) The path to a service account key file in JSON format
1433
- # * (`Hash`) A service account key as a Hash
1434
1432
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1435
1433
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1436
1434
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1439,7 +1437,26 @@ module Google
1439
1437
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1440
1438
  # * (`nil`) indicating no credentials
1441
1439
  #
1442
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1440
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1441
+ # is deprecated. Providing an unvalidated credential configuration to
1442
+ # Google APIs can compromise the security of your systems and data.
1443
+ #
1444
+ # @example
1445
+ #
1446
+ # # The recommended way to provide credentials is to use the `make_creds` method
1447
+ # # on the appropriate credentials class for your environment.
1448
+ #
1449
+ # require "googleauth"
1450
+ #
1451
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1452
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1453
+ # )
1454
+ #
1455
+ # client = ::Google::Apps::Meet::V2::ConferenceRecordsService::Client.new do |config|
1456
+ # config.credentials = credentials
1457
+ # end
1458
+ #
1459
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1443
1460
  # external source for authentication to Google Cloud, you must validate it before
1444
1461
  # providing it to a Google API client library. Providing an unvalidated credential
1445
1462
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -11,30 +11,8 @@ require 'google/protobuf/timestamp_pb'
11
11
 
12
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
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
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
38
16
 
39
17
  module Google
40
18
  module Apps
@@ -15,31 +15,8 @@ require 'google/protobuf/field_mask_pb'
15
15
 
16
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\xea\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\xc0\x01\xca\x41\x13meet.googleapis.com\xd2\x41\xa6\x01https://www.googleapis.com/auth/meetings.space.created,https://www.googleapis.com/auth/meetings.space.readonly,https://www.googleapis.com/auth/meetings.space.settings2\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
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
18
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
19
+ pool.add_serialized_file(descriptor_data)
43
20
 
44
21
  module Google
45
22
  module Apps
@@ -604,8 +604,6 @@ module Google
604
604
  # @return [::String,nil]
605
605
  # @!attribute [rw] credentials
606
606
  # Credentials to send with calls. You may provide any of the following types:
607
- # * (`String`) The path to a service account key file in JSON format
608
- # * (`Hash`) A service account key as a Hash
609
607
  # * (`Google::Auth::Credentials`) A googleauth credentials object
610
608
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
611
609
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -614,7 +612,26 @@ module Google
614
612
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
615
613
  # * (`nil`) indicating no credentials
616
614
  #
617
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
615
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
616
+ # is deprecated. Providing an unvalidated credential configuration to
617
+ # Google APIs can compromise the security of your systems and data.
618
+ #
619
+ # @example
620
+ #
621
+ # # The recommended way to provide credentials is to use the `make_creds` method
622
+ # # on the appropriate credentials class for your environment.
623
+ #
624
+ # require "googleauth"
625
+ #
626
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
627
+ # json_key_io: ::File.open("/path/to/keyfile.json")
628
+ # )
629
+ #
630
+ # client = ::Google::Apps::Meet::V2::SpacesService::Client.new do |config|
631
+ # config.credentials = credentials
632
+ # end
633
+ #
634
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
618
635
  # external source for authentication to Google Cloud, you must validate it before
619
636
  # providing it to a Google API client library. Providing an unvalidated credential
620
637
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Apps
22
22
  module Meet
23
23
  module V2
24
- VERSION = "0.6.0"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apps-meet-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -92,7 +92,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: '3.1'
95
+ version: '3.2'
96
96
  required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  requirements:
98
98
  - - ">="