Class: Google::Apis::DeploymentmanagerAlpha::Options

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/deploymentmanager_alpha/classes.rb,
generated/google/apis/deploymentmanager_alpha/representations.rb,
generated/google/apis/deploymentmanager_alpha/representations.rb

Overview

Options allows customized resource handling by Deployment Manager.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Options

Returns a new instance of Options



1397
1398
1399
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1397

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

Instance Attribute Details

#input_mappingsArray<Google::Apis::DeploymentmanagerAlpha::InputMapping>

The mappings that apply for requests. Corresponds to the JSON property inputMappings



1383
1384
1385
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1383

def input_mappings
  @input_mappings
end

#name_propertyString

The json path to the field in the resource JSON body into which the resource name should be mapped. Leaving this empty indicates that there should be no mapping performed. Corresponds to the JSON property nameProperty

Returns:

  • (String)


1390
1391
1392
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1390

def name_property
  @name_property
end

#validation_optionsGoogle::Apis::DeploymentmanagerAlpha::ValidationOptions

Options for how to validate and process properties on a resource. Corresponds to the JSON property validationOptions



1395
1396
1397
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1395

def validation_options
  @validation_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1402
1403
1404
1405
1406
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 1402

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