Show / Hide Table of Contents

Class AccountsResource.ProgramsResource.EnableRequest

Enable participation in the specified program for the account. Executing this method requires admin access.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Program>
MerchantBaseServiceRequest<Program>
AccountsResource.ProgramsResource.EnableRequest
Implements
IClientServiceRequest<Program>
IClientServiceRequest
Inherited Members
MerchantBaseServiceRequest<Program>.Xgafv
MerchantBaseServiceRequest<Program>.AccessToken
MerchantBaseServiceRequest<Program>.Alt
MerchantBaseServiceRequest<Program>.Callback
MerchantBaseServiceRequest<Program>.Fields
MerchantBaseServiceRequest<Program>.Key
MerchantBaseServiceRequest<Program>.OauthToken
MerchantBaseServiceRequest<Program>.PrettyPrint
MerchantBaseServiceRequest<Program>.QuotaUser
MerchantBaseServiceRequest<Program>.UploadType
MerchantBaseServiceRequest<Program>.UploadProtocol
ClientServiceRequest<Program>.Execute()
ClientServiceRequest<Program>.ExecuteAsStream()
ClientServiceRequest<Program>.ExecuteAsync()
ClientServiceRequest<Program>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Program>.ExecuteAsStreamAsync()
ClientServiceRequest<Program>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Program>.CreateRequest(bool?)
ClientServiceRequest<Program>.GenerateRequestUri()
ClientServiceRequest<Program>.GetDefaultETagAction(string)
ClientServiceRequest<Program>.ETagAction
ClientServiceRequest<Program>.ModifyRequest
ClientServiceRequest<Program>.ValidateParameters
ClientServiceRequest<Program>.ApiVersion
ClientServiceRequest<Program>.RequestParameters
ClientServiceRequest<Program>.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.Merchant.accounts_v1beta
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class AccountsResource.ProgramsResource.EnableRequest : MerchantBaseServiceRequest<Program>, IClientServiceRequest<Program>, IClientServiceRequest

Constructors

EnableRequest(IClientService, EnableProgramRequest, string)

Constructs a new Enable request.

Declaration
public EnableRequest(IClientService service, EnableProgramRequest body, string name)
Parameters
Type Name Description
IClientService service
EnableProgramRequest body
string name

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Required. The name of the program for which to enable participation for the given account. Format: accounts/{account}/programs/{program}

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<Program>.RestPath

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Enable parameter list.

Declaration
protected override void InitParameters()
Overrides
MerchantBaseServiceRequest<Program>.InitParameters()

Implements

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