Class BuyersResource.ClientsResource.UsersResource.DeactivateRequest
Deactivates an existing client user. The state of the client user will be updated from "ACTIVE" to "INACTIVE". This method has no effect if the client user is already in "INACTIVE" state. An error will be returned if the client user to deactivate is still in "INVITED" state.
Inheritance
BuyersResource.ClientsResource.UsersResource.DeactivateRequest
Inherited Members
Namespace: Google.Apis.AuthorizedBuyersMarketplace.v1alpha
Assembly: Google.Apis.AuthorizedBuyersMarketplace.v1alpha.dll
Syntax
public class BuyersResource.ClientsResource.UsersResource.DeactivateRequest : AuthorizedBuyersMarketplaceBaseServiceRequest<ClientUser>, IClientServiceRequest<ClientUser>, IClientServiceRequest
Constructors
DeactivateRequest(IClientService, DeactivateClientUserRequest, string)
Constructs a new Deactivate request.
Declaration
public DeactivateRequest(IClientService service, DeactivateClientUserRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DeactivateClientUserRequest | 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 Deactivate parameter list.
Declaration
protected override void InitParameters()