public static final class DataSourcesServiceGrpc.DataSourcesServiceBlockingStub extends AbstractBlockingStub<DataSourcesServiceGrpc.DataSourcesServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service DataSourcesService.
Service to manage primary, supplemental, inventory and other data sources.
See more in the Merchant
Center help article.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
DataSourcesServiceGrpc.DataSourcesServiceBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
protected DataSourcesServiceGrpc.DataSourcesServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public DataSource createDataSource(CreateDataSourceRequest request)
Creates the new data source configuration for the given account.
public Empty deleteDataSource(DeleteDataSourceRequest request)
Deletes a data source from your Merchant Center account.
Returns |
Type |
Description |
Empty |
|
public Empty fetchDataSource(FetchDataSourceRequest request)
Performs the data fetch immediately (even outside fetch schedule) on a
data source from your Merchant Center Account. If you need to call
this method more than once per day, you should use the Products service to
update your product data instead.
This method only works on data sources with a file input set.
Returns |
Type |
Description |
Empty |
|
public DataSource getDataSource(GetDataSourceRequest request)
Retrieves the data source configuration for the given account.
public ListDataSourcesResponse listDataSources(ListDataSourcesRequest request)
Lists the configurations for data sources for the given account.
public DataSource updateDataSource(UpdateDataSourceRequest request)
Updates the existing data source configuration. The fields that are
set in the update mask but not provided in the resource will be deleted.