Class: Google::Apis::DeploymentmanagerV2beta::Options
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DeploymentmanagerV2beta::Options
 
- 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
- 
  
    
      #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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Options
Returns a new instance of Options
| 1540 1541 1542 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1540 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
| 1517 1518 1519 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1517 def @async_options end | 
#input_mappings ⇒ Array<Google::Apis::DeploymentmanagerV2beta::InputMapping>
The mappings that apply for requests.
Corresponds to the JSON property inputMappings
| 1522 1523 1524 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1522 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
| 1527 1528 1529 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1527 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
| 1538 1539 1540 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1538 def virtual_properties @virtual_properties end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1545 1546 1547 1548 1549 1550 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 1545 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 |