Documentation ¶
Index ¶
- Variables
- type Key
- func (*Key) Descriptor() ([]byte, []int)deprecated
- func (x *Key) GetAlgorithmParameters() *crypto.KeyAlgorithmParameters
- func (x *Key) GetAlgorithmType() crypto.KeyAlgorithmType
- func (x *Key) GetAliases() []string
- func (x *Key) GetCreateTime() *timestamppb.Timestamp
- func (x *Key) GetDestroyProtection() bool
- func (x *Key) GetDisplayName() string
- func (x *Key) GetEncryptionAlgorithms() []crypto.EncryptionAlgorithm
- func (x *Key) GetLastRotatedTime() *timestamppb.Timestamp
- func (x *Key) GetName() string
- func (x *Key) GetRotationInterval() *durationpb.Duration
- func (x *Key) GetSigningAlgorithms() []crypto.SignatureAlgorithm
- func (x *Key) GetUid() string
- func (x *Key) GetUpdateTime() *timestamppb.Timestamp
- func (*Key) ProtoMessage()
- func (x *Key) ProtoReflect() protoreflect.Message
- func (x *Key) Reset()
- func (x *Key) String() string
- type KeyCreated
- type KeyDeleted
- type KeyMaterial
- func (*KeyMaterial) Descriptor() ([]byte, []int)deprecated
- func (x *KeyMaterial) GetCreateTime() *timestamppb.Timestamp
- func (x *KeyMaterial) GetName() string
- func (x *KeyMaterial) GetPublicKey() *crypto.KeyMaterial
- func (*KeyMaterial) ProtoMessage()
- func (x *KeyMaterial) ProtoReflect() protoreflect.Message
- func (x *KeyMaterial) Reset()
- func (x *KeyMaterial) String() string
- type KeyMaterialCreated
- func (*KeyMaterialCreated) Descriptor() ([]byte, []int)deprecated
- func (x *KeyMaterialCreated) GetKeyMaterial() *KeyMaterial
- func (*KeyMaterialCreated) ProtoMessage()
- func (x *KeyMaterialCreated) ProtoReflect() protoreflect.Message
- func (x *KeyMaterialCreated) Reset()
- func (x *KeyMaterialCreated) String() string
- type KeyRing
- func (*KeyRing) Descriptor() ([]byte, []int)deprecated
- func (x *KeyRing) GetAliases() []string
- func (x *KeyRing) GetCreateTime() *timestamppb.Timestamp
- func (x *KeyRing) GetDeleteProtection() bool
- func (x *KeyRing) GetDisplayName() string
- func (x *KeyRing) GetEtag() string
- func (x *KeyRing) GetKeys() []string
- func (x *KeyRing) GetName() string
- func (x *KeyRing) GetUid() string
- func (x *KeyRing) GetUpdateTime() *timestamppb.Timestamp
- func (*KeyRing) ProtoMessage()
- func (x *KeyRing) ProtoReflect() protoreflect.Message
- func (x *KeyRing) Reset()
- func (x *KeyRing) String() string
- type KeyRingCreated
- type KeyUpdated
Constants ¶
This section is empty.
Variables ¶
var File_blocky_kms_event_v1_events_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct { // Resource name of the Key. // The format of the key resource name: // `keys{key}` // `projects/{project}/keys/{key}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The unique server-generated UUID identifier for the key. // It could be used as the key identifier in its resource name. Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // The aliases that can be used to refer to the key. // The full path of the alias is: // 'keys/{key_alias}' Aliases []string `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"` // The key algorithm type AlgorithmType crypto.KeyAlgorithmType `` /* 142-byte string literal not displayed */ // The parameters used to generate the key material. AlgorithmParameters *crypto.KeyAlgorithmParameters `protobuf:"bytes,5,opt,name=algorithm_parameters,json=algorithmParameters,proto3" json:"algorithm_parameters,omitempty"` // Supported signing algorithms of the key. SigningAlgorithms []crypto.SignatureAlgorithm `` /* 163-byte string literal not displayed */ // Supported encryption algorithms of the key. EncryptionAlgorithms []crypto.EncryptionAlgorithm `` /* 173-byte string literal not displayed */ // The display name of the key. DisplayName string `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Time when the key was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Time when the key was updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Time when the key was last rotated. LastRotatedTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=last_rotated_time,json=lastRotatedTime,proto3" json:"last_rotated_time,omitempty"` // Rotation interval of the material derived from this key. // If not provided, the key will not be rotated automatically. RotationInterval *durationpb.Duration `protobuf:"bytes,12,opt,name=rotation_interval,json=rotationInterval,proto3" json:"rotation_interval,omitempty"` // Determines if a key is protected against accidental deletion. // If not provided, the key will not be protected. DestroyProtection bool `protobuf:"varint,13,opt,name=destroy_protection,json=destroyProtection,proto3" json:"destroy_protection,omitempty"` // contains filtered or unexported fields }
Key represents a cryptographic key.
func (*Key) Descriptor
deprecated
func (*Key) GetAlgorithmParameters ¶
func (x *Key) GetAlgorithmParameters() *crypto.KeyAlgorithmParameters
func (*Key) GetAlgorithmType ¶
func (x *Key) GetAlgorithmType() crypto.KeyAlgorithmType
func (*Key) GetAliases ¶
func (*Key) GetCreateTime ¶
func (x *Key) GetCreateTime() *timestamppb.Timestamp
func (*Key) GetDestroyProtection ¶
func (*Key) GetDisplayName ¶
func (*Key) GetEncryptionAlgorithms ¶
func (x *Key) GetEncryptionAlgorithms() []crypto.EncryptionAlgorithm
func (*Key) GetLastRotatedTime ¶
func (x *Key) GetLastRotatedTime() *timestamppb.Timestamp
func (*Key) GetRotationInterval ¶
func (x *Key) GetRotationInterval() *durationpb.Duration
func (*Key) GetSigningAlgorithms ¶
func (x *Key) GetSigningAlgorithms() []crypto.SignatureAlgorithm
func (*Key) GetUpdateTime ¶
func (x *Key) GetUpdateTime() *timestamppb.Timestamp
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶
func (x *Key) ProtoReflect() protoreflect.Message
type KeyCreated ¶
type KeyCreated struct { // The key that was created. Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
An event message that is published when a key is created.
func (*KeyCreated) Descriptor
deprecated
func (*KeyCreated) Descriptor() ([]byte, []int)
Deprecated: Use KeyCreated.ProtoReflect.Descriptor instead.
func (*KeyCreated) GetKey ¶
func (x *KeyCreated) GetKey() *Key
func (*KeyCreated) ProtoMessage ¶
func (*KeyCreated) ProtoMessage()
func (*KeyCreated) ProtoReflect ¶
func (x *KeyCreated) ProtoReflect() protoreflect.Message
func (*KeyCreated) Reset ¶
func (x *KeyCreated) Reset()
func (*KeyCreated) String ¶
func (x *KeyCreated) String() string
type KeyDeleted ¶
type KeyDeleted struct { // The name of the key resource that is deleted. // The format of the key resource name: // `keys/{key}` // `projects/{project}/keys/{key}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
An event message that is published when a key is deleted.
func (*KeyDeleted) Descriptor
deprecated
func (*KeyDeleted) Descriptor() ([]byte, []int)
Deprecated: Use KeyDeleted.ProtoReflect.Descriptor instead.
func (*KeyDeleted) GetName ¶
func (x *KeyDeleted) GetName() string
func (*KeyDeleted) ProtoMessage ¶
func (*KeyDeleted) ProtoMessage()
func (*KeyDeleted) ProtoReflect ¶
func (x *KeyDeleted) ProtoReflect() protoreflect.Message
func (*KeyDeleted) Reset ¶
func (x *KeyDeleted) Reset()
func (*KeyDeleted) String ¶
func (x *KeyDeleted) String() string
type KeyMaterial ¶
type KeyMaterial struct { // The resource name of the key material. // The format of the key material resource name: // `keys/{key}/materials/{material}` // `projects/{project}/keys/{key}/materials/{material}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The creation time of the key material. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The public content of the key material. PublicKey *crypto.KeyMaterial `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
Is a cryptographic key material directly used for the cryptographic operations. The parameters of the material are derived from the key.
func (*KeyMaterial) Descriptor
deprecated
func (*KeyMaterial) Descriptor() ([]byte, []int)
Deprecated: Use KeyMaterial.ProtoReflect.Descriptor instead.
func (*KeyMaterial) GetCreateTime ¶
func (x *KeyMaterial) GetCreateTime() *timestamppb.Timestamp
func (*KeyMaterial) GetName ¶
func (x *KeyMaterial) GetName() string
func (*KeyMaterial) GetPublicKey ¶
func (x *KeyMaterial) GetPublicKey() *crypto.KeyMaterial
func (*KeyMaterial) ProtoMessage ¶
func (*KeyMaterial) ProtoMessage()
func (*KeyMaterial) ProtoReflect ¶
func (x *KeyMaterial) ProtoReflect() protoreflect.Message
func (*KeyMaterial) Reset ¶
func (x *KeyMaterial) Reset()
func (*KeyMaterial) String ¶
func (x *KeyMaterial) String() string
type KeyMaterialCreated ¶
type KeyMaterialCreated struct { // The key material that was created. KeyMaterial *KeyMaterial `protobuf:"bytes,1,opt,name=key_material,json=keyMaterial,proto3" json:"key_material,omitempty"` // contains filtered or unexported fields }
An event message that is published when a key material is created.
func (*KeyMaterialCreated) Descriptor
deprecated
func (*KeyMaterialCreated) Descriptor() ([]byte, []int)
Deprecated: Use KeyMaterialCreated.ProtoReflect.Descriptor instead.
func (*KeyMaterialCreated) GetKeyMaterial ¶
func (x *KeyMaterialCreated) GetKeyMaterial() *KeyMaterial
func (*KeyMaterialCreated) ProtoMessage ¶
func (*KeyMaterialCreated) ProtoMessage()
func (*KeyMaterialCreated) ProtoReflect ¶
func (x *KeyMaterialCreated) ProtoReflect() protoreflect.Message
func (*KeyMaterialCreated) Reset ¶
func (x *KeyMaterialCreated) Reset()
func (*KeyMaterialCreated) String ¶
func (x *KeyMaterialCreated) String() string
type KeyRing ¶
type KeyRing struct { // The resource name of the key ring. // Key ring names have the form: // - `projects/{project}/keyRings/{key_ring}` - for project specific key rings // - 'keyRings/{key_ring}' - for root key rings Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The unique id of the key ring. Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // The display name of the key ring. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The aliases of the key ring. Aliases []string `protobuf:"bytes,4,rep,name=aliases,proto3" json:"aliases,omitempty"` // Creation time of the key ring. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Update time of the key ring. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The resource names of the keys in this key ring. Keys []string `protobuf:"bytes,7,rep,name=keys,proto3" json:"keys,omitempty"` // Delete protection of the key ring. // When the delete protection is set to true, the key ring cannot be deleted, // and no keys in the key ring can be deleted either. DeleteProtection bool `protobuf:"varint,8,opt,name=delete_protection,json=deleteProtection,proto3" json:"delete_protection,omitempty"` // ETag of the key ring. Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
Is a ring of cryptographic keys, that can be combined and used for multiple purposes.
func (*KeyRing) Descriptor
deprecated
func (*KeyRing) GetAliases ¶
func (*KeyRing) GetCreateTime ¶
func (x *KeyRing) GetCreateTime() *timestamppb.Timestamp
func (*KeyRing) GetDeleteProtection ¶
func (*KeyRing) GetDisplayName ¶
func (*KeyRing) GetUpdateTime ¶
func (x *KeyRing) GetUpdateTime() *timestamppb.Timestamp
func (*KeyRing) ProtoMessage ¶
func (*KeyRing) ProtoMessage()
func (*KeyRing) ProtoReflect ¶
func (x *KeyRing) ProtoReflect() protoreflect.Message
type KeyRingCreated ¶
type KeyRingCreated struct { // The key ring that was created. KeyRing *KeyRing `protobuf:"bytes,1,opt,name=key_ring,json=keyRing,proto3" json:"key_ring,omitempty"` // contains filtered or unexported fields }
An event message that is published when a key ring is created.
func (*KeyRingCreated) Descriptor
deprecated
func (*KeyRingCreated) Descriptor() ([]byte, []int)
Deprecated: Use KeyRingCreated.ProtoReflect.Descriptor instead.
func (*KeyRingCreated) GetKeyRing ¶
func (x *KeyRingCreated) GetKeyRing() *KeyRing
func (*KeyRingCreated) ProtoMessage ¶
func (*KeyRingCreated) ProtoMessage()
func (*KeyRingCreated) ProtoReflect ¶
func (x *KeyRingCreated) ProtoReflect() protoreflect.Message
func (*KeyRingCreated) Reset ¶
func (x *KeyRingCreated) Reset()
func (*KeyRingCreated) String ¶
func (x *KeyRingCreated) String() string
type KeyUpdated ¶
type KeyUpdated struct { // The key that was updated. Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
An event message that is published when a key is updated.
func (*KeyUpdated) Descriptor
deprecated
func (*KeyUpdated) Descriptor() ([]byte, []int)
Deprecated: Use KeyUpdated.ProtoReflect.Descriptor instead.
func (*KeyUpdated) GetKey ¶
func (x *KeyUpdated) GetKey() *Key
func (*KeyUpdated) ProtoMessage ¶
func (*KeyUpdated) ProtoMessage()
func (*KeyUpdated) ProtoReflect ¶
func (x *KeyUpdated) ProtoReflect() protoreflect.Message
func (*KeyUpdated) Reset ¶
func (x *KeyUpdated) Reset()
func (*KeyUpdated) String ¶
func (x *KeyUpdated) String() string