public sealed class Actor : IMessage<Actor>, IEquatable<Actor>, IDeepCloneable<Actor>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Support v2 API class Actor.
An Actor represents an entity that performed an action. For example, an actor could be a user who posted a comment on a support case, a user who uploaded an attachment, or a service account that created a support case.
Namespace
Google.Cloud.Support.V2Assembly
Google.Cloud.Support.V2.dll
Constructors
Actor()
public Actor()
Actor(Actor)
public Actor(Actor other)
Parameter | |
---|---|
Name | Description |
other |
Actor |
Properties
DisplayName
public string DisplayName { get; set; }
The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.
Property Value | |
---|---|
Type | Description |
string |
[Obsolete]
public string Email { get; set; }
The email address of the actor. If not provided, it is inferred from the credentials supplied during case creation. When a name is provided, an email must also be provided. If the user is a Google Support agent, this is obfuscated.
This field is deprecated. Use username field instead.
Property Value | |
---|---|
Type | Description |
string |
GoogleSupport
public bool GoogleSupport { get; set; }
Output only. Whether the actor is a Google support actor.
Property Value | |
---|---|
Type | Description |
bool |
Username
public string Username { get; set; }
Output only. The username of the actor. It may look like an email or other format provided by the identity provider. If not provided, it is inferred from the credentials supplied. When a name is provided, a username must also be provided. If the user is a Google Support agent, this will not be set.
Property Value | |
---|---|
Type | Description |
string |