congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Storage$Objects$Delete.setIfMetagenerationNotMatch
Code IndexAdd Tabnine to your IDE (free)

How to use
setIfMetagenerationNotMatch
method
in
com.google.api.services.storage.Storage$Objects$Delete

Best Java code snippets using com.google.api.services.storage.Storage$Objects$Delete.setIfMetagenerationNotMatch (Showing top 3 results out of 315)

origin: com.google.gcloud/gcloud-java-storage

private Storage.Objects.Delete deleteRequest(StorageObject blob, Map<Option, ?> options)
  throws IOException {
 return storage.objects()
   .delete(blob.getBucket(), blob.getName())
   .setGeneration(blob.getGeneration())
   .setIfMetagenerationMatch(IF_METAGENERATION_MATCH.getLong(options))
   .setIfMetagenerationNotMatch(IF_METAGENERATION_NOT_MATCH.getLong(options))
   .setIfGenerationMatch(IF_GENERATION_MATCH.getLong(options))
   .setIfGenerationNotMatch(IF_GENERATION_NOT_MATCH.getLong(options));
}
origin: com.google.cloud/google-cloud-storage

private Storage.Objects.Delete deleteCall(StorageObject blob, Map<Option, ?> options)
  throws IOException {
 return storage
   .objects()
   .delete(blob.getBucket(), blob.getName())
   .setGeneration(blob.getGeneration())
   .setIfMetagenerationMatch(Option.IF_METAGENERATION_MATCH.getLong(options))
   .setIfMetagenerationNotMatch(Option.IF_METAGENERATION_NOT_MATCH.getLong(options))
   .setIfGenerationMatch(Option.IF_GENERATION_MATCH.getLong(options))
   .setIfGenerationNotMatch(Option.IF_GENERATION_NOT_MATCH.getLong(options))
   .setUserProject(Option.USER_PROJECT.getString(options));
}
origin: googleapis/google-cloud-java

private Storage.Objects.Delete deleteCall(StorageObject blob, Map<Option, ?> options)
  throws IOException {
 return storage
   .objects()
   .delete(blob.getBucket(), blob.getName())
   .setGeneration(blob.getGeneration())
   .setIfMetagenerationMatch(Option.IF_METAGENERATION_MATCH.getLong(options))
   .setIfMetagenerationNotMatch(Option.IF_METAGENERATION_NOT_MATCH.getLong(options))
   .setIfGenerationMatch(Option.IF_GENERATION_MATCH.getLong(options))
   .setIfGenerationNotMatch(Option.IF_GENERATION_NOT_MATCH.getLong(options))
   .setUserProject(Option.USER_PROJECT.getString(options));
}
com.google.api.services.storageStorage$Objects$DeletesetIfMetagenerationNotMatch

Popular methods of Storage$Objects$Delete

  • execute
  • queue
  • setIfGenerationMatch
  • setGeneration
  • setIfGenerationNotMatch
  • setIfMetagenerationMatch
  • setUserProject

Popular in Java

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • putExtra (Intent)
  • getApplicationContext (Context)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Reference (javax.naming)
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now