Class: Google::Apis::AndroidmanagementV1::User

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/google/apis/androidmanagement_v1/representations.rb

Overview

A user belonging to an enterprise.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ User

Returns a new instance of User



2742
2743
2744
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2742

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

Instance Attribute Details

#account_identifierString

A unique identifier you create for this user, such as user342 or asset#44418. This field must be set when the user is created and can't be updated. This field must not contain personally identifiable information (PII). This identifier must be 1024 characters or less; otherwise, the update policy request will fail. Corresponds to the JSON property accountIdentifier

Returns:

  • (String)


2740
2741
2742
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2740

def 
  @account_identifier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2747
2748
2749
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2747

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