google-apps-meet-v2 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: befee9c8978656d8f4f0d422c67acd00125108189bb310e0c39912e2da0fd50a
4
- data.tar.gz: 291bdb6f7965ea01c9601a96caf6a3edfe12abad8b765dd846b3cc81f48d202c
3
+ metadata.gz: 7759f5ad9bb4c9b6fe6f120f44bfd452693b86ecbf3a4e59a0b7c2535d309389
4
+ data.tar.gz: ffa55f4289a86482b4b430834d4bb8723041d691dd25195891b99086d9218b3e
5
5
  SHA512:
6
- metadata.gz: 32355d96d9cbabebd88632f01a225446643ebe60014ad8c68a40e258c5018ee8197b2bc2c20495a80292587b24068860ea8e01a7521e9126894904bb8a2bdadd
7
- data.tar.gz: b10c1ba644ad7f3ce9bd139fcd5e071eadd340b22ceb9db0049e21013a5a7effd891afd55a759e4497ecc7a5c2e55d87d148034ee2c6f5f286f9d654a8a36ce2
6
+ metadata.gz: 0070a6c5754bf0df02c888ea9470d355e84e7d17366b978a42ecdec55c87a214ae30289c31cd6128a68557bda5a5adf057227e33b16c5d448aec0612a314518d
7
+ data.tar.gz: 3930102042261f74f70f3c63097a58e83f6007094e32a17c587733e91f8c601117a2aff3de7175b33902af69263481fcf6b93fc892f0a6ca2b87cc22a3335259
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  Create and manage meetings in Google Meet.
4
4
 
5
- Create and manage meetings in Google Meet.
6
5
 
7
6
  https://github.com/googleapis/google-cloud-ruby
8
7
 
@@ -30,6 +30,9 @@ module Google
30
30
  # REST API for services dealing with conference records.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "meet.$UNIVERSE_DOMAIN$"
35
38
 
@@ -275,10 +278,11 @@ module Google
275
278
  # Customize the options with defaults
276
279
  metadata = @config.rpcs.get_conference_record.metadata.to_h
277
280
 
278
- # Set x-goog-api-client and x-goog-user-project headers
281
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
279
282
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
280
283
  lib_name: @config.lib_name, lib_version: @config.lib_version,
281
284
  gapic_version: ::Google::Apps::Meet::V2::VERSION
285
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
282
286
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
283
287
 
284
288
  header_params = {}
@@ -381,10 +385,11 @@ module Google
381
385
  # Customize the options with defaults
382
386
  metadata = @config.rpcs.list_conference_records.metadata.to_h
383
387
 
384
- # Set x-goog-api-client and x-goog-user-project headers
388
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
385
389
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
386
390
  lib_name: @config.lib_name, lib_version: @config.lib_version,
387
391
  gapic_version: ::Google::Apps::Meet::V2::VERSION
392
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
388
393
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
389
394
 
390
395
  options.apply_defaults timeout: @config.rpcs.list_conference_records.timeout,
@@ -459,10 +464,11 @@ module Google
459
464
  # Customize the options with defaults
460
465
  metadata = @config.rpcs.get_participant.metadata.to_h
461
466
 
462
- # Set x-goog-api-client and x-goog-user-project headers
467
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
463
468
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
464
469
  lib_name: @config.lib_name, lib_version: @config.lib_version,
465
470
  gapic_version: ::Google::Apps::Meet::V2::VERSION
471
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
466
472
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
467
473
 
468
474
  header_params = {}
@@ -570,10 +576,11 @@ module Google
570
576
  # Customize the options with defaults
571
577
  metadata = @config.rpcs.list_participants.metadata.to_h
572
578
 
573
- # Set x-goog-api-client and x-goog-user-project headers
579
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
574
580
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
575
581
  lib_name: @config.lib_name, lib_version: @config.lib_version,
576
582
  gapic_version: ::Google::Apps::Meet::V2::VERSION
583
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
577
584
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
578
585
 
579
586
  header_params = {}
@@ -656,10 +663,11 @@ module Google
656
663
  # Customize the options with defaults
657
664
  metadata = @config.rpcs.get_participant_session.metadata.to_h
658
665
 
659
- # Set x-goog-api-client and x-goog-user-project headers
666
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
660
667
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
661
668
  lib_name: @config.lib_name, lib_version: @config.lib_version,
662
669
  gapic_version: ::Google::Apps::Meet::V2::VERSION
670
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
663
671
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
664
672
 
665
673
  header_params = {}
@@ -767,10 +775,11 @@ module Google
767
775
  # Customize the options with defaults
768
776
  metadata = @config.rpcs.list_participant_sessions.metadata.to_h
769
777
 
770
- # Set x-goog-api-client and x-goog-user-project headers
778
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
771
779
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
772
780
  lib_name: @config.lib_name, lib_version: @config.lib_version,
773
781
  gapic_version: ::Google::Apps::Meet::V2::VERSION
782
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
774
783
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
775
784
 
776
785
  header_params = {}
@@ -853,10 +862,11 @@ module Google
853
862
  # Customize the options with defaults
854
863
  metadata = @config.rpcs.get_recording.metadata.to_h
855
864
 
856
- # Set x-goog-api-client and x-goog-user-project headers
865
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
857
866
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
858
867
  lib_name: @config.lib_name, lib_version: @config.lib_version,
859
868
  gapic_version: ::Google::Apps::Meet::V2::VERSION
869
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
860
870
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
861
871
 
862
872
  header_params = {}
@@ -951,10 +961,11 @@ module Google
951
961
  # Customize the options with defaults
952
962
  metadata = @config.rpcs.list_recordings.metadata.to_h
953
963
 
954
- # Set x-goog-api-client and x-goog-user-project headers
964
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
955
965
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
956
966
  lib_name: @config.lib_name, lib_version: @config.lib_version,
957
967
  gapic_version: ::Google::Apps::Meet::V2::VERSION
968
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
958
969
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
959
970
 
960
971
  header_params = {}
@@ -1037,10 +1048,11 @@ module Google
1037
1048
  # Customize the options with defaults
1038
1049
  metadata = @config.rpcs.get_transcript.metadata.to_h
1039
1050
 
1040
- # Set x-goog-api-client and x-goog-user-project headers
1051
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1041
1052
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1042
1053
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1043
1054
  gapic_version: ::Google::Apps::Meet::V2::VERSION
1055
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1044
1056
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1045
1057
 
1046
1058
  header_params = {}
@@ -1135,10 +1147,11 @@ module Google
1135
1147
  # Customize the options with defaults
1136
1148
  metadata = @config.rpcs.list_transcripts.metadata.to_h
1137
1149
 
1138
- # Set x-goog-api-client and x-goog-user-project headers
1150
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1139
1151
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1140
1152
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1141
1153
  gapic_version: ::Google::Apps::Meet::V2::VERSION
1154
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1142
1155
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1143
1156
 
1144
1157
  header_params = {}
@@ -1225,10 +1238,11 @@ module Google
1225
1238
  # Customize the options with defaults
1226
1239
  metadata = @config.rpcs.get_transcript_entry.metadata.to_h
1227
1240
 
1228
- # Set x-goog-api-client and x-goog-user-project headers
1241
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1229
1242
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1230
1243
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1231
1244
  gapic_version: ::Google::Apps::Meet::V2::VERSION
1245
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1232
1246
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1233
1247
 
1234
1248
  header_params = {}
@@ -1328,10 +1342,11 @@ module Google
1328
1342
  # Customize the options with defaults
1329
1343
  metadata = @config.rpcs.list_transcript_entries.metadata.to_h
1330
1344
 
1331
- # Set x-goog-api-client and x-goog-user-project headers
1345
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1332
1346
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1333
1347
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1334
1348
  gapic_version: ::Google::Apps::Meet::V2::VERSION
1349
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1335
1350
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1336
1351
 
1337
1352
  header_params = {}
@@ -32,6 +32,9 @@ module Google
32
32
  # REST API for services dealing with conference records.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "meet.$UNIVERSE_DOMAIN$"
37
40
 
@@ -267,12 +270,13 @@ module Google
267
270
  # Customize the options with defaults
268
271
  call_metadata = @config.rpcs.get_conference_record.metadata.to_h
269
272
 
270
- # Set x-goog-api-client and x-goog-user-project headers
273
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
271
274
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
272
275
  lib_name: @config.lib_name, lib_version: @config.lib_version,
273
276
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
274
277
  transports_version_send: [:rest]
275
278
 
279
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
276
280
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
277
281
 
278
282
  options.apply_defaults timeout: @config.rpcs.get_conference_record.timeout,
@@ -366,12 +370,13 @@ module Google
366
370
  # Customize the options with defaults
367
371
  call_metadata = @config.rpcs.list_conference_records.metadata.to_h
368
372
 
369
- # Set x-goog-api-client and x-goog-user-project headers
373
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
370
374
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
371
375
  lib_name: @config.lib_name, lib_version: @config.lib_version,
372
376
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
373
377
  transports_version_send: [:rest]
374
378
 
379
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
375
380
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
376
381
 
377
382
  options.apply_defaults timeout: @config.rpcs.list_conference_records.timeout,
@@ -445,12 +450,13 @@ module Google
445
450
  # Customize the options with defaults
446
451
  call_metadata = @config.rpcs.get_participant.metadata.to_h
447
452
 
448
- # Set x-goog-api-client and x-goog-user-project headers
453
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
449
454
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
450
455
  lib_name: @config.lib_name, lib_version: @config.lib_version,
451
456
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
452
457
  transports_version_send: [:rest]
453
458
 
459
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
454
460
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
455
461
 
456
462
  options.apply_defaults timeout: @config.rpcs.get_participant.timeout,
@@ -549,12 +555,13 @@ module Google
549
555
  # Customize the options with defaults
550
556
  call_metadata = @config.rpcs.list_participants.metadata.to_h
551
557
 
552
- # Set x-goog-api-client and x-goog-user-project headers
558
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
553
559
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
554
560
  lib_name: @config.lib_name, lib_version: @config.lib_version,
555
561
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
556
562
  transports_version_send: [:rest]
557
563
 
564
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
558
565
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
559
566
 
560
567
  options.apply_defaults timeout: @config.rpcs.list_participants.timeout,
@@ -628,12 +635,13 @@ module Google
628
635
  # Customize the options with defaults
629
636
  call_metadata = @config.rpcs.get_participant_session.metadata.to_h
630
637
 
631
- # Set x-goog-api-client and x-goog-user-project headers
638
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
632
639
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
633
640
  lib_name: @config.lib_name, lib_version: @config.lib_version,
634
641
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
635
642
  transports_version_send: [:rest]
636
643
 
644
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
637
645
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
638
646
 
639
647
  options.apply_defaults timeout: @config.rpcs.get_participant_session.timeout,
@@ -732,12 +740,13 @@ module Google
732
740
  # Customize the options with defaults
733
741
  call_metadata = @config.rpcs.list_participant_sessions.metadata.to_h
734
742
 
735
- # Set x-goog-api-client and x-goog-user-project headers
743
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
736
744
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
737
745
  lib_name: @config.lib_name, lib_version: @config.lib_version,
738
746
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
739
747
  transports_version_send: [:rest]
740
748
 
749
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
741
750
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
742
751
 
743
752
  options.apply_defaults timeout: @config.rpcs.list_participant_sessions.timeout,
@@ -811,12 +820,13 @@ module Google
811
820
  # Customize the options with defaults
812
821
  call_metadata = @config.rpcs.get_recording.metadata.to_h
813
822
 
814
- # Set x-goog-api-client and x-goog-user-project headers
823
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
815
824
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
816
825
  lib_name: @config.lib_name, lib_version: @config.lib_version,
817
826
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
818
827
  transports_version_send: [:rest]
819
828
 
829
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
820
830
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
821
831
 
822
832
  options.apply_defaults timeout: @config.rpcs.get_recording.timeout,
@@ -902,12 +912,13 @@ module Google
902
912
  # Customize the options with defaults
903
913
  call_metadata = @config.rpcs.list_recordings.metadata.to_h
904
914
 
905
- # Set x-goog-api-client and x-goog-user-project headers
915
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
906
916
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
907
917
  lib_name: @config.lib_name, lib_version: @config.lib_version,
908
918
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
909
919
  transports_version_send: [:rest]
910
920
 
921
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
911
922
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
912
923
 
913
924
  options.apply_defaults timeout: @config.rpcs.list_recordings.timeout,
@@ -981,12 +992,13 @@ module Google
981
992
  # Customize the options with defaults
982
993
  call_metadata = @config.rpcs.get_transcript.metadata.to_h
983
994
 
984
- # Set x-goog-api-client and x-goog-user-project headers
995
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
985
996
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
986
997
  lib_name: @config.lib_name, lib_version: @config.lib_version,
987
998
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
988
999
  transports_version_send: [:rest]
989
1000
 
1001
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
990
1002
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
991
1003
 
992
1004
  options.apply_defaults timeout: @config.rpcs.get_transcript.timeout,
@@ -1072,12 +1084,13 @@ module Google
1072
1084
  # Customize the options with defaults
1073
1085
  call_metadata = @config.rpcs.list_transcripts.metadata.to_h
1074
1086
 
1075
- # Set x-goog-api-client and x-goog-user-project headers
1087
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1076
1088
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1077
1089
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1078
1090
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
1079
1091
  transports_version_send: [:rest]
1080
1092
 
1093
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1081
1094
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1082
1095
 
1083
1096
  options.apply_defaults timeout: @config.rpcs.list_transcripts.timeout,
@@ -1155,12 +1168,13 @@ module Google
1155
1168
  # Customize the options with defaults
1156
1169
  call_metadata = @config.rpcs.get_transcript_entry.metadata.to_h
1157
1170
 
1158
- # Set x-goog-api-client and x-goog-user-project headers
1171
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1159
1172
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1160
1173
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1161
1174
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
1162
1175
  transports_version_send: [:rest]
1163
1176
 
1177
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1164
1178
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1165
1179
 
1166
1180
  options.apply_defaults timeout: @config.rpcs.get_transcript_entry.timeout,
@@ -1251,12 +1265,13 @@ module Google
1251
1265
  # Customize the options with defaults
1252
1266
  call_metadata = @config.rpcs.list_transcript_entries.metadata.to_h
1253
1267
 
1254
- # Set x-goog-api-client and x-goog-user-project headers
1268
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1255
1269
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1256
1270
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1257
1271
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
1258
1272
  transports_version_send: [:rest]
1259
1273
 
1274
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1260
1275
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1261
1276
 
1262
1277
  options.apply_defaults timeout: @config.rpcs.list_transcript_entries.timeout,
@@ -30,6 +30,9 @@ module Google
30
30
  # REST API for services dealing with spaces.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "meet.$UNIVERSE_DOMAIN$"
35
38
 
@@ -227,10 +230,11 @@ module Google
227
230
  # Customize the options with defaults
228
231
  metadata = @config.rpcs.create_space.metadata.to_h
229
232
 
230
- # Set x-goog-api-client and x-goog-user-project headers
233
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
231
234
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
232
235
  lib_name: @config.lib_name, lib_version: @config.lib_version,
233
236
  gapic_version: ::Google::Apps::Meet::V2::VERSION
237
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
234
238
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
235
239
 
236
240
  options.apply_defaults timeout: @config.rpcs.create_space.timeout,
@@ -304,10 +308,11 @@ module Google
304
308
  # Customize the options with defaults
305
309
  metadata = @config.rpcs.get_space.metadata.to_h
306
310
 
307
- # Set x-goog-api-client and x-goog-user-project headers
311
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
308
312
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
309
313
  lib_name: @config.lib_name, lib_version: @config.lib_version,
310
314
  gapic_version: ::Google::Apps::Meet::V2::VERSION
315
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
311
316
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
312
317
 
313
318
  header_params = {}
@@ -394,10 +399,11 @@ module Google
394
399
  # Customize the options with defaults
395
400
  metadata = @config.rpcs.update_space.metadata.to_h
396
401
 
397
- # Set x-goog-api-client and x-goog-user-project headers
402
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
398
403
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
399
404
  lib_name: @config.lib_name, lib_version: @config.lib_version,
400
405
  gapic_version: ::Google::Apps::Meet::V2::VERSION
406
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
401
407
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
402
408
 
403
409
  header_params = {}
@@ -479,10 +485,11 @@ module Google
479
485
  # Customize the options with defaults
480
486
  metadata = @config.rpcs.end_active_conference.metadata.to_h
481
487
 
482
- # Set x-goog-api-client and x-goog-user-project headers
488
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
483
489
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
484
490
  lib_name: @config.lib_name, lib_version: @config.lib_version,
485
491
  gapic_version: ::Google::Apps::Meet::V2::VERSION
492
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
486
493
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
487
494
 
488
495
  header_params = {}
@@ -32,6 +32,9 @@ module Google
32
32
  # REST API for services dealing with spaces.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "meet.$UNIVERSE_DOMAIN$"
37
40
 
@@ -219,12 +222,13 @@ module Google
219
222
  # Customize the options with defaults
220
223
  call_metadata = @config.rpcs.create_space.metadata.to_h
221
224
 
222
- # Set x-goog-api-client and x-goog-user-project headers
225
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
223
226
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
224
227
  lib_name: @config.lib_name, lib_version: @config.lib_version,
225
228
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
226
229
  transports_version_send: [:rest]
227
230
 
231
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
228
232
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
229
233
 
230
234
  options.apply_defaults timeout: @config.rpcs.create_space.timeout,
@@ -297,12 +301,13 @@ module Google
297
301
  # Customize the options with defaults
298
302
  call_metadata = @config.rpcs.get_space.metadata.to_h
299
303
 
300
- # Set x-goog-api-client and x-goog-user-project headers
304
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
301
305
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
302
306
  lib_name: @config.lib_name, lib_version: @config.lib_version,
303
307
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
304
308
  transports_version_send: [:rest]
305
309
 
310
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
306
311
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
307
312
 
308
313
  options.apply_defaults timeout: @config.rpcs.get_space.timeout,
@@ -380,12 +385,13 @@ module Google
380
385
  # Customize the options with defaults
381
386
  call_metadata = @config.rpcs.update_space.metadata.to_h
382
387
 
383
- # Set x-goog-api-client and x-goog-user-project headers
388
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
384
389
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
385
390
  lib_name: @config.lib_name, lib_version: @config.lib_version,
386
391
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
387
392
  transports_version_send: [:rest]
388
393
 
394
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
389
395
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
390
396
 
391
397
  options.apply_defaults timeout: @config.rpcs.update_space.timeout,
@@ -458,12 +464,13 @@ module Google
458
464
  # Customize the options with defaults
459
465
  call_metadata = @config.rpcs.end_active_conference.metadata.to_h
460
466
 
461
- # Set x-goog-api-client and x-goog-user-project headers
467
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
462
468
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
463
469
  lib_name: @config.lib_name, lib_version: @config.lib_version,
464
470
  gapic_version: ::Google::Apps::Meet::V2::VERSION,
465
471
  transports_version_send: [:rest]
466
472
 
473
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
467
474
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
468
475
 
469
476
  options.apply_defaults timeout: @config.rpcs.end_active_conference.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Apps
22
22
  module Meet
23
23
  module V2
24
- VERSION = "0.2.0"
24
+ VERSION = "0.2.2"
25
25
  end
26
26
  end
27
27
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
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
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apps-meet-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common