class Google::Apis::DeploymentmanagerAlpha::Options

Options allows customized resource handling by Deployment Manager.

Attributes

async_options[RW]

Options regarding how to thread async requests. Corresponds to the JSON property `asyncOptions` @return [Array<Google::Apis::DeploymentmanagerAlpha::AsyncOptions>]

input_mappings[RW]

The mappings that apply for requests. Corresponds to the JSON property `inputMappings` @return [Array<Google::Apis::DeploymentmanagerAlpha::InputMapping>]

name_property[RW]

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` @return [String]

validation_options[RW]

Options for how to validate and process properties on a resource. Corresponds to the JSON property `validationOptions` @return [Google::Apis::DeploymentmanagerAlpha::ValidationOptions]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/deploymentmanager_alpha/classes.rb, line 1510
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/deploymentmanager_alpha/classes.rb, line 1515
def update!(**args)
  @async_options = args[:async_options] if args.key?(:async_options)
  @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