Class: Google::Apis::WorkstationsV1beta::EphemeralDirectory
- Inherits:
-
Object
- Object
- Google::Apis::WorkstationsV1beta::EphemeralDirectory
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workstations_v1beta/classes.rb,
lib/google/apis/workstations_v1beta/representations.rb,
lib/google/apis/workstations_v1beta/representations.rb
Overview
An ephemeral directory which won't persist across workstation sessions. It is freshly created on every workstation start operation.
Instance Attribute Summary collapse
-
#gce_pd ⇒ Google::Apis::WorkstationsV1beta::GcePersistentDisk
An EphemeralDirectory is backed by a Compute Engine persistent disk.
-
#mount_path ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EphemeralDirectory
constructor
A new instance of EphemeralDirectory.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EphemeralDirectory
Returns a new instance of EphemeralDirectory.
438 439 440 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 438 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gce_pd ⇒ Google::Apis::WorkstationsV1beta::GcePersistentDisk
An EphemeralDirectory is backed by a Compute Engine persistent disk.
Corresponds to the JSON property gcePd
431 432 433 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 431 def gce_pd @gce_pd end |
#mount_path ⇒ String
Required. Location of this directory in the running workstation.
Corresponds to the JSON property mountPath
436 437 438 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 436 def mount_path @mount_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
443 444 445 446 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 443 def update!(**args) @gce_pd = args[:gce_pd] if args.key?(:gce_pd) @mount_path = args[:mount_path] if args.key?(:mount_path) end |