Class PublicationsResource.ReadersResource.UpdateEntitlementsRequest
Updates the reader entitlements for a publication reader. The entire reader entitlements will be overwritten by the new reader entitlements in the payload, like a PUT. - Returns PERMISSION_DENIED if the caller does not have access. - Returns NOT_FOUND if the reader does not exist.
Inheritance
PublicationsResource.ReadersResource.UpdateEntitlementsRequest
Inherited Members
Namespace: Google.Apis.SubscriptionLinking.v1
Assembly: Google.Apis.SubscriptionLinking.v1.dll
Syntax
public class PublicationsResource.ReadersResource.UpdateEntitlementsRequest : SubscriptionLinkingBaseServiceRequest<ReaderEntitlements>, IClientServiceRequest<ReaderEntitlements>, IClientServiceRequest
Constructors
UpdateEntitlementsRequest(IClientService, ReaderEntitlements, string)
Constructs a new UpdateEntitlements request.
Declaration
public UpdateEntitlementsRequest(IClientService service, ReaderEntitlements body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ReaderEntitlements | body | |
string | name |
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
Name
Output only. The resource name of the singleton.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UpdateMask
Optional. The list of fields to update. Defaults to all fields.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes UpdateEntitlements parameter list.
Declaration
protected override void InitParameters()