Class: Google::Apis::ComputeAlpha::ShareSettingsProjectConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShareSettingsProjectConfig

Returns a new instance of ShareSettingsProjectConfig.



39697
39698
39699
# File 'lib/google/apis/compute_alpha/classes.rb', line 39697

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)


39695
39696
39697
# File 'lib/google/apis/compute_alpha/classes.rb', line 39695

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39702
39703
39704
# File 'lib/google/apis/compute_alpha/classes.rb', line 39702

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