| { |
| "clientLibrary": { |
| "name": "cloud.google.com/go/datastream/apiv1", |
| "version": "1.2.0", |
| "language": "GO", |
| "apis": [ |
| { |
| "id": "google.cloud.datastream.v1", |
| "version": "v1" |
| } |
| ] |
| }, |
| "snippets": [ |
| { |
| "regionTag": "datastream_v1_generated_Datastream_CancelOperation_sync", |
| "title": "datastream 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.datastream.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.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "CancelOperation", |
| "fullName": "google.cloud.datastream.v1.Datastream.CancelOperation", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 50, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_CreateConnectionProfile_sync", |
| "title": "datastream CreateConnectionProfile Sample", |
| "description": "CreateConnectionProfile use this method to create a connection profile in a project and location.", |
| "file": "Client/CreateConnectionProfile/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateConnectionProfile", |
| "fullName": "google.cloud.datastream.v1.Client.CreateConnectionProfile", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.CreateConnectionProfileRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateConnectionProfileOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "CreateConnectionProfile", |
| "fullName": "google.cloud.datastream.v1.Datastream.CreateConnectionProfile", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 57, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_CreatePrivateConnection_sync", |
| "title": "datastream CreatePrivateConnection Sample", |
| "description": "CreatePrivateConnection use this method to create a private connectivity configuration.", |
| "file": "Client/CreatePrivateConnection/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreatePrivateConnection", |
| "fullName": "google.cloud.datastream.v1.Client.CreatePrivateConnection", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.CreatePrivateConnectionRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreatePrivateConnectionOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "CreatePrivateConnection", |
| "fullName": "google.cloud.datastream.v1.Datastream.CreatePrivateConnection", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 57, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_CreateRoute_sync", |
| "title": "datastream CreateRoute Sample", |
| "description": "CreateRoute use this method to create a route for a private connectivity configuration\nin a project and location.", |
| "file": "Client/CreateRoute/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateRoute", |
| "fullName": "google.cloud.datastream.v1.Client.CreateRoute", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.CreateRouteRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateRouteOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "CreateRoute", |
| "fullName": "google.cloud.datastream.v1.Datastream.CreateRoute", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 57, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_CreateStream_sync", |
| "title": "datastream CreateStream Sample", |
| "description": "CreateStream use this method to create a stream.", |
| "file": "Client/CreateStream/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateStream", |
| "fullName": "google.cloud.datastream.v1.Client.CreateStream", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.CreateStreamRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateStreamOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "CreateStream", |
| "fullName": "google.cloud.datastream.v1.Datastream.CreateStream", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 57, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_DeleteConnectionProfile_sync", |
| "title": "datastream DeleteConnectionProfile Sample", |
| "description": "DeleteConnectionProfile use this method to delete a connection profile.", |
| "file": "Client/DeleteConnectionProfile/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteConnectionProfile", |
| "fullName": "google.cloud.datastream.v1.Client.DeleteConnectionProfile", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.DeleteConnectionProfileRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteConnectionProfileOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "DeleteConnectionProfile", |
| "fullName": "google.cloud.datastream.v1.Datastream.DeleteConnectionProfile", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 55, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_DeleteOperation_sync", |
| "title": "datastream 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.datastream.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.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "DeleteOperation", |
| "fullName": "google.cloud.datastream.v1.Datastream.DeleteOperation", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 50, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_DeletePrivateConnection_sync", |
| "title": "datastream DeletePrivateConnection Sample", |
| "description": "DeletePrivateConnection use this method to delete a private connectivity configuration.", |
| "file": "Client/DeletePrivateConnection/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeletePrivateConnection", |
| "fullName": "google.cloud.datastream.v1.Client.DeletePrivateConnection", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.DeletePrivateConnectionRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeletePrivateConnectionOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "DeletePrivateConnection", |
| "fullName": "google.cloud.datastream.v1.Datastream.DeletePrivateConnection", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 55, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_DeleteRoute_sync", |
| "title": "datastream DeleteRoute Sample", |
| "description": "DeleteRoute use this method to delete a route.", |
| "file": "Client/DeleteRoute/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteRoute", |
| "fullName": "google.cloud.datastream.v1.Client.DeleteRoute", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.DeleteRouteRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteRouteOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "DeleteRoute", |
| "fullName": "google.cloud.datastream.v1.Datastream.DeleteRoute", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 55, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_DeleteStream_sync", |
| "title": "datastream DeleteStream Sample", |
| "description": "DeleteStream use this method to delete a stream.", |
| "file": "Client/DeleteStream/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteStream", |
| "fullName": "google.cloud.datastream.v1.Client.DeleteStream", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.DeleteStreamRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteStreamOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "DeleteStream", |
| "fullName": "google.cloud.datastream.v1.Datastream.DeleteStream", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 55, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_DiscoverConnectionProfile_sync", |
| "title": "datastream DiscoverConnectionProfile Sample", |
| "description": "DiscoverConnectionProfile use this method to discover a connection profile.\nThe discover API call exposes the data objects and metadata belonging to\nthe profile. Typically, a request returns children data objects of a\nparent data object that’s optionally supplied in the request.", |
| "file": "Client/DiscoverConnectionProfile/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DiscoverConnectionProfile", |
| "fullName": "google.cloud.datastream.v1.Client.DiscoverConnectionProfile", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.DiscoverConnectionProfileRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "datastreampb.DiscoverConnectionProfileResponse", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "DiscoverConnectionProfile", |
| "fullName": "google.cloud.datastream.v1.Datastream.DiscoverConnectionProfile", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_FetchStaticIps_sync", |
| "title": "datastream FetchStaticIps Sample", |
| "description": "FetchStaticIps the FetchStaticIps API call exposes the static IP addresses used by\nDatastream.", |
| "file": "Client/FetchStaticIps/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "FetchStaticIps", |
| "fullName": "google.cloud.datastream.v1.Client.FetchStaticIps", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.FetchStaticIpsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "StringIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "FetchStaticIps", |
| "fullName": "google.cloud.datastream.v1.Datastream.FetchStaticIps", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 59, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_GetConnectionProfile_sync", |
| "title": "datastream GetConnectionProfile Sample", |
| "description": "GetConnectionProfile use this method to get details about a connection profile.", |
| "file": "Client/GetConnectionProfile/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetConnectionProfile", |
| "fullName": "google.cloud.datastream.v1.Client.GetConnectionProfile", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.GetConnectionProfileRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "datastreampb.ConnectionProfile", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetConnectionProfile", |
| "fullName": "google.cloud.datastream.v1.Datastream.GetConnectionProfile", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_GetLocation_sync", |
| "title": "datastream GetLocation Sample", |
| "description": "GetLocation gets information about a location.", |
| "file": "Client/GetLocation/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetLocation", |
| "fullName": "google.cloud.datastream.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.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetLocation", |
| "fullName": "google.cloud.datastream.v1.Datastream.GetLocation", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_GetOperation_sync", |
| "title": "datastream 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.datastream.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.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetOperation", |
| "fullName": "google.cloud.datastream.v1.Datastream.GetOperation", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_GetPrivateConnection_sync", |
| "title": "datastream GetPrivateConnection Sample", |
| "description": "GetPrivateConnection use this method to get details about a private connectivity configuration.", |
| "file": "Client/GetPrivateConnection/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetPrivateConnection", |
| "fullName": "google.cloud.datastream.v1.Client.GetPrivateConnection", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.GetPrivateConnectionRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "datastreampb.PrivateConnection", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetPrivateConnection", |
| "fullName": "google.cloud.datastream.v1.Datastream.GetPrivateConnection", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_GetRoute_sync", |
| "title": "datastream GetRoute Sample", |
| "description": "GetRoute use this method to get details about a route.", |
| "file": "Client/GetRoute/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetRoute", |
| "fullName": "google.cloud.datastream.v1.Client.GetRoute", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.GetRouteRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "datastreampb.Route", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetRoute", |
| "fullName": "google.cloud.datastream.v1.Datastream.GetRoute", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_GetStream_sync", |
| "title": "datastream GetStream Sample", |
| "description": "GetStream use this method to get details about a stream.", |
| "file": "Client/GetStream/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetStream", |
| "fullName": "google.cloud.datastream.v1.Client.GetStream", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.GetStreamRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "datastreampb.Stream", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetStream", |
| "fullName": "google.cloud.datastream.v1.Datastream.GetStream", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_GetStreamObject_sync", |
| "title": "datastream GetStreamObject Sample", |
| "description": "GetStreamObject use this method to get details about a stream object.", |
| "file": "Client/GetStreamObject/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetStreamObject", |
| "fullName": "google.cloud.datastream.v1.Client.GetStreamObject", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.GetStreamObjectRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "datastreampb.StreamObject", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "GetStreamObject", |
| "fullName": "google.cloud.datastream.v1.Datastream.GetStreamObject", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_ListConnectionProfiles_sync", |
| "title": "datastream ListConnectionProfiles Sample", |
| "description": "ListConnectionProfiles use this method to list connection profiles created in a project and\nlocation.", |
| "file": "Client/ListConnectionProfiles/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListConnectionProfiles", |
| "fullName": "google.cloud.datastream.v1.Client.ListConnectionProfiles", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.ListConnectionProfilesRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "ConnectionProfileIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListConnectionProfiles", |
| "fullName": "google.cloud.datastream.v1.Datastream.ListConnectionProfiles", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 59, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_ListLocations_sync", |
| "title": "datastream 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.datastream.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.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListLocations", |
| "fullName": "google.cloud.datastream.v1.Datastream.ListLocations", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 59, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_ListOperations_sync", |
| "title": "datastream 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.datastream.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.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListOperations", |
| "fullName": "google.cloud.datastream.v1.Datastream.ListOperations", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 59, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_ListPrivateConnections_sync", |
| "title": "datastream ListPrivateConnections Sample", |
| "description": "ListPrivateConnections use this method to list private connectivity configurations in a project\nand location.", |
| "file": "Client/ListPrivateConnections/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListPrivateConnections", |
| "fullName": "google.cloud.datastream.v1.Client.ListPrivateConnections", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.ListPrivateConnectionsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "PrivateConnectionIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListPrivateConnections", |
| "fullName": "google.cloud.datastream.v1.Datastream.ListPrivateConnections", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 59, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_ListRoutes_sync", |
| "title": "datastream ListRoutes Sample", |
| "description": "ListRoutes use this method to list routes created for a private connectivity\nconfiguration in a project and location.", |
| "file": "Client/ListRoutes/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListRoutes", |
| "fullName": "google.cloud.datastream.v1.Client.ListRoutes", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.ListRoutesRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "RouteIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListRoutes", |
| "fullName": "google.cloud.datastream.v1.Datastream.ListRoutes", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 59, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_ListStreamObjects_sync", |
| "title": "datastream ListStreamObjects Sample", |
| "description": "ListStreamObjects use this method to list the objects of a specific stream.", |
| "file": "Client/ListStreamObjects/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListStreamObjects", |
| "fullName": "google.cloud.datastream.v1.Client.ListStreamObjects", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.ListStreamObjectsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "StreamObjectIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListStreamObjects", |
| "fullName": "google.cloud.datastream.v1.Datastream.ListStreamObjects", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 59, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_ListStreams_sync", |
| "title": "datastream ListStreams Sample", |
| "description": "ListStreams use this method to list streams in a project and location.", |
| "file": "Client/ListStreams/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListStreams", |
| "fullName": "google.cloud.datastream.v1.Client.ListStreams", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.ListStreamsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "StreamIterator", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "ListStreams", |
| "fullName": "google.cloud.datastream.v1.Datastream.ListStreams", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 59, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_LookupStreamObject_sync", |
| "title": "datastream LookupStreamObject Sample", |
| "description": "LookupStreamObject use this method to look up a stream object by its source object identifier.", |
| "file": "Client/LookupStreamObject/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "LookupStreamObject", |
| "fullName": "google.cloud.datastream.v1.Client.LookupStreamObject", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.LookupStreamObjectRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "datastreampb.StreamObject", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "LookupStreamObject", |
| "fullName": "google.cloud.datastream.v1.Datastream.LookupStreamObject", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_StartBackfillJob_sync", |
| "title": "datastream StartBackfillJob Sample", |
| "description": "StartBackfillJob use this method to start a backfill job for the specified stream object.", |
| "file": "Client/StartBackfillJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "StartBackfillJob", |
| "fullName": "google.cloud.datastream.v1.Client.StartBackfillJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.StartBackfillJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "datastreampb.StartBackfillJobResponse", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "StartBackfillJob", |
| "fullName": "google.cloud.datastream.v1.Datastream.StartBackfillJob", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_StopBackfillJob_sync", |
| "title": "datastream StopBackfillJob Sample", |
| "description": "StopBackfillJob use this method to stop a backfill job for the specified stream object.", |
| "file": "Client/StopBackfillJob/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "StopBackfillJob", |
| "fullName": "google.cloud.datastream.v1.Client.StopBackfillJob", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.StopBackfillJobRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "datastreampb.StopBackfillJobResponse", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "StopBackfillJob", |
| "fullName": "google.cloud.datastream.v1.Datastream.StopBackfillJob", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_UpdateConnectionProfile_sync", |
| "title": "datastream UpdateConnectionProfile Sample", |
| "description": "UpdateConnectionProfile use this method to update the parameters of a connection profile.", |
| "file": "Client/UpdateConnectionProfile/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpdateConnectionProfile", |
| "fullName": "google.cloud.datastream.v1.Client.UpdateConnectionProfile", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.UpdateConnectionProfileRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpdateConnectionProfileOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "UpdateConnectionProfile", |
| "fullName": "google.cloud.datastream.v1.Datastream.UpdateConnectionProfile", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 57, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "datastream_v1_generated_Datastream_UpdateStream_sync", |
| "title": "datastream UpdateStream Sample", |
| "description": "UpdateStream use this method to update the configuration of a stream.", |
| "file": "Client/UpdateStream/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpdateStream", |
| "fullName": "google.cloud.datastream.v1.Client.UpdateStream", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "datastreampb.UpdateStreamRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpdateStreamOperation", |
| "client": { |
| "shortName": "Client", |
| "fullName": "google.cloud.datastream.v1.Client" |
| }, |
| "method": { |
| "shortName": "UpdateStream", |
| "fullName": "google.cloud.datastream.v1.Datastream.UpdateStream", |
| "service": { |
| "shortName": "Datastream", |
| "fullName": "google.cloud.datastream.v1.Datastream" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 57, |
| "type": "FULL" |
| } |
| ] |
| } |
| ] |
| } |