Class: Google::Apis::PlusDomainsV1::Activity::Actor

Inherits:
Object
  • Object
show all
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

The person who performed this activity.

Defined Under Namespace

Classes: ClientSpecificActorInfo, Image, Name, Verification

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Actor

Returns a new instance of Actor.


243
244
245
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 243

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#client_specific_actor_infoGoogle::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo

Actor info specific to particular clients. Corresponds to the JSON property clientSpecificActorInfo


211
212
213
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 211

def client_specific_actor_info
  @client_specific_actor_info
end

#display_nameString

The name of the actor, suitable for display. Corresponds to the JSON property displayName

Returns:

  • (String)

216
217
218
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 216

def display_name
  @display_name
end

#idString

The ID of the actor's Person resource. Corresponds to the JSON property id

Returns:

  • (String)

221
222
223
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 221

def id
  @id
end

#imageGoogle::Apis::PlusDomainsV1::Activity::Actor::Image

The image representation of the actor. Corresponds to the JSON property image


226
227
228
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 226

def image
  @image
end

#nameGoogle::Apis::PlusDomainsV1::Activity::Actor::Name

An object representation of the individual components of name. Corresponds to the JSON property name


231
232
233
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 231

def name
  @name
end

#urlString

The link to the actor's Google profile. Corresponds to the JSON property url

Returns:

  • (String)

236
237
238
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 236

def url
  @url
end

#verificationGoogle::Apis::PlusDomainsV1::Activity::Actor::Verification

Verification status of actor. Corresponds to the JSON property verification


241
242
243
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 241

def verification
  @verification
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


248
249
250
251
252
253
254
255
256
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 248

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