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:



1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 1068

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:



1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 1068

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.



1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 1068

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:



1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 1068

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:



1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 1068

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:



1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 1068

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