Class: Google::Apis::ComputeAlpha::ShareSettingsFolderConfig

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 folder in the share settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShareSettingsFolderConfig

Returns a new instance of ShareSettingsFolderConfig.



45657
45658
45659
# File 'lib/google/apis/compute_alpha/classes.rb', line 45657

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

Instance Attribute Details

#folder_idString

The folder ID, should be same as the key of this folder config in the parent map. Folder id should be a string of number, and without "folders/" prefix. Corresponds to the JSON property folderId

Returns:

  • (String)


45655
45656
45657
# File 'lib/google/apis/compute_alpha/classes.rb', line 45655

def folder_id
  @folder_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



45662
45663
45664
# File 'lib/google/apis/compute_alpha/classes.rb', line 45662

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