Skip to content

Commit c32965c

Browse files
fix: [Many APIs] fix typings for IAM methods (#4460)
* fix: fix typings for IAM methods docs: fixed links in the generated Markdown documentation PiperOrigin-RevId: 551610576 Source-Link: googleapis/googleapis@73b1313 Source-Link: googleapis/googleapis-gen@8bec066 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJleW9uZGNvcnAtY2xpZW50Z2F0ZXdheXMvLk93bEJvdC55YW1sIiwiaCI6IjhiZWMwNjY0OTJhNmRhMjg1NWIxYjhjZTU2MjY2NGMwYTZiMzBiMDEifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJpZ3F1ZXJ5LWFuYWx5dGljc2h1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGJlYzA2NjQ5MmE2ZGEyODU1YjFiOGNlNTYyNjY0YzBhNmIzMGIwMSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJpZ3F1ZXJ5LWNvbm5lY3Rpb24vLk93bEJvdC55YW1sIiwiaCI6IjhiZWMwNjY0OTJhNmRhMjg1NWIxYjhjZTU2MjY2NGMwYTZiMzBiMDEifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJpZ3F1ZXJ5LWRhdGFleGNoYW5nZS8uT3dsQm90LnlhbWwiLCJoIjoiOGJlYzA2NjQ5MmE2ZGEyODU1YjFiOGNlNTYyNjY0YzBhNmIzMGIwMSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJpZ3F1ZXJ5LWRhdGFwb2xpY2llcy8uT3dsQm90LnlhbWwiLCJoIjoiOGJlYzA2NjQ5MmE2ZGEyODU1YjFiOGNlNTYyNjY0YzBhNmIzMGIwMSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJpZ3F1ZXJ5LWRhdGF0cmFuc2Zlci8uT3dsQm90LnlhbWwi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lYzA2NjQ5MmE2ZGEyODU1YjFiOGNlNTYyNjY0YzBhNmIzMGIwMSJ9 * run the bootstrapper * chore!: update to Node 14 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Sofia Leon <[email protected]>
1 parent 083f9ad commit c32965c

File tree

184 files changed

+28395
-3775
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+28395
-3775
lines changed

packages/google-cloud-beyondcorp-clientgateways/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[//]: # "To regenerate it, use `python -m synthtool`."
33
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
44

5-
# [BeyondCorp API: Node.js Client](https://github.com/googleapis/google-cloud-node)
5+
# [BeyondCorp API: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-beyondcorp-clientgateways)
66

77
[![release level](https://img.shields.io/badge/release%20level-preview-yellow.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
88
[![npm version](https://img.shields.io/npm/v/@google-cloud/clientgateways.svg)](https://www.npmjs.org/package/@google-cloud/clientgateways)
@@ -112,16 +112,15 @@ callListClientGateways();
112112

113113
## Samples
114114

115-
Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
115+
Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-beyondcorp-clientgateways/samples) directory. Each sample's `README.md` has instructions for running its sample.
116116

117117
| Sample | Source Code | Try it |
118118
| --------------------------- | --------------------------------- | ------ |
119-
| Client_gateways_service.create_client_gateway | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.create_client_gateway.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.create_client_gateway.js,samples/README.md) |
120-
| Client_gateways_service.delete_client_gateway | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.delete_client_gateway.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.delete_client_gateway.js,samples/README.md) |
121-
| Client_gateways_service.get_client_gateway | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.get_client_gateway.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.get_client_gateway.js,samples/README.md) |
122-
| Client_gateways_service.list_client_gateways | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.list_client_gateways.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.list_client_gateways.js,samples/README.md) |
123-
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-beyondcorp-clientgateways/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-beyondcorp-clientgateways/samples/quickstart.js,samples/README.md) |
124-
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-beyondcorp-clientgateways/samples/test/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-beyondcorp-clientgateways/samples/test/quickstart.js,samples/README.md) |
119+
| Client_gateways_service.create_client_gateway | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.create_client_gateway.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.create_client_gateway.js,packages/google-cloud-beyondcorp-clientgateways/samples/README.md) |
120+
| Client_gateways_service.delete_client_gateway | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.delete_client_gateway.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.delete_client_gateway.js,packages/google-cloud-beyondcorp-clientgateways/samples/README.md) |
121+
| Client_gateways_service.get_client_gateway | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.get_client_gateway.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.get_client_gateway.js,packages/google-cloud-beyondcorp-clientgateways/samples/README.md) |
122+
| Client_gateways_service.list_client_gateways | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.list_client_gateways.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.list_client_gateways.js,packages/google-cloud-beyondcorp-clientgateways/samples/README.md) |
123+
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-beyondcorp-clientgateways/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-beyondcorp-clientgateways/samples/quickstart.js,packages/google-cloud-beyondcorp-clientgateways/samples/README.md) |
125124

126125

127126

packages/google-cloud-beyondcorp-clientgateways/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,15 @@
4646
"test": "c8 mocha build/test"
4747
},
4848
"dependencies": {
49-
"google-gax": "^3.5.8"
49+
"google-gax": "^4.0.3"
5050
},
5151
"devDependencies": {
5252
"@types/mocha": "^9.0.0",
53-
"@types/node": "^18.0.0",
53+
"@types/node": "^20.4.5",
5454
"@types/sinon": "^10.0.0",
5555
"c8": "^7.3.5",
56-
"gts": "^3.1.0",
56+
"gapic-tools": "^0.1.8",
57+
"gts": "^5.0.0",
5758
"jsdoc": "^4.0.0",
5859
"jsdoc-fresh": "^2.0.0",
5960
"jsdoc-region-tag": "^2.0.0",
@@ -64,11 +65,11 @@
6465
"pack-n-play": "^1.0.0-2",
6566
"sinon": "^15.0.0",
6667
"ts-loader": "^9.0.0",
67-
"typescript": "^4.6.4",
68+
"typescript": "^5.1.6",
6869
"webpack": "^5.9.0",
6970
"webpack-cli": "^5.0.0"
7071
},
7172
"engines": {
72-
"node": ">=12.0.0"
73+
"node": ">=14.0.0"
7374
}
7475
}

packages/google-cloud-beyondcorp-clientgateways/samples/README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
* [Client_gateways_service.get_client_gateway](#client_gateways_service.get_client_gateway)
1818
* [Client_gateways_service.list_client_gateways](#client_gateways_service.list_client_gateways)
1919
* [Quickstart](#quickstart)
20-
* [Quickstart](#quickstart)
2120

2221
## Before you begin
2322

@@ -114,23 +113,6 @@ __Usage:__
114113
`node packages/google-cloud-beyondcorp-clientgateways/samples/quickstart.js`
115114

116115

117-
-----
118-
119-
120-
121-
122-
### Quickstart
123-
124-
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-beyondcorp-clientgateways/samples/test/quickstart.js).
125-
126-
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-beyondcorp-clientgateways/samples/test/quickstart.js,samples/README.md)
127-
128-
__Usage:__
129-
130-
131-
`node packages/google-cloud-beyondcorp-clientgateways/samples/test/quickstart.js`
132-
133-
134116

135117

136118

packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/snippet_metadata.google.cloud.beyondcorp.clientgateways.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"clientLibrary": {
33
"name": "nodejs-clientgateways",
4-
"version": "0.3.1",
4+
"version": "0.3.2",
55
"language": "TYPESCRIPT",
66
"apis": [
77
{
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
{
2+
"clientLibrary": {
3+
"name": "nodejs-clientgateways",
4+
"version": "0.3.2",
5+
"language": "TYPESCRIPT",
6+
"apis": [
7+
{
8+
"id": "google.cloud.beyondcorp.clientgateways.v1",
9+
"version": "v1"
10+
}
11+
]
12+
},
13+
"snippets": [
14+
{
15+
"regionTag": "beyondcorp_v1_generated_ClientGatewaysService_ListClientGateways_async",
16+
"title": "ClientGatewaysService listClientGateways Sample",
17+
"origin": "API_DEFINITION",
18+
"description": " Lists ClientGateways in a given project and location.",
19+
"canonical": true,
20+
"file": "client_gateways_service.list_client_gateways.js",
21+
"language": "JAVASCRIPT",
22+
"segments": [
23+
{
24+
"start": 25,
25+
"end": 72,
26+
"type": "FULL"
27+
}
28+
],
29+
"clientMethod": {
30+
"shortName": "ListClientGateways",
31+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.ListClientGateways",
32+
"async": true,
33+
"parameters": [
34+
{
35+
"name": "parent",
36+
"type": "TYPE_STRING"
37+
},
38+
{
39+
"name": "page_size",
40+
"type": "TYPE_INT32"
41+
},
42+
{
43+
"name": "page_token",
44+
"type": "TYPE_STRING"
45+
},
46+
{
47+
"name": "filter",
48+
"type": "TYPE_STRING"
49+
},
50+
{
51+
"name": "order_by",
52+
"type": "TYPE_STRING"
53+
}
54+
],
55+
"resultType": ".google.cloud.beyondcorp.clientgateways.v1.ListClientGatewaysResponse",
56+
"client": {
57+
"shortName": "ClientGatewaysServiceClient",
58+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysServiceClient"
59+
},
60+
"method": {
61+
"shortName": "ListClientGateways",
62+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.ListClientGateways",
63+
"service": {
64+
"shortName": "ClientGatewaysService",
65+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService"
66+
}
67+
}
68+
}
69+
},
70+
{
71+
"regionTag": "beyondcorp_v1_generated_ClientGatewaysService_GetClientGateway_async",
72+
"title": "ClientGatewaysService getClientGateway Sample",
73+
"origin": "API_DEFINITION",
74+
"description": " Gets details of a single ClientGateway.",
75+
"canonical": true,
76+
"file": "client_gateways_service.get_client_gateway.js",
77+
"language": "JAVASCRIPT",
78+
"segments": [
79+
{
80+
"start": 25,
81+
"end": 53,
82+
"type": "FULL"
83+
}
84+
],
85+
"clientMethod": {
86+
"shortName": "GetClientGateway",
87+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.GetClientGateway",
88+
"async": true,
89+
"parameters": [
90+
{
91+
"name": "name",
92+
"type": "TYPE_STRING"
93+
}
94+
],
95+
"resultType": ".google.cloud.beyondcorp.clientgateways.v1.ClientGateway",
96+
"client": {
97+
"shortName": "ClientGatewaysServiceClient",
98+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysServiceClient"
99+
},
100+
"method": {
101+
"shortName": "GetClientGateway",
102+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.GetClientGateway",
103+
"service": {
104+
"shortName": "ClientGatewaysService",
105+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService"
106+
}
107+
}
108+
}
109+
},
110+
{
111+
"regionTag": "beyondcorp_v1_generated_ClientGatewaysService_CreateClientGateway_async",
112+
"title": "ClientGatewaysService createClientGateway Sample",
113+
"origin": "API_DEFINITION",
114+
"description": " Creates a new ClientGateway in a given project and location.",
115+
"canonical": true,
116+
"file": "client_gateways_service.create_client_gateway.js",
117+
"language": "JAVASCRIPT",
118+
"segments": [
119+
{
120+
"start": 25,
121+
"end": 85,
122+
"type": "FULL"
123+
}
124+
],
125+
"clientMethod": {
126+
"shortName": "CreateClientGateway",
127+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.CreateClientGateway",
128+
"async": true,
129+
"parameters": [
130+
{
131+
"name": "parent",
132+
"type": "TYPE_STRING"
133+
},
134+
{
135+
"name": "client_gateway_id",
136+
"type": "TYPE_STRING"
137+
},
138+
{
139+
"name": "client_gateway",
140+
"type": ".google.cloud.beyondcorp.clientgateways.v1.ClientGateway"
141+
},
142+
{
143+
"name": "request_id",
144+
"type": "TYPE_STRING"
145+
},
146+
{
147+
"name": "validate_only",
148+
"type": "TYPE_BOOL"
149+
}
150+
],
151+
"resultType": ".google.longrunning.Operation",
152+
"client": {
153+
"shortName": "ClientGatewaysServiceClient",
154+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysServiceClient"
155+
},
156+
"method": {
157+
"shortName": "CreateClientGateway",
158+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.CreateClientGateway",
159+
"service": {
160+
"shortName": "ClientGatewaysService",
161+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService"
162+
}
163+
}
164+
}
165+
},
166+
{
167+
"regionTag": "beyondcorp_v1_generated_ClientGatewaysService_DeleteClientGateway_async",
168+
"title": "ClientGatewaysService deleteClientGateway Sample",
169+
"origin": "API_DEFINITION",
170+
"description": " Deletes a single ClientGateway.",
171+
"canonical": true,
172+
"file": "client_gateways_service.delete_client_gateway.js",
173+
"language": "JAVASCRIPT",
174+
"segments": [
175+
{
176+
"start": 25,
177+
"end": 73,
178+
"type": "FULL"
179+
}
180+
],
181+
"clientMethod": {
182+
"shortName": "DeleteClientGateway",
183+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.DeleteClientGateway",
184+
"async": true,
185+
"parameters": [
186+
{
187+
"name": "name",
188+
"type": "TYPE_STRING"
189+
},
190+
{
191+
"name": "request_id",
192+
"type": "TYPE_STRING"
193+
},
194+
{
195+
"name": "validate_only",
196+
"type": "TYPE_BOOL"
197+
}
198+
],
199+
"resultType": ".google.longrunning.Operation",
200+
"client": {
201+
"shortName": "ClientGatewaysServiceClient",
202+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysServiceClient"
203+
},
204+
"method": {
205+
"shortName": "DeleteClientGateway",
206+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.DeleteClientGateway",
207+
"service": {
208+
"shortName": "ClientGatewaysService",
209+
"fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService"
210+
}
211+
}
212+
}
213+
}
214+
]
215+
}

packages/google-cloud-beyondcorp-clientgateways/samples/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "Apache-2.0",
55
"author": "Google LLC",
66
"engines": {
7-
"node": ">=12.0.0"
7+
"node": ">=14.0.0"
88
},
99
"files": [
1010
"*.js"
@@ -21,4 +21,4 @@
2121
"chai": "^4.2.0",
2222
"mocha": "^8.0.0"
2323
}
24-
}
24+
}

0 commit comments

Comments
 (0)