Class: DatadogAPIClient::V1::SyntheticsBrowserVariable

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v1/models/synthetics_browser_variable.rb

Overview

Object defining a variable that can be used in your browser test. See the [Recording Steps documentation](docs.datadoghq.com/synthetics/browser_tests/actions/?tab=testanelementontheactivepage#variables).

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



43
44
45
# File 'lib/datadog_api_client/v1/models/synthetics_browser_variable.rb', line 43

def additional_properties
  @additional_properties
end

#exampleObject

Example for the variable.



26
27
28
# File 'lib/datadog_api_client/v1/models/synthetics_browser_variable.rb', line 26

def example
  @example
end

#idObject

ID for the variable. Global variables require an ID.



29
30
31
# File 'lib/datadog_api_client/v1/models/synthetics_browser_variable.rb', line 29

def id
  @id
end

#nameObject

Name of the variable.



32
33
34
# File 'lib/datadog_api_client/v1/models/synthetics_browser_variable.rb', line 32

def name
  @name
end

#patternObject

Pattern of the variable.



35
36
37
# File 'lib/datadog_api_client/v1/models/synthetics_browser_variable.rb', line 35

def pattern
  @pattern
end

#secureObject

Determines whether or not the browser test variable is obfuscated. Can only be used with browser variables of type ‘text`.



38
39
40
# File 'lib/datadog_api_client/v1/models/synthetics_browser_variable.rb', line 38

def secure
  @secure
end

#typeObject

Type of browser test variable.



41
42
43
# File 'lib/datadog_api_client/v1/models/synthetics_browser_variable.rb', line 41

def type
  @type
end