Class: Google::Apis::PlusV1::Activity::Actor
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PlusV1::Activity::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
The person who performed this activity.
Defined Under Namespace
Classes: ClientSpecificActorInfo, Image, Name, Verification
Instance Attribute Summary collapse
- 
  
    
      #client_specific_actor_info  ⇒ Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Actor info specific to particular clients. 
- 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the actor, suitable for display. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the actor's Person resource. 
- 
  
    
      #image  ⇒ Google::Apis::PlusV1::Activity::Actor::Image 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The image representation of the actor. 
- 
  
    
      #name  ⇒ Google::Apis::PlusV1::Activity::Actor::Name 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An object representation of the individual components of name. 
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The link to the actor's Google profile. 
- 
  
    
      #verification  ⇒ Google::Apis::PlusV1::Activity::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
| 236 237 238 | # File 'generated/google/apis/plus_v1/classes.rb', line 236 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#client_specific_actor_info ⇒ Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo
Actor info specific to particular clients.
Corresponds to the JSON property clientSpecificActorInfo
| 204 205 206 | # File 'generated/google/apis/plus_v1/classes.rb', line 204 def client_specific_actor_info @client_specific_actor_info end | 
#display_name ⇒ String
The name of the actor, suitable for display.
Corresponds to the JSON property displayName
| 209 210 211 | # File 'generated/google/apis/plus_v1/classes.rb', line 209 def display_name @display_name end | 
#id ⇒ String
The ID of the actor's Person resource.
Corresponds to the JSON property id
| 214 215 216 | # File 'generated/google/apis/plus_v1/classes.rb', line 214 def id @id end | 
#image ⇒ Google::Apis::PlusV1::Activity::Actor::Image
The image representation of the actor.
Corresponds to the JSON property image
| 219 220 221 | # File 'generated/google/apis/plus_v1/classes.rb', line 219 def image @image end | 
#name ⇒ Google::Apis::PlusV1::Activity::Actor::Name
An object representation of the individual components of name.
Corresponds to the JSON property name
| 224 225 226 | # File 'generated/google/apis/plus_v1/classes.rb', line 224 def name @name end | 
#url ⇒ String
The link to the actor's Google profile.
Corresponds to the JSON property url
| 229 230 231 | # File 'generated/google/apis/plus_v1/classes.rb', line 229 def url @url end | 
#verification ⇒ Google::Apis::PlusV1::Activity::Actor::Verification
Verification status of actor.
Corresponds to the JSON property verification
| 234 235 236 | # File 'generated/google/apis/plus_v1/classes.rb', line 234 def verification @verification end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 241 242 243 244 245 246 247 248 249 | # File 'generated/google/apis/plus_v1/classes.rb', line 241 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) @name = args[:name] if args.key?(:name) @url = args[:url] if args.key?(:url) @verification = args[:verification] if args.key?(:verification) end |