Class: Google::Cloud::Video::LiveStream::V1::DvrSession

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/video/livestream/v1/resources.rb

Overview

DvrSession is a sub-resource under channel. Each DvrSession represents a DVR recording of the live stream for a specific time range.

Defined Under Namespace

Modules: State Classes: DvrManifest, DvrWindow, LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The creation time.

Returns:



936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 936

class DvrSession
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # DvrManifest identifies a source manifest and specifies a file name for the
  # generated DVR 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 DVR manifest. The DVR output will be
  #     placed in a directory named `dvr/dvrSessionId/` under the parent
  #     channel's output uri. Format:
  #     \\{channel.output.uri}/dvr/\\{dvrSessionId}/\\{channel.manifests.fileName}
  #     Example: gs://my-bucket/outputs/dvr/my-dvr-session/main.m3u8
  class DvrManifest
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # DvrWindow represents a DVR window.
  # @!attribute [rw] time_interval
  #   @return [::Google::Cloud::Video::LiveStream::V1::TimeInterval]
  #     A time interval in the form of a tuple of Unix epoch time.
  class DvrWindow
    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 DVR session.
  module State
    # State is not specified.
    STATE_UNSPECIFIED = 0

    # The operation is pending to be picked up by the server.
    PENDING = 1

    # The session is being updated.
    UPDATING = 2

    # The session is scheduled and waiting for the start time.
    SCHEDULED = 3

    # The session is currently in progress and the outputs are available in the
    # specified Cloud Storage bucket. For additional information, see the
    # `dvr_manifests.output_uri` field.
    LIVE = 4

    # Outputs are available in the specified Cloud Storage bucket. For
    # additional information, see the `dvr_manifests.output_uri` field.
    FINISHED = 5

    # The operation has failed. For additional information, see the `error`
    # field.
    FAILED = 6

    # The session is being deleted.
    DELETING = 7

    # The session is being post processed.
    POST_PROCESSING = 8

    # The session is in cooldown. The cooldown period lasts for 60 seconds.
    # When the DVR session is updated by the user to have a new end time that
    # is likely already in the past, the DVR manifest will end as soon as
    # possible and the DVR session will move to this state. This is done to
    # prevent the players to receive a manifest update that removes a segment
    # that has already been played. After the cooldown period ends, a new
    # manifest is generated that honors the new end time.
    COOLDOWN = 9

    # The session is being stopped. The session will move to STOPPING state, if
    # the parent channel is updated.
    STOPPING = 10
  end
end

#dvr_manifests::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrManifest>

Returns Required. A list of DVR manifests. Currently only one DVR manifest is allowed.

Returns:



936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 936

class DvrSession
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # DvrManifest identifies a source manifest and specifies a file name for the
  # generated DVR 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 DVR manifest. The DVR output will be
  #     placed in a directory named `dvr/dvrSessionId/` under the parent
  #     channel's output uri. Format:
  #     \\{channel.output.uri}/dvr/\\{dvrSessionId}/\\{channel.manifests.fileName}
  #     Example: gs://my-bucket/outputs/dvr/my-dvr-session/main.m3u8
  class DvrManifest
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # DvrWindow represents a DVR window.
  # @!attribute [rw] time_interval
  #   @return [::Google::Cloud::Video::LiveStream::V1::TimeInterval]
  #     A time interval in the form of a tuple of Unix epoch time.
  class DvrWindow
    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 DVR session.
  module State
    # State is not specified.
    STATE_UNSPECIFIED = 0

    # The operation is pending to be picked up by the server.
    PENDING = 1

    # The session is being updated.
    UPDATING = 2

    # The session is scheduled and waiting for the start time.
    SCHEDULED = 3

    # The session is currently in progress and the outputs are available in the
    # specified Cloud Storage bucket. For additional information, see the
    # `dvr_manifests.output_uri` field.
    LIVE = 4

    # Outputs are available in the specified Cloud Storage bucket. For
    # additional information, see the `dvr_manifests.output_uri` field.
    FINISHED = 5

    # The operation has failed. For additional information, see the `error`
    # field.
    FAILED = 6

    # The session is being deleted.
    DELETING = 7

    # The session is being post processed.
    POST_PROCESSING = 8

    # The session is in cooldown. The cooldown period lasts for 60 seconds.
    # When the DVR session is updated by the user to have a new end time that
    # is likely already in the past, the DVR manifest will end as soon as
    # possible and the DVR session will move to this state. This is done to
    # prevent the players to receive a manifest update that removes a segment
    # that has already been played. After the cooldown period ends, a new
    # manifest is generated that honors the new end time.
    COOLDOWN = 9

    # The session is being stopped. The session will move to STOPPING state, if
    # the parent channel is updated.
    STOPPING = 10
  end
end

#dvr_windows::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrWindow>

Returns Required. The specified ranges of segments to generate a DVR recording.

Returns:



936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 936

class DvrSession
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # DvrManifest identifies a source manifest and specifies a file name for the
  # generated DVR 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 DVR manifest. The DVR output will be
  #     placed in a directory named `dvr/dvrSessionId/` under the parent
  #     channel's output uri. Format:
  #     \\{channel.output.uri}/dvr/\\{dvrSessionId}/\\{channel.manifests.fileName}
  #     Example: gs://my-bucket/outputs/dvr/my-dvr-session/main.m3u8
  class DvrManifest
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # DvrWindow represents a DVR window.
  # @!attribute [rw] time_interval
  #   @return [::Google::Cloud::Video::LiveStream::V1::TimeInterval]
  #     A time interval in the form of a tuple of Unix epoch time.
  class DvrWindow
    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 DVR session.
  module State
    # State is not specified.
    STATE_UNSPECIFIED = 0

    # The operation is pending to be picked up by the server.
    PENDING = 1

    # The session is being updated.
    UPDATING = 2

    # The session is scheduled and waiting for the start time.
    SCHEDULED = 3

    # The session is currently in progress and the outputs are available in the
    # specified Cloud Storage bucket. For additional information, see the
    # `dvr_manifests.output_uri` field.
    LIVE = 4

    # Outputs are available in the specified Cloud Storage bucket. For
    # additional information, see the `dvr_manifests.output_uri` field.
    FINISHED = 5

    # The operation has failed. For additional information, see the `error`
    # field.
    FAILED = 6

    # The session is being deleted.
    DELETING = 7

    # The session is being post processed.
    POST_PROCESSING = 8

    # The session is in cooldown. The cooldown period lasts for 60 seconds.
    # When the DVR session is updated by the user to have a new end time that
    # is likely already in the past, the DVR manifest will end as soon as
    # possible and the DVR session will move to this state. This is done to
    # prevent the players to receive a manifest update that removes a segment
    # that has already been played. After the cooldown period ends, a new
    # manifest is generated that honors the new end time.
    COOLDOWN = 9

    # The session is being stopped. The session will move to STOPPING state, if
    # the parent channel is updated.
    STOPPING = 10
  end
end

#error::Google::Rpc::Status (readonly)

Returns Output only. An error object that describes the reason for the failure. This property only presents when state is FAILED.

Returns:

  • (::Google::Rpc::Status)

    Output only. An error object that describes the reason for the failure. This property only presents when state is FAILED.



936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 936

class DvrSession
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # DvrManifest identifies a source manifest and specifies a file name for the
  # generated DVR 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 DVR manifest. The DVR output will be
  #     placed in a directory named `dvr/dvrSessionId/` under the parent
  #     channel's output uri. Format:
  #     \\{channel.output.uri}/dvr/\\{dvrSessionId}/\\{channel.manifests.fileName}
  #     Example: gs://my-bucket/outputs/dvr/my-dvr-session/main.m3u8
  class DvrManifest
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # DvrWindow represents a DVR window.
  # @!attribute [rw] time_interval
  #   @return [::Google::Cloud::Video::LiveStream::V1::TimeInterval]
  #     A time interval in the form of a tuple of Unix epoch time.
  class DvrWindow
    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 DVR session.
  module State
    # State is not specified.
    STATE_UNSPECIFIED = 0

    # The operation is pending to be picked up by the server.
    PENDING = 1

    # The session is being updated.
    UPDATING = 2

    # The session is scheduled and waiting for the start time.
    SCHEDULED = 3

    # The session is currently in progress and the outputs are available in the
    # specified Cloud Storage bucket. For additional information, see the
    # `dvr_manifests.output_uri` field.
    LIVE = 4

    # Outputs are available in the specified Cloud Storage bucket. For
    # additional information, see the `dvr_manifests.output_uri` field.
    FINISHED = 5

    # The operation has failed. For additional information, see the `error`
    # field.
    FAILED = 6

    # The session is being deleted.
    DELETING = 7

    # The session is being post processed.
    POST_PROCESSING = 8

    # The session is in cooldown. The cooldown period lasts for 60 seconds.
    # When the DVR session is updated by the user to have a new end time that
    # is likely already in the past, the DVR manifest will end as soon as
    # possible and the DVR session will move to this state. This is done to
    # prevent the players to receive a manifest update that removes a segment
    # that has already been played. After the cooldown period ends, a new
    # manifest is generated that honors the new end time.
    COOLDOWN = 9

    # The session is being stopped. The session will move to STOPPING state, if
    # the parent channel is updated.
    STOPPING = 10
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Optional. User-defined key/value metadata.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Optional. User-defined key/value metadata.



936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 936

class DvrSession
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # DvrManifest identifies a source manifest and specifies a file name for the
  # generated DVR 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 DVR manifest. The DVR output will be
  #     placed in a directory named `dvr/dvrSessionId/` under the parent
  #     channel's output uri. Format:
  #     \\{channel.output.uri}/dvr/\\{dvrSessionId}/\\{channel.manifests.fileName}
  #     Example: gs://my-bucket/outputs/dvr/my-dvr-session/main.m3u8
  class DvrManifest
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # DvrWindow represents a DVR window.
  # @!attribute [rw] time_interval
  #   @return [::Google::Cloud::Video::LiveStream::V1::TimeInterval]
  #     A time interval in the form of a tuple of Unix epoch time.
  class DvrWindow
    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 DVR session.
  module State
    # State is not specified.
    STATE_UNSPECIFIED = 0

    # The operation is pending to be picked up by the server.
    PENDING = 1

    # The session is being updated.
    UPDATING = 2

    # The session is scheduled and waiting for the start time.
    SCHEDULED = 3

    # The session is currently in progress and the outputs are available in the
    # specified Cloud Storage bucket. For additional information, see the
    # `dvr_manifests.output_uri` field.
    LIVE = 4

    # Outputs are available in the specified Cloud Storage bucket. For
    # additional information, see the `dvr_manifests.output_uri` field.
    FINISHED = 5

    # The operation has failed. For additional information, see the `error`
    # field.
    FAILED = 6

    # The session is being deleted.
    DELETING = 7

    # The session is being post processed.
    POST_PROCESSING = 8

    # The session is in cooldown. The cooldown period lasts for 60 seconds.
    # When the DVR session is updated by the user to have a new end time that
    # is likely already in the past, the DVR manifest will end as soon as
    # possible and the DVR session will move to this state. This is done to
    # prevent the players to receive a manifest update that removes a segment
    # that has already been played. After the cooldown period ends, a new
    # manifest is generated that honors the new end time.
    COOLDOWN = 9

    # The session is being stopped. The session will move to STOPPING state, if
    # the parent channel is updated.
    STOPPING = 10
  end
end

#name::String

Returns Identifier. The resource name of the DVR session, in the following format: projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}. {dvrSessionId} is a user-specified resource id that conforms to the following criteria:

  1. 1 character minimum, 63 characters maximum
  2. Only contains letters, digits, underscores, and hyphens.

Returns:

  • (::String)

    Identifier. The resource name of the DVR session, in the following format: projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}. {dvrSessionId} is a user-specified resource id that conforms to the following criteria:

    1. 1 character minimum, 63 characters maximum
    2. Only contains letters, digits, underscores, and hyphens


936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 936

class DvrSession
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # DvrManifest identifies a source manifest and specifies a file name for the
  # generated DVR 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 DVR manifest. The DVR output will be
  #     placed in a directory named `dvr/dvrSessionId/` under the parent
  #     channel's output uri. Format:
  #     \\{channel.output.uri}/dvr/\\{dvrSessionId}/\\{channel.manifests.fileName}
  #     Example: gs://my-bucket/outputs/dvr/my-dvr-session/main.m3u8
  class DvrManifest
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # DvrWindow represents a DVR window.
  # @!attribute [rw] time_interval
  #   @return [::Google::Cloud::Video::LiveStream::V1::TimeInterval]
  #     A time interval in the form of a tuple of Unix epoch time.
  class DvrWindow
    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 DVR session.
  module State
    # State is not specified.
    STATE_UNSPECIFIED = 0

    # The operation is pending to be picked up by the server.
    PENDING = 1

    # The session is being updated.
    UPDATING = 2

    # The session is scheduled and waiting for the start time.
    SCHEDULED = 3

    # The session is currently in progress and the outputs are available in the
    # specified Cloud Storage bucket. For additional information, see the
    # `dvr_manifests.output_uri` field.
    LIVE = 4

    # Outputs are available in the specified Cloud Storage bucket. For
    # additional information, see the `dvr_manifests.output_uri` field.
    FINISHED = 5

    # The operation has failed. For additional information, see the `error`
    # field.
    FAILED = 6

    # The session is being deleted.
    DELETING = 7

    # The session is being post processed.
    POST_PROCESSING = 8

    # The session is in cooldown. The cooldown period lasts for 60 seconds.
    # When the DVR session is updated by the user to have a new end time that
    # is likely already in the past, the DVR manifest will end as soon as
    # possible and the DVR session will move to this state. This is done to
    # prevent the players to receive a manifest update that removes a segment
    # that has already been played. After the cooldown period ends, a new
    # manifest is generated that honors the new end time.
    COOLDOWN = 9

    # The session is being stopped. The session will move to STOPPING state, if
    # the parent channel is updated.
    STOPPING = 10
  end
end

#state::Google::Cloud::Video::LiveStream::V1::DvrSession::State (readonly)

Returns Output only. The state of the clip.

Returns:



936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 936

class DvrSession
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # DvrManifest identifies a source manifest and specifies a file name for the
  # generated DVR 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 DVR manifest. The DVR output will be
  #     placed in a directory named `dvr/dvrSessionId/` under the parent
  #     channel's output uri. Format:
  #     \\{channel.output.uri}/dvr/\\{dvrSessionId}/\\{channel.manifests.fileName}
  #     Example: gs://my-bucket/outputs/dvr/my-dvr-session/main.m3u8
  class DvrManifest
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # DvrWindow represents a DVR window.
  # @!attribute [rw] time_interval
  #   @return [::Google::Cloud::Video::LiveStream::V1::TimeInterval]
  #     A time interval in the form of a tuple of Unix epoch time.
  class DvrWindow
    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 DVR session.
  module State
    # State is not specified.
    STATE_UNSPECIFIED = 0

    # The operation is pending to be picked up by the server.
    PENDING = 1

    # The session is being updated.
    UPDATING = 2

    # The session is scheduled and waiting for the start time.
    SCHEDULED = 3

    # The session is currently in progress and the outputs are available in the
    # specified Cloud Storage bucket. For additional information, see the
    # `dvr_manifests.output_uri` field.
    LIVE = 4

    # Outputs are available in the specified Cloud Storage bucket. For
    # additional information, see the `dvr_manifests.output_uri` field.
    FINISHED = 5

    # The operation has failed. For additional information, see the `error`
    # field.
    FAILED = 6

    # The session is being deleted.
    DELETING = 7

    # The session is being post processed.
    POST_PROCESSING = 8

    # The session is in cooldown. The cooldown period lasts for 60 seconds.
    # When the DVR session is updated by the user to have a new end time that
    # is likely already in the past, the DVR manifest will end as soon as
    # possible and the DVR session will move to this state. This is done to
    # prevent the players to receive a manifest update that removes a segment
    # that has already been played. After the cooldown period ends, a new
    # manifest is generated that honors the new end time.
    COOLDOWN = 9

    # The session is being stopped. The session will move to STOPPING state, if
    # the parent channel is updated.
    STOPPING = 10
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The update time.

Returns:



936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 936

class DvrSession
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # DvrManifest identifies a source manifest and specifies a file name for the
  # generated DVR 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 DVR manifest. The DVR output will be
  #     placed in a directory named `dvr/dvrSessionId/` under the parent
  #     channel's output uri. Format:
  #     \\{channel.output.uri}/dvr/\\{dvrSessionId}/\\{channel.manifests.fileName}
  #     Example: gs://my-bucket/outputs/dvr/my-dvr-session/main.m3u8
  class DvrManifest
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # DvrWindow represents a DVR window.
  # @!attribute [rw] time_interval
  #   @return [::Google::Cloud::Video::LiveStream::V1::TimeInterval]
  #     A time interval in the form of a tuple of Unix epoch time.
  class DvrWindow
    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 DVR session.
  module State
    # State is not specified.
    STATE_UNSPECIFIED = 0

    # The operation is pending to be picked up by the server.
    PENDING = 1

    # The session is being updated.
    UPDATING = 2

    # The session is scheduled and waiting for the start time.
    SCHEDULED = 3

    # The session is currently in progress and the outputs are available in the
    # specified Cloud Storage bucket. For additional information, see the
    # `dvr_manifests.output_uri` field.
    LIVE = 4

    # Outputs are available in the specified Cloud Storage bucket. For
    # additional information, see the `dvr_manifests.output_uri` field.
    FINISHED = 5

    # The operation has failed. For additional information, see the `error`
    # field.
    FAILED = 6

    # The session is being deleted.
    DELETING = 7

    # The session is being post processed.
    POST_PROCESSING = 8

    # The session is in cooldown. The cooldown period lasts for 60 seconds.
    # When the DVR session is updated by the user to have a new end time that
    # is likely already in the past, the DVR manifest will end as soon as
    # possible and the DVR session will move to this state. This is done to
    # prevent the players to receive a manifest update that removes a segment
    # that has already been played. After the cooldown period ends, a new
    # manifest is generated that honors the new end time.
    COOLDOWN = 9

    # The session is being stopped. The session will move to STOPPING state, if
    # the parent channel is updated.
    STOPPING = 10
  end
end