class Users extends Resource (View source)

The "users" collection of methods.

Typical usage is:

 $androidpublisherService = new Google\Service\AndroidPublisher(...);
 $users = $androidpublisherService->users;

Methods

create(string $parent, User $postBody, array $optParams = [])

Grant access for a user to the given developer account. (users.create)

delete(string $name, array $optParams = [])

Removes all access for the user to the given developer account.

listUsers(string $parent, array $optParams = [])

Lists all users with access to a developer account. (users.listUsers)

patch(string $name, User $postBody, array $optParams = [])

Updates access for the user to the developer account. (users.patch)

Details

User create(string $parent, User $postBody, array $optParams = [])

Grant access for a user to the given developer account. (users.create)

Parameters

string $parent

Required. The developer account to add the user to. Format: developers/{developer}

User $postBody
array $optParams

Optional parameters.

Return Value

User

Exceptions

Exception

delete(string $name, array $optParams = [])

Removes all access for the user to the given developer account.

(users.delete)

Parameters

string $name

Required. The name of the user to delete. Format: developers/{developer}/users/{email}

array $optParams

Optional parameters.

Exceptions

Exception

ListUsersResponse listUsers(string $parent, array $optParams = [])

Lists all users with access to a developer account. (users.listUsers)

Parameters

string $parent

Required. The developer account to fetch users from. Format: developers/{developer}

array $optParams

Optional parameters.

Return Value

ListUsersResponse

Exceptions

Exception

User patch(string $name, User $postBody, array $optParams = [])

Updates access for the user to the developer account. (users.patch)

Parameters

string $name

Required. Resource name for this user, following the pattern "developers/{developer}/users/{email}".

User $postBody
array $optParams

Optional parameters.

Return Value

User

Exceptions

Exception