Documentation ¶
Index ¶
- Variables
- type CertificatesExpiry
- func (*CertificatesExpiry) Descriptor() ([]byte, []int)deprecated
- func (x *CertificatesExpiry) GetCertificates() []string
- func (x *CertificatesExpiry) GetCount() int64
- func (x *CertificatesExpiry) GetExpireTime() *timestamppb.Timestamp
- func (x *CertificatesExpiry) GetState() CertificatesExpiry_State
- func (*CertificatesExpiry) ProtoMessage()
- func (x *CertificatesExpiry) ProtoReflect() protoreflect.Message
- func (x *CertificatesExpiry) Reset()
- func (x *CertificatesExpiry) String() string
- type CertificatesExpiry_State
- func (CertificatesExpiry_State) Descriptor() protoreflect.EnumDescriptor
- func (x CertificatesExpiry_State) Enum() *CertificatesExpiry_State
- func (CertificatesExpiry_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x CertificatesExpiry_State) Number() protoreflect.EnumNumber
- func (x CertificatesExpiry_State) String() string
- func (CertificatesExpiry_State) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CertificatesExpiry_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CLOSE_TO_EXPIRY", 2: "EXPIRED", } CertificatesExpiry_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CLOSE_TO_EXPIRY": 1, "EXPIRED": 2, } )
Enum value maps for CertificatesExpiry_State.
View Source
var File_google_cloud_certificatemanager_logging_v1_logs_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CertificatesExpiry ¶
type CertificatesExpiry struct { // Number of reported certificates. Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // Names of reported certificates. If there are too many, the list is sampled. Certificates []string `protobuf:"bytes,2,rep,name=certificates,proto3" json:"certificates,omitempty"` // State of reported certificates. State CertificatesExpiry_State `` /* 137-byte string literal not displayed */ // Approximated expire time of reported certificates. // Multiple certificates with close expire time are batched together in a // single log, so the timestamp is not precise. ExpireTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // contains filtered or unexported fields }
Log message which notifies about expired or close to expiry certificates.
func (*CertificatesExpiry) Descriptor
deprecated
func (*CertificatesExpiry) Descriptor() ([]byte, []int)
Deprecated: Use CertificatesExpiry.ProtoReflect.Descriptor instead.
func (*CertificatesExpiry) GetCertificates ¶
func (x *CertificatesExpiry) GetCertificates() []string
func (*CertificatesExpiry) GetCount ¶
func (x *CertificatesExpiry) GetCount() int64
func (*CertificatesExpiry) GetExpireTime ¶
func (x *CertificatesExpiry) GetExpireTime() *timestamppb.Timestamp
func (*CertificatesExpiry) GetState ¶
func (x *CertificatesExpiry) GetState() CertificatesExpiry_State
func (*CertificatesExpiry) ProtoMessage ¶
func (*CertificatesExpiry) ProtoMessage()
func (*CertificatesExpiry) ProtoReflect ¶
func (x *CertificatesExpiry) ProtoReflect() protoreflect.Message
func (*CertificatesExpiry) Reset ¶
func (x *CertificatesExpiry) Reset()
func (*CertificatesExpiry) String ¶
func (x *CertificatesExpiry) String() string
type CertificatesExpiry_State ¶
type CertificatesExpiry_State int32
Expiration state of the certificate.
const ( // Unspecified state, should never be reported. CertificatesExpiry_STATE_UNSPECIFIED CertificatesExpiry_State = 0 // Certificate will expire soon. CertificatesExpiry_CLOSE_TO_EXPIRY CertificatesExpiry_State = 1 // Certificate is expired. CertificatesExpiry_EXPIRED CertificatesExpiry_State = 2 )
func (CertificatesExpiry_State) Descriptor ¶
func (CertificatesExpiry_State) Descriptor() protoreflect.EnumDescriptor
func (CertificatesExpiry_State) Enum ¶
func (x CertificatesExpiry_State) Enum() *CertificatesExpiry_State
func (CertificatesExpiry_State) EnumDescriptor
deprecated
func (CertificatesExpiry_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use CertificatesExpiry_State.Descriptor instead.
func (CertificatesExpiry_State) Number ¶
func (x CertificatesExpiry_State) Number() protoreflect.EnumNumber
func (CertificatesExpiry_State) String ¶
func (x CertificatesExpiry_State) String() string
func (CertificatesExpiry_State) Type ¶
func (CertificatesExpiry_State) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.