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.



19054
19055
19056
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19054

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)


19047
19048
19049
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19047

def sgn_domain
  @sgn_domain
end

#sgn_pkString

Corresponds to the JSON property sgnPk

Returns:

  • (String)


19052
19053
19054
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19052

def sgn_pk
  @sgn_pk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19059
19060
19061
19062
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19059

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