Class: Google::Cloud::Video::LiveStream::V1::Encryption

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

Encryption settings.

Defined Under Namespace

Classes: Aes128Encryption, Clearkey, DrmSystems, Fairplay, MpegCommonEncryption, Playready, SampleAesEncryption, SecretManagerSource, Widevine

Instance Attribute Summary collapse

Instance Attribute Details

#aes128::Google::Cloud::Video::LiveStream::V1::Encryption::Aes128Encryption

Returns Configuration for HLS AES-128 encryption.

Note: The following fields are mutually exclusive: aes128, sample_aes, mpeg_cenc. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
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
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 917

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

  # Configuration for secrets stored in Google Secret Manager.
  # @!attribute [rw] secret_version
  #   @return [::String]
  #     Required. The name of the Secret Version containing the encryption key.
  #     `projects/{project}/secrets/{secret_id}/versions/{version_number}`
  class SecretManagerSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Widevine configuration.
  class Widevine
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Fairplay configuration.
  class Fairplay
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Playready configuration.
  class Playready
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Clearkey configuration.
  class Clearkey
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Defines configuration for DRM systems in use. If a field is omitted,
  # that DRM system will be considered to be disabled.
  # @!attribute [rw] widevine
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Widevine]
  #     Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Fairplay]
  #     Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Playready]
  #     Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Clearkey]
  #     Clearkey configuration.
  class DrmSystems
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for HLS AES-128 encryption.
  class Aes128Encryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for HLS SAMPLE-AES encryption.
  class SampleAesEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for MPEG-Dash Common Encryption (MPEG-CENC).
  # @!attribute [rw] scheme
  #   @return [::String]
  #     Required. Specify the encryption scheme, supported schemes:
  #     - `cenc` - AES-CTR subsample
  #     - `cbcs`- AES-CBC subsample pattern
  class MpegCommonEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#drm_systems::Google::Cloud::Video::LiveStream::V1::Encryption::DrmSystems

Returns Required. Configuration for DRM systems.

Returns:



917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
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
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 917

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

  # Configuration for secrets stored in Google Secret Manager.
  # @!attribute [rw] secret_version
  #   @return [::String]
  #     Required. The name of the Secret Version containing the encryption key.
  #     `projects/{project}/secrets/{secret_id}/versions/{version_number}`
  class SecretManagerSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Widevine configuration.
  class Widevine
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Fairplay configuration.
  class Fairplay
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Playready configuration.
  class Playready
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Clearkey configuration.
  class Clearkey
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Defines configuration for DRM systems in use. If a field is omitted,
  # that DRM system will be considered to be disabled.
  # @!attribute [rw] widevine
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Widevine]
  #     Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Fairplay]
  #     Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Playready]
  #     Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Clearkey]
  #     Clearkey configuration.
  class DrmSystems
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for HLS AES-128 encryption.
  class Aes128Encryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for HLS SAMPLE-AES encryption.
  class SampleAesEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for MPEG-Dash Common Encryption (MPEG-CENC).
  # @!attribute [rw] scheme
  #   @return [::String]
  #     Required. Specify the encryption scheme, supported schemes:
  #     - `cenc` - AES-CTR subsample
  #     - `cbcs`- AES-CBC subsample pattern
  class MpegCommonEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#id::String

Returns Required. Identifier for this set of encryption options. The ID must be 1-63 characters in length. The ID must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.

Returns:

  • (::String)

    Required. Identifier for this set of encryption options. The ID must be 1-63 characters in length. The ID must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.



917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
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
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 917

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

  # Configuration for secrets stored in Google Secret Manager.
  # @!attribute [rw] secret_version
  #   @return [::String]
  #     Required. The name of the Secret Version containing the encryption key.
  #     `projects/{project}/secrets/{secret_id}/versions/{version_number}`
  class SecretManagerSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Widevine configuration.
  class Widevine
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Fairplay configuration.
  class Fairplay
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Playready configuration.
  class Playready
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Clearkey configuration.
  class Clearkey
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Defines configuration for DRM systems in use. If a field is omitted,
  # that DRM system will be considered to be disabled.
  # @!attribute [rw] widevine
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Widevine]
  #     Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Fairplay]
  #     Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Playready]
  #     Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Clearkey]
  #     Clearkey configuration.
  class DrmSystems
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for HLS AES-128 encryption.
  class Aes128Encryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for HLS SAMPLE-AES encryption.
  class SampleAesEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for MPEG-Dash Common Encryption (MPEG-CENC).
  # @!attribute [rw] scheme
  #   @return [::String]
  #     Required. Specify the encryption scheme, supported schemes:
  #     - `cenc` - AES-CTR subsample
  #     - `cbcs`- AES-CBC subsample pattern
  class MpegCommonEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#mpeg_cenc::Google::Cloud::Video::LiveStream::V1::Encryption::MpegCommonEncryption

Returns Configuration for MPEG-Dash Common Encryption (MPEG-CENC).

Note: The following fields are mutually exclusive: mpeg_cenc, aes128, sample_aes. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
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
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 917

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

  # Configuration for secrets stored in Google Secret Manager.
  # @!attribute [rw] secret_version
  #   @return [::String]
  #     Required. The name of the Secret Version containing the encryption key.
  #     `projects/{project}/secrets/{secret_id}/versions/{version_number}`
  class SecretManagerSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Widevine configuration.
  class Widevine
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Fairplay configuration.
  class Fairplay
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Playready configuration.
  class Playready
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Clearkey configuration.
  class Clearkey
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Defines configuration for DRM systems in use. If a field is omitted,
  # that DRM system will be considered to be disabled.
  # @!attribute [rw] widevine
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Widevine]
  #     Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Fairplay]
  #     Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Playready]
  #     Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Clearkey]
  #     Clearkey configuration.
  class DrmSystems
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for HLS AES-128 encryption.
  class Aes128Encryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for HLS SAMPLE-AES encryption.
  class SampleAesEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for MPEG-Dash Common Encryption (MPEG-CENC).
  # @!attribute [rw] scheme
  #   @return [::String]
  #     Required. Specify the encryption scheme, supported schemes:
  #     - `cenc` - AES-CTR subsample
  #     - `cbcs`- AES-CBC subsample pattern
  class MpegCommonEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#sample_aes::Google::Cloud::Video::LiveStream::V1::Encryption::SampleAesEncryption

Returns Configuration for HLS SAMPLE-AES encryption.

Note: The following fields are mutually exclusive: sample_aes, aes128, mpeg_cenc. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
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
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 917

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

  # Configuration for secrets stored in Google Secret Manager.
  # @!attribute [rw] secret_version
  #   @return [::String]
  #     Required. The name of the Secret Version containing the encryption key.
  #     `projects/{project}/secrets/{secret_id}/versions/{version_number}`
  class SecretManagerSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Widevine configuration.
  class Widevine
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Fairplay configuration.
  class Fairplay
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Playready configuration.
  class Playready
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Clearkey configuration.
  class Clearkey
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Defines configuration for DRM systems in use. If a field is omitted,
  # that DRM system will be considered to be disabled.
  # @!attribute [rw] widevine
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Widevine]
  #     Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Fairplay]
  #     Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Playready]
  #     Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Clearkey]
  #     Clearkey configuration.
  class DrmSystems
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for HLS AES-128 encryption.
  class Aes128Encryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for HLS SAMPLE-AES encryption.
  class SampleAesEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for MPEG-Dash Common Encryption (MPEG-CENC).
  # @!attribute [rw] scheme
  #   @return [::String]
  #     Required. Specify the encryption scheme, supported schemes:
  #     - `cenc` - AES-CTR subsample
  #     - `cbcs`- AES-CBC subsample pattern
  class MpegCommonEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#secret_manager_key_source::Google::Cloud::Video::LiveStream::V1::Encryption::SecretManagerSource

Returns For keys stored in Google Secret Manager.

Returns:



917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
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
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 917

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

  # Configuration for secrets stored in Google Secret Manager.
  # @!attribute [rw] secret_version
  #   @return [::String]
  #     Required. The name of the Secret Version containing the encryption key.
  #     `projects/{project}/secrets/{secret_id}/versions/{version_number}`
  class SecretManagerSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Widevine configuration.
  class Widevine
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Fairplay configuration.
  class Fairplay
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Playready configuration.
  class Playready
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Clearkey configuration.
  class Clearkey
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Defines configuration for DRM systems in use. If a field is omitted,
  # that DRM system will be considered to be disabled.
  # @!attribute [rw] widevine
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Widevine]
  #     Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Fairplay]
  #     Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Playready]
  #     Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Clearkey]
  #     Clearkey configuration.
  class DrmSystems
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for HLS AES-128 encryption.
  class Aes128Encryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for HLS SAMPLE-AES encryption.
  class SampleAesEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for MPEG-Dash Common Encryption (MPEG-CENC).
  # @!attribute [rw] scheme
  #   @return [::String]
  #     Required. Specify the encryption scheme, supported schemes:
  #     - `cenc` - AES-CTR subsample
  #     - `cbcs`- AES-CBC subsample pattern
  class MpegCommonEncryption
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end