package logging

import "google.golang.org/genproto/googleapis/cloud/certificatemanager/logging/v1"

Index

Variables

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.

var File_google_cloud_certificatemanager_logging_v1_logs_proto protoreflect.FileDescriptor

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 `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.certificatemanager.logging.v1.CertificatesExpiry_State" json:"state,omitempty"`
	// 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

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 (*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) Enum

func (CertificatesExpiry_State) EnumDescriptor

func (CertificatesExpiry_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use CertificatesExpiry_State.Descriptor instead.

func (CertificatesExpiry_State) Number

func (CertificatesExpiry_State) String

func (x CertificatesExpiry_State) String() string

func (CertificatesExpiry_State) Type

Source Files

logs.pb.go

Version
v0.0.0-20250219182151-9fdb1cabc7b2 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
54 minutes ago

Tools for package owners.