Class: Google::Apis::NetappV1::BackupVault
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::BackupVault
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/netapp_v1/classes.rb,
lib/google/apis/netapp_v1/representations.rb,
lib/google/apis/netapp_v1/representations.rb
Overview
A NetApp BackupVault.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Description of the backup vault.
-
#labels ⇒ Hash<String,String>
Resource labels to represent user provided metadata.
-
#name ⇒ String
Identifier.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackupVault
constructor
A new instance of BackupVault.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackupVault
Returns a new instance of BackupVault.
416 417 418 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 416 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Create time of the backup vault.
Corresponds to the JSON property createTime
393 394 395 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 393 def create_time @create_time end |
#description ⇒ String
Description of the backup vault.
Corresponds to the JSON property description
398 399 400 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 398 def description @description end |
#labels ⇒ Hash<String,String>
Resource labels to represent user provided metadata.
Corresponds to the JSON property labels
403 404 405 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 403 def labels @labels end |
#name ⇒ String
Identifier. The resource name of the backup vault. Format: projects/
project_id/locations/
location/backupVaults/
backup_vault_id`.
Corresponds to the JSON property
name`
409 410 411 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 409 def name @name end |
#state ⇒ String
Output only. The backup vault state.
Corresponds to the JSON property state
414 415 416 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 414 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
421 422 423 424 425 426 427 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 421 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) end |