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
@Generated
public interface UsageExportLocationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe name of an existing bucket in Cloud Storage where the usage report object is stored.com.google.protobuf.ByteStringThe name of an existing bucket in Cloud Storage where the usage report object is stored.An optional prefix for the name of the usage report object stored inbucketName.com.google.protobuf.ByteStringAn optional prefix for the name of the usage report object stored inbucketName.booleanThe name of an existing bucket in Cloud Storage where the usage report object is stored.booleanAn optional prefix for the name of the usage report object stored inbucketName.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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 asexample-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 asexample-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 asexample-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 inbucketName. If not supplied, defaults tousage_gce. The report is stored as a CSV file namedreport_name_prefix_gce_YYYYMMDD.csv whereYYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storageobject 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 inbucketName. If not supplied, defaults tousage_gce. The report is stored as a CSV file namedreport_name_prefix_gce_YYYYMMDD.csv whereYYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storageobject 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 inbucketName. If not supplied, defaults tousage_gce. The report is stored as a CSV file namedreport_name_prefix_gce_YYYYMMDD.csv whereYYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storageobject naming conventions.
optional string report_name_prefix = 320198715;- Returns:
- The bytes for reportNamePrefix.
-