Class: Google::Apis::DeploymentmanagerV2beta::Options
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2beta::Options
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/deploymentmanager_v2beta/classes.rb,
lib/google/apis/deploymentmanager_v2beta/representations.rb,
lib/google/apis/deploymentmanager_v2beta/representations.rb
Overview
Options allows customized resource handling by Deployment Manager.
Instance Attribute Summary collapse
-
#async_options ⇒ Array<Google::Apis::DeploymentmanagerV2beta::AsyncOptions>
Options regarding how to thread async requests.
-
#input_mappings ⇒ Array<Google::Apis::DeploymentmanagerV2beta::InputMapping>
The mappings that apply for requests.
-
#validation_options ⇒ Google::Apis::DeploymentmanagerV2beta::ValidationOptions
Options for how to validate and process properties on a resource.
-
#virtual_properties ⇒ String
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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Options
constructor
A new instance of Options.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Options
Returns a new instance of Options.
1527 1528 1529 |
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 1527 def initialize(**args) update!(**args) end |
Instance Attribute Details
#async_options ⇒ Array<Google::Apis::DeploymentmanagerV2beta::AsyncOptions>
Options regarding how to thread async requests.
Corresponds to the JSON property asyncOptions
1504 1505 1506 |
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 1504 def @async_options end |
#input_mappings ⇒ Array<Google::Apis::DeploymentmanagerV2beta::InputMapping>
The mappings that apply for requests.
Corresponds to the JSON property inputMappings
1509 1510 1511 |
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 1509 def input_mappings @input_mappings end |
#validation_options ⇒ Google::Apis::DeploymentmanagerV2beta::ValidationOptions
Options for how to validate and process properties on a resource.
Corresponds to the JSON property validationOptions
1514 1515 1516 |
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 1514 def @validation_options end |
#virtual_properties ⇒ String
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
1525 1526 1527 |
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 1525 def virtual_properties @virtual_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1532 1533 1534 1535 1536 1537 |
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 1532 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 |