Class AccountsResource
The "accounts" collection of methods.
Inherited Members
Namespace: Google.Apis.Css.v1
Assembly: Google.Apis.Css.v1.dll
Syntax
public class AccountsResource
Constructors
AccountsResource(IClientService)
Constructs a new resource.
Declaration
public AccountsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
CssProductInputs
Gets the CssProductInputs resource.
Declaration
public virtual AccountsResource.CssProductInputsResource CssProductInputs { get; }
Property Value
Type | Description |
---|---|
AccountsResource.CssProductInputsResource |
CssProducts
Gets the CssProducts resource.
Declaration
public virtual AccountsResource.CssProductsResource CssProducts { get; }
Property Value
Type | Description |
---|---|
AccountsResource.CssProductsResource |
Labels
Gets the Labels resource.
Declaration
public virtual AccountsResource.LabelsResource Labels { get; }
Property Value
Type | Description |
---|---|
AccountsResource.LabelsResource |
Methods
Get(string)
Retrieves a single CSS/MC account by ID.
Declaration
public virtual AccountsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the managed CSS/MC account. Format: accounts/{account} |
Returns
Type | Description |
---|---|
AccountsResource.GetRequest |
ListChildAccounts(string)
Lists all the accounts under the specified CSS account ID, and optionally filters by label ID and account name.
Declaration
public virtual AccountsResource.ListChildAccountsRequest ListChildAccounts(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent account. Must be a CSS group or domain. Format: accounts/{account} |
Returns
Type | Description |
---|---|
AccountsResource.ListChildAccountsRequest |
UpdateLabels(UpdateAccountLabelsRequest, string)
Updates labels assigned to CSS/MC accounts by a CSS domain.
Declaration
public virtual AccountsResource.UpdateLabelsRequest UpdateLabels(UpdateAccountLabelsRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
UpdateAccountLabelsRequest | body | The body of the request. |
string | name | Required. The label resource name. Format: accounts/{account} |
Returns
Type | Description |
---|---|
AccountsResource.UpdateLabelsRequest |