Class CustomerServiceGrpc.CustomerServiceFutureStub

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

public static final class CustomerServiceGrpc.CustomerServiceFutureStub extends io.grpc.stub.AbstractFutureStub<CustomerServiceGrpc.CustomerServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service CustomerService.
 Service to manage customers.
 
  • Method Details

    • build

      protected CustomerServiceGrpc.CustomerServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<CustomerServiceGrpc.CustomerServiceFutureStub>
    • mutateCustomer

      public com.google.common.util.concurrent.ListenableFuture<MutateCustomerResponse> mutateCustomer(MutateCustomerRequest request)
       Updates a customer. Operation statuses are returned.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [DatabaseError]()
         [FieldMaskError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
         [UrlFieldError]()
       
    • listAccessibleCustomers

      public com.google.common.util.concurrent.ListenableFuture<ListAccessibleCustomersResponse> listAccessibleCustomers(ListAccessibleCustomersRequest request)
       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 com.google.common.util.concurrent.ListenableFuture<CreateCustomerClientResponse> createCustomerClient(CreateCustomerClientRequest request)
       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]()