Class EnterprisesResource.SetAccountRequest
Sets the account that will be used to authenticate to the API as the enterprise.
Inheritance
EnterprisesResource.SetAccountRequest
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class EnterprisesResource.SetAccountRequest : AndroidEnterpriseBaseServiceRequest<EnterpriseAccount>, IClientServiceRequest<EnterpriseAccount>, IClientServiceRequest
Constructors
SetAccountRequest(IClientService, EnterpriseAccount, string)
Constructs a new SetAccount request.
Declaration
public SetAccountRequest(IClientService service, EnterpriseAccount body, string enterpriseId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
EnterpriseAccount | body | |
string | enterpriseId |
Properties
EnterpriseId
The ID of the enterprise.
Declaration
[RequestParameter("enterpriseId", RequestParameterType.Path)]
public virtual string EnterpriseId { get; }
Property Value
Type | Description |
---|---|
string |
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
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 SetAccount parameter list.
Declaration
protected override void InitParameters()