Class: Google::Cloud::Video::LiveStream::V1::Asset
- Inherits:
-
Object
- Object
- Google::Cloud::Video::LiveStream::V1::Asset
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/livestream/v1/resources.rb
Overview
An asset represents a video or an image.
Defined Under Namespace
Modules: State Classes: ImageAsset, LabelsEntry, VideoAsset
Instance Attribute Summary collapse
-
#crc32c ⇒ ::String
Based64-encoded CRC32c checksum of the asset file.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#error ⇒ ::Google::Rpc::Status
readonly
Output only.
-
#image ⇒ ::Google::Cloud::Video::LiveStream::V1::Asset::ImageAsset
ImageAsset represents an image.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
User-defined key/value metadata.
-
#name ⇒ ::String
The resource name of the asset, in the form of:
projects/{project}/locations/{location}/assets/{assetId}. -
#state ⇒ ::Google::Cloud::Video::LiveStream::V1::Asset::State
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#video ⇒ ::Google::Cloud::Video::LiveStream::V1::Asset::VideoAsset
VideoAsset represents a video.
Instance Attribute Details
#crc32c ⇒ ::String
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 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 837 class Asset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VideoAsset represents a video. The supported formats are MP4, MPEG-TS, and # FLV. The supported video codec is H264. The supported audio codecs are # AAC, AC3, MP2, and MP3. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the video. The format is `gs://my-bucket/my-object`. class VideoAsset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Image represents an image. The supported formats are JPEG, PNG. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the image. The format is `gs://my-bucket/my-object`. class ImageAsset 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 the asset resource. module State # State is not specified. STATE_UNSPECIFIED = 0 # The asset is being created. CREATING = 1 # The asset is ready for use. ACTIVE = 2 # The asset is being deleted. DELETING = 3 # The asset has an error. ERROR = 4 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
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 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 837 class Asset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VideoAsset represents a video. The supported formats are MP4, MPEG-TS, and # FLV. The supported video codec is H264. The supported audio codecs are # AAC, AC3, MP2, and MP3. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the video. The format is `gs://my-bucket/my-object`. class VideoAsset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Image represents an image. The supported formats are JPEG, PNG. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the image. The format is `gs://my-bucket/my-object`. class ImageAsset 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 the asset resource. module State # State is not specified. STATE_UNSPECIFIED = 0 # The asset is being created. CREATING = 1 # The asset is ready for use. ACTIVE = 2 # The asset is being deleted. DELETING = 3 # The asset has an error. ERROR = 4 end end |
#error ⇒ ::Google::Rpc::Status (readonly)
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 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 837 class Asset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VideoAsset represents a video. The supported formats are MP4, MPEG-TS, and # FLV. The supported video codec is H264. The supported audio codecs are # AAC, AC3, MP2, and MP3. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the video. The format is `gs://my-bucket/my-object`. class VideoAsset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Image represents an image. The supported formats are JPEG, PNG. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the image. The format is `gs://my-bucket/my-object`. class ImageAsset 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 the asset resource. module State # State is not specified. STATE_UNSPECIFIED = 0 # The asset is being created. CREATING = 1 # The asset is ready for use. ACTIVE = 2 # The asset is being deleted. DELETING = 3 # The asset has an error. ERROR = 4 end end |
#image ⇒ ::Google::Cloud::Video::LiveStream::V1::Asset::ImageAsset
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 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 837 class Asset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VideoAsset represents a video. The supported formats are MP4, MPEG-TS, and # FLV. The supported video codec is H264. The supported audio codecs are # AAC, AC3, MP2, and MP3. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the video. The format is `gs://my-bucket/my-object`. class VideoAsset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Image represents an image. The supported formats are JPEG, PNG. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the image. The format is `gs://my-bucket/my-object`. class ImageAsset 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 the asset resource. module State # State is not specified. STATE_UNSPECIFIED = 0 # The asset is being created. CREATING = 1 # The asset is ready for use. ACTIVE = 2 # The asset is being deleted. DELETING = 3 # The asset has an error. ERROR = 4 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
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 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 837 class Asset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VideoAsset represents a video. The supported formats are MP4, MPEG-TS, and # FLV. The supported video codec is H264. The supported audio codecs are # AAC, AC3, MP2, and MP3. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the video. The format is `gs://my-bucket/my-object`. class VideoAsset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Image represents an image. The supported formats are JPEG, PNG. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the image. The format is `gs://my-bucket/my-object`. class ImageAsset 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 the asset resource. module State # State is not specified. STATE_UNSPECIFIED = 0 # The asset is being created. CREATING = 1 # The asset is ready for use. ACTIVE = 2 # The asset is being deleted. DELETING = 3 # The asset has an error. ERROR = 4 end end |
#name ⇒ ::String
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 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 837 class Asset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VideoAsset represents a video. The supported formats are MP4, MPEG-TS, and # FLV. The supported video codec is H264. The supported audio codecs are # AAC, AC3, MP2, and MP3. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the video. The format is `gs://my-bucket/my-object`. class VideoAsset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Image represents an image. The supported formats are JPEG, PNG. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the image. The format is `gs://my-bucket/my-object`. class ImageAsset 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 the asset resource. module State # State is not specified. STATE_UNSPECIFIED = 0 # The asset is being created. CREATING = 1 # The asset is ready for use. ACTIVE = 2 # The asset is being deleted. DELETING = 3 # The asset has an error. ERROR = 4 end end |
#state ⇒ ::Google::Cloud::Video::LiveStream::V1::Asset::State (readonly)
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 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 837 class Asset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VideoAsset represents a video. The supported formats are MP4, MPEG-TS, and # FLV. The supported video codec is H264. The supported audio codecs are # AAC, AC3, MP2, and MP3. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the video. The format is `gs://my-bucket/my-object`. class VideoAsset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Image represents an image. The supported formats are JPEG, PNG. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the image. The format is `gs://my-bucket/my-object`. class ImageAsset 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 the asset resource. module State # State is not specified. STATE_UNSPECIFIED = 0 # The asset is being created. CREATING = 1 # The asset is ready for use. ACTIVE = 2 # The asset is being deleted. DELETING = 3 # The asset has an error. ERROR = 4 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
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 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 837 class Asset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VideoAsset represents a video. The supported formats are MP4, MPEG-TS, and # FLV. The supported video codec is H264. The supported audio codecs are # AAC, AC3, MP2, and MP3. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the video. The format is `gs://my-bucket/my-object`. class VideoAsset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Image represents an image. The supported formats are JPEG, PNG. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the image. The format is `gs://my-bucket/my-object`. class ImageAsset 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 the asset resource. module State # State is not specified. STATE_UNSPECIFIED = 0 # The asset is being created. CREATING = 1 # The asset is ready for use. ACTIVE = 2 # The asset is being deleted. DELETING = 3 # The asset has an error. ERROR = 4 end end |
#video ⇒ ::Google::Cloud::Video::LiveStream::V1::Asset::VideoAsset
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 |
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 837 class Asset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VideoAsset represents a video. The supported formats are MP4, MPEG-TS, and # FLV. The supported video codec is H264. The supported audio codecs are # AAC, AC3, MP2, and MP3. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the video. The format is `gs://my-bucket/my-object`. class VideoAsset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Image represents an image. The supported formats are JPEG, PNG. # @!attribute [rw] uri # @return [::String] # Cloud Storage URI of the image. The format is `gs://my-bucket/my-object`. class ImageAsset 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 the asset resource. module State # State is not specified. STATE_UNSPECIFIED = 0 # The asset is being created. CREATING = 1 # The asset is ready for use. ACTIVE = 2 # The asset is being deleted. DELETING = 3 # The asset has an error. ERROR = 4 end end |