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:



1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 1149

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]
  #     Optional. Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Fairplay]
  #     Optional. Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Playready]
  #     Optional. Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Clearkey]
  #     Optional. 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:



1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 1149

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]
  #     Optional. Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Fairplay]
  #     Optional. Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Playready]
  #     Optional. Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Clearkey]
  #     Optional. 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.



1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 1149

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]
  #     Optional. Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Fairplay]
  #     Optional. Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Playready]
  #     Optional. Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Clearkey]
  #     Optional. 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:



1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 1149

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]
  #     Optional. Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Fairplay]
  #     Optional. Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Playready]
  #     Optional. Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Clearkey]
  #     Optional. 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:



1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 1149

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]
  #     Optional. Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Fairplay]
  #     Optional. Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Playready]
  #     Optional. Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Clearkey]
  #     Optional. 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:



1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 1149

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]
  #     Optional. Widevine configuration.
  # @!attribute [rw] fairplay
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Fairplay]
  #     Optional. Fairplay configuration.
  # @!attribute [rw] playready
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Playready]
  #     Optional. Playready configuration.
  # @!attribute [rw] clearkey
  #   @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Clearkey]
  #     Optional. 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