Class: Google::Cloud::Video::LiveStream::V1::Clip
- Inherits:
-
Object
- Object
- Google::Cloud::Video::LiveStream::V1::Clip
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/livestream/v1/resources.rb
Overview
Clip is a sub-resource under channel. Each clip represents a clipping operation that generates a VOD playlist from its channel given a set of timestamp ranges.
Defined Under Namespace
Modules: OutputType, State Classes: ClipManifest, LabelsEntry, Slice, TimeSlice
Instance Attribute Summary collapse
-
#clip_manifests ⇒ ::Array<::Google::Cloud::Video::LiveStream::V1::Clip::ClipManifest>
Required.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#error ⇒ ::Google::Rpc::Status
readonly
Output only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
The labels associated with this resource.
-
#name ⇒ ::String
The resource name of the clip, in the following format:
projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}. -
#output_type ⇒ ::Google::Cloud::Video::LiveStream::V1::Clip::OutputType
Optional.
-
#output_uri ⇒ ::String
Specify the
output_urito determine where to place the clip segments and clip manifest files in Cloud Storage. -
#slices ⇒ ::Array<::Google::Cloud::Video::LiveStream::V1::Clip::Slice>
The specified ranges of segments to generate a clip.
-
#start_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Video::LiveStream::V1::Clip::State
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#clip_manifests ⇒ ::Array<::Google::Cloud::Video::LiveStream::V1::Clip::ClipManifest>
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 802 class Clip include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # TimeSlice represents a tuple of Unix epoch timestamps that specifies a time # range. # @!attribute [rw] markin_time # @return [::Google::Protobuf::Timestamp] # The mark-in Unix epoch time in the original live stream manifest. # @!attribute [rw] markout_time # @return [::Google::Protobuf::Timestamp] # The mark-out Unix epoch time in the original live stream manifest. class TimeSlice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Slice represents a slice of the requested clip. # @!attribute [rw] time_slice # @return [::Google::Cloud::Video::LiveStream::V1::Clip::TimeSlice] # A slice in form of a tuple of Unix epoch time. class Slice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # ClipManifest identifies a source manifest for the generated clip manifest. # @!attribute [rw] manifest_key # @return [::String] # Required. A unique key that identifies a manifest config in the parent # channel. This key is the same as `channel.manifests.key` for the selected # manifest. # @!attribute [r] output_uri # @return [::String] # Output only. The output URI of the generated clip manifest. This field # will be populated when the CreateClip request is accepted. Current output # format is provided below but may change in the future. Please read this # field to get the uri to the generated clip manifest. Format: # \\{clip.output_uri}/\\{channel.manifest.fileName} Example: # gs://my-bucket/clip-outputs/main.m3u8 class ClipManifest 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 # State of clipping operation. module State # State is not specified. STATE_UNSPECIFIED = 0 # The operation is pending to be picked up by the server. PENDING = 1 # The server admitted this create clip request, and # outputs are under processing. CREATING = 2 # Outputs are available in the specified Cloud Storage bucket. For # additional information, see the `outputs` field. SUCCEEDED = 3 # The operation has failed. For additional information, see the `error` # field. FAILED = 4 end # OutputType represents the output type of the clip. module OutputType # OutputType is not specified. OUTPUT_TYPE_UNSPECIFIED = 0 # OutputType is a VOD manifest. This is the default value. MANIFEST = 1 # OutputType is an MP4 file. MP4 = 2 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 802 class Clip include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # TimeSlice represents a tuple of Unix epoch timestamps that specifies a time # range. # @!attribute [rw] markin_time # @return [::Google::Protobuf::Timestamp] # The mark-in Unix epoch time in the original live stream manifest. # @!attribute [rw] markout_time # @return [::Google::Protobuf::Timestamp] # The mark-out Unix epoch time in the original live stream manifest. class TimeSlice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Slice represents a slice of the requested clip. # @!attribute [rw] time_slice # @return [::Google::Cloud::Video::LiveStream::V1::Clip::TimeSlice] # A slice in form of a tuple of Unix epoch time. class Slice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # ClipManifest identifies a source manifest for the generated clip manifest. # @!attribute [rw] manifest_key # @return [::String] # Required. A unique key that identifies a manifest config in the parent # channel. This key is the same as `channel.manifests.key` for the selected # manifest. # @!attribute [r] output_uri # @return [::String] # Output only. The output URI of the generated clip manifest. This field # will be populated when the CreateClip request is accepted. Current output # format is provided below but may change in the future. Please read this # field to get the uri to the generated clip manifest. Format: # \\{clip.output_uri}/\\{channel.manifest.fileName} Example: # gs://my-bucket/clip-outputs/main.m3u8 class ClipManifest 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 # State of clipping operation. module State # State is not specified. STATE_UNSPECIFIED = 0 # The operation is pending to be picked up by the server. PENDING = 1 # The server admitted this create clip request, and # outputs are under processing. CREATING = 2 # Outputs are available in the specified Cloud Storage bucket. For # additional information, see the `outputs` field. SUCCEEDED = 3 # The operation has failed. For additional information, see the `error` # field. FAILED = 4 end # OutputType represents the output type of the clip. module OutputType # OutputType is not specified. OUTPUT_TYPE_UNSPECIFIED = 0 # OutputType is a VOD manifest. This is the default value. MANIFEST = 1 # OutputType is an MP4 file. MP4 = 2 end end |
#error ⇒ ::Google::Rpc::Status (readonly)
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 802 class Clip include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # TimeSlice represents a tuple of Unix epoch timestamps that specifies a time # range. # @!attribute [rw] markin_time # @return [::Google::Protobuf::Timestamp] # The mark-in Unix epoch time in the original live stream manifest. # @!attribute [rw] markout_time # @return [::Google::Protobuf::Timestamp] # The mark-out Unix epoch time in the original live stream manifest. class TimeSlice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Slice represents a slice of the requested clip. # @!attribute [rw] time_slice # @return [::Google::Cloud::Video::LiveStream::V1::Clip::TimeSlice] # A slice in form of a tuple of Unix epoch time. class Slice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # ClipManifest identifies a source manifest for the generated clip manifest. # @!attribute [rw] manifest_key # @return [::String] # Required. A unique key that identifies a manifest config in the parent # channel. This key is the same as `channel.manifests.key` for the selected # manifest. # @!attribute [r] output_uri # @return [::String] # Output only. The output URI of the generated clip manifest. This field # will be populated when the CreateClip request is accepted. Current output # format is provided below but may change in the future. Please read this # field to get the uri to the generated clip manifest. Format: # \\{clip.output_uri}/\\{channel.manifest.fileName} Example: # gs://my-bucket/clip-outputs/main.m3u8 class ClipManifest 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 # State of clipping operation. module State # State is not specified. STATE_UNSPECIFIED = 0 # The operation is pending to be picked up by the server. PENDING = 1 # The server admitted this create clip request, and # outputs are under processing. CREATING = 2 # Outputs are available in the specified Cloud Storage bucket. For # additional information, see the `outputs` field. SUCCEEDED = 3 # The operation has failed. For additional information, see the `error` # field. FAILED = 4 end # OutputType represents the output type of the clip. module OutputType # OutputType is not specified. OUTPUT_TYPE_UNSPECIFIED = 0 # OutputType is a VOD manifest. This is the default value. MANIFEST = 1 # OutputType is an MP4 file. MP4 = 2 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 802 class Clip include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # TimeSlice represents a tuple of Unix epoch timestamps that specifies a time # range. # @!attribute [rw] markin_time # @return [::Google::Protobuf::Timestamp] # The mark-in Unix epoch time in the original live stream manifest. # @!attribute [rw] markout_time # @return [::Google::Protobuf::Timestamp] # The mark-out Unix epoch time in the original live stream manifest. class TimeSlice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Slice represents a slice of the requested clip. # @!attribute [rw] time_slice # @return [::Google::Cloud::Video::LiveStream::V1::Clip::TimeSlice] # A slice in form of a tuple of Unix epoch time. class Slice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # ClipManifest identifies a source manifest for the generated clip manifest. # @!attribute [rw] manifest_key # @return [::String] # Required. A unique key that identifies a manifest config in the parent # channel. This key is the same as `channel.manifests.key` for the selected # manifest. # @!attribute [r] output_uri # @return [::String] # Output only. The output URI of the generated clip manifest. This field # will be populated when the CreateClip request is accepted. Current output # format is provided below but may change in the future. Please read this # field to get the uri to the generated clip manifest. Format: # \\{clip.output_uri}/\\{channel.manifest.fileName} Example: # gs://my-bucket/clip-outputs/main.m3u8 class ClipManifest 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 # State of clipping operation. module State # State is not specified. STATE_UNSPECIFIED = 0 # The operation is pending to be picked up by the server. PENDING = 1 # The server admitted this create clip request, and # outputs are under processing. CREATING = 2 # Outputs are available in the specified Cloud Storage bucket. For # additional information, see the `outputs` field. SUCCEEDED = 3 # The operation has failed. For additional information, see the `error` # field. FAILED = 4 end # OutputType represents the output type of the clip. module OutputType # OutputType is not specified. OUTPUT_TYPE_UNSPECIFIED = 0 # OutputType is a VOD manifest. This is the default value. MANIFEST = 1 # OutputType is an MP4 file. MP4 = 2 end end |
#name ⇒ ::String
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 802 class Clip include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # TimeSlice represents a tuple of Unix epoch timestamps that specifies a time # range. # @!attribute [rw] markin_time # @return [::Google::Protobuf::Timestamp] # The mark-in Unix epoch time in the original live stream manifest. # @!attribute [rw] markout_time # @return [::Google::Protobuf::Timestamp] # The mark-out Unix epoch time in the original live stream manifest. class TimeSlice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Slice represents a slice of the requested clip. # @!attribute [rw] time_slice # @return [::Google::Cloud::Video::LiveStream::V1::Clip::TimeSlice] # A slice in form of a tuple of Unix epoch time. class Slice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # ClipManifest identifies a source manifest for the generated clip manifest. # @!attribute [rw] manifest_key # @return [::String] # Required. A unique key that identifies a manifest config in the parent # channel. This key is the same as `channel.manifests.key` for the selected # manifest. # @!attribute [r] output_uri # @return [::String] # Output only. The output URI of the generated clip manifest. This field # will be populated when the CreateClip request is accepted. Current output # format is provided below but may change in the future. Please read this # field to get the uri to the generated clip manifest. Format: # \\{clip.output_uri}/\\{channel.manifest.fileName} Example: # gs://my-bucket/clip-outputs/main.m3u8 class ClipManifest 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 # State of clipping operation. module State # State is not specified. STATE_UNSPECIFIED = 0 # The operation is pending to be picked up by the server. PENDING = 1 # The server admitted this create clip request, and # outputs are under processing. CREATING = 2 # Outputs are available in the specified Cloud Storage bucket. For # additional information, see the `outputs` field. SUCCEEDED = 3 # The operation has failed. For additional information, see the `error` # field. FAILED = 4 end # OutputType represents the output type of the clip. module OutputType # OutputType is not specified. OUTPUT_TYPE_UNSPECIFIED = 0 # OutputType is a VOD manifest. This is the default value. MANIFEST = 1 # OutputType is an MP4 file. MP4 = 2 end end |
#output_type ⇒ ::Google::Cloud::Video::LiveStream::V1::Clip::OutputType
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 802 class Clip include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # TimeSlice represents a tuple of Unix epoch timestamps that specifies a time # range. # @!attribute [rw] markin_time # @return [::Google::Protobuf::Timestamp] # The mark-in Unix epoch time in the original live stream manifest. # @!attribute [rw] markout_time # @return [::Google::Protobuf::Timestamp] # The mark-out Unix epoch time in the original live stream manifest. class TimeSlice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Slice represents a slice of the requested clip. # @!attribute [rw] time_slice # @return [::Google::Cloud::Video::LiveStream::V1::Clip::TimeSlice] # A slice in form of a tuple of Unix epoch time. class Slice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # ClipManifest identifies a source manifest for the generated clip manifest. # @!attribute [rw] manifest_key # @return [::String] # Required. A unique key that identifies a manifest config in the parent # channel. This key is the same as `channel.manifests.key` for the selected # manifest. # @!attribute [r] output_uri # @return [::String] # Output only. The output URI of the generated clip manifest. This field # will be populated when the CreateClip request is accepted. Current output # format is provided below but may change in the future. Please read this # field to get the uri to the generated clip manifest. Format: # \\{clip.output_uri}/\\{channel.manifest.fileName} Example: # gs://my-bucket/clip-outputs/main.m3u8 class ClipManifest 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 # State of clipping operation. module State # State is not specified. STATE_UNSPECIFIED = 0 # The operation is pending to be picked up by the server. PENDING = 1 # The server admitted this create clip request, and # outputs are under processing. CREATING = 2 # Outputs are available in the specified Cloud Storage bucket. For # additional information, see the `outputs` field. SUCCEEDED = 3 # The operation has failed. For additional information, see the `error` # field. FAILED = 4 end # OutputType represents the output type of the clip. module OutputType # OutputType is not specified. OUTPUT_TYPE_UNSPECIFIED = 0 # OutputType is a VOD manifest. This is the default value. MANIFEST = 1 # OutputType is an MP4 file. MP4 = 2 end end |
#output_uri ⇒ ::String
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 802 class Clip include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # TimeSlice represents a tuple of Unix epoch timestamps that specifies a time # range. # @!attribute [rw] markin_time # @return [::Google::Protobuf::Timestamp] # The mark-in Unix epoch time in the original live stream manifest. # @!attribute [rw] markout_time # @return [::Google::Protobuf::Timestamp] # The mark-out Unix epoch time in the original live stream manifest. class TimeSlice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Slice represents a slice of the requested clip. # @!attribute [rw] time_slice # @return [::Google::Cloud::Video::LiveStream::V1::Clip::TimeSlice] # A slice in form of a tuple of Unix epoch time. class Slice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # ClipManifest identifies a source manifest for the generated clip manifest. # @!attribute [rw] manifest_key # @return [::String] # Required. A unique key that identifies a manifest config in the parent # channel. This key is the same as `channel.manifests.key` for the selected # manifest. # @!attribute [r] output_uri # @return [::String] # Output only. The output URI of the generated clip manifest. This field # will be populated when the CreateClip request is accepted. Current output # format is provided below but may change in the future. Please read this # field to get the uri to the generated clip manifest. Format: # \\{clip.output_uri}/\\{channel.manifest.fileName} Example: # gs://my-bucket/clip-outputs/main.m3u8 class ClipManifest 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 # State of clipping operation. module State # State is not specified. STATE_UNSPECIFIED = 0 # The operation is pending to be picked up by the server. PENDING = 1 # The server admitted this create clip request, and # outputs are under processing. CREATING = 2 # Outputs are available in the specified Cloud Storage bucket. For # additional information, see the `outputs` field. SUCCEEDED = 3 # The operation has failed. For additional information, see the `error` # field. FAILED = 4 end # OutputType represents the output type of the clip. module OutputType # OutputType is not specified. OUTPUT_TYPE_UNSPECIFIED = 0 # OutputType is a VOD manifest. This is the default value. MANIFEST = 1 # OutputType is an MP4 file. MP4 = 2 end end |
#slices ⇒ ::Array<::Google::Cloud::Video::LiveStream::V1::Clip::Slice>
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 802 class Clip include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # TimeSlice represents a tuple of Unix epoch timestamps that specifies a time # range. # @!attribute [rw] markin_time # @return [::Google::Protobuf::Timestamp] # The mark-in Unix epoch time in the original live stream manifest. # @!attribute [rw] markout_time # @return [::Google::Protobuf::Timestamp] # The mark-out Unix epoch time in the original live stream manifest. class TimeSlice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Slice represents a slice of the requested clip. # @!attribute [rw] time_slice # @return [::Google::Cloud::Video::LiveStream::V1::Clip::TimeSlice] # A slice in form of a tuple of Unix epoch time. class Slice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # ClipManifest identifies a source manifest for the generated clip manifest. # @!attribute [rw] manifest_key # @return [::String] # Required. A unique key that identifies a manifest config in the parent # channel. This key is the same as `channel.manifests.key` for the selected # manifest. # @!attribute [r] output_uri # @return [::String] # Output only. The output URI of the generated clip manifest. This field # will be populated when the CreateClip request is accepted. Current output # format is provided below but may change in the future. Please read this # field to get the uri to the generated clip manifest. Format: # \\{clip.output_uri}/\\{channel.manifest.fileName} Example: # gs://my-bucket/clip-outputs/main.m3u8 class ClipManifest 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 # State of clipping operation. module State # State is not specified. STATE_UNSPECIFIED = 0 # The operation is pending to be picked up by the server. PENDING = 1 # The server admitted this create clip request, and # outputs are under processing. CREATING = 2 # Outputs are available in the specified Cloud Storage bucket. For # additional information, see the `outputs` field. SUCCEEDED = 3 # The operation has failed. For additional information, see the `error` # field. FAILED = 4 end # OutputType represents the output type of the clip. module OutputType # OutputType is not specified. OUTPUT_TYPE_UNSPECIFIED = 0 # OutputType is a VOD manifest. This is the default value. MANIFEST = 1 # OutputType is an MP4 file. MP4 = 2 end end |
#start_time ⇒ ::Google::Protobuf::Timestamp (readonly)
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 802 class Clip include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # TimeSlice represents a tuple of Unix epoch timestamps that specifies a time # range. # @!attribute [rw] markin_time # @return [::Google::Protobuf::Timestamp] # The mark-in Unix epoch time in the original live stream manifest. # @!attribute [rw] markout_time # @return [::Google::Protobuf::Timestamp] # The mark-out Unix epoch time in the original live stream manifest. class TimeSlice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Slice represents a slice of the requested clip. # @!attribute [rw] time_slice # @return [::Google::Cloud::Video::LiveStream::V1::Clip::TimeSlice] # A slice in form of a tuple of Unix epoch time. class Slice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # ClipManifest identifies a source manifest for the generated clip manifest. # @!attribute [rw] manifest_key # @return [::String] # Required. A unique key that identifies a manifest config in the parent # channel. This key is the same as `channel.manifests.key` for the selected # manifest. # @!attribute [r] output_uri # @return [::String] # Output only. The output URI of the generated clip manifest. This field # will be populated when the CreateClip request is accepted. Current output # format is provided below but may change in the future. Please read this # field to get the uri to the generated clip manifest. Format: # \\{clip.output_uri}/\\{channel.manifest.fileName} Example: # gs://my-bucket/clip-outputs/main.m3u8 class ClipManifest 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 # State of clipping operation. module State # State is not specified. STATE_UNSPECIFIED = 0 # The operation is pending to be picked up by the server. PENDING = 1 # The server admitted this create clip request, and # outputs are under processing. CREATING = 2 # Outputs are available in the specified Cloud Storage bucket. For # additional information, see the `outputs` field. SUCCEEDED = 3 # The operation has failed. For additional information, see the `error` # field. FAILED = 4 end # OutputType represents the output type of the clip. module OutputType # OutputType is not specified. OUTPUT_TYPE_UNSPECIFIED = 0 # OutputType is a VOD manifest. This is the default value. MANIFEST = 1 # OutputType is an MP4 file. MP4 = 2 end end |
#state ⇒ ::Google::Cloud::Video::LiveStream::V1::Clip::State (readonly)
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 802 class Clip include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # TimeSlice represents a tuple of Unix epoch timestamps that specifies a time # range. # @!attribute [rw] markin_time # @return [::Google::Protobuf::Timestamp] # The mark-in Unix epoch time in the original live stream manifest. # @!attribute [rw] markout_time # @return [::Google::Protobuf::Timestamp] # The mark-out Unix epoch time in the original live stream manifest. class TimeSlice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Slice represents a slice of the requested clip. # @!attribute [rw] time_slice # @return [::Google::Cloud::Video::LiveStream::V1::Clip::TimeSlice] # A slice in form of a tuple of Unix epoch time. class Slice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # ClipManifest identifies a source manifest for the generated clip manifest. # @!attribute [rw] manifest_key # @return [::String] # Required. A unique key that identifies a manifest config in the parent # channel. This key is the same as `channel.manifests.key` for the selected # manifest. # @!attribute [r] output_uri # @return [::String] # Output only. The output URI of the generated clip manifest. This field # will be populated when the CreateClip request is accepted. Current output # format is provided below but may change in the future. Please read this # field to get the uri to the generated clip manifest. Format: # \\{clip.output_uri}/\\{channel.manifest.fileName} Example: # gs://my-bucket/clip-outputs/main.m3u8 class ClipManifest 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 # State of clipping operation. module State # State is not specified. STATE_UNSPECIFIED = 0 # The operation is pending to be picked up by the server. PENDING = 1 # The server admitted this create clip request, and # outputs are under processing. CREATING = 2 # Outputs are available in the specified Cloud Storage bucket. For # additional information, see the `outputs` field. SUCCEEDED = 3 # The operation has failed. For additional information, see the `error` # field. FAILED = 4 end # OutputType represents the output type of the clip. module OutputType # OutputType is not specified. OUTPUT_TYPE_UNSPECIFIED = 0 # OutputType is a VOD manifest. This is the default value. MANIFEST = 1 # OutputType is an MP4 file. MP4 = 2 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 802 class Clip include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # TimeSlice represents a tuple of Unix epoch timestamps that specifies a time # range. # @!attribute [rw] markin_time # @return [::Google::Protobuf::Timestamp] # The mark-in Unix epoch time in the original live stream manifest. # @!attribute [rw] markout_time # @return [::Google::Protobuf::Timestamp] # The mark-out Unix epoch time in the original live stream manifest. class TimeSlice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Slice represents a slice of the requested clip. # @!attribute [rw] time_slice # @return [::Google::Cloud::Video::LiveStream::V1::Clip::TimeSlice] # A slice in form of a tuple of Unix epoch time. class Slice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # ClipManifest identifies a source manifest for the generated clip manifest. # @!attribute [rw] manifest_key # @return [::String] # Required. A unique key that identifies a manifest config in the parent # channel. This key is the same as `channel.manifests.key` for the selected # manifest. # @!attribute [r] output_uri # @return [::String] # Output only. The output URI of the generated clip manifest. This field # will be populated when the CreateClip request is accepted. Current output # format is provided below but may change in the future. Please read this # field to get the uri to the generated clip manifest. Format: # \\{clip.output_uri}/\\{channel.manifest.fileName} Example: # gs://my-bucket/clip-outputs/main.m3u8 class ClipManifest 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 # State of clipping operation. module State # State is not specified. STATE_UNSPECIFIED = 0 # The operation is pending to be picked up by the server. PENDING = 1 # The server admitted this create clip request, and # outputs are under processing. CREATING = 2 # Outputs are available in the specified Cloud Storage bucket. For # additional information, see the `outputs` field. SUCCEEDED = 3 # The operation has failed. For additional information, see the `error` # field. FAILED = 4 end # OutputType represents the output type of the clip. module OutputType # OutputType is not specified. OUTPUT_TYPE_UNSPECIFIED = 0 # OutputType is a VOD manifest. This is the default value. MANIFEST = 1 # OutputType is an MP4 file. MP4 = 2 end end |