Class AccountsResource.ReturncarrierResource.PatchRequest
Updates a return carrier in the merchant account.
Inheritance
AccountsResource.ReturncarrierResource.PatchRequest
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class AccountsResource.ReturncarrierResource.PatchRequest : ShoppingContentBaseServiceRequest<AccountReturnCarrier>, IClientServiceRequest<AccountReturnCarrier>, IClientServiceRequest
Constructors
PatchRequest(IClientService, AccountReturnCarrier, long, long)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, AccountReturnCarrier body, long accountId, long carrierAccountId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AccountReturnCarrier | body | |
long | accountId | |
long | carrierAccountId |
Properties
AccountId
Required. The Merchant Center Account Id under which the Return Carrier is to be linked.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual long AccountId { get; }
Property Value
Type | Description |
---|---|
long |
CarrierAccountId
Required. The Google-provided unique carrier ID, used to update the resource.
Declaration
[RequestParameter("carrierAccountId", RequestParameterType.Path)]
public virtual long CarrierAccountId { get; }
Property Value
Type | Description |
---|---|
long |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()