Class: Google::Apis::AndroidpublisherV3::User

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

Overview

A user resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ User

Returns a new instance of User.



2875
2876
2877
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2875

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

Instance Attribute Details

#access_stateString

Output only. The state of the user's access to the Play Console. Corresponds to the JSON property accessState

Returns:

  • (String)


2840
2841
2842
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2840

def access_state
  @access_state
end

#developer_account_permissionsArray<String>

Permissions for the user which apply across the developer account. Corresponds to the JSON property developerAccountPermissions

Returns:

  • (Array<String>)


2845
2846
2847
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2845

def 
  @developer_account_permissions
end

#emailString

Immutable. The user's email address. Corresponds to the JSON property email

Returns:

  • (String)


2850
2851
2852
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2850

def email
  @email
end

#expiration_timeString

The time at which the user's access expires, if set. Corresponds to the JSON property expirationTime

Returns:

  • (String)


2855
2856
2857
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2855

def expiration_time
  @expiration_time
end

#grantsArray<Google::Apis::AndroidpublisherV3::Grant>

Output only. Per-app permissions for the user. Corresponds to the JSON property grants



2860
2861
2862
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2860

def grants
  @grants
end

#nameString

Required. Resource name for this user, following the pattern "developers/ developer/users/email". Corresponds to the JSON property name

Returns:

  • (String)


2866
2867
2868
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2866

def name
  @name
end

#partialBoolean Also known as: partial?

Output only. Whether there are more permissions for the user that are not represented here. Corresponds to the JSON property partial

Returns:

  • (Boolean)


2872
2873
2874
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2872

def partial
  @partial
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2880
2881
2882
2883
2884
2885
2886
2887
2888
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2880

def update!(**args)
  @access_state = args[:access_state] if args.key?(:access_state)
  @developer_account_permissions = args[:developer_account_permissions] if args.key?(:developer_account_permissions)
  @email = args[:email] if args.key?(:email)
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
  @grants = args[:grants] if args.key?(:grants)
  @name = args[:name] if args.key?(:name)
  @partial = args[:partial] if args.key?(:partial)
end