certificatemanagerv1

package
v1.36.11-2024050211440... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_case case_CertificateIssuanceConfig_CertificateAuthorityConfig_Kind = 1
View Source
const CertificateIssuanceConfig_CertificateAuthorityConfig_Kind_not_set_case case_CertificateIssuanceConfig_CertificateAuthorityConfig_Kind = 0
View Source
const CertificateMapEntry_Hostname_case case_CertificateMapEntry_Match = 5
View Source
const CertificateMapEntry_Match_not_set_case case_CertificateMapEntry_Match = 0
View Source
const CertificateMapEntry_Matcher_case case_CertificateMapEntry_Match = 10
View Source
const CertificateMap_GclbTarget_TargetHttpsProxy_case case_CertificateMap_GclbTarget_TargetProxy = 1
View Source
const CertificateMap_GclbTarget_TargetProxy_not_set_case case_CertificateMap_GclbTarget_TargetProxy = 0
View Source
const CertificateMap_GclbTarget_TargetSslProxy_case case_CertificateMap_GclbTarget_TargetProxy = 3
View Source
const Certificate_Managed_case case_Certificate_Type = 11
View Source
const Certificate_SelfManaged_case case_Certificate_Type = 5
View Source
const Certificate_Type_not_set_case case_Certificate_Type = 0

Variables

View Source
var (
	ServingState_name = map[int32]string{
		0: "SERVING_STATE_UNSPECIFIED",
		1: "ACTIVE",
		2: "PENDING",
	}
	ServingState_value = map[string]int32{
		"SERVING_STATE_UNSPECIFIED": 0,
		"ACTIVE":                    1,
		"PENDING":                   2,
	}
)

Enum value maps for ServingState.

View Source
var (
	CertificateIssuanceConfig_KeyAlgorithm_name = map[int32]string{
		0: "KEY_ALGORITHM_UNSPECIFIED",
		1: "RSA_2048",
		4: "ECDSA_P256",
	}
	CertificateIssuanceConfig_KeyAlgorithm_value = map[string]int32{
		"KEY_ALGORITHM_UNSPECIFIED": 0,
		"RSA_2048":                  1,
		"ECDSA_P256":                4,
	}
)

Enum value maps for CertificateIssuanceConfig_KeyAlgorithm.

View Source
var (
	Certificate_Scope_name = map[int32]string{
		0: "DEFAULT",
		1: "EDGE_CACHE",
	}
	Certificate_Scope_value = map[string]int32{
		"DEFAULT":    0,
		"EDGE_CACHE": 1,
	}
)

Enum value maps for Certificate_Scope.

View Source
var (
	Certificate_ManagedCertificate_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PROVISIONING",
		2: "FAILED",
		3: "ACTIVE",
	}
	Certificate_ManagedCertificate_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PROVISIONING":      1,
		"FAILED":            2,
		"ACTIVE":            3,
	}
)

Enum value maps for Certificate_ManagedCertificate_State.

View Source
var (
	Certificate_ManagedCertificate_ProvisioningIssue_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "AUTHORIZATION_ISSUE",
		2: "RATE_LIMITED",
	}
	Certificate_ManagedCertificate_ProvisioningIssue_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED":  0,
		"AUTHORIZATION_ISSUE": 1,
		"RATE_LIMITED":        2,
	}
)

Enum value maps for Certificate_ManagedCertificate_ProvisioningIssue_Reason.

View Source
var (
	Certificate_ManagedCertificate_AuthorizationAttemptInfo_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "AUTHORIZING",
		6: "AUTHORIZED",
		7: "FAILED",
	}
	Certificate_ManagedCertificate_AuthorizationAttemptInfo_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"AUTHORIZING":       1,
		"AUTHORIZED":        6,
		"FAILED":            7,
	}
)

Enum value maps for Certificate_ManagedCertificate_AuthorizationAttemptInfo_State.

View Source
var (
	Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason_name = map[int32]string{
		0: "FAILURE_REASON_UNSPECIFIED",
		1: "CONFIG",
		2: "CAA",
		3: "RATE_LIMITED",
	}
	Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason_value = map[string]int32{
		"FAILURE_REASON_UNSPECIFIED": 0,
		"CONFIG":                     1,
		"CAA":                        2,
		"RATE_LIMITED":               3,
	}
)

Enum value maps for Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason.

View Source
var (
	CertificateMapEntry_Matcher_name = map[int32]string{
		0: "MATCHER_UNSPECIFIED",
		1: "PRIMARY",
	}
	CertificateMapEntry_Matcher_value = map[string]int32{
		"MATCHER_UNSPECIFIED": 0,
		"PRIMARY":             1,
	}
)

Enum value maps for CertificateMapEntry_Matcher.

View Source
var File_google_events_cloud_certificatemanager_v1_data_proto protoreflect.FileDescriptor
View Source
var File_google_events_cloud_certificatemanager_v1_events_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Certificate

type Certificate struct {

	// A user-defined name of the certificate. Certificate names must be unique
	// globally and match pattern `projects/*/locations/*/certificates/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// One or more paragraphs of text description of a certificate.
	Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The creation timestamp of a Certificate.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The last update timestamp of a Certificate.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Set of labels associated with a Certificate.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Types that are valid to be assigned to Type:
	//
	//	*Certificate_SelfManaged
	//	*Certificate_Managed
	Type isCertificate_Type `protobuf_oneof:"type"`
	// Output only. The list of Subject Alternative Names of dnsName type defined
	// in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
	// haven't been provisioned yet have this field populated with a value of the
	// managed.domains field.
	SanDnsnames []string `protobuf:"bytes,6,rep,name=san_dnsnames,json=sanDnsnames,proto3" json:"san_dnsnames,omitempty"`
	// Output only. The PEM-encoded certificate chain.
	PemCertificate string `protobuf:"bytes,9,opt,name=pem_certificate,json=pemCertificate,proto3" json:"pem_certificate,omitempty"`
	// Output only. The expiry timestamp of a Certificate.
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// Immutable. The scope of the certificate.
	Scope Certificate_Scope `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines TLS certificate.

func (*Certificate) ClearCreateTime

func (x *Certificate) ClearCreateTime()

func (*Certificate) ClearExpireTime

func (x *Certificate) ClearExpireTime()

func (*Certificate) ClearManaged

func (x *Certificate) ClearManaged()

func (*Certificate) ClearSelfManaged

func (x *Certificate) ClearSelfManaged()

func (*Certificate) ClearType

func (x *Certificate) ClearType()

func (*Certificate) ClearUpdateTime

func (x *Certificate) ClearUpdateTime()

func (*Certificate) GetCreateTime

func (x *Certificate) GetCreateTime() *timestamppb.Timestamp

func (*Certificate) GetDescription

func (x *Certificate) GetDescription() string

func (*Certificate) GetExpireTime

func (x *Certificate) GetExpireTime() *timestamppb.Timestamp

func (*Certificate) GetLabels

func (x *Certificate) GetLabels() map[string]string

func (*Certificate) GetManaged

func (*Certificate) GetName

func (x *Certificate) GetName() string

func (*Certificate) GetPemCertificate

func (x *Certificate) GetPemCertificate() string

func (*Certificate) GetSanDnsnames

func (x *Certificate) GetSanDnsnames() []string

func (*Certificate) GetScope

func (x *Certificate) GetScope() Certificate_Scope

func (*Certificate) GetSelfManaged

func (x *Certificate) GetSelfManaged() *Certificate_SelfManagedCertificate

func (*Certificate) GetType

func (x *Certificate) GetType() isCertificate_Type

func (*Certificate) GetUpdateTime

func (x *Certificate) GetUpdateTime() *timestamppb.Timestamp

func (*Certificate) HasCreateTime

func (x *Certificate) HasCreateTime() bool

func (*Certificate) HasExpireTime

func (x *Certificate) HasExpireTime() bool

func (*Certificate) HasManaged

func (x *Certificate) HasManaged() bool

func (*Certificate) HasSelfManaged

func (x *Certificate) HasSelfManaged() bool

func (*Certificate) HasType

func (x *Certificate) HasType() bool

func (*Certificate) HasUpdateTime

func (x *Certificate) HasUpdateTime() bool

func (*Certificate) ProtoMessage

func (*Certificate) ProtoMessage()

func (*Certificate) ProtoReflect

func (x *Certificate) ProtoReflect() protoreflect.Message

func (*Certificate) Reset

func (x *Certificate) Reset()

func (*Certificate) SetCreateTime

func (x *Certificate) SetCreateTime(v *timestamppb.Timestamp)

func (*Certificate) SetDescription

func (x *Certificate) SetDescription(v string)

func (*Certificate) SetExpireTime

func (x *Certificate) SetExpireTime(v *timestamppb.Timestamp)

func (*Certificate) SetLabels

func (x *Certificate) SetLabels(v map[string]string)

func (*Certificate) SetManaged

func (x *Certificate) SetManaged(v *Certificate_ManagedCertificate)

func (*Certificate) SetName

func (x *Certificate) SetName(v string)

func (*Certificate) SetPemCertificate

func (x *Certificate) SetPemCertificate(v string)

func (*Certificate) SetSanDnsnames

func (x *Certificate) SetSanDnsnames(v []string)

func (*Certificate) SetScope

func (x *Certificate) SetScope(v Certificate_Scope)

func (*Certificate) SetSelfManaged

func (x *Certificate) SetSelfManaged(v *Certificate_SelfManagedCertificate)

func (*Certificate) SetUpdateTime

func (x *Certificate) SetUpdateTime(v *timestamppb.Timestamp)

func (*Certificate) String

func (x *Certificate) String() string

func (*Certificate) WhichType

func (x *Certificate) WhichType() case_Certificate_Type

type CertificateCreatedEvent

type CertificateCreatedEvent struct {

	// The data associated with the event.
	Data *CertificateEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Certificate is created.

func (*CertificateCreatedEvent) ClearData

func (x *CertificateCreatedEvent) ClearData()

func (*CertificateCreatedEvent) GetData

func (*CertificateCreatedEvent) HasData

func (x *CertificateCreatedEvent) HasData() bool

func (*CertificateCreatedEvent) ProtoMessage

func (*CertificateCreatedEvent) ProtoMessage()

func (*CertificateCreatedEvent) ProtoReflect

func (x *CertificateCreatedEvent) ProtoReflect() protoreflect.Message

func (*CertificateCreatedEvent) Reset

func (x *CertificateCreatedEvent) Reset()

func (*CertificateCreatedEvent) SetData

func (*CertificateCreatedEvent) String

func (x *CertificateCreatedEvent) String() string

type CertificateCreatedEvent_builder

type CertificateCreatedEvent_builder struct {

	// The data associated with the event.
	Data *CertificateEventData
	// contains filtered or unexported fields
}

func (CertificateCreatedEvent_builder) Build

type CertificateDeletedEvent

type CertificateDeletedEvent struct {

	// The data associated with the event.
	Data *CertificateEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Certificate is deleted.

func (*CertificateDeletedEvent) ClearData

func (x *CertificateDeletedEvent) ClearData()

func (*CertificateDeletedEvent) GetData

func (*CertificateDeletedEvent) HasData

func (x *CertificateDeletedEvent) HasData() bool

func (*CertificateDeletedEvent) ProtoMessage

func (*CertificateDeletedEvent) ProtoMessage()

func (*CertificateDeletedEvent) ProtoReflect

func (x *CertificateDeletedEvent) ProtoReflect() protoreflect.Message

func (*CertificateDeletedEvent) Reset

func (x *CertificateDeletedEvent) Reset()

func (*CertificateDeletedEvent) SetData

func (*CertificateDeletedEvent) String

func (x *CertificateDeletedEvent) String() string

type CertificateDeletedEvent_builder

type CertificateDeletedEvent_builder struct {

	// The data associated with the event.
	Data *CertificateEventData
	// contains filtered or unexported fields
}

func (CertificateDeletedEvent_builder) Build

type CertificateEventData

type CertificateEventData struct {

	// Optional. The Certificate event payload. Unset for deletion events.
	Payload *Certificate `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all Certificate events.

func (*CertificateEventData) ClearPayload

func (x *CertificateEventData) ClearPayload()

func (*CertificateEventData) GetPayload

func (x *CertificateEventData) GetPayload() *Certificate

func (*CertificateEventData) HasPayload

func (x *CertificateEventData) HasPayload() bool

func (*CertificateEventData) ProtoMessage

func (*CertificateEventData) ProtoMessage()

func (*CertificateEventData) ProtoReflect

func (x *CertificateEventData) ProtoReflect() protoreflect.Message

func (*CertificateEventData) Reset

func (x *CertificateEventData) Reset()

func (*CertificateEventData) SetPayload

func (x *CertificateEventData) SetPayload(v *Certificate)

func (*CertificateEventData) String

func (x *CertificateEventData) String() string

type CertificateEventData_builder

type CertificateEventData_builder struct {

	// Optional. The Certificate event payload. Unset for deletion events.
	Payload *Certificate
	// contains filtered or unexported fields
}

func (CertificateEventData_builder) Build

type CertificateIssuanceConfig

type CertificateIssuanceConfig struct {

	// A user-defined name of the certificate issuance config.
	// CertificateIssuanceConfig names must be unique globally and match pattern
	// `projects/*/locations/*/certificateIssuanceConfigs/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The creation timestamp of a CertificateIssuanceConfig.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The last update timestamp of a CertificateIssuanceConfig.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Set of labels associated with a CertificateIssuanceConfig.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// One or more paragraphs of text description of a CertificateIssuanceConfig.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Required. The CA that issues the workload certificate. It includes the CA
	// address, type, authentication to CA service, etc.
	CertificateAuthorityConfig *CertificateIssuanceConfig_CertificateAuthorityConfig `` /* 141-byte string literal not displayed */
	// Required. Workload certificate lifetime requested.
	Lifetime *durationpb.Duration `protobuf:"bytes,7,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	// Required. Specifies the percentage of elapsed time of the certificate
	// lifetime to wait before renewing the certificate. Must be a number between
	// 1-99, inclusive.
	RotationWindowPercentage int32 `` /* 136-byte string literal not displayed */
	// Required. The key algorithm to use when generating the private key.
	KeyAlgorithm CertificateIssuanceConfig_KeyAlgorithm `` /* 184-byte string literal not displayed */
	// contains filtered or unexported fields
}

CertificateIssuanceConfig specifies how to issue and manage a certificate.

func (*CertificateIssuanceConfig) ClearCertificateAuthorityConfig

func (x *CertificateIssuanceConfig) ClearCertificateAuthorityConfig()

func (*CertificateIssuanceConfig) ClearCreateTime

func (x *CertificateIssuanceConfig) ClearCreateTime()

func (*CertificateIssuanceConfig) ClearLifetime

func (x *CertificateIssuanceConfig) ClearLifetime()

func (*CertificateIssuanceConfig) ClearUpdateTime

func (x *CertificateIssuanceConfig) ClearUpdateTime()

func (*CertificateIssuanceConfig) GetCertificateAuthorityConfig

func (*CertificateIssuanceConfig) GetCreateTime

func (x *CertificateIssuanceConfig) GetCreateTime() *timestamppb.Timestamp

func (*CertificateIssuanceConfig) GetDescription

func (x *CertificateIssuanceConfig) GetDescription() string

func (*CertificateIssuanceConfig) GetKeyAlgorithm

func (*CertificateIssuanceConfig) GetLabels

func (x *CertificateIssuanceConfig) GetLabels() map[string]string

func (*CertificateIssuanceConfig) GetLifetime

func (x *CertificateIssuanceConfig) GetLifetime() *durationpb.Duration

func (*CertificateIssuanceConfig) GetName

func (x *CertificateIssuanceConfig) GetName() string

func (*CertificateIssuanceConfig) GetRotationWindowPercentage

func (x *CertificateIssuanceConfig) GetRotationWindowPercentage() int32

func (*CertificateIssuanceConfig) GetUpdateTime

func (x *CertificateIssuanceConfig) GetUpdateTime() *timestamppb.Timestamp

func (*CertificateIssuanceConfig) HasCertificateAuthorityConfig

func (x *CertificateIssuanceConfig) HasCertificateAuthorityConfig() bool

func (*CertificateIssuanceConfig) HasCreateTime

func (x *CertificateIssuanceConfig) HasCreateTime() bool

func (*CertificateIssuanceConfig) HasLifetime

func (x *CertificateIssuanceConfig) HasLifetime() bool

func (*CertificateIssuanceConfig) HasUpdateTime

func (x *CertificateIssuanceConfig) HasUpdateTime() bool

func (*CertificateIssuanceConfig) ProtoMessage

func (*CertificateIssuanceConfig) ProtoMessage()

func (*CertificateIssuanceConfig) ProtoReflect

func (*CertificateIssuanceConfig) Reset

func (x *CertificateIssuanceConfig) Reset()

func (*CertificateIssuanceConfig) SetCertificateAuthorityConfig

func (*CertificateIssuanceConfig) SetCreateTime

func (x *CertificateIssuanceConfig) SetCreateTime(v *timestamppb.Timestamp)

func (*CertificateIssuanceConfig) SetDescription

func (x *CertificateIssuanceConfig) SetDescription(v string)

func (*CertificateIssuanceConfig) SetKeyAlgorithm

func (*CertificateIssuanceConfig) SetLabels

func (x *CertificateIssuanceConfig) SetLabels(v map[string]string)

func (*CertificateIssuanceConfig) SetLifetime

func (x *CertificateIssuanceConfig) SetLifetime(v *durationpb.Duration)

func (*CertificateIssuanceConfig) SetName

func (x *CertificateIssuanceConfig) SetName(v string)

func (*CertificateIssuanceConfig) SetRotationWindowPercentage

func (x *CertificateIssuanceConfig) SetRotationWindowPercentage(v int32)

func (*CertificateIssuanceConfig) SetUpdateTime

func (x *CertificateIssuanceConfig) SetUpdateTime(v *timestamppb.Timestamp)

func (*CertificateIssuanceConfig) String

func (x *CertificateIssuanceConfig) String() string

type CertificateIssuanceConfigCreatedEvent

type CertificateIssuanceConfigCreatedEvent struct {

	// The data associated with the event.
	Data *CertificateIssuanceConfigEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a CertificateIssuanceConfig is created.

func (*CertificateIssuanceConfigCreatedEvent) ClearData

func (*CertificateIssuanceConfigCreatedEvent) GetData

func (*CertificateIssuanceConfigCreatedEvent) HasData

func (*CertificateIssuanceConfigCreatedEvent) ProtoMessage

func (*CertificateIssuanceConfigCreatedEvent) ProtoMessage()

func (*CertificateIssuanceConfigCreatedEvent) ProtoReflect

func (*CertificateIssuanceConfigCreatedEvent) Reset

func (*CertificateIssuanceConfigCreatedEvent) SetData

func (*CertificateIssuanceConfigCreatedEvent) String

type CertificateIssuanceConfigCreatedEvent_builder

type CertificateIssuanceConfigCreatedEvent_builder struct {

	// The data associated with the event.
	Data *CertificateIssuanceConfigEventData
	// contains filtered or unexported fields
}

func (CertificateIssuanceConfigCreatedEvent_builder) Build

type CertificateIssuanceConfigDeletedEvent

type CertificateIssuanceConfigDeletedEvent struct {

	// The data associated with the event.
	Data *CertificateIssuanceConfigEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a CertificateIssuanceConfig is deleted.

func (*CertificateIssuanceConfigDeletedEvent) ClearData

func (*CertificateIssuanceConfigDeletedEvent) GetData

func (*CertificateIssuanceConfigDeletedEvent) HasData

func (*CertificateIssuanceConfigDeletedEvent) ProtoMessage

func (*CertificateIssuanceConfigDeletedEvent) ProtoMessage()

func (*CertificateIssuanceConfigDeletedEvent) ProtoReflect

func (*CertificateIssuanceConfigDeletedEvent) Reset

func (*CertificateIssuanceConfigDeletedEvent) SetData

func (*CertificateIssuanceConfigDeletedEvent) String

type CertificateIssuanceConfigDeletedEvent_builder

type CertificateIssuanceConfigDeletedEvent_builder struct {

	// The data associated with the event.
	Data *CertificateIssuanceConfigEventData
	// contains filtered or unexported fields
}

func (CertificateIssuanceConfigDeletedEvent_builder) Build

type CertificateIssuanceConfigEventData

type CertificateIssuanceConfigEventData struct {

	// Optional. The CertificateIssuanceConfig event payload. Unset for deletion
	// events.
	Payload *CertificateIssuanceConfig `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all CertificateIssuanceConfig events.

func (*CertificateIssuanceConfigEventData) ClearPayload

func (x *CertificateIssuanceConfigEventData) ClearPayload()

func (*CertificateIssuanceConfigEventData) GetPayload

func (*CertificateIssuanceConfigEventData) HasPayload

func (x *CertificateIssuanceConfigEventData) HasPayload() bool

func (*CertificateIssuanceConfigEventData) ProtoMessage

func (*CertificateIssuanceConfigEventData) ProtoMessage()

func (*CertificateIssuanceConfigEventData) ProtoReflect

func (*CertificateIssuanceConfigEventData) Reset

func (*CertificateIssuanceConfigEventData) SetPayload

func (*CertificateIssuanceConfigEventData) String

type CertificateIssuanceConfigEventData_builder

type CertificateIssuanceConfigEventData_builder struct {

	// Optional. The CertificateIssuanceConfig event payload. Unset for deletion
	// events.
	Payload *CertificateIssuanceConfig
	// contains filtered or unexported fields
}

func (CertificateIssuanceConfigEventData_builder) Build

type CertificateIssuanceConfig_CertificateAuthorityConfig

type CertificateIssuanceConfig_CertificateAuthorityConfig struct {

	// Types that are valid to be assigned to Kind:
	//
	//	*CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_
	Kind isCertificateIssuanceConfig_CertificateAuthorityConfig_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

The CA that issues the workload certificate. It includes CA address, type, authentication to CA service, etc.

func (*CertificateIssuanceConfig_CertificateAuthorityConfig) ClearCertificateAuthorityServiceConfig

func (x *CertificateIssuanceConfig_CertificateAuthorityConfig) ClearCertificateAuthorityServiceConfig()

func (*CertificateIssuanceConfig_CertificateAuthorityConfig) ClearKind

func (*CertificateIssuanceConfig_CertificateAuthorityConfig) GetCertificateAuthorityServiceConfig

func (*CertificateIssuanceConfig_CertificateAuthorityConfig) GetKind

func (x *CertificateIssuanceConfig_CertificateAuthorityConfig) GetKind() isCertificateIssuanceConfig_CertificateAuthorityConfig_Kind

func (*CertificateIssuanceConfig_CertificateAuthorityConfig) HasCertificateAuthorityServiceConfig

func (x *CertificateIssuanceConfig_CertificateAuthorityConfig) HasCertificateAuthorityServiceConfig() bool

func (*CertificateIssuanceConfig_CertificateAuthorityConfig) HasKind

func (*CertificateIssuanceConfig_CertificateAuthorityConfig) ProtoMessage

func (*CertificateIssuanceConfig_CertificateAuthorityConfig) ProtoReflect

func (*CertificateIssuanceConfig_CertificateAuthorityConfig) Reset

func (*CertificateIssuanceConfig_CertificateAuthorityConfig) SetCertificateAuthorityServiceConfig

func (*CertificateIssuanceConfig_CertificateAuthorityConfig) String

func (*CertificateIssuanceConfig_CertificateAuthorityConfig) WhichKind

func (x *CertificateIssuanceConfig_CertificateAuthorityConfig) WhichKind() case_CertificateIssuanceConfig_CertificateAuthorityConfig_Kind

type CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig

type CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig struct {

	// Required. A CA pool resource used to issue a certificate.
	// The CA pool string has a relative resource path following the form
	// "projects/{project}/locations/{location}/caPools/{ca_pool}".
	CaPool string `protobuf:"bytes,1,opt,name=ca_pool,json=caPool,proto3" json:"ca_pool,omitempty"`
	// contains filtered or unexported fields
}

Contains information required to contact CA service.

func (*CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig) GetCaPool

func (*CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig) ProtoMessage

func (*CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig) ProtoReflect

func (*CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig) Reset

func (*CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig) SetCaPool

func (*CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig) String

type CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_

type CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_ struct {
	// Defines a CertificateAuthorityServiceConfig.
	CertificateAuthorityServiceConfig *CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig `protobuf:"bytes,1,opt,name=certificate_authority_service_config,json=certificateAuthorityServiceConfig,proto3,oneof"`
}

type CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_builder

type CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_builder struct {

	// Required. A CA pool resource used to issue a certificate.
	// The CA pool string has a relative resource path following the form
	// "projects/{project}/locations/{location}/caPools/{ca_pool}".
	CaPool string
	// contains filtered or unexported fields
}

func (CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_builder) Build

type CertificateIssuanceConfig_CertificateAuthorityConfig_builder

type CertificateIssuanceConfig_CertificateAuthorityConfig_builder struct {

	// Fields of oneof Kind:
	// Defines a CertificateAuthorityServiceConfig.
	CertificateAuthorityServiceConfig *CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig
	// contains filtered or unexported fields
}

func (CertificateIssuanceConfig_CertificateAuthorityConfig_builder) Build

type CertificateIssuanceConfig_KeyAlgorithm

type CertificateIssuanceConfig_KeyAlgorithm int32

The type of keypair to generate.

const (
	// Unspecified key algorithm.
	CertificateIssuanceConfig_KEY_ALGORITHM_UNSPECIFIED CertificateIssuanceConfig_KeyAlgorithm = 0
	// Specifies RSA with a 2048-bit modulus.
	CertificateIssuanceConfig_RSA_2048 CertificateIssuanceConfig_KeyAlgorithm = 1
	// Specifies ECDSA with curve P256.
	CertificateIssuanceConfig_ECDSA_P256 CertificateIssuanceConfig_KeyAlgorithm = 4
)

func (CertificateIssuanceConfig_KeyAlgorithm) Descriptor

func (CertificateIssuanceConfig_KeyAlgorithm) Enum

func (CertificateIssuanceConfig_KeyAlgorithm) Number

func (CertificateIssuanceConfig_KeyAlgorithm) String

func (CertificateIssuanceConfig_KeyAlgorithm) Type

type CertificateIssuanceConfig_builder

type CertificateIssuanceConfig_builder struct {

	// A user-defined name of the certificate issuance config.
	// CertificateIssuanceConfig names must be unique globally and match pattern
	// `projects/*/locations/*/certificateIssuanceConfigs/*`.
	Name string
	// Output only. The creation timestamp of a CertificateIssuanceConfig.
	CreateTime *timestamppb.Timestamp
	// Output only. The last update timestamp of a CertificateIssuanceConfig.
	UpdateTime *timestamppb.Timestamp
	// Set of labels associated with a CertificateIssuanceConfig.
	Labels map[string]string
	// One or more paragraphs of text description of a CertificateIssuanceConfig.
	Description string
	// Required. The CA that issues the workload certificate. It includes the CA
	// address, type, authentication to CA service, etc.
	CertificateAuthorityConfig *CertificateIssuanceConfig_CertificateAuthorityConfig
	// Required. Workload certificate lifetime requested.
	Lifetime *durationpb.Duration
	// Required. Specifies the percentage of elapsed time of the certificate
	// lifetime to wait before renewing the certificate. Must be a number between
	// 1-99, inclusive.
	RotationWindowPercentage int32
	// Required. The key algorithm to use when generating the private key.
	KeyAlgorithm CertificateIssuanceConfig_KeyAlgorithm
	// contains filtered or unexported fields
}

func (CertificateIssuanceConfig_builder) Build

type CertificateMap

type CertificateMap struct {

	// A user-defined name of the Certificate Map. Certificate Map names must be
	// unique globally and match pattern
	// `projects/*/locations/*/certificateMaps/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// One or more paragraphs of text description of a certificate map.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The creation timestamp of a Certificate Map.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The update timestamp of a Certificate Map.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Set of labels associated with a Certificate Map.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Output only. A list of GCLB targets that use this Certificate Map.
	// A Target Proxy is only present on this list if it's attached to a
	// Forwarding Rule.
	GclbTargets []*CertificateMap_GclbTarget `protobuf:"bytes,4,rep,name=gclb_targets,json=gclbTargets,proto3" json:"gclb_targets,omitempty"`
	// contains filtered or unexported fields
}

Defines a collection of certificate configurations.

func (*CertificateMap) ClearCreateTime

func (x *CertificateMap) ClearCreateTime()

func (*CertificateMap) ClearUpdateTime

func (x *CertificateMap) ClearUpdateTime()

func (*CertificateMap) GetCreateTime

func (x *CertificateMap) GetCreateTime() *timestamppb.Timestamp

func (*CertificateMap) GetDescription

func (x *CertificateMap) GetDescription() string

func (*CertificateMap) GetGclbTargets

func (x *CertificateMap) GetGclbTargets() []*CertificateMap_GclbTarget

func (*CertificateMap) GetLabels

func (x *CertificateMap) GetLabels() map[string]string

func (*CertificateMap) GetName

func (x *CertificateMap) GetName() string

func (*CertificateMap) GetUpdateTime

func (x *CertificateMap) GetUpdateTime() *timestamppb.Timestamp

func (*CertificateMap) HasCreateTime

func (x *CertificateMap) HasCreateTime() bool

func (*CertificateMap) HasUpdateTime

func (x *CertificateMap) HasUpdateTime() bool

func (*CertificateMap) ProtoMessage

func (*CertificateMap) ProtoMessage()

func (*CertificateMap) ProtoReflect

func (x *CertificateMap) ProtoReflect() protoreflect.Message

func (*CertificateMap) Reset

func (x *CertificateMap) Reset()

func (*CertificateMap) SetCreateTime

func (x *CertificateMap) SetCreateTime(v *timestamppb.Timestamp)

func (*CertificateMap) SetDescription

func (x *CertificateMap) SetDescription(v string)

func (*CertificateMap) SetGclbTargets

func (x *CertificateMap) SetGclbTargets(v []*CertificateMap_GclbTarget)

func (*CertificateMap) SetLabels

func (x *CertificateMap) SetLabels(v map[string]string)

func (*CertificateMap) SetName

func (x *CertificateMap) SetName(v string)

func (*CertificateMap) SetUpdateTime

func (x *CertificateMap) SetUpdateTime(v *timestamppb.Timestamp)

func (*CertificateMap) String

func (x *CertificateMap) String() string

type CertificateMapCreatedEvent

type CertificateMapCreatedEvent struct {

	// The data associated with the event.
	Data *CertificateMapEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a CertificateMap is created.

func (*CertificateMapCreatedEvent) ClearData

func (x *CertificateMapCreatedEvent) ClearData()

func (*CertificateMapCreatedEvent) GetData

func (*CertificateMapCreatedEvent) HasData

func (x *CertificateMapCreatedEvent) HasData() bool

func (*CertificateMapCreatedEvent) ProtoMessage

func (*CertificateMapCreatedEvent) ProtoMessage()

func (*CertificateMapCreatedEvent) ProtoReflect

func (*CertificateMapCreatedEvent) Reset

func (x *CertificateMapCreatedEvent) Reset()

func (*CertificateMapCreatedEvent) SetData

func (*CertificateMapCreatedEvent) String

func (x *CertificateMapCreatedEvent) String() string

type CertificateMapCreatedEvent_builder

type CertificateMapCreatedEvent_builder struct {

	// The data associated with the event.
	Data *CertificateMapEventData
	// contains filtered or unexported fields
}

func (CertificateMapCreatedEvent_builder) Build

type CertificateMapDeletedEvent

type CertificateMapDeletedEvent struct {

	// The data associated with the event.
	Data *CertificateMapEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a CertificateMap is deleted.

func (*CertificateMapDeletedEvent) ClearData

func (x *CertificateMapDeletedEvent) ClearData()

func (*CertificateMapDeletedEvent) GetData

func (*CertificateMapDeletedEvent) HasData

func (x *CertificateMapDeletedEvent) HasData() bool

func (*CertificateMapDeletedEvent) ProtoMessage

func (*CertificateMapDeletedEvent) ProtoMessage()

func (*CertificateMapDeletedEvent) ProtoReflect

func (*CertificateMapDeletedEvent) Reset

func (x *CertificateMapDeletedEvent) Reset()

func (*CertificateMapDeletedEvent) SetData

func (*CertificateMapDeletedEvent) String

func (x *CertificateMapDeletedEvent) String() string

type CertificateMapDeletedEvent_builder

type CertificateMapDeletedEvent_builder struct {

	// The data associated with the event.
	Data *CertificateMapEventData
	// contains filtered or unexported fields
}

func (CertificateMapDeletedEvent_builder) Build

type CertificateMapEntry

type CertificateMapEntry struct {

	// A user-defined name of the Certificate Map Entry. Certificate Map Entry
	// names must be unique globally and match pattern
	// `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// One or more paragraphs of text description of a certificate map entry.
	Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The creation timestamp of a Certificate Map Entry.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The update timestamp of a Certificate Map Entry.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Set of labels associated with a Certificate Map Entry.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Types that are valid to be assigned to Match:
	//
	//	*CertificateMapEntry_Hostname
	//	*CertificateMapEntry_Matcher_
	Match isCertificateMapEntry_Match `protobuf_oneof:"match"`
	// A set of Certificates defines for the given `hostname`. There can be
	// defined up to fifteen certificates in each Certificate Map Entry. Each
	// certificate must match pattern `projects/*/locations/*/certificates/*`.
	Certificates []string `protobuf:"bytes,7,rep,name=certificates,proto3" json:"certificates,omitempty"`
	// Output only. A serving state of this Certificate Map Entry.
	State ServingState `protobuf:"varint,8,opt,name=state,proto3,enum=google.events.cloud.certificatemanager.v1.ServingState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Defines a certificate map entry.

func (*CertificateMapEntry) ClearCreateTime

func (x *CertificateMapEntry) ClearCreateTime()

func (*CertificateMapEntry) ClearHostname

func (x *CertificateMapEntry) ClearHostname()

func (*CertificateMapEntry) ClearMatch

func (x *CertificateMapEntry) ClearMatch()

func (*CertificateMapEntry) ClearMatcher

func (x *CertificateMapEntry) ClearMatcher()

func (*CertificateMapEntry) ClearUpdateTime

func (x *CertificateMapEntry) ClearUpdateTime()

func (*CertificateMapEntry) GetCertificates

func (x *CertificateMapEntry) GetCertificates() []string

func (*CertificateMapEntry) GetCreateTime

func (x *CertificateMapEntry) GetCreateTime() *timestamppb.Timestamp

func (*CertificateMapEntry) GetDescription

func (x *CertificateMapEntry) GetDescription() string

func (*CertificateMapEntry) GetHostname

func (x *CertificateMapEntry) GetHostname() string

func (*CertificateMapEntry) GetLabels

func (x *CertificateMapEntry) GetLabels() map[string]string

func (*CertificateMapEntry) GetMatch

func (x *CertificateMapEntry) GetMatch() isCertificateMapEntry_Match

func (*CertificateMapEntry) GetMatcher

func (*CertificateMapEntry) GetName

func (x *CertificateMapEntry) GetName() string

func (*CertificateMapEntry) GetState

func (x *CertificateMapEntry) GetState() ServingState

func (*CertificateMapEntry) GetUpdateTime

func (x *CertificateMapEntry) GetUpdateTime() *timestamppb.Timestamp

func (*CertificateMapEntry) HasCreateTime

func (x *CertificateMapEntry) HasCreateTime() bool

func (*CertificateMapEntry) HasHostname

func (x *CertificateMapEntry) HasHostname() bool

func (*CertificateMapEntry) HasMatch

func (x *CertificateMapEntry) HasMatch() bool

func (*CertificateMapEntry) HasMatcher

func (x *CertificateMapEntry) HasMatcher() bool

func (*CertificateMapEntry) HasUpdateTime

func (x *CertificateMapEntry) HasUpdateTime() bool

func (*CertificateMapEntry) ProtoMessage

func (*CertificateMapEntry) ProtoMessage()

func (*CertificateMapEntry) ProtoReflect

func (x *CertificateMapEntry) ProtoReflect() protoreflect.Message

func (*CertificateMapEntry) Reset

func (x *CertificateMapEntry) Reset()

func (*CertificateMapEntry) SetCertificates

func (x *CertificateMapEntry) SetCertificates(v []string)

func (*CertificateMapEntry) SetCreateTime

func (x *CertificateMapEntry) SetCreateTime(v *timestamppb.Timestamp)

func (*CertificateMapEntry) SetDescription

func (x *CertificateMapEntry) SetDescription(v string)

func (*CertificateMapEntry) SetHostname

func (x *CertificateMapEntry) SetHostname(v string)

func (*CertificateMapEntry) SetLabels

func (x *CertificateMapEntry) SetLabels(v map[string]string)

func (*CertificateMapEntry) SetMatcher

func (*CertificateMapEntry) SetName

func (x *CertificateMapEntry) SetName(v string)

func (*CertificateMapEntry) SetState

func (x *CertificateMapEntry) SetState(v ServingState)

func (*CertificateMapEntry) SetUpdateTime

func (x *CertificateMapEntry) SetUpdateTime(v *timestamppb.Timestamp)

func (*CertificateMapEntry) String

func (x *CertificateMapEntry) String() string

func (*CertificateMapEntry) WhichMatch

func (x *CertificateMapEntry) WhichMatch() case_CertificateMapEntry_Match

type CertificateMapEntryCreatedEvent

type CertificateMapEntryCreatedEvent struct {

	// The data associated with the event.
	Data *CertificateMapEntryEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a CertificateMapEntry is created.

func (*CertificateMapEntryCreatedEvent) ClearData

func (x *CertificateMapEntryCreatedEvent) ClearData()

func (*CertificateMapEntryCreatedEvent) GetData

func (*CertificateMapEntryCreatedEvent) HasData

func (*CertificateMapEntryCreatedEvent) ProtoMessage

func (*CertificateMapEntryCreatedEvent) ProtoMessage()

func (*CertificateMapEntryCreatedEvent) ProtoReflect

func (*CertificateMapEntryCreatedEvent) Reset

func (*CertificateMapEntryCreatedEvent) SetData

func (*CertificateMapEntryCreatedEvent) String

type CertificateMapEntryCreatedEvent_builder

type CertificateMapEntryCreatedEvent_builder struct {

	// The data associated with the event.
	Data *CertificateMapEntryEventData
	// contains filtered or unexported fields
}

func (CertificateMapEntryCreatedEvent_builder) Build

type CertificateMapEntryDeletedEvent

type CertificateMapEntryDeletedEvent struct {

	// The data associated with the event.
	Data *CertificateMapEntryEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a CertificateMapEntry is deleted.

func (*CertificateMapEntryDeletedEvent) ClearData

func (x *CertificateMapEntryDeletedEvent) ClearData()

func (*CertificateMapEntryDeletedEvent) GetData

func (*CertificateMapEntryDeletedEvent) HasData

func (*CertificateMapEntryDeletedEvent) ProtoMessage

func (*CertificateMapEntryDeletedEvent) ProtoMessage()

func (*CertificateMapEntryDeletedEvent) ProtoReflect

func (*CertificateMapEntryDeletedEvent) Reset

func (*CertificateMapEntryDeletedEvent) SetData

func (*CertificateMapEntryDeletedEvent) String

type CertificateMapEntryDeletedEvent_builder

type CertificateMapEntryDeletedEvent_builder struct {

	// The data associated with the event.
	Data *CertificateMapEntryEventData
	// contains filtered or unexported fields
}

func (CertificateMapEntryDeletedEvent_builder) Build

type CertificateMapEntryEventData

type CertificateMapEntryEventData struct {

	// Optional. The CertificateMapEntry event payload. Unset for deletion events.
	Payload *CertificateMapEntry `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all CertificateMapEntry events.

func (*CertificateMapEntryEventData) ClearPayload

func (x *CertificateMapEntryEventData) ClearPayload()

func (*CertificateMapEntryEventData) GetPayload

func (*CertificateMapEntryEventData) HasPayload

func (x *CertificateMapEntryEventData) HasPayload() bool

func (*CertificateMapEntryEventData) ProtoMessage

func (*CertificateMapEntryEventData) ProtoMessage()

func (*CertificateMapEntryEventData) ProtoReflect

func (*CertificateMapEntryEventData) Reset

func (x *CertificateMapEntryEventData) Reset()

func (*CertificateMapEntryEventData) SetPayload

func (*CertificateMapEntryEventData) String

type CertificateMapEntryEventData_builder

type CertificateMapEntryEventData_builder struct {

	// Optional. The CertificateMapEntry event payload. Unset for deletion events.
	Payload *CertificateMapEntry
	// contains filtered or unexported fields
}

func (CertificateMapEntryEventData_builder) Build

type CertificateMapEntryUpdatedEvent

type CertificateMapEntryUpdatedEvent struct {

	// The data associated with the event.
	Data *CertificateMapEntryEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a CertificateMapEntry is updated.

func (*CertificateMapEntryUpdatedEvent) ClearData

func (x *CertificateMapEntryUpdatedEvent) ClearData()

func (*CertificateMapEntryUpdatedEvent) GetData

func (*CertificateMapEntryUpdatedEvent) HasData

func (*CertificateMapEntryUpdatedEvent) ProtoMessage

func (*CertificateMapEntryUpdatedEvent) ProtoMessage()

func (*CertificateMapEntryUpdatedEvent) ProtoReflect

func (*CertificateMapEntryUpdatedEvent) Reset

func (*CertificateMapEntryUpdatedEvent) SetData

func (*CertificateMapEntryUpdatedEvent) String

type CertificateMapEntryUpdatedEvent_builder

type CertificateMapEntryUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *CertificateMapEntryEventData
	// contains filtered or unexported fields
}

func (CertificateMapEntryUpdatedEvent_builder) Build

type CertificateMapEntry_Hostname

type CertificateMapEntry_Hostname struct {
	// A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
	// (`*.example.com`) for a set of hostnames with common suffix. Used as
	// Server Name Indication (SNI) for selecting a proper certificate.
	Hostname string `protobuf:"bytes,5,opt,name=hostname,proto3,oneof"`
}

type CertificateMapEntry_Matcher

type CertificateMapEntry_Matcher int32

Defines predefined cases other than SNI-hostname match when this configuration should be applied.

const (
	// A matcher has't been recognized.
	CertificateMapEntry_MATCHER_UNSPECIFIED CertificateMapEntry_Matcher = 0
	// A primary certificate that is served when SNI wasn't specified in the
	// request or SNI couldn't be found in the map.
	CertificateMapEntry_PRIMARY CertificateMapEntry_Matcher = 1
)

func (CertificateMapEntry_Matcher) Descriptor

func (CertificateMapEntry_Matcher) Enum

func (CertificateMapEntry_Matcher) Number

func (CertificateMapEntry_Matcher) String

func (CertificateMapEntry_Matcher) Type

type CertificateMapEntry_Matcher_

type CertificateMapEntry_Matcher_ struct {
	// A predefined matcher for particular cases, other than SNI selection.
	Matcher CertificateMapEntry_Matcher `protobuf:"varint,10,opt,name=matcher,proto3,enum=google.events.cloud.certificatemanager.v1.CertificateMapEntry_Matcher,oneof"`
}

type CertificateMapEntry_builder

type CertificateMapEntry_builder struct {

	// A user-defined name of the Certificate Map Entry. Certificate Map Entry
	// names must be unique globally and match pattern
	// `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
	Name string
	// One or more paragraphs of text description of a certificate map entry.
	Description string
	// Output only. The creation timestamp of a Certificate Map Entry.
	CreateTime *timestamppb.Timestamp
	// Output only. The update timestamp of a Certificate Map Entry.
	UpdateTime *timestamppb.Timestamp
	// Set of labels associated with a Certificate Map Entry.
	Labels map[string]string
	// Fields of oneof Match:
	// A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
	// (`*.example.com`) for a set of hostnames with common suffix. Used as
	// Server Name Indication (SNI) for selecting a proper certificate.
	Hostname *string
	// A predefined matcher for particular cases, other than SNI selection.
	Matcher *CertificateMapEntry_Matcher
	// -- end of Match
	// A set of Certificates defines for the given `hostname`. There can be
	// defined up to fifteen certificates in each Certificate Map Entry. Each
	// certificate must match pattern `projects/*/locations/*/certificates/*`.
	Certificates []string
	// Output only. A serving state of this Certificate Map Entry.
	State ServingState
	// contains filtered or unexported fields
}

func (CertificateMapEntry_builder) Build

type CertificateMapEventData

type CertificateMapEventData struct {

	// Optional. The CertificateMap event payload. Unset for deletion events.
	Payload *CertificateMap `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all CertificateMap events.

func (*CertificateMapEventData) ClearPayload

func (x *CertificateMapEventData) ClearPayload()

func (*CertificateMapEventData) GetPayload

func (x *CertificateMapEventData) GetPayload() *CertificateMap

func (*CertificateMapEventData) HasPayload

func (x *CertificateMapEventData) HasPayload() bool

func (*CertificateMapEventData) ProtoMessage

func (*CertificateMapEventData) ProtoMessage()

func (*CertificateMapEventData) ProtoReflect

func (x *CertificateMapEventData) ProtoReflect() protoreflect.Message

func (*CertificateMapEventData) Reset

func (x *CertificateMapEventData) Reset()

func (*CertificateMapEventData) SetPayload

func (x *CertificateMapEventData) SetPayload(v *CertificateMap)

func (*CertificateMapEventData) String

func (x *CertificateMapEventData) String() string

type CertificateMapEventData_builder

type CertificateMapEventData_builder struct {

	// Optional. The CertificateMap event payload. Unset for deletion events.
	Payload *CertificateMap
	// contains filtered or unexported fields
}

func (CertificateMapEventData_builder) Build

type CertificateMapUpdatedEvent

type CertificateMapUpdatedEvent struct {

	// The data associated with the event.
	Data *CertificateMapEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a CertificateMap is updated.

func (*CertificateMapUpdatedEvent) ClearData

func (x *CertificateMapUpdatedEvent) ClearData()

func (*CertificateMapUpdatedEvent) GetData

func (*CertificateMapUpdatedEvent) HasData

func (x *CertificateMapUpdatedEvent) HasData() bool

func (*CertificateMapUpdatedEvent) ProtoMessage

func (*CertificateMapUpdatedEvent) ProtoMessage()

func (*CertificateMapUpdatedEvent) ProtoReflect

func (*CertificateMapUpdatedEvent) Reset

func (x *CertificateMapUpdatedEvent) Reset()

func (*CertificateMapUpdatedEvent) SetData

func (*CertificateMapUpdatedEvent) String

func (x *CertificateMapUpdatedEvent) String() string

type CertificateMapUpdatedEvent_builder

type CertificateMapUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *CertificateMapEventData
	// contains filtered or unexported fields
}

func (CertificateMapUpdatedEvent_builder) Build

type CertificateMap_GclbTarget

type CertificateMap_GclbTarget struct {

	// A Target Proxy to which this map is attached to.
	//
	// Types that are valid to be assigned to TargetProxy:
	//
	//	*CertificateMap_GclbTarget_TargetHttpsProxy
	//	*CertificateMap_GclbTarget_TargetSslProxy
	TargetProxy isCertificateMap_GclbTarget_TargetProxy `protobuf_oneof:"target_proxy"`
	// Output only. IP configurations for this Target Proxy where the
	// Certificate Map is serving.
	IpConfigs []*CertificateMap_GclbTarget_IpConfig `protobuf:"bytes,2,rep,name=ip_configs,json=ipConfigs,proto3" json:"ip_configs,omitempty"`
	// contains filtered or unexported fields
}

Describes a Target Proxy that uses this Certificate Map.

func (*CertificateMap_GclbTarget) ClearTargetHttpsProxy

func (x *CertificateMap_GclbTarget) ClearTargetHttpsProxy()

func (*CertificateMap_GclbTarget) ClearTargetProxy

func (x *CertificateMap_GclbTarget) ClearTargetProxy()

func (*CertificateMap_GclbTarget) ClearTargetSslProxy

func (x *CertificateMap_GclbTarget) ClearTargetSslProxy()

func (*CertificateMap_GclbTarget) GetIpConfigs

func (*CertificateMap_GclbTarget) GetTargetHttpsProxy

func (x *CertificateMap_GclbTarget) GetTargetHttpsProxy() string

func (*CertificateMap_GclbTarget) GetTargetProxy

func (x *CertificateMap_GclbTarget) GetTargetProxy() isCertificateMap_GclbTarget_TargetProxy

func (*CertificateMap_GclbTarget) GetTargetSslProxy

func (x *CertificateMap_GclbTarget) GetTargetSslProxy() string

func (*CertificateMap_GclbTarget) HasTargetHttpsProxy

func (x *CertificateMap_GclbTarget) HasTargetHttpsProxy() bool

func (*CertificateMap_GclbTarget) HasTargetProxy

func (x *CertificateMap_GclbTarget) HasTargetProxy() bool

func (*CertificateMap_GclbTarget) HasTargetSslProxy

func (x *CertificateMap_GclbTarget) HasTargetSslProxy() bool

func (*CertificateMap_GclbTarget) ProtoMessage

func (*CertificateMap_GclbTarget) ProtoMessage()

func (*CertificateMap_GclbTarget) ProtoReflect

func (*CertificateMap_GclbTarget) Reset

func (x *CertificateMap_GclbTarget) Reset()

func (*CertificateMap_GclbTarget) SetIpConfigs

func (*CertificateMap_GclbTarget) SetTargetHttpsProxy

func (x *CertificateMap_GclbTarget) SetTargetHttpsProxy(v string)

func (*CertificateMap_GclbTarget) SetTargetSslProxy

func (x *CertificateMap_GclbTarget) SetTargetSslProxy(v string)

func (*CertificateMap_GclbTarget) String

func (x *CertificateMap_GclbTarget) String() string

func (*CertificateMap_GclbTarget) WhichTargetProxy

func (x *CertificateMap_GclbTarget) WhichTargetProxy() case_CertificateMap_GclbTarget_TargetProxy

type CertificateMap_GclbTarget_IpConfig

type CertificateMap_GclbTarget_IpConfig struct {

	// Output only. An external IP address.
	IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	// Output only. Ports.
	Ports []uint32 `protobuf:"varint,3,rep,packed,name=ports,proto3" json:"ports,omitempty"`
	// contains filtered or unexported fields
}

Defines IP configuration where this Certificate Map is serving.

func (*CertificateMap_GclbTarget_IpConfig) GetIpAddress

func (x *CertificateMap_GclbTarget_IpConfig) GetIpAddress() string

func (*CertificateMap_GclbTarget_IpConfig) GetPorts

func (*CertificateMap_GclbTarget_IpConfig) ProtoMessage

func (*CertificateMap_GclbTarget_IpConfig) ProtoMessage()

func (*CertificateMap_GclbTarget_IpConfig) ProtoReflect

func (*CertificateMap_GclbTarget_IpConfig) Reset

func (*CertificateMap_GclbTarget_IpConfig) SetIpAddress

func (x *CertificateMap_GclbTarget_IpConfig) SetIpAddress(v string)

func (*CertificateMap_GclbTarget_IpConfig) SetPorts

func (x *CertificateMap_GclbTarget_IpConfig) SetPorts(v []uint32)

func (*CertificateMap_GclbTarget_IpConfig) String

type CertificateMap_GclbTarget_IpConfig_builder

type CertificateMap_GclbTarget_IpConfig_builder struct {

	// Output only. An external IP address.
	IpAddress string
	// Output only. Ports.
	Ports []uint32
	// contains filtered or unexported fields
}

func (CertificateMap_GclbTarget_IpConfig_builder) Build

type CertificateMap_GclbTarget_TargetHttpsProxy

type CertificateMap_GclbTarget_TargetHttpsProxy struct {
	// Output only. This field returns the resource name in the following
	// format:
	// `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`.
	TargetHttpsProxy string `protobuf:"bytes,1,opt,name=target_https_proxy,json=targetHttpsProxy,proto3,oneof"`
}

type CertificateMap_GclbTarget_TargetSslProxy

type CertificateMap_GclbTarget_TargetSslProxy struct {
	// Output only. This field returns the resource name in the following
	// format:
	// `//compute.googleapis.com/projects/*/global/targetSslProxies/*`.
	TargetSslProxy string `protobuf:"bytes,3,opt,name=target_ssl_proxy,json=targetSslProxy,proto3,oneof"`
}

type CertificateMap_GclbTarget_builder

type CertificateMap_GclbTarget_builder struct {

	// Fields of oneof TargetProxy:
	// Output only. This field returns the resource name in the following
	// format:
	// `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`.
	TargetHttpsProxy *string
	// Output only. This field returns the resource name in the following
	// format:
	// `//compute.googleapis.com/projects/*/global/targetSslProxies/*`.
	TargetSslProxy *string
	// -- end of TargetProxy
	// Output only. IP configurations for this Target Proxy where the
	// Certificate Map is serving.
	IpConfigs []*CertificateMap_GclbTarget_IpConfig
	// contains filtered or unexported fields
}

func (CertificateMap_GclbTarget_builder) Build

type CertificateMap_builder

type CertificateMap_builder struct {

	// A user-defined name of the Certificate Map. Certificate Map names must be
	// unique globally and match pattern
	// `projects/*/locations/*/certificateMaps/*`.
	Name string
	// One or more paragraphs of text description of a certificate map.
	Description string
	// Output only. The creation timestamp of a Certificate Map.
	CreateTime *timestamppb.Timestamp
	// Output only. The update timestamp of a Certificate Map.
	UpdateTime *timestamppb.Timestamp
	// Set of labels associated with a Certificate Map.
	Labels map[string]string
	// Output only. A list of GCLB targets that use this Certificate Map.
	// A Target Proxy is only present on this list if it's attached to a
	// Forwarding Rule.
	GclbTargets []*CertificateMap_GclbTarget
	// contains filtered or unexported fields
}

func (CertificateMap_builder) Build

type CertificateUpdatedEvent

type CertificateUpdatedEvent struct {

	// The data associated with the event.
	Data *CertificateEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Certificate is updated.

func (*CertificateUpdatedEvent) ClearData

func (x *CertificateUpdatedEvent) ClearData()

func (*CertificateUpdatedEvent) GetData

func (*CertificateUpdatedEvent) HasData

func (x *CertificateUpdatedEvent) HasData() bool

func (*CertificateUpdatedEvent) ProtoMessage

func (*CertificateUpdatedEvent) ProtoMessage()

func (*CertificateUpdatedEvent) ProtoReflect

func (x *CertificateUpdatedEvent) ProtoReflect() protoreflect.Message

func (*CertificateUpdatedEvent) Reset

func (x *CertificateUpdatedEvent) Reset()

func (*CertificateUpdatedEvent) SetData

func (*CertificateUpdatedEvent) String

func (x *CertificateUpdatedEvent) String() string

type CertificateUpdatedEvent_builder

type CertificateUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *CertificateEventData
	// contains filtered or unexported fields
}

func (CertificateUpdatedEvent_builder) Build

type Certificate_Managed

type Certificate_Managed struct {
	// If set, contains configuration and state of a managed certificate.
	Managed *Certificate_ManagedCertificate `protobuf:"bytes,11,opt,name=managed,proto3,oneof"`
}

type Certificate_ManagedCertificate

type Certificate_ManagedCertificate struct {

	// Immutable. The domains for which a managed SSL certificate will be
	// generated. Wildcard domains are only supported with DNS challenge
	// resolution.
	Domains []string `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
	// Immutable. Authorizations that will be used for performing domain
	// authorization.
	DnsAuthorizations []string `protobuf:"bytes,2,rep,name=dns_authorizations,json=dnsAuthorizations,proto3" json:"dns_authorizations,omitempty"`
	// Immutable. The resource name for a
	// [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
	// used to configure private PKI certificates in the format
	// `projects/*/locations/*/certificateIssuanceConfigs/*`.
	// If this field is not set, the certificates will instead be publicly
	// signed as documented at
	// https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
	IssuanceConfig string `protobuf:"bytes,6,opt,name=issuance_config,json=issuanceConfig,proto3" json:"issuance_config,omitempty"`
	// Output only. State of the managed certificate resource.
	State Certificate_ManagedCertificate_State `` /* 148-byte string literal not displayed */
	// Output only. Information about issues with provisioning a Managed
	// Certificate.
	ProvisioningIssue *Certificate_ManagedCertificate_ProvisioningIssue `protobuf:"bytes,3,opt,name=provisioning_issue,json=provisioningIssue,proto3" json:"provisioning_issue,omitempty"`
	// Output only. Detailed state of the latest authorization attempt for each
	// domain specified for managed certificate resource.
	AuthorizationAttemptInfo []*Certificate_ManagedCertificate_AuthorizationAttemptInfo `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration and state of a Managed Certificate. Certificate Manager provisions and renews Managed Certificates automatically, for as long as it's authorized to do so.

func (*Certificate_ManagedCertificate) ClearProvisioningIssue

func (x *Certificate_ManagedCertificate) ClearProvisioningIssue()

func (*Certificate_ManagedCertificate) GetAuthorizationAttemptInfo

func (*Certificate_ManagedCertificate) GetDnsAuthorizations

func (x *Certificate_ManagedCertificate) GetDnsAuthorizations() []string

func (*Certificate_ManagedCertificate) GetDomains

func (x *Certificate_ManagedCertificate) GetDomains() []string

func (*Certificate_ManagedCertificate) GetIssuanceConfig

func (x *Certificate_ManagedCertificate) GetIssuanceConfig() string

func (*Certificate_ManagedCertificate) GetProvisioningIssue

func (*Certificate_ManagedCertificate) GetState

func (*Certificate_ManagedCertificate) HasProvisioningIssue

func (x *Certificate_ManagedCertificate) HasProvisioningIssue() bool

func (*Certificate_ManagedCertificate) ProtoMessage

func (*Certificate_ManagedCertificate) ProtoMessage()

func (*Certificate_ManagedCertificate) ProtoReflect

func (*Certificate_ManagedCertificate) Reset

func (x *Certificate_ManagedCertificate) Reset()

func (*Certificate_ManagedCertificate) SetAuthorizationAttemptInfo

func (*Certificate_ManagedCertificate) SetDnsAuthorizations

func (x *Certificate_ManagedCertificate) SetDnsAuthorizations(v []string)

func (*Certificate_ManagedCertificate) SetDomains

func (x *Certificate_ManagedCertificate) SetDomains(v []string)

func (*Certificate_ManagedCertificate) SetIssuanceConfig

func (x *Certificate_ManagedCertificate) SetIssuanceConfig(v string)

func (*Certificate_ManagedCertificate) SetProvisioningIssue

func (*Certificate_ManagedCertificate) SetState

func (*Certificate_ManagedCertificate) String

type Certificate_ManagedCertificate_AuthorizationAttemptInfo

type Certificate_ManagedCertificate_AuthorizationAttemptInfo struct {

	// Domain name of the authorization attempt.
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	// Output only. State of the domain for managed certificate issuance.
	State Certificate_ManagedCertificate_AuthorizationAttemptInfo_State `` /* 173-byte string literal not displayed */
	// Output only. Reason for failure of the authorization attempt for the
	// domain.
	FailureReason Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason `` /* 218-byte string literal not displayed */
	// Output only. Human readable explanation for reaching the state.
	// Provided to help address the configuration issues. Not guaranteed to be
	// stable. For programmatic access use FailureReason enum.
	Details string `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

State of the latest attempt to authorize a domain for certificate issuance.

func (*Certificate_ManagedCertificate_AuthorizationAttemptInfo) GetDetails

func (*Certificate_ManagedCertificate_AuthorizationAttemptInfo) GetDomain

func (*Certificate_ManagedCertificate_AuthorizationAttemptInfo) GetFailureReason

func (*Certificate_ManagedCertificate_AuthorizationAttemptInfo) GetState

func (*Certificate_ManagedCertificate_AuthorizationAttemptInfo) ProtoMessage

func (*Certificate_ManagedCertificate_AuthorizationAttemptInfo) ProtoReflect

func (*Certificate_ManagedCertificate_AuthorizationAttemptInfo) Reset

func (*Certificate_ManagedCertificate_AuthorizationAttemptInfo) SetDetails

func (*Certificate_ManagedCertificate_AuthorizationAttemptInfo) SetDomain

func (*Certificate_ManagedCertificate_AuthorizationAttemptInfo) SetFailureReason

func (*Certificate_ManagedCertificate_AuthorizationAttemptInfo) SetState

func (*Certificate_ManagedCertificate_AuthorizationAttemptInfo) String

type Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason

type Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason int32
const (
	Certificate_ManagedCertificate_AuthorizationAttemptInfo_FAILURE_REASON_UNSPECIFIED Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason = 0
	// There was a problem with the user's DNS or load balancer
	// configuration for this domain.
	Certificate_ManagedCertificate_AuthorizationAttemptInfo_CONFIG Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason = 1
	// Certificate issuance forbidden by an explicit CAA record for the
	// domain or a failure to check CAA records for the domain.
	Certificate_ManagedCertificate_AuthorizationAttemptInfo_CAA Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason = 2
	// Reached a CA or internal rate-limit for the domain,
	// e.g. for certificates per top-level private domain.
	Certificate_ManagedCertificate_AuthorizationAttemptInfo_RATE_LIMITED Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason = 3
)

func (Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason) Descriptor

func (Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason) Enum

func (Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason) Number

func (Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason) String

func (Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason) Type

type Certificate_ManagedCertificate_AuthorizationAttemptInfo_State

type Certificate_ManagedCertificate_AuthorizationAttemptInfo_State int32
const (
	Certificate_ManagedCertificate_AuthorizationAttemptInfo_STATE_UNSPECIFIED Certificate_ManagedCertificate_AuthorizationAttemptInfo_State = 0
	// Certificate provisioning for this domain is under way. GCP will
	// attempt to authorize the domain.
	Certificate_ManagedCertificate_AuthorizationAttemptInfo_AUTHORIZING Certificate_ManagedCertificate_AuthorizationAttemptInfo_State = 1
	// A managed certificate can be provisioned, no issues for this domain.
	Certificate_ManagedCertificate_AuthorizationAttemptInfo_AUTHORIZED Certificate_ManagedCertificate_AuthorizationAttemptInfo_State = 6
	// Attempt to authorize the domain failed. This prevents the Managed
	// Certificate from being issued.
	// See `failure_reason` and `details` fields for more information.
	Certificate_ManagedCertificate_AuthorizationAttemptInfo_FAILED Certificate_ManagedCertificate_AuthorizationAttemptInfo_State = 7
)

func (Certificate_ManagedCertificate_AuthorizationAttemptInfo_State) Descriptor

func (Certificate_ManagedCertificate_AuthorizationAttemptInfo_State) Enum

func (Certificate_ManagedCertificate_AuthorizationAttemptInfo_State) Number

func (Certificate_ManagedCertificate_AuthorizationAttemptInfo_State) String

func (Certificate_ManagedCertificate_AuthorizationAttemptInfo_State) Type

type Certificate_ManagedCertificate_AuthorizationAttemptInfo_builder

type Certificate_ManagedCertificate_AuthorizationAttemptInfo_builder struct {

	// Domain name of the authorization attempt.
	Domain string
	// Output only. State of the domain for managed certificate issuance.
	State Certificate_ManagedCertificate_AuthorizationAttemptInfo_State
	// Output only. Reason for failure of the authorization attempt for the
	// domain.
	FailureReason Certificate_ManagedCertificate_AuthorizationAttemptInfo_FailureReason
	// Output only. Human readable explanation for reaching the state.
	// Provided to help address the configuration issues. Not guaranteed to be
	// stable. For programmatic access use FailureReason enum.
	Details string
	// contains filtered or unexported fields
}

func (Certificate_ManagedCertificate_AuthorizationAttemptInfo_builder) Build

type Certificate_ManagedCertificate_ProvisioningIssue

type Certificate_ManagedCertificate_ProvisioningIssue struct {

	// Output only. Reason for provisioning failures.
	Reason Certificate_ManagedCertificate_ProvisioningIssue_Reason `` /* 169-byte string literal not displayed */
	// Output only. Human readable explanation about the issue. Provided to
	// help address the configuration issues. Not guaranteed to be stable. For
	// programmatic access use Reason enum.
	Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

Information about issues with provisioning a Managed Certificate.

func (*Certificate_ManagedCertificate_ProvisioningIssue) GetDetails

func (*Certificate_ManagedCertificate_ProvisioningIssue) GetReason

func (*Certificate_ManagedCertificate_ProvisioningIssue) ProtoMessage

func (*Certificate_ManagedCertificate_ProvisioningIssue) ProtoReflect

func (*Certificate_ManagedCertificate_ProvisioningIssue) Reset

func (*Certificate_ManagedCertificate_ProvisioningIssue) SetDetails

func (*Certificate_ManagedCertificate_ProvisioningIssue) SetReason

func (*Certificate_ManagedCertificate_ProvisioningIssue) String

type Certificate_ManagedCertificate_ProvisioningIssue_Reason

type Certificate_ManagedCertificate_ProvisioningIssue_Reason int32
const (
	Certificate_ManagedCertificate_ProvisioningIssue_REASON_UNSPECIFIED Certificate_ManagedCertificate_ProvisioningIssue_Reason = 0
	// Certificate provisioning failed due to an issue with one or more of
	// the domains on the certificate.
	// For details of which domains failed, consult the
	// `authorization_attempt_info` field.
	Certificate_ManagedCertificate_ProvisioningIssue_AUTHORIZATION_ISSUE Certificate_ManagedCertificate_ProvisioningIssue_Reason = 1
	// Exceeded Certificate Authority quotas or internal rate limits of the
	// system. Provisioning may take longer to complete.
	Certificate_ManagedCertificate_ProvisioningIssue_RATE_LIMITED Certificate_ManagedCertificate_ProvisioningIssue_Reason = 2
)

func (Certificate_ManagedCertificate_ProvisioningIssue_Reason) Descriptor

func (Certificate_ManagedCertificate_ProvisioningIssue_Reason) Enum

func (Certificate_ManagedCertificate_ProvisioningIssue_Reason) Number

func (Certificate_ManagedCertificate_ProvisioningIssue_Reason) String

func (Certificate_ManagedCertificate_ProvisioningIssue_Reason) Type

type Certificate_ManagedCertificate_ProvisioningIssue_builder

type Certificate_ManagedCertificate_ProvisioningIssue_builder struct {

	// Output only. Reason for provisioning failures.
	Reason Certificate_ManagedCertificate_ProvisioningIssue_Reason
	// Output only. Human readable explanation about the issue. Provided to
	// help address the configuration issues. Not guaranteed to be stable. For
	// programmatic access use Reason enum.
	Details string
	// contains filtered or unexported fields
}

func (Certificate_ManagedCertificate_ProvisioningIssue_builder) Build

type Certificate_ManagedCertificate_State

type Certificate_ManagedCertificate_State int32
const (
	Certificate_ManagedCertificate_STATE_UNSPECIFIED Certificate_ManagedCertificate_State = 0
	// Certificate Manager attempts to provision or renew the certificate.
	// If the process takes longer than expected, consult the
	// `provisioning_issue` field.
	Certificate_ManagedCertificate_PROVISIONING Certificate_ManagedCertificate_State = 1
	// Multiple certificate provisioning attempts failed and Certificate
	// Manager gave up. To try again, delete and create a new managed
	// Certificate resource.
	// For details see the `provisioning_issue` field.
	Certificate_ManagedCertificate_FAILED Certificate_ManagedCertificate_State = 2
	// The certificate management is working, and a certificate has been
	// provisioned.
	Certificate_ManagedCertificate_ACTIVE Certificate_ManagedCertificate_State = 3
)

func (Certificate_ManagedCertificate_State) Descriptor

func (Certificate_ManagedCertificate_State) Enum

func (Certificate_ManagedCertificate_State) Number

func (Certificate_ManagedCertificate_State) String

func (Certificate_ManagedCertificate_State) Type

type Certificate_ManagedCertificate_builder

type Certificate_ManagedCertificate_builder struct {

	// Immutable. The domains for which a managed SSL certificate will be
	// generated. Wildcard domains are only supported with DNS challenge
	// resolution.
	Domains []string
	// Immutable. Authorizations that will be used for performing domain
	// authorization.
	DnsAuthorizations []string
	// Immutable. The resource name for a
	// [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
	// used to configure private PKI certificates in the format
	// `projects/*/locations/*/certificateIssuanceConfigs/*`.
	// If this field is not set, the certificates will instead be publicly
	// signed as documented at
	// https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
	IssuanceConfig string
	// Output only. State of the managed certificate resource.
	State Certificate_ManagedCertificate_State
	// Output only. Information about issues with provisioning a Managed
	// Certificate.
	ProvisioningIssue *Certificate_ManagedCertificate_ProvisioningIssue
	// Output only. Detailed state of the latest authorization attempt for each
	// domain specified for managed certificate resource.
	AuthorizationAttemptInfo []*Certificate_ManagedCertificate_AuthorizationAttemptInfo
	// contains filtered or unexported fields
}

func (Certificate_ManagedCertificate_builder) Build

type Certificate_Scope

type Certificate_Scope int32

Certificate scope.

const (
	// Certificates with default scope are served from core Google data centers.
	// If unsure, choose this option.
	Certificate_DEFAULT Certificate_Scope = 0
	// Certificates with scope EDGE_CACHE are special-purposed certificates,
	// served from non-core Google data centers.
	Certificate_EDGE_CACHE Certificate_Scope = 1
)

func (Certificate_Scope) Descriptor

func (Certificate_Scope) Enum

func (Certificate_Scope) Number

func (Certificate_Scope) String

func (x Certificate_Scope) String() string

func (Certificate_Scope) Type

type Certificate_SelfManaged

type Certificate_SelfManaged struct {
	// If set, defines data of a self-managed certificate.
	SelfManaged *Certificate_SelfManagedCertificate `protobuf:"bytes,5,opt,name=self_managed,json=selfManaged,proto3,oneof"`
}

type Certificate_SelfManagedCertificate

type Certificate_SelfManagedCertificate struct {
	// contains filtered or unexported fields
}

Certificate data for a SelfManaged Certificate. SelfManaged Certificates are uploaded by the user. Updating such certificates before they expire remains the user's responsibility.

func (*Certificate_SelfManagedCertificate) ProtoMessage

func (*Certificate_SelfManagedCertificate) ProtoMessage()

func (*Certificate_SelfManagedCertificate) ProtoReflect

func (*Certificate_SelfManagedCertificate) Reset

func (*Certificate_SelfManagedCertificate) String

type Certificate_SelfManagedCertificate_builder

type Certificate_SelfManagedCertificate_builder struct {
	// contains filtered or unexported fields
}

func (Certificate_SelfManagedCertificate_builder) Build

type Certificate_builder

type Certificate_builder struct {

	// A user-defined name of the certificate. Certificate names must be unique
	// globally and match pattern `projects/*/locations/*/certificates/*`.
	Name string
	// One or more paragraphs of text description of a certificate.
	Description string
	// Output only. The creation timestamp of a Certificate.
	CreateTime *timestamppb.Timestamp
	// Output only. The last update timestamp of a Certificate.
	UpdateTime *timestamppb.Timestamp
	// Set of labels associated with a Certificate.
	Labels map[string]string
	// Fields of oneof Type:
	// If set, defines data of a self-managed certificate.
	SelfManaged *Certificate_SelfManagedCertificate
	// If set, contains configuration and state of a managed certificate.
	Managed *Certificate_ManagedCertificate
	// -- end of Type
	// Output only. The list of Subject Alternative Names of dnsName type defined
	// in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
	// haven't been provisioned yet have this field populated with a value of the
	// managed.domains field.
	SanDnsnames []string
	// Output only. The PEM-encoded certificate chain.
	PemCertificate string
	// Output only. The expiry timestamp of a Certificate.
	ExpireTime *timestamppb.Timestamp
	// Immutable. The scope of the certificate.
	Scope Certificate_Scope
	// contains filtered or unexported fields
}

func (Certificate_builder) Build

func (b0 Certificate_builder) Build() *Certificate

type DnsAuthorization

type DnsAuthorization struct {

	// A user-defined name of the dns authorization. DnsAuthorization names must
	// be unique globally and match pattern
	// `projects/*/locations/*/dnsAuthorizations/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The creation timestamp of a DnsAuthorization.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The last update timestamp of a DnsAuthorization.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Set of labels associated with a DnsAuthorization.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// One or more paragraphs of text description of a DnsAuthorization.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Required. Immutable. A domain that is being authorized. A DnsAuthorization
	// resource covers a single domain and its wildcard, e.g. authorization for
	// `example.com` can be used to issue certificates for `example.com` and
	// `*.example.com`.
	Domain string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"`
	// Output only. DNS Resource Record that needs to be added to DNS
	// configuration.
	DnsResourceRecord *DnsAuthorization_DnsResourceRecord `protobuf:"bytes,10,opt,name=dns_resource_record,json=dnsResourceRecord,proto3" json:"dns_resource_record,omitempty"`
	// contains filtered or unexported fields
}

A DnsAuthorization resource describes a way to perform domain authorization for certificate issuance.

func (*DnsAuthorization) ClearCreateTime

func (x *DnsAuthorization) ClearCreateTime()

func (*DnsAuthorization) ClearDnsResourceRecord

func (x *DnsAuthorization) ClearDnsResourceRecord()

func (*DnsAuthorization) ClearUpdateTime

func (x *DnsAuthorization) ClearUpdateTime()

func (*DnsAuthorization) GetCreateTime

func (x *DnsAuthorization) GetCreateTime() *timestamppb.Timestamp

func (*DnsAuthorization) GetDescription

func (x *DnsAuthorization) GetDescription() string

func (*DnsAuthorization) GetDnsResourceRecord

func (x *DnsAuthorization) GetDnsResourceRecord() *DnsAuthorization_DnsResourceRecord

func (*DnsAuthorization) GetDomain

func (x *DnsAuthorization) GetDomain() string

func (*DnsAuthorization) GetLabels

func (x *DnsAuthorization) GetLabels() map[string]string

func (*DnsAuthorization) GetName

func (x *DnsAuthorization) GetName() string

func (*DnsAuthorization) GetUpdateTime

func (x *DnsAuthorization) GetUpdateTime() *timestamppb.Timestamp

func (*DnsAuthorization) HasCreateTime

func (x *DnsAuthorization) HasCreateTime() bool

func (*DnsAuthorization) HasDnsResourceRecord

func (x *DnsAuthorization) HasDnsResourceRecord() bool

func (*DnsAuthorization) HasUpdateTime

func (x *DnsAuthorization) HasUpdateTime() bool

func (*DnsAuthorization) ProtoMessage

func (*DnsAuthorization) ProtoMessage()

func (*DnsAuthorization) ProtoReflect

func (x *DnsAuthorization) ProtoReflect() protoreflect.Message

func (*DnsAuthorization) Reset

func (x *DnsAuthorization) Reset()

func (*DnsAuthorization) SetCreateTime

func (x *DnsAuthorization) SetCreateTime(v *timestamppb.Timestamp)

func (*DnsAuthorization) SetDescription

func (x *DnsAuthorization) SetDescription(v string)

func (*DnsAuthorization) SetDnsResourceRecord

func (x *DnsAuthorization) SetDnsResourceRecord(v *DnsAuthorization_DnsResourceRecord)

func (*DnsAuthorization) SetDomain

func (x *DnsAuthorization) SetDomain(v string)

func (*DnsAuthorization) SetLabels

func (x *DnsAuthorization) SetLabels(v map[string]string)

func (*DnsAuthorization) SetName

func (x *DnsAuthorization) SetName(v string)

func (*DnsAuthorization) SetUpdateTime

func (x *DnsAuthorization) SetUpdateTime(v *timestamppb.Timestamp)

func (*DnsAuthorization) String

func (x *DnsAuthorization) String() string

type DnsAuthorizationCreatedEvent

type DnsAuthorizationCreatedEvent struct {

	// The data associated with the event.
	Data *DnsAuthorizationEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a DnsAuthorization is created.

func (*DnsAuthorizationCreatedEvent) ClearData

func (x *DnsAuthorizationCreatedEvent) ClearData()

func (*DnsAuthorizationCreatedEvent) GetData

func (*DnsAuthorizationCreatedEvent) HasData

func (x *DnsAuthorizationCreatedEvent) HasData() bool

func (*DnsAuthorizationCreatedEvent) ProtoMessage

func (*DnsAuthorizationCreatedEvent) ProtoMessage()

func (*DnsAuthorizationCreatedEvent) ProtoReflect

func (*DnsAuthorizationCreatedEvent) Reset

func (x *DnsAuthorizationCreatedEvent) Reset()

func (*DnsAuthorizationCreatedEvent) SetData

func (*DnsAuthorizationCreatedEvent) String

type DnsAuthorizationCreatedEvent_builder

type DnsAuthorizationCreatedEvent_builder struct {

	// The data associated with the event.
	Data *DnsAuthorizationEventData
	// contains filtered or unexported fields
}

func (DnsAuthorizationCreatedEvent_builder) Build

type DnsAuthorizationDeletedEvent

type DnsAuthorizationDeletedEvent struct {

	// The data associated with the event.
	Data *DnsAuthorizationEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a DnsAuthorization is deleted.

func (*DnsAuthorizationDeletedEvent) ClearData

func (x *DnsAuthorizationDeletedEvent) ClearData()

func (*DnsAuthorizationDeletedEvent) GetData

func (*DnsAuthorizationDeletedEvent) HasData

func (x *DnsAuthorizationDeletedEvent) HasData() bool

func (*DnsAuthorizationDeletedEvent) ProtoMessage

func (*DnsAuthorizationDeletedEvent) ProtoMessage()

func (*DnsAuthorizationDeletedEvent) ProtoReflect

func (*DnsAuthorizationDeletedEvent) Reset

func (x *DnsAuthorizationDeletedEvent) Reset()

func (*DnsAuthorizationDeletedEvent) SetData

func (*DnsAuthorizationDeletedEvent) String

type DnsAuthorizationDeletedEvent_builder

type DnsAuthorizationDeletedEvent_builder struct {

	// The data associated with the event.
	Data *DnsAuthorizationEventData
	// contains filtered or unexported fields
}

func (DnsAuthorizationDeletedEvent_builder) Build

type DnsAuthorizationEventData

type DnsAuthorizationEventData struct {

	// Optional. The DnsAuthorization event payload. Unset for deletion events.
	Payload *DnsAuthorization `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all DnsAuthorization events.

func (*DnsAuthorizationEventData) ClearPayload

func (x *DnsAuthorizationEventData) ClearPayload()

func (*DnsAuthorizationEventData) GetPayload

func (*DnsAuthorizationEventData) HasPayload

func (x *DnsAuthorizationEventData) HasPayload() bool

func (*DnsAuthorizationEventData) ProtoMessage

func (*DnsAuthorizationEventData) ProtoMessage()

func (*DnsAuthorizationEventData) ProtoReflect

func (*DnsAuthorizationEventData) Reset

func (x *DnsAuthorizationEventData) Reset()

func (*DnsAuthorizationEventData) SetPayload

func (x *DnsAuthorizationEventData) SetPayload(v *DnsAuthorization)

func (*DnsAuthorizationEventData) String

func (x *DnsAuthorizationEventData) String() string

type DnsAuthorizationEventData_builder

type DnsAuthorizationEventData_builder struct {

	// Optional. The DnsAuthorization event payload. Unset for deletion events.
	Payload *DnsAuthorization
	// contains filtered or unexported fields
}

func (DnsAuthorizationEventData_builder) Build

type DnsAuthorizationUpdatedEvent

type DnsAuthorizationUpdatedEvent struct {

	// The data associated with the event.
	Data *DnsAuthorizationEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a DnsAuthorization is updated.

func (*DnsAuthorizationUpdatedEvent) ClearData

func (x *DnsAuthorizationUpdatedEvent) ClearData()

func (*DnsAuthorizationUpdatedEvent) GetData

func (*DnsAuthorizationUpdatedEvent) HasData

func (x *DnsAuthorizationUpdatedEvent) HasData() bool

func (*DnsAuthorizationUpdatedEvent) ProtoMessage

func (*DnsAuthorizationUpdatedEvent) ProtoMessage()

func (*DnsAuthorizationUpdatedEvent) ProtoReflect

func (*DnsAuthorizationUpdatedEvent) Reset

func (x *DnsAuthorizationUpdatedEvent) Reset()

func (*DnsAuthorizationUpdatedEvent) SetData

func (*DnsAuthorizationUpdatedEvent) String

type DnsAuthorizationUpdatedEvent_builder

type DnsAuthorizationUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *DnsAuthorizationEventData
	// contains filtered or unexported fields
}

func (DnsAuthorizationUpdatedEvent_builder) Build

type DnsAuthorization_DnsResourceRecord

type DnsAuthorization_DnsResourceRecord struct {

	// Output only. Fully qualified name of the DNS Resource Record.
	// e.g. `_acme-challenge.example.com`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Type of the DNS Resource Record.
	// Currently always set to "CNAME".
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// Output only. Data of the DNS Resource Record.
	Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The structure describing the DNS Resource Record that needs to be added to DNS configuration for the authorization to be usable by certificate.

func (*DnsAuthorization_DnsResourceRecord) GetData

func (*DnsAuthorization_DnsResourceRecord) GetName

func (*DnsAuthorization_DnsResourceRecord) GetType

func (*DnsAuthorization_DnsResourceRecord) ProtoMessage

func (*DnsAuthorization_DnsResourceRecord) ProtoMessage()

func (*DnsAuthorization_DnsResourceRecord) ProtoReflect

func (*DnsAuthorization_DnsResourceRecord) Reset

func (*DnsAuthorization_DnsResourceRecord) SetData

func (*DnsAuthorization_DnsResourceRecord) SetName

func (*DnsAuthorization_DnsResourceRecord) SetType

func (*DnsAuthorization_DnsResourceRecord) String

type DnsAuthorization_DnsResourceRecord_builder

type DnsAuthorization_DnsResourceRecord_builder struct {

	// Output only. Fully qualified name of the DNS Resource Record.
	// e.g. `_acme-challenge.example.com`
	Name string
	// Output only. Type of the DNS Resource Record.
	// Currently always set to "CNAME".
	Type string
	// Output only. Data of the DNS Resource Record.
	Data string
	// contains filtered or unexported fields
}

func (DnsAuthorization_DnsResourceRecord_builder) Build

type DnsAuthorization_builder

type DnsAuthorization_builder struct {

	// A user-defined name of the dns authorization. DnsAuthorization names must
	// be unique globally and match pattern
	// `projects/*/locations/*/dnsAuthorizations/*`.
	Name string
	// Output only. The creation timestamp of a DnsAuthorization.
	CreateTime *timestamppb.Timestamp
	// Output only. The last update timestamp of a DnsAuthorization.
	UpdateTime *timestamppb.Timestamp
	// Set of labels associated with a DnsAuthorization.
	Labels map[string]string
	// One or more paragraphs of text description of a DnsAuthorization.
	Description string
	// Required. Immutable. A domain that is being authorized. A DnsAuthorization
	// resource covers a single domain and its wildcard, e.g. authorization for
	// `example.com` can be used to issue certificates for `example.com` and
	// `*.example.com`.
	Domain string
	// Output only. DNS Resource Record that needs to be added to DNS
	// configuration.
	DnsResourceRecord *DnsAuthorization_DnsResourceRecord
	// contains filtered or unexported fields
}

func (DnsAuthorization_builder) Build

type ServingState

type ServingState int32

Defines set of serving states associated with a resource.

const (
	// The status is undefined.
	ServingState_SERVING_STATE_UNSPECIFIED ServingState = 0
	// The configuration is serving.
	ServingState_ACTIVE ServingState = 1
	// Update is in progress. Some frontends may serve this configuration.
	ServingState_PENDING ServingState = 2
)

func (ServingState) Descriptor

func (ServingState) Enum

func (x ServingState) Enum() *ServingState

func (ServingState) Number

func (ServingState) String

func (x ServingState) String() string

func (ServingState) Type

Source Files

  • data.pb.go
  • events.pb.go

Jump to

Keyboard shortcuts

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