public List < InstanceConfig > listInstanceConfigs ( ) { // [START instance_admin_client_list_configs] List < InstanceConfig > configs = Lists . newArrayList ( instanceAdminClient . listInstanceConfigs ( Options . pageSize ( 1 ) ) . iterateAll ( ) ) ; // [END instance_admin_client_list_configs] return configs ; }
Example to list instance configs .