Class LicenseAssignmentsResource.ListForProductRequest
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.ListForProductRequest : LicensingBaseServiceRequest<LicenseAssignmentList>, IClientServiceRequest<LicenseAssignmentList>, IClientServiceRequest
Constructors
ListForProductRequest(IClientService, string, string)
Constructs a new ListForProduct request.
Declaration
public ListForProductRequest(IClientService service, string productId, string customerId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | productId | |
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
Methods
InitParameters()
Initializes ListForProduct parameter list.
Declaration
protected override void InitParameters()