Send feedback
  
   
 
  
    
      Class FunctionServiceStub (2.13.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 2.13.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   abstract   class  FunctionServiceStub   implements   BackgroundResource  
   
  Base stub class for the FunctionService service API.
 
This class is for advanced usage and reflects the underlying API directly.
 
  
  
  
  Constructors
   
   
  FunctionServiceStub() 
  
    
public   FunctionServiceStub ()  
   
  Methods
   
   
  close() 
  
    
public   abstract   void   close ()  
   
   
  createFunctionCallable() 
  
    
public   UnaryCallable<CreateFunctionRequest , Operation >  createFunctionCallable ()  
   
  Returns 
  
   
  createFunctionOperationCallable() 
  
    
public   OperationCallable<CreateFunctionRequest , Function , OperationMetadata >  createFunctionOperationCallable ()  
   
  Returns 
  
   
  deleteFunctionCallable() 
  
    
public   UnaryCallable<DeleteFunctionRequest , Operation >  deleteFunctionCallable ()  
   
  Returns 
  
   
  deleteFunctionOperationCallable() 
  
    
public   OperationCallable<DeleteFunctionRequest , Empty , OperationMetadata >  deleteFunctionOperationCallable ()  
   
  Returns 
  
   
  generateDownloadUrlCallable() 
  
    
public   UnaryCallable<GenerateDownloadUrlRequest , GenerateDownloadUrlResponse >  generateDownloadUrlCallable ()  
   
  Returns 
  
   
  generateUploadUrlCallable() 
  
    
public   UnaryCallable<GenerateUploadUrlRequest , GenerateUploadUrlResponse >  generateUploadUrlCallable ()  
   
  Returns 
  
   
  getFunctionCallable() 
  
    
public   UnaryCallable<GetFunctionRequest , Function >  getFunctionCallable ()  
   
  Returns 
  
   
  getHttpJsonOperationsStub() 
  
    
public   OperationsStub   getHttpJsonOperationsStub ()  
   
  Returns 
  
   
  getIamPolicyCallable() 
  
    
public   UnaryCallable<GetIamPolicyRequest , Policy >  getIamPolicyCallable ()  
   
  Returns 
  
    
      
        Type  
        Description  
       
      
        UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy > 
         
       
     
  
   
  getOperationsStub() 
  
    
public   OperationsStub   getOperationsStub ()  
   
  Returns 
  
   
  listFunctionsCallable() 
  
    
public   UnaryCallable<ListFunctionsRequest , ListFunctionsResponse >  listFunctionsCallable ()  
   
  Returns 
  
   
  listFunctionsPagedCallable() 
  
    
public   UnaryCallable<ListFunctionsRequest , FunctionServiceClient . ListFunctionsPagedResponse >  listFunctionsPagedCallable ()  
   
  Returns 
  
   
  listLocationsCallable() 
  
    
public   UnaryCallable<ListLocationsRequest , ListLocationsResponse >  listLocationsCallable ()  
   
  Returns 
  
    
      
        Type  
        Description  
       
      
        UnaryCallable <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse > 
         
       
     
  
   
  listLocationsPagedCallable() 
  
    
public   UnaryCallable<ListLocationsRequest , FunctionServiceClient . ListLocationsPagedResponse >  listLocationsPagedCallable ()  
   
  Returns 
  
   
  listRuntimesCallable() 
  
    
public   UnaryCallable<ListRuntimesRequest , ListRuntimesResponse >  listRuntimesCallable ()  
   
  Returns 
  
   
  setIamPolicyCallable() 
  
    
public   UnaryCallable<SetIamPolicyRequest , Policy >  setIamPolicyCallable ()  
   
  Returns 
  
    
      
        Type  
        Description  
       
      
        UnaryCallable <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy > 
         
       
     
  
   
  testIamPermissionsCallable() 
  
    
public   UnaryCallable<TestIamPermissionsRequest , TestIamPermissionsResponse >  testIamPermissionsCallable ()  
   
  Returns 
  
    
      
        Type  
        Description  
       
      
        UnaryCallable <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse > 
         
       
     
  
   
  updateFunctionCallable() 
  
    
public   UnaryCallable<UpdateFunctionRequest , Operation >  updateFunctionCallable ()  
   
  Returns 
  
   
  updateFunctionOperationCallable() 
  
    
public   OperationCallable<UpdateFunctionRequest , Function , OperationMetadata >  updateFunctionOperationCallable ()  
   
  Returns 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]