target.apidocs.com.google.api.services.androidpublisher.model.User.html Maven / Gradle / Ivy
User (Google Play Android Developer API v3-rev20240129-2.0.0)
com.google.api.services.androidpublisher.model
Class User
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidpublisher.model.User
-
public final class User
extends com.google.api.client.json.GenericJson
A user resource.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Google Play Android Developer API. For a detailed
explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
User()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
User
clone()
String
getAccessState()
Output only.
List<String>
getDeveloperAccountPermissions()
Permissions for the user which apply across the developer account.
String
getEmail()
Immutable.
String
getExpirationTime()
The time at which the user's access expires, if set.
List<Grant>
getGrants()
Output only.
String
getName()
Required.
Boolean
getPartial()
Output only.
User
set(String fieldName,
Object value)
User
setAccessState(String accessState)
Output only.
User
setDeveloperAccountPermissions(List<String> developerAccountPermissions)
Permissions for the user which apply across the developer account.
User
setEmail(String email)
Immutable.
User
setExpirationTime(String expirationTime)
The time at which the user's access expires, if set.
User
setGrants(List<Grant> grants)
Output only.
User
setName(String name)
Required.
User
setPartial(Boolean partial)
Output only.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAccessState
public String getAccessState()
Output only. The state of the user's access to the Play Console.
- Returns:
- value or
null
for none
-
setAccessState
public User setAccessState(String accessState)
Output only. The state of the user's access to the Play Console.
- Parameters:
accessState
- accessState or null
for none
-
getDeveloperAccountPermissions
public List<String> getDeveloperAccountPermissions()
Permissions for the user which apply across the developer account.
- Returns:
- value or
null
for none
-
setDeveloperAccountPermissions
public User setDeveloperAccountPermissions(List<String> developerAccountPermissions)
Permissions for the user which apply across the developer account.
- Parameters:
developerAccountPermissions
- developerAccountPermissions or null
for none
-
getEmail
public String getEmail()
Immutable. The user's email address.
- Returns:
- value or
null
for none
-
setEmail
public User setEmail(String email)
Immutable. The user's email address.
- Parameters:
email
- email or null
for none
-
getExpirationTime
public String getExpirationTime()
The time at which the user's access expires, if set. When setting this value, it must always be
in the future.
- Returns:
- value or
null
for none
-
setExpirationTime
public User setExpirationTime(String expirationTime)
The time at which the user's access expires, if set. When setting this value, it must always be
in the future.
- Parameters:
expirationTime
- expirationTime or null
for none
-
getGrants
public List<Grant> getGrants()
Output only. Per-app permissions for the user.
- Returns:
- value or
null
for none
-
setGrants
public User setGrants(List<Grant> grants)
Output only. Per-app permissions for the user.
- Parameters:
grants
- grants or null
for none
-
getName
public String getName()
Required. Resource name for this user, following the pattern
"developers/{developer}/users/{email}".
- Returns:
- value or
null
for none
-
setName
public User setName(String name)
Required. Resource name for this user, following the pattern
"developers/{developer}/users/{email}".
- Parameters:
name
- name or null
for none
-
getPartial
public Boolean getPartial()
Output only. Whether there are more permissions for the user that are not represented here.
This can happen if the caller does not have permission to manage all apps in the account. This
is also `true` if this user is the account owner. If this field is `true`, it should be taken
as a signal that this user cannot be fully managed via the API. That is, the API caller is not
be able to manage all of the permissions this user holds, either because it doesn't know about
them or because the user is the account owner.
- Returns:
- value or
null
for none
-
setPartial
public User setPartial(Boolean partial)
Output only. Whether there are more permissions for the user that are not represented here.
This can happen if the caller does not have permission to manage all apps in the account. This
is also `true` if this user is the account owner. If this field is `true`, it should be taken
as a signal that this user cannot be fully managed via the API. That is, the API caller is not
be able to manage all of the permissions this user holds, either because it doesn't know about
them or because the user is the account owner.
- Parameters:
partial
- partial or null
for none
-
set
public User set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public User clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy