@maxim_mazurok/gapi.client.admin-directory_v1 0.0.20220809 → 0.0.20220830

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.
package/index.d.ts CHANGED
@@ -10,7 +10,7 @@
10
10
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
11
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
12
  // Generated from: https://admin.googleapis.com/$discovery/rest?version=directory_v1
13
- // Revision: 20220809
13
+ // Revision: 20220830
14
14
 
15
15
  /// <reference types="gapi.client" />
16
16
 
@@ -1605,11 +1605,11 @@ declare namespace gapi.client {
1605
1605
  alt?: string;
1606
1606
  /** JSONP */
1607
1607
  callback?: string;
1608
- /** Immutable. Immutable ID of Chrome OS Device Command. */
1608
+ /** Immutable. ID of Chrome OS Device Command. */
1609
1609
  commandId: string;
1610
- /** Immutable. Immutable ID of the Google Workspace account. */
1610
+ /** Immutable. ID of the Google Workspace account. */
1611
1611
  customerId: string;
1612
- /** Immutable. Immutable ID of Chrome OS Device. */
1612
+ /** Immutable. ID of Chrome OS Device. */
1613
1613
  deviceId: string;
1614
1614
  /** Selector specifying which fields to include in a partial response. */
1615
1615
  fields?: string;
@@ -1638,9 +1638,9 @@ declare namespace gapi.client {
1638
1638
  alt?: string;
1639
1639
  /** JSONP */
1640
1640
  callback?: string;
1641
- /** Immutable. Immutable ID of the Google Workspace account. */
1641
+ /** Immutable. ID of the Google Workspace account. */
1642
1642
  customerId: string;
1643
- /** Immutable. Immutable ID of Chrome OS Device. */
1643
+ /** Immutable. ID of Chrome OS Device. */
1644
1644
  deviceId: string;
1645
1645
  /** Selector specifying which fields to include in a partial response. */
1646
1646
  fields?: string;
@@ -1668,9 +1668,9 @@ declare namespace gapi.client {
1668
1668
  alt?: string;
1669
1669
  /** JSONP */
1670
1670
  callback?: string;
1671
- /** Immutable. Immutable ID of the Google Workspace account. */
1671
+ /** Immutable. ID of the Google Workspace account. */
1672
1672
  customerId: string;
1673
- /** Immutable. Immutable ID of Chrome OS Device. */
1673
+ /** Immutable. ID of Chrome OS Device. */
1674
1674
  deviceId: string;
1675
1675
  /** Selector specifying which fields to include in a partial response. */
1676
1676
  fields?: string;
@@ -3844,7 +3844,7 @@ declare namespace gapi.client {
3844
3844
  alt?: string;
3845
3845
  /** JSONP */
3846
3846
  callback?: string;
3847
- /** Immutable ID of the Google Workspace account */
3847
+ /** Immutable. ID of the Google Workspace account */
3848
3848
  customerId: string;
3849
3849
  /** Selector specifying which fields to include in a partial response. */
3850
3850
  fields?: string;
@@ -3874,7 +3874,7 @@ declare namespace gapi.client {
3874
3874
  alt?: string;
3875
3875
  /** JSONP */
3876
3876
  callback?: string;
3877
- /** Immutable ID of the Google Workspace account */
3877
+ /** Immutable. ID of the Google Workspace account */
3878
3878
  customerId: string;
3879
3879
  /** Selector specifying which fields to include in a partial response. */
3880
3880
  fields?: string;
@@ -4912,7 +4912,11 @@ declare namespace gapi.client {
4912
4912
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4913
4913
  uploadType?: string;
4914
4914
  }): Request<Member>;
4915
- /** Checks whether the given user is a member of the group. Membership can be direct or nested. */
4915
+ /**
4916
+ * Checks whether the given user is a member of the group. Membership can be direct or nested, but if nested, the `memberKey` and `groupKey` must be entities in the same domain or an
4917
+ * `Invalid input` error is returned. To check for nested memberships that include entities outside of the group's domain, use the
4918
+ * [`checkTransitiveMembership()`](https://cloud.google.com/identity/docs/reference/rest/v1/groups.memberships/checkTransitiveMembership) method in the Cloud Identity Groups API.
4919
+ */
4916
4920
  hasMember(request?: {
4917
4921
  /** V1 error format. */
4918
4922
  "$.xgafv"?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.admin-directory_v1",
3
- "version": "0.0.20220809",
3
+ "version": "0.0.20220830",
4
4
  "description": "TypeScript typings for Admin SDK API directory_v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -298,7 +298,7 @@ Retrieves a group member's properties.
298
298
  await gapi.client.directory.members.get({ groupKey: "groupKey", memberKey: "memberKey", });
299
299
 
300
300
  /*
301
- Checks whether the given user is a member of the group. Membership can be direct or nested.
301
+ Checks whether the given user is a member of the group. Membership can be direct or nested, but if nested, the `memberKey` and `groupKey` must be entities in the same domain or an `Invalid input` error is returned. To check for nested memberships that include entities outside of the group's domain, use the [`checkTransitiveMembership()`](https://cloud.google.com/identity/docs/reference/rest/v1/groups.memberships/checkTransitiveMembership) method in the Cloud Identity Groups API.
302
302
  */
303
303
  await gapi.client.directory.members.hasMember({ groupKey: "groupKey", memberKey: "memberKey", });
304
304
 
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: 20220809
6
+ // Revision: 20220830
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -773,7 +773,11 @@ gapi.load('client', async () => {
773
773
  groupKey: "Test string",
774
774
  memberKey: "Test string",
775
775
  });
776
- /** Checks whether the given user is a member of the group. Membership can be direct or nested. */
776
+ /**
777
+ * Checks whether the given user is a member of the group. Membership can be direct or nested, but if nested, the `memberKey` and `groupKey` must be entities in the same domain or an
778
+ * `Invalid input` error is returned. To check for nested memberships that include entities outside of the group's domain, use the
779
+ * [`checkTransitiveMembership()`](https://cloud.google.com/identity/docs/reference/rest/v1/groups.memberships/checkTransitiveMembership) method in the Cloud Identity Groups API.
780
+ */
777
781
  await gapi.client.directory.members.hasMember({
778
782
  groupKey: "Test string",
779
783
  memberKey: "Test string",