lib/google/cloud/video/livestream/v1/resources_pb.rb in google-cloud-video-live_stream-v1-0.3.0 vs lib/google/cloud/video/livestream/v1/resources_pb.rb in google-cloud-video-live_stream-v1-0.4.0

- old
+ new

@@ -51,10 +51,13 @@ repeated :manifests, :message, 12, "google.cloud.video.livestream.v1.Manifest" repeated :sprite_sheets, :message, 13, "google.cloud.video.livestream.v1.SpriteSheet" optional :streaming_state, :enum, 14, "google.cloud.video.livestream.v1.Channel.StreamingState" optional :streaming_error, :message, 18, "google.rpc.Status" optional :log_config, :message, 19, "google.cloud.video.livestream.v1.LogConfig" + optional :timecode_config, :message, 21, "google.cloud.video.livestream.v1.TimecodeConfig" + repeated :encryptions, :message, 24, "google.cloud.video.livestream.v1.Encryption" + optional :input_config, :message, 25, "google.cloud.video.livestream.v1.InputConfig" end add_message "google.cloud.video.livestream.v1.Channel.Output" do optional :uri, :string, 1 end add_enum "google.cloud.video.livestream.v1.Channel.StreamingState" do @@ -65,10 +68,18 @@ value :STREAMING_NO_INPUT, 5 value :STOPPED, 6 value :STARTING, 7 value :STOPPING, 8 end + add_message "google.cloud.video.livestream.v1.InputConfig" do + optional :input_switch_mode, :enum, 1, "google.cloud.video.livestream.v1.InputConfig.InputSwitchMode" + end + add_enum "google.cloud.video.livestream.v1.InputConfig.InputSwitchMode" do + value :INPUT_SWITCH_MODE_UNSPECIFIED, 0 + value :FAILOVER_PREFER_PRIMARY, 1 + value :MANUAL, 3 + end add_message "google.cloud.video.livestream.v1.LogConfig" do optional :log_severity, :enum, 1, "google.cloud.video.livestream.v1.LogConfig.LogSeverity" end add_enum "google.cloud.video.livestream.v1.LogConfig.LogSeverity" do value :LOG_SEVERITY_UNSPECIFIED, 0 @@ -118,25 +129,75 @@ optional :execute_now, :bool, 9 optional :execution_time, :message, 10, "google.protobuf.Timestamp" optional :state, :enum, 11, "google.cloud.video.livestream.v1.Event.State" optional :error, :message, 12, "google.rpc.Status" oneof :task do + optional :input_switch, :message, 5, "google.cloud.video.livestream.v1.Event.InputSwitchTask" optional :ad_break, :message, 6, "google.cloud.video.livestream.v1.Event.AdBreakTask" + optional :return_to_program, :message, 13, "google.cloud.video.livestream.v1.Event.ReturnToProgramTask" + optional :mute, :message, 15, "google.cloud.video.livestream.v1.Event.MuteTask" + optional :unmute, :message, 16, "google.cloud.video.livestream.v1.Event.UnmuteTask" end end + add_message "google.cloud.video.livestream.v1.Event.InputSwitchTask" do + optional :input_key, :string, 1 + end add_message "google.cloud.video.livestream.v1.Event.AdBreakTask" do optional :duration, :message, 1, "google.protobuf.Duration" end + add_message "google.cloud.video.livestream.v1.Event.ReturnToProgramTask" do + end + add_message "google.cloud.video.livestream.v1.Event.MuteTask" do + optional :duration, :message, 1, "google.protobuf.Duration" + end + add_message "google.cloud.video.livestream.v1.Event.UnmuteTask" do + end add_enum "google.cloud.video.livestream.v1.Event.State" do value :STATE_UNSPECIFIED, 0 value :SCHEDULED, 1 value :RUNNING, 2 value :SUCCEEDED, 3 value :FAILED, 4 value :PENDING, 5 value :STOPPED, 6 end + add_message "google.cloud.video.livestream.v1.Encryption" do + optional :id, :string, 1 + optional :drm_systems, :message, 3, "google.cloud.video.livestream.v1.Encryption.DrmSystems" + oneof :secret_source do + optional :secret_manager_key_source, :message, 7, "google.cloud.video.livestream.v1.Encryption.SecretManagerSource" + end + oneof :encryption_mode do + optional :aes128, :message, 4, "google.cloud.video.livestream.v1.Encryption.Aes128Encryption" + optional :sample_aes, :message, 5, "google.cloud.video.livestream.v1.Encryption.SampleAesEncryption" + optional :mpeg_cenc, :message, 6, "google.cloud.video.livestream.v1.Encryption.MpegCommonEncryption" + end + end + add_message "google.cloud.video.livestream.v1.Encryption.SecretManagerSource" do + optional :secret_version, :string, 1 + end + add_message "google.cloud.video.livestream.v1.Encryption.Widevine" do + end + add_message "google.cloud.video.livestream.v1.Encryption.Fairplay" do + end + add_message "google.cloud.video.livestream.v1.Encryption.Playready" do + end + add_message "google.cloud.video.livestream.v1.Encryption.Clearkey" do + end + add_message "google.cloud.video.livestream.v1.Encryption.DrmSystems" do + optional :widevine, :message, 1, "google.cloud.video.livestream.v1.Encryption.Widevine" + optional :fairplay, :message, 2, "google.cloud.video.livestream.v1.Encryption.Fairplay" + optional :playready, :message, 3, "google.cloud.video.livestream.v1.Encryption.Playready" + optional :clearkey, :message, 4, "google.cloud.video.livestream.v1.Encryption.Clearkey" + end + add_message "google.cloud.video.livestream.v1.Encryption.Aes128Encryption" do + end + add_message "google.cloud.video.livestream.v1.Encryption.SampleAesEncryption" do + end + add_message "google.cloud.video.livestream.v1.Encryption.MpegCommonEncryption" do + optional :scheme, :string, 1 + end end end module Google module Cloud @@ -148,21 +209,37 @@ Input::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Input.Type").enummodule Input::Tier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Input.Tier").enummodule Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Channel").msgclass Channel::Output = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Channel.Output").msgclass Channel::StreamingState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Channel.StreamingState").enummodule + InputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.InputConfig").msgclass + InputConfig::InputSwitchMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.InputConfig.InputSwitchMode").enummodule LogConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.LogConfig").msgclass LogConfig::LogSeverity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.LogConfig.LogSeverity").enummodule InputStreamProperty = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.InputStreamProperty").msgclass VideoStreamProperty = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.VideoStreamProperty").msgclass VideoFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.VideoFormat").msgclass AudioStreamProperty = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.AudioStreamProperty").msgclass AudioFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.AudioFormat").msgclass InputAttachment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.InputAttachment").msgclass InputAttachment::AutomaticFailover = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover").msgclass Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Event").msgclass + Event::InputSwitchTask = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Event.InputSwitchTask").msgclass Event::AdBreakTask = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Event.AdBreakTask").msgclass + Event::ReturnToProgramTask = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Event.ReturnToProgramTask").msgclass + Event::MuteTask = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Event.MuteTask").msgclass + Event::UnmuteTask = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Event.UnmuteTask").msgclass Event::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Event.State").enummodule + Encryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Encryption").msgclass + Encryption::SecretManagerSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Encryption.SecretManagerSource").msgclass + Encryption::Widevine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Encryption.Widevine").msgclass + Encryption::Fairplay = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Encryption.Fairplay").msgclass + Encryption::Playready = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Encryption.Playready").msgclass + Encryption::Clearkey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Encryption.Clearkey").msgclass + Encryption::DrmSystems = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Encryption.DrmSystems").msgclass + Encryption::Aes128Encryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Encryption.Aes128Encryption").msgclass + Encryption::SampleAesEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Encryption.SampleAesEncryption").msgclass + Encryption::MpegCommonEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Encryption.MpegCommonEncryption").msgclass end end end end end