Class: Google::Apis::AndroidpublisherV3::User
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::User
- 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
-
#access_state ⇒ String
Output only.
-
#developer_account_permissions ⇒ Array<String>
Permissions for the user which apply across the developer account.
-
#email ⇒ String
Immutable.
-
#expiration_time ⇒ String
The time at which the user's access expires, if set.
-
#grants ⇒ Array<Google::Apis::AndroidpublisherV3::Grant>
Output only.
-
#name ⇒ String
Required.
-
#partial ⇒ Boolean
(also: #partial?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ User
constructor
A new instance of User.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ User
Returns a new instance of User.
2605 2606 2607 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2605 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_state ⇒ String
Output only. The state of the user's access to the Play Console.
Corresponds to the JSON property accessState
2570 2571 2572 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2570 def access_state @access_state end |
#developer_account_permissions ⇒ Array<String>
Permissions for the user which apply across the developer account.
Corresponds to the JSON property developerAccountPermissions
2575 2576 2577 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2575 def @developer_account_permissions end |
#email ⇒ String
Immutable. The user's email address.
Corresponds to the JSON property email
2580 2581 2582 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2580 def email @email end |
#expiration_time ⇒ String
The time at which the user's access expires, if set.
Corresponds to the JSON property expirationTime
2585 2586 2587 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2585 def expiration_time @expiration_time end |
#grants ⇒ Array<Google::Apis::AndroidpublisherV3::Grant>
Output only. Per-app permissions for the user.
Corresponds to the JSON property grants
2590 2591 2592 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2590 def grants @grants end |
#name ⇒ String
Required. Resource name for this user, following the pattern "developers/
developer
/users/email
".
Corresponds to the JSON property name
2596 2597 2598 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2596 def name @name end |
#partial ⇒ Boolean 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
2602 2603 2604 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2602 def partial @partial end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2610 2611 2612 2613 2614 2615 2616 2617 2618 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2610 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 |