-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(samples): include metadata file, add exclusions for samples to h…
…andwritten libraries (#69) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 429395631 Source-Link: googleapis/googleapis@84594b3 Source-Link: googleapis/googleapis-gen@ed74f97 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWQ3NGY5NzBmZDgyOTE0ODc0ZTZiMjdiMDQ3NjNjZmE2NmJhZmU5YiJ9
- Loading branch information
1 parent
c1ea078
commit 797984e
Showing
6 changed files
with
211 additions
and
11 deletions.
There are no files selected for viewing
9 changes: 7 additions & 2 deletions
9
.../google-cloud-privatecatalog/samples/generated/v1beta1/private_catalog.search_catalogs.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 7 additions & 2 deletions
9
.../google-cloud-privatecatalog/samples/generated/v1beta1/private_catalog.search_products.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 7 additions & 2 deletions
9
.../google-cloud-privatecatalog/samples/generated/v1beta1/private_catalog.search_versions.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
171 changes: 171 additions & 0 deletions
171
...talog/samples/generated/v1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,171 @@ | ||
{ | ||
"clientLibrary": { | ||
"name": "nodejs-privatecatalog", | ||
"version": "0.1.0", | ||
"language": "TYPESCRIPT", | ||
"apis": [ | ||
{ | ||
"id": "google.cloud.privatecatalog.v1beta1", | ||
"version": "v1beta1" | ||
} | ||
] | ||
}, | ||
"snippets": [ | ||
{ | ||
"regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchCatalogs_async", | ||
"title": "PrivateCatalog searchCatalogs Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Search [Catalog][google.cloud.privatecatalog.v1beta1.Catalog] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.", | ||
"canonical": true, | ||
"file": "private_catalog.search_catalogs.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 69, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "SearchCatalogs", | ||
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "resource", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "query", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "page_size", | ||
"type": "TYPE_INT32" | ||
}, | ||
{ | ||
"name": "page_token", | ||
"type": "TYPE_STRING" | ||
} | ||
], | ||
"resultType": ".google.cloud.privatecatalog.v1beta1.SearchCatalogsResponse", | ||
"client": { | ||
"shortName": "PrivateCatalogClient", | ||
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalogClient" | ||
}, | ||
"method": { | ||
"shortName": "SearchCatalogs", | ||
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs", | ||
"service": { | ||
"shortName": "PrivateCatalog", | ||
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchProducts_async", | ||
"title": "PrivateCatalog searchProducts Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Search [Product][google.cloud.privatecatalog.v1beta1.Product] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.", | ||
"canonical": true, | ||
"file": "private_catalog.search_products.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 71, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "SearchProducts", | ||
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "resource", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "query", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "page_size", | ||
"type": "TYPE_INT32" | ||
}, | ||
{ | ||
"name": "page_token", | ||
"type": "TYPE_STRING" | ||
} | ||
], | ||
"resultType": ".google.cloud.privatecatalog.v1beta1.SearchProductsResponse", | ||
"client": { | ||
"shortName": "PrivateCatalogClient", | ||
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalogClient" | ||
}, | ||
"method": { | ||
"shortName": "SearchProducts", | ||
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts", | ||
"service": { | ||
"shortName": "PrivateCatalog", | ||
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchVersions_async", | ||
"title": "PrivateCatalog searchVersions Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Search [Version][google.cloud.privatecatalog.v1beta1.Version] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.", | ||
"canonical": true, | ||
"file": "private_catalog.search_versions.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 72, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "SearchVersions", | ||
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "resource", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "query", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "page_size", | ||
"type": "TYPE_INT32" | ||
}, | ||
{ | ||
"name": "page_token", | ||
"type": "TYPE_STRING" | ||
} | ||
], | ||
"resultType": ".google.cloud.privatecatalog.v1beta1.SearchVersionsResponse", | ||
"client": { | ||
"shortName": "PrivateCatalogClient", | ||
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalogClient" | ||
}, | ||
"method": { | ||
"shortName": "SearchVersions", | ||
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions", | ||
"service": { | ||
"shortName": "PrivateCatalog", | ||
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters