| 1 |
{ |
| 2 |
"clientLibrary": { |
| 3 |
"name": "cloud.google.com/go/gkeconnect/gateway/apiv1", |
| 4 |
"version": "0.12.4", |
| 5 |
"language": "GO", |
| 6 |
"apis": [ |
| 7 |
{ |
| 8 |
"id": "google.cloud.gkeconnect.gateway.v1", |
| 9 |
"version": "v1" |
| 10 |
} |
| 11 |
] |
| 12 |
}, |
| 13 |
"snippets": [ |
| 14 |
{ |
| 15 |
"regionTag": "connectgateway_v1_generated_GatewayControl_GenerateCredentials_sync", |
| 16 |
"title": "connectgateway GenerateCredentials Sample", |
| 17 |
"description": "GenerateCredentials generateCredentials provides connection information that allows a user to\naccess the specified membership using Connect Gateway.", |
| 18 |
"file": "GatewayControlClient/GenerateCredentials/main.go", |
| 19 |
"language": "GO", |
| 20 |
"clientMethod": { |
| 21 |
"shortName": "GenerateCredentials", |
| 22 |
"fullName": "google.cloud.gkeconnect.gateway.v1.GatewayControlClient.GenerateCredentials", |
| 23 |
"parameters": [ |
| 24 |
{ |
| 25 |
"type": "context.Context", |
| 26 |
"name": "ctx" |
| 27 |
}, |
| 28 |
{ |
| 29 |
"type": "gatewaypb.GenerateCredentialsRequest", |
| 30 |
"name": "req" |
| 31 |
}, |
| 32 |
{ |
| 33 |
"type": "...gax.CallOption", |
| 34 |
"name": "opts" |
| 35 |
} |
| 36 |
], |
| 37 |
"resultType": "*gatewaypb.GenerateCredentialsResponse", |
| 38 |
"client": { |
| 39 |
"shortName": "GatewayControlClient", |
| 40 |
"fullName": "google.cloud.gkeconnect.gateway.v1.GatewayControlClient" |
| 41 |
}, |
| 42 |
"method": { |
| 43 |
"shortName": "GenerateCredentials", |
| 44 |
"fullName": "google.cloud.gkeconnect.gateway.v1.GatewayControl.GenerateCredentials", |
| 45 |
"service": { |
| 46 |
"shortName": "GatewayControl", |
| 47 |
"fullName": "google.cloud.gkeconnect.gateway.v1.GatewayControl" |
| 48 |
} |
| 49 |
} |
| 50 |
}, |
| 51 |
"origin": "API_DEFINITION", |
| 52 |
"segments": [ |
| 53 |
{ |
| 54 |
"start": 18, |
| 55 |
"end": 53, |
| 56 |
"type": "FULL" |
| 57 |
} |
| 58 |
] |
| 59 |
} |
| 60 |
] |
| 61 |
} |