Class LicenseAssignmentsResource.GetRequest
Get a specific user's license by product SKU.
Inheritance
Inherited Members
Namespace: Google.Apis.Licensing.v1
Assembly: Google.Apis.Licensing.v1.dll
Syntax
public class LicenseAssignmentsResource.GetRequest : LicensingBaseServiceRequest<LicenseAssignment>, IClientServiceRequest<LicenseAssignment>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string productId, string skuId, string userId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | productId | |
string | skuId | |
string | userId |
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
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
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 |
UserId
The user's current primary email address. If the user's email address changes, use the new email address
in your API requests. Since a userId
is subject to change, do not use a userId
value as a key for
persistent data. This key could break if the current user's email address changes. If the userId
is
suspended, the license status changes.
Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual string UserId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()