Class: Google::Apis::PlusDomainsV1::Activity::Object::Actor
- Inherits:
-
Object
- Object
- Google::Apis::PlusDomainsV1::Activity::Object::Actor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_domains_v1/classes.rb,
generated/google/apis/plus_domains_v1/representations.rb,
generated/google/apis/plus_domains_v1/representations.rb
Overview
If this activity's object is itself another activity, such as when a person reshares an activity, this property specifies the original activity's actor.
Defined Under Namespace
Classes: ClientSpecificActorInfo, Image, Verification
Instance Attribute Summary collapse
-
#client_specific_actor_info ⇒ Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo
Actor info specific to particular clients.
-
#display_name ⇒ String
The original actor's name, which is suitable for display.
-
#id ⇒ String
ID of the original actor.
-
#image ⇒ Google::Apis::PlusDomainsV1::Activity::Object::Actor::Image
The image representation of the original actor.
-
#url ⇒ String
A link to the original actor's Google profile.
-
#verification ⇒ Google::Apis::PlusDomainsV1::Activity::Object::Actor::Verification
Verification status of actor.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Actor
constructor
A new instance of Actor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Actor
Returns a new instance of Actor
482 483 484 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 482 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_specific_actor_info ⇒ Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo
Actor info specific to particular clients.
Corresponds to the JSON property clientSpecificActorInfo
455 456 457 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 455 def client_specific_actor_info @client_specific_actor_info end |
#display_name ⇒ String
The original actor's name, which is suitable for display.
Corresponds to the JSON property displayName
460 461 462 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 460 def display_name @display_name end |
#id ⇒ String
ID of the original actor.
Corresponds to the JSON property id
465 466 467 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 465 def id @id end |
#image ⇒ Google::Apis::PlusDomainsV1::Activity::Object::Actor::Image
The image representation of the original actor.
Corresponds to the JSON property image
470 471 472 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 470 def image @image end |
#url ⇒ String
A link to the original actor's Google profile.
Corresponds to the JSON property url
475 476 477 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 475 def url @url end |
#verification ⇒ Google::Apis::PlusDomainsV1::Activity::Object::Actor::Verification
Verification status of actor.
Corresponds to the JSON property verification
480 481 482 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 480 def verification @verification end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
487 488 489 490 491 492 493 494 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 487 def update!(**args) @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) @image = args[:image] if args.key?(:image) @url = args[:url] if args.key?(:url) @verification = args[:verification] if args.key?(:verification) end |