Class UsersResource
The "users" collection of methods.
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class UsersResource
Constructors
UsersResource(IClientService)
Constructs a new resource.
Declaration
public UsersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(User, string)
Grant access for a user to the given developer account.
Declaration
public virtual UsersResource.CreateRequest Create(User body, string parent)
Parameters
Type | Name | Description |
---|---|---|
User | body | The body of the request. |
string | parent | Required. The developer account to add the user to. Format: developers/{developer} |
Returns
Type | Description |
---|---|
UsersResource.CreateRequest |
Delete(string)
Removes all access for the user to the given developer account.
Declaration
public virtual UsersResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the user to delete. Format: developers/{developer}/users/{email} |
Returns
Type | Description |
---|---|
UsersResource.DeleteRequest |
List(string)
Lists all users with access to a developer account.
Declaration
public virtual UsersResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The developer account to fetch users from. Format: developers/{developer} |
Returns
Type | Description |
---|---|
UsersResource.ListRequest |
Patch(User, string)
Updates access for the user to the developer account.
Declaration
public virtual UsersResource.PatchRequest Patch(User body, string name)
Parameters
Type | Name | Description |
---|---|---|
User | body | The body of the request. |
string | name | Required. Resource name for this user, following the pattern "developers/{developer}/users/{email}". |
Returns
Type | Description |
---|---|
UsersResource.PatchRequest |