class Google::Apis::VaultV1::CloudStorageFile

The export file in Cloud Storage

Attributes

bucket_name[RW]

The name of the Cloud Storage bucket for the export file. You can use this value in the [Cloud Storage JSON or XML APIs](cloud.google.com/storage/ docs/apis), but not to list the bucket contents. Instead, you can [get individual export files](cloud.google.com/storage/docs/json_api/v1/ objects/get) by object name. Corresponds to the JSON property `bucketName` @return [String]

md5_hash[RW]

The md5 hash of the file. Corresponds to the JSON property `md5Hash` @return [String]

object_name[RW]

The name of the Cloud Storage object for the export file. You can use this value in the [Cloud Storage JSON or XML APIs](cloud.google.com/storage/ docs/apis). Corresponds to the JSON property `objectName` @return [String]

size[RW]

The export file size. Corresponds to the JSON property `size` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vault_v1/classes.rb, line 292
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vault_v1/classes.rb, line 297
def update!(**args)
  @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
  @md5_hash = args[:md5_hash] if args.key?(:md5_hash)
  @object_name = args[:object_name] if args.key?(:object_name)
  @size = args[:size] if args.key?(:size)
end