public sealed class SignedUrlKey : IMessage<SignedUrlKey>, IEquatable<SignedUrlKey>, IDeepCloneable<SignedUrlKey>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class SignedUrlKey.
Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs
Implements
IMessageSignedUrlKey, IEquatableSignedUrlKey, IDeepCloneableSignedUrlKey, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
SignedUrlKey()
public SignedUrlKey()
SignedUrlKey(SignedUrlKey)
public SignedUrlKey(SignedUrlKey other)
Parameter | |
---|---|
Name | Description |
other |
SignedUrlKey |
Properties
HasKeyName
public bool HasKeyName { get; }
Gets whether the "key_name" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasKeyValue
public bool HasKeyValue { get; }
Gets whether the "key_value" field is set
Property Value | |
---|---|
Type | Description |
bool |
KeyName
public string KeyName { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
KeyValue
public string KeyValue { get; set; }
128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string.
Property Value | |
---|---|
Type | Description |
string |