Class: Google::Apis::DatafusionV1::PersistentDiskData

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datafusion_v1/classes.rb,
lib/google/apis/datafusion_v1/representations.rb,
lib/google/apis/datafusion_v1/representations.rb

Overview

Persistent Disk service-specific Data. Contains information that may not be appropriate for the generic DRZ Augmented View. This currently includes LSV Colossus Roots and GCS Buckets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PersistentDiskData

Returns a new instance of PersistentDiskData.



1083
1084
1085
# File 'lib/google/apis/datafusion_v1/classes.rb', line 1083

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

Instance Attribute Details

#cfs_rootsArray<String>

Path to Colossus root for an LSV. NOTE: Unlike cr_ti_guris and cr_ti_prefixes, the field cfs_roots below does not need to be a GUri or GUri prefix. It can simply be any valid CFS or CFS2 Path. The DRZ KR8 SIG has more details overall, but generally the cfs_roots provided here should be scoped to an individual Persistent Disk. An example for a PD Disk with a disk ID 3277719120423414466, follows: * cr_ti_guris could be ‘/cfs2/pj/pd-cloud- prod’ as this is a valid GUri present in the DG KB and contains enough information to perform location monitoring and scope ownership of the Production Object. * cfs_roots would be: ‘/cfs2/pj/pd-cloud-staging/ lsv000001234@/ lsv/projects~773365403387~zones~2700~disks~3277719120423414466 ~ bank-blue-careful-3526-lsv00054DB1B7254BA3/’ as this allows us to enumerate the files on CFS2 that belong to an individual Disk. Corresponds to the JSON property cfsRoots

Returns:

  • (Array<String>)


1074
1075
1076
# File 'lib/google/apis/datafusion_v1/classes.rb', line 1074

def cfs_roots
  @cfs_roots
end

#gcs_bucket_namesArray<String>

The GCS Buckets that back this snapshot or image. This is required as cr_ti_prefixes and cr_ti_guris only accept TI resources. This should be the globally unique bucket name. Corresponds to the JSON property gcsBucketNames

Returns:

  • (Array<String>)


1081
1082
1083
# File 'lib/google/apis/datafusion_v1/classes.rb', line 1081

def gcs_bucket_names
  @gcs_bucket_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1088
1089
1090
1091
# File 'lib/google/apis/datafusion_v1/classes.rb', line 1088

def update!(**args)
  @cfs_roots = args[:cfs_roots] if args.key?(:cfs_roots)
  @gcs_bucket_names = args[:gcs_bucket_names] if args.key?(:gcs_bucket_names)
end