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
- (::Google::Protobuf::Timestamp) — Output only. The creation time.
#input_stream_property
def input_stream_property() -> ::Google::Cloud::Video::LiveStream::V1::InputStreamProperty
Returns
- (::Google::Cloud::Video::LiveStream::V1::InputStreamProperty) — Output only. The information for the input stream. This field will be present only when this input receives the input stream.
#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
- (::Google::Cloud::Video::LiveStream::V1::PreprocessingConfig) — Preprocessing configurations.
#preprocessing_config=
def preprocessing_config=(value) -> ::Google::Cloud::Video::LiveStream::V1::PreprocessingConfig
Parameter
- value (::Google::Cloud::Video::LiveStream::V1::PreprocessingConfig) — Preprocessing configurations.
Returns
- (::Google::Cloud::Video::LiveStream::V1::PreprocessingConfig) — Preprocessing configurations.
#security_rules
def security_rules() -> ::Google::Cloud::Video::LiveStream::V1::Input::SecurityRule
Returns
- (::Google::Cloud::Video::LiveStream::V1::Input::SecurityRule) — Security rule for access control.
#security_rules=
def security_rules=(value) -> ::Google::Cloud::Video::LiveStream::V1::Input::SecurityRule
Parameter
- value (::Google::Cloud::Video::LiveStream::V1::Input::SecurityRule) — Security rule for access control.
Returns
- (::Google::Cloud::Video::LiveStream::V1::Input::SecurityRule) — Security rule for access control.
#tier
def tier() -> ::Google::Cloud::Video::LiveStream::V1::Input::Tier
Returns
-
(::Google::Cloud::Video::LiveStream::V1::Input::Tier) — Tier defines the maximum input specification that is accepted by the
video pipeline. The billing is charged based on the tier specified here.
See Pricing for more detail.
The default is
HD
.
#tier=
def tier=(value) -> ::Google::Cloud::Video::LiveStream::V1::Input::Tier
Parameter
-
value (::Google::Cloud::Video::LiveStream::V1::Input::Tier) — Tier defines the maximum input specification that is accepted by the
video pipeline. The billing is charged based on the tier specified here.
See Pricing for more detail.
The default is
HD
.
Returns
-
(::Google::Cloud::Video::LiveStream::V1::Input::Tier) — Tier defines the maximum input specification that is accepted by the
video pipeline. The billing is charged based on the tier specified here.
See Pricing for more detail.
The default is
HD
.
#type
def type() -> ::Google::Cloud::Video::LiveStream::V1::Input::Type
Returns
- (::Google::Cloud::Video::LiveStream::V1::Input::Type) — Source type.
#type=
def type=(value) -> ::Google::Cloud::Video::LiveStream::V1::Input::Type
Parameter
- value (::Google::Cloud::Video::LiveStream::V1::Input::Type) — Source type.
Returns
- (::Google::Cloud::Video::LiveStream::V1::Input::Type) — Source type.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The update time.
#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}
-