Skip to content

Commit 64109b0

Browse files
fix: [Many APIs] fix typings for IAM methods (#4463)
* 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: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXByaXZhdGVjYXRhbG9nLy5Pd2xCb3QueWFtbCIsImgiOiI4YmVjMDY2NDkyYTZkYTI4NTViMWI4Y2U1NjI2NjRjMGE2YjMwYjAxIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJhcGlkbWlncmF0aW9uYXNzZXNzbWVudC8uT3dsQm90LnlhbWwiLCJoIjoiOGJlYzA2NjQ5MmE2ZGEyODU1YjFiOGNlNTYyNjY0YzBhNmIzMGIwMSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJlY2FwdGNoYWVudGVycHJpc2UvLk93bEJvdC55YW1sIiwiaCI6IjhiZWMwNjY0OTJhNmRhMjg1NWIxYjhjZTU2MjY2NGMwYTZiMzBiMDEifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJlY29tbWVuZGVyLy5Pd2xCb3QueWFtbCIsImgiOiI4YmVjMDY2NDkyYTZkYTI4NTViMWI4Y2U1NjI2NjRjMGE2YjMwYjAxIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJlZGlzLy5Pd2xCb3QueWFtbCIsImgiOiI4YmVjMDY2NDkyYTZkYTI4NTViMWI4Y2U1NjI2NjRjMGE2YjMwYjAxIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJlc291cmNlbWFuYWdlci8uT3dsQm90LnlhbWwiLCJoIjoiOGJlYzA2NjQ5MmE2ZGEyODU1YjFiOGNlNTYyNjY0YzBhNmIzMGIwMSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJlc291cmNlc2V0dGluZ3MvLk93bEJvdC55YW1sIiwiaCI6IjhiZWMwNjY0OTJhNmRhMjg1NWIxYjhjZTU2MjY2NGMwYTZiMzBiMDEifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJldGFpbC8uT3dsQm90LnlhbWwiLCJoIjoiOGJlYzA2NjQ5MmE2ZGEyODU1YjFiOGNlNTYyNjY0YzBhNmIzMGIwMSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJ1bi8uT3dsQm90LnlhbWwiLCJoIjoiOGJlYzA2NjQ5MmE2ZGEyODU1YjFiOGNlNTYyNjY0YzBhNmIzMGIwMSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNjaGVkdWxlci8uT3dsQm90LnlhbWwiLCJoIjoiOGJlYzA2NjQ5MmE2ZGEyODU1YjFiOGNlNTYyNjY0YzBhNmIzMGIwMSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlY3JldG1hbmFnZXIvLk93bEJvdC55YW1sIiwiaCI6IjhiZWMwNjY0OTJhNmRhMjg1NWIxYjhjZTU2MjY2NGMwYTZiMzBiMDEifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlY3VyaXR5LXByaXZhdGVjYS8uT3dsQm90LnlhbWwiLCJoIjoiOGJlYzA2NjQ5MmE2ZGEyODU1YjFiOGNlNTYyNjY0YzBhNmIzMGIwMSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlY3VyaXR5LXB1YmxpY2NhLy5Pd2xCb3QueWFtbCIsImgiOiI4YmVjMDY2NDkyYTZkYTI4NTViMWI4Y2U1NjI2NjRjMGE2YjMwYjAxIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlY3VyaXR5Y2VudGVyLy5Pd2xCb3QueWFtbCIsImgiOiI4YmVjMDY2NDkyYTZkYTI4NTViMWI4Y2U1NjI2NjRjMGE2YjMwYjAxIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlcnZpY2VkaXJlY3RvcnkvLk93bEJvdC55YW1sIiwiaCI6IjhiZWMwNjY0OTJhNmRhMjg1NWIxYjhjZTU2MjY2NGMwYTZiMzBiMDEifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNoZWxsLy5Pd2xCb3QueWFtbCIsImgiOiI4YmVjMDY2NDkyYTZkYTI4NTViMWI4Y2U1NjI2NjRjMGE2YjMwYjAxIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNwZWVjaC8uT3dsQm90LnlhbWwiLCJoIjoiOGJlYzA2NjQ5MmE2ZGEyODU1YjFiOGNlNTYyNjY0YzBhNmIzMGIwMSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXN0b3JhZ2VpbnNpZ2h0cy8uT3dsQm90LnlhbWwiLCJoIjoiOGJlYzA2NjQ5MmE2ZGEyODU1YjFiOGNlNTYyNjY0YzBhNmIzMGIwMSJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXN1cHBvcnQvLk93bEJvdC55YW1sIiwiaCI6IjhiZWMwNjY0OTJhNmRhMjg1NWIxYjhjZTU2MjY2NGMwYTZiMzBiMDEifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXRhbGVudC8uT3dsQm90LnlhbWwiLCJoIjoiOGJlYzA2NjQ5MmE2ZGEyODU1YjFiOGNlNTYyNjY0YzBhNmIzMGIwMSJ9 * chore!: update to Node 14 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Sofia Leon <[email protected]>
1 parent c909357 commit 64109b0

245 files changed

Lines changed: 34979 additions & 5898 deletions

File tree

Some content is hidden

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

packages/google-cloud-privatecatalog/README.md

Lines changed: 6 additions & 7 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-
# [Private Catalog: Node.js Client](https://github.com/googleapis/google-cloud-node)
5+
# [Private Catalog: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-privatecatalog)
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/private-catalog.svg)](https://www.npmjs.org/package/@google-cloud/private-catalog)
@@ -83,15 +83,14 @@ searchCatalogs();
8383

8484
## Samples
8585

86-
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.
86+
Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-privatecatalog/samples) directory. Each sample's `README.md` has instructions for running its sample.
8787

8888
| Sample | Source Code | Try it |
8989
| --------------------------- | --------------------------------- | ------ |
90-
| Private_catalog.search_catalogs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-privatecatalog/samples/generated/v1beta1/private_catalog.search_catalogs.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-privatecatalog/samples/generated/v1beta1/private_catalog.search_catalogs.js,samples/README.md) |
91-
| Private_catalog.search_products | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-privatecatalog/samples/generated/v1beta1/private_catalog.search_products.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-privatecatalog/samples/generated/v1beta1/private_catalog.search_products.js,samples/README.md) |
92-
| Private_catalog.search_versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-privatecatalog/samples/generated/v1beta1/private_catalog.search_versions.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-privatecatalog/samples/generated/v1beta1/private_catalog.search_versions.js,samples/README.md) |
93-
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-privatecatalog/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-privatecatalog/samples/quickstart.js,samples/README.md) |
94-
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-privatecatalog/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-privatecatalog/samples/test/quickstart.js,samples/README.md) |
90+
| Private_catalog.search_catalogs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-privatecatalog/samples/generated/v1beta1/private_catalog.search_catalogs.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-privatecatalog/samples/generated/v1beta1/private_catalog.search_catalogs.js,packages/google-cloud-privatecatalog/samples/README.md) |
91+
| Private_catalog.search_products | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-privatecatalog/samples/generated/v1beta1/private_catalog.search_products.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-privatecatalog/samples/generated/v1beta1/private_catalog.search_products.js,packages/google-cloud-privatecatalog/samples/README.md) |
92+
| Private_catalog.search_versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-privatecatalog/samples/generated/v1beta1/private_catalog.search_versions.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-privatecatalog/samples/generated/v1beta1/private_catalog.search_versions.js,packages/google-cloud-privatecatalog/samples/README.md) |
93+
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-privatecatalog/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-privatecatalog/samples/quickstart.js,packages/google-cloud-privatecatalog/samples/README.md) |
9594

9695

9796

packages/google-cloud-privatecatalog/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,15 @@
4545
"test": "c8 mocha build/test"
4646
},
4747
"dependencies": {
48-
"google-gax": "^3.5.8"
48+
"google-gax": "^4.0.3"
4949
},
5050
"devDependencies": {
5151
"@types/mocha": "^9.0.0",
52-
"@types/node": "^18.0.0",
52+
"@types/node": "^20.4.5",
5353
"@types/sinon": "^10.0.0",
5454
"c8": "^7.7.2",
55-
"gts": "^3.1.0",
55+
"gapic-tools": "^0.1.8",
56+
"gts": "^5.0.0",
5657
"jsdoc": "^4.0.0",
5758
"jsdoc-fresh": "^2.0.0",
5859
"jsdoc-region-tag": "^2.0.0",
@@ -63,12 +64,12 @@
6364
"pack-n-play": "^1.0.0-2",
6465
"sinon": "^15.0.0",
6566
"ts-loader": "^9.1.2",
66-
"typescript": "^4.6.4",
67+
"typescript": "^5.1.6",
6768
"webpack": "^5.36.2",
6869
"webpack-cli": "^5.0.0"
6970
},
7071
"engines": {
71-
"node": ">=12.0.0"
72+
"node": ">=14.0.0"
7273
},
7374
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-privatecatalog"
7475
}

packages/google-cloud-privatecatalog/samples/README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
* [Private_catalog.search_products](#private_catalog.search_products)
1717
* [Private_catalog.search_versions](#private_catalog.search_versions)
1818
* [Quickstart](#quickstart)
19-
* [Quickstart](#quickstart)
2019

2120
## Before you begin
2221

@@ -96,23 +95,6 @@ __Usage:__
9695
`node packages/google-cloud-privatecatalog/samples/quickstart.js`
9796

9897

99-
-----
100-
101-
102-
103-
104-
### Quickstart
105-
106-
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-privatecatalog/samples/test/quickstart.js).
107-
108-
[![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-privatecatalog/samples/test/quickstart.js,samples/README.md)
109-
110-
__Usage:__
111-
112-
113-
`node packages/google-cloud-privatecatalog/samples/test/quickstart.js`
114-
115-
11698

11799

118100

packages/google-cloud-privatecatalog/samples/generated/v1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.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-privatecatalog",
4-
"version": "2.1.0",
4+
"version": "2.1.2",
55
"language": "TYPESCRIPT",
66
"apis": [
77
{
Lines changed: 171 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
{
2+
"clientLibrary": {
3+
"name": "nodejs-privatecatalog",
4+
"version": "2.1.2",
5+
"language": "TYPESCRIPT",
6+
"apis": [
7+
{
8+
"id": "google.cloud.privatecatalog.v1beta1",
9+
"version": "v1beta1"
10+
}
11+
]
12+
},
13+
"snippets": [
14+
{
15+
"regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchCatalogs_async",
16+
"title": "PrivateCatalog searchCatalogs Sample",
17+
"origin": "API_DEFINITION",
18+
"description": " Search [Catalog][google.cloud.privatecatalog.v1beta1.Catalog] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.",
19+
"canonical": true,
20+
"file": "private_catalog.search_catalogs.js",
21+
"language": "JAVASCRIPT",
22+
"segments": [
23+
{
24+
"start": 25,
25+
"end": 72,
26+
"type": "FULL"
27+
}
28+
],
29+
"clientMethod": {
30+
"shortName": "SearchCatalogs",
31+
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs",
32+
"async": true,
33+
"parameters": [
34+
{
35+
"name": "resource",
36+
"type": "TYPE_STRING"
37+
},
38+
{
39+
"name": "query",
40+
"type": "TYPE_STRING"
41+
},
42+
{
43+
"name": "page_size",
44+
"type": "TYPE_INT32"
45+
},
46+
{
47+
"name": "page_token",
48+
"type": "TYPE_STRING"
49+
}
50+
],
51+
"resultType": ".google.cloud.privatecatalog.v1beta1.SearchCatalogsResponse",
52+
"client": {
53+
"shortName": "PrivateCatalogClient",
54+
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalogClient"
55+
},
56+
"method": {
57+
"shortName": "SearchCatalogs",
58+
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs",
59+
"service": {
60+
"shortName": "PrivateCatalog",
61+
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog"
62+
}
63+
}
64+
}
65+
},
66+
{
67+
"regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchProducts_async",
68+
"title": "PrivateCatalog searchProducts Sample",
69+
"origin": "API_DEFINITION",
70+
"description": " Search [Product][google.cloud.privatecatalog.v1beta1.Product] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.",
71+
"canonical": true,
72+
"file": "private_catalog.search_products.js",
73+
"language": "JAVASCRIPT",
74+
"segments": [
75+
{
76+
"start": 25,
77+
"end": 74,
78+
"type": "FULL"
79+
}
80+
],
81+
"clientMethod": {
82+
"shortName": "SearchProducts",
83+
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts",
84+
"async": true,
85+
"parameters": [
86+
{
87+
"name": "resource",
88+
"type": "TYPE_STRING"
89+
},
90+
{
91+
"name": "query",
92+
"type": "TYPE_STRING"
93+
},
94+
{
95+
"name": "page_size",
96+
"type": "TYPE_INT32"
97+
},
98+
{
99+
"name": "page_token",
100+
"type": "TYPE_STRING"
101+
}
102+
],
103+
"resultType": ".google.cloud.privatecatalog.v1beta1.SearchProductsResponse",
104+
"client": {
105+
"shortName": "PrivateCatalogClient",
106+
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalogClient"
107+
},
108+
"method": {
109+
"shortName": "SearchProducts",
110+
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts",
111+
"service": {
112+
"shortName": "PrivateCatalog",
113+
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog"
114+
}
115+
}
116+
}
117+
},
118+
{
119+
"regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchVersions_async",
120+
"title": "PrivateCatalog searchVersions Sample",
121+
"origin": "API_DEFINITION",
122+
"description": " Search [Version][google.cloud.privatecatalog.v1beta1.Version] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.",
123+
"canonical": true,
124+
"file": "private_catalog.search_versions.js",
125+
"language": "JAVASCRIPT",
126+
"segments": [
127+
{
128+
"start": 25,
129+
"end": 75,
130+
"type": "FULL"
131+
}
132+
],
133+
"clientMethod": {
134+
"shortName": "SearchVersions",
135+
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions",
136+
"async": true,
137+
"parameters": [
138+
{
139+
"name": "resource",
140+
"type": "TYPE_STRING"
141+
},
142+
{
143+
"name": "query",
144+
"type": "TYPE_STRING"
145+
},
146+
{
147+
"name": "page_size",
148+
"type": "TYPE_INT32"
149+
},
150+
{
151+
"name": "page_token",
152+
"type": "TYPE_STRING"
153+
}
154+
],
155+
"resultType": ".google.cloud.privatecatalog.v1beta1.SearchVersionsResponse",
156+
"client": {
157+
"shortName": "PrivateCatalogClient",
158+
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalogClient"
159+
},
160+
"method": {
161+
"shortName": "SearchVersions",
162+
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions",
163+
"service": {
164+
"shortName": "PrivateCatalog",
165+
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog"
166+
}
167+
}
168+
}
169+
}
170+
]
171+
}

packages/google-cloud-privatecatalog/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"
@@ -20,4 +20,4 @@
2020
"chai": "^4.2.0",
2121
"mocha": "^8.0.0"
2222
}
23-
}
23+
}

0 commit comments

Comments
 (0)