Show / Hide Table of Contents

Class AccountsResource.ChannelPartnerLinksResource.ChannelPartnerRepricingConfigsResource.CreateRequest

Creates a ChannelPartnerRepricingConfig. Call this method to set modifications for a specific ChannelPartner's bill. You can only create configs if the RepricingConfig.effective_invoice_month is a future month. If needed, you can create a config for the current month, with some restrictions. When creating a config for a future month, make sure there are no existing configs for that RepricingConfig.effective_invoice_month. The following restrictions are for creating configs in the current month. * This functionality is reserved for recovering from an erroneous config, and should not be used for regular business cases. * The new config will not modify exports used with other configs. Changes to the config may be immediate, but may take up to 24 hours. * There is a limit of ten configs for any ChannelPartner or RepricingConfig.EntitlementGranularity.entitlement, for any RepricingConfig.effective_invoice_month. * The contained ChannelPartnerRepricingConfig.repricing_config value must be different from the value used in the current config for a ChannelPartner. 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 ChannelPartnerRepricingConfig 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 ChannelPartnerRepricingConfig resource, otherwise returns an error.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>
AccountsResource.ChannelPartnerLinksResource.ChannelPartnerRepricingConfigsResource.CreateRequest
Implements
IClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>
IClientServiceRequest
Inherited Members
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.Xgafv
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.AccessToken
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.Alt
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.Callback
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.Fields
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.Key
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.OauthToken
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.PrettyPrint
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.QuotaUser
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.UploadType
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.UploadProtocol
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.Execute()
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.ExecuteAsync()
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.ETagAction
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.ModifyRequest
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.ValidateParameters
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.ApiVersion
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.RequestParameters
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>.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.ChannelPartnerLinksResource.ChannelPartnerRepricingConfigsResource.CreateRequest : CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>, IClientServiceRequest<GoogleCloudChannelV1ChannelPartnerRepricingConfig>, IClientServiceRequest

Constructors

CreateRequest(IClientService, GoogleCloudChannelV1ChannelPartnerRepricingConfig, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, GoogleCloudChannelV1ChannelPartnerRepricingConfig body, string parent)
Parameters
Type Name Description
IClientService service
GoogleCloudChannelV1ChannelPartnerRepricingConfig body
string parent

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Parent

Required. The resource name of the ChannelPartner that will receive the repricing config. Parent uses the format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

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

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Create parameter list.

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

Implements

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