UpdateBuildStageDetails

class oci.devops.models.UpdateBuildStageDetails(**kwargs)

Bases: oci.devops.models.update_build_pipeline_stage_details.UpdateBuildPipelineStageDetails

Specifies the build stage.

Methods

__init__(**kwargs) Initializes a new UpdateBuildStageDetails 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.

Attributes

build_pipeline_stage_predecessor_collection Gets the build_pipeline_stage_predecessor_collection of this UpdateBuildPipelineStageDetails.
build_pipeline_stage_type [Required] Gets the build_pipeline_stage_type of this UpdateBuildPipelineStageDetails.
build_runner_shape_config Gets the build_runner_shape_config of this UpdateBuildStageDetails.
build_source_collection Gets the build_source_collection of this UpdateBuildStageDetails.
build_spec_file Gets the build_spec_file of this UpdateBuildStageDetails.
defined_tags Gets the defined_tags of this UpdateBuildPipelineStageDetails.
description Gets the description of this UpdateBuildPipelineStageDetails.
display_name Gets the display_name of this UpdateBuildPipelineStageDetails.
freeform_tags Gets the freeform_tags of this UpdateBuildPipelineStageDetails.
image Gets the image of this UpdateBuildStageDetails.
primary_build_source Gets the primary_build_source of this UpdateBuildStageDetails.
private_access_config Gets the private_access_config of this UpdateBuildStageDetails.
stage_execution_timeout_in_seconds Gets the stage_execution_timeout_in_seconds of this UpdateBuildStageDetails.
__init__(**kwargs)

Initializes a new UpdateBuildStageDetails object with values from keyword arguments. The default value of the build_pipeline_stage_type attribute of this class is BUILD and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdateBuildStageDetails.
  • description (str) – The value to assign to the description property of this UpdateBuildStageDetails.
  • build_pipeline_stage_type (str) – The value to assign to the build_pipeline_stage_type property of this UpdateBuildStageDetails.
  • build_pipeline_stage_predecessor_collection (oci.devops.models.BuildPipelineStagePredecessorCollection) – The value to assign to the build_pipeline_stage_predecessor_collection property of this UpdateBuildStageDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateBuildStageDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateBuildStageDetails.
  • image (str) – The value to assign to the image property of this UpdateBuildStageDetails.
  • build_spec_file (str) – The value to assign to the build_spec_file property of this UpdateBuildStageDetails.
  • stage_execution_timeout_in_seconds (int) – The value to assign to the stage_execution_timeout_in_seconds property of this UpdateBuildStageDetails.
  • build_source_collection (oci.devops.models.BuildSourceCollection) – The value to assign to the build_source_collection property of this UpdateBuildStageDetails.
  • primary_build_source (str) – The value to assign to the primary_build_source property of this UpdateBuildStageDetails.
  • build_runner_shape_config (oci.devops.models.BuildRunnerShapeConfig) – The value to assign to the build_runner_shape_config property of this UpdateBuildStageDetails.
  • private_access_config (oci.devops.models.NetworkChannel) – The value to assign to the private_access_config property of this UpdateBuildStageDetails.
build_pipeline_stage_predecessor_collection

Gets the build_pipeline_stage_predecessor_collection of this UpdateBuildPipelineStageDetails.

Returns:The build_pipeline_stage_predecessor_collection of this UpdateBuildPipelineStageDetails.
Return type:oci.devops.models.BuildPipelineStagePredecessorCollection
build_pipeline_stage_type

[Required] Gets the build_pipeline_stage_type of this UpdateBuildPipelineStageDetails. Stage types.

Returns:The build_pipeline_stage_type of this UpdateBuildPipelineStageDetails.
Return type:str
build_runner_shape_config

Gets the build_runner_shape_config of this UpdateBuildStageDetails.

Returns:The build_runner_shape_config of this UpdateBuildStageDetails.
Return type:oci.devops.models.BuildRunnerShapeConfig
build_source_collection

Gets the build_source_collection of this UpdateBuildStageDetails.

Returns:The build_source_collection of this UpdateBuildStageDetails.
Return type:oci.devops.models.BuildSourceCollection
build_spec_file

Gets the build_spec_file of this UpdateBuildStageDetails. The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.

Returns:The build_spec_file of this UpdateBuildStageDetails.
Return type:str
defined_tags

Gets the defined_tags of this UpdateBuildPipelineStageDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this UpdateBuildPipelineStageDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdateBuildPipelineStageDetails. Optional description about the build stage.

Returns:The description of this UpdateBuildPipelineStageDetails.
Return type:str
display_name

Gets the display_name of this UpdateBuildPipelineStageDetails. Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.

Returns:The display_name of this UpdateBuildPipelineStageDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateBuildPipelineStageDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this UpdateBuildPipelineStageDetails.
Return type:dict(str, 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.

image

Gets the image of this UpdateBuildStageDetails. Image name for the build environment.

Returns:The image of this UpdateBuildStageDetails.
Return type:str
primary_build_source

Gets the primary_build_source of this UpdateBuildStageDetails. Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.

Returns:The primary_build_source of this UpdateBuildStageDetails.
Return type:str
private_access_config

Gets the private_access_config of this UpdateBuildStageDetails.

Returns:The private_access_config of this UpdateBuildStageDetails.
Return type:oci.devops.models.NetworkChannel
stage_execution_timeout_in_seconds

Gets the stage_execution_timeout_in_seconds of this UpdateBuildStageDetails. Timeout for the build stage execution. Specify value in seconds.

Returns:The stage_execution_timeout_in_seconds of this UpdateBuildStageDetails.
Return type:int