Class: Google::Apis::BigtableadminV2::CopyBackupMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CopyBackupMetadata

Returns a new instance of CopyBackupMetadata.



867
868
869
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 867

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

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

Returns:

  • (String)


854
855
856
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 854

def name
  @name
end

#progressGoogle::Apis::BigtableadminV2::OperationProgress

Encapsulates progress related information for a Cloud Bigtable long running operation. Corresponds to the JSON property progress



860
861
862
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 860

def progress
  @progress
end

#source_backup_infoGoogle::Apis::BigtableadminV2::BackupInfo

Information about a backup. Corresponds to the JSON property sourceBackupInfo



865
866
867
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 865

def source_backup_info
  @source_backup_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



872
873
874
875
876
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 872

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