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,48 @@
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 "googleauth"
20
+
21
+ module Google
22
+ module Apps
23
+ module Meet
24
+ module V2
25
+ module ConferenceRecordsService
26
+ # Credentials for the ConferenceRecordsService API.
27
+ class Credentials < ::Google::Auth::Credentials
28
+ self.scope = [
29
+ "https://www.googleapis.com/auth/meetings.space.created",
30
+ "https://www.googleapis.com/auth/meetings.space.readonly"
31
+ ]
32
+ self.env_vars = [
33
+ "GOOGLE_CLOUD_CREDENTIALS",
34
+ "GOOGLE_CLOUD_KEYFILE",
35
+ "GCLOUD_KEYFILE",
36
+ "GOOGLE_CLOUD_CREDENTIALS_JSON",
37
+ "GOOGLE_CLOUD_KEYFILE_JSON",
38
+ "GCLOUD_KEYFILE_JSON"
39
+ ]
40
+ self.paths = [
41
+ "~/.config/google_cloud/application_default_credentials.json"
42
+ ]
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,136 @@
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
+ module ConferenceRecordsService
25
+ # Path helper methods for the ConferenceRecordsService API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified ConferenceRecord resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `conferenceRecords/{conference_record}`
33
+ #
34
+ # @param conference_record [String]
35
+ #
36
+ # @return [::String]
37
+ def conference_record_path conference_record:
38
+ "conferenceRecords/#{conference_record}"
39
+ end
40
+
41
+ ##
42
+ # Create a fully-qualified Participant resource string.
43
+ #
44
+ # The resource will be in the following format:
45
+ #
46
+ # `conferenceRecords/{conference_record}/participants/{participant}`
47
+ #
48
+ # @param conference_record [String]
49
+ # @param participant [String]
50
+ #
51
+ # @return [::String]
52
+ def participant_path conference_record:, participant:
53
+ raise ::ArgumentError, "conference_record cannot contain /" if conference_record.to_s.include? "/"
54
+
55
+ "conferenceRecords/#{conference_record}/participants/#{participant}"
56
+ end
57
+
58
+ ##
59
+ # Create a fully-qualified ParticipantSession resource string.
60
+ #
61
+ # The resource will be in the following format:
62
+ #
63
+ # `conferenceRecords/{conference_record}/participants/{participant}/participantSessions/{participant_session}`
64
+ #
65
+ # @param conference_record [String]
66
+ # @param participant [String]
67
+ # @param participant_session [String]
68
+ #
69
+ # @return [::String]
70
+ def participant_session_path conference_record:, participant:, participant_session:
71
+ raise ::ArgumentError, "conference_record cannot contain /" if conference_record.to_s.include? "/"
72
+ raise ::ArgumentError, "participant cannot contain /" if participant.to_s.include? "/"
73
+
74
+ "conferenceRecords/#{conference_record}/participants/#{participant}/participantSessions/#{participant_session}"
75
+ end
76
+
77
+ ##
78
+ # Create a fully-qualified Recording resource string.
79
+ #
80
+ # The resource will be in the following format:
81
+ #
82
+ # `conferenceRecords/{conference_record}/recordings/{recording}`
83
+ #
84
+ # @param conference_record [String]
85
+ # @param recording [String]
86
+ #
87
+ # @return [::String]
88
+ def recording_path conference_record:, recording:
89
+ raise ::ArgumentError, "conference_record cannot contain /" if conference_record.to_s.include? "/"
90
+
91
+ "conferenceRecords/#{conference_record}/recordings/#{recording}"
92
+ end
93
+
94
+ ##
95
+ # Create a fully-qualified Transcript resource string.
96
+ #
97
+ # The resource will be in the following format:
98
+ #
99
+ # `conferenceRecords/{conference_record}/transcripts/{transcript}`
100
+ #
101
+ # @param conference_record [String]
102
+ # @param transcript [String]
103
+ #
104
+ # @return [::String]
105
+ def transcript_path conference_record:, transcript:
106
+ raise ::ArgumentError, "conference_record cannot contain /" if conference_record.to_s.include? "/"
107
+
108
+ "conferenceRecords/#{conference_record}/transcripts/#{transcript}"
109
+ end
110
+
111
+ ##
112
+ # Create a fully-qualified TranscriptEntry resource string.
113
+ #
114
+ # The resource will be in the following format:
115
+ #
116
+ # `conferenceRecords/{conference_record}/transcripts/{transcript}/entries/{entry}`
117
+ #
118
+ # @param conference_record [String]
119
+ # @param transcript [String]
120
+ # @param entry [String]
121
+ #
122
+ # @return [::String]
123
+ def transcript_entry_path conference_record:, transcript:, entry:
124
+ raise ::ArgumentError, "conference_record cannot contain /" if conference_record.to_s.include? "/"
125
+ raise ::ArgumentError, "transcript cannot contain /" if transcript.to_s.include? "/"
126
+
127
+ "conferenceRecords/#{conference_record}/transcripts/#{transcript}/entries/#{entry}"
128
+ end
129
+
130
+ extend self
131
+ end
132
+ end
133
+ end
134
+ end
135
+ end
136
+ end