Show / Hide Table of Contents

Class IndexingResource.DatasourcesResource.ItemsResource.PushRequest

Pushes an item onto a queue for later polling and updating. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Item>
CloudSearchBaseServiceRequest<Item>
IndexingResource.DatasourcesResource.ItemsResource.PushRequest
Implements
IClientServiceRequest<Item>
IClientServiceRequest
Inherited Members
CloudSearchBaseServiceRequest<Item>.Xgafv
CloudSearchBaseServiceRequest<Item>.AccessToken
CloudSearchBaseServiceRequest<Item>.Alt
CloudSearchBaseServiceRequest<Item>.Callback
CloudSearchBaseServiceRequest<Item>.Fields
CloudSearchBaseServiceRequest<Item>.Key
CloudSearchBaseServiceRequest<Item>.OauthToken
CloudSearchBaseServiceRequest<Item>.PrettyPrint
CloudSearchBaseServiceRequest<Item>.QuotaUser
CloudSearchBaseServiceRequest<Item>.UploadType
CloudSearchBaseServiceRequest<Item>.UploadProtocol
ClientServiceRequest<Item>.Execute()
ClientServiceRequest<Item>.ExecuteAsStream()
ClientServiceRequest<Item>.ExecuteAsync()
ClientServiceRequest<Item>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Item>.ExecuteAsStreamAsync()
ClientServiceRequest<Item>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Item>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Item>.GenerateRequestUri()
ClientServiceRequest<Item>.GetDefaultETagAction(String)
ClientServiceRequest<Item>.ETagAction
ClientServiceRequest<Item>.ModifyRequest
ClientServiceRequest<Item>.RequestParameters
ClientServiceRequest<Item>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class PushRequest : CloudSearchBaseServiceRequest<Item>, IClientServiceRequest<Item>, IClientServiceRequest

Constructors

PushRequest(IClientService, PushItemRequest, String)

Constructs a new Push request.

Declaration
public PushRequest(IClientService service, PushItemRequest body, string name)
Parameters
Type Name Description
IClientService service
PushItemRequest body
System.String name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.MethodName

Name

Name of the item to push into the indexing queue. Format: datasources/{source_id}/items/{ID} This is a required field. The maximum length is 1536 characters.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.GetBody()

InitParameters()

Initializes Push parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudSearch.v1.CloudSearchBaseServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top