Class: Google::Apis::PlusV1::Activity::Object::Actor
- Inherits:
-
Object
- Object
- Google::Apis::PlusV1::Activity::Object::Actor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_v1/classes.rb,
generated/google/apis/plus_v1/representations.rb,
generated/google/apis/plus_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::PlusV1::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::PlusV1::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::PlusV1::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
469 470 471 |
# File 'generated/google/apis/plus_v1/classes.rb', line 469 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_specific_actor_info ⇒ Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo
Actor info specific to particular clients.
Corresponds to the JSON property clientSpecificActorInfo
442 443 444 |
# File 'generated/google/apis/plus_v1/classes.rb', line 442 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
447 448 449 |
# File 'generated/google/apis/plus_v1/classes.rb', line 447 def display_name @display_name end |
#id ⇒ String
ID of the original actor.
Corresponds to the JSON property id
452 453 454 |
# File 'generated/google/apis/plus_v1/classes.rb', line 452 def id @id end |
#image ⇒ Google::Apis::PlusV1::Activity::Object::Actor::Image
The image representation of the original actor.
Corresponds to the JSON property image
457 458 459 |
# File 'generated/google/apis/plus_v1/classes.rb', line 457 def image @image end |
#url ⇒ String
A link to the original actor's Google profile.
Corresponds to the JSON property url
462 463 464 |
# File 'generated/google/apis/plus_v1/classes.rb', line 462 def url @url end |
#verification ⇒ Google::Apis::PlusV1::Activity::Object::Actor::Verification
Verification status of actor.
Corresponds to the JSON property verification
467 468 469 |
# File 'generated/google/apis/plus_v1/classes.rb', line 467 def verification @verification end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
474 475 476 477 478 479 480 481 |
# File 'generated/google/apis/plus_v1/classes.rb', line 474 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 |