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.



15812
15813
15814
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15812

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)


15805
15806
15807
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15805

def sgn_domain
  @sgn_domain
end

#sgn_pkString

Corresponds to the JSON property sgnPk

Returns:

  • (String)


15810
15811
15812
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15810

def sgn_pk
  @sgn_pk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15817
15818
15819
15820
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15817

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