Class CustomerServiceGrpc.CustomerServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<CustomerServiceGrpc.CustomerServiceStub>
com.google.ads.googleads.v18.services.CustomerServiceGrpc.CustomerServiceStub
Enclosing class:
CustomerServiceGrpc

public static final class CustomerServiceGrpc.CustomerServiceStub extends io.grpc.stub.AbstractAsyncStub<CustomerServiceGrpc.CustomerServiceStub>
A stub to allow clients to do asynchronous rpc calls to service CustomerService.
 Service to manage customers.
 
  • Method Details

    • build

      protected CustomerServiceGrpc.CustomerServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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]()