Class AccountsResource.ReturncarrierResource.PatchRequest
Updates a return carrier in the merchant account.
Inheritance
System.Object
AccountsResource.ReturncarrierResource.PatchRequest
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 PatchRequest : ShoppingContentBaseServiceRequest<AccountReturnCarrier>, IClientServiceRequest<AccountReturnCarrier>, IClientServiceRequest
Constructors
PatchRequest(IClientService, AccountReturnCarrier, Int64, Int64)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, AccountReturnCarrier body, long accountId, long carrierAccountId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AccountReturnCarrier | body | |
System.Int64 | accountId | |
System.Int64 | 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 |
---|---|
System.Int64 |
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 |
---|---|
System.Int64 |
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.AccountReturnCarrier>.HttpMethod
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.AccountReturnCarrier>.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.AccountReturnCarrier>.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.AccountReturnCarrier>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.ShoppingContent.v2_1.ShoppingContentBaseServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountReturnCarrier>.InitParameters()