Class: Google::Apis::CloudsearchV1::SocialGraphNodeProto
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::SocialGraphNodeProto
- 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
-
#sgn_domain ⇒ String
The fields from ccc/socialgraph/socialgraphnode.proto:SgnNode that uniquely identify a social graph node.
-
#sgn_pk ⇒ String
Corresponds to the JSON property
sgnPk
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SocialGraphNodeProto
constructor
A new instance of SocialGraphNodeProto.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_domain ⇒ String
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
19209 19210 19211 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19209 def sgn_domain @sgn_domain end |
#sgn_pk ⇒ String
Corresponds to the JSON property sgnPk
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 |