Show / Hide Table of Contents

Class CdnSecurityPolicy

A set of security requirements to authenticate against in order to access video content. Different locations (e.g. different CDNs) can have different security policies.

Inheritance
object
CdnSecurityPolicy
Implements
IMessage<CdnSecurityPolicy>
IEquatable<CdnSecurityPolicy>
IDeepCloneable<CdnSecurityPolicy>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CdnSecurityPolicy : IMessage<CdnSecurityPolicy>, IEquatable<CdnSecurityPolicy>, IDeepCloneable<CdnSecurityPolicy>, IBufferMessage, IMessage

Constructors

CdnSecurityPolicy()

Declaration
public CdnSecurityPolicy()

CdnSecurityPolicy(CdnSecurityPolicy)

Declaration
public CdnSecurityPolicy(CdnSecurityPolicy other)
Parameters
Type Name Description
CdnSecurityPolicy other

Properties

HasKeyset

Gets whether the "keyset" field is set

Declaration
public bool HasKeyset { get; }
Property Value
Type Description
bool

HasMediaPlaylistOriginForwardingType

Gets whether the "media_playlist_origin_forwarding_type" field is set

Declaration
public bool HasMediaPlaylistOriginForwardingType { get; }
Property Value
Type Description
bool

HasMediaPlaylistOriginPathPrefix

Gets whether the "media_playlist_origin_path_prefix" field is set

Declaration
public bool HasMediaPlaylistOriginPathPrefix { get; }
Property Value
Type Description
bool

HasOriginForwardingType

Gets whether the "origin_forwarding_type" field is set

Declaration
public bool HasOriginForwardingType { get; }
Property Value
Type Description
bool

HasOriginPathPrefix

Gets whether the "origin_path_prefix" field is set

Declaration
public bool HasOriginPathPrefix { get; }
Property Value
Type Description
bool

HasSecurityPolicyType

Gets whether the "security_policy_type" field is set

Declaration
public bool HasSecurityPolicyType { get; }
Property Value
Type Description
bool

HasServerSideUrlSigningDisabled

Gets whether the "server_side_url_signing_disabled" field is set

Declaration
public bool HasServerSideUrlSigningDisabled { get; }
Property Value
Type Description
bool

HasTokenAuthenticationKey

Gets whether the "token_authentication_key" field is set

Declaration
public bool HasTokenAuthenticationKey { get; }
Property Value
Type Description
bool

Keyset

Optional. The name of the EdgeCacheKeyset on the Media CDN config that will be used to validate signed requests from DAI to ingest content.

Declaration
public string Keyset { get; set; }
Property Value
Type Description
string

MediaPlaylistOriginForwardingType

Optional. The type of origin forwarding used to support Akamai authentication policies for media playlists. This setting can only be used with CDN configs with a cdnConfigType of CdnConfigType.LIVE_STREAM_SOURCE_CONTENT, is not applicable to ingest locations, and is only applicable to delivery media locations with the CdnSecurityPolicyType set to CdnSecurityPolicyType.AKAMAI. Valid options are CdnSecurityPolicyOriginForwarding.NONE or CdnSecurityPolicyOriginForwarding.ORIGIN_PATH. This setting can only be used with CDN configs with a cdnConfigType of CdnConfigType.LIVE_STREAM_SOURCE_CONTENT.

Declaration
public CdnSecurityPolicyOriginForwardingEnum.Types.CdnSecurityPolicyOriginForwarding MediaPlaylistOriginForwardingType { get; set; }
Property Value
Type Description
CdnSecurityPolicyOriginForwardingEnum.Types.CdnSecurityPolicyOriginForwarding

MediaPlaylistOriginPathPrefix

Optional. The origin path prefix provided by the publisher for the media playlists. Only applicable for delivery media locations with the value of mediaPlaylistOriginForwardingType set to CdnSecurityPolicyOriginForwarding.CONVENTIONAL, and will be set to null otherwise.

Declaration
public string MediaPlaylistOriginPathPrefix { get; set; }
Property Value
Type Description
string

OriginForwardingType

Optional. The type of origin forwarding used to support Akamai authentication policies for the parent playlist. Not applicable to ingest locations, and is only applicable to delivery media locations with the securityPolicyType set to CdnSecurityPolicyType.AKAMAI. If set elsewhere it will be reset to null.

Declaration
public CdnSecurityPolicyOriginForwardingEnum.Types.CdnSecurityPolicyOriginForwarding OriginForwardingType { get; set; }
Property Value
Type Description
CdnSecurityPolicyOriginForwardingEnum.Types.CdnSecurityPolicyOriginForwarding

OriginPathPrefix

Optional. The origin path prefix provided by the publisher for the parent playlist. Only applicable for delivery media locations with the value of originForwardingType set to CdnSecurityPolicyOriginForwarding.CONVENTIONAL, and will be set to null otherwise.

Declaration
public string OriginPathPrefix { get; set; }
Property Value
Type Description
string

SecurityPolicyType

Required. Type of security policy. This determines which other fields should be populated. This value is required for a valid security policy.

Declaration
public CdnSecurityPolicyTypeEnum.Types.CdnSecurityPolicyType SecurityPolicyType { get; set; }
Property Value
Type Description
CdnSecurityPolicyTypeEnum.Types.CdnSecurityPolicyType

ServerSideUrlSigningDisabled

Optional. Whether the segment URLs should be signed using the #tokenAuthenticationKey on the server. This is only applicable for delivery media locations that have token authentication enabled.

Declaration
public bool ServerSideUrlSigningDisabled { get; set; }
Property Value
Type Description
bool

SignedRequestExpirationTtl

Optional. The duration for which a request signed with a short token will be valid. Only required if signedRequestMaximumExpirationTtl has been set in the Media CDN config.

Declaration
public Duration SignedRequestExpirationTtl { get; set; }
Property Value
Type Description
Duration

TokenAuthenticationKey

Optional. Shared security key used to generate the Akamai HMAC token for authenticating requests. Only applicable when the value of CdnSecurityPolicyType is equal to CdnSecurityPolicyType.AKAMAI and will be set to null otherwise. Required when the CdnConfig.cdnConfigType is equal to CdnConfigType.LIVE_STREAM_SOURCE_CONTENT and this CdnSecurityPolicy is being configured for SourceContentConfig.ingestSettings.

Declaration
public string TokenAuthenticationKey { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX