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

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



1550
1551
1552
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1550

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



1527
1528
1529
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1527

def async_options
  @async_options
end

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

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



1532
1533
1534
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1532

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



1537
1538
1539
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1537

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)


1548
1549
1550
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1548

def virtual_properties
  @virtual_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1555
1556
1557
1558
1559
1560
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1555

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