Show / Hide Table of Contents

Class LicenseAssignmentsResource.PatchRequest

Reassign a user's product SKU with a different SKU in the same product. This method supports patch semantics.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<LicenseAssignment>
LicensingBaseServiceRequest<LicenseAssignment>
LicenseAssignmentsResource.PatchRequest
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.PatchRequest : LicensingBaseServiceRequest<LicenseAssignment>, IClientServiceRequest<LicenseAssignment>, IClientServiceRequest

Constructors

PatchRequest(IClientService, LicenseAssignment, string, string, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, LicenseAssignment body, string productId, string skuId, string userId)
Parameters
Type Name Description
IClientService service
LicenseAssignment body
string productId
string skuId
string userId

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

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

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<LicenseAssignment>.GetBody()

InitParameters()

Initializes Patch parameter list.

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

Implements

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