Class LicenseAssignmentsResource.ListForProductAndSkuRequest
List all users assigned licenses for a specific product SKU.
Inheritance
Inherited Members
Namespace: Google.Apis.Licensing.v1
Assembly: Google.Apis.Licensing.v1.dll
Syntax
public class LicenseAssignmentsResource.ListForProductAndSkuRequest : LicensingBaseServiceRequest<LicenseAssignmentList>, IClientServiceRequest<LicenseAssignmentList>, IClientServiceRequest
Constructors
ListForProductAndSkuRequest(IClientService, string, string, string)
Constructs a new ListForProductAndSku request.
Declaration
public ListForProductAndSkuRequest(IClientService service, string productId, string skuId, string customerId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | productId | |
string | skuId | |
string | customerId |
Properties
CustomerId
The customer's unique ID as defined in the Admin console, such as C00000000
. If the customer is
suspended, the server returns an error.
Declaration
[RequestParameter("customerId", RequestParameterType.Query)]
public virtual string CustomerId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MaxResults
The maxResults
query string determines how many entries are returned on each page of a large response.
This is an optional parameter. The value must be a positive number.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual long? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
long? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageToken
Token to fetch the next page of data. The maxResults
query string is related to the pageToken
since
maxResults
determines how many entries are returned on each page. This is an optional query string. If
not specified, the server returns the first page.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |
Methods
InitParameters()
Initializes ListForProductAndSku parameter list.
Declaration
protected override void InitParameters()