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
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Item>
CloudSearchBaseServiceRequest<Item>
IndexingResource.DatasourcesResource.ItemsResource.PushRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Item>
Google.Apis.Requests.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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.Item>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.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
Google.Apis.Services.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

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top