Class: Google::Apis::BigtableadminV2::CopyBackupMetadata
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::CopyBackupMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigtableadmin_v2/classes.rb,
lib/google/apis/bigtableadmin_v2/representations.rb,
lib/google/apis/bigtableadmin_v2/representations.rb
Overview
Metadata type for the google.longrunning.Operation returned by CopyBackup.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the backup being created through the copy operation.
-
#progress ⇒ Google::Apis::BigtableadminV2::OperationProgress
Encapsulates progress related information for a Cloud Bigtable long running operation.
-
#source_backup_info ⇒ Google::Apis::BigtableadminV2::BackupInfo
Information about a backup.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CopyBackupMetadata
constructor
A new instance of CopyBackupMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CopyBackupMetadata
Returns a new instance of CopyBackupMetadata.
890 891 892 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 890 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The name of the backup being created through the copy operation. Values are of
the form projects//instances//clusters//backups/
.
Corresponds to the JSON property name
877 878 879 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 877 def name @name end |
#progress ⇒ Google::Apis::BigtableadminV2::OperationProgress
Encapsulates progress related information for a Cloud Bigtable long running
operation.
Corresponds to the JSON property progress
883 884 885 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 883 def progress @progress end |
#source_backup_info ⇒ Google::Apis::BigtableadminV2::BackupInfo
Information about a backup.
Corresponds to the JSON property sourceBackupInfo
888 889 890 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 888 def source_backup_info @source_backup_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
895 896 897 898 899 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 895 def update!(**args) @name = args[:name] if args.key?(:name) @progress = args[:progress] if args.key?(:progress) @source_backup_info = args[:source_backup_info] if args.key?(:source_backup_info) end |