Show / Hide Table of Contents

Class AccountsResource.CustomersResource.ImportRequest

Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or domain before a TransferEntitlements call. If a linked Customer already exists and overwrite_if_exists is true, it will update that Customer's data. Possible error codes: * PERMISSION_DENIED: * The reseller account making the request is different from the reseller account in the API request. * You are not authorized to import the customer. See https://support.google.com/channelservices/answer/9759265 * NOT_FOUND: Cloud Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. * ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires an overwrite. Return value: The Customer.

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

Constructors

ImportRequest(IClientService, GoogleCloudChannelV1ImportCustomerRequest, string)

Constructs a new Import request.

Declaration
public ImportRequest(IClientService service, GoogleCloudChannelV1ImportCustomerRequest body, string parent)
Parameters
Type Name Description
IClientService service
GoogleCloudChannelV1ImportCustomerRequest body
string parent

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Parent

Required. The resource name of the reseller's account. Parent takes the format: accounts/{account_id} or 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<GoogleCloudChannelV1Customer>.RestPath

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Import parameter list.

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

Implements

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