Class: Google::Apis::DeploymentmanagerV2beta::InputMapping
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DeploymentmanagerV2beta::InputMapping
 
- 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
InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.
Instance Attribute Summary collapse
- 
  
    
      #field_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the field that is going to be injected. 
- 
  
    
      #location  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The location where this mapping applies. 
- 
  
    
      #method_match  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Regex to evaluate on method to decide if input applies. 
- 
  
    
      #value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A jsonPath expression to select an element. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ InputMapping 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of InputMapping. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InputMapping
Returns a new instance of InputMapping
| 956 957 958 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 956 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#field_name ⇒ String
The name of the field that is going to be injected.
Corresponds to the JSON property fieldName
| 939 940 941 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 939 def field_name @field_name end | 
#location ⇒ String
The location where this mapping applies.
Corresponds to the JSON property location
| 944 945 946 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 944 def location @location end | 
#method_match ⇒ String
Regex to evaluate on method to decide if input applies.
Corresponds to the JSON property methodMatch
| 949 950 951 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 949 def method_match @method_match end | 
#value ⇒ String
A jsonPath expression to select an element.
Corresponds to the JSON property value
| 954 955 956 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 954 def value @value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 961 962 963 964 965 966 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 961 def update!(**args) @field_name = args[:field_name] if args.key?(:field_name) @location = args[:location] if args.key?(:location) @method_match = args[:method_match] if args.key?(:method_match) @value = args[:value] if args.key?(:value) end |