Class: Google::Apis::ComputeV1::StoragePoolShareSettings

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

Overview

Share settings for the storage pool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StoragePoolShareSettings

Returns a new instance of StoragePoolShareSettings.



61556
61557
61558
# File 'lib/google/apis/compute_v1/classes.rb', line 61556

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

Instance Attribute Details

#project_mapHash<String,Google::Apis::ComputeV1::StoragePoolShareSettingsProjectConfig>

A map of project id and project config. Corresponds to the JSON property projectMap



61554
61555
61556
# File 'lib/google/apis/compute_v1/classes.rb', line 61554

def project_map
  @project_map
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



61561
61562
61563
# File 'lib/google/apis/compute_v1/classes.rb', line 61561

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