Class ItemsResource.PublishRequest
Publishes an item.
Inheritance
Inherited Members
Namespace: Google.Apis.Chromewebstore.v1_1
Assembly: Google.Apis.Chromewebstore.v1_1.dll
Syntax
public class ItemsResource.PublishRequest : ChromewebstoreBaseServiceRequest<Item2>, IClientServiceRequest<Item2>, IClientServiceRequest
Constructors
PublishRequest(IClientService, PublishRequest, string)
Constructs a new Publish request.
Declaration
public PublishRequest(IClientService service, PublishRequest body, string itemId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| PublishRequest | body | |
| string | itemId |
Properties
DeployPercentage
The deploy percentage you want to set for your item. Valid values are [0, 100]. If set to any number less than 100, only that many percentage of users will be allowed to get the update.
Declaration
[RequestParameter("deployPercentage", RequestParameterType.Query)]
public virtual int? DeployPercentage { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
ItemId
The ID of the item to publish.
Declaration
[RequestParameter("itemId", RequestParameterType.Path)]
public virtual string ItemId { get; }
Property Value
| Type | Description |
|---|---|
| string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
PublishTarget
Provide defined publishTarget in URL (case sensitive): publishTarget="trustedTesters" or publishTarget="default". Defaults to publishTarget="default".
Declaration
[RequestParameter("publishTarget", RequestParameterType.Query)]
public virtual string PublishTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
ReviewExemption
Optional. The caller request to exempt the review and directly publish because the update is within the list that we can automatically validate. The API will check if the exemption can be granted using real time data.
Declaration
[RequestParameter("reviewExemption", RequestParameterType.Query)]
public virtual bool? ReviewExemption { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Publish parameter list.
Declaration
protected override void InitParameters()