-
Notifications
You must be signed in to change notification settings - Fork 592
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 (#55) - [ ] 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
51a4f5d
commit f78a6bb
Showing
8 changed files
with
369 additions
and
15 deletions.
There are no files selected for viewing
9 changes: 7 additions & 2 deletions
9
...gle-cloud-gkeconnect-gateway/samples/generated/v1beta1/gateway_service.delete_resource.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-gkeconnect-gateway/samples/generated/v1beta1/gateway_service.get_resource.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
...ogle-cloud-gkeconnect-gateway/samples/generated/v1beta1/gateway_service.patch_resource.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
...oogle-cloud-gkeconnect-gateway/samples/generated/v1beta1/gateway_service.post_resource.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-gkeconnect-gateway/samples/generated/v1beta1/gateway_service.put_resource.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
255 changes: 255 additions & 0 deletions
255
...y/samples/generated/v1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.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,255 @@ | ||
{ | ||
"clientLibrary": { | ||
"name": "nodejs-gateway", | ||
"version": "0.1.0", | ||
"language": "TYPESCRIPT", | ||
"apis": [ | ||
{ | ||
"id": "google.cloud.gkeconnect.gateway.v1beta1", | ||
"version": "v1beta1" | ||
} | ||
] | ||
}, | ||
"snippets": [ | ||
{ | ||
"regionTag": "connectgateway_v1beta1_generated_GatewayService_GetResource_async", | ||
"title": "GatewayService getResource Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " GetResource performs an HTTP GET request on the Kubernetes API Server.", | ||
"canonical": true, | ||
"file": "gateway_service.get_resource.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 58, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "GetResource", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.GetResource", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "content_type", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "data", | ||
"type": "TYPE_BYTES" | ||
}, | ||
{ | ||
"name": "extensions", | ||
"type": "TYPE_MESSAGE[]" | ||
} | ||
], | ||
"resultType": ".google.api.HttpBody", | ||
"client": { | ||
"shortName": "GatewayServiceClient", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient" | ||
}, | ||
"method": { | ||
"shortName": "GetResource", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.GetResource", | ||
"service": { | ||
"shortName": "GatewayService", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"regionTag": "connectgateway_v1beta1_generated_GatewayService_PostResource_async", | ||
"title": "GatewayService postResource Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " PostResource performs an HTTP POST on the Kubernetes API Server.", | ||
"canonical": true, | ||
"file": "gateway_service.post_resource.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 58, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "PostResource", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PostResource", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "content_type", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "data", | ||
"type": "TYPE_BYTES" | ||
}, | ||
{ | ||
"name": "extensions", | ||
"type": "TYPE_MESSAGE[]" | ||
} | ||
], | ||
"resultType": ".google.api.HttpBody", | ||
"client": { | ||
"shortName": "GatewayServiceClient", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient" | ||
}, | ||
"method": { | ||
"shortName": "PostResource", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PostResource", | ||
"service": { | ||
"shortName": "GatewayService", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"regionTag": "connectgateway_v1beta1_generated_GatewayService_DeleteResource_async", | ||
"title": "GatewayService deleteResource Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " DeleteResource performs an HTTP DELETE on the Kubernetes API Server.", | ||
"canonical": true, | ||
"file": "gateway_service.delete_resource.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 58, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "DeleteResource", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.DeleteResource", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "content_type", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "data", | ||
"type": "TYPE_BYTES" | ||
}, | ||
{ | ||
"name": "extensions", | ||
"type": "TYPE_MESSAGE[]" | ||
} | ||
], | ||
"resultType": ".google.api.HttpBody", | ||
"client": { | ||
"shortName": "GatewayServiceClient", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient" | ||
}, | ||
"method": { | ||
"shortName": "DeleteResource", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.DeleteResource", | ||
"service": { | ||
"shortName": "GatewayService", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"regionTag": "connectgateway_v1beta1_generated_GatewayService_PutResource_async", | ||
"title": "GatewayService putResource Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " PutResource performs an HTTP PUT on the Kubernetes API Server.", | ||
"canonical": true, | ||
"file": "gateway_service.put_resource.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 58, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "PutResource", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PutResource", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "content_type", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "data", | ||
"type": "TYPE_BYTES" | ||
}, | ||
{ | ||
"name": "extensions", | ||
"type": "TYPE_MESSAGE[]" | ||
} | ||
], | ||
"resultType": ".google.api.HttpBody", | ||
"client": { | ||
"shortName": "GatewayServiceClient", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient" | ||
}, | ||
"method": { | ||
"shortName": "PutResource", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PutResource", | ||
"service": { | ||
"shortName": "GatewayService", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"regionTag": "connectgateway_v1beta1_generated_GatewayService_PatchResource_async", | ||
"title": "GatewayService patchResource Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " PatchResource performs an HTTP PATCH on the Kubernetes API Server.", | ||
"canonical": true, | ||
"file": "gateway_service.patch_resource.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 58, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "PatchResource", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PatchResource", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "content_type", | ||
"type": "TYPE_STRING" | ||
}, | ||
{ | ||
"name": "data", | ||
"type": "TYPE_BYTES" | ||
}, | ||
{ | ||
"name": "extensions", | ||
"type": "TYPE_MESSAGE[]" | ||
} | ||
], | ||
"resultType": ".google.api.HttpBody", | ||
"client": { | ||
"shortName": "GatewayServiceClient", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClient" | ||
}, | ||
"method": { | ||
"shortName": "PatchResource", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PatchResource", | ||
"service": { | ||
"shortName": "GatewayService", | ||
"fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |
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
Oops, something went wrong.