google-cloud-video-live_stream-v1 0.5.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@ require 'google/protobuf/field_mask_pb'
15
15
  require 'google/protobuf/timestamp_pb'
16
16
 
17
17
 
18
- descriptor_data = "\n.google/cloud/video/livestream/v1/service.proto\x12 google.cloud.video.livestream.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/video/livestream/v1/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbf\x01\n\x14\x43reateChannelRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!livestream.googleapis.com/Channel\x12?\n\x07\x63hannel\x18\x02 \x01(\x0b\x32).google.cloud.video.livestream.v1.ChannelB\x03\xe0\x41\x02\x12\x17\n\nchannel_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\x99\x01\n\x13ListChannelsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!livestream.googleapis.com/Channel\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x81\x01\n\x14ListChannelsResponse\x12;\n\x08\x63hannels\x18\x01 \x03(\x0b\x32).google.cloud.video.livestream.v1.Channel\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"L\n\x11GetChannelRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!livestream.googleapis.com/Channel\"r\n\x14\x44\x65leteChannelRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!livestream.googleapis.com/Channel\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"\x9c\x01\n\x14UpdateChannelRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12?\n\x07\x63hannel\x18\x02 \x01(\x0b\x32).google.cloud.video.livestream.v1.ChannelB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"b\n\x13StartChannelRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!livestream.googleapis.com/Channel\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"a\n\x12StopChannelRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!livestream.googleapis.com/Channel\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\xb5\x01\n\x12\x43reateInputRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1flivestream.googleapis.com/Input\x12;\n\x05input\x18\x02 \x01(\x0b\x32\'.google.cloud.video.livestream.v1.InputB\x03\xe0\x41\x02\x12\x15\n\x08input_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\x95\x01\n\x11ListInputsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1flivestream.googleapis.com/Input\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"{\n\x12ListInputsResponse\x12\x37\n\x06inputs\x18\x01 \x03(\x0b\x32\'.google.cloud.video.livestream.v1.Input\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"H\n\x0fGetInputRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1flivestream.googleapis.com/Input\"_\n\x12\x44\x65leteInputRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1flivestream.googleapis.com/Input\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\x96\x01\n\x12UpdateInputRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12;\n\x05input\x18\x02 \x01(\x0b\x32\'.google.cloud.video.livestream.v1.InputB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\xb5\x01\n\x12\x43reateEventRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1flivestream.googleapis.com/Event\x12;\n\x05\x65vent\x18\x02 \x01(\x0b\x32\'.google.cloud.video.livestream.v1.EventB\x03\xe0\x41\x02\x12\x15\n\x08\x65vent_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\x95\x01\n\x11ListEventsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1flivestream.googleapis.com/Event\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"{\n\x12ListEventsResponse\x12\x37\n\x06\x65vents\x18\x01 \x03(\x0b\x32\'.google.cloud.video.livestream.v1.Event\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"H\n\x0fGetEventRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1flivestream.googleapis.com/Event\"_\n\x12\x44\x65leteEventRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1flivestream.googleapis.com/Event\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\x1a\n\x18\x43hannelOperationResponse\"\xe3\x01\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x06 \x01(\tB\x03\xe0\x41\x03\x32\xd5\x19\n\x11LivestreamService\x12\xe0\x01\n\rCreateChannel\x12\x36.google.cloud.video.livestream.v1.CreateChannelRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/channels:\x07\x63hannel\xda\x41\x19parent,channel,channel_id\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\x12\xbc\x01\n\x0cListChannels\x12\x35.google.cloud.video.livestream.v1.ListChannelsRequest\x1a\x36.google.cloud.video.livestream.v1.ListChannelsResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/channels\xda\x41\x06parent\x12\xa9\x01\n\nGetChannel\x12\x33.google.cloud.video.livestream.v1.GetChannelRequest\x1a).google.cloud.video.livestream.v1.Channel\";\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/channels/*}\xda\x41\x04name\x12\xd0\x01\n\rDeleteChannel\x12\x36.google.cloud.video.livestream.v1.DeleteChannelRequest\x1a\x1d.google.longrunning.Operation\"h\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/channels/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe2\x01\n\rUpdateChannel\x12\x36.google.cloud.video.livestream.v1.UpdateChannelRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02?24/v1/{channel.name=projects/*/locations/*/channels/*}:\x07\x63hannel\xda\x41\x13\x63hannel,update_mask\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\x12\xda\x01\n\x0cStartChannel\x12\x35.google.cloud.video.livestream.v1.StartChannelRequest\x1a\x1d.google.longrunning.Operation\"t\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/channels/*}:start:\x01*\xda\x41\x04name\xca\x41-\n\x18\x43hannelOperationResponse\x12\x11OperationMetadata\x12\xd7\x01\n\x0bStopChannel\x12\x34.google.cloud.video.livestream.v1.StopChannelRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x36\"1/v1/{name=projects/*/locations/*/channels/*}:stop:\x01*\xda\x41\x04name\xca\x41-\n\x18\x43hannelOperationResponse\x12\x11OperationMetadata\x12\xd2\x01\n\x0b\x43reateInput\x12\x34.google.cloud.video.livestream.v1.CreateInputRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02\x33\"*/v1/{parent=projects/*/locations/*}/inputs:\x05input\xda\x41\x15parent,input,input_id\xca\x41\x1a\n\x05Input\x12\x11OperationMetadata\x12\xb4\x01\n\nListInputs\x12\x33.google.cloud.video.livestream.v1.ListInputsRequest\x1a\x34.google.cloud.video.livestream.v1.ListInputsResponse\";\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/inputs\xda\x41\x06parent\x12\xa1\x01\n\x08GetInput\x12\x31.google.cloud.video.livestream.v1.GetInputRequest\x1a\'.google.cloud.video.livestream.v1.Input\"9\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/locations/*/inputs/*}\xda\x41\x04name\x12\xca\x01\n\x0b\x44\x65leteInput\x12\x34.google.cloud.video.livestream.v1.DeleteInputRequest\x1a\x1d.google.longrunning.Operation\"f\x82\xd3\xe4\x93\x02,**/v1/{name=projects/*/locations/*/inputs/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xd4\x01\n\x0bUpdateInput\x12\x34.google.cloud.video.livestream.v1.UpdateInputRequest\x1a\x1d.google.longrunning.Operation\"p\x82\xd3\xe4\x93\x02\x39\x32\x30/v1/{input.name=projects/*/locations/*/inputs/*}:\x05input\xda\x41\x11input,update_mask\xca\x41\x1a\n\x05Input\x12\x11OperationMetadata\x12\xca\x01\n\x0b\x43reateEvent\x12\x34.google.cloud.video.livestream.v1.CreateEventRequest\x1a\'.google.cloud.video.livestream.v1.Event\"\\\x82\xd3\xe4\x93\x02>\"5/v1/{parent=projects/*/locations/*/channels/*}/events:\x05\x65vent\xda\x41\x15parent,event,event_id\x12\xbf\x01\n\nListEvents\x12\x33.google.cloud.video.livestream.v1.ListEventsRequest\x1a\x34.google.cloud.video.livestream.v1.ListEventsResponse\"F\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*/channels/*}/events\xda\x41\x06parent\x12\xac\x01\n\x08GetEvent\x12\x31.google.cloud.video.livestream.v1.GetEventRequest\x1a\'.google.cloud.video.livestream.v1.Event\"D\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/channels/*/events/*}\xda\x41\x04name\x12\xa1\x01\n\x0b\x44\x65leteEvent\x12\x34.google.cloud.video.livestream.v1.DeleteEventRequest\x1a\x16.google.protobuf.Empty\"D\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/channels/*/events/*}\xda\x41\x04name\x1aM\xca\x41\x19livestream.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd0\x02\n$com.google.cloud.video.livestream.v1B\x0cServiceProtoP\x01ZDcloud.google.com/go/video/livestream/apiv1/livestreampb;livestreampb\xaa\x02 Google.Cloud.Video.LiveStream.V1\xca\x02 Google\\Cloud\\Video\\LiveStream\\V1\xea\x02$Google::Cloud::Video::LiveStream::V1\xea\x41\x64\n*secretmanager.googleapis.com/SecretVersion\x12\x36projects/{project}/secrets/{secret}/versions/{version}b\x06proto3"
18
+ descriptor_data = "\n.google/cloud/video/livestream/v1/service.proto\x12 google.cloud.video.livestream.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/video/livestream/v1/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb5\x01\n\x12\x43reateAssetRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1flivestream.googleapis.com/Asset\x12;\n\x05\x61sset\x18\x02 \x01(\x0b\x32\'.google.cloud.video.livestream.v1.AssetB\x03\xe0\x41\x02\x12\x15\n\x08\x61sset_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"_\n\x12\x44\x65leteAssetRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1flivestream.googleapis.com/Asset\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\x95\x01\n\x11ListAssetsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1flivestream.googleapis.com/Asset\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"{\n\x12ListAssetsResponse\x12\x37\n\x06\x61ssets\x18\x01 \x03(\x0b\x32\'.google.cloud.video.livestream.v1.Asset\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"H\n\x0fGetAssetRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1flivestream.googleapis.com/Asset\"\xbf\x01\n\x14\x43reateChannelRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!livestream.googleapis.com/Channel\x12?\n\x07\x63hannel\x18\x02 \x01(\x0b\x32).google.cloud.video.livestream.v1.ChannelB\x03\xe0\x41\x02\x12\x17\n\nchannel_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\x99\x01\n\x13ListChannelsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!livestream.googleapis.com/Channel\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x81\x01\n\x14ListChannelsResponse\x12;\n\x08\x63hannels\x18\x01 \x03(\x0b\x32).google.cloud.video.livestream.v1.Channel\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"L\n\x11GetChannelRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!livestream.googleapis.com/Channel\"r\n\x14\x44\x65leteChannelRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!livestream.googleapis.com/Channel\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"\x9c\x01\n\x14UpdateChannelRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12?\n\x07\x63hannel\x18\x02 \x01(\x0b\x32).google.cloud.video.livestream.v1.ChannelB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"b\n\x13StartChannelRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!livestream.googleapis.com/Channel\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"a\n\x12StopChannelRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!livestream.googleapis.com/Channel\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\xb5\x01\n\x12\x43reateInputRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1flivestream.googleapis.com/Input\x12;\n\x05input\x18\x02 \x01(\x0b\x32\'.google.cloud.video.livestream.v1.InputB\x03\xe0\x41\x02\x12\x15\n\x08input_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\x95\x01\n\x11ListInputsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1flivestream.googleapis.com/Input\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"{\n\x12ListInputsResponse\x12\x37\n\x06inputs\x18\x01 \x03(\x0b\x32\'.google.cloud.video.livestream.v1.Input\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"H\n\x0fGetInputRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1flivestream.googleapis.com/Input\"_\n\x12\x44\x65leteInputRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1flivestream.googleapis.com/Input\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\x96\x01\n\x12UpdateInputRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12;\n\x05input\x18\x02 \x01(\x0b\x32\'.google.cloud.video.livestream.v1.InputB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\xb5\x01\n\x12\x43reateEventRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1flivestream.googleapis.com/Event\x12;\n\x05\x65vent\x18\x02 \x01(\x0b\x32\'.google.cloud.video.livestream.v1.EventB\x03\xe0\x41\x02\x12\x15\n\x08\x65vent_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\x95\x01\n\x11ListEventsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1flivestream.googleapis.com/Event\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"{\n\x12ListEventsResponse\x12\x37\n\x06\x65vents\x18\x01 \x03(\x0b\x32\'.google.cloud.video.livestream.v1.Event\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"H\n\x0fGetEventRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1flivestream.googleapis.com/Event\"_\n\x12\x44\x65leteEventRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1flivestream.googleapis.com/Event\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\x1a\n\x18\x43hannelOperationResponse\"\xe3\x01\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x06 \x01(\tB\x03\xe0\x41\x03\"F\n\x0eGetPoolRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1elivestream.googleapis.com/Pool\"\x93\x01\n\x11UpdatePoolRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x39\n\x04pool\x18\x02 \x01(\x0b\x32&.google.cloud.video.livestream.v1.PoolB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t2\xc2\"\n\x11LivestreamService\x12\xe0\x01\n\rCreateChannel\x12\x36.google.cloud.video.livestream.v1.CreateChannelRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/channels:\x07\x63hannel\xda\x41\x19parent,channel,channel_id\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\x12\xbc\x01\n\x0cListChannels\x12\x35.google.cloud.video.livestream.v1.ListChannelsRequest\x1a\x36.google.cloud.video.livestream.v1.ListChannelsResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/channels\xda\x41\x06parent\x12\xa9\x01\n\nGetChannel\x12\x33.google.cloud.video.livestream.v1.GetChannelRequest\x1a).google.cloud.video.livestream.v1.Channel\";\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/channels/*}\xda\x41\x04name\x12\xd0\x01\n\rDeleteChannel\x12\x36.google.cloud.video.livestream.v1.DeleteChannelRequest\x1a\x1d.google.longrunning.Operation\"h\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/channels/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe2\x01\n\rUpdateChannel\x12\x36.google.cloud.video.livestream.v1.UpdateChannelRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02?24/v1/{channel.name=projects/*/locations/*/channels/*}:\x07\x63hannel\xda\x41\x13\x63hannel,update_mask\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\x12\xda\x01\n\x0cStartChannel\x12\x35.google.cloud.video.livestream.v1.StartChannelRequest\x1a\x1d.google.longrunning.Operation\"t\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/channels/*}:start:\x01*\xda\x41\x04name\xca\x41-\n\x18\x43hannelOperationResponse\x12\x11OperationMetadata\x12\xd7\x01\n\x0bStopChannel\x12\x34.google.cloud.video.livestream.v1.StopChannelRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x36\"1/v1/{name=projects/*/locations/*/channels/*}:stop:\x01*\xda\x41\x04name\xca\x41-\n\x18\x43hannelOperationResponse\x12\x11OperationMetadata\x12\xd2\x01\n\x0b\x43reateInput\x12\x34.google.cloud.video.livestream.v1.CreateInputRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02\x33\"*/v1/{parent=projects/*/locations/*}/inputs:\x05input\xda\x41\x15parent,input,input_id\xca\x41\x1a\n\x05Input\x12\x11OperationMetadata\x12\xb4\x01\n\nListInputs\x12\x33.google.cloud.video.livestream.v1.ListInputsRequest\x1a\x34.google.cloud.video.livestream.v1.ListInputsResponse\";\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/inputs\xda\x41\x06parent\x12\xa1\x01\n\x08GetInput\x12\x31.google.cloud.video.livestream.v1.GetInputRequest\x1a\'.google.cloud.video.livestream.v1.Input\"9\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/locations/*/inputs/*}\xda\x41\x04name\x12\xca\x01\n\x0b\x44\x65leteInput\x12\x34.google.cloud.video.livestream.v1.DeleteInputRequest\x1a\x1d.google.longrunning.Operation\"f\x82\xd3\xe4\x93\x02,**/v1/{name=projects/*/locations/*/inputs/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xd4\x01\n\x0bUpdateInput\x12\x34.google.cloud.video.livestream.v1.UpdateInputRequest\x1a\x1d.google.longrunning.Operation\"p\x82\xd3\xe4\x93\x02\x39\x32\x30/v1/{input.name=projects/*/locations/*/inputs/*}:\x05input\xda\x41\x11input,update_mask\xca\x41\x1a\n\x05Input\x12\x11OperationMetadata\x12\xca\x01\n\x0b\x43reateEvent\x12\x34.google.cloud.video.livestream.v1.CreateEventRequest\x1a\'.google.cloud.video.livestream.v1.Event\"\\\x82\xd3\xe4\x93\x02>\"5/v1/{parent=projects/*/locations/*/channels/*}/events:\x05\x65vent\xda\x41\x15parent,event,event_id\x12\xbf\x01\n\nListEvents\x12\x33.google.cloud.video.livestream.v1.ListEventsRequest\x1a\x34.google.cloud.video.livestream.v1.ListEventsResponse\"F\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*/channels/*}/events\xda\x41\x06parent\x12\xac\x01\n\x08GetEvent\x12\x31.google.cloud.video.livestream.v1.GetEventRequest\x1a\'.google.cloud.video.livestream.v1.Event\"D\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/channels/*/events/*}\xda\x41\x04name\x12\xa1\x01\n\x0b\x44\x65leteEvent\x12\x34.google.cloud.video.livestream.v1.DeleteEventRequest\x1a\x16.google.protobuf.Empty\"D\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/channels/*/events/*}\xda\x41\x04name\x12\xd2\x01\n\x0b\x43reateAsset\x12\x34.google.cloud.video.livestream.v1.CreateAssetRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02\x33\"*/v1/{parent=projects/*/locations/*}/assets:\x05\x61sset\xda\x41\x15parent,asset,asset_id\xca\x41\x1a\n\x05\x41sset\x12\x11OperationMetadata\x12\xca\x01\n\x0b\x44\x65leteAsset\x12\x34.google.cloud.video.livestream.v1.DeleteAssetRequest\x1a\x1d.google.longrunning.Operation\"f\x82\xd3\xe4\x93\x02,**/v1/{name=projects/*/locations/*/assets/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xa1\x01\n\x08GetAsset\x12\x31.google.cloud.video.livestream.v1.GetAssetRequest\x1a\'.google.cloud.video.livestream.v1.Asset\"9\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/locations/*/assets/*}\xda\x41\x04name\x12\xb4\x01\n\nListAssets\x12\x33.google.cloud.video.livestream.v1.ListAssetsRequest\x1a\x34.google.cloud.video.livestream.v1.ListAssetsResponse\";\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/assets\xda\x41\x06parent\x12\x9d\x01\n\x07GetPool\x12\x30.google.cloud.video.livestream.v1.GetPoolRequest\x1a&.google.cloud.video.livestream.v1.Pool\"8\x82\xd3\xe4\x93\x02+\x12)/v1/{name=projects/*/locations/*/pools/*}\xda\x41\x04name\x12\xcd\x01\n\nUpdatePool\x12\x33.google.cloud.video.livestream.v1.UpdatePoolRequest\x1a\x1d.google.longrunning.Operation\"k\x82\xd3\xe4\x93\x02\x36\x32./v1/{pool.name=projects/*/locations/*/pools/*}:\x04pool\xda\x41\x10pool,update_mask\xca\x41\x19\n\x04Pool\x12\x11OperationMetadata\x1aM\xca\x41\x19livestream.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa1\x03\n$com.google.cloud.video.livestream.v1B\x0cServiceProtoP\x01ZDcloud.google.com/go/video/livestream/apiv1/livestreampb;livestreampb\xaa\x02 Google.Cloud.Video.LiveStream.V1\xca\x02 Google\\Cloud\\Video\\LiveStream\\V1\xea\x02$Google::Cloud::Video::LiveStream::V1\xea\x41\x64\n*secretmanager.googleapis.com/SecretVersion\x12\x36projects/{project}/secrets/{secret}/versions/{version}\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
19
19
 
20
20
  pool = Google::Protobuf::DescriptorPool.generated_pool
21
21
 
@@ -30,7 +30,7 @@ rescue TypeError => e
30
30
  file = pool.add_serialized_file(serialized)
31
31
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
32
  imports = [
33
- ["google.cloud.video.livestream.v1.Channel", "google/cloud/video/livestream/v1/resources.proto"],
33
+ ["google.cloud.video.livestream.v1.Asset", "google/cloud/video/livestream/v1/resources.proto"],
34
34
  ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
35
35
  ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
36
36
  ]
@@ -49,6 +49,11 @@ module Google
49
49
  module Video
50
50
  module LiveStream
51
51
  module V1
52
+ CreateAssetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.CreateAssetRequest").msgclass
53
+ DeleteAssetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.DeleteAssetRequest").msgclass
54
+ ListAssetsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.ListAssetsRequest").msgclass
55
+ ListAssetsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.ListAssetsResponse").msgclass
56
+ GetAssetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.GetAssetRequest").msgclass
52
57
  CreateChannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.CreateChannelRequest").msgclass
53
58
  ListChannelsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.ListChannelsRequest").msgclass
54
59
  ListChannelsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.ListChannelsResponse").msgclass
@@ -70,6 +75,8 @@ module Google
70
75
  DeleteEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.DeleteEventRequest").msgclass
71
76
  ChannelOperationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.ChannelOperationResponse").msgclass
72
77
  OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.OperationMetadata").msgclass
78
+ GetPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.GetPoolRequest").msgclass
79
+ UpdatePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.UpdatePoolRequest").msgclass
73
80
  end
74
81
  end
75
82
  end
@@ -73,6 +73,19 @@ module Google
73
73
  rpc :GetEvent, ::Google::Cloud::Video::LiveStream::V1::GetEventRequest, ::Google::Cloud::Video::LiveStream::V1::Event
74
74
  # Deletes the specified event.
75
75
  rpc :DeleteEvent, ::Google::Cloud::Video::LiveStream::V1::DeleteEventRequest, ::Google::Protobuf::Empty
76
+ # Creates a Asset with the provided unique ID in the specified
77
+ # region.
78
+ rpc :CreateAsset, ::Google::Cloud::Video::LiveStream::V1::CreateAssetRequest, ::Google::Longrunning::Operation
79
+ # Deletes the specified asset if it is not used.
80
+ rpc :DeleteAsset, ::Google::Cloud::Video::LiveStream::V1::DeleteAssetRequest, ::Google::Longrunning::Operation
81
+ # Returns the specified asset.
82
+ rpc :GetAsset, ::Google::Cloud::Video::LiveStream::V1::GetAssetRequest, ::Google::Cloud::Video::LiveStream::V1::Asset
83
+ # Returns a list of all assets in the specified region.
84
+ rpc :ListAssets, ::Google::Cloud::Video::LiveStream::V1::ListAssetsRequest, ::Google::Cloud::Video::LiveStream::V1::ListAssetsResponse
85
+ # Returns the specified pool.
86
+ rpc :GetPool, ::Google::Cloud::Video::LiveStream::V1::GetPoolRequest, ::Google::Cloud::Video::LiveStream::V1::Pool
87
+ # Updates the specified pool.
88
+ rpc :UpdatePool, ::Google::Cloud::Video::LiveStream::V1::UpdatePoolRequest, ::Google::Longrunning::Operation
76
89
  end
77
90
 
78
91
  Stub = Service.rpc_stub_class
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
@@ -431,19 +431,22 @@ module Google
431
431
  # User-defined key/value metadata.
432
432
  # @!attribute [rw] input_switch
433
433
  # @return [::Google::Cloud::Video::LiveStream::V1::Event::InputSwitchTask]
434
- # Required. Switches to another input stream.
434
+ # Switches to another input stream.
435
435
  # @!attribute [rw] ad_break
436
436
  # @return [::Google::Cloud::Video::LiveStream::V1::Event::AdBreakTask]
437
- # Required. Inserts a new ad opportunity.
437
+ # Inserts a new ad opportunity.
438
438
  # @!attribute [rw] return_to_program
439
439
  # @return [::Google::Cloud::Video::LiveStream::V1::Event::ReturnToProgramTask]
440
- # Required. Stops any running ad break.
440
+ # Stops any running ad break.
441
+ # @!attribute [rw] slate
442
+ # @return [::Google::Cloud::Video::LiveStream::V1::Event::SlateTask]
443
+ # Inserts a slate.
441
444
  # @!attribute [rw] mute
442
445
  # @return [::Google::Cloud::Video::LiveStream::V1::Event::MuteTask]
443
- # Required. Mutes the stream.
446
+ # Mutes the stream.
444
447
  # @!attribute [rw] unmute
445
448
  # @return [::Google::Cloud::Video::LiveStream::V1::Event::UnmuteTask]
446
- # Required. Unmutes the stream.
449
+ # Unmutes the stream.
447
450
  # @!attribute [rw] execute_now
448
451
  # @return [::Boolean]
449
452
  # When this field is set to true, the event will be executed at the earliest
@@ -491,6 +494,22 @@ module Google
491
494
  extend ::Google::Protobuf::MessageExts::ClassMethods
492
495
  end
493
496
 
497
+ # Inserts a slate.
498
+ # @!attribute [rw] duration
499
+ # @return [::Google::Protobuf::Duration]
500
+ # Optional. Duration of the slate. Must be greater than 0 if specified.
501
+ # Omit this field for a long running slate.
502
+ # @!attribute [rw] asset
503
+ # @return [::String]
504
+ # Slate asset to use for the duration. If its duration is less than the
505
+ # duration of the SlateTask, then it will be looped. The slate must be
506
+ # represented in the form of:
507
+ # `projects/{project}/locations/{location}/assets/{assetId}`.
508
+ class SlateTask
509
+ include ::Google::Protobuf::MessageExts
510
+ extend ::Google::Protobuf::MessageExts::ClassMethods
511
+ end
512
+
494
513
  # Stops any events which are currently running. This only applies to events
495
514
  # with a duration.
496
515
  class ReturnToProgramTask
@@ -549,6 +568,96 @@ module Google
549
568
  end
550
569
  end
551
570
 
571
+ # An asset represents a video or an image.
572
+ # @!attribute [rw] name
573
+ # @return [::String]
574
+ # The resource name of the asset, in the form of:
575
+ # `projects/{project}/locations/{location}/assets/{assetId}`.
576
+ # @!attribute [r] create_time
577
+ # @return [::Google::Protobuf::Timestamp]
578
+ # Output only. The creation time.
579
+ # @!attribute [r] update_time
580
+ # @return [::Google::Protobuf::Timestamp]
581
+ # Output only. The update time.
582
+ # @!attribute [rw] labels
583
+ # @return [::Google::Protobuf::Map{::String => ::String}]
584
+ # User-defined key/value metadata.
585
+ # @!attribute [rw] video
586
+ # @return [::Google::Cloud::Video::LiveStream::V1::Asset::VideoAsset]
587
+ # VideoAsset represents a video.
588
+ # @!attribute [rw] image
589
+ # @return [::Google::Cloud::Video::LiveStream::V1::Asset::ImageAsset]
590
+ # ImageAsset represents an image.
591
+ # @!attribute [rw] crc32c
592
+ # @return [::String]
593
+ # Based64-encoded CRC32c checksum of the asset file. For more information,
594
+ # see the crc32c checksum of the [Cloud Storage Objects
595
+ # resource](https://cloud.google.com/storage/docs/json_api/v1/objects).
596
+ # If crc32c is omitted or left empty when the asset is created, this field is
597
+ # filled by the crc32c checksum of the Cloud Storage object indicated by
598
+ # [VideoAsset.uri] or [ImageAsset.uri].
599
+ # If crc32c is set, the asset can't be created if the crc32c value does not
600
+ # match with the crc32c checksum of the Cloud Storage object indicated by
601
+ # [VideoAsset.uri] or [ImageAsset.uri].
602
+ # @!attribute [r] state
603
+ # @return [::Google::Cloud::Video::LiveStream::V1::Asset::State]
604
+ # Output only. The state of the asset resource.
605
+ # @!attribute [r] error
606
+ # @return [::Google::Rpc::Status]
607
+ # Output only. Only present when `state` is `ERROR`. The reason for the error
608
+ # state of the asset.
609
+ class Asset
610
+ include ::Google::Protobuf::MessageExts
611
+ extend ::Google::Protobuf::MessageExts::ClassMethods
612
+
613
+ # VideoAsset represents a video. The supported formats are MP4, MPEG-TS, and
614
+ # FLV. The supported video codec is H264. The supported audio codecs are
615
+ # AAC, AC3, MP2, and MP3.
616
+ # @!attribute [rw] uri
617
+ # @return [::String]
618
+ # Cloud Storage URI of the video. The format is `gs://my-bucket/my-object`.
619
+ class VideoAsset
620
+ include ::Google::Protobuf::MessageExts
621
+ extend ::Google::Protobuf::MessageExts::ClassMethods
622
+ end
623
+
624
+ # Image represents an image. The supported format is JPEG.
625
+ # @!attribute [rw] uri
626
+ # @return [::String]
627
+ # Cloud Storage URI of the image. The format is `gs://my-bucket/my-object`.
628
+ class ImageAsset
629
+ include ::Google::Protobuf::MessageExts
630
+ extend ::Google::Protobuf::MessageExts::ClassMethods
631
+ end
632
+
633
+ # @!attribute [rw] key
634
+ # @return [::String]
635
+ # @!attribute [rw] value
636
+ # @return [::String]
637
+ class LabelsEntry
638
+ include ::Google::Protobuf::MessageExts
639
+ extend ::Google::Protobuf::MessageExts::ClassMethods
640
+ end
641
+
642
+ # State of the asset resource.
643
+ module State
644
+ # State is not specified.
645
+ STATE_UNSPECIFIED = 0
646
+
647
+ # The asset is being created.
648
+ CREATING = 1
649
+
650
+ # The asset is ready for use.
651
+ ACTIVE = 2
652
+
653
+ # The asset is being deleted.
654
+ DELETING = 3
655
+
656
+ # The asset has an error.
657
+ ERROR = 4
658
+ end
659
+ end
660
+
552
661
  # Encryption settings.
553
662
  # @!attribute [rw] id
554
663
  # @return [::String]
@@ -648,6 +757,55 @@ module Google
648
757
  extend ::Google::Protobuf::MessageExts::ClassMethods
649
758
  end
650
759
  end
760
+
761
+ # Pool resource defines the configuration of Live Stream pools for a specific
762
+ # location. Currently we support only one pool resource per project per
763
+ # location. After the creation of the first input, a default pool is created
764
+ # automatically at "projects/\\{project}/locations/\\{location}/pools/default".
765
+ # @!attribute [rw] name
766
+ # @return [::String]
767
+ # The resource name of the pool, in the form of:
768
+ # `projects/{project}/locations/{location}/pools/{poolId}`.
769
+ # @!attribute [r] create_time
770
+ # @return [::Google::Protobuf::Timestamp]
771
+ # Output only. The creation time.
772
+ # @!attribute [r] update_time
773
+ # @return [::Google::Protobuf::Timestamp]
774
+ # Output only. The update time.
775
+ # @!attribute [rw] labels
776
+ # @return [::Google::Protobuf::Map{::String => ::String}]
777
+ # User-defined key/value metadata.
778
+ # @!attribute [rw] network_config
779
+ # @return [::Google::Cloud::Video::LiveStream::V1::Pool::NetworkConfig]
780
+ # Network configuration for the pool.
781
+ class Pool
782
+ include ::Google::Protobuf::MessageExts
783
+ extend ::Google::Protobuf::MessageExts::ClassMethods
784
+
785
+ # Defines the network configuration for the pool.
786
+ # @!attribute [rw] peered_network
787
+ # @return [::String]
788
+ # peered_network is the network resource URL of the network that is peered
789
+ # to the service provider network. Must be of the format
790
+ # projects/NETWORK_PROJECT_NUMBER/global/networks/NETWORK_NAME, where
791
+ # NETWORK_PROJECT_NUMBER is the project number of the Cloud project that
792
+ # holds your VPC network and NETWORK_NAME is the name of your VPC network.
793
+ # If peered_network is omitted or empty, the pool will use endpoints that
794
+ # are publicly available.
795
+ class NetworkConfig
796
+ include ::Google::Protobuf::MessageExts
797
+ extend ::Google::Protobuf::MessageExts::ClassMethods
798
+ end
799
+
800
+ # @!attribute [rw] key
801
+ # @return [::String]
802
+ # @!attribute [rw] value
803
+ # @return [::String]
804
+ class LabelsEntry
805
+ include ::Google::Protobuf::MessageExts
806
+ extend ::Google::Protobuf::MessageExts::ClassMethods
807
+ end
808
+ end
651
809
  end
652
810
  end
653
811
  end
@@ -22,6 +22,112 @@ module Google
22
22
  module Video
23
23
  module LiveStream
24
24
  module V1
25
+ # Request message for "LivestreamService.CreateAsset".
26
+ # @!attribute [rw] parent
27
+ # @return [::String]
28
+ # Required. The parent location for the resource, in the form of:
29
+ # `projects/{project}/locations/{location}`.
30
+ # @!attribute [rw] asset
31
+ # @return [::Google::Cloud::Video::LiveStream::V1::Asset]
32
+ # Required. The asset resource to be created.
33
+ # @!attribute [rw] asset_id
34
+ # @return [::String]
35
+ # Required. The ID of the asset resource to be created.
36
+ # This value must be 1-63 characters, begin and end with `[a-z0-9]`,
37
+ # could contain dashes (-) in between.
38
+ # @!attribute [rw] request_id
39
+ # @return [::String]
40
+ # A request ID to identify requests. Specify a unique request ID
41
+ # so that if you must retry your request, the server will know to ignore
42
+ # the request if it has already been completed. The server will guarantee
43
+ # that for at least 60 minutes since the first request.
44
+ #
45
+ # For example, consider a situation where you make an initial request and the
46
+ # request times out. If you make the request again with the same request ID,
47
+ # the server can check if original operation with the same request ID was
48
+ # received, and if so, will ignore the second request. This prevents clients
49
+ # from accidentally creating duplicate commitments.
50
+ #
51
+ # The request ID must be a valid UUID with the exception that zero UUID is
52
+ # not supported `(00000000-0000-0000-0000-000000000000)`.
53
+ class CreateAssetRequest
54
+ include ::Google::Protobuf::MessageExts
55
+ extend ::Google::Protobuf::MessageExts::ClassMethods
56
+ end
57
+
58
+ # Request message for "LivestreamService.DeleteAsset".
59
+ # @!attribute [rw] name
60
+ # @return [::String]
61
+ # Required. The name of the asset resource, in the form of:
62
+ # `projects/{project}/locations/{location}/assets/{assetId}`.
63
+ # @!attribute [rw] request_id
64
+ # @return [::String]
65
+ # A request ID to identify requests. Specify a unique request ID
66
+ # so that if you must retry your request, the server will know to ignore
67
+ # the request if it has already been completed. The server will guarantee
68
+ # that for at least 60 minutes after the first request.
69
+ #
70
+ # For example, consider a situation where you make an initial request and the
71
+ # request times out. If you make the request again with the same request ID,
72
+ # the server can check if original operation with the same request ID was
73
+ # received, and if so, will ignore the second request. This prevents clients
74
+ # from accidentally creating duplicate commitments.
75
+ #
76
+ # The request ID must be a valid UUID with the exception that zero UUID is
77
+ # not supported `(00000000-0000-0000-0000-000000000000)`.
78
+ class DeleteAssetRequest
79
+ include ::Google::Protobuf::MessageExts
80
+ extend ::Google::Protobuf::MessageExts::ClassMethods
81
+ end
82
+
83
+ # Request message for "LivestreamService.ListAssets".
84
+ # @!attribute [rw] parent
85
+ # @return [::String]
86
+ # Required. The parent location for the resource, in the form of:
87
+ # `projects/{project}/locations/{location}`.
88
+ # @!attribute [rw] page_size
89
+ # @return [::Integer]
90
+ # Requested page size. Server may return fewer items than requested.
91
+ # If unspecified, server will pick an appropriate default.
92
+ # @!attribute [rw] page_token
93
+ # @return [::String]
94
+ # A token identifying a page of results the server should return.
95
+ # @!attribute [rw] filter
96
+ # @return [::String]
97
+ # Filtering results
98
+ # @!attribute [rw] order_by
99
+ # @return [::String]
100
+ # Hint for how to order the results
101
+ class ListAssetsRequest
102
+ include ::Google::Protobuf::MessageExts
103
+ extend ::Google::Protobuf::MessageExts::ClassMethods
104
+ end
105
+
106
+ # Response message for "LivestreamService.ListAssets".
107
+ # @!attribute [rw] assets
108
+ # @return [::Array<::Google::Cloud::Video::LiveStream::V1::Asset>]
109
+ # The list of Assets
110
+ # @!attribute [rw] next_page_token
111
+ # @return [::String]
112
+ # The next_page_token value returned from a previous List request, if any.
113
+ # @!attribute [rw] unreachable
114
+ # @return [::Array<::String>]
115
+ # Locations that could not be reached.
116
+ class ListAssetsResponse
117
+ include ::Google::Protobuf::MessageExts
118
+ extend ::Google::Protobuf::MessageExts::ClassMethods
119
+ end
120
+
121
+ # Request message for "LivestreamService.GetAsset".
122
+ # @!attribute [rw] name
123
+ # @return [::String]
124
+ # Required. Name of the resource, in the following form:
125
+ # `projects/{project}/locations/{location}/assets/{asset}`.
126
+ class GetAssetRequest
127
+ include ::Google::Protobuf::MessageExts
128
+ extend ::Google::Protobuf::MessageExts::ClassMethods
129
+ end
130
+
25
131
  # Request message for "LivestreamService.CreateChannel".
26
132
  # @!attribute [rw] parent
27
133
  # @return [::String]
@@ -528,6 +634,49 @@ module Google
528
634
  include ::Google::Protobuf::MessageExts
529
635
  extend ::Google::Protobuf::MessageExts::ClassMethods
530
636
  end
637
+
638
+ # Request message for "LivestreamService.GetPool".
639
+ # @!attribute [rw] name
640
+ # @return [::String]
641
+ # Required. The name of the pool resource, in the form of:
642
+ # `projects/{project}/locations/{location}/pools/{poolId}`.
643
+ class GetPoolRequest
644
+ include ::Google::Protobuf::MessageExts
645
+ extend ::Google::Protobuf::MessageExts::ClassMethods
646
+ end
647
+
648
+ # Request message for "LivestreamService.UpdatePool".
649
+ # @!attribute [rw] update_mask
650
+ # @return [::Google::Protobuf::FieldMask]
651
+ # Field mask is used to specify the fields to be overwritten in the Pool
652
+ # resource by the update. You can only update the following fields:
653
+ #
654
+ # * `networkConfig`
655
+ #
656
+ # The fields specified in the update_mask are relative to the resource, not
657
+ # the full request. A field will be overwritten if it is in the mask.
658
+ # @!attribute [rw] pool
659
+ # @return [::Google::Cloud::Video::LiveStream::V1::Pool]
660
+ # Required. The pool resource to be updated.
661
+ # @!attribute [rw] request_id
662
+ # @return [::String]
663
+ # A request ID to identify requests. Specify a unique request ID
664
+ # so that if you must retry your request, the server will know to ignore
665
+ # the request if it has already been completed. The server will guarantee
666
+ # that for at least 60 minutes since the first request.
667
+ #
668
+ # For example, consider a situation where you make an initial request and the
669
+ # request times out. If you make the request again with the same request ID,
670
+ # the server can check if original operation with the same request ID was
671
+ # received, and if so, will ignore the second request. This prevents clients
672
+ # from accidentally creating duplicate commitments.
673
+ #
674
+ # The request ID must be a valid UUID with the exception that zero UUID is
675
+ # not supported `(00000000-0000-0000-0000-000000000000)`.
676
+ class UpdatePoolRequest
677
+ include ::Google::Protobuf::MessageExts
678
+ extend ::Google::Protobuf::MessageExts::ClassMethods
679
+ end
531
680
  end
532
681
  end
533
682
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-video-live_stream-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-06 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -244,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
244
244
  - !ruby/object:Gem::Version
245
245
  version: '0'
246
246
  requirements: []
247
- rubygems_version: 3.4.2
247
+ rubygems_version: 3.4.19
248
248
  signing_key:
249
249
  specification_version: 4
250
250
  summary: API Client library for the Live Stream V1 API