Class: Google::Apis::CloudsearchV1::LdapUserProto

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LdapUserProto

Returns a new instance of LdapUserProto.



11160
11161
11162
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11160

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

Instance Attribute Details

#user_nameString

Corresponds to the JSON property userName

Returns:

  • (String)


11158
11159
11160
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11158

def user_name
  @user_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11165
11166
11167
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11165

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