Class: Google::Apis::DatafusionV1beta1::PersistentDiskData
- Inherits:
-
Object
- Object
- Google::Apis::DatafusionV1beta1::PersistentDiskData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datafusion_v1beta1/classes.rb,
lib/google/apis/datafusion_v1beta1/representations.rb,
lib/google/apis/datafusion_v1beta1/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
-
#cfs_roots ⇒ Array<String>
Path to Colossus root for an LSV.
-
#gcs_bucket_names ⇒ Array<String>
The GCS Buckets that back this snapshot or image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PersistentDiskData
constructor
A new instance of PersistentDiskData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PersistentDiskData
Returns a new instance of PersistentDiskData.
1192 1193 1194 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1192 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cfs_roots ⇒ Array<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
1183 1184 1185 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1183 def cfs_roots @cfs_roots end |
#gcs_bucket_names ⇒ Array<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
1190 1191 1192 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1190 def gcs_bucket_names @gcs_bucket_names end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1197 1198 1199 1200 |
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1197 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 |