Show / Hide Table of Contents

Class AccountsResource.LabelsResource

The "labels" collection of methods.

Inheritance
object
AccountsResource.LabelsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Css.v1
Assembly: Google.Apis.Css.v1.dll
Syntax
public class AccountsResource.LabelsResource

Constructors

LabelsResource(IClientService)

Constructs a new resource.

Declaration
public LabelsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(AccountLabel, string)

Creates a new label, not assigned to any account.

Declaration
public virtual AccountsResource.LabelsResource.CreateRequest Create(AccountLabel body, string parent)
Parameters
Type Name Description
AccountLabel body

The body of the request.

string parent

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

Returns
Type Description
AccountsResource.LabelsResource.CreateRequest

Delete(string)

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

Declaration
public virtual AccountsResource.LabelsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

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

Returns
Type Description
AccountsResource.LabelsResource.DeleteRequest

List(string)

Lists the labels owned by an account.

Declaration
public virtual AccountsResource.LabelsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

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

Returns
Type Description
AccountsResource.LabelsResource.ListRequest

Patch(AccountLabel, string)

Updates a label.

Declaration
public virtual AccountsResource.LabelsResource.PatchRequest Patch(AccountLabel body, string name)
Parameters
Type Name Description
AccountLabel body

The body of the request.

string name

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

Returns
Type Description
AccountsResource.LabelsResource.PatchRequest
In this article
Back to top Generated by DocFX