Class DataLinkServiceGrpc.DataLinkServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<DataLinkServiceGrpc.DataLinkServiceBlockingV2Stub>
com.google.ads.googleads.v23.services.DataLinkServiceGrpc.DataLinkServiceBlockingV2Stub
- Enclosing class:
- DataLinkServiceGrpc
public static final class DataLinkServiceGrpc.DataLinkServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<DataLinkServiceGrpc.DataLinkServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service DataLinkService.
This service allows management of data links between a Google Ads customer and another data entity.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createDataLink(CreateDataLinkRequest request) Creates a data link.removeDataLink(RemoveDataLinkRequest request) Remove a data link.updateDataLink(UpdateDataLinkRequest request) Update a data link.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DataLinkServiceGrpc.DataLinkServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DataLinkServiceGrpc.DataLinkServiceBlockingV2Stub>
-
createDataLink
public CreateDataLinkResponse createDataLink(CreateDataLinkRequest request) throws io.grpc.StatusException Creates a data link. The requesting Google Ads account name and account ID will be shared with the third party (such as YouTube creators for video links) to whom you are creating the link with. Only customers on the allow-list can create data links. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [DataLinkError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]()
- Throws:
io.grpc.StatusException
-
removeDataLink
public RemoveDataLinkResponse removeDataLink(RemoveDataLinkRequest request) throws io.grpc.StatusException Remove a data link. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [DataLinkError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]()
- Throws:
io.grpc.StatusException
-
updateDataLink
public UpdateDataLinkResponse updateDataLink(UpdateDataLinkRequest request) throws io.grpc.StatusException Update a data link. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [DataLinkError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]()
- Throws:
io.grpc.StatusException
-