Live Stream V1 API - Class Google::Cloud::Video::LiveStream::V1::Input (v0.6.0)

Reference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::Input.

Input resource represents the endpoint from which the channel ingests the input stream.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#input_stream_property

def input_stream_property() -> ::Google::Cloud::Video::LiveStream::V1::InputStreamProperty
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — User-defined key/value metadata.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — User-defined key/value metadata.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — User-defined key/value metadata.

#name

def name() -> ::String
Returns
  • (::String) — The resource name of the input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The resource name of the input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}.
Returns
  • (::String) — The resource name of the input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}.

#preprocessing_config

def preprocessing_config() -> ::Google::Cloud::Video::LiveStream::V1::PreprocessingConfig
Returns

#preprocessing_config=

def preprocessing_config=(value) -> ::Google::Cloud::Video::LiveStream::V1::PreprocessingConfig
Parameter
Returns

#security_rules

def security_rules() -> ::Google::Cloud::Video::LiveStream::V1::Input::SecurityRule
Returns

#security_rules=

def security_rules=(value) -> ::Google::Cloud::Video::LiveStream::V1::Input::SecurityRule
Parameter
Returns

#tier

def tier() -> ::Google::Cloud::Video::LiveStream::V1::Input::Tier
Returns

#tier=

def tier=(value) -> ::Google::Cloud::Video::LiveStream::V1::Input::Tier
Parameter
Returns

#type

def type() -> ::Google::Cloud::Video::LiveStream::V1::Input::Type

#type=

def type=(value) -> ::Google::Cloud::Video::LiveStream::V1::Input::Type
Parameter

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#uri

def uri() -> ::String
Returns
  • (::String) —

    Output only. URI to push the input stream to. Its format depends on the input type, for example:

    • RTMP_PUSH: rtmp://1.2.3.4/live/{STREAM-ID}
    • SRT_PUSH: srt://1.2.3.4:4201?streamid={STREAM-ID}