public static interface RegionsServiceGrpc.AsyncService
Manages regions configuration. This API defines the following resource model:
- Region
Methods
createRegion(CreateRegionRequest request, StreamObserver<Region> responseObserver)
public default void createRegion(CreateRegionRequest request, StreamObserver<Region> responseObserver)
Creates a region definition in your Merchant Center account. Executing this method requires admin access.
Parameters | |
---|---|
Name | Description |
request |
CreateRegionRequest |
responseObserver |
io.grpc.stub.StreamObserver<Region> |
deleteRegion(DeleteRegionRequest request, StreamObserver<Empty> responseObserver)
public default void deleteRegion(DeleteRegionRequest request, StreamObserver<Empty> responseObserver)
Deletes a region definition from your Merchant Center account. Executing this method requires admin access.
Parameters | |
---|---|
Name | Description |
request |
DeleteRegionRequest |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |
getRegion(GetRegionRequest request, StreamObserver<Region> responseObserver)
public default void getRegion(GetRegionRequest request, StreamObserver<Region> responseObserver)
Retrieves a region defined in your Merchant Center account.
Parameters | |
---|---|
Name | Description |
request |
GetRegionRequest |
responseObserver |
io.grpc.stub.StreamObserver<Region> |
listRegions(ListRegionsRequest request, StreamObserver<ListRegionsResponse> responseObserver)
public default void listRegions(ListRegionsRequest request, StreamObserver<ListRegionsResponse> responseObserver)
Lists the regions in your Merchant Center account.
Parameters | |
---|---|
Name | Description |
request |
ListRegionsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListRegionsResponse> |
updateRegion(UpdateRegionRequest request, StreamObserver<Region> responseObserver)
public default void updateRegion(UpdateRegionRequest request, StreamObserver<Region> responseObserver)
Updates a region definition in your Merchant Center account. Executing this method requires admin access.
Parameters | |
---|---|
Name | Description |
request |
UpdateRegionRequest |
responseObserver |
io.grpc.stub.StreamObserver<Region> |