Class AccountTypesResource.AccountsResource.UserListsResource
The "userLists" collection of methods.
Inherited Members
Namespace: Google.Apis.DataManager.v1
Assembly: Google.Apis.DataManager.v1.dll
Syntax
public class AccountTypesResource.AccountsResource.UserListsResource
Constructors
UserListsResource(IClientService)
Constructs a new resource.
Declaration
public UserListsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(UserList, string)
Creates a UserList. Authorization Headers: This method supports the following optional headers to
define how the API authorizes access for the request: * login-account: (Optional) The resource
name of the account where the Google Account of the credentials is a user. If not set, defaults to
the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId} *
linked-account: (Optional) The resource name of the account with an established product link to
the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public virtual AccountTypesResource.AccountsResource.UserListsResource.CreateRequest Create(UserList body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| UserList | body | The body of the request. |
| string | parent | Required. The parent account where this user list will be created. Format: accountTypes/{account_type}/accounts/{account} |
Returns
| Type | Description |
|---|---|
| AccountTypesResource.AccountsResource.UserListsResource.CreateRequest |
Delete(string)
Deletes a UserList. Authorization Headers: This method supports the following optional headers to
define how the API authorizes access for the request: * login-account: (Optional) The resource
name of the account where the Google Account of the credentials is a user. If not set, defaults to
the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId} *
linked-account: (Optional) The resource name of the account with an established product link to
the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public virtual AccountTypesResource.AccountsResource.UserListsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the user list to delete. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list} |
Returns
| Type | Description |
|---|---|
| AccountTypesResource.AccountsResource.UserListsResource.DeleteRequest |
Get(string)
Gets a UserList. Authorization Headers: This method supports the following optional headers to
define how the API authorizes access for the request: * login-account: (Optional) The resource
name of the account where the Google Account of the credentials is a user. If not set, defaults to
the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId} *
linked-account: (Optional) The resource name of the account with an established product link to
the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public virtual AccountTypesResource.AccountsResource.UserListsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the UserList to retrieve. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list} |
Returns
| Type | Description |
|---|---|
| AccountTypesResource.AccountsResource.UserListsResource.GetRequest |
List(string)
Lists UserLists. Authorization Headers: This method supports the following optional headers to
define how the API authorizes access for the request: * login-account: (Optional) The resource
name of the account where the Google Account of the credentials is a user. If not set, defaults to
the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId} *
linked-account: (Optional) The resource name of the account with an established product link to
the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public virtual AccountTypesResource.AccountsResource.UserListsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The parent account which owns this collection of user lists. Format: accountTypes/{account_type}/accounts/{account} |
Returns
| Type | Description |
|---|---|
| AccountTypesResource.AccountsResource.UserListsResource.ListRequest |
Patch(UserList, string)
Updates a UserList. Authorization Headers: This method supports the following optional headers to
define how the API authorizes access for the request: * login-account: (Optional) The resource
name of the account where the Google Account of the credentials is a user. If not set, defaults to
the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId} *
linked-account: (Optional) The resource name of the account with an established product link to
the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public virtual AccountTypesResource.AccountsResource.UserListsResource.PatchRequest Patch(UserList body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| UserList | body | The body of the request. |
| string | name | Identifier. The resource name of the user list. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list} |
Returns
| Type | Description |
|---|---|
| AccountTypesResource.AccountsResource.UserListsResource.PatchRequest |