Google Cloud Support V2 API - Class Google::Cloud::Support::V2::Actor (v1.4.1)

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

def display_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=

def display_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

def email() -> ::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=

def email=(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

def google_support() -> ::Boolean
Returns
  • (::Boolean) — Output only. Whether the actor is a Google support actor.

#username

def username() -> ::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.