Class AccountsResource.CssProductInputsResource.InsertRequest
Uploads a CssProductInput to your CSS Center account. If an input with the same contentLanguage, identity, feedLabel and feedId already exists, this method replaces that entry. After inserting, updating, or deleting a CSS Product input, it may take several minutes before the processed CSS Product can be retrieved.
Inheritance
Inherited Members
Namespace: Google.Apis.Css.v1
Assembly: Google.Apis.Css.v1.dll
Syntax
public class AccountsResource.CssProductInputsResource.InsertRequest : CssBaseServiceRequest<CssProductInput>, IClientServiceRequest<CssProductInput>, IClientServiceRequest
Constructors
InsertRequest(IClientService, CssProductInput, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, CssProductInput body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CssProductInput | body | |
string | parent |
Properties
FeedId
Required. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet.
Declaration
[RequestParameter("feedId", RequestParameterType.Query)]
public virtual long? FeedId { get; set; }
Property Value
Type | Description |
---|---|
long? |
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
Parent
Required. The account where this CSS Product will be inserted. Format: accounts/{account}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()