Reference documentation and code samples for the Google Cloud Support V2 API class Google::Cloud::Support::V2::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.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#display_name
defdisplay_name()->::String
Returns
(::String) — 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.
#display_name=
defdisplay_name=(value)->::String
Parameter
value (::String) — 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.
Returns
(::String) — 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.
#email
defemail()->::String
Returns
(::String) — 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 instead.
#email=
defemail=(value)->::String
Parameter
value (::String) — 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 instead.
Returns
(::String) — 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 instead.
#google_support
defgoogle_support()->::Boolean
Returns
(::Boolean) — Output only. Whether the actor is a Google support actor.
#username
defusername()->::String
Returns
(::String) — 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Support V2 API - Class Google::Cloud::Support::V2::Actor (v1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/ruby/docs/reference/google-cloud-support-v2/latest/Google-Cloud-Support-V2-Actor)\n- [1.4.0](/ruby/docs/reference/google-cloud-support-v2/1.4.0/Google-Cloud-Support-V2-Actor)\n- [1.3.0](/ruby/docs/reference/google-cloud-support-v2/1.3.0/Google-Cloud-Support-V2-Actor)\n- [1.2.1](/ruby/docs/reference/google-cloud-support-v2/1.2.1/Google-Cloud-Support-V2-Actor)\n- [1.1.0](/ruby/docs/reference/google-cloud-support-v2/1.1.0/Google-Cloud-Support-V2-Actor)\n- [1.0.1](/ruby/docs/reference/google-cloud-support-v2/1.0.1/Google-Cloud-Support-V2-Actor)\n- [0.4.0](/ruby/docs/reference/google-cloud-support-v2/0.4.0/Google-Cloud-Support-V2-Actor)\n- [0.3.2](/ruby/docs/reference/google-cloud-support-v2/0.3.2/Google-Cloud-Support-V2-Actor)\n- [0.2.0](/ruby/docs/reference/google-cloud-support-v2/0.2.0/Google-Cloud-Support-V2-Actor)\n- [0.1.0](/ruby/docs/reference/google-cloud-support-v2/0.1.0/Google-Cloud-Support-V2-Actor) \nReference documentation and code samples for the Google Cloud Support V2 API class Google::Cloud::Support::V2::Actor.\n\nAn Actor represents an entity that performed an action. For example, an actor\ncould be a user who posted a comment on a support case, a user who\nuploaded an attachment, or a service account that created a support case. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #display_name\n\n def display_name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- 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.\n\n### #display_name=\n\n def display_name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- 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. \n**Returns**\n\n- (::String) --- 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.\n\n### #email\n\n def email() -\u003e ::String\n\n**Returns**\n\n- (::String) --- 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.\n\n This field is deprecated. Use `username` instead.\n\n### #email=\n\n def email=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- 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.\n\n\nThis field is deprecated. Use `username` instead. \n**Returns**\n\n- (::String) --- 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.\n\n This field is deprecated. Use `username` instead.\n\n### #google_support\n\n def google_support() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Output only. Whether the actor is a Google support actor.\n\n### #username\n\n def username() -\u003e ::String\n\n**Returns**\n\n- (::String) --- 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."]]