@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20230206 → 0.0.20230219

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 +1002 -16
  2. package/package.json +1 -1
  3. package/tests.ts +202 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1alpha",
3
- "version": "0.0.20230206",
3
+ "version": "0.0.20230219",
4
4
  "description": "TypeScript typings for GKE Hub 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: 20230206
6
+ // Revision: 20230219
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -213,6 +213,14 @@ gapi.load('client', async () => {
213
213
  },
214
214
  },
215
215
  podAntiAffinity: true,
216
+ podTolerations: [
217
+ {
218
+ effect: "Test string",
219
+ key: "Test string",
220
+ operator: "Test string",
221
+ value: "Test string",
222
+ }
223
+ ],
216
224
  replicaCount: "Test string",
217
225
  }
218
226
  },
@@ -774,6 +782,14 @@ gapi.load('client', async () => {
774
782
  },
775
783
  },
776
784
  podAntiAffinity: true,
785
+ podTolerations: [
786
+ {
787
+ effect: "Test string",
788
+ key: "Test string",
789
+ operator: "Test string",
790
+ value: "Test string",
791
+ }
792
+ ],
777
793
  replicaCount: "Test string",
778
794
  }
779
795
  },
@@ -1322,6 +1338,7 @@ gapi.load('client', async () => {
1322
1338
  * https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
1323
1339
  */
1324
1340
  await gapi.client.gkehub.projects.locations.memberships.delete({
1341
+ force: true,
1325
1342
  name: "Test string",
1326
1343
  requestId: "Test string",
1327
1344
  });
@@ -1571,6 +1588,148 @@ gapi.load('client', async () => {
1571
1588
  },
1572
1589
  membershipId: "Test string",
1573
1590
  });
1591
+ /** Creates a MembershipBinding. */
1592
+ await gapi.client.gkehub.projects.locations.memberships.bindings.create({
1593
+ membershipBindingId: "Test string",
1594
+ parent: "Test string",
1595
+ }, {
1596
+ createTime: "Test string",
1597
+ deleteTime: "Test string",
1598
+ fleet: true,
1599
+ name: "Test string",
1600
+ scope: "Test string",
1601
+ state: {
1602
+ code: "Test string",
1603
+ },
1604
+ uid: "Test string",
1605
+ updateTime: "Test string",
1606
+ });
1607
+ /** Deletes a MembershipBinding. */
1608
+ await gapi.client.gkehub.projects.locations.memberships.bindings.delete({
1609
+ name: "Test string",
1610
+ });
1611
+ /** Returns the details of a MembershipBinding. */
1612
+ await gapi.client.gkehub.projects.locations.memberships.bindings.get({
1613
+ name: "Test string",
1614
+ });
1615
+ /** Lists MembershipBindings. */
1616
+ await gapi.client.gkehub.projects.locations.memberships.bindings.list({
1617
+ pageSize: 42,
1618
+ pageToken: "Test string",
1619
+ parent: "Test string",
1620
+ });
1621
+ /** Updates a MembershipBinding. */
1622
+ await gapi.client.gkehub.projects.locations.memberships.bindings.patch({
1623
+ name: "Test string",
1624
+ updateMask: "Test string",
1625
+ }, {
1626
+ createTime: "Test string",
1627
+ deleteTime: "Test string",
1628
+ fleet: true,
1629
+ name: "Test string",
1630
+ scope: "Test string",
1631
+ state: {
1632
+ code: "Test string",
1633
+ },
1634
+ uid: "Test string",
1635
+ updateTime: "Test string",
1636
+ });
1637
+ /** Creates a fleet namespace. */
1638
+ await gapi.client.gkehub.projects.locations.namespaces.create({
1639
+ namespaceId: "Test string",
1640
+ parent: "Test string",
1641
+ }, {
1642
+ createTime: "Test string",
1643
+ deleteTime: "Test string",
1644
+ name: "Test string",
1645
+ scope: "Test string",
1646
+ state: {
1647
+ code: "Test string",
1648
+ },
1649
+ uid: "Test string",
1650
+ updateTime: "Test string",
1651
+ });
1652
+ /** Deletes a fleet namespace. */
1653
+ await gapi.client.gkehub.projects.locations.namespaces.delete({
1654
+ name: "Test string",
1655
+ });
1656
+ /** Returns the details of a fleet namespace. */
1657
+ await gapi.client.gkehub.projects.locations.namespaces.get({
1658
+ name: "Test string",
1659
+ });
1660
+ /** Lists fleet namespaces. */
1661
+ await gapi.client.gkehub.projects.locations.namespaces.list({
1662
+ pageSize: 42,
1663
+ pageToken: "Test string",
1664
+ parent: "Test string",
1665
+ });
1666
+ /** Updates a fleet namespace. */
1667
+ await gapi.client.gkehub.projects.locations.namespaces.patch({
1668
+ name: "Test string",
1669
+ updateMask: "Test string",
1670
+ }, {
1671
+ createTime: "Test string",
1672
+ deleteTime: "Test string",
1673
+ name: "Test string",
1674
+ scope: "Test string",
1675
+ state: {
1676
+ code: "Test string",
1677
+ },
1678
+ uid: "Test string",
1679
+ updateTime: "Test string",
1680
+ });
1681
+ /** Creates a RBACRoleBinding. */
1682
+ await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.create({
1683
+ parent: "Test string",
1684
+ rbacrolebindingId: "Test string",
1685
+ }, {
1686
+ createTime: "Test string",
1687
+ deleteTime: "Test string",
1688
+ group: "Test string",
1689
+ name: "Test string",
1690
+ role: {
1691
+ predefinedRole: "Test string",
1692
+ },
1693
+ state: {
1694
+ code: "Test string",
1695
+ },
1696
+ uid: "Test string",
1697
+ updateTime: "Test string",
1698
+ user: "Test string",
1699
+ });
1700
+ /** Deletes a RBACRoleBinding. */
1701
+ await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.delete({
1702
+ name: "Test string",
1703
+ });
1704
+ /** Returns the details of a RBACRoleBinding. */
1705
+ await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.get({
1706
+ name: "Test string",
1707
+ });
1708
+ /** Lists RBACRoleBinding. */
1709
+ await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.list({
1710
+ pageSize: 42,
1711
+ pageToken: "Test string",
1712
+ parent: "Test string",
1713
+ });
1714
+ /** Updates a RBACRoleBinding. */
1715
+ await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.patch({
1716
+ name: "Test string",
1717
+ updateMask: "Test string",
1718
+ }, {
1719
+ createTime: "Test string",
1720
+ deleteTime: "Test string",
1721
+ group: "Test string",
1722
+ name: "Test string",
1723
+ role: {
1724
+ predefinedRole: "Test string",
1725
+ },
1726
+ state: {
1727
+ code: "Test string",
1728
+ },
1729
+ uid: "Test string",
1730
+ updateTime: "Test string",
1731
+ user: "Test string",
1732
+ });
1574
1733
  /**
1575
1734
  * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this
1576
1735
  * method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation
@@ -1604,5 +1763,47 @@ gapi.load('client', async () => {
1604
1763
  pageSize: 42,
1605
1764
  pageToken: "Test string",
1606
1765
  });
1766
+ /** Creates a Scope. */
1767
+ await gapi.client.gkehub.projects.locations.scopes.create({
1768
+ parent: "Test string",
1769
+ scopeId: "Test string",
1770
+ }, {
1771
+ createTime: "Test string",
1772
+ deleteTime: "Test string",
1773
+ name: "Test string",
1774
+ state: {
1775
+ code: "Test string",
1776
+ },
1777
+ uid: "Test string",
1778
+ updateTime: "Test string",
1779
+ });
1780
+ /** Deletes a Scope. */
1781
+ await gapi.client.gkehub.projects.locations.scopes.delete({
1782
+ name: "Test string",
1783
+ });
1784
+ /** Returns the details of a Scope. */
1785
+ await gapi.client.gkehub.projects.locations.scopes.get({
1786
+ name: "Test string",
1787
+ });
1788
+ /** Lists Scopes. */
1789
+ await gapi.client.gkehub.projects.locations.scopes.list({
1790
+ pageSize: 42,
1791
+ pageToken: "Test string",
1792
+ parent: "Test string",
1793
+ });
1794
+ /** Updates a scopes. */
1795
+ await gapi.client.gkehub.projects.locations.scopes.patch({
1796
+ name: "Test string",
1797
+ updateMask: "Test string",
1798
+ }, {
1799
+ createTime: "Test string",
1800
+ deleteTime: "Test string",
1801
+ name: "Test string",
1802
+ state: {
1803
+ code: "Test string",
1804
+ },
1805
+ uid: "Test string",
1806
+ updateTime: "Test string",
1807
+ });
1607
1808
  }
1608
1809
  });