class Google::Apis::DeploymentmanagerV2beta::InputMapping

InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.

Attributes

field_name[RW]

The name of the field that is going to be injected. Corresponds to the JSON property `fieldName` @return [String]

location[RW]

The location where this mapping applies. Corresponds to the JSON property `location` @return [String]

method_match[RW]

Regex to evaluate on method to decide if input applies. Corresponds to the JSON property `methodMatch` @return [String]

value[RW]

A jsonPath expression to select an element. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/deploymentmanager_v2beta/classes.rb, line 941
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/deploymentmanager_v2beta/classes.rb, line 946
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