BuildRunnerShapeConfig¶
- class oci.devops.models.BuildRunnerShapeConfig(**kwargs)¶
Bases:
objectThe information about build runner.
Attributes:
A constant which can be used with the build_runner_type property of a BuildRunnerShapeConfig.
A constant which can be used with the build_runner_type property of a BuildRunnerShapeConfig.
[Required] Gets the build_runner_type of this BuildRunnerShapeConfig.
Methods:
__init__(**kwargs)Initializes a new BuildRunnerShapeConfig object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- BUILD_RUNNER_TYPE_CUSTOM = 'CUSTOM'¶
A constant which can be used with the build_runner_type property of a BuildRunnerShapeConfig. This constant has a value of “CUSTOM”
- BUILD_RUNNER_TYPE_DEFAULT = 'DEFAULT'¶
A constant which can be used with the build_runner_type property of a BuildRunnerShapeConfig. This constant has a value of “DEFAULT”
- __init__(**kwargs)¶
Initializes a new BuildRunnerShapeConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
build_runner_type (str) – The value to assign to the build_runner_type property of this BuildRunnerShapeConfig. Allowed values for this property are: “CUSTOM”, “DEFAULT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property build_runner_type¶
[Required] Gets the build_runner_type of this BuildRunnerShapeConfig. Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
Allowed values for this property are: “CUSTOM”, “DEFAULT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The build_runner_type of this BuildRunnerShapeConfig.
- Return type
str
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.