Class: Google::Apis::ComputeAlpha::ShareSettingsProjectConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ShareSettingsProjectConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
Config for each project in the share settings.
Instance Attribute Summary collapse
-
#project_id ⇒ String
The project ID, should be same as the key of this project config in the parent map.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShareSettingsProjectConfig
constructor
A new instance of ShareSettingsProjectConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ShareSettingsProjectConfig
Returns a new instance of ShareSettingsProjectConfig.
43233 43234 43235 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43233 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project_id ⇒ String
The project ID, should be same as the key of this project config in the parent
map.
Corresponds to the JSON property projectId
43231 43232 43233 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43231 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
43238 43239 43240 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43238 def update!(**args) @project_id = args[:project_id] if args.key?(:project_id) end |