Class LicenseAssignmentsResource.InsertRequest
Assign a license.
Inheritance
LicenseAssignmentsResource.InsertRequest
Inherited Members
Namespace: Google.Apis.Licensing.v1
Assembly: Google.Apis.Licensing.v1.dll
Syntax
public class LicenseAssignmentsResource.InsertRequest : LicensingBaseServiceRequest<LicenseAssignment>, IClientServiceRequest<LicenseAssignment>, IClientServiceRequest
Constructors
InsertRequest(IClientService, LicenseAssignmentInsert, string, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, LicenseAssignmentInsert body, string productId, string skuId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
LicenseAssignmentInsert | body | |
string | productId | |
string | skuId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Licensing.v1.Data.LicenseAssignment>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Licensing.v1.Data.LicenseAssignment>.MethodName
ProductId
A product's unique identifier. For more information about products in this version of the API, see Products and SKUs.
Declaration
[RequestParameter("productId", RequestParameterType.Path)]
public virtual string ProductId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Licensing.v1.Data.LicenseAssignment>.RestPath
SkuId
A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.
Declaration
[RequestParameter("skuId", RequestParameterType.Path)]
public virtual string SkuId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Licensing.v1.Data.LicenseAssignment>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()