Show / Hide Table of Contents

Class LicenseAssignmentsResource.InsertRequest

Assign a license.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<LicenseAssignment>
LicensingBaseServiceRequest<LicenseAssignment>
LicenseAssignmentsResource.InsertRequest
Implements
IClientServiceRequest<LicenseAssignment>
IClientServiceRequest
Inherited Members
LicensingBaseServiceRequest<LicenseAssignment>.Xgafv
LicensingBaseServiceRequest<LicenseAssignment>.AccessToken
LicensingBaseServiceRequest<LicenseAssignment>.Alt
LicensingBaseServiceRequest<LicenseAssignment>.Callback
LicensingBaseServiceRequest<LicenseAssignment>.Fields
LicensingBaseServiceRequest<LicenseAssignment>.Key
LicensingBaseServiceRequest<LicenseAssignment>.OauthToken
LicensingBaseServiceRequest<LicenseAssignment>.PrettyPrint
LicensingBaseServiceRequest<LicenseAssignment>.QuotaUser
LicensingBaseServiceRequest<LicenseAssignment>.UploadType
LicensingBaseServiceRequest<LicenseAssignment>.UploadProtocol
ClientServiceRequest<LicenseAssignment>.Execute()
ClientServiceRequest<LicenseAssignment>.ExecuteAsStream()
ClientServiceRequest<LicenseAssignment>.ExecuteAsync()
ClientServiceRequest<LicenseAssignment>.ExecuteAsync(CancellationToken)
ClientServiceRequest<LicenseAssignment>.ExecuteAsStreamAsync()
ClientServiceRequest<LicenseAssignment>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<LicenseAssignment>.CreateRequest(bool?)
ClientServiceRequest<LicenseAssignment>.GenerateRequestUri()
ClientServiceRequest<LicenseAssignment>.GetDefaultETagAction(string)
ClientServiceRequest<LicenseAssignment>.ETagAction
ClientServiceRequest<LicenseAssignment>.ModifyRequest
ClientServiceRequest<LicenseAssignment>.ValidateParameters
ClientServiceRequest<LicenseAssignment>.ApiVersion
ClientServiceRequest<LicenseAssignment>.RequestParameters
ClientServiceRequest<LicenseAssignment>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<LicenseAssignment>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<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
ClientServiceRequest<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
ClientServiceRequest<LicenseAssignment>.GetBody()

InitParameters()

Initializes Insert parameter list.

Declaration
protected override void InitParameters()
Overrides
LicensingBaseServiceRequest<LicenseAssignment>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX