Class: OpsManagerUiDrivers::Version110::Settings::Google
- Inherits:
-
Object
- Object
- OpsManagerUiDrivers::Version110::Settings::Google
show all
- Defined in:
- lib/ops_manager_ui_drivers/version110/settings.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
#initialize(test_settings) ⇒ Google
Returns a new instance of Google.
40
41
42
|
# File 'lib/ops_manager_ui_drivers/version110/settings.rb', line 40
def initialize(test_settings)
@test_settings = test_settings
end
|
Class Method Details
.works_with?(iaas_type) ⇒ Boolean
36
37
38
|
# File 'lib/ops_manager_ui_drivers/version110/settings.rb', line 36
def self.works_with?(iaas_type)
iaas_type == 'google'
end
|
Instance Method Details
#advanced_infrastructure_config_fields ⇒ Object
51
52
53
54
|
# File 'lib/ops_manager_ui_drivers/version110/settings.rb', line 51
def advanced_infrastructure_config_fields
{
}
end
|
#iaas_configuration_fields ⇒ Object
44
45
46
47
48
49
|
# File 'lib/ops_manager_ui_drivers/version110/settings.rb', line 44
def iaas_configuration_fields
{
'project' => @test_settings.dig('ops_manager', 'google', 'project'),
'default_deployment_tag' => @test_settings.dig('ops_manager', 'google', 'deployment_tag'),
}.merge(iaas_security_configuration_fields)
end
|