Class: Google::Apis::ComputeBeta::ShareSettingsProjectConfig

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

Overview

Config for each project in the share settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShareSettingsProjectConfig

Returns a new instance of ShareSettingsProjectConfig.



41903
41904
41905
# File 'lib/google/apis/compute_beta/classes.rb', line 41903

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)


41901
41902
41903
# File 'lib/google/apis/compute_beta/classes.rb', line 41901

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41908
41909
41910
# File 'lib/google/apis/compute_beta/classes.rb', line 41908

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