Class ChangeEvent
Represents a single entity change.
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ChangeEvent : IMessage<ChangeEvent>, IEquatable<ChangeEvent>, IDeepCloneable<ChangeEvent>, IBufferMessage, IMessage
Constructors
ChangeEvent()
Declaration
ChangeEvent(ChangeEvent)
Declaration
public ChangeEvent(ChangeEvent other)
Parameters
Properties
ChangeEventName
Declaration
public ChangeEventName ChangeEventName { get; set; }
Property Value
ChangeTime
Output only. Time when the change happened.
Declaration
public Timestamp ChangeTime { get; set; }
Property Value
EntityId
Output only. The id of the resource that was changed. Typically, this is a
part of the resource name for that entity. It is represented here as a long
for legacy reasons.
Declaration
public long EntityId { get; set; }
Property Value
HasEntityId
Gets whether the "entity_id" field is set
Declaration
public bool HasEntityId { get; }
Property Value
HasOperationType
Gets whether the "operation_type" field is set
Declaration
public bool HasOperationType { get; }
Property Value
HasResourceType
Gets whether the "resource_type" field is set
Declaration
public bool HasResourceType { get; }
Property Value
HasUser
Gets whether the "user" field is set
Declaration
public bool HasUser { get; }
Property Value
Name
Identifier. The resource name of the ChangeEvent.
Format: networks/{network_code}/changeEvents/{change_event}
Declaration
public string Name { get; set; }
Property Value
OperationType
Output only. The type of operation associated with the ChangeEvent.
Declaration
public OperationTypeEnum.Types.OperationType OperationType { get; set; }
Property Value
ResourceType
Output only. The type of the resource that was changed.
Declaration
public ChangeEventResourceTypeEnum.Types.ChangeEventResourceType ResourceType { get; set; }
Property Value
User
Output only. The user that made the change.
Format: networks/{network_code}/users/{user}
Declaration
public string User { get; set; }
Property Value
UserAsUserName
Declaration
public UserName UserAsUserName { get; set; }
Property Value