Class UpdateAccountLabelsRequest
The request message for the UpdateLabels
method.
Implements
Namespace: Google.Shopping.Css.V1
Assembly: Google.Shopping.Css.V1.dll
Syntax
public sealed class UpdateAccountLabelsRequest : IMessage<UpdateAccountLabelsRequest>, IEquatable<UpdateAccountLabelsRequest>, IDeepCloneable<UpdateAccountLabelsRequest>, IBufferMessage, IMessage
Constructors
UpdateAccountLabelsRequest()
Declaration
public UpdateAccountLabelsRequest()
UpdateAccountLabelsRequest(UpdateAccountLabelsRequest)
Declaration
public UpdateAccountLabelsRequest(UpdateAccountLabelsRequest other)
Parameters
Type | Name | Description |
---|---|---|
UpdateAccountLabelsRequest | other |
Properties
AccountName
AccountName-typed view over the Name resource name property.
Declaration
public AccountName AccountName { get; set; }
Property Value
Type | Description |
---|---|
AccountName |
HasParent
Gets whether the "parent" field is set
Declaration
public bool HasParent { get; }
Property Value
Type | Description |
---|---|
bool |
LabelIds
The list of label IDs to overwrite the existing account label IDs. If the list is empty, all currently assigned label IDs will be deleted.
Declaration
public RepeatedField<long> LabelIds { get; }
Property Value
Type | Description |
---|---|
RepeatedField<long> |
Name
Required. The label resource name. Format: accounts/{account}
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Optional. Only required when updating MC account labels. The CSS domain that is the parent resource of the MC account. Format: accounts/{account}
Declaration
public string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |
ParentAsAccountName
AccountName-typed view over the Parent resource name property.
Declaration
public AccountName ParentAsAccountName { get; set; }
Property Value
Type | Description |
---|---|
AccountName |