logging

package
v0.0.0-...-8af14fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 (*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 deprecated

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL