{ "clientLibrary": { "name": "cloud.google.com/go/gkeconnect/gateway/apiv1beta1", "version": "0.12.4", "language": "GO", "apis": [ { "id": "google.cloud.gkeconnect.gateway.v1beta1", "version": "v1beta1" } ] }, "snippets": [ { "regionTag": "connectgateway_v1beta1_generated_GatewayControl_GenerateCredentials_sync", "title": "connectgateway GenerateCredentials Sample", "description": "GenerateCredentials generateCredentials provides connection information that allows a user to\naccess the specified membership using Connect Gateway.", "file": "GatewayControlClient/GenerateCredentials/main.go", "language": "GO", "clientMethod": { "shortName": "GenerateCredentials", "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayControlClient.GenerateCredentials", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gatewaypb.GenerateCredentialsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*gatewaypb.GenerateCredentialsResponse", "client": { "shortName": "GatewayControlClient", "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayControlClient" }, "method": { "shortName": "GenerateCredentials", "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayControl.GenerateCredentials", "service": { "shortName": "GatewayControl", "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayControl" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] } ] }