Class AccountsResource.UpdatelabelsRequest
Updates labels that are assigned to the Merchant Center account by CSS user.
Inheritance
System.Object
AccountsResource.UpdatelabelsRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class UpdatelabelsRequest : ShoppingContentBaseServiceRequest<AccountsUpdateLabelsResponse>, IClientServiceRequest<AccountsUpdateLabelsResponse>, IClientServiceRequest
Constructors
UpdatelabelsRequest(IClientService, AccountsUpdateLabelsRequest, UInt64, UInt64)
Constructs a new Updatelabels request.
Declaration
public UpdatelabelsRequest(IClientService service, AccountsUpdateLabelsRequest body, ulong merchantId, ulong accountId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AccountsUpdateLabelsRequest | body | |
System.UInt64 | merchantId | |
System.UInt64 | accountId |
Properties
AccountId
The ID of the account whose labels are updated.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual ulong AccountId { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountsUpdateLabelsResponse>.HttpMethod
MerchantId
The ID of the managing account.
Declaration
[RequestParameter("merchantId", RequestParameterType.Path)]
public virtual ulong MerchantId { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountsUpdateLabelsResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountsUpdateLabelsResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountsUpdateLabelsResponse>.GetBody()
InitParameters()
Initializes Updatelabels parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.ShoppingContent.v2_1.ShoppingContentBaseServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountsUpdateLabelsResponse>.InitParameters()