ScriptParameter¶
- class oci.apm_synthetics.models.ScriptParameter(**kwargs)¶
Bases:
objectDetails of the script parameters, paramName must be from the script content and these details can be used to overwrite the default parameter present in the script content.
Methods:
__init__(**kwargs)Initializes a new ScriptParameter object with values from keyword arguments.
Attributes:
Gets the is_secret of this ScriptParameter.
[Required] Gets the param_name of this ScriptParameter.
Gets the param_value of this ScriptParameter.
- __init__(**kwargs)¶
Initializes a new ScriptParameter object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
param_name (str) – The value to assign to the param_name property of this ScriptParameter.
param_value (str) – The value to assign to the param_value property of this ScriptParameter.
is_secret (bool) – The value to assign to the is_secret property of this ScriptParameter.
- property is_secret¶
Gets the is_secret of this ScriptParameter. If the parameter value is secret and should be kept confidential, then set isSecret to true.
- Returns
The is_secret of this ScriptParameter.
- Return type
bool
- property param_name¶
[Required] Gets the param_name of this ScriptParameter. Name of the parameter.
- Returns
The param_name of this ScriptParameter.
- Return type
str
- property param_value¶
Gets the param_value of this ScriptParameter. Value of the parameter.
- Returns
The param_value of this ScriptParameter.
- Return type
str