Class BuyersResource.ClientsResource.UsersResource.ActivateRequest
Activates an existing client user. The state of the client user will be updated from "INACTIVE" to "ACTIVE". This method has no effect if the client user is already in "ACTIVE" state. An error will be returned if the client user to activate is still in "INVITED" state.
Inheritance
BuyersResource.ClientsResource.UsersResource.ActivateRequest
Inherited Members
Namespace: Google.Apis.AuthorizedBuyersMarketplace.v1
Assembly: Google.Apis.AuthorizedBuyersMarketplace.v1.dll
Syntax
public class BuyersResource.ClientsResource.UsersResource.ActivateRequest : AuthorizedBuyersMarketplaceBaseServiceRequest<ClientUser>, IClientServiceRequest<ClientUser>, IClientServiceRequest
Constructors
ActivateRequest(IClientService, ActivateClientUserRequest, string)
Constructs a new Activate request.
Declaration
public ActivateRequest(IClientService service, ActivateClientUserRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ActivateClientUserRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. Format: buyers/{buyerAccountId}/clients/{clientAccountId}/clientUsers/{userId}
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Activate parameter list.
Declaration
protected override void InitParameters()