Class DaiAuthenticationKey
A DaiAuthenticationKey is used to authenticate stream requests to the IMA SDK API.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class DaiAuthenticationKey : IMessage<DaiAuthenticationKey>, IEquatable<DaiAuthenticationKey>, IDeepCloneable<DaiAuthenticationKey>, IBufferMessage, IMessage
Constructors
DaiAuthenticationKey()
Declaration
public DaiAuthenticationKey()
DaiAuthenticationKey(DaiAuthenticationKey)
Declaration
public DaiAuthenticationKey(DaiAuthenticationKey other)
Parameters
| Type | Name | Description |
|---|---|---|
| DaiAuthenticationKey | other |
Properties
DaiAuthenticationKeyName
DaiAuthenticationKeyName-typed view over the Name resource name property.
Declaration
public DaiAuthenticationKeyName DaiAuthenticationKeyName { get; set; }
Property Value
| Type | Description |
|---|---|
| DaiAuthenticationKeyName |
DisplayName
Required. The name for this DaiAuthenticationKey.
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 |
HasKeyType
Gets whether the "key_type" field is set
Declaration
public bool HasKeyType { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasStatus
Gets whether the "status" field is set
Declaration
public bool HasStatus { get; }
Property Value
| Type | Description |
|---|---|
| bool |
KeyType
Optional. The type of this key, which determines how it should be used on stream create requests.
Declaration
public DaiAuthenticationKeyTypeEnum.Types.DaiAuthenticationKeyType KeyType { get; set; }
Property Value
| Type | Description |
|---|---|
| DaiAuthenticationKeyTypeEnum.Types.DaiAuthenticationKeyType |
Name
Identifier. The resource name of the DaiAuthenticationKey.
Format:
networks/{network_code}/daiAuthenticationKeys/{dai_authentication_key}
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Status
Output only. The status of this DaiAuthenticationKey.
DAI authentication keys are created in the
[ACTIVE][google.ads.admanager.v1.DaiAuthenticationKeyStatusEnum.DaiAuthenticationKeyStatus.ACTIVE]
state.
Only active keys will be accepted by the IMA SDK API as valid.
Declaration
public DaiAuthenticationKeyStatusEnum.Types.DaiAuthenticationKeyStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| DaiAuthenticationKeyStatusEnum.Types.DaiAuthenticationKeyStatus |