Class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret
 
 
- 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
Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.
Instance Attribute Summary collapse
- 
  
    
      #env_map  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Map of environment variable name to its encrypted value.
 - 
  
    
      #kms_key_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Resource name of Cloud KMS crypto key to decrypt the encrypted value.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret
Returns a new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret.
      2383 2384 2385  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2383 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#env_map ⇒ Hash<String,String>
Map of environment variable name to its encrypted value. Secret environment
variables must be unique across all of a build's secrets, and must be used by
at least one build step. Values can be at most 64 KB in size. There can be at
most 100 secret values across all of a build's secrets.
Corresponds to the JSON property envMap
      2375 2376 2377  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2375 def env_map @env_map end  | 
  
#kms_key_name ⇒ String
Resource name of Cloud KMS crypto key to decrypt the encrypted value. In
format: projects//locations//keyRings//cryptoKeys/
Corresponds to the JSON property kmsKeyName
      2381 2382 2383  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2381 def kms_key_name @kms_key_name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2388 2389 2390 2391  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2388 def update!(**args) @env_map = args[:env_map] if args.key?(:env_map) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) end  |