Show / Hide Table of Contents

Class AccountsResource.LabelsResource.CreateRequest

Creates a new label, not assigned to any account.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<AccountLabel>
ShoppingContentBaseServiceRequest<AccountLabel>
AccountsResource.LabelsResource.CreateRequest
Implements
IClientServiceRequest<AccountLabel>
IClientServiceRequest
Inherited Members
ShoppingContentBaseServiceRequest<AccountLabel>.Xgafv
ShoppingContentBaseServiceRequest<AccountLabel>.AccessToken
ShoppingContentBaseServiceRequest<AccountLabel>.Alt
ShoppingContentBaseServiceRequest<AccountLabel>.Callback
ShoppingContentBaseServiceRequest<AccountLabel>.Fields
ShoppingContentBaseServiceRequest<AccountLabel>.Key
ShoppingContentBaseServiceRequest<AccountLabel>.OauthToken
ShoppingContentBaseServiceRequest<AccountLabel>.PrettyPrint
ShoppingContentBaseServiceRequest<AccountLabel>.QuotaUser
ShoppingContentBaseServiceRequest<AccountLabel>.UploadType
ShoppingContentBaseServiceRequest<AccountLabel>.UploadProtocol
ClientServiceRequest<AccountLabel>.Execute()
ClientServiceRequest<AccountLabel>.ExecuteAsStream()
ClientServiceRequest<AccountLabel>.ExecuteAsync()
ClientServiceRequest<AccountLabel>.ExecuteAsync(CancellationToken)
ClientServiceRequest<AccountLabel>.ExecuteAsStreamAsync()
ClientServiceRequest<AccountLabel>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<AccountLabel>.CreateRequest(bool?)
ClientServiceRequest<AccountLabel>.GenerateRequestUri()
ClientServiceRequest<AccountLabel>.GetDefaultETagAction(string)
ClientServiceRequest<AccountLabel>.ETagAction
ClientServiceRequest<AccountLabel>.ModifyRequest
ClientServiceRequest<AccountLabel>.ValidateParameters
ClientServiceRequest<AccountLabel>.ApiVersion
ClientServiceRequest<AccountLabel>.RequestParameters
ClientServiceRequest<AccountLabel>.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.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class AccountsResource.LabelsResource.CreateRequest : ShoppingContentBaseServiceRequest<AccountLabel>, IClientServiceRequest<AccountLabel>, IClientServiceRequest

Constructors

CreateRequest(IClientService, AccountLabel, long)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, AccountLabel body, long accountId)
Parameters
Type Name Description
IClientService service
AccountLabel body
long accountId

Properties

AccountId

Required. The id of the account this label belongs to.

Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual long AccountId { get; }
Property Value
Type Description
long

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<AccountLabel>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<AccountLabel>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<AccountLabel>.RestPath

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
ShoppingContentBaseServiceRequest<AccountLabel>.InitParameters()

Implements

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