class Google::Apis::ComputeBeta::SignedUrlKey

Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs

Attributes

key_name[RW]

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])?` 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` @return [String]

key_value[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 32606
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_beta/classes.rb, line 32611
def update!(**args)
  @key_name = args[:key_name] if args.key?(:key_name)
  @key_value = args[:key_value] if args.key?(:key_value)
end