Class ServiceaccountkeysResource.InsertRequest
Generates new credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. Only the type of the key should be populated in the resource to be inserted.
Inheritance
ServiceaccountkeysResource.InsertRequest
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class ServiceaccountkeysResource.InsertRequest : AndroidEnterpriseBaseServiceRequest<ServiceAccountKey>, IClientServiceRequest<ServiceAccountKey>, IClientServiceRequest
Constructors
InsertRequest(IClientService, ServiceAccountKey, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, ServiceAccountKey body, string enterpriseId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ServiceAccountKey | 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 Insert parameter list.
Declaration
protected override void InitParameters()