@maxim_mazurok/gapi.client.analyticsadmin-v1alpha 0.0.20230201 → 0.0.20230203

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 (3) hide show
  1. package/index.d.ts +1125 -195
  2. package/package.json +1 -1
  3. package/tests.ts +171 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.analyticsadmin-v1alpha",
3
- "version": "0.0.20230201",
3
+ "version": "0.0.20230203",
4
4
  "description": "TypeScript typings for Google Analytics Admin API v1alpha",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230201
6
+ // Revision: 20230203
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -104,6 +104,91 @@ gapi.load('client', async () => {
104
104
  "Test string"
105
105
  ],
106
106
  });
107
+ /**
108
+ * Creates information about multiple access bindings to an account or property. This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be
109
+ * created.
110
+ */
111
+ await gapi.client.analyticsadmin.accounts.accessBindings.batchCreate({
112
+ parent: "Test string",
113
+ }, {
114
+ requests: [
115
+ {
116
+ accessBinding: {
117
+ name: "Test string",
118
+ roles: [
119
+ "Test string"
120
+ ],
121
+ user: "Test string",
122
+ },
123
+ parent: "Test string",
124
+ }
125
+ ],
126
+ });
127
+ /** Deletes information about multiple users' links to an account or property. */
128
+ await gapi.client.analyticsadmin.accounts.accessBindings.batchDelete({
129
+ parent: "Test string",
130
+ }, {
131
+ requests: [
132
+ {
133
+ name: "Test string",
134
+ }
135
+ ],
136
+ });
137
+ /** Gets information about multiple access bindings to an account or property. */
138
+ await gapi.client.analyticsadmin.accounts.accessBindings.batchGet({
139
+ names: "Test string",
140
+ parent: "Test string",
141
+ });
142
+ /** Updates information about multiple access bindings to an account or property. */
143
+ await gapi.client.analyticsadmin.accounts.accessBindings.batchUpdate({
144
+ parent: "Test string",
145
+ }, {
146
+ requests: [
147
+ {
148
+ accessBinding: {
149
+ name: "Test string",
150
+ roles: [
151
+ "Test string"
152
+ ],
153
+ user: "Test string",
154
+ },
155
+ }
156
+ ],
157
+ });
158
+ /** Creates an access binding on an account or property. */
159
+ await gapi.client.analyticsadmin.accounts.accessBindings.create({
160
+ parent: "Test string",
161
+ }, {
162
+ name: "Test string",
163
+ roles: [
164
+ "Test string"
165
+ ],
166
+ user: "Test string",
167
+ });
168
+ /** Deletes an access binding on an account or property. */
169
+ await gapi.client.analyticsadmin.accounts.accessBindings.delete({
170
+ name: "Test string",
171
+ });
172
+ /** Gets information about an access binding. */
173
+ await gapi.client.analyticsadmin.accounts.accessBindings.get({
174
+ name: "Test string",
175
+ });
176
+ /** Lists all access bindings on an account or property. */
177
+ await gapi.client.analyticsadmin.accounts.accessBindings.list({
178
+ pageSize: 42,
179
+ pageToken: "Test string",
180
+ parent: "Test string",
181
+ });
182
+ /** Updates an access binding on an account or property. */
183
+ await gapi.client.analyticsadmin.accounts.accessBindings.patch({
184
+ name: "Test string",
185
+ }, {
186
+ name: "Test string",
187
+ roles: [
188
+ "Test string"
189
+ ],
190
+ user: "Test string",
191
+ });
107
192
  /**
108
193
  * Lists all user links on an account or property, including implicit ones that come from effective permissions granted by groups or organization admin roles. If a returned user link does
109
194
  * not have direct permissions, they cannot be removed from the account or property directly with the DeleteUserLink command. They have to be removed from the group/etc that gives them
@@ -449,6 +534,91 @@ gapi.load('client', async () => {
449
534
  name: "Test string",
450
535
  state: "Test string",
451
536
  });
537
+ /**
538
+ * Creates information about multiple access bindings to an account or property. This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be
539
+ * created.
540
+ */
541
+ await gapi.client.analyticsadmin.properties.accessBindings.batchCreate({
542
+ parent: "Test string",
543
+ }, {
544
+ requests: [
545
+ {
546
+ accessBinding: {
547
+ name: "Test string",
548
+ roles: [
549
+ "Test string"
550
+ ],
551
+ user: "Test string",
552
+ },
553
+ parent: "Test string",
554
+ }
555
+ ],
556
+ });
557
+ /** Deletes information about multiple users' links to an account or property. */
558
+ await gapi.client.analyticsadmin.properties.accessBindings.batchDelete({
559
+ parent: "Test string",
560
+ }, {
561
+ requests: [
562
+ {
563
+ name: "Test string",
564
+ }
565
+ ],
566
+ });
567
+ /** Gets information about multiple access bindings to an account or property. */
568
+ await gapi.client.analyticsadmin.properties.accessBindings.batchGet({
569
+ names: "Test string",
570
+ parent: "Test string",
571
+ });
572
+ /** Updates information about multiple access bindings to an account or property. */
573
+ await gapi.client.analyticsadmin.properties.accessBindings.batchUpdate({
574
+ parent: "Test string",
575
+ }, {
576
+ requests: [
577
+ {
578
+ accessBinding: {
579
+ name: "Test string",
580
+ roles: [
581
+ "Test string"
582
+ ],
583
+ user: "Test string",
584
+ },
585
+ }
586
+ ],
587
+ });
588
+ /** Creates an access binding on an account or property. */
589
+ await gapi.client.analyticsadmin.properties.accessBindings.create({
590
+ parent: "Test string",
591
+ }, {
592
+ name: "Test string",
593
+ roles: [
594
+ "Test string"
595
+ ],
596
+ user: "Test string",
597
+ });
598
+ /** Deletes an access binding on an account or property. */
599
+ await gapi.client.analyticsadmin.properties.accessBindings.delete({
600
+ name: "Test string",
601
+ });
602
+ /** Gets information about an access binding. */
603
+ await gapi.client.analyticsadmin.properties.accessBindings.get({
604
+ name: "Test string",
605
+ });
606
+ /** Lists all access bindings on an account or property. */
607
+ await gapi.client.analyticsadmin.properties.accessBindings.list({
608
+ pageSize: 42,
609
+ pageToken: "Test string",
610
+ parent: "Test string",
611
+ });
612
+ /** Updates an access binding on an account or property. */
613
+ await gapi.client.analyticsadmin.properties.accessBindings.patch({
614
+ name: "Test string",
615
+ }, {
616
+ name: "Test string",
617
+ roles: [
618
+ "Test string"
619
+ ],
620
+ user: "Test string",
621
+ });
452
622
  /** Archives an Audience on a property. */
453
623
  await gapi.client.analyticsadmin.properties.audiences.archive({
454
624
  name: "Test string",