Class: Google::Apis::ComputeV1::StoragePoolShareSettingsProjectConfig

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

Config for each project in the share settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StoragePoolShareSettingsProjectConfig

Returns a new instance of StoragePoolShareSettingsProjectConfig.



61626
61627
61628
# File 'lib/google/apis/compute_v1/classes.rb', line 61626

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

Instance Attribute Details

#project_idString

The project ID, should be same as the key of this project config in the parent map. Corresponds to the JSON property projectId

Returns:

  • (String)


61624
61625
61626
# File 'lib/google/apis/compute_v1/classes.rb', line 61624

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



61631
61632
61633
# File 'lib/google/apis/compute_v1/classes.rb', line 61631

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