Class SecretManagerServiceStub (2.9.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 2.9.0keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   abstract   class  SecretManagerServiceStub   implements   BackgroundResource  
   
  Base stub class for the SecretManagerService service API.
 
This class is for advanced usage and reflects the underlying API directly.
 
  
  
  
  Constructors
   
   
  SecretManagerServiceStub() 
  
    
public   SecretManagerServiceStub ()  
   
  Methods
   
   
  accessSecretVersionCallable() 
  
    
public   UnaryCallable<AccessSecretVersionRequest , AccessSecretVersionResponse >  accessSecretVersionCallable ()  
   
  Returns 
  
   
  addSecretVersionCallable() 
  
    
public   UnaryCallable<AddSecretVersionRequest , SecretVersion >  addSecretVersionCallable ()  
   
  Returns 
  
   
  close() 
  
    
public   abstract   void   close ()  
   
   
  createSecretCallable() 
  
    
public   UnaryCallable<CreateSecretRequest , Secret >  createSecretCallable ()  
   
  Returns 
  
   
  deleteSecretCallable() 
  
    
public   UnaryCallable<DeleteSecretRequest , Empty >  deleteSecretCallable ()  
   
  Returns 
  
   
  destroySecretVersionCallable() 
  
    
public   UnaryCallable<DestroySecretVersionRequest , SecretVersion >  destroySecretVersionCallable ()  
   
  Returns 
  
   
  disableSecretVersionCallable() 
  
    
public   UnaryCallable<DisableSecretVersionRequest , SecretVersion >  disableSecretVersionCallable ()  
   
  Returns 
  
   
  enableSecretVersionCallable() 
  
    
public   UnaryCallable<EnableSecretVersionRequest , SecretVersion >  enableSecretVersionCallable ()  
   
  Returns 
  
   
  getIamPolicyCallable() 
  
    
public   UnaryCallable<GetIamPolicyRequest , Policy >  getIamPolicyCallable ()  
   
  Returns 
  
    
      
        Type  
        Description  
       
      
        UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy > 
         
       
     
  
   
  getSecretCallable() 
  
    
public   UnaryCallable<GetSecretRequest , Secret >  getSecretCallable ()  
   
  Returns 
  
   
  getSecretVersionCallable() 
  
    
public   UnaryCallable<GetSecretVersionRequest , SecretVersion >  getSecretVersionCallable ()  
   
  Returns 
  
   
  listSecretVersionsCallable() 
  
    
public   UnaryCallable<ListSecretVersionsRequest , ListSecretVersionsResponse >  listSecretVersionsCallable ()  
   
  Returns 
  
   
  listSecretVersionsPagedCallable() 
  
    
public   UnaryCallable<ListSecretVersionsRequest , SecretManagerServiceClient . ListSecretVersionsPagedResponse >  listSecretVersionsPagedCallable ()  
   
  Returns 
  
   
  listSecretsCallable() 
  
    
public   UnaryCallable<ListSecretsRequest , ListSecretsResponse >  listSecretsCallable ()  
   
  Returns 
  
   
  listSecretsPagedCallable() 
  
    
public   UnaryCallable<ListSecretsRequest , SecretManagerServiceClient . ListSecretsPagedResponse >  listSecretsPagedCallable ()  
   
  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 > 
         
       
     
  
   
  updateSecretCallable() 
  
    
public   UnaryCallable<UpdateSecretRequest , Secret >  updateSecretCallable ()  
   
  Returns 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  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.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]