Show / Hide Table of Contents

Class AccountsResource.CustomersResource.CustomerRepricingConfigsResource.PatchRequest

Updates a CustomerRepricingConfig. Call this method to set modifications for a specific customer's bill. This method overwrites the existing CustomerRepricingConfig. You can only update configs if the RepricingConfig.effective_invoice_month is a future month. To make changes to configs for the current month, use CreateCustomerRepricingConfig, taking note of its restrictions. You cannot update the RepricingConfig.effective_invoice_month. When updating a config in the future: * This config must already exist. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months. * NOT_FOUND: The CustomerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the updated CustomerRepricingConfig resource, otherwise returns an error.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>
CloudchannelBaseServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>
AccountsResource.CustomersResource.CustomerRepricingConfigsResource.PatchRequest
Implements
IClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>
IClientServiceRequest
Inherited Members
CloudchannelBaseServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.Xgafv
CloudchannelBaseServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.AccessToken
CloudchannelBaseServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.Alt
CloudchannelBaseServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.Callback
CloudchannelBaseServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.Fields
CloudchannelBaseServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.Key
CloudchannelBaseServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.OauthToken
CloudchannelBaseServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.PrettyPrint
CloudchannelBaseServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.QuotaUser
CloudchannelBaseServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.UploadType
CloudchannelBaseServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.UploadProtocol
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.Execute()
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.ExecuteAsync()
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.ETagAction
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.ModifyRequest
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.ValidateParameters
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.ApiVersion
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.RequestParameters
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Cloudchannel.v1
Assembly: Google.Apis.Cloudchannel.v1.dll
Syntax
public class AccountsResource.CustomersResource.CustomerRepricingConfigsResource.PatchRequest : CloudchannelBaseServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>, IClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>, IClientServiceRequest

Constructors

PatchRequest(IClientService, GoogleCloudChannelV1CustomerRepricingConfig, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, GoogleCloudChannelV1CustomerRepricingConfig body, string name)
Parameters
Type Name Description
IClientService service
GoogleCloudChannelV1CustomerRepricingConfig body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.MethodName

Name

Output only. Resource name of the CustomerRepricingConfig. Format: accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudchannelBaseServiceRequest<GoogleCloudChannelV1CustomerRepricingConfig>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX