Class: Google::Apis::CloudsearchV1::GaiaUserProto
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::GaiaUserProto
- 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
A Gaia account, which may represent a user, device, service account, etc. For prod (@prod.google.com) accounts, use MdbUserProto instead.
Instance Attribute Summary collapse
-
#user_id ⇒ Fixnum
Corresponds to the JSON property
userId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GaiaUserProto
constructor
A new instance of GaiaUserProto.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GaiaUserProto
Returns a new instance of GaiaUserProto.
8032 8033 8034 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8032 def initialize(**args) update!(**args) end |
Instance Attribute Details
#user_id ⇒ Fixnum
Corresponds to the JSON property userId
8030 8031 8032 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8030 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8037 8038 8039 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8037 def update!(**args) @user_id = args[:user_id] if args.key?(:user_id) end |