Class: Google::Apis::PlusDomainsV1::Comment::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 posted this comment.

Defined Under Namespace

Classes: ClientSpecificActorInfo, Image, 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



1403
1404
1405
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1403

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

Instance Attribute Details

#client_specific_actor_infoGoogle::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo

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



1376
1377
1378
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1376

def client_specific_actor_info
  @client_specific_actor_info
end

#display_nameString

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

Returns:

  • (String)


1381
1382
1383
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1381

def display_name
  @display_name
end

#idString

The ID of the actor. Corresponds to the JSON property id

Returns:

  • (String)


1386
1387
1388
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1386

def id
  @id
end

#imageGoogle::Apis::PlusDomainsV1::Comment::Actor::Image

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



1391
1392
1393
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1391

def image
  @image
end

#urlString

A link to the Person resource for this actor. Corresponds to the JSON property url

Returns:

  • (String)


1396
1397
1398
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1396

def url
  @url
end

#verificationGoogle::Apis::PlusDomainsV1::Comment::Actor::Verification

Verification status of actor. Corresponds to the JSON property verification



1401
1402
1403
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1401

def verification
  @verification
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1408
1409
1410
1411
1412
1413
1414
1415
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1408

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