Package com.google.cloud.compute.v1
Interface UsageExportLocationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UsageExportLocation
,UsageExportLocation.Builder
public interface UsageExportLocationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBucketName()
The name of an existing bucket in Cloud Storage where the usage report object is stored.com.google.protobuf.ByteString
getBucketNameBytes()
The name of an existing bucket in Cloud Storage where the usage report object is stored.String
getReportNamePrefix()
An optional prefix for the name of the usage report object stored in bucketName.com.google.protobuf.ByteString
getReportNamePrefixBytes()
An optional prefix for the name of the usage report object stored in bucketName.boolean
hasBucketName()
The name of an existing bucket in Cloud Storage where the usage report object is stored.boolean
hasReportNamePrefix()
An optional prefix for the name of the usage report object stored in bucketName.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBucketName
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:
- Whether the bucketName field is set.
-
getBucketName
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:
- The bucketName.
-
getBucketNameBytes
com.google.protobuf.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:
- The bytes for bucketName.
-
hasReportNamePrefix
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:
- Whether the reportNamePrefix field is set.
-
getReportNamePrefix
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:
- The reportNamePrefix.
-
getReportNamePrefixBytes
com.google.protobuf.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:
- The bytes for reportNamePrefix.
-
-