public class DatasetInfo extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
DatasetInfo.Builder
A builder for
DatasetInfo objects. |
| Modifier and Type | Method and Description |
|---|---|
List<Acl> |
acl()
Returns the dataset's access control configuration.
|
static DatasetInfo.Builder |
builder(DatasetId datasetId)
Returns a builder for a
DatasetInfo object given it's identity. |
static DatasetInfo.Builder |
builder(String datasetId)
Returns a builder for a
DatasetInfo object given it's user-defined id. |
static DatasetInfo.Builder |
builder(String projectId,
String datasetId)
Returns a builder for the DatasetInfo object given it's user-defined project and dataset ids.
|
Long |
creationTime()
Returns the time when this dataset was created, in milliseconds since the epoch.
|
DatasetId |
datasetId()
Returns the dataset identity.
|
Long |
defaultTableLifetime()
Returns the default lifetime of all tables in the dataset, in milliseconds.
|
String |
description()
Returns a user-friendly description for the dataset.
|
boolean |
equals(Object obj) |
String |
etag()
Returns the hash of the dataset resource.
|
String |
friendlyName()
Returns a user-friendly name for the dataset.
|
String |
generatedId()
Returns the service-generated id for the dataset.
|
int |
hashCode() |
Long |
lastModified()
Returns the time when this dataset or any of its tables was last modified, in milliseconds
since the epoch.
|
String |
location()
Returns the geographic location where the dataset should reside.
|
String |
selfLink()
Returns an URL that can be used to access the resource again.
|
DatasetInfo.Builder |
toBuilder()
Returns a builder for the dataset object.
|
String |
toString() |
public DatasetId datasetId()
public List<Acl> acl()
public Long creationTime()
public Long defaultTableLifetime()
public String description()
public String etag()
public String friendlyName()
public String generatedId()
public Long lastModified()
public String location()
public String selfLink()
public DatasetInfo.Builder toBuilder()
public static DatasetInfo.Builder builder(DatasetId datasetId)
DatasetInfo object given it's identity.public static DatasetInfo.Builder builder(String datasetId)
DatasetInfo object given it's user-defined id.public static DatasetInfo.Builder builder(String projectId, String datasetId)
Copyright © 2016 Google. All rights reserved.