Class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig
 
 
- 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
ApprovalConfig describes configuration for manual approval of a build.
Instance Attribute Summary collapse
- 
  
    
      #approval_required  ⇒ Boolean 
    
    
      (also: #approval_required?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether or not approval is needed.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig
Returns a new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig.
      1209 1210 1211  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1209 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#approval_required ⇒ Boolean Also known as: approval_required?
Whether or not approval is needed. If this is set on a build, it will become
pending when created, and will need to be explicitly approved to start.
Corresponds to the JSON property approvalRequired
      1206 1207 1208  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1206 def approval_required @approval_required end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1214 1215 1216  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1214 def update!(**args) @approval_required = args[:approval_required] if args.key?(:approval_required) end  |