Class: Google::Apis::CloudsearchV1::SocialGraphNodeProto

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

Represents a user pseudonym. Pseudonyms are linked accounts on Google and third-party services (e.g. YouTube or Twitter) and are described by a Social Graph Node.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SocialGraphNodeProto

Returns a new instance of SocialGraphNodeProto.



15711
15712
15713
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15711

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

Instance Attribute Details

#sgn_domainString

The fields from ccc/socialgraph/socialgraphnode.proto:SgnNode that uniquely identify a social graph node. The 'ident' field is not included here because its value can be changed. Corresponds to the JSON property sgnDomain

Returns:

  • (String)


15704
15705
15706
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15704

def sgn_domain
  @sgn_domain
end

#sgn_pkString

Corresponds to the JSON property sgnPk

Returns:

  • (String)


15709
15710
15711
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15709

def sgn_pk
  @sgn_pk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15716
15717
15718
15719
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15716

def update!(**args)
  @sgn_domain = args[:sgn_domain] if args.key?(:sgn_domain)
  @sgn_pk = args[:sgn_pk] if args.key?(:sgn_pk)
end