Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CSS

import { CSS } from "https://googleapis.deno.dev/v1/css:v1.ts";

Programmatically manage your Comparison Shopping Service (CSS) account data at scale.

class CSS {
constructor(client?: CredentialsClient, baseUrl?: string);
async accountsCssProductInputsDelete(name: string, opts?: AccountsCssProductInputsDeleteOptions): Promise<Empty>;
async accountsCssProductInputsInsert(
parent: string,
): Promise<CssProductInput>;
async accountsCssProductInputsPatch(
name: string,
): Promise<CssProductInput>;
async accountsCssProductsGet(name: string): Promise<CssProduct>;
async accountsCssProductsList(parent: string, opts?: AccountsCssProductsListOptions): Promise<ListCssProductsResponse>;
async accountsGet(name: string, opts?: AccountsGetOptions): Promise<Account>;
async accountsLabelsCreate(parent: string, req: AccountLabel): Promise<AccountLabel>;
async accountsLabelsDelete(name: string): Promise<Empty>;
async accountsLabelsList(parent: string, opts?: AccountsLabelsListOptions): Promise<ListAccountLabelsResponse>;
async accountsLabelsPatch(name: string, req: AccountLabel): Promise<AccountLabel>;
async accountsListChildAccounts(parent: string, opts?: AccountsListChildAccountsOptions): Promise<ListChildAccountsResponse>;
async accountsQuotasList(parent: string, opts?: AccountsQuotasListOptions): Promise<ListQuotaGroupsResponse>;
async accountsUpdateLabels(name: string, req: UpdateAccountLabelsRequest): Promise<Account>;
}

§Constructors

§
new CSS(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
accountsCssProductInputsDelete(name: string, opts?: AccountsCssProductInputsDeleteOptions): Promise<Empty>
[src]

Deletes a CSS Product input from your CSS Center account. After a delete it may take several minutes until the input is no longer available.

@param name

Required. The name of the CSS product input resource to delete. Format: accounts/{account}/cssProductInputs/{css_product_input}, where the last section css_product_input consists of 3 parts: contentLanguagefeedLabelofferId. Example: accounts/123/cssProductInputs/deDErawProvidedId123

§
accountsCssProductInputsInsert(parent: string, req: CssProductInput, opts?: AccountsCssProductInputsInsertOptions): Promise<CssProductInput>
[src]

Uploads a CssProductInput to your CSS Center account. If an input with the same contentLanguage, identity, feedLabel and feedId already exists, this method replaces that entry. After inserting, updating, or deleting a CSS Product input, it may take several minutes before the processed CSS Product can be retrieved.

@param parent

Required. The account where this CSS Product will be inserted. Format: accounts/{account}

§
accountsCssProductInputsPatch(name: string, req: CssProductInput, opts?: AccountsCssProductInputsPatchOptions): Promise<CssProductInput>
[src]

Updates the existing Css Product input in your CSS Center account. After inserting, updating, or deleting a CSS Product input, it may take several minutes before the processed Css Product can be retrieved.

@param name

Identifier. The name of the CSS Product input. Format: accounts/{account}/cssProductInputs/{css_product_input}, where the last section css_product_input consists of 3 parts: contentLanguagefeedLabelofferId. Example: accounts/123/cssProductInputs/deDErawProvidedId123

§
accountsCssProductsGet(name: string): Promise<CssProduct>
[src]

Retrieves the processed CSS Product from your CSS Center account. After inserting, updating, or deleting a product input, it may take several minutes before the updated final product can be retrieved.

@param name

Required. The name of the CSS product to retrieve. Format: accounts/{account}/cssProducts/{css_product}

§
accountsCssProductsList(parent: string, opts?: AccountsCssProductsListOptions): Promise<ListCssProductsResponse>
[src]

Lists the processed CSS Products in your CSS Center account. The response might contain fewer items than specified by pageSize. Rely on pageToken to determine if there are more items to be requested. After inserting, updating, or deleting a CSS product input, it may take several minutes before the updated processed CSS product can be retrieved.

@param parent

Required. The account/domain to list processed CSS Products for. Format: accounts/{account}

§
accountsGet(name: string, opts?: AccountsGetOptions): Promise<Account>
[src]

Retrieves a single CSS/MC account by ID.

@param name

Required. The name of the managed CSS/MC account. Format: accounts/{account}

§
accountsLabelsCreate(parent: string, req: AccountLabel): Promise<AccountLabel>
[src]

Creates a new label, not assigned to any account.

@param parent

Required. The parent account. Format: accounts/{account}

§
accountsLabelsDelete(name: string): Promise<Empty>
[src]

Deletes a label and removes it from all accounts to which it was assigned.

@param name

Required. The name of the label to delete. Format: accounts/{account}/labels/{label}

§
accountsLabelsList(parent: string, opts?: AccountsLabelsListOptions): Promise<ListAccountLabelsResponse>
[src]

Lists the labels owned by an account.

@param parent

Required. The parent account. Format: accounts/{account}

§
accountsLabelsPatch(name: string, req: AccountLabel): Promise<AccountLabel>
[src]

Updates a label.

@param name

Identifier. The resource name of the label. Format: accounts/{account}/labels/{label}

§
accountsListChildAccounts(parent: string, opts?: AccountsListChildAccountsOptions): Promise<ListChildAccountsResponse>
[src]

Lists all the accounts under the specified CSS account ID, and optionally filters by label ID and account name.

@param parent

Required. The parent account. Must be a CSS group or domain. Format: accounts/{account}

§
accountsQuotasList(parent: string, opts?: AccountsQuotasListOptions): Promise<ListQuotaGroupsResponse>
[src]

Lists the daily call quota and usage per group for your CSS Center account.

@param parent

Required. The CSS account that owns the collection of method quotas and resources. In most cases, this is the CSS domain. Format: accounts/{account}

§
accountsUpdateLabels(name: string, req: UpdateAccountLabelsRequest): Promise<Account>
[src]

Updates labels assigned to CSS/MC accounts by a CSS domain.

@param name

Required. The label resource name. Format: accounts/{account}