Send feedback
Class Instance (2.18.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.18.1 keyboard_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 )
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 2024-12-19 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 2024-12-19 UTC."],[],[]]