-
Notifications
You must be signed in to change notification settings - Fork 598
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 (#17) - [ ] 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
ce9820c
commit d1f1870
Showing
8 changed files
with
278 additions
and
15 deletions.
There are no files selected for viewing
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
packages/google-cloud-ids/samples/generated/v1/i_d_s.create_endpoint.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
packages/google-cloud-ids/samples/generated/v1/i_d_s.delete_endpoint.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
packages/google-cloud-ids/samples/generated/v1/i_d_s.get_endpoint.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
packages/google-cloud-ids/samples/generated/v1/i_d_s.list_endpoints.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
207 changes: 207 additions & 0 deletions
207
packages/google-cloud-ids/samples/generated/v1/snippet_metadata.google.cloud.ids.v1.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,207 @@ | ||
{ | ||
"clientLibrary": { | ||
"name": "nodejs-ids", | ||
"version": "0.1.0", | ||
"language": "TYPESCRIPT", | ||
"apis": [ | ||
{ | ||
"id": "google.cloud.ids.v1", | ||
"version": "v1" | ||
} | ||
] | ||
}, | ||
"snippets": [ | ||
{ | ||
"regionTag": "ids_v1_generated_IDS_ListEndpoints_async", | ||
"title": "IDS listEndpoints Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Lists Endpoints in a given project and location.", | ||
"canonical": true, | ||
"file": "i_d_s.list_endpoints.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 74, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "ListEndpoints", | ||
"fullName": "google.cloud.ids.v1.IDS.ListEndpoints", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "parent", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "page_size", | ||
"type": "TYPE_INT32" | ||
}, | ||
{ | ||
"name": "page_token", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "filter", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "order_by", | ||
"type": "TYPE_STRING" | ||
} | ||
], | ||
"resultType": ".google.cloud.ids.v1.ListEndpointsResponse", | ||
"client": { | ||
"shortName": "IDSClient", | ||
"fullName": "google.cloud.ids.v1.IDSClient" | ||
}, | ||
"method": { | ||
"shortName": "ListEndpoints", | ||
"fullName": "google.cloud.ids.v1.IDS.ListEndpoints", | ||
"service": { | ||
"shortName": "IDS", | ||
"fullName": "google.cloud.ids.v1.IDS" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"regionTag": "ids_v1_generated_IDS_GetEndpoint_async", | ||
"title": "IDS getEndpoint Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Gets details of a single Endpoint.", | ||
"canonical": true, | ||
"file": "i_d_s.get_endpoint.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 51, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "GetEndpoint", | ||
"fullName": "google.cloud.ids.v1.IDS.GetEndpoint", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "name", | ||
"type": "TYPE_STRING" | ||
} | ||
], | ||
"resultType": ".google.cloud.ids.v1.Endpoint", | ||
"client": { | ||
"shortName": "IDSClient", | ||
"fullName": "google.cloud.ids.v1.IDSClient" | ||
}, | ||
"method": { | ||
"shortName": "GetEndpoint", | ||
"fullName": "google.cloud.ids.v1.IDS.GetEndpoint", | ||
"service": { | ||
"shortName": "IDS", | ||
"fullName": "google.cloud.ids.v1.IDS" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"regionTag": "ids_v1_generated_IDS_CreateEndpoint_async", | ||
"title": "IDS createEndpoint Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Creates a new Endpoint in a given project and location.", | ||
"canonical": true, | ||
"file": "i_d_s.create_endpoint.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 80, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "CreateEndpoint", | ||
"fullName": "google.cloud.ids.v1.IDS.CreateEndpoint", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "parent", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "endpoint_id", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "endpoint", | ||
"type": ".google.cloud.ids.v1.Endpoint" | ||
}, | ||
{ | ||
"name": "request_id", | ||
"type": "TYPE_STRING" | ||
} | ||
], | ||
"resultType": ".google.longrunning.Operation", | ||
"client": { | ||
"shortName": "IDSClient", | ||
"fullName": "google.cloud.ids.v1.IDSClient" | ||
}, | ||
"method": { | ||
"shortName": "CreateEndpoint", | ||
"fullName": "google.cloud.ids.v1.IDS.CreateEndpoint", | ||
"service": { | ||
"shortName": "IDS", | ||
"fullName": "google.cloud.ids.v1.IDS" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"regionTag": "ids_v1_generated_IDS_DeleteEndpoint_async", | ||
"title": "IDS deleteEndpoint Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Deletes a single Endpoint.", | ||
"canonical": true, | ||
"file": "i_d_s.delete_endpoint.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 65, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "DeleteEndpoint", | ||
"fullName": "google.cloud.ids.v1.IDS.DeleteEndpoint", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "name", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "request_id", | ||
"type": "TYPE_STRING" | ||
} | ||
], | ||
"resultType": ".google.longrunning.Operation", | ||
"client": { | ||
"shortName": "IDSClient", | ||
"fullName": "google.cloud.ids.v1.IDSClient" | ||
}, | ||
"method": { | ||
"shortName": "DeleteEndpoint", | ||
"fullName": "google.cloud.ids.v1.IDS.DeleteEndpoint", | ||
"service": { | ||
"shortName": "IDS", | ||
"fullName": "google.cloud.ids.v1.IDS" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |
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