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.



61606
61607
61608
# File 'lib/google/apis/compute_v1/classes.rb', line 61606

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



61604
61605
61606
# File 'lib/google/apis/compute_v1/classes.rb', line 61604

def project_map
  @project_map
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



61611
61612
61613
# File 'lib/google/apis/compute_v1/classes.rb', line 61611

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