| { |
| "clientLibrary": { |
| "name": "cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1", |
| "version": "1.0.6", |
| "language": "GO", |
| "apis": [ |
| { |
| "id": "google.cloud.beyondcorp.clientconnectorservices.v1", |
| "version": "v1" |
| } |
| ] |
| }, |
| "snippets": [ |
| { |
| "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_CancelOperation_sync", |
| "title": "beyondcorp CancelOperation Sample", |
| "description": "CancelOperation is a utility method from google.longrunning.Operations.", |
| "file": "Client/CancelOperation/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CancelOperation", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.CancelOperation", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "longrunningpb.CancelOperationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" |
| }, |
| "method": { |
| "shortName": "CancelOperation", |
| "fullName": "google.longrunning.Operations.CancelOperation", |
| "service": { |
| "shortName": "Operations", |
| "fullName": "google.longrunning.Operations" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 51, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_CreateClientConnectorService_sync", |
| "title": "beyondcorp CreateClientConnectorService Sample", |
| "description": "CreateClientConnectorService creates a new ClientConnectorService in a given project and location.", |
| "file": "Client/CreateClientConnectorService/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateClientConnectorService", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.CreateClientConnectorService", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clientconnectorservicespb.CreateClientConnectorServiceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateClientConnectorServiceOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" |
| }, |
| "method": { |
| "shortName": "CreateClientConnectorService", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.CreateClientConnectorService", |
| "service": { |
| "shortName": "ClientConnectorServicesService", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_DeleteClientConnectorService_sync", |
| "title": "beyondcorp DeleteClientConnectorService Sample", |
| "description": "DeleteClientConnectorService deletes a single ClientConnectorService.", |
| "file": "Client/DeleteClientConnectorService/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteClientConnectorService", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.DeleteClientConnectorService", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clientconnectorservicespb.DeleteClientConnectorServiceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteClientConnectorServiceOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" |
| }, |
| "method": { |
| "shortName": "DeleteClientConnectorService", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.DeleteClientConnectorService", |
| "service": { |
| "shortName": "ClientConnectorServicesService", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 56, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_DeleteOperation_sync", |
| "title": "beyondcorp DeleteOperation Sample", |
| "description": "DeleteOperation is a utility method from google.longrunning.Operations.", |
| "file": "Client/DeleteOperation/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteOperation", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.DeleteOperation", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "longrunningpb.DeleteOperationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" |
| }, |
| "method": { |
| "shortName": "DeleteOperation", |
| "fullName": "google.longrunning.Operations.DeleteOperation", |
| "service": { |
| "shortName": "Operations", |
| "fullName": "google.longrunning.Operations" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 51, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_GetClientConnectorService_sync", |
| "title": "beyondcorp GetClientConnectorService Sample", |
| "description": "GetClientConnectorService gets details of a single ClientConnectorService.", |
| "file": "Client/GetClientConnectorService/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetClientConnectorService", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.GetClientConnectorService", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clientconnectorservicespb.GetClientConnectorServiceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*clientconnectorservicespb.ClientConnectorService", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetClientConnectorService", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.GetClientConnectorService", |
| "service": { |
| "shortName": "ClientConnectorServicesService", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_GetIamPolicy_sync", |
| "title": "beyondcorp GetIamPolicy Sample", |
| "description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.", |
| "file": "Client/GetIamPolicy/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetIamPolicy", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.GetIamPolicy", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "iampb.GetIamPolicyRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*iampb.Policy", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetIamPolicy", |
| "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", |
| "service": { |
| "shortName": "IAMPolicy", |
| "fullName": "google.iam.v1.IAMPolicy" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_GetLocation_sync", |
| "title": "beyondcorp GetLocation Sample", |
| "description": "GetLocation gets information about a location.", |
| "file": "Client/GetLocation/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetLocation", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.GetLocation", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "locationpb.GetLocationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*locationpb.Location", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetLocation", |
| "fullName": "google.cloud.location.Locations.GetLocation", |
| "service": { |
| "shortName": "Locations", |
| "fullName": "google.cloud.location.Locations" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_GetOperation_sync", |
| "title": "beyondcorp GetOperation Sample", |
| "description": "GetOperation is a utility method from google.longrunning.Operations.", |
| "file": "Client/GetOperation/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetOperation", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.GetOperation", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "longrunningpb.GetOperationRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*longrunningpb.Operation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetOperation", |
| "fullName": "google.longrunning.Operations.GetOperation", |
| "service": { |
| "shortName": "Operations", |
| "fullName": "google.longrunning.Operations" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_ListClientConnectorServices_sync", |
| "title": "beyondcorp ListClientConnectorServices Sample", |
| "description": "ListClientConnectorServices lists ClientConnectorServices in a given project and location.", |
| "file": "Client/ListClientConnectorServices/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListClientConnectorServices", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.ListClientConnectorServices", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clientconnectorservicespb.ListClientConnectorServicesRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "ClientConnectorServiceIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListClientConnectorServices", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.ListClientConnectorServices", |
| "service": { |
| "shortName": "ClientConnectorServicesService", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 66, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_ListLocations_sync", |
| "title": "beyondcorp ListLocations Sample", |
| "description": "ListLocations lists information about the supported locations for this service.", |
| "file": "Client/ListLocations/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListLocations", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.ListLocations", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "locationpb.ListLocationsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "LocationIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListLocations", |
| "fullName": "google.cloud.location.Locations.ListLocations", |
| "service": { |
| "shortName": "Locations", |
| "fullName": "google.cloud.location.Locations" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 66, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_ListOperations_sync", |
| "title": "beyondcorp ListOperations Sample", |
| "description": "ListOperations is a utility method from google.longrunning.Operations.", |
| "file": "Client/ListOperations/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListOperations", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.ListOperations", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "longrunningpb.ListOperationsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "OperationIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListOperations", |
| "fullName": "google.longrunning.Operations.ListOperations", |
| "service": { |
| "shortName": "Operations", |
| "fullName": "google.longrunning.Operations" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 66, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_SetIamPolicy_sync", |
| "title": "beyondcorp SetIamPolicy Sample", |
| "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.", |
| "file": "Client/SetIamPolicy/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "SetIamPolicy", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.SetIamPolicy", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "iampb.SetIamPolicyRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*iampb.Policy", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" |
| }, |
| "method": { |
| "shortName": "SetIamPolicy", |
| "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", |
| "service": { |
| "shortName": "IAMPolicy", |
| "fullName": "google.iam.v1.IAMPolicy" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_TestIamPermissions_sync", |
| "title": "beyondcorp TestIamPermissions Sample", |
| "description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.", |
| "file": "Client/TestIamPermissions/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "TestIamPermissions", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.TestIamPermissions", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "iampb.TestIamPermissionsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "*iampb.TestIamPermissionsResponse", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" |
| }, |
| "method": { |
| "shortName": "TestIamPermissions", |
| "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", |
| "service": { |
| "shortName": "IAMPolicy", |
| "fullName": "google.iam.v1.IAMPolicy" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 53, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_UpdateClientConnectorService_sync", |
| "title": "beyondcorp UpdateClientConnectorService Sample", |
| "description": "UpdateClientConnectorService updates the parameters of a single ClientConnectorService.", |
| "file": "Client/UpdateClientConnectorService/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpdateClientConnectorService", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.UpdateClientConnectorService", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "clientconnectorservicespb.UpdateClientConnectorServiceRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpdateClientConnectorServiceOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" |
| }, |
| "method": { |
| "shortName": "UpdateClientConnectorService", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.UpdateClientConnectorService", |
| "service": { |
| "shortName": "ClientConnectorServicesService", |
| "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 58, |
| "type": "FULL" |
| } |
| ] |
| } |
| ] |
| } |