@maxim_mazurok/gapi.client.meet-v2 0.2.20260908 → 0.2.20260910

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.
Files changed (2) hide show
  1. package/index.d.ts +297 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://meet.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20260908
12
+ // Revision: 20260910
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -40,6 +40,16 @@ declare namespace gapi.client {
40
40
  /** Configuration for auto-transcript. */
41
41
  transcriptionConfig?: TranscriptionConfig;
42
42
  }
43
+ interface BatchUpdateMembersRequest {
44
+ /** Required. The request message specifying the resources to update. A maximum of 500 members can be modified in a batch. */
45
+ requests?: UpdateMemberRequest[];
46
+ /** Optional. Top-level field mask used to specify the fields to be updated in the member for all UpdateMemberRequests. There are 4 possible scenarios for top-level and child field mask: 1. top-level and child field mask is absent: All fields provided in the requests are updated, including deleting fields not set in the requests. 2. top-level field mask is present but child field mask is absent: The fields specified in the top-level field mask are updated. 3. top-level and child field mask is present: The child field mask must be the same as the top-level field mask. 4. top-level field mask is absent but child field mask is present: It isn't supported and will return an error. */
47
+ updateMask?: string;
48
+ }
49
+ interface BatchUpdateMembersResponse {
50
+ /** Members updated. */
51
+ members?: Member[];
52
+ }
43
53
  interface ConferenceRecord {
44
54
  /** Output only. Timestamp when the conference ended. Set for past conferences. Unset if the conference is ongoing. */
45
55
  endTime?: string;
@@ -78,6 +88,12 @@ declare namespace gapi.client {
78
88
  /** Token to be circulated back for further List call if current List does NOT include all the Conferences. Unset if all conferences have been returned. */
79
89
  nextPageToken?: string;
80
90
  }
91
+ interface ListMembersResponse {
92
+ /** The list of members for the current page. */
93
+ members?: Member[];
94
+ /** Token to be circulated back for further list call if current list doesn't include all the members. Unset if all members are returned. */
95
+ nextPageToken?: string;
96
+ }
81
97
  interface ListParticipantSessionsResponse {
82
98
  /** Token to be circulated back for further List call if current List doesn't include all the participants. Unset if all participants are returned. */
83
99
  nextPageToken?: string;
@@ -116,6 +132,14 @@ declare namespace gapi.client {
116
132
  /** List of transcripts in one page. */
117
133
  transcripts?: Transcript[];
118
134
  }
135
+ interface Member {
136
+ /** Email for the member. This is required for creating the member. */
137
+ email?: string;
138
+ /** Identifier. Resource name of the member. Format: spaces/{space}/members/{member} */
139
+ name?: string;
140
+ /** The meeting role assigned to the member. */
141
+ role?: 'ROLE_UNSPECIFIED' | 'COHOST';
142
+ }
119
143
  interface ModerationRestrictions {
120
144
  /** Defines who has permission to send chat messages in the meeting space. */
121
145
  chatRestriction?:
@@ -272,6 +296,12 @@ declare namespace gapi.client {
272
296
  autoTranscriptionGeneration?:
273
297
  'AUTO_GENERATION_TYPE_UNSPECIFIED' | 'ON' | 'OFF';
274
298
  }
299
+ interface UpdateMemberRequest {
300
+ /** Required. The Member to update. Format: spaces/{space}/members/{member} */
301
+ member?: Member;
302
+ /** Optional. Field mask used to specify the fields to be updated in the member. If update_mask isn't provided(not set, set with empty paths, or only has "" as paths), it defaults to update all fields provided with values in the request. Using "*" as update_mask will update all fields, including deleting fields not set in the request. In case of BatchUpdate, it must be absent or the same as the update_mask in BatchUpdateMembersRequest when UpdateMemberRequest is built as a child request of BatchUpdateMembersRequest. */
303
+ updateMask?: string;
304
+ }
275
305
  interface ParticipantSessionsResource {
276
306
  /** Gets a participant session by participant session ID. */
277
307
  get(request?: {
@@ -702,6 +732,271 @@ declare namespace gapi.client {
702
732
  smartNotes: SmartNotesResource;
703
733
  transcripts: TranscriptsResource;
704
734
  }
735
+ interface MembersResource {
736
+ /** Updates members of one space within a batch. */
737
+ batchUpdate(request: {
738
+ /** V1 error format. */
739
+ '$.xgafv'?: '1' | '2';
740
+ /** OAuth access token. */
741
+ access_token?: string;
742
+ /** Data format for response. */
743
+ alt?: 'json' | 'media' | 'proto';
744
+ /** JSONP */
745
+ callback?: string;
746
+ /** Selector specifying which fields to include in a partial response. */
747
+ fields?: string;
748
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
749
+ key?: string;
750
+ /** OAuth 2.0 token for the current user. */
751
+ oauth_token?: string;
752
+ /** Required. The parent resource shared by all Members being updated. Format: spaces/{space} */
753
+ parent: string;
754
+ /** Returns response with indentations and line breaks. */
755
+ prettyPrint?: boolean;
756
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
757
+ quotaUser?: string;
758
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
759
+ upload_protocol?: string;
760
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
761
+ uploadType?: string;
762
+ /** Request body */
763
+ resource: BatchUpdateMembersRequest;
764
+ }): Request<BatchUpdateMembersResponse>;
765
+ batchUpdate(
766
+ request: {
767
+ /** V1 error format. */
768
+ '$.xgafv'?: '1' | '2';
769
+ /** OAuth access token. */
770
+ access_token?: string;
771
+ /** Data format for response. */
772
+ alt?: 'json' | 'media' | 'proto';
773
+ /** JSONP */
774
+ callback?: string;
775
+ /** Selector specifying which fields to include in a partial response. */
776
+ fields?: string;
777
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
778
+ key?: string;
779
+ /** OAuth 2.0 token for the current user. */
780
+ oauth_token?: string;
781
+ /** Required. The parent resource shared by all Members being updated. Format: spaces/{space} */
782
+ parent: string;
783
+ /** Returns response with indentations and line breaks. */
784
+ prettyPrint?: boolean;
785
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
786
+ quotaUser?: string;
787
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
788
+ upload_protocol?: string;
789
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
790
+ uploadType?: string;
791
+ },
792
+ body: BatchUpdateMembersRequest,
793
+ ): Request<BatchUpdateMembersResponse>;
794
+ /** Creates a member. This API supports the `fields` parameter in [SystemParameterContext](https://cloud.google.com/apis/docs/system-parameters). When the `fields` parameter is omitted, this API response will default to "name,email,role,user". */
795
+ create(request: {
796
+ /** V1 error format. */
797
+ '$.xgafv'?: '1' | '2';
798
+ /** OAuth access token. */
799
+ access_token?: string;
800
+ /** Data format for response. */
801
+ alt?: 'json' | 'media' | 'proto';
802
+ /** JSONP */
803
+ callback?: string;
804
+ /** Selector specifying which fields to include in a partial response. */
805
+ fields?: string;
806
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
807
+ key?: string;
808
+ /** OAuth 2.0 token for the current user. */
809
+ oauth_token?: string;
810
+ /** Required. Format: spaces/{space} */
811
+ parent: string;
812
+ /** Returns response with indentations and line breaks. */
813
+ prettyPrint?: boolean;
814
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
815
+ quotaUser?: string;
816
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
817
+ upload_protocol?: string;
818
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
819
+ uploadType?: string;
820
+ /** Request body */
821
+ resource: Member;
822
+ }): Request<Member>;
823
+ create(
824
+ request: {
825
+ /** V1 error format. */
826
+ '$.xgafv'?: '1' | '2';
827
+ /** OAuth access token. */
828
+ access_token?: string;
829
+ /** Data format for response. */
830
+ alt?: 'json' | 'media' | 'proto';
831
+ /** JSONP */
832
+ callback?: string;
833
+ /** Selector specifying which fields to include in a partial response. */
834
+ fields?: string;
835
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
836
+ key?: string;
837
+ /** OAuth 2.0 token for the current user. */
838
+ oauth_token?: string;
839
+ /** Required. Format: spaces/{space} */
840
+ parent: string;
841
+ /** Returns response with indentations and line breaks. */
842
+ prettyPrint?: boolean;
843
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
844
+ quotaUser?: string;
845
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
846
+ upload_protocol?: string;
847
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
848
+ uploadType?: string;
849
+ },
850
+ body: Member,
851
+ ): Request<Member>;
852
+ /** Deletes the member who was previously assigned roles in the space. */
853
+ delete(request?: {
854
+ /** V1 error format. */
855
+ '$.xgafv'?: '1' | '2';
856
+ /** OAuth access token. */
857
+ access_token?: string;
858
+ /** Data format for response. */
859
+ alt?: 'json' | 'media' | 'proto';
860
+ /** JSONP */
861
+ callback?: string;
862
+ /** Selector specifying which fields to include in a partial response. */
863
+ fields?: string;
864
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
865
+ key?: string;
866
+ /** Required. Format: “spaces/{space}/members/{member}” */
867
+ name: string;
868
+ /** OAuth 2.0 token for the current user. */
869
+ oauth_token?: string;
870
+ /** Returns response with indentations and line breaks. */
871
+ prettyPrint?: boolean;
872
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
873
+ quotaUser?: string;
874
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
875
+ upload_protocol?: string;
876
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
877
+ uploadType?: string;
878
+ }): Request<{}>;
879
+ /** Gets a member. This API supports the `fields` parameter in [SystemParameterContext](https://cloud.google.com/apis/docs/system-parameters). When the `fields` parameter is omitted, this API response will default to "name,email,role,user". */
880
+ get(request?: {
881
+ /** V1 error format. */
882
+ '$.xgafv'?: '1' | '2';
883
+ /** OAuth access token. */
884
+ access_token?: string;
885
+ /** Data format for response. */
886
+ alt?: 'json' | 'media' | 'proto';
887
+ /** JSONP */
888
+ callback?: string;
889
+ /** Selector specifying which fields to include in a partial response. */
890
+ fields?: string;
891
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
892
+ key?: string;
893
+ /** Required. Format: “spaces/{space}/members/{member}” */
894
+ name: string;
895
+ /** OAuth 2.0 token for the current user. */
896
+ oauth_token?: string;
897
+ /** Returns response with indentations and line breaks. */
898
+ prettyPrint?: boolean;
899
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
900
+ quotaUser?: string;
901
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
902
+ upload_protocol?: string;
903
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
904
+ uploadType?: string;
905
+ }): Request<Member>;
906
+ /** Lists members. This API supports the `fields` parameter in [SystemParameterContext](https://cloud.google.com/apis/docs/system-parameters). When the `fields` parameter is omitted this API response will default to "name,email,role,user". */
907
+ list(request?: {
908
+ /** V1 error format. */
909
+ '$.xgafv'?: '1' | '2';
910
+ /** OAuth access token. */
911
+ access_token?: string;
912
+ /** Data format for response. */
913
+ alt?: 'json' | 'media' | 'proto';
914
+ /** JSONP */
915
+ callback?: string;
916
+ /** Selector specifying which fields to include in a partial response. */
917
+ fields?: string;
918
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
919
+ key?: string;
920
+ /** OAuth 2.0 token for the current user. */
921
+ oauth_token?: string;
922
+ /** Optional. Maximum number of members to return. The service might return fewer than this value. If unspecified or set to 0, at most 250 members are returned. The maximum value is 500; values above 500 are coerced to 500. Maximum might change in the future. */
923
+ pageSize?: number;
924
+ /** Optional. Page token returned from previous List Call. */
925
+ pageToken?: string;
926
+ /** Required. Format: spaces/{space} */
927
+ parent: string;
928
+ /** Returns response with indentations and line breaks. */
929
+ prettyPrint?: boolean;
930
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
931
+ quotaUser?: string;
932
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
933
+ upload_protocol?: string;
934
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
935
+ uploadType?: string;
936
+ }): Request<ListMembersResponse>;
937
+ /** Updates a member. */
938
+ patch(request: {
939
+ /** V1 error format. */
940
+ '$.xgafv'?: '1' | '2';
941
+ /** OAuth access token. */
942
+ access_token?: string;
943
+ /** Data format for response. */
944
+ alt?: 'json' | 'media' | 'proto';
945
+ /** JSONP */
946
+ callback?: string;
947
+ /** Selector specifying which fields to include in a partial response. */
948
+ fields?: string;
949
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
950
+ key?: string;
951
+ /** Identifier. Resource name of the member. Format: spaces/{space}/members/{member} */
952
+ name: string;
953
+ /** OAuth 2.0 token for the current user. */
954
+ oauth_token?: string;
955
+ /** Returns response with indentations and line breaks. */
956
+ prettyPrint?: boolean;
957
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
958
+ quotaUser?: string;
959
+ /** Optional. Field mask used to specify the fields to be updated in the member. If update_mask isn't provided(not set, set with empty paths, or only has "" as paths), it defaults to update all fields provided with values in the request. Using "*" as update_mask will update all fields, including deleting fields not set in the request. In case of BatchUpdate, it must be absent or the same as the update_mask in BatchUpdateMembersRequest when UpdateMemberRequest is built as a child request of BatchUpdateMembersRequest. */
960
+ updateMask?: string;
961
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
962
+ upload_protocol?: string;
963
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
964
+ uploadType?: string;
965
+ /** Request body */
966
+ resource: Member;
967
+ }): Request<Member>;
968
+ patch(
969
+ request: {
970
+ /** V1 error format. */
971
+ '$.xgafv'?: '1' | '2';
972
+ /** OAuth access token. */
973
+ access_token?: string;
974
+ /** Data format for response. */
975
+ alt?: 'json' | 'media' | 'proto';
976
+ /** JSONP */
977
+ callback?: string;
978
+ /** Selector specifying which fields to include in a partial response. */
979
+ fields?: string;
980
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
981
+ key?: string;
982
+ /** Identifier. Resource name of the member. Format: spaces/{space}/members/{member} */
983
+ name: string;
984
+ /** OAuth 2.0 token for the current user. */
985
+ oauth_token?: string;
986
+ /** Returns response with indentations and line breaks. */
987
+ prettyPrint?: boolean;
988
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
989
+ quotaUser?: string;
990
+ /** Optional. Field mask used to specify the fields to be updated in the member. If update_mask isn't provided(not set, set with empty paths, or only has "" as paths), it defaults to update all fields provided with values in the request. Using "*" as update_mask will update all fields, including deleting fields not set in the request. In case of BatchUpdate, it must be absent or the same as the update_mask in BatchUpdateMembersRequest when UpdateMemberRequest is built as a child request of BatchUpdateMembersRequest. */
991
+ updateMask?: string;
992
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
993
+ upload_protocol?: string;
994
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
995
+ uploadType?: string;
996
+ },
997
+ body: Member,
998
+ ): Request<Member>;
999
+ }
705
1000
  interface SpacesResource {
706
1001
  /** Creates a space. */
707
1002
  create(request: {
@@ -904,6 +1199,7 @@ declare namespace gapi.client {
904
1199
  },
905
1200
  body: Space,
906
1201
  ): Request<Space>;
1202
+ members: MembersResource;
907
1203
  }
908
1204
 
909
1205
  const conferenceRecords: ConferenceRecordsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.meet-v2",
3
- "version": "0.2.20260908",
3
+ "version": "0.2.20260910",
4
4
  "description": "TypeScript typings for Google Meet API v2",
5
5
  "repository": {
6
6
  "type": "git",