Class StorageSourceClass
Stay organized with collections
Save and categorize content based on your preferences.
public class StorageSourceClass
If provided, get the source from this location in Google Cloud Storage. Location of the source in an archive file in Google Cloud Storage.
Inheritance
java.lang.Object >
StorageSourceClass
Constructors
StorageSourceClass()
public StorageSourceClass()
Methods
getBucket()
public String getBucket()
Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
Returns
getGeneration()
public Long getGeneration()
Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
Returns
getObject()
public String getObject()
Google Cloud Storage object containing the source.
Returns
setBucket(String value)
public void setBucket(String value)
Parameter
setGeneration(Long value)
public void setGeneration(Long value)
Parameter
setObject(String value)
public void setObject(String value)
Parameter
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 2021-09-29 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]