Class: Google::Apis::CloudsearchV1::GaiaUserProto

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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GaiaUserProto

Returns a new instance of GaiaUserProto.



8095
8096
8097
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8095

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#user_idFixnum

Corresponds to the JSON property userId

Returns:

  • (Fixnum)


8093
8094
8095
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8093

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8100
8101
8102
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8100

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