Class: Google::Apis::DeploymentmanagerV2beta::Options

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

Overview

Options allows customized resource handling by Deployment Manager.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Options

Returns a new instance of Options.



1398
1399
1400
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1398

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

Instance Attribute Details

#async_optionsArray<Google::Apis::DeploymentmanagerV2beta::AsyncOptions>

Options regarding how to thread async requests. Corresponds to the JSON property asyncOptions



1375
1376
1377
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1375

def async_options
  @async_options
end

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

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



1380
1381
1382
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1380

def input_mappings
  @input_mappings
end

#validation_optionsGoogle::Apis::DeploymentmanagerV2beta::ValidationOptions

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



1385
1386
1387
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1385

def validation_options
  @validation_options
end

#virtual_propertiesString

Additional properties block described as a jsonSchema, these properties will never be part of the json payload, but they can be consumed by InputMappings, this must be a valid json schema draft-04. The properties specified here will be decouple in a different section. This schema will be merged to the schema validation, and properties here will be extracted From the payload and consumed explicitly by InputMappings. ex: field1: type: string field2: type: number Corresponds to the JSON property virtualProperties

Returns:

  • (String)


1396
1397
1398
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1396

def virtual_properties
  @virtual_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1403
1404
1405
1406
1407
1408
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1403

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