我一直在使用谷歌云平台最近开始和在各种套餐来了,如同为什么谷歌云中不同的包或命名约定?
Storage storage = storageBilder.build();
storage.get("bucketname", Storage.BucketGetOption.fields())
Storage.BucketGetOption.fields();
如果我使用上面的代码我面临The method get(String, Storage.BucketGetOption) is undefined for the type Storage
。
它实际上是使用存储从下面包
com.google.api.services.storage.Storage storage = storageBilder.build();
(i.still.do.not.know.this.)storage.get("bucketname", Storage.BucketGetOption.fields())
com.google.cloud.storage.Storage.BucketGetOption.fields();
为什么这个存储以各种方式来实现? com.google.api
和com.google.cloud
有何区别或使用?
有人请解释吗?