Class Instance (2.15.5)
Version 2.15.5keyboard_arrow_down
public class Instance extends InstanceInfo
Methods
createDatabase(String arg0, Iterable<String> arg1)
public OperationFuture<Database , CreateDatabaseMetadata > createDatabase ( String arg0 , Iterable<String> arg1 )
delete()
getBackup(String arg0)
public Backup getBackup ( String arg0 )
Parameter
Name
Description
arg0
String
Returns
Type
Description
Backup
getDatabase(String arg0)
public Database getDatabase ( String arg0 )
Parameter
Name
Description
arg0
String
getIAMPolicy()
public Policy getIAMPolicy ()
Returns
Type
Description
com.google.cloud.Policy
listBackupOperations(Options.ListOption[] arg0)
public Page<Operation> listBackupOperations ( Options . ListOption [] arg0 )
listBackups(Options.ListOption[] arg0)
public Page<Backup> listBackups ( Options . ListOption [] arg0 )
listDatabaseOperations(Options.ListOption[] arg0)
public Page<Operation> listDatabaseOperations ( Options . ListOption [] arg0 )
listDatabases(Options.ListOption[] arg0)
public Page<Database> listDatabases ( Options . ListOption [] arg0 )
reload()
setIAMPolicy(Policy arg0)
public Policy setIAMPolicy ( Policy arg0 )
Parameter
Name
Description
arg0
com.google.cloud.Policy
Returns
Type
Description
com.google.cloud.Policy
testIAMPermissions(Iterable<String> arg0)
public Iterable<String> testIAMPermissions ( Iterable<String> arg0 )
toBuilder()
public Instance . Builder toBuilder ()
Overrides
update(InstanceInfo.InstanceField[] arg0)
public OperationFuture<Instance , UpdateInstanceMetadata > update ( InstanceInfo . InstanceField [] arg0 )
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-11-19 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-11-19 UTC."],[],[]]