Class: Google::Cloud::Video::LiveStream::V1::Input
- Inherits:
-
Object
- Object
- Google::Cloud::Video::LiveStream::V1::Input
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/livestream/v1/resources.rb
Overview
Input resource represents the endpoint from which the channel ingests the input stream.
Defined Under Namespace
Modules: Tier, Type Classes: LabelsEntry, SecurityRule
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#input_stream_property ⇒ ::Google::Cloud::Video::LiveStream::V1::InputStreamProperty
readonly
Output only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
User-defined key/value metadata.
-
#name ⇒ ::String
The resource name of the input, in the form of:
projects/{project}/locations/{location}/inputs/{inputId}
. -
#preprocessing_config ⇒ ::Google::Cloud::Video::LiveStream::V1::PreprocessingConfig
Preprocessing configurations.
-
#security_rules ⇒ ::Google::Cloud::Video::LiveStream::V1::Input::SecurityRule
Security rule for access control.
-
#tier ⇒ ::Google::Cloud::Video::LiveStream::V1::Input::Tier
Tier defines the maximum input specification that is accepted by the video pipeline.
-
#type ⇒ ::Google::Cloud::Video::LiveStream::V1::Input::Type
Source type.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#uri ⇒ ::String
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The creation time.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 67 class Input include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Security rules for access control. Each field represents one security rule. # Only when the source of the input stream satisfies all the fields, this # input stream can be accepted. # @!attribute [rw] ip_ranges # @return [::Array<::String>] # At least one ip range must match unless none specified. The IP range is # defined by CIDR block: for example, `192.0.1.0/24` for a range and # `192.0.1.0/32` for a single IP address. class SecurityRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the input. module Type # Input type is not specified. TYPE_UNSPECIFIED = 0 # Input will take an rtmp input stream. RTMP_PUSH = 1 # Input will take an srt (Secure Reliable Transport) input stream. SRT_PUSH = 2 end # Tier of the input specification. module Tier # Tier is not specified. TIER_UNSPECIFIED = 0 # Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60. SD = 1 # Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60. HD = 2 # Resolution <= 4096x2160. Not supported yet. UHD = 3 end end |
#input_stream_property ⇒ ::Google::Cloud::Video::LiveStream::V1::InputStreamProperty (readonly)
Returns Output only. The information for the input stream. This field will be present only when this input receives the input stream.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 67 class Input include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Security rules for access control. Each field represents one security rule. # Only when the source of the input stream satisfies all the fields, this # input stream can be accepted. # @!attribute [rw] ip_ranges # @return [::Array<::String>] # At least one ip range must match unless none specified. The IP range is # defined by CIDR block: for example, `192.0.1.0/24` for a range and # `192.0.1.0/32` for a single IP address. class SecurityRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the input. module Type # Input type is not specified. TYPE_UNSPECIFIED = 0 # Input will take an rtmp input stream. RTMP_PUSH = 1 # Input will take an srt (Secure Reliable Transport) input stream. SRT_PUSH = 2 end # Tier of the input specification. module Tier # Tier is not specified. TIER_UNSPECIFIED = 0 # Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60. SD = 1 # Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60. HD = 2 # Resolution <= 4096x2160. Not supported yet. UHD = 3 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns User-defined key/value metadata.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 67 class Input include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Security rules for access control. Each field represents one security rule. # Only when the source of the input stream satisfies all the fields, this # input stream can be accepted. # @!attribute [rw] ip_ranges # @return [::Array<::String>] # At least one ip range must match unless none specified. The IP range is # defined by CIDR block: for example, `192.0.1.0/24` for a range and # `192.0.1.0/32` for a single IP address. class SecurityRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the input. module Type # Input type is not specified. TYPE_UNSPECIFIED = 0 # Input will take an rtmp input stream. RTMP_PUSH = 1 # Input will take an srt (Secure Reliable Transport) input stream. SRT_PUSH = 2 end # Tier of the input specification. module Tier # Tier is not specified. TIER_UNSPECIFIED = 0 # Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60. SD = 1 # Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60. HD = 2 # Resolution <= 4096x2160. Not supported yet. UHD = 3 end end |
#name ⇒ ::String
Returns The resource name of the input, in the form of:
projects/{project}/locations/{location}/inputs/{inputId}
.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 67 class Input include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Security rules for access control. Each field represents one security rule. # Only when the source of the input stream satisfies all the fields, this # input stream can be accepted. # @!attribute [rw] ip_ranges # @return [::Array<::String>] # At least one ip range must match unless none specified. The IP range is # defined by CIDR block: for example, `192.0.1.0/24` for a range and # `192.0.1.0/32` for a single IP address. class SecurityRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the input. module Type # Input type is not specified. TYPE_UNSPECIFIED = 0 # Input will take an rtmp input stream. RTMP_PUSH = 1 # Input will take an srt (Secure Reliable Transport) input stream. SRT_PUSH = 2 end # Tier of the input specification. module Tier # Tier is not specified. TIER_UNSPECIFIED = 0 # Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60. SD = 1 # Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60. HD = 2 # Resolution <= 4096x2160. Not supported yet. UHD = 3 end end |
#preprocessing_config ⇒ ::Google::Cloud::Video::LiveStream::V1::PreprocessingConfig
Returns Preprocessing configurations.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 67 class Input include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Security rules for access control. Each field represents one security rule. # Only when the source of the input stream satisfies all the fields, this # input stream can be accepted. # @!attribute [rw] ip_ranges # @return [::Array<::String>] # At least one ip range must match unless none specified. The IP range is # defined by CIDR block: for example, `192.0.1.0/24` for a range and # `192.0.1.0/32` for a single IP address. class SecurityRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the input. module Type # Input type is not specified. TYPE_UNSPECIFIED = 0 # Input will take an rtmp input stream. RTMP_PUSH = 1 # Input will take an srt (Secure Reliable Transport) input stream. SRT_PUSH = 2 end # Tier of the input specification. module Tier # Tier is not specified. TIER_UNSPECIFIED = 0 # Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60. SD = 1 # Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60. HD = 2 # Resolution <= 4096x2160. Not supported yet. UHD = 3 end end |
#security_rules ⇒ ::Google::Cloud::Video::LiveStream::V1::Input::SecurityRule
Returns Security rule for access control.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 67 class Input include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Security rules for access control. Each field represents one security rule. # Only when the source of the input stream satisfies all the fields, this # input stream can be accepted. # @!attribute [rw] ip_ranges # @return [::Array<::String>] # At least one ip range must match unless none specified. The IP range is # defined by CIDR block: for example, `192.0.1.0/24` for a range and # `192.0.1.0/32` for a single IP address. class SecurityRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the input. module Type # Input type is not specified. TYPE_UNSPECIFIED = 0 # Input will take an rtmp input stream. RTMP_PUSH = 1 # Input will take an srt (Secure Reliable Transport) input stream. SRT_PUSH = 2 end # Tier of the input specification. module Tier # Tier is not specified. TIER_UNSPECIFIED = 0 # Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60. SD = 1 # Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60. HD = 2 # Resolution <= 4096x2160. Not supported yet. UHD = 3 end end |
#tier ⇒ ::Google::Cloud::Video::LiveStream::V1::Input::Tier
Returns 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
.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 67 class Input include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Security rules for access control. Each field represents one security rule. # Only when the source of the input stream satisfies all the fields, this # input stream can be accepted. # @!attribute [rw] ip_ranges # @return [::Array<::String>] # At least one ip range must match unless none specified. The IP range is # defined by CIDR block: for example, `192.0.1.0/24` for a range and # `192.0.1.0/32` for a single IP address. class SecurityRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the input. module Type # Input type is not specified. TYPE_UNSPECIFIED = 0 # Input will take an rtmp input stream. RTMP_PUSH = 1 # Input will take an srt (Secure Reliable Transport) input stream. SRT_PUSH = 2 end # Tier of the input specification. module Tier # Tier is not specified. TIER_UNSPECIFIED = 0 # Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60. SD = 1 # Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60. HD = 2 # Resolution <= 4096x2160. Not supported yet. UHD = 3 end end |
#type ⇒ ::Google::Cloud::Video::LiveStream::V1::Input::Type
Returns Source type.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 67 class Input include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Security rules for access control. Each field represents one security rule. # Only when the source of the input stream satisfies all the fields, this # input stream can be accepted. # @!attribute [rw] ip_ranges # @return [::Array<::String>] # At least one ip range must match unless none specified. The IP range is # defined by CIDR block: for example, `192.0.1.0/24` for a range and # `192.0.1.0/32` for a single IP address. class SecurityRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the input. module Type # Input type is not specified. TYPE_UNSPECIFIED = 0 # Input will take an rtmp input stream. RTMP_PUSH = 1 # Input will take an srt (Secure Reliable Transport) input stream. SRT_PUSH = 2 end # Tier of the input specification. module Tier # Tier is not specified. TIER_UNSPECIFIED = 0 # Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60. SD = 1 # Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60. HD = 2 # Resolution <= 4096x2160. Not supported yet. UHD = 3 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The update time.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 67 class Input include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Security rules for access control. Each field represents one security rule. # Only when the source of the input stream satisfies all the fields, this # input stream can be accepted. # @!attribute [rw] ip_ranges # @return [::Array<::String>] # At least one ip range must match unless none specified. The IP range is # defined by CIDR block: for example, `192.0.1.0/24` for a range and # `192.0.1.0/32` for a single IP address. class SecurityRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the input. module Type # Input type is not specified. TYPE_UNSPECIFIED = 0 # Input will take an rtmp input stream. RTMP_PUSH = 1 # Input will take an srt (Secure Reliable Transport) input stream. SRT_PUSH = 2 end # Tier of the input specification. module Tier # Tier is not specified. TIER_UNSPECIFIED = 0 # Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60. SD = 1 # Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60. HD = 2 # Resolution <= 4096x2160. Not supported yet. UHD = 3 end end |
#uri ⇒ ::String (readonly)
Returns 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}
.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 67 class Input include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Security rules for access control. Each field represents one security rule. # Only when the source of the input stream satisfies all the fields, this # input stream can be accepted. # @!attribute [rw] ip_ranges # @return [::Array<::String>] # At least one ip range must match unless none specified. The IP range is # defined by CIDR block: for example, `192.0.1.0/24` for a range and # `192.0.1.0/32` for a single IP address. class SecurityRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The type of the input. module Type # Input type is not specified. TYPE_UNSPECIFIED = 0 # Input will take an rtmp input stream. RTMP_PUSH = 1 # Input will take an srt (Secure Reliable Transport) input stream. SRT_PUSH = 2 end # Tier of the input specification. module Tier # Tier is not specified. TIER_UNSPECIFIED = 0 # Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60. SD = 1 # Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60. HD = 2 # Resolution <= 4096x2160. Not supported yet. UHD = 3 end end |