Class CustomerServiceGrpc.CustomerServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<CustomerServiceGrpc.CustomerServiceStub>
-
- com.google.ads.googleads.v10.services.CustomerServiceGrpc.CustomerServiceStub
-
- Enclosing class:
- CustomerServiceGrpc
public static final class CustomerServiceGrpc.CustomerServiceStub extends io.grpc.stub.AbstractAsyncStub<CustomerServiceGrpc.CustomerServiceStub>
Service to manage customers.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CustomerServiceGrpc.CustomerServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidcreateCustomerClient(CreateCustomerClientRequest request, io.grpc.stub.StreamObserver<CreateCustomerClientResponse> responseObserver)Creates a new client under manager.voidlistAccessibleCustomers(ListAccessibleCustomersRequest request, io.grpc.stub.StreamObserver<ListAccessibleCustomersResponse> responseObserver)Returns resource names of customers directly accessible by the user authenticating the call.voidmutateCustomer(MutateCustomerRequest request, io.grpc.stub.StreamObserver<MutateCustomerResponse> responseObserver)Updates a customer.
-
-
-
Method Detail
-
build
protected CustomerServiceGrpc.CustomerServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<CustomerServiceGrpc.CustomerServiceStub>
-
mutateCustomer
public void mutateCustomer(MutateCustomerRequest request, io.grpc.stub.StreamObserver<MutateCustomerResponse> responseObserver)
Updates a customer. Operation statuses are returned. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldMaskError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() [UrlFieldError]()
-
listAccessibleCustomers
public void listAccessibleCustomers(ListAccessibleCustomersRequest request, io.grpc.stub.StreamObserver<ListAccessibleCustomersResponse> responseObserver)
Returns resource names of customers directly accessible by the user authenticating the call. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
-
createCustomerClient
public void createCustomerClient(CreateCustomerClientRequest request, io.grpc.stub.StreamObserver<CreateCustomerClientResponse> responseObserver)
Creates a new client under manager. The new client customer is returned. List of thrown errors: [AccessInvitationError]() [AuthenticationError]() [AuthorizationError]() [CurrencyCodeError]() [HeaderError]() [InternalError]() [ManagerLinkError]() [QuotaError]() [RequestError]() [StringLengthError]() [TimeZoneError]()
-
-