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.



19216
19217
19218
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19216

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)


19209
19210
19211
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19209

def sgn_domain
  @sgn_domain
end

#sgn_pkString

Corresponds to the JSON property sgnPk

Returns:

  • (String)


19214
19215
19216
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19214

def sgn_pk
  @sgn_pk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19221
19222
19223
19224
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19221

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