Class MediaLocation
Config that associates a media location with a security policy and the authentication credentials needed to access the content.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class MediaLocation : IMessage<MediaLocation>, IEquatable<MediaLocation>, IDeepCloneable<MediaLocation>, IBufferMessage, IMessage
Constructors
MediaLocation()
Declaration
public MediaLocation()
MediaLocation(MediaLocation)
Declaration
public MediaLocation(MediaLocation other)
Parameters
| Type | Name | Description |
|---|---|---|
| MediaLocation | other |
Properties
DisplayName
Output only. The name of the media location. This value is read-only and is assigned by Google.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasDisplayName
Gets whether the "display_name" field is set
Declaration
public bool HasDisplayName { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasUrlPrefix
Gets whether the "url_prefix" field is set
Declaration
public bool HasUrlPrefix { get; }
Property Value
| Type | Description |
|---|---|
| bool |
SecurityPolicy
Optional. The security policy and authentication credentials needed to access the content in this media location. Optional; if omitted, no security policy will be applied (indicating a public/unprotected location). Must NOT be configured for ad media delivery locations (doing so will trigger a validation error).
Declaration
public CdnSecurityPolicy SecurityPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| CdnSecurityPolicy |
UrlPrefix
Required. The URL prefix of the media location. This value is required for a valid media location.
Declaration
public string UrlPrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| string |