Class: Google::Apis::BinaryauthorizationV1beta1::AttestorPublicKey
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::BinaryauthorizationV1beta1::AttestorPublicKey
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/binaryauthorization_v1beta1/classes.rb,
generated/google/apis/binaryauthorization_v1beta1/representations.rb,
generated/google/apis/binaryauthorization_v1beta1/representations.rb 
Overview
An attestator public key that will be used to verify attestations signed by this attestor.
Instance Attribute Summary collapse
- 
  
    
      #ascii_armored_pgp_public_key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
ASCII-armored representation of a PGP public key, as the entire output by the command
gpg --export --armor foo@example.com(either LF or CRLF line endings). - 
  
    
      #comment  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AttestorPublicKey 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AttestorPublicKey.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AttestorPublicKey
Returns a new instance of AttestorPublicKey
      155 156 157  | 
    
      # File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 155 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#ascii_armored_pgp_public_key ⇒ String
ASCII-armored representation of a PGP public key, as the entire output by
the command gpg --export --armor foo@example.com (either LF or CRLF
line endings).
Corresponds to the JSON property asciiArmoredPgpPublicKey
      141 142 143  | 
    
      # File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 141 def ascii_armored_pgp_public_key @ascii_armored_pgp_public_key end  | 
  
#comment ⇒ String
Optional. A descriptive comment. This field may be updated.
Corresponds to the JSON property comment
      146 147 148  | 
    
      # File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 146 def comment @comment end  | 
  
#id ⇒ String
Output only. This field will be overwritten with key ID information, for
example, an identifier extracted from a PGP public key. This field may not
be updated.
Corresponds to the JSON property id
      153 154 155  | 
    
      # File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 153 def id @id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      160 161 162 163 164  | 
    
      # File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 160 def update!(**args) @ascii_armored_pgp_public_key = args[:ascii_armored_pgp_public_key] if args.key?(:ascii_armored_pgp_public_key) @comment = args[:comment] if args.key?(:comment) @id = args[:id] if args.key?(:id) end  |