Class: Google::Apis::ComputeV1::SignedUrlKey
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ComputeV1::SignedUrlKey
 
 
- Defined in:
 - generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb 
Overview
Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs
Instance Attribute Summary collapse
- 
  
    
      #key_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Name of the key.
 - 
  
    
      #key_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
128-bit key value used for signing the URL.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SignedUrlKey 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SignedUrlKey.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ SignedUrlKey
Returns a new instance of SignedUrlKey
      17129 17130 17131  | 
    
      # File 'generated/google/apis/compute_v1/classes.rb', line 17129 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#key_name ⇒ String
Name of the key. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match the
regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first
character must be a lowercase letter, and all following characters must be a
dash, lowercase letter, or digit, except the last character, which cannot be a
dash.
Corresponds to the JSON property keyName
      17121 17122 17123  | 
    
      # File 'generated/google/apis/compute_v1/classes.rb', line 17121 def key_name @key_name end  | 
  
#key_value ⇒ String
128-bit key value used for signing the URL. The key value must be a valid RFC
4648 Section 5 base64url encoded string.
Corresponds to the JSON property keyValue
      17127 17128 17129  | 
    
      # File 'generated/google/apis/compute_v1/classes.rb', line 17127 def key_value @key_value end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      17134 17135 17136 17137  | 
    
      # File 'generated/google/apis/compute_v1/classes.rb', line 17134 def update!(**args) @key_name = args[:key_name] if args.key?(:key_name) @key_value = args[:key_value] if args.key?(:key_value) end  |