Class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb
Overview
BuildApproval describes a build's approval configuration, state, and result.
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig
ApprovalConfig describes configuration for manual approval of a build.
-
#result ⇒ Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult
ApprovalResult describes the decision and associated metadata of a manual approval of a build.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval
constructor
A new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval
Returns a new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval.
1720 1721 1722 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1720 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig
ApprovalConfig describes configuration for manual approval of a build.
Corresponds to the JSON property config
1707 1708 1709 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1707 def config @config end |
#result ⇒ Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult
ApprovalResult describes the decision and associated metadata of a manual
approval of a build.
Corresponds to the JSON property result
1713 1714 1715 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1713 def result @result end |
#state ⇒ String
Output only. The state of this build's approval.
Corresponds to the JSON property state
1718 1719 1720 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1718 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1725 1726 1727 1728 1729 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1725 def update!(**args) @config = args[:config] if args.key?(:config) @result = args[:result] if args.key?(:result) @state = args[:state] if args.key?(:state) end |