Interface UsageExportLocationOrBuilder (1.14.0)

public interface UsageExportLocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucketName()

public abstract String getBucketName()

The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.

optional string bucket_name = 283610048;

Returns
TypeDescription
String

The bucketName.

getBucketNameBytes()

public abstract ByteString getBucketNameBytes()

The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.

optional string bucket_name = 283610048;

Returns
TypeDescription
ByteString

The bytes for bucketName.

getReportNamePrefix()

public abstract String getReportNamePrefix()

An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.

optional string report_name_prefix = 320198715;

Returns
TypeDescription
String

The reportNamePrefix.

getReportNamePrefixBytes()

public abstract ByteString getReportNamePrefixBytes()

An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.

optional string report_name_prefix = 320198715;

Returns
TypeDescription
ByteString

The bytes for reportNamePrefix.

hasBucketName()

public abstract boolean hasBucketName()

The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.

optional string bucket_name = 283610048;

Returns
TypeDescription
boolean

Whether the bucketName field is set.

hasReportNamePrefix()

public abstract boolean hasReportNamePrefix()

An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.

optional string report_name_prefix = 320198715;

Returns
TypeDescription
boolean

Whether the reportNamePrefix field is set.