{ "clientLibrary": { "name": "cloud.google.com/go/video/livestream/apiv1", "version": "1.27.0", "language": "GO", "apis": [ { "id": "google.cloud.video.livestream.v1", "version": "v1" } ] }, "snippets": [ { "regionTag": "livestream_v1_generated_LivestreamService_CancelOperation_sync", "title": "livestream 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.video.livestream.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.video.livestream.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": "livestream_v1_generated_LivestreamService_CreateAsset_sync", "title": "livestream CreateAsset Sample", "description": "CreateAsset creates a Asset with the provided unique ID in the specified\nregion.", "file": "Client/CreateAsset/main.go", "language": "GO", "clientMethod": { "shortName": "CreateAsset", "fullName": "google.cloud.video.livestream.v1.Client.CreateAsset", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.CreateAssetRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "CreateAssetOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "CreateAsset", "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateAsset", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_CreateChannel_sync", "title": "livestream CreateChannel Sample", "description": "CreateChannel creates a channel with the provided unique ID in the specified\nregion.", "file": "Client/CreateChannel/main.go", "language": "GO", "clientMethod": { "shortName": "CreateChannel", "fullName": "google.cloud.video.livestream.v1.Client.CreateChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.CreateChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "CreateChannelOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "CreateChannel", "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateChannel", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_CreateClip_sync", "title": "livestream CreateClip Sample", "description": "CreateClip creates a clip with the provided clip ID in the specified channel.", "file": "Client/CreateClip/main.go", "language": "GO", "clientMethod": { "shortName": "CreateClip", "fullName": "google.cloud.video.livestream.v1.Client.CreateClip", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.CreateClipRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "CreateClipOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "CreateClip", "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateClip", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_CreateDvrSession_sync", "title": "livestream CreateDvrSession Sample", "description": "CreateDvrSession creates a DVR session with the provided unique ID in the specified channel.", "file": "Client/CreateDvrSession/main.go", "language": "GO", "clientMethod": { "shortName": "CreateDvrSession", "fullName": "google.cloud.video.livestream.v1.Client.CreateDvrSession", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.CreateDvrSessionRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "CreateDvrSessionOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "CreateDvrSession", "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateDvrSession", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_CreateEvent_sync", "title": "livestream CreateEvent Sample", "description": "CreateEvent creates an event with the provided unique ID in the specified channel.", "file": "Client/CreateEvent/main.go", "language": "GO", "clientMethod": { "shortName": "CreateEvent", "fullName": "google.cloud.video.livestream.v1.Client.CreateEvent", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.CreateEventRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*livestreampb.Event", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "CreateEvent", "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateEvent", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_CreateInput_sync", "title": "livestream CreateInput Sample", "description": "CreateInput creates an input with the provided unique ID in the specified region.", "file": "Client/CreateInput/main.go", "language": "GO", "clientMethod": { "shortName": "CreateInput", "fullName": "google.cloud.video.livestream.v1.Client.CreateInput", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.CreateInputRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "CreateInputOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "CreateInput", "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateInput", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_DeleteAsset_sync", "title": "livestream DeleteAsset Sample", "description": "DeleteAsset deletes the specified asset if it is not used.", "file": "Client/DeleteAsset/main.go", "language": "GO", "clientMethod": { "shortName": "DeleteAsset", "fullName": "google.cloud.video.livestream.v1.Client.DeleteAsset", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.DeleteAssetRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "DeleteAssetOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "DeleteAsset", "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteAsset", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 56, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_DeleteChannel_sync", "title": "livestream DeleteChannel Sample", "description": "DeleteChannel deletes the specified channel.", "file": "Client/DeleteChannel/main.go", "language": "GO", "clientMethod": { "shortName": "DeleteChannel", "fullName": "google.cloud.video.livestream.v1.Client.DeleteChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.DeleteChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "DeleteChannelOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "DeleteChannel", "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteChannel", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 56, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_DeleteClip_sync", "title": "livestream DeleteClip Sample", "description": "DeleteClip deletes the specified clip job resource. This method only deletes the clip\njob and does not delete the VOD clip stored in Cloud Storage.", "file": "Client/DeleteClip/main.go", "language": "GO", "clientMethod": { "shortName": "DeleteClip", "fullName": "google.cloud.video.livestream.v1.Client.DeleteClip", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.DeleteClipRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "DeleteClipOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "DeleteClip", "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteClip", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 56, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_DeleteDvrSession_sync", "title": "livestream DeleteDvrSession Sample", "description": "DeleteDvrSession deletes the specified DVR session.", "file": "Client/DeleteDvrSession/main.go", "language": "GO", "clientMethod": { "shortName": "DeleteDvrSession", "fullName": "google.cloud.video.livestream.v1.Client.DeleteDvrSession", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.DeleteDvrSessionRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "DeleteDvrSessionOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "DeleteDvrSession", "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteDvrSession", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 56, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_DeleteEvent_sync", "title": "livestream DeleteEvent Sample", "description": "DeleteEvent deletes the specified event.", "file": "Client/DeleteEvent/main.go", "language": "GO", "clientMethod": { "shortName": "DeleteEvent", "fullName": "google.cloud.video.livestream.v1.Client.DeleteEvent", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.DeleteEventRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "DeleteEvent", "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteEvent", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 51, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_DeleteInput_sync", "title": "livestream DeleteInput Sample", "description": "DeleteInput deletes the specified input.", "file": "Client/DeleteInput/main.go", "language": "GO", "clientMethod": { "shortName": "DeleteInput", "fullName": "google.cloud.video.livestream.v1.Client.DeleteInput", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.DeleteInputRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "DeleteInputOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "DeleteInput", "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteInput", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 56, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_DeleteOperation_sync", "title": "livestream 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.video.livestream.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.video.livestream.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": "livestream_v1_generated_LivestreamService_GetAsset_sync", "title": "livestream GetAsset Sample", "description": "GetAsset returns the specified asset.", "file": "Client/GetAsset/main.go", "language": "GO", "clientMethod": { "shortName": "GetAsset", "fullName": "google.cloud.video.livestream.v1.Client.GetAsset", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.GetAssetRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*livestreampb.Asset", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "GetAsset", "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetAsset", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_GetChannel_sync", "title": "livestream GetChannel Sample", "description": "GetChannel returns the specified channel.", "file": "Client/GetChannel/main.go", "language": "GO", "clientMethod": { "shortName": "GetChannel", "fullName": "google.cloud.video.livestream.v1.Client.GetChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.GetChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*livestreampb.Channel", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "GetChannel", "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetChannel", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_GetClip_sync", "title": "livestream GetClip Sample", "description": "GetClip returns the specified clip.", "file": "Client/GetClip/main.go", "language": "GO", "clientMethod": { "shortName": "GetClip", "fullName": "google.cloud.video.livestream.v1.Client.GetClip", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.GetClipRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*livestreampb.Clip", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "GetClip", "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetClip", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_GetDvrSession_sync", "title": "livestream GetDvrSession Sample", "description": "GetDvrSession returns the specified DVR session.", "file": "Client/GetDvrSession/main.go", "language": "GO", "clientMethod": { "shortName": "GetDvrSession", "fullName": "google.cloud.video.livestream.v1.Client.GetDvrSession", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.GetDvrSessionRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*livestreampb.DvrSession", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "GetDvrSession", "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetDvrSession", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_GetEvent_sync", "title": "livestream GetEvent Sample", "description": "GetEvent returns the specified event.", "file": "Client/GetEvent/main.go", "language": "GO", "clientMethod": { "shortName": "GetEvent", "fullName": "google.cloud.video.livestream.v1.Client.GetEvent", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.GetEventRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*livestreampb.Event", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "GetEvent", "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetEvent", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_GetInput_sync", "title": "livestream GetInput Sample", "description": "GetInput returns the specified input.", "file": "Client/GetInput/main.go", "language": "GO", "clientMethod": { "shortName": "GetInput", "fullName": "google.cloud.video.livestream.v1.Client.GetInput", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.GetInputRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*livestreampb.Input", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "GetInput", "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetInput", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_GetLocation_sync", "title": "livestream GetLocation Sample", "description": "GetLocation gets information about a location.", "file": "Client/GetLocation/main.go", "language": "GO", "clientMethod": { "shortName": "GetLocation", "fullName": "google.cloud.video.livestream.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.video.livestream.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": "livestream_v1_generated_LivestreamService_GetOperation_sync", "title": "livestream 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.video.livestream.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.video.livestream.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": "livestream_v1_generated_LivestreamService_GetPool_sync", "title": "livestream GetPool Sample", "description": "GetPool returns the specified pool.", "file": "Client/GetPool/main.go", "language": "GO", "clientMethod": { "shortName": "GetPool", "fullName": "google.cloud.video.livestream.v1.Client.GetPool", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.GetPoolRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*livestreampb.Pool", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "GetPool", "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetPool", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_ListAssets_sync", "title": "livestream ListAssets Sample", "description": "ListAssets returns a list of all assets in the specified region.", "file": "Client/ListAssets/main.go", "language": "GO", "clientMethod": { "shortName": "ListAssets", "fullName": "google.cloud.video.livestream.v1.Client.ListAssets", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.ListAssetsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "AssetIterator", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "ListAssets", "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListAssets", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_ListChannels_sync", "title": "livestream ListChannels Sample", "description": "ListChannels returns a list of all channels in the specified region.", "file": "Client/ListChannels/main.go", "language": "GO", "clientMethod": { "shortName": "ListChannels", "fullName": "google.cloud.video.livestream.v1.Client.ListChannels", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.ListChannelsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "ChannelIterator", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "ListChannels", "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListChannels", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_ListClips_sync", "title": "livestream ListClips Sample", "description": "ListClips returns a list of all clips in the specified channel.", "file": "Client/ListClips/main.go", "language": "GO", "clientMethod": { "shortName": "ListClips", "fullName": "google.cloud.video.livestream.v1.Client.ListClips", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.ListClipsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "ClipIterator", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "ListClips", "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListClips", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_ListDvrSessions_sync", "title": "livestream ListDvrSessions Sample", "description": "ListDvrSessions returns a list of all DVR sessions in the specified channel.", "file": "Client/ListDvrSessions/main.go", "language": "GO", "clientMethod": { "shortName": "ListDvrSessions", "fullName": "google.cloud.video.livestream.v1.Client.ListDvrSessions", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.ListDvrSessionsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "DvrSessionIterator", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "ListDvrSessions", "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListDvrSessions", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_ListEvents_sync", "title": "livestream ListEvents Sample", "description": "ListEvents returns a list of all events in the specified channel.", "file": "Client/ListEvents/main.go", "language": "GO", "clientMethod": { "shortName": "ListEvents", "fullName": "google.cloud.video.livestream.v1.Client.ListEvents", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.ListEventsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "EventIterator", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "ListEvents", "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListEvents", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_ListInputs_sync", "title": "livestream ListInputs Sample", "description": "ListInputs returns a list of all inputs in the specified region.", "file": "Client/ListInputs/main.go", "language": "GO", "clientMethod": { "shortName": "ListInputs", "fullName": "google.cloud.video.livestream.v1.Client.ListInputs", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.ListInputsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "InputIterator", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "ListInputs", "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListInputs", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_ListLocations_sync", "title": "livestream 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.video.livestream.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.video.livestream.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": "livestream_v1_generated_LivestreamService_ListOperations_sync", "title": "livestream 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.video.livestream.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.video.livestream.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": "livestream_v1_generated_LivestreamService_PreviewInput_sync", "title": "livestream PreviewInput Sample", "description": "PreviewInput preview the streaming content of the specified input.", "file": "Client/PreviewInput/main.go", "language": "GO", "clientMethod": { "shortName": "PreviewInput", "fullName": "google.cloud.video.livestream.v1.Client.PreviewInput", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.PreviewInputRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*livestreampb.PreviewInputResponse", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "PreviewInput", "fullName": "google.cloud.video.livestream.v1.LivestreamService.PreviewInput", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_StartChannel_sync", "title": "livestream StartChannel Sample", "description": "StartChannel starts the specified channel. Part of the video pipeline will be created\nonly when the StartChannel request is received by the server.", "file": "Client/StartChannel/main.go", "language": "GO", "clientMethod": { "shortName": "StartChannel", "fullName": "google.cloud.video.livestream.v1.Client.StartChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.StartChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "StartChannelOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "StartChannel", "fullName": "google.cloud.video.livestream.v1.LivestreamService.StartChannel", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_StartDistribution_sync", "title": "livestream StartDistribution Sample", "description": "StartDistribution starts distribution which delivers outputs to the destination indicated by\nthe Distribution configuration.", "file": "Client/StartDistribution/main.go", "language": "GO", "clientMethod": { "shortName": "StartDistribution", "fullName": "google.cloud.video.livestream.v1.Client.StartDistribution", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.StartDistributionRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "StartDistributionOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "StartDistribution", "fullName": "google.cloud.video.livestream.v1.LivestreamService.StartDistribution", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_StopChannel_sync", "title": "livestream StopChannel Sample", "description": "StopChannel stops the specified channel. Part of the video pipeline will be released\nwhen the StopChannel request is received by the server.", "file": "Client/StopChannel/main.go", "language": "GO", "clientMethod": { "shortName": "StopChannel", "fullName": "google.cloud.video.livestream.v1.Client.StopChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.StopChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "StopChannelOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "StopChannel", "fullName": "google.cloud.video.livestream.v1.LivestreamService.StopChannel", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_StopDistribution_sync", "title": "livestream StopDistribution Sample", "description": "StopDistribution stops the specified distribution.", "file": "Client/StopDistribution/main.go", "language": "GO", "clientMethod": { "shortName": "StopDistribution", "fullName": "google.cloud.video.livestream.v1.Client.StopDistribution", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.StopDistributionRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "StopDistributionOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "StopDistribution", "fullName": "google.cloud.video.livestream.v1.LivestreamService.StopDistribution", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_UpdateChannel_sync", "title": "livestream UpdateChannel Sample", "description": "UpdateChannel updates the specified channel.", "file": "Client/UpdateChannel/main.go", "language": "GO", "clientMethod": { "shortName": "UpdateChannel", "fullName": "google.cloud.video.livestream.v1.Client.UpdateChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.UpdateChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "UpdateChannelOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "UpdateChannel", "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdateChannel", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_UpdateDvrSession_sync", "title": "livestream UpdateDvrSession Sample", "description": "UpdateDvrSession updates the specified DVR session.", "file": "Client/UpdateDvrSession/main.go", "language": "GO", "clientMethod": { "shortName": "UpdateDvrSession", "fullName": "google.cloud.video.livestream.v1.Client.UpdateDvrSession", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.UpdateDvrSessionRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "UpdateDvrSessionOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "UpdateDvrSession", "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdateDvrSession", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_UpdateInput_sync", "title": "livestream UpdateInput Sample", "description": "UpdateInput updates the specified input.", "file": "Client/UpdateInput/main.go", "language": "GO", "clientMethod": { "shortName": "UpdateInput", "fullName": "google.cloud.video.livestream.v1.Client.UpdateInput", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.UpdateInputRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "UpdateInputOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "UpdateInput", "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdateInput", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "livestream_v1_generated_LivestreamService_UpdatePool_sync", "title": "livestream UpdatePool Sample", "description": "UpdatePool updates the specified pool.", "file": "Client/UpdatePool/main.go", "language": "GO", "clientMethod": { "shortName": "UpdatePool", "fullName": "google.cloud.video.livestream.v1.Client.UpdatePool", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "livestreampb.UpdatePoolRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "UpdatePoolOperation", "client": { "shortName": "Client", "fullName": "google.cloud.video.livestream.v1.Client" }, "method": { "shortName": "UpdatePool", "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdatePool", "service": { "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] } ] }