Class: Google::Apis::VaultV1::CloudStorageFile
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::CloudStorageFile
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vault_v1/classes.rb,
lib/google/apis/vault_v1/representations.rb,
lib/google/apis/vault_v1/representations.rb
Overview
The export file in Cloud Storage
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
The name of the Cloud Storage bucket for the export file.
-
#md5_hash ⇒ String
The md5 hash of the file.
-
#object_name ⇒ String
The name of the Cloud Storage object for the export file.
-
#size ⇒ Fixnum
The export file size.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudStorageFile
constructor
A new instance of CloudStorageFile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudStorageFile
Returns a new instance of CloudStorageFile.
292 293 294 |
# File 'lib/google/apis/vault_v1/classes.rb', line 292 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket_name ⇒ String
The name of the Cloud Storage bucket for the export file. You can use this
value in the Cloud Storage JSON API or XML API, but not
to list the bucket contents. Instead, you can get individual export files by object name.
Corresponds to the JSON property bucketName
273 274 275 |
# File 'lib/google/apis/vault_v1/classes.rb', line 273 def bucket_name @bucket_name end |
#md5_hash ⇒ String
The md5 hash of the file.
Corresponds to the JSON property md5Hash
278 279 280 |
# File 'lib/google/apis/vault_v1/classes.rb', line 278 def md5_hash @md5_hash end |
#object_name ⇒ String
285 286 287 |
# File 'lib/google/apis/vault_v1/classes.rb', line 285 def object_name @object_name end |
#size ⇒ Fixnum
The export file size.
Corresponds to the JSON property size
290 291 292 |
# File 'lib/google/apis/vault_v1/classes.rb', line 290 def size @size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
297 298 299 300 301 302 |
# 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 |